//
// LevelControlConfig::seedBase from 0x79863c to 0x798682 (70 bytes)
//
// 3 xrefs:
// > LevelControlConfig::createFromGlobal @ 0x799424
// > LevelControlConfig::seedDefaults @ 0x799b20
// > PlatformerControlsPopup::ensureCustomDraft @ 0x79ce9c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:59:47 +0000
//
int __fastcall LevelControlConfig::seedBase(LevelControlConfig *this)
{
GameManager *WinSize; // r0
GameManager *v3; // r0
int result; // r0
_DWORD v5[2]; // [sp+4h] [bp-10h] BYREF
*((_DWORD *)this + 13) = 1;
cocos2d::CCDirector::sharedDirector(this);
WinSize = (GameManager *)cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v5);
*((_DWORD *)this + 14) = v5[0];
*((_DWORD *)this + 15) = v5[1];
v3 = (GameManager *)GameManager::sharedState(WinSize);
result = GameManager::getGameVariable(v3, "0113");
*((_DWORD *)this + 16) = result;
return result;
}