//
// SetupGravityModPopup::onClose from 0xafb04c to 0xafb0b4 (104 bytes)
//
// 4 xrefs:
// > SetupGravityModPopup::keyBackClicked @ 0xafb0b8
// > ??> @ 0xb96b0
// > SetupGravityModPopup::init @ 0xafb878
// > ??> @ 0x15455a8
//
// 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:01:17 +0000
//
__int64 __fastcall SetupGravityModPopup::onClose(SetupGravityModPopup *this, cocos2d::CCObject *a2)
{
__int64 v3; // x0
v3 = *((_QWORD *)this + 89);
if ( v3 )
{
*(_QWORD *)(v3 + 584) = 0;
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 89) + 1160LL))(*((_QWORD *)this + 89), 0);
}
(*(void (__fastcall **)(SetupGravityModPopup *, _QWORD))(*(_QWORD *)this + 1072LL))(this, 0);
return (*(__int64 (__fastcall **)(SetupGravityModPopup *, __int64))(*(_QWORD *)this + 528LL))(this, 1);
}