//
// SetupObjectOptionsPopup::onClose from 0xab9604 to 0xab9680 (124 bytes)
//
// 2 xrefs:
// > ??> @ 0x83020
// > ??> @ 0x14a9f68
//
// 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:01 +0000
//
__int64 __fastcall SetupObjectOptionsPopup::onClose(SetupObjectOptionsPopup *this, cocos2d::CCObject *a2)
{
LevelEditorLayer *v3; // x20
EffectGameObject *v4; // x1
v3 = *(LevelEditorLayer **)(GameManager::sharedState(this) + 552);
if ( v3 )
{
if ( *((_BYTE *)this + 703) )
{
v4 = *((EffectGameObject **)this + 83);
if ( v4 )
{
LevelEditorLayer::reverseObjectChanged(v3, v4);
LevelEditorLayer::timeObjectChanged(v3);
}
}
*((_BYTE *)v3 + 14938) = 1;
}
(*(void (__fastcall **)(SetupObjectOptionsPopup *, _QWORD))(*(_QWORD *)this + 1072LL))(this, 0);
return (*(__int64 (__fastcall **)(SetupObjectOptionsPopup *, __int64))(*(_QWORD *)this + 528LL))(this, 1);
}