// // GameStatsManager::markLevelAsCompletedAndClaimed from 0x8def24 to 0x8df0b8 (404 bytes) // // 2 xrefs: // > GameManager::recountUserStats @ 0x7269d8 // > @ 0xbde80 // // 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:49 +0000 // __int64 __fastcall GameStatsManager::markLevelAsCompletedAndClaimed(GameStatsManager *this, GJGameLevel *a2) { size_t v4; // x0 __int64 v5; // x24 cocos2d::CCObject *v6; // x23 size_t v7; // x0 __int64 v8; // x22 cocos2d::CCObject *v9; // x19 char *StarLevelKey; // [xsp+48h] [xbp+48h] char *DemonLevelKey; // [xsp+48h] [xbp+48h] unsigned __int64 v13[3]; // [xsp+50h] [xbp+50h] BYREF __int64 v14[2]; // [xsp+68h] [xbp+68h] BYREF void *v15; // [xsp+78h] [xbp+78h] __int64 v16[2]; // [xsp+80h] [xbp+80h] BYREF void *v17; // [xsp+90h] [xbp+90h] GameStatsManager::getLevelKey(a2, v13); cocos2d::CCDictionary::setObject(*((_QWORD *)this + 76), *((cocos2d::CCObject **)this + 40)); StarLevelKey = (char *)GameStatsManager::getStarLevelKey(this, a2); v14[0] = 0; v14[1] = 0; v15 = nullptr; v4 = strlen(StarLevelKey); v5 = *((_QWORD *)this + 76); v6 = *((cocos2d::CCObject **)this + 40); std::string::__init(v14, StarLevelKey, v4); cocos2d::CCDictionary::setObject(v5, v6); if ( (v14[0] & 1) != 0 ) operator delete(v15); DemonLevelKey = (char *)GameStatsManager::getDemonLevelKey(this, a2); v16[0] = 0; v16[1] = 0; v17 = nullptr; v7 = strlen(DemonLevelKey); v8 = *((_QWORD *)this + 76); v9 = *((cocos2d::CCObject **)this + 40); std::string::__init(v16, DemonLevelKey, v7); cocos2d::CCDictionary::setObject(v8, v9); if ( (v16[0] & 1) != 0 ) operator delete(v17); if ( (v13[0] & 1) != 0 ) operator delete((void *)v13[2]); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source