//
// LevelBindingsLayer::init from 0x1004eefcc to 0x1004ef024 (88 bytes)
//
// 1 xrefs:
// > LevelBindingsLayer::create @ 0x1004efa38
//
// 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 11:06:44 +0000
//
__int64 __fastcall LevelBindingsLayer::init(__int64 a1, __int64 a2, __int64 a3)
{
*(_QWORD *)(a1 + 1192) = a2;
*(_BYTE *)(a1 + 1200) = a3;
*(_QWORD *)(a1 + 1096) = a2;
*(_BYTE *)(a1 + 1104) = 0;
if ( !*(_QWORD *)(a2 + 24) )
{
LevelControlConfig::bindGlobalBinds(a2, a3);
*(_BYTE *)(a1 + 1201) = 1;
a2 = *(_QWORD *)(a1 + 1192);
}
*(_BYTE *)(a2 + 32) = 0;
return KeybindingsLayer::init(a1, 0);
}