//
// SetupAdvFollowPopup::updateMode from 0x140405ae0 to 0x140405b73 (147 bytes)
//
// 3 xrefs:
// > SetupAdvFollowPopup::onMode @ 0x140405acc
// > SetupAdvFollowPopup::selectPremadeClosed @ 0x140406b91
// > ??> @ 0x1406d893c
//
// 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 SetupAdvFollowPopup::updateMode(SetupAdvFollowPopup *a1, int a2)
{
cocos2d::CCNode *v3; // rsi
unsigned int v4; // edi
SetupAdvFollowPopup *v5; // rbx
SetupTriggerPopup::updateValue(a1, 367, (float)a2);
v3 = a1->getParent(a1);
v4 = a1->getZOrder(a1);
a1->onClose(a1, nullptr);
v5 = SetupAdvFollowPopup::create((AdvancedFollowTriggerObject *)a1->m_gameObject, a1->m_gameObjects);
v3->addChild_0(v3, v5, v4);
SetupTriggerPopup::goToPage(v5, 1, 0);
}