// // SupportLayer::onGetReward from 0x100192cd8 to 0x100192d74 (156 bytes) // // 1 xrefs: // > SupportLayer::customSetup @ 0x100191a28 // // 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 // void __fastcall SupportLayer::onGetReward(SupportLayer *a1, cocos2d::CCObject *a2) { GameStatsManager *v3; // x20 __int64 v4; // x20 RewardUnlockLayer *v5; // x21 void *__p[2]; // [xsp+8h] [xbp-38h] BYREF char v7; // [xsp+1Fh] [xbp-21h] v3 = GameStatsManager::sharedState(); sub_100009900(__p, "0023"); v4 = GameStatsManager::unlockSpecialChest(v3, __p); if ( v7 < 0 ) operator delete(__p[0]); if ( v4 ) { v5 = RewardUnlockLayer::create(*(_DWORD *)(v4 + 64), nullptr); ((void (__fastcall *)(SupportLayer *, RewardUnlockLayer *, __int64))a1->addChild_0)(a1, v5, 100); RewardUnlockLayer::showCollectReward(v5, (GJRewardItem *)v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source