Difference between revisions of "0006a7c0 - 0006aa7c"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
m (links)
m (links)
 
Line 54: Line 54:
 
  0006a88c: 00430018 mult r2,r3
 
  0006a88c: 00430018 mult r2,r3
 
  0006a890: 00002012 mflo r4
 
  0006a890: 00002012 mflo r4
  0006a894: 0c00709a jal 0x0001c268
+
  0006a894: 0c00709a jal 0x0001c268               [[Get_Square_root_of_r4_dealing_with_4096]]
 
  0006a898: 00042040 sll r4,r4,0x01
 
  0006a898: 00042040 sll r4,r4,0x01
 
  0006a89c: 3c048009 lui r4,0x8009
 
  0006a89c: 3c048009 lui r4,0x8009
Line 72: Line 72:
 
  0006a8d4: 00440018 mult r2,r4
 
  0006a8d4: 00440018 mult r2,r4
 
  0006a8d8: 00002012 mflo r4
 
  0006a8d8: 00002012 mflo r4
  0006a8dc: 0c00709a jal 0x0001c268
+
  0006a8dc: 0c00709a jal 0x0001c268               [[Get_Square_root_of_r4_dealing_with_4096]]
 
  0006a8e0: 00042040 sll r4,r4,0x01
 
  0006a8e0: 00042040 sll r4,r4,0x01
 
  0006a8e4: 3c038009 lui r3,0x8009
 
  0006a8e4: 3c038009 lui r3,0x8009

Latest revision as of 19:25, 30 December 2021

0006a7c0: 27bdffc8 addiu r29,r29,0xffc8
0006a7c4: afb00028 sw r16,0x0028(r29)
0006a7c8: 00808021 addu r16,r4,r0
0006a7cc: afb1002c sw r17,0x002c(r29)
0006a7d0: 00c08821 addu r17,r6,r0
0006a7d4: afbf0034 sw r31,0x0034(r29)
0006a7d8: afb20030 sw r18,0x0030(r29)
0006a7dc: 9205011e lbu r5,0x011e(r16)
0006a7e0: 00000000 nop
0006a7e4: 10a0000c beq r5,r0,0x0006a818
0006a7e8: 2612011c addiu r18,r16,0x011c
0006a7ec: 27a40020 addiu r4,r29,0x0020
0006a7f0: 0c05f056 jal 0x0017c158                 Calculate_Height_Data
0006a7f4: 24a5ffff addiu r5,r5,0xffff
0006a7f8: 93a20023 lbu r2,0x0023(r29)
0006a7fc: 00000000 nop
0006a800: 30420080 andi r2,r2,0x0080
0006a804: 14400004 bne r2,r0,0x0006a818
0006a808: 3c032aaa lui r3,0x2aaa
0006a80c: 93a40026 lbu r4,0x0026(r29)
0006a810: 0801aa11 j 0x0006a844
0006a814: 00000000 nop
0006a818: 92220003 lbu r2,0x0003(r17)
0006a81c: 92030096 lbu r3,0x0096(r16)
0006a820: 3042001f andi r2,r2,0x001f
0006a824: 00430018 mult r2,r3
0006a828: 92220002 lbu r2,0x0002(r17)
0006a82c: 00000000 nop
0006a830: 00021040 sll r2,r2,0x01
0006a834: 00001812 mflo r3
0006a838: 00431021 addu r2,r2,r3
0006a83c: 24440002 addiu r4,r2,0x0002
0006a840: 3c032aaa lui r3,0x2aaa
0006a844: 86020042 lh r2,0x0042(r16)
0006a848: 3463aaab ori r3,r3,0xaaab
0006a84c: 00021023 subu r2,r0,r2
0006a850: 00430018 mult r2,r3
0006a854: 000217c3 sra r2,r2,0x1f
0006a858: 00001810 mfhi r3
0006a85c: 00621823 subu r3,r3,r2
0006a860: 92420000 lbu r2,0x0000(r18)
0006a864: 00831823 subu r3,r4,r3
0006a868: 30420003 andi r2,r2,0x0003
0006a86c: 24420001 addiu r2,r2,0x0001
0006a870: 00021040 sll r2,r2,0x01
0006a874: 00621821 addu r3,r3,r2
0006a878: 00031040 sll r2,r3,0x01
0006a87c: 00431021 addu r2,r2,r3
0006a880: 3c038009 lui r3,0x8009
0006a884: 8c636128 lw r3,0x6128(r3)
0006a888: 00021040 sll r2,r2,0x01
0006a88c: 00430018 mult r2,r3
0006a890: 00002012 mflo r4
0006a894: 0c00709a jal 0x0001c268               Get_Square_root_of_r4_dealing_with_4096
0006a898: 00042040 sll r4,r4,0x01
0006a89c: 3c048009 lui r4,0x8009
0006a8a0: 8c846128 lw r4,0x6128(r4)
0006a8a4: 00000000 nop
0006a8a8: 0044001a div r2,r4
0006a8ac: 00008812 mflo r17
0006a8b0: 00021023 subu r2,r0,r2
0006a8b4: ae02002c sw r2,0x002c(r16)
0006a8b8: 92430000 lbu r3,0x0000(r18)
0006a8bc: 00000000 nop
0006a8c0: 30630003 andi r3,r3,0x0003
0006a8c4: 24630001 addiu r3,r3,0x0001
0006a8c8: 00031040 sll r2,r3,0x01
0006a8cc: 00431021 addu r2,r2,r3
0006a8d0: 00021080 sll r2,r2,0x02
0006a8d4: 00440018 mult r2,r4
0006a8d8: 00002012 mflo r4
0006a8dc: 0c00709a jal 0x0001c268               Get_Square_root_of_r4_dealing_with_4096
0006a8e0: 00042040 sll r4,r4,0x01
0006a8e4: 3c038009 lui r3,0x8009
0006a8e8: 8c636128 lw r3,0x6128(r3)
0006a8ec: 00000000 nop
0006a8f0: 0043001a div r2,r3
0006a8f4: 00001012 mflo r2
0006a8f8: 92430000 lbu r3,0x0000(r18)
0006a8fc: 00000000 nop
0006a900: 00031982 srl r3,r3,0x06
0006a904: 02228821 addu r17,r17,r2
0006a908: 34020001 ori r2,r0,0x0001
0006a90c: 1062001e beq r3,r2,0x0006a988
0006a910: 28620002 slti r2,r3,0x0002
0006a914: 10400005 beq r2,r0,0x0006a92c
0006a918: 00000000 nop
0006a91c: 1060000b beq r3,r0,0x0006a94c
0006a920: 3404001e ori r4,r0,0x001e
0006a924: 0801aa94 j 0x0006aa50
0006a928: 00000000 nop
0006a92c: 34020002 ori r2,r0,0x0002
0006a930: 10620028 beq r3,r2,0x0006a9d4
0006a934: 3404001e ori r4,r0,0x001e
0006a938: 34020003 ori r2,r0,0x0003
0006a93c: 10620035 beq r3,r2,0x0006aa14
0006a940: 34050800 ori r5,r0,0x0800
0006a944: 0801aa94 j 0x0006aa50
0006a948: 00000000 nop
0006a94c: 34050c00 ori r5,r0,0x0c00
0006a950: 02003021 addu r6,r16,r0
0006a954: 34020015 ori r2,r0,0x0015
0006a958: 0c02065e jal 0x00081978
0006a95c: a202007f sb r2,0x007f(r16)
0006a960: 3404e000 ori r4,r0,0xe000
0006a964: 0091001a div r4,r17
0006a968: 00002012 mflo r4
0006a96c: 9202007c lbu r2,0x007c(r16)
0006a970: 92430000 lbu r3,0x0000(r18)
0006a974: ae000030 sw r0,0x0030(r16)
0006a978: 24420001 addiu r2,r2,0x0001
0006a97c: 30630003 andi r3,r3,0x0003
0006a980: 0801aa72 j 0x0006a9c8
0006a984: 00431021 addu r2,r2,r3
0006a988: 3404001e ori r4,r0,0x001e
0006a98c: 34050400 ori r5,r0,0x0400
0006a990: 02003021 addu r6,r16,r0
0006a994: 3402001d ori r2,r0,0x001d
0006a998: 0c02065e jal 0x00081978
0006a99c: a202007f sb r2,0x007f(r16)
0006a9a0: 3c04ffff lui r4,0xffff
0006a9a4: 34842000 ori r4,r4,0x2000
0006a9a8: 0091001a div r4,r17
0006a9ac: 00002012 mflo r4
0006a9b0: 9202007c lbu r2,0x007c(r16)
0006a9b4: 92430000 lbu r3,0x0000(r18)
0006a9b8: ae000030 sw r0,0x0030(r16)
0006a9bc: 244200ff addiu r2,r2,0x00ff
0006a9c0: 30630003 andi r3,r3,0x0003
0006a9c4: 00431023 subu r2,r2,r3
0006a9c8: a2020080 sb r2,0x0080(r16)
0006a9cc: 0801aa94 j 0x0006aa50
0006a9d0: ae040028 sw r4,0x0028(r16)
0006a9d4: 00002821 addu r5,r0,r0
0006a9d8: 02003021 addu r6,r16,r0
0006a9dc: 34020011 ori r2,r0,0x0011
0006a9e0: 0c02065e jal 0x00081978
0006a9e4: a202007f sb r2,0x007f(r16)
0006a9e8: 3c04ffff lui r4,0xffff
0006a9ec: 34842000 ori r4,r4,0x2000
0006a9f0: 0091001a div r4,r17
0006a9f4: 00002012 mflo r4
0006a9f8: 9202007d lbu r2,0x007d(r16)
0006a9fc: 92430000 lbu r3,0x0000(r18)
0006aa00: ae000028 sw r0,0x0028(r16)
0006aa04: 244200ff addiu r2,r2,0x00ff
0006aa08: 30630003 andi r3,r3,0x0003
0006aa0c: 0801aa92 j 0x0006aa48
0006aa10: 00431023 subu r2,r2,r3
0006aa14: 02003021 addu r6,r16,r0
0006aa18: 34020019 ori r2,r0,0x0019
0006aa1c: 0c02065e jal 0x00081978
0006aa20: a202007f sb r2,0x007f(r16)
0006aa24: 3404e000 ori r4,r0,0xe000
0006aa28: 0091001a div r4,r17
0006aa2c: 00002012 mflo r4
0006aa30: 9202007d lbu r2,0x007d(r16)
0006aa34: 92430000 lbu r3,0x0000(r18)
0006aa38: ae000028 sw r0,0x0028(r16)
0006aa3c: 24420001 addiu r2,r2,0x0001
0006aa40: 30630003 andi r3,r3,0x0003
0006aa44: 00431021 addu r2,r2,r3
0006aa48: a2020081 sb r2,0x0081(r16)
0006aa4c: ae040030 sw r4,0x0030(r16)
0006aa50: 92420000 lbu r2,0x0000(r18)
0006aa54: 00000000 nop
0006aa58: 00021142 srl r2,r2,0x05
0006aa5c: 30420001 andi r2,r2,0x0001
0006aa60: a2020082 sb r2,0x0082(r16)
0006aa64: 8fbf0034 lw r31,0x0034(r29)
0006aa68: 8fb20030 lw r18,0x0030(r29)
0006aa6c: 8fb1002c lw r17,0x002c(r29)
0006aa70: 8fb00028 lw r16,0x0028(r29)
0006aa74: 27bd0038 addiu r29,r29,0x0038
0006aa78: 03e00008 jr r31
0006aa7c: 00000000 nop