//
// KeybindCapturePopup::~KeybindCapturePopup from 0xcf6690 to 0xcf6744 (180 bytes)
//
// 6 xrefs:
// > `non-virtual thunk to'KeybindCapturePopup::~KeybindCapturePopup @ 0xcf6748
// > `non-virtual thunk to'KeybindCapturePopup::~KeybindCapturePopup @ 0xcf6750
// > KeybindCapturePopup::~KeybindCapturePopup @ 0xcf6764
// > ??> @ 0x42058
// > ??> @ 0x82f48
// > ??> @ 0x1504588
//
// 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
//
// Alternative name is '_ZN19KeybindCapturePopupD1Ev'
void __fastcall KeybindCapturePopup::~KeybindCapturePopup(KeybindCapturePopup *this)
{
__int64 v2; // x0
cocos2d::CCTextureCache *v3; // x0
*(_QWORD *)this = &off_1504580;
*((_QWORD *)this + 40) = off_1504B80;
*((_QWORD *)this + 41) = &off_1504BF0;
*((_QWORD *)this + 42) = off_1504C08;
*((_QWORD *)this + 43) = off_1504C28;
*((_QWORD *)this + 44) = off_1504C50;
*((_QWORD *)this + 51) = &off_1504C80;
*((_QWORD *)this + 54) = &off_1504D00;
*((_QWORD *)this + 68) = off_1504D20;
*((_QWORD *)this + 83) = &off_1504D68;
*((_QWORD *)this + 84) = off_1504D80;
*((_QWORD *)this + 127) = off_1504DA0;
v2 = cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)off_1504DA0);
*(_BYTE *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 192LL))(v2) + 134) = 0;
if ( *((_BYTE *)this + 1054) )
{
v3 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache((cocos2d::CCTextureCache *)*((unsigned __int8 *)this + 1054));
cocos2d::CCTextureCache::removeTextureForKey(v3, "controller_outline.png");
}
SetupTriggerPopup::~SetupTriggerPopup(this);
}