//
// CharacterColorPage::onClose from 0xb5107c to 0xb510d4 (88 bytes)
//
// 4 xrefs:
// > CharacterColorPage::keyBackClicked @ 0xb510d8
// > ??> @ 0xf73a8
// > CharacterColorPage::init @ 0xb52578
// > ??> @ 0x15477f8
//
// 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:59 +0000
//
__int64 __fastcall CharacterColorPage::onClose(CharacterColorPage *this, cocos2d::CCObject *a2)
{
void (__fastcall ***v3)(_QWORD); // x0
v3 = *((void (__fastcall ****)(_QWORD))this + 88);
if ( v3 )
(**v3)(v3);
(*(void (__fastcall **)(CharacterColorPage *, _QWORD))(*(_QWORD *)this + 1072LL))(this, 0);
return (*(__int64 (__fastcall **)(CharacterColorPage *, __int64))(*(_QWORD *)this + 528LL))(this, 1);
}