//
// sub_100924540 from 0x100924540 to 0x100924606 (198 bytes)
//
// 0 xrefs:
//
// 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:38:18 +0000
//
__int64 __fastcall sub_100924540(__int64 a1)
{
__int64 v1; // rax
__int64 v3; // rax
__int64 v4; // rax
__int64 result; // rax
_QWORD v6[4]; // [rsp+0h] [rbp-20h] BYREF
v6[0] = v1;
*(_DWORD *)(a1 + 56) = 1;
v3 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize(v6, v3);
*(_QWORD *)(a1 + 60) = v6[0];
v4 = GameManager::sharedState();
*(_DWORD *)(a1 + 68) = (unsigned __int8)GameManager::getGameVariable(v4, "0113");
sub_100378140(a1 + 80, *(_QWORD **)(a1 + 88));
*(_QWORD *)(a1 + 80) = a1 + 88;
*(_OWORD *)(a1 + 88) = 0;
*(_BYTE *)(a1 + 104) = 1;
LevelControlConfig::bindDefaultKeyboard(a1 + 72);
sub_100378140(a1 + 120, *(_QWORD **)(a1 + 128));
*(_QWORD *)(a1 + 120) = a1 + 128;
*(_OWORD *)(a1 + 128) = 0;
*(_BYTE *)(a1 + 144) = 1;
LevelControlConfig::bindDefaultController(a1 + 112);
result = *(_QWORD *)(a1 + 152);
*(_QWORD *)(a1 + 160) = result;
return result;
}