; ; DailyLevelPage::claimLevelReward from 0x915684 to 0x915804 (384 bytes) ; ; 2 xrefs: ; > DailyLevelNode::onClaimReward @ 0x9158a0 ; > @ 0x49260 ; ; 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 ; SUB SP, SP, #0x70 ; +0x0, 0x915684 STP X29, X30, [SP,#0x70+var_60] ; +0x4, 0x915688 ADD X29, SP, #0x10 ; +0x8, 0x91568c STP X19, X20, [SP,#0x70+var_50] ; +0xc, 0x915690 ADRP X20, #__stack_chk_guard_ptr@PAGE ; +0x10, 0x915694 MOV X19, X0 ; +0x14, 0x915698 STP X21, X22, [SP,#0x70+var_40] ; +0x18, 0x91569c STP X23, X24, [SP,#0x70+var_30] ; +0x1c, 0x9156a0 LDR X0, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0x9156a4 MOV X21, X2 ; +0x24, 0x9156a8 MOV X23, X3 ; +0x28, 0x9156ac MOV X24, X1 ; +0x2c, 0x9156b0 LDR X0, [X0]; this ; +0x30, 0x9156b4 STR X0, [X29,#0x60+var_8] ; +0x34, 0x9156b8 BL _ZN16GameStatsManager11sharedStateEv; GameStatsManager::sharedState(void) ; +0x38, 0x9156bc MOV X1, X21; GJGameLevel * ; +0x3c, 0x9156c0 BL _ZN16GameStatsManager19completedDailyLevelEP11GJGameLevel; GameStatsManager::completedDailyLevel(GJGameLevel *) ; +0x40, 0x9156c4 MOV X22, X0 ; +0x44, 0x9156c8 CBZ X0, loc_915784 ; +0x48, 0x9156cc LDR W0, [X0,#0x40]; this ; +0x4c, 0x9156d0 MOV X1, #0; int ; +0x50, 0x9156d4 BL _ZN17RewardUnlockLayer6createEiP11RewardsPage; RewardUnlockLayer::create(int,RewardsPage *) ; +0x54, 0x9156d8 MOV X23, X0 ; +0x58, 0x9156dc LDR X3, [X19] ; +0x5c, 0x9156e0 MOV X0, X19 ; +0x60, 0x9156e4 MOV X1, X23 ; +0x64, 0x9156e8 MOV W2, #0x64 ; 'd' ; +0x68, 0x9156ec LDR X3, [X3,#0x1C0] ; +0x6c, 0x9156f0 BLR X3 ; +0x70, 0x9156f4 MOV X0, X23; this ; +0x74, 0x9156f8 MOV X1, X22; GJRewardItem * ; +0x78, 0x9156fc BL _ZN17RewardUnlockLayer17showCollectRewardEP12GJRewardItem; RewardUnlockLayer::showCollectReward(GJRewardItem *) ; +0x7c, 0x915700 FMOV S0, WZR; float ; +0x80, 0x915704 MOV X1, X24; DailyLevelNode * ; +0x84, 0x915708 MOV X0, X19; this ; +0x88, 0x91570c BL _ZN14DailyLevelPage13exitDailyNodeEP14DailyLevelNodef; DailyLevelPage::exitDailyNode(DailyLevelNode *,float) ; +0x8c, 0x915710 BL _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x90, 0x915714 LDR W1, [X19,#0x2BC] ; +0x94, 0x915718 BL _ZN16GameLevelManager10getDailyIDE16GJTimedLevelType; GameLevelManager::getDailyID(GJTimedLevelType) ; +0x98, 0x91571c LDR W1, [X21,#0x294] ; +0x9c, 0x915720 LDR W2, [X21,#0x298] ; +0xa0, 0x915724 SUB W1, W1, W2 ; +0xa4, 0x915728 CMP W0, W1 ; +0xa8, 0x91572c MOV X0, X19; this ; +0xac, 0x915730 B.GT loc_91577C ; +0xb0, 0x915734 MOV X1, #0; GJGameLevel * ; +0xb4, 0x915738 MOV W2, #0; bool ; +0xb8, 0x91573c MOV W3, #0; bool ; +0xbc, 0x915740 FMOV S0, #0.5; float ; +0xc0, 0x915744 BL _ZN14DailyLevelPage15createDailyNodeEP11GJGameLevelbfb; DailyLevelPage::createDailyNode(GJGameLevel *,bool,float,bool) ; +0xc4, 0x915748 LDR X20, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0xc8, 0x91574c LDR X1, [X29,#0x60+var_8] ; +0xcc, 0x915750 LDR X0, [X20] ; +0xd0, 0x915754 CMP X1, X0 ; +0xd4, 0x915758 B.NE loc_915800 ; +0xd8, 0x91575c SUB SP, X29, #0x10 ; +0xdc, 0x915760 LDP X19, X20, [SP,#0x70+var_50] ; +0xe0, 0x915764 LDP X21, X22, [SP,#0x70+var_40] ; +0xe4, 0x915768 LDP X23, X24, [SP,#0x70+var_30] ; +0xe8, 0x91576c LDP X29, X30, [SP,#0x70+var_60] ; +0xec, 0x915770 ADD SP, SP, #0x70 ; 'p' ; +0xf0, 0x915774 RET ; +0xf4, 0x915778 BL _ZN14DailyLevelPage21downloadAndCreateNodeEv; DailyLevelPage::downloadAndCreateNode(void) ; +0xf8, 0x91577c B loc_91574C ; +0xfc, 0x915780 BL _ZN16GameStatsManager11sharedStateEv; GameStatsManager::sharedState(void) ; +0x100, 0x915784 ADD X22, X29, #0x60+var_10 ; +0x104, 0x915788 LDR W2, [X21,#0x2B0] ; +0x108, 0x91578c LDR W1, [X21,#0x2B4] ; +0x10c, 0x915790 SUB W1, W2, W1; int ; +0x110, 0x915794 BL _ZN16GameStatsManager16getBonusDiamondsEi; GameStatsManager::getBonusDiamonds(int) ; +0x114, 0x915798 MOV W3, W0 ; +0x118, 0x91579c MOV X1, X23; cocos2d::CCPoint * ; +0x11c, 0x9157a0 MOV X0, X22; this ; +0x120, 0x9157a4 STR X3, [X29,#0x60+var_18] ; +0x124, 0x9157a8 BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x128, 0x9157ac STR X22, [SP,#0x70+var_70] ; +0x12c, 0x9157b0 FMOV S0, WZR ; +0x130, 0x9157b4 LDR X3, [X29,#0x60+var_18] ; +0x134, 0x9157b8 MOV W1, #0 ; +0x138, 0x9157bc MOV W2, #0 ; +0x13c, 0x9157c0 STR WZR, [SP,#0x70+var_68] ; +0x140, 0x9157c4 MOV W4, #0 ; +0x144, 0x9157c8 MOV W5, #0 ; +0x148, 0x9157cc MOV W6, #0 ; +0x14c, 0x9157d0 MOV W7, #0 ; +0x150, 0x9157d4 MOV W0, #0 ; +0x154, 0x9157d8 FMOV S1, #1.0 ; +0x158, 0x9157dc BL _ZN19CurrencyRewardLayer6createEiiii18CurrencySpriteTypeiS0_iN7cocos2d7CCPointE18CurrencyRewardTypeff; CurrencyRewardLayer::create(int,int,int,int,CurrencySpriteType,int,CurrencySpriteType,int,cocos2d::CCPoint,CurrencyRewardType,float,float) ; +0x15c, 0x9157e0 MOV X1, X0 ; +0x160, 0x9157e4 LDR X3, [X19] ; +0x164, 0x9157e8 MOV X0, X19 ; +0x168, 0x9157ec MOV W2, #0xE ; +0x16c, 0x9157f0 LDR X3, [X3,#0x1C0] ; +0x170, 0x9157f4 BLR X3 ; +0x174, 0x9157f8 B loc_915704 ; +0x178, 0x9157fc BL .__stack_chk_fail ; +0x17c, 0x915800