// // GameStatsManager::init from 0x8ec8b4 to 0x8ec950 (156 bytes) // // 3 xrefs: // > GameStatsManager::sharedState @ 0x8ca56c // > @ 0x4dd58 // > @ 0x145dff0 // // 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:56 +0000 // __int64 __fastcall GameStatsManager::init(GameStatsManager *this) { cocos2d::CCObject *v2; // x0 cocos2d::CCDictionary *v3; // x0 cocos2d::CCObject *v4; // x0 cocos2d::CCDictionary *v5; // x0 cocos2d::CCObject *v6; // x0 cocos2d::CCObject *v7; // x20 cocos2d::CCObject *v8; // x1 v2 = (cocos2d::CCObject *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)&dword_0 + 1); *((_QWORD *)this + 40) = v2; v3 = (cocos2d::CCDictionary *)cocos2d::CCObject::retain(v2); v4 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v3); *((_QWORD *)this + 103) = v4; v5 = (cocos2d::CCDictionary *)cocos2d::CCObject::retain(v4); v6 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v5); v7 = v6; v8 = *((cocos2d::CCObject **)this + 59); if ( v6 != v8 ) { if ( v6 ) { cocos2d::CCObject::retain(v6); v8 = *((cocos2d::CCObject **)this + 59); } if ( v8 ) cocos2d::CCObject::release(v8); *((_QWORD *)this + 59) = v7; } GameStatsManager::setupIconCredits(this); GameStatsManager::createStoreItems(this); GameStatsManager::createSecretChestItems(this); GameStatsManager::createSpecialChestItems(this); GameStatsManager::generateItemUnlockableData(this); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source