// // GameManager::init from 0x418a9c to 0x418b68 (204 bytes) // // 0 xrefs: // // 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:47:42 +0000 // int __fastcall GameManager::init(GameManager *this) { cocos2d::CCObject *v2; // r0 int v3; // r1 int v4; // s17 float v5; // s16 int v6; // s15 int v8; // r3 std::string::assign((int *)this + 66, "CCGameManager.dat"); *((_BYTE *)this + 318) = 0; *((_QWORD *)this + 43) = 0; *((_QWORD *)this + 46) = 0; *((_BYTE *)this + 385) = 0; *((_BYTE *)this + 319) = 0; v2 = (cocos2d::CCObject *)cocos2d::CCArray::create(nullptr); *((_DWORD *)this + 247) = v2; cocos2d::CCObject::retain(v2); (*(void (__fastcall **)(GameManager *))(*(_DWORD *)this + 448))(this); GameManager::calculateBaseKeyForIcons(this, v3); GameManager::setupGameAnimations(this); v4 = rand(); v5 = floorf((float)(*((_DWORD *)this + 116) - *((_DWORD *)this + 117)) / 10000.0); v6 = rand(); v8 = (int)(float)((float)((float)v6 * 4.6566e-10) * 1000.0); *((_DWORD *)this + 175) = v8; *((_DWORD *)this + 174) = (int)(float)(v5 + (float)((float)((float)v4 * 4.6566e-10) * 1000000.0)) + v8; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source