// // sub_10021B860 from 0x10021b860 to 0x10021b8c6 (102 bytes) // // 1 xrefs: // > @ 0x1008dff28 // // 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 // unsigned __int8 __fastcall sub_10021B860(__int64 a1) { GameStatsManager *v1; // rax unsigned __int8 result; // al unsigned int v3; // r14d unsigned int v4; // eax int v5; // ecx int v6; // r8d int v7; // r9d cocos2d::CCAction *v8; // rax v1 = GameStatsManager::sharedState(); result = GameStatsManager::areRewardsLoaded(v1); if ( !result ) { v3 = (unsigned int)cocos2d::CCDelayTime::create(1.0); v4 = (unsigned int)cocos2d::CCCallFunc::create( (cocos2d::CCObject *)(a1 - 640), (cocos2d::SEL_CallFunc)(unsigned __int64)RewardsPage::tryGetRewards); v8 = (cocos2d::CCAction *)sub_1003B5760(v3, v4, 0, v5, v6, v7); return (unsigned __int8)cocos2d::CCNode::runAction((cocos2d::CCNode *)(a1 - 640), v8); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source