//
// LevelBindingsLayer::onClose from 0x1004efbe0 to 0x1004efc44 (100 bytes)
//
// 1 xrefs:
// > ??> @ 0x100993f40
//
// 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::onClose(__int64 a1, __int64 a2)
{
__int64 v4; // x21
__int64 v5; // x21
_QWORD *v6; // t1
if ( *(_BYTE *)(a1 + 1201) == 1 )
{
v4 = *(_QWORD *)(a1 + 1192);
if ( (*(_BYTE *)(v4 + 32) & 1) == 0 )
{
v6 = *(_QWORD **)(v4 + 16);
v5 = v4 + 16;
sub_10018E328(v5 - 8, v6);
*(_QWORD *)v5 = 0;
*(_QWORD *)(v5 + 8) = 0;
*(_QWORD *)(v5 - 8) = v5;
*(_BYTE *)(v5 + 16) = 1;
}
}
return KeybindingsLayer::onClose(a1, a2);
}