//
// LevelBindingsLayer::init from 0xcf0d90 to 0xcf0e04 (116 bytes)
//
// 2 xrefs:
// > LevelBindingsLayer::create @ 0xcf1094
// > ??> @ 0xd73c8
//
// 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:45 +0000
//
__int64 __fastcall LevelBindingsLayer::init(LevelBindingsLayer *this, KeybindSet *a2, bool a3)
{
__int64 v4; // x0
*((_QWORD *)this + 149) = a2;
*((_BYTE *)this + 1200) = a3;
*((_QWORD *)this + 137) = a2;
*((_BYTE *)this + 1104) = 0;
if ( *((_QWORD *)a2 + 3) )
{
*((_BYTE *)a2 + 32) = 0;
}
else
{
LevelControlConfig::bindGlobalBinds(a2, (KeybindSource *)a3, a3);
v4 = *((_QWORD *)this + 149);
*((_BYTE *)this + 1201) = 1;
*(_BYTE *)(v4 + 32) = 0;
}
return KeybindingsLayer::init(this, nullptr);
}