//
// SetupAdvFollowPopup::updateMode from 0x1003099d0 to 0x100309a55 (133 bytes)
//
// 0 xrefs:
//
// 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; // r14
unsigned int v4; // r15d
SetupAdvFollowPopup *v5; // rbx
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 *, _QWORD))(*(_QWORD *)v3 + 448LL))(v3, v5, v4);
SetupTriggerPopup::goToPage(v5, 1, 0);
}