// // GameManager::init from 0x10035fe70 to 0x10035ff5a (234 bytes) // // 1 xrefs: // > @ 0x100b26d80 // // This function is hookable on this platform (idp: pc, 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:28:55 +0000 // char __fastcall GameManager::init(__int64 a1, double a2, __m128 a3) { std::string *v4; // rdi __int64 v5; // rax int v6; // eax int v7; // r14d int v8; // eax v4 = (std::string *)(a1 + 320); std::string::assign(v4, "CCGameManager.dat"); *(_WORD *)(a1 + 422) = 0; *(_BYTE *)(a1 + 505) = 0; *(_QWORD *)(a1 + 464) = 0; *(_QWORD *)(a1 + 488) = 0; v5 = sub_1007FE900(v4); *(_QWORD *)(a1 + 1288) = v5; cocos2d::CCObject::retain(v5); (*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 896LL))(a1); GameManager::calculateBaseKeyForIcons(a1); GameManager::setupGameAnimations((_QWORD *)a1, (__int64)"CCGameManager.dat"); v6 = rand(); a3.f32[0] = (float)(*(_DWORD *)(a1 + 660) - *(_DWORD *)(a1 + 664)) / 10000.0; v7 = (int)(float)((float)((float)((float)v6 * 4.6566129e-10) * 1000000.0) + _mm_round_ss(a3, a3, 9).f32[0]); v8 = (int)(float)((float)((float)rand() * 4.6566129e-10) * 1000.0); *(_DWORD *)(a1 + 900) = v8; *(_DWORD *)(a1 + 896) = v8 + v7; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source