大受歡迎的~ EXP/GOLD
//addExp, addGil
.text:0069C8F2 ; _DWORD __fastcall BattleScene::setKnockdownMonsterResult(BattleScene *__hidden this, MissionResultInfo *)
.text:0069C8F2 EXPORT _ZN11BattleScene25setKnockdownMonsterResultEP17MissionResultInfo
.text:0069C8F2 _ZN11BattleScene25setKnockdownMonsterResultEP17MissionResultInfo
.text:0069C8F2 ; CODE XREF: BattleScene::setBattleResult(MissionResultInfo *)+6p
.
.
.text:0069C97A loc_69C97A ; CODE XREF: BattleScene::setKnockdownMonsterResult(MissionResultInfo *)+84j
.text:0069C97A 23 68 LDR R3, [R4]
.text:0069C97C 20 46 MOV R0, R4
.text:0069C97E 5B 6A LDR R3, [R3,#0x24]
.text:0069C980 98 47 BLX R3
.text:0069C982 39 46 MOV R1, R7 ; int
.text:0069C984 02 46 MOV R2, R0 ; int
.text:0069C986 28 46 MOV R0, R5 ; this
.text:0069C988 ED F6 90 FA BL _ZN17MissionResultInfo24addKnockdownMonsterPartsEii ; MissionResultInfo::addKnockdownMonsterParts(int,int)
.text:0069C98C 20 46 MOV R0, R4 ; this
.text:0069C98E 14 F7 8F FF BL _ZN15MonsterPartsMst6getExpEv ; MonsterPartsMst::getExp(void)
改成 18 20 00 02 MOV R0, #0x18
.text:0069C992 00 22 MOVS R2, #0 ; int
.text:0069C994 01 46 MOV R1, R0 ; int
.text:0069C996 28 46 MOV R0, R5 ; this
.text:0069C998 EA F6 82 FC BL _ZN17MissionResultInfo6addExpEii ; MissionResultInfo::addExp(int,int)
.text:0069C99C 23 68 LDR R3, [R4]
.text:0069C99E 20 46 MOV R0, R4
.text:0069C9A0 5B 6E LDR R3, [R3,#0x64]
.text:0069C9A2 98 47 BLX R3
改成 18 20 00 02 MOV R0, #0x18
LSL R0, R0, #8
.text:0069C9A4 00 22 MOVS R2, #0 ; int
.text:0069C9A6 01 46 MOV R1, R0 ; int
.text:0069C9A8 28 46 MOV R0, R5 ; this
.text:0069C9AA EA F6 71 FC BL _ZN17MissionResultInfo6addGilEii ; MissionResultInfo::addGil(int,int) |