//
// GJGameLevel::init from 0x1000ce848 to 0x1000ce994 (332 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008cc780
//
// 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 10:58:53 +0000
//
__int64 __fastcall GJGameLevel::init(__int64 a1)
{
int v2; // w9
int v3; // w8
int v4; // w8
int v5; // w8
int v6; // w8
int v7; // w8
__int64 v8; // x0
int v9; // w8
__int64 v10; // x0
std::string::assign((std::string *)(a1 + 344), "");
std::string::assign((std::string *)(a1 + 368), "");
std::string::assign((std::string *)(a1 + 392), "");
std::string::assign((std::string *)(a1 + 1208), "");
*(_DWORD *)(a1 + 788) = 1;
*(_DWORD *)(a1 + 1140) = 0;
v2 = dword_1009F39A0;
*(_DWORD *)(a1 + 1144) = dword_1009F39A0;
dword_1009F39A0 = v2 + 1;
*(_DWORD *)(a1 + 804) = 0;
v3 = (int)(float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0);
*(_DWORD *)(a1 + 800) = v3;
*(_DWORD *)(a1 + 796) = v3;
*(_DWORD *)(a1 + 816) = 0;
v4 = (int)(float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0);
*(_DWORD *)(a1 + 812) = v4;
*(_DWORD *)(a1 + 808) = v4;
*(_DWORD *)(a1 + 828) = 0;
v5 = (int)(float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0);
*(_DWORD *)(a1 + 824) = v5;
*(_DWORD *)(a1 + 820) = v5;
*(_DWORD *)(a1 + 840) = 0;
v6 = (int)(float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0);
*(_DWORD *)(a1 + 836) = v6;
*(_DWORD *)(a1 + 832) = v6;
*(_DWORD *)(a1 + 844) = 0;
*(_DWORD *)(a1 + 964) = 0;
*(_DWORD *)(a1 + 956) = 0;
v7 = (int)(float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0);
*(_DWORD *)(a1 + 952) = v7;
*(_DWORD *)(a1 + 948) = v7;
*(_DWORD *)(a1 + 940) = 0;
v8 = rand();
v9 = (int)(float)(vcvts_n_f32_s32(v8, 0x1Fu) * 1000.0);
*(_DWORD *)(a1 + 936) = v9;
*(_DWORD *)(a1 + 932) = v9;
*(_WORD *)(a1 + 1104) = 0;
v10 = cocos2d::CCDictionary::create(v8);
sub_1000CE994(a1, v10);
return 1;
}