//
// SetupObjectOptionsPopup::onClose from 0x1003062b0 to 0x10030631e (110 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b18f28
//
// This function is hookable on this platform (idp: pc, 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:28:34 +0000
//
__int64 __fastcall SetupObjectOptionsPopup::onClose(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v3; // rax
double v4; // xmm0_8
__int64 v5; // r14
__int64 v6; // rsi
*(_QWORD *)&v4 = GameManager::sharedState(a1, a2, a3).u64[0];
v5 = *(_QWORD *)(v3 + 552);
if ( v5 )
{
if ( *(_BYTE *)(a1 + 703) == 1 )
{
v6 = *(_QWORD *)(a1 + 664);
if ( v6 )
{
LevelEditorLayer::reverseObjectChanged(*(_QWORD *)(v3 + 552), v6);
LevelEditorLayer::timeObjectChanged(v5);
}
}
*(_BYTE *)(v5 + 14938) = 1;
}
(*(void (__fastcall **)(__int64, _QWORD, double))(*(_QWORD *)a1 + 1072LL))(a1, 0, v4);
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 528LL))(a1, 1);
}