//
// LevelControlConfig::seedBase from 0xcf2574 to 0xcf25f0 (124 bytes)
//
// 4 xrefs:
// > LevelControlConfig::createFromGlobal @ 0xcf3cd4
// > LevelControlConfig::seedDefaults @ 0xcf5a34
// > PlatformerControlsPopup::ensureCustomDraft @ 0xcfa3bc
// > ??> @ 0xc90d0
//
// 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 13:06:46 +0000
//
__int64 __fastcall LevelControlConfig::seedBase(LevelControlConfig *this)
{
cocos2d::CCDirector *v2; // x0
GameManager *v3; // x0
GameManager *v4; // x0
__int64 result; // x0
int v6; // [xsp+20h] [xbp+20h] BYREF
GameManager *v7; // [xsp+24h] [xbp+24h]
*((_DWORD *)this + 14) = 1;
v2 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(_stack_chk_guard);
cocos2d::CCDirector::getWinSize(&v6, v2);
*((_DWORD *)this + 15) = v6;
v3 = (GameManager *)(unsigned int)v7;
*((_DWORD *)this + 16) = (_DWORD)v7;
v4 = (GameManager *)GameManager::sharedState(v3);
result = (unsigned __int8)GameManager::getGameVariable(v4, "0113");
*((_DWORD *)this + 17) = (unsigned __int8)result;
return result;
}