//
// GJColorSetupLayer::onClose from 0x9f71f0 to 0x9f7254 (100 bytes)
//
// 5 xrefs:
// > GJColorSetupLayer::keyBackClicked @ 0x9f7258
// > GJColorSetupLayer::onColor @ 0x9f73c0
// > ??> @ 0x60dc0
// > GJColorSetupLayer::init @ 0x9f7c50
// > ??> @ 0x15424b8
//
// 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:14 +0000
//
__int64 __fastcall GJColorSetupLayer::onClose(GJColorSetupLayer *this, cocos2d::CCObject *a2)
{
void (__fastcall ***v3)(_QWORD); // x0
v3 = *((void (__fastcall ****)(_QWORD))this + 95);
if ( v3 && *((int *)this + 192) > 0 )
(**v3)(v3);
(*(void (__fastcall **)(GJColorSetupLayer *, _QWORD))(*(_QWORD *)this + 1072LL))(this, 0);
return (*(__int64 (__fastcall **)(GJColorSetupLayer *, __int64))(*(_QWORD *)this + 528LL))(this, 1);
}