//
// LevelControlConfig::seedDefaults from 0xcf5a24 to 0xcf5abc (152 bytes)
//
// 1 xrefs:
// > ??> @ 0xaeb08
//
// 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:48 +0000
//
__int64 __fastcall LevelControlConfig::seedDefaults(LevelControlConfig *this)
{
__int64 result; // x0
__int64 v3; // x3
__int64 v4; // x2
LevelControlConfig::seedBase(this);
std::__tree>,std::__map_value_compare>,std::less,true>,std::allocator>>>::clear((_QWORD *)this + 10);
*((_BYTE *)this + 104) = 1;
LevelControlConfig::bindDefaultKeyboard(
(LevelControlConfig *)((char *)this + 72),
(LevelControlConfig *)((char *)this + 72));
std::__tree>,std::__map_value_compare>,std::less,true>,std::allocator>>>::clear((_QWORD *)this + 15);
*((_BYTE *)this + 144) = 1;
result = LevelControlConfig::bindDefaultController(
(LevelControlConfig *)((char *)this + 112),
(LevelControlConfig *)((char *)this + 112));
v3 = *((_QWORD *)this + 19);
v4 = *((_QWORD *)this + 20);
if ( v3 != v4 )
{
result = v4 - 60 * (((0x2EEEEEEEEEEEEEEFLL * ((unsigned __int64)(v4 - 60 - v3) >> 2)) & 0x3FFFFFFFFFFFFFFFLL) + 1);
*((_QWORD *)this + 20) = result;
}
return result;
}