// // GJPathRewardPopup::onClaim from 0xba3c04 to 0xba3d08 (260 bytes) // // 3 xrefs: // > @ 0x9e788 // > GJPathRewardPopup::init @ 0xba4744 // > @ 0x1544618 // // 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:02:48 +0000 // __int64 __fastcall GJPathRewardPopup::onClaim(GJPathRewardPopup *this, cocos2d::CCObject *a2) { GameStatsManager *v3; // x0 unsigned __int8 v4; // w1 unsigned int *v5; // x20 cocos2d::CCAction *v6; // x0 cocos2d::CCDelayTime *v7; // x0 cocos2d::CCSequence *v8; // x21 cocos2d::CCFiniteTimeAction *v9; // x0 cocos2d::CCAction *v10; // x0 RewardsPage *v11; // x2 RewardUnlockLayer *v12; // x21 __int64 v13; // x22 GJPathRewardPopup *v14; // x0 __int64 (__fastcall *v15)(GJPathRewardPopup *); // x1 void (__fastcall *v16)(__int64, RewardUnlockLayer *, _QWORD); // x19 int v17; // w0 v3 = (GameStatsManager *)GameStatsManager::sharedState(this); v5 = (unsigned int *)GameStatsManager::unlockPathChest(v3, *((_DWORD *)this + 165)); if ( !v5 ) return GJPathRewardPopup::closePopup(this); v6 = (cocos2d::CCAction *)cocos2d::CCFadeTo::create(nullptr, 0.2, v4); v7 = (cocos2d::CCDelayTime *)cocos2d::CCNode::runAction(this, v6); v8 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(v7, 0.2); v9 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(this, GJPathRewardPopup::closePopup, 0); v10 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v8, v9, 0); cocos2d::CCNode::runAction(this, v10); v12 = (RewardUnlockLayer *)RewardUnlockLayer::create((RewardUnlockLayer *)v5[16], nullptr, v11); v13 = (*(__int64 (__fastcall **)(GJPathRewardPopup *))(*(_QWORD *)this + 512LL))(this); v14 = this; v15 = *(__int64 (__fastcall **)(GJPathRewardPopup *))(*(_QWORD *)this + 104LL); v16 = *(void (__fastcall **)(__int64, RewardUnlockLayer *, _QWORD))(*(_QWORD *)v13 + 464LL); v17 = v15(v14); v16(v13, v12, (unsigned int)(v17 + 1)); return RewardUnlockLayer::showCollectReward(v12, (GJRewardItem *)v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source