//
// SetupAdvFollowPopup::updateMode from 0x100062ec0 to 0x100062f60 (160 bytes)
//
// 2 xrefs:
// > SetupAdvFollowPopup::onMode @ 0x100062ad4
// > SetupAdvFollowPopup::selectPremadeClosed @ 0x100063270
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall SetupAdvFollowPopup::updateMode(SetupAdvFollowPopup *a1, int a2)
{
__int64 v3; // x20
__int64 v4; // x21
SetupAdvFollowPopup *v5; // x19
SetupTriggerPopup::updateValue(a1, 367, (float)a2);
v3 = ((__int64 (__fastcall *)(SetupAdvFollowPopup *))a1->getParent)(a1);
v4 = ((__int64 (__fastcall *)(SetupAdvFollowPopup *))a1->getZOrder)(a1);
((void (__fastcall *)(SetupAdvFollowPopup *, _QWORD))a1->onClose)(a1, 0);
v5 = SetupAdvFollowPopup::create((AdvancedFollowTriggerObject *)a1->m_gameObject, a1->m_gameObjects);
(*(void (__fastcall **)(__int64, SetupAdvFollowPopup *, __int64))(*(_QWORD *)v3 + 448LL))(v3, v5, v4);
SetupTriggerPopup::goToPage(v5, 1, 0);
}