//
// KeybindingsLayer::onClose from 0x1006e4d90 to 0x1006e4dde (78 bytes)
//
// 3 xrefs:
// > LevelBindingsLayer::onClose @ 0x10091ff47
// > LevelBindingsLayer::onClose @ 0x10091ff9f
// > ??> @ 0x100b93ae8
//
// 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:35:46 +0000
//
__int64 __fastcall KeybindingsLayer::onClose(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v4; // rdi
__int64 result; // rax
__int64 v6; // rdi
v4 = *(_QWORD *)(a1 + 1112);
if ( v4 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 1160LL))(v4, 0);
result = SetupTriggerPopup::onClose(a1, a2, a3);
v6 = *(_QWORD *)(a1 + 1088);
if ( v6 )
return sub_100603260(v6, 1u);
return result;
}