// // SupportLayer::onGetReward from 0x9011dc to 0x9012c4 (232 bytes) // // 3 xrefs: // > @ 0xc19a8 // > SupportLayer::customSetup @ 0x902f3c // > @ 0x1545a58 // // 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 12:57:06 +0000 // __int64 __fastcall SupportLayer::onGetReward(SupportLayer *this, cocos2d::CCObject *a2) { GameStatsManager *v3; // x0 RewardsPage *v4; // x2 unsigned int *v5; // x20 RewardUnlockLayer *v6; // x22 _QWORD v8[2]; // [xsp+30h] [xbp+30h] BYREF void *v9; // [xsp+40h] [xbp+40h] v3 = (GameStatsManager *)GameStatsManager::sharedState(_stack_chk_guard); v8[0] = 8; v8[1] = 0; v9 = nullptr; *(_DWORD *)((char *)v8 + 1) = *(_DWORD *)"0023"; v5 = (unsigned int *)GameStatsManager::unlockSpecialChest(v3, (char *)v8); if ( (v8[0] & 1) != 0 ) operator delete(v9); if ( v5 ) { v6 = (RewardUnlockLayer *)RewardUnlockLayer::create((RewardUnlockLayer *)v5[16], 0, v4); (*(void (__fastcall **)(SupportLayer *, RewardUnlockLayer *, __int64))(*(_QWORD *)this + 464LL))(this, v6, 100); RewardUnlockLayer::showCollectReward(v6, (GJRewardItem *)v5); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source