// // GameStatsManager::claimListReward from 0x52a814 to 0x52a8b0 (156 bytes) // // 1 xrefs: // > LevelListLayer::onClaimReward @ 0x6d6b22 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:51:59 +0000 // int __fastcall GameStatsManager::claimListReward(GameStatsManager *this, GJLevelList *a2, int a3, int a4) { int v6; // r0 int v7; // r2 const char *v8; // r8 int v9; // r3 int v10; // r10 cocos2d::CCObject *v11; // r9 _DWORD v13[4]; // [sp+0h] [bp-10h] BYREF v13[0] = this; v13[1] = a2; v13[2] = a3; v13[3] = a4; v6 = GJLevelList::completedLevels(a2); v8 = *((const char **)a2 + 79); v9 = *((_DWORD *)a2 + 80); if ( (int)v8 <= 0 || v9 <= 0 || v6 < v9 || GameStatsManager::hasClaimedListReward(this, a2, v7, v9) ) return 0; v10 = *((_DWORD *)this + 118); v11 = (cocos2d::CCObject *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", v8); GameStatsManager::getListRewardKey((GameStatsManager *)v13, this, (int)a2); cocos2d::CCDictionary::setObject(v10, v11); std::string::~string((int)v13); GameStatsManager::incrementStat(this, "13", (int)v8); GameStatsManager::incrementStat(this, "41"); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source