//
// LevelBindingsLayer::init from 0x7978ea to 0x797924 (58 bytes)
//
// 1 xrefs:
// > LevelBindingsLayer::create @ 0x797a14
//
// 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:46 +0000
//
int __fastcall LevelBindingsLayer::init(LevelBindingsLayer *this, KeybindSet *a2, KeybindSource *a3)
{
*((_DWORD *)this + 201) = a2;
*((_BYTE *)this + 808) = (_BYTE)a3;
*((_DWORD *)this + 189) = a2;
*((_BYTE *)this + 760) = 0;
if ( !*((_DWORD *)a2 + 3) )
{
LevelControlConfig::bindGlobalBinds(a2, a3, (bool)a3);
*((_BYTE *)this + 809) = 1;
}
*(_BYTE *)(*((_DWORD *)this + 201) + 16) = 0;
return KeybindingsLayer::init(this, nullptr);
}