//
// SetupAnimSettingsPopup::onClose from 0x1000627e0 to 0x100062860 (128 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ab8650
//
// 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:19:42 +0000
//
__int64 __fastcall SetupAnimSettingsPopup::onClose(__int64 a1, __int64 a2)
{
__int64 v3; // rdi
unsigned int v4; // r15d
__int64 v5; // rax
v3 = *(_QWORD *)(a1 + 680);
if ( v3 )
{
EnhancedGameObject::setupAnimationVariables(v3);
}
else if ( (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 688)) )
{
v4 = 0;
do
{
v5 = sub_1007FEFE0(*(_QWORD *)(a1 + 688), v4);
EnhancedGameObject::setupAnimationVariables(v5);
++v4;
}
while ( v4 < (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 688)) );
}
return SetupTriggerPopup::onClose(a1, a2);
}