//
// ThreadDescPopup::onClose from 0xc6865c to 0xc686e0 (132 bytes)
//
// 2 xrefs:
// > ??> @ 0xb34d0
// > ??> @ 0x14f2688
//
// 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:05:26 +0000
//
__int64 __fastcall ThreadDescPopup::onClose(ThreadDescPopup *this, cocos2d::CCObject *a2)
{
__int64 v3; // x0
__int64 v4; // x0
ThreadDescPopup::handBackSlot(this);
v3 = *((_QWORD *)this + 142);
if ( v3 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 1368LL))(v3, 0);
v4 = *((_QWORD *)this + 131);
if ( v4 )
{
*(_QWORD *)(v4 + 584) = 0;
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 131) + 1160LL))(*((_QWORD *)this + 131), 0);
}
(*(void (__fastcall **)(ThreadDescPopup *, _QWORD))(*(_QWORD *)this + 1072LL))(this, 0);
return (*(__int64 (__fastcall **)(ThreadDescPopup *, __int64))(*(_QWORD *)this + 528LL))(this, 1);
}