//
// KeybindCapturePopup::onClose from 0x14044ee00 to 0x14044ee4d (77 bytes)
//
// 2 xrefs:
// > ??> @ 0x140794488
// > ??> @ 0x14092765c
//
// 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 11:32:26 +0000
//
__int64 __fastcall KeybindCapturePopup::onClose(__int64 a1, __int64 a2)
{
__int64 v4; // rax
v4 = cocos2d::CCDirector::sharedDirector(a1);
*(_BYTE *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 176LL))(v4) + 158) = 0;
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1008LL))(a1, 0);
return SetupTriggerPopup::onClose(a1, a2);
}