//
// SetupAdvFollowPopup::updateMode from 0x5613bc to 0x561420 (100 bytes)
//
// 2 xrefs:
// > SetupAdvFollowPopup::onMode @ 0x561434
// > SetupAdvFollowPopup::selectPremadeClosed @ 0x5616ca
//
// 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; // r5
int v4; // r6
SetupAdvFollowPopup *v5; // r4
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);
}