Steal Gil
Jump to navigation
Jump to search
00186744: 3c028019 lui r2,0x8019 00186748: 8c422d94 lw r2,0x2d94(r2) load attacker stats 0018674c: 27bdffe8 addiu r29,r29,0xffe8 00186750: afbf0014 sw r31,0x0014(r29) 00186754: afb00010 sw r16,0x0010(r29) 00186758: 90430038 lbu r3,0x0038(r2) load speed 0018675c: 90420022 lbu r2,0x0022(r2) load level 00186760: 00000000 nop 00186764: 00620018 mult r3,r2 00186768: 3c028019 lui r2,0x8019 0018676c: 8c422d98 lw r2,0x2d98(r2) load target stats 00186770: 00000000 nop 00186774: 90420005 lbu r2,0x0005(r2) load ENTD 00186778: 00000000 nop 0018677c: 30420030 andi r2,r2,0x0030 00186780: 00008012 mflo r16 00186784: 14400008 bne r2,r0,0x001867a8 branch if not on player team 00186788: 00000000 nop 0018678c: 0c04ed64 jal 0x0013b590 apply inventory change? 00186790: 3404002c ori r4,r0,0x002c 00186794: 00401821 addu r3,r2,r0 00186798: 0070102a slt r2,r3,r16 0018679c: 10400002 beq r2,r0,0x001867a8 001867a0: 00000000 nop 001867a4: 00608021 addu r16,r3,r0 001867a8: 16000005 bne r16,r0,0x001867c0 001867ac: 34030001 ori r3,r0,0x0001 001867b0: 0c0610c3 jal 0x0018430c force attack miss 001867b4: 00000000 nop 001867b8: 08061a00 j 0x00186800 001867bc: 00000000 nop 001867c0: 3c048019 lui r4,0x8019 001867c4: 8c842d8c lw r4,0x2d8c(r4) load attacker action 001867c8: 00000000 nop 001867cc: a0830000 sb r3,0x0000(r4) store hit 001867d0: 3c028019 lui r2,0x8019 001867d4: 8c422d8c lw r2,0x2d8c(r2) 001867d8: a490000c sh r16,0x000c(r4) store gil stolen/lost 001867dc: a0430025 sb r3,0x0025(r2) store psuedo-status change 001867e0: 3c028019 lui r2,0x8019 001867e4: 8c422d8c lw r2,0x2d8c(r2) 001867e8: 3c048019 lui r4,0x8019 001867ec: 8c842d90 lw r4,0x2d90(r4) 001867f0: 9442000c lhu r2,0x000c(r2) load gil stolen 001867f4: a0830025 sb r3,0x0025(r4) store in attacker action 001867f8: 00021023 subu r2,r0,r2 001867fc: a482000c sh r2,0x000c(r4) store negative gil amount? 00186800: 8fbf0014 lw r31,0x0014(r29) 00186804: 8fb00010 lw r16,0x0010(r29) 00186808: 27bd0018 addiu r29,r29,0x0018 0018680c: 03e00008 jr r31 00186810: 00000000 nop