Difference between revisions of "BUNIT.OUT Calculate Unit Jobs"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with " 001c72c0: 27bdffd0 addiu r29,r29,0xffd0 001c72c4: afb00010 sw r16,0x0010(r29) 001c72c8: 00808021 addu r16,r4,r0 001c72cc: 320200ff andi r2,r16,0x00ff 001c72d0: 3c03801f l...")
 
Line 1: Line 1:
 +
See [[Calculate Job Wheel Jobs]] in WORLD.BIN
 +
 
  001c72c0: 27bdffd0 addiu r29,r29,0xffd0
 
  001c72c0: 27bdffd0 addiu r29,r29,0xffd0
 
  001c72c4: afb00010 sw r16,0x0010(r29)
 
  001c72c4: afb00010 sw r16,0x0010(r29)

Revision as of 05:20, 20 September 2024

See Calculate Job Wheel Jobs in WORLD.BIN

001c72c0: 27bdffd0 addiu r29,r29,0xffd0
001c72c4: afb00010 sw r16,0x0010(r29)
001c72c8: 00808021 addu r16,r4,r0
001c72cc: 320200ff andi r2,r16,0x00ff
001c72d0: 3c03801f lui r3,0x801f
001c72d4: 2463caf8 addiu r3,r3,0xcaf8
001c72d8: 00021080 sll r2,r2,0x02
001c72dc: afb20018 sw r18,0x0018(r29)
001c72e0: 00439021 addu r18,r2,r3
001c72e4: afbf0028 sw r31,0x0028(r29)
001c72e8: afb50024 sw r21,0x0024(r29)
001c72ec: afb40020 sw r20,0x0020(r29)
001c72f0: afb3001c sw r19,0x001c(r29)
001c72f4: afb10014 sw r17,0x0014(r29)
001c72f8: 8e440000 lw r4,0x0000(r18)
001c72fc: 00a0a821 addu r21,r5,r0
001c7300: 0c072ff1 jal 0x001cbfc4
001c7304: 24840075 addiu r4,r4,0x0075
001c7308: 0c071c8b jal 0x001c722c
001c730c: 320400ff andi r4,r16,0x00ff
001c7310: a6a20000 sh r2,0x0000(r21)
001c7314: 8e420000 lw r2,0x0000(r18)
001c7318: 00000000 nop
001c731c: 84440024 lh r4,0x0024(r2)
001c7320: 0c071a0d jal 0x001c6834
001c7324: 34140001 ori r20,r0,0x0001
001c7328: 14400007 bne r2,r0,0x001c7348
001c732c: 2402ffff addiu r2,r0,0xffff
001c7330: 8e420000 lw r2,0x0000(r18)
001c7334: 00000000 nop
001c7338: 8442003e lh r2,0x003e(r2)
001c733c: 00000000 nop
001c7340: 10400004 beq r2,r0,0x001c7354
001c7344: 2402ffff addiu r2,r0,0xffff
001c7348: a6a20002 sh r2,0x0002(r21)
001c734c: 08071cfe j 0x001c73f8
001c7350: 34020001 ori r2,r0,0x0001
001c7354: 0c072ff8 jal 0x001cbfe0
001c7358: 34040001 ori r4,r0,0x0001
001c735c: 34110001 ori r17,r0,0x0001
001c7360: 02409821 addu r19,r18,r0
001c7364: 26b20002 addiu r18,r21,0x0002
001c7368: 0c072ff8 jal 0x001cbfe0
001c736c: 34040001 ori r4,r0,0x0001
001c7370: 2630004a addiu r16,r17,0x004a
001c7374: 00401821 addu r3,r2,r0
001c7378: 3402005b ori r2,r0,0x005b
001c737c: 16020008 bne r16,r2,0x001c73a0
001c7380: 3402005c ori r2,r0,0x005c
001c7384: 8e620000 lw r2,0x0000(r19)
001c7388: 00000000 nop
001c738c: 90420070 lbu r2,0x0070(r2)
001c7390: 00000000 nop
001c7394: 30420040 andi r2,r2,0x0040
001c7398: 1440000f bne r2,r0,0x001c73d8
001c739c: 3402005c ori r2,r0,0x005c
001c73a0: 16020008 bne r16,r2,0x001c73c4
001c73a4: 00000000 nop
001c73a8: 8e620000 lw r2,0x0000(r19)
001c73ac: 00000000 nop
001c73b0: 90420070 lbu r2,0x0070(r2)
001c73b4: 00000000 nop
001c73b8: 30420080 andi r2,r2,0x0080
001c73bc: 14400006 bne r2,r0,0x001c73d8
001c73c0: 00000000 nop
001c73c4: 10600004 beq r3,r0,0x001c73d8
001c73c8: 00000000 nop
001c73cc: a6500000 sh r16,0x0000(r18)
001c73d0: 26520002 addiu r18,r18,0x0002
001c73d4: 26940001 addiu r20,r20,0x0001
001c73d8: 26310001 addiu r17,r17,0x0001
001c73dc: 2a220014 slti r2,r17,0x0014
001c73e0: 1440ffe1 bne r2,r0,0x001c7368
001c73e4: 00141040 sll r2,r20,0x01
001c73e8: 00551021 addu r2,r2,r21
001c73ec: 2403ffff addiu r3,r0,0xffff
001c73f0: a4430000 sh r3,0x0000(r2)
001c73f4: 02801021 addu r2,r20,r0
001c73f8: 8fbf0028 lw r31,0x0028(r29)
001c73fc: 8fb50024 lw r21,0x0024(r29)
001c7400: 8fb40020 lw r20,0x0020(r29)
001c7404: 8fb3001c lw r19,0x001c(r29)
001c7408: 8fb20018 lw r18,0x0018(r29)
001c740c: 8fb10014 lw r17,0x0014(r29)
001c7410: 8fb00010 lw r16,0x0010(r29)
001c7414: 27bd0030 addiu r29,r29,0x0030
001c7418: 03e00008 jr r31
001c741c: 00000000 nop