//
// ConfigureValuePopup::onClose from 0xa66b30 to 0xa66bb8 (136 bytes)
//
// 4 xrefs:
// > ConfigureValuePopup::keyBackClicked @ 0xa66bbc
// > ??> @ 0xcf0a0
// > ConfigureValuePopup::init @ 0xa67430
// > ??> @ 0x1546198
//
// 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:00:17 +0000
//
__int64 __fastcall ConfigureValuePopup::onClose(ConfigureValuePopup *this, cocos2d::CCObject *a2)
{
void (__fastcall ***v3)(_QWORD, ConfigureValuePopup *, float); // x0
*(_QWORD *)(*((_QWORD *)this + 86) + 584LL) = 0;
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 86) + 1160LL))(*((_QWORD *)this + 86), 0);
if ( *((_BYTE *)this + 676) )
{
v3 = *((void (__fastcall ****)(_QWORD, ConfigureValuePopup *, float))this + 85);
if ( v3 )
(**v3)(v3, this, *((float *)this + 166));
}
(*(void (__fastcall **)(ConfigureValuePopup *, _QWORD))(*(_QWORD *)this + 1072LL))(this, 0);
return (*(__int64 (__fastcall **)(ConfigureValuePopup *, __int64))(*(_QWORD *)this + 528LL))(this, 1);
}