//
// KeybindCapturePopup::onRemove from 0x14044ecf0 to 0x14044ed4c (92 bytes)
//
// 2 xrefs:
// > KeybindCapturePopup::init @ 0x14044def5
// > ??> @ 0x14092762c
//
// 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::onRemove(__int64 a1)
{
__int64 v1; // rdx
__int64 v3; // rcx
__int64 v4; // rcx
v1 = *(unsigned int *)(a1 + 1028);
if ( (_DWORD)v1 )
{
v3 = *(_QWORD *)(a1 + 1008);
if ( v3 )
(*(void (__fastcall **)(__int64, __int64, _QWORD))(*(_QWORD *)v3 + 32LL))(v3, v1, *(unsigned int *)(a1 + 1024));
}
v4 = *(_QWORD *)(a1 + 1016);
if ( v4 )
cocos2d::CCNode::scheduleOnce(v4, FLAlertLayer::rebuildContentDeferred);
return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1104LL))(a1, 0);
}