; ; DailyLevelNode::onClaimReward from 0x4d57d0 to 0x4d587e (174 bytes) ; ; 0 xrefs: ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; LDR R3, =(__stack_chk_guard_ptr - 0x4D57DA) ; +0x0, 0x4d57d0 PUSH.W {R4-R9,LR} ; +0x2, 0x4d57d2 ADD R3, PC; __stack_chk_guard_ptr ; +0x6, 0x4d57d6 LDR R3, [R3]; __stack_chk_guard ; +0x8, 0x4d57d8 SUB SP, SP, #0x14 ; +0xa, 0x4d57da MOV R4, R0 ; +0xc, 0x4d57dc LDR R2, [R3] ; +0xe, 0x4d57de MOV R7, R1 ; +0x10, 0x4d57e0 MOV R6, R3 ; +0x12, 0x4d57e2 STR R2, [SP,#0x14+var_8] ; +0x14, 0x4d57e4 LDRB.W R2, [R0,#0x124] ; +0x16, 0x4d57e6 CMP R2, #0 ; +0x1a, 0x4d57ea BNE loc_4D586C ; +0x1c, 0x4d57ec MOVS R3, #1 ; +0x1e, 0x4d57ee STRB.W R3, [R0,#0x124] ; +0x20, 0x4d57f0 LDR R3, [R0] ; +0x24, 0x4d57f4 ADD R5, SP, #0x14+var_10 ; +0x26, 0x4d57f6 LDR.W R9, [R0,#0x110] ; +0x28, 0x4d57f8 LDR.W R8, [R0,#0x10C] ; +0x2c, 0x4d57fc LDR R3, [R3,#0x60] ; +0x30, 0x4d5800 BLX R3 ; +0x32, 0x4d5802 ADD.W R2, R4, #0x118 ; +0x34, 0x4d5804 MOV R1, R0 ; +0x38, 0x4d5808 MOV R0, R5 ; +0x3a, 0x4d580a BL _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x3c, 0x4d580c MOV R3, R5 ; +0x40, 0x4d5810 MOV R0, R9 ; +0x42, 0x4d5812 MOV R1, R4 ; +0x44, 0x4d5814 MOV R2, R8 ; +0x46, 0x4d5816 BL _ZN14DailyLevelPage16claimLevelRewardEP14DailyLevelNodeP11GJGameLevelN7cocos2d7CCPointE; DailyLevelPage::claimLevelReward(DailyLevelNode *,GJGameLevel *,cocos2d::CCPoint) ; +0x48, 0x4d5818 LDR.W R3, [R4,#0x110] ; +0x4c, 0x4d581c LDR.W R3, [R3,#0x214] ; +0x50, 0x4d5820 CMP R3, #1 ; +0x54, 0x4d5824 BEQ loc_4D5848 ; +0x56, 0x4d5826 BL _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0x58, 0x4d5828 LDR R1, =(aGold02Ogg - 0x4D5834); "gold02.ogg" ; +0x5c, 0x4d582c MOV R2, SP ; +0x5e, 0x4d582e ADD R1, PC; "gold02.ogg" ; +0x60, 0x4d5830 MOV R4, R0 ; +0x62, 0x4d5832 MOV R0, R5; int ; +0x64, 0x4d5834 BL sub_776584 ; +0x66, 0x4d5836 MOV R0, R4 ; +0x6a, 0x4d583a MOV R1, R5 ; +0x6c, 0x4d583c BL _ZN15FMODAudioEngine10playEffectESs; FMODAudioEngine::playEffect(std::string) ; +0x6e, 0x4d583e MOV R0, R5 ; +0x72, 0x4d5842 BL sub_774008 ; +0x74, 0x4d5844 LDR R3, [R7] ; +0x78, 0x4d5848 MOV R0, R7 ; +0x7a, 0x4d584a MOVS R1, #0 ; +0x7c, 0x4d584c LDR.W R3, [R3,#0xA4] ; +0x7e, 0x4d584e BLX R3 ; +0x82, 0x4d5852 LDR R3, [R7] ; +0x84, 0x4d5854 MOV R0, R7 ; +0x86, 0x4d5856 MOVS R1, #0 ; +0x88, 0x4d5858 LDR.W R3, [R3,#0x208] ; +0x8a, 0x4d585a BLX R3 ; +0x8e, 0x4d585e B loc_4D586C ; +0x90, 0x4d5860 MOV R0, R5 ; +0x92, 0x4d5862 BL sub_774008 ; +0x94, 0x4d5864 BL __cxa_end_cleanup ; +0x98, 0x4d5868 LDR R2, [SP,#0x14+var_8] ; +0x9c, 0x4d586c LDR R3, [R6] ; +0x9e, 0x4d586e CMP R2, R3 ; +0xa0, 0x4d5870 BEQ loc_4D5878 ; +0xa2, 0x4d5872 BLX __stack_chk_fail ; +0xa4, 0x4d5874 ADD SP, SP, #0x14 ; +0xa8, 0x4d5878 POP.W {R4-R9,PC} ; +0xaa, 0x4d587a