//
// KeybindCapturePopup::onRemove from 0xcf6788 to 0xcf67e4 (92 bytes)
//
// 3 xrefs:
// > ??> @ 0x66a90
// > KeybindCapturePopup::init @ 0xcf7808
// > ??> @ 0x15427e8
//
// 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 13:06:48 +0000
//
__int64 __fastcall KeybindCapturePopup::onRemove(KeybindCapturePopup *this, cocos2d::CCObject *a2)
{
__int64 v3; // x0
FLAlertLayer *v4; // x0
if ( *((_DWORD *)this + 261) )
{
v3 = *((_QWORD *)this + 128);
if ( v3 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 40LL))(v3);
}
v4 = *((FLAlertLayer **)this + 129);
if ( v4 )
FLAlertLayer::requestRebuild(v4);
return (*(__int64 (__fastcall **)(KeybindCapturePopup *, _QWORD))(*(_QWORD *)this + 1368LL))(this, 0);
}