//
// AutoSaveSettingsLayer::onClose from 0xbc9608 to 0xbc9644 (60 bytes)
//
// 2 xrefs:
// > ??> @ 0x67ae0
// > ??> @ 0x14e1138
//
// 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:03:33 +0000
//
__int64 __fastcall AutoSaveSettingsLayer::onClose(AutoSaveSettingsLayer *this, cocos2d::CCObject *a2)
{
void (__fastcall ***v3)(_QWORD); // x0
cocos2d::CCObject *v5; // [xsp+28h] [xbp+28h]
v3 = *((void (__fastcall ****)(_QWORD))this + 132);
if ( v3 )
{
v5 = a2;
(**v3)(v3);
a2 = v5;
}
return SetupTriggerPopup::onClose((GameObject **)this, a2);
}