; ; DailyLevelNode::onClaimReward from 0x915804 to 0x915994 (400 bytes) ; ; 3 xrefs: ; > @ 0xbeb48 ; > DailyLevelNode::init @ 0x914138 ; > @ 0x122e9d0 ; ; 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 ; STP X29, X30, [SP,#var_70]! ; +0x0, 0x915804 MOV X29, SP ; +0x4, 0x915808 STP X19, X20, [SP,#0x70+var_60] ; +0x8, 0x91580c ADRP X19, #__stack_chk_guard_ptr@PAGE ; +0xc, 0x915810 STR X23, [SP,#0x70+var_40] ; +0x10, 0x915814 STP X21, X22, [SP,#0x70+var_50] ; +0x14, 0x915818 MOV X21, X1 ; +0x18, 0x91581c LDRB W1, [X0,#0x170] ; +0x1c, 0x915820 LDR X2, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0x915824 MOV X20, X0 ; +0x24, 0x915828 LDR X2, [X2] ; +0x28, 0x91582c STR X2, [X29,#0x70+var_8] ; +0x2c, 0x915830 CBZ W1, loc_915860 ; +0x30, 0x915834 LDR X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x34, 0x915838 LDR X1, [X29,#0x70+var_8] ; +0x38, 0x91583c LDR X0, [X19] ; +0x3c, 0x915840 CMP X1, X0 ; +0x40, 0x915844 B.NE loc_915964 ; +0x44, 0x915848 LDP X19, X20, [SP,#0x70+var_60] ; +0x48, 0x91584c LDP X21, X22, [SP,#0x70+var_50] ; +0x4c, 0x915850 LDR X23, [SP,#0x70+var_40] ; +0x50, 0x915854 LDP X29, X30, [SP+0x70+var_70],#0x70 ; +0x54, 0x915858 RET ; +0x58, 0x91585c LDR X1, [X0] ; +0x5c, 0x915860 MOV W2, #1 ; +0x60, 0x915864 STRB W2, [X0,#0x170] ; +0x64, 0x915868 ADD X22, X29, #0x70+var_10 ; +0x68, 0x91586c LDR X2, [X0,#0x148] ; +0x6c, 0x915870 LDR X1, [X1,#0xC0] ; +0x70, 0x915874 STR X2, [X29,#0x70+var_28] ; +0x74, 0x915878 LDR X23, [X0,#0x150] ; +0x78, 0x91587c BLR X1 ; +0x7c, 0x915880 MOV X8, X22 ; +0x80, 0x915884 ADD X1, X20, #0x160 ; +0x84, 0x915888 BL _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x88, 0x91588c LDR X2, [X29,#0x70+var_28] ; +0x8c, 0x915890 MOV X0, X23 ; +0x90, 0x915894 MOV X1, X20 ; +0x94, 0x915898 MOV X3, X22 ; +0x98, 0x91589c BL _ZN14DailyLevelPage16claimLevelRewardEP14DailyLevelNodeP11GJGameLevelN7cocos2d7CCPointE; DailyLevelPage::claimLevelReward(DailyLevelNode *,GJGameLevel *,cocos2d::CCPoint) ; +0x9c, 0x9158a0 LDR X0, [X20,#0x150] ; +0xa0, 0x9158a4 LDR W0, [X0,#0x2BC]; this ; +0xa4, 0x9158a8 CMP W0, #1 ; +0xa8, 0x9158ac B.EQ loc_9158F4 ; +0xac, 0x9158b0 BL _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0xb0, 0x9158b4 MOV X20, X0 ; +0xb4, 0x9158b8 ADRP X1, #aGold02Ogg@PAGE; "gold02.ogg" ; +0xb8, 0x9158bc MOV X0, X22; int ; +0xbc, 0x9158c0 ADD X1, X1, #aGold02Ogg@PAGEOFF; "gold02.ogg" ; +0xc0, 0x9158c4 ADD X2, X29, #0x70+var_20 ; +0xc4, 0x9158c8 BL sub_D153B8 ; +0xc8, 0x9158cc MOV X0, X20 ; +0xcc, 0x9158d0 MOV X1, X22 ; +0xd0, 0x9158d4 BL _ZN15FMODAudioEngine10playEffectESs; FMODAudioEngine::playEffect(std::string) ; +0xd4, 0x9158d8 ADRP X1, #off_122EFE8@PAGE ; +0xd8, 0x9158dc LDR X2, [X29,#0x70+var_10] ; +0xdc, 0x9158e0 SUB X0, X2, #0x18; p ; +0xe0, 0x9158e4 LDR X1, [X1,#off_122EFE8@PAGEOFF]; qword_124B6B0 ; +0xe4, 0x9158e8 CMP X0, X1 ; +0xe8, 0x9158ec B.NE loc_915920 ; +0xec, 0x9158f0 LDR X2, [X21] ; +0xf0, 0x9158f4 MOV X0, X21 ; +0xf4, 0x9158f8 MOV W1, #0 ; +0xf8, 0x9158fc LDR X2, [X2,#0x148] ; +0xfc, 0x915900 BLR X2 ; +0x100, 0x915904 LDR X2, [X21] ; +0x104, 0x915908 MOV X0, X21 ; +0x108, 0x91590c MOV W1, #0 ; +0x10c, 0x915910 LDR X2, [X2,#0x410] ; +0x110, 0x915914 BLR X2 ; +0x114, 0x915918 B loc_915838 ; +0x118, 0x91591c ADRP X1, #pthread_create_ptr_0@PAGE ; +0x11c, 0x915920 LDR X1, [X1,#pthread_create_ptr_0@PAGEOFF]; pthread_create ; +0x120, 0x915924 CBZ X1, loc_915954 ; +0x124, 0x915928 SUB X2, X2, #8 ; +0x128, 0x91592c LDAXR W1, [X2] ; +0x12c, 0x915930 SUB W3, W1, #1 ; +0x130, 0x915934 STLXR W4, W3, [X2] ; +0x134, 0x915938 CBNZ W4, loc_915930 ; +0x138, 0x91593c CMP W1, WZR ; +0x13c, 0x915940 B.GT loc_9158F4 ; +0x140, 0x915944 ADD X1, X29, #0x70+var_18 ; +0x144, 0x915948 BL j__ZdlPv; operator delete(void *) ; +0x148, 0x91594c B loc_9158F4 ; +0x14c, 0x915950 LDUR W1, [X2,#-8] ; +0x150, 0x915954 SUB W3, W1, #1 ; +0x154, 0x915958 STUR W3, [X2,#-8] ; +0x158, 0x91595c B loc_915940 ; +0x15c, 0x915960 BL .__stack_chk_fail ; +0x160, 0x915964 ADRP X1, #off_122EFE8@PAGE ; +0x164, 0x915968 MOV X19, X0 ; +0x168, 0x91596c LDR X0, [X29,#0x70+var_10] ; +0x16c, 0x915970 LDR X1, [X1,#off_122EFE8@PAGEOFF]; qword_124B6B0 ; +0x170, 0x915974 SUB X0, X0, #0x18 ; +0x174, 0x915978 CMP X0, X1 ; +0x178, 0x91597c B.EQ loc_91598C ; +0x17c, 0x915980 ADD X1, X29, #0x70+var_18 ; +0x180, 0x915984 BL sub_4DCB20 ; +0x184, 0x915988 MOV X0, X19 ; +0x188, 0x91598c BL _Unwind_Resume ; +0x18c, 0x915990