//
// LevelControlConfig::seedBase from 0x14044b640 to 0x14044b6d0 (144 bytes)
//
// 4 xrefs:
// > LevelControlConfig::createFromGlobal @ 0x14044b6f2
// > PlatformerControlsPopup::ensureCustomDraft @ 0x140450630
// > ??> @ 0x140927428
// > ??> @ 0x140927434
//
// 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 11:32:25 +0000
//
// Hidden C++ exception states: #wind=1
_BOOL8 __fastcall LevelControlConfig::seedBase(_DWORD *a1)
{
__int64 v2; // rax
__int64 v3; // rcx
_BOOL8 result; // rax
int v5; // [rsp+30h] [rbp+8h] BYREF
int v6; // [rsp+34h] [rbp+Ch]
void *v7; // [rsp+38h] [rbp+10h]
a1[14] = 1;
v2 = cocos2d::CCDirector::sharedDirector(a1);
cocos2d::CCDirector::getWinSize(v2, &v5);
a1[15] = v5;
a1[16] = v6;
v3 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v7 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager((__int64)v7);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v3 = qword_14090BFD0;
}
result = GameManager::getGameVariable(v3, "0113");
a1[17] = result;
return result;
}