// // DailyLevelNode::onClaimReward from 0xa6f030 to 0xa6f17c (332 bytes) // // 3 xrefs: // > @ 0xf8920 // > DailyLevelNode::init @ 0xa6e7f8 // > @ 0x15478c8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:00:22 +0000 // __int64 __fastcall DailyLevelNode::onClaimReward(DailyLevelNode *this, cocos2d::CCObject *a2) { __int64 v5; // x1 int *v6; // x23 __int64 v7; // x0 FMODAudioEngine *v8; // x0 __int64 v9; // x22 GJGameLevel *v10; // [xsp+40h] [xbp+40h] __int64 v11; // [xsp+58h] [xbp+58h] BYREF __int64 v12[2]; // [xsp+60h] [xbp+60h] BYREF void *v13; // [xsp+70h] [xbp+70h] if ( !*((_BYTE *)this + 368) ) { v5 = *(_QWORD *)this; *((_BYTE *)this + 368) = 1; v10 = *((GJGameLevel **)this + 41); v6 = *((int **)this + 42); v7 = (*(__int64 (**)(void))(v5 + 192))(); cocos2d::CCPoint::operator+(&v11, v7); DailyLevelPage::claimLevelReward(v6, this, v10, (const cocos2d::CCPoint *)&v11); v8 = (FMODAudioEngine *)*(unsigned int *)(*((_QWORD *)this + 42) + 732LL); if ( (_DWORD)v8 != 1 ) { v9 = FMODAudioEngine::sharedEngine(v8); v12[0] = 0; v12[1] = 0; v13 = nullptr; std::string::__init(v12, "gold02.ogg", 0xAu); FMODAudioEngine::playEffect(v9, (char *)v12); if ( (v12[0] & 1) != 0 ) operator delete(v13); } (*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)a2 + 344LL))(a2, 0); (*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)a2 + 1056LL))(a2, 0); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source