// // GameStatsManager::claimListReward from 0x8ea910 to 0x8eaa58 (328 bytes) // // 2 xrefs: // > LevelListLayer::onClaimReward @ 0xbac13c // > @ 0x90370 // // 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:56:55 +0000 // bool __fastcall GameStatsManager::claimListReward(GameStatsManager *this, GJLevelList *a2) { int v4; // w0 int v5; // w22 _BOOL4 v6; // w19 __int64 v8; // x26 cocos2d::CCObject *v9; // x25 __int64 v10[3]; // [xsp+60h] [xbp+60h] BYREF v4 = GJLevelList::completedLevels((unsigned __int64)a2); v5 = *((_DWORD *)a2 + 96); v6 = v4 >= *((_DWORD *)a2 + 97) && *((_DWORD *)a2 + 97) > 0 && v5 > 0; if ( v4 < *((_DWORD *)a2 + 97) || *((_DWORD *)a2 + 97) <= 0 || v5 <= 0 || GameStatsManager::hasClaimedListReward(this, a2) ) { return 0; } else { v8 = *((_QWORD *)this + 91); v9 = (cocos2d::CCObject *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%i", (const char *)(unsigned int)v5); GameStatsManager::getListRewardKey(a2, v10); cocos2d::CCDictionary::setObject(v8, v9); if ( (v10[0] & 1) != 0 ) operator delete((void *)v10[2]); GameStatsManager::incrementStat(this, "13", v5); GameStatsManager::incrementStat(this, "41"); } return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source