; ; DailyLevelPage::claimLevelReward from 0x4d56e4 to 0x4d57cc (232 bytes) ; ; 1 xrefs: ; > DailyLevelNode::onClaimReward @ 0x4d5818 ; ; 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 ; PUSH.W {R4-R11,LR} ; +0x0, 0x4d56e4 MOV R10, R3 ; +0x4, 0x4d56e8 LDR R7, =(__stack_chk_guard_ptr - 0x4D56F6) ; +0x6, 0x4d56ea SUB SP, SP, #0x34 ; +0x8, 0x4d56ec MOV R6, R2 ; +0xa, 0x4d56ee MOV R9, R1 ; +0xc, 0x4d56f0 ADD R7, PC; __stack_chk_guard_ptr ; +0xe, 0x4d56f2 LDR R7, [R7]; __stack_chk_guard ; +0x10, 0x4d56f4 MOV R5, R0 ; +0x12, 0x4d56f6 LDR R3, [R7] ; +0x14, 0x4d56f8 STR R3, [SP,#0x34+var_8] ; +0x16, 0x4d56fa BL _ZN16GameStatsManager11sharedStateEv; GameStatsManager::sharedState(void) ; +0x18, 0x4d56fc MOV R1, R6; GJGameLevel * ; +0x1c, 0x4d5700 BL _ZN16GameStatsManager19completedDailyLevelEP11GJGameLevel; GameStatsManager::completedDailyLevel(GJGameLevel *) ; +0x1e, 0x4d5702 MOV R4, R0 ; +0x22, 0x4d5706 CBZ R0, loc_4D572C ; +0x24, 0x4d5708 MOVS R1, #0; int ; +0x26, 0x4d570a LDR R0, [R0,#0x3C]; this ; +0x28, 0x4d570c BL _ZN17RewardUnlockLayer6createEiP11RewardsPage; RewardUnlockLayer::create(int,RewardsPage *) ; +0x2a, 0x4d570e LDR R3, [R5] ; +0x2e, 0x4d5712 MOVS R2, #0x64 ; 'd' ; +0x30, 0x4d5714 LDR.W R3, [R3,#0xE0] ; +0x32, 0x4d5716 MOV R8, R0 ; +0x36, 0x4d571a MOV R0, R5 ; +0x38, 0x4d571c MOV R1, R8 ; +0x3a, 0x4d571e BLX R3 ; +0x3c, 0x4d5720 MOV R0, R8; this ; +0x3e, 0x4d5722 MOV R1, R4; GJRewardItem * ; +0x40, 0x4d5724 BL _ZN17RewardUnlockLayer17showCollectRewardEP12GJRewardItem; RewardUnlockLayer::showCollectReward(GJRewardItem *) ; +0x42, 0x4d5726 B loc_4D577E ; +0x46, 0x4d572a BL _ZN16GameStatsManager11sharedStateEv; GameStatsManager::sharedState(void) ; +0x48, 0x4d572c LDR.W R3, [R6,#0x250] ; +0x4c, 0x4d5730 LDR.W R1, [R6,#0x24C] ; +0x50, 0x4d5734 ADD.W R8, SP, #0x34+var_10 ; +0x54, 0x4d5738 SUBS R1, R1, R3; int ; +0x58, 0x4d573c BL _ZN16GameStatsManager16getBonusDiamondsEi; GameStatsManager::getBonusDiamonds(int) ; +0x5a, 0x4d573e MOV R1, R10; cocos2d::CCPoint * ; +0x5e, 0x4d5742 MOV R11, R0 ; +0x60, 0x4d5744 MOV R0, R8; this ; +0x62, 0x4d5746 BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x64, 0x4d5748 MOVS R3, #0 ; +0x68, 0x4d574c MOV R1, R4; int ; +0x6a, 0x4d574e STR R3, [SP,#0x34+var_1C]; float ; +0x6c, 0x4d5750 MOV R2, R4; int ; +0x6e, 0x4d5752 MOV.W R3, #0x3F800000 ; +0x70, 0x4d5754 STR R4, [SP,#0x34+var_34]; int ; +0x74, 0x4d5758 MOV R0, R4; int ; +0x76, 0x4d575a STR R3, [SP,#0x34+var_18]; float ; +0x78, 0x4d575c MOV R3, R11; int ; +0x7a, 0x4d575e STR R4, [SP,#0x34+var_30]; int ; +0x7c, 0x4d5760 STR R4, [SP,#0x34+var_2C]; int ; +0x7e, 0x4d5762 STR R4, [SP,#0x34+var_28]; int ; +0x80, 0x4d5764 STR.W R8, [SP,#0x34+var_24]; int ; +0x82, 0x4d5766 STR R4, [SP,#0x34+var_20]; int ; +0x86, 0x4d576a BL _ZN19CurrencyRewardLayer6createEiiii18CurrencySpriteTypeiS0_iN7cocos2d7CCPointE18CurrencyRewardTypeff; CurrencyRewardLayer::create(int,int,int,int,CurrencySpriteType,int,CurrencySpriteType,int,cocos2d::CCPoint,CurrencyRewardType,float,float) ; +0x88, 0x4d576c LDR R3, [R5] ; +0x8c, 0x4d5770 MOVS R2, #0xE ; +0x8e, 0x4d5772 LDR.W R3, [R3,#0xE0] ; +0x90, 0x4d5774 MOV R1, R0 ; +0x94, 0x4d5778 MOV R0, R5 ; +0x96, 0x4d577a BLX R3 ; +0x98, 0x4d577c MOVS R2, #0; cocos2d::CCDelayTime * ; +0x9a, 0x4d577e MOV R1, R9; DailyLevelNode * ; +0x9c, 0x4d5780 MOV R0, R5; this ; +0x9e, 0x4d5782 BL _ZN14DailyLevelPage13exitDailyNodeEP14DailyLevelNodef; DailyLevelPage::exitDailyNode(DailyLevelNode *,float) ; +0xa0, 0x4d5784 BL _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0xa4, 0x4d5788 LDR.W R1, [R5,#0x214] ; +0xa8, 0x4d578c BL _ZN16GameLevelManager10getDailyIDE16GJTimedLevelType; GameLevelManager::getDailyID(GJTimedLevelType) ; +0xac, 0x4d5790 LDR.W R3, [R6,#0x230] ; +0xb0, 0x4d5794 LDR.W R2, [R6,#0x234] ; +0xb4, 0x4d5798 SUBS R3, R3, R2 ; +0xb8, 0x4d579c CMP R0, R3 ; +0xba, 0x4d579e BLE loc_4D57AA ; +0xbc, 0x4d57a0 MOV R0, R5; this ; +0xbe, 0x4d57a2 BL _ZN14DailyLevelPage21downloadAndCreateNodeEv; DailyLevelPage::downloadAndCreateNode(void) ; +0xc0, 0x4d57a4 B loc_4D57BA ; +0xc4, 0x4d57a8 MOVS R1, #0; GJGameLevel * ; +0xc6, 0x4d57aa MOV R0, R5; this ; +0xc8, 0x4d57ac STR R1, [SP,#0x34+var_34]; DailyLevelPage * ; +0xca, 0x4d57ae MOV R2, R1; bool ; +0xcc, 0x4d57b0 MOV.W R3, #0x3F000000; float ; +0xce, 0x4d57b2 BL _ZN14DailyLevelPage15createDailyNodeEP11GJGameLevelbfb; DailyLevelPage::createDailyNode(GJGameLevel *,bool,float,bool) ; +0xd2, 0x4d57b6 LDR R2, [SP,#0x34+var_8] ; +0xd6, 0x4d57ba LDR R3, [R7] ; +0xd8, 0x4d57bc CMP R2, R3 ; +0xda, 0x4d57be BEQ loc_4D57C6 ; +0xdc, 0x4d57c0 BLX __stack_chk_fail ; +0xde, 0x4d57c2 ADD SP, SP, #0x34 ; '4' ; +0xe2, 0x4d57c6 POP.W {R4-R11,PC} ; +0xe4, 0x4d57c8