// // GameStatsManager::completedChallenge from 0x8ea808 to 0x8ea910 (264 bytes) // // 2 xrefs: // > ChallengesPage::claimItem @ 0xa64494 // > @ 0x7b280 // // 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 // __int64 __fastcall GameStatsManager::completedChallenge(GameStatsManager *this, GJChallengeItem *a2) { __int64 v5; // x25 unsigned int v6; // w22 cocos2d::CCObject *v7; // x24 __int64 v8[3]; // [xsp+60h] [xbp+60h] BYREF if ( *((_BYTE *)a2 + 100) && !GameStatsManager::hasCompletedChallenge(this, a2) ) { v5 = *((_QWORD *)this + 89); v6 = *((_DWORD *)a2 + 18) - *((_DWORD *)a2 + 19); v7 = (cocos2d::CCObject *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)v6); GameStatsManager::getChallengeKey(a2, v8); cocos2d::CCDictionary::setObject(v5, v7); if ( (v8[0] & 1) != 0 ) operator delete((void *)v8[2]); GameStatsManager::incrementStat(this, "13", v6); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source