//
// KeybindingsLayer::onClose from 0x100025d60 to 0x100025dbc (92 bytes)
//
// 2 xrefs:
// > LevelBindingsLayer::onClose @ 0x1004efc40
// > ??> @ 0x1008af8a0
//
// 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 10:57:25 +0000
//
__int64 __fastcall KeybindingsLayer::onClose(__int64 a1, __int64 a2)
{
__int64 v4; // x0
__int64 result; // x0
v4 = *(_QWORD *)(a1 + 1112);
if ( v4 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 1160LL))(v4, 0);
SetupTriggerPopup::onClose(a1, a2);
result = *(_QWORD *)(a1 + 1088);
if ( result )
return sub_100166FBC(result, 1);
return result;
}