//
// LevelBindingsLayer::onClose from 0x10091ff40 to 0x10091ffa4 (100 bytes)
//
// 1 xrefs:
// > ??> @ 0x100bc12b8
//
// This function is hookable on this platform (idp: pc, 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 12:38:16 +0000
//
__int64 __fastcall LevelBindingsLayer::onClose(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v4; // rbx
if ( *(_BYTE *)(a1 + 1201) == 1 )
{
v4 = *(_QWORD *)(a1 + 1192);
if ( !*(_BYTE *)(v4 + 32) )
{
sub_100378140(v4 + 8, *(_QWORD **)(v4 + 16));
*(_QWORD *)(v4 + 8) = v4 + 16;
*(_OWORD *)(v4 + 16) = 0;
*(_BYTE *)(v4 + 32) = 1;
}
}
return KeybindingsLayer::onClose(a1, a2, a3);
}