// // RewardsPage::onReward from 0xa89ef0 to 0xa8a024 (308 bytes) // // 4 xrefs: // > @ 0x9b4d0 // > RewardsPage::init @ 0xa86094 // > RewardsPage::init @ 0xa861f0 // > @ 0x1544440 // // 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:36 +0000 // __int64 __fastcall RewardsPage::onReward(RewardsPage *this, cocos2d::CCObject *a2) { RewardUnlockLayer *v4; // x0 RewardsPage *v5; // x2 cocos2d::CCNode *v7; // x20 __int64 v8; // x2 void (__fastcall *v9)(cocos2d::CCNode *, char *); // x2 unsigned __int8 v10; // w3 cocos2d::CCAction *v11; // x0 __int64 v12; // x0 GameLevelManager *v13; // x0 GameLevelManager *v14; // x21 unsigned int v15; // w0 char v16; // [xsp+30h] [xbp+30h] BYREF char v17[2]; // [xsp+31h] [xbp+31h] BYREF v4 = (RewardUnlockLayer *)(*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2); if ( (_DWORD)v4 == 1 ) { if ( !*((_BYTE *)this + 712) ) { v7 = *((cocos2d::CCNode **)this + 85); LABEL_8: if ( v7 ) { cocos2d::CCNode::stopAllActions(v7); v8 = *(_QWORD *)v7; strcpy(v17, "K"); v9 = *(void (__fastcall **)(cocos2d::CCNode *, char *))(v8 + 1072); v16 = -1; v9(v7, &v16); v11 = (cocos2d::CCAction *)cocos2d::CCTintTo::create((cocos2d::CCTintTo *)0xFFFFFFFFLL, 1.0, 0xFFu, 0xFFu, v10); cocos2d::CCNode::runAction(v7, v11); } return _stack_chk_guard; } } else if ( (_DWORD)v4 == 2 && !*((_BYTE *)this + 713) ) { v7 = *((cocos2d::CCNode **)this + 86); goto LABEL_8; } if ( !*((_QWORD *)this + 90) ) { v12 = RewardUnlockLayer::create(v4, this, v5); *((_QWORD *)this + 90) = v12; v13 = (GameLevelManager *)(*(__int64 (__fastcall **)(RewardsPage *, __int64))(*(_QWORD *)this + 456LL))(this, v12); v14 = (GameLevelManager *)GameLevelManager::sharedState(v13); v15 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2); GameLevelManager::getGJRewards(v14, v15); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source