//
// UpdateAccountSettingsPopup::onClose from 0xa39cfc to 0xa39d64 (104 bytes)
//
// 4 xrefs:
// > UpdateAccountSettingsPopup::keyBackClicked @ 0xa39d68
// > ??> @ 0x51520
// > UpdateAccountSettingsPopup::init @ 0xa267e8
// > ??> @ 0x1541bd8
//
// 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 12:59:53 +0000
//
__int64 __fastcall UpdateAccountSettingsPopup::onClose(UpdateAccountSettingsPopup *this, cocos2d::CCObject *a2)
{
__int64 result; // x0
(*(void (__fastcall **)(UpdateAccountSettingsPopup *, _QWORD))(*(_QWORD *)this + 1072LL))(this, 0);
(*(void (__fastcall **)(UpdateAccountSettingsPopup *, __int64))(*(_QWORD *)this + 528LL))(this, 1);
result = *((unsigned __int8 *)this + 672);
if ( *((_BYTE *)this + 672) )
{
result = *((_QWORD *)this + 85);
if ( result )
{
GJAccountSettingsLayer::updateScoreValues((GJAccountSettingsLayer *)result);
return GJAccountSettingsLayer::onClose(*((cocos2d::CCArray ***)this + 85), nullptr);
}
}
return result;
}