//
// SetupAdvFollowPopup::updateMode from 0xa1cdb0 to 0xa1ce4c (156 bytes)
//
// 3 xrefs:
// > SetupAdvFollowPopup::onMode @ 0xa1ce7c
// > SetupAdvFollowPopup::selectPremadeClosed @ 0xa1d064
// > ??> @ 0xbee48
//
// 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; // x20
SetupAdvFollowPopup *v4; // x19
__int64 v5; // [xsp+28h] [xbp+28h]
SetupTriggerPopup::updateValue(a1, 367, (float)a2);
v3 = a1->getParent(a1);
v5 = (unsigned int)a1->getZOrder(a1);
a1->onClose(a1, nullptr);
v4 = SetupAdvFollowPopup::create((AdvancedFollowTriggerObject *)a1->m_gameObject, a1->m_gameObjects);
v3->addChild_0(v3, v4, v5);
SetupTriggerPopup::goToPage(v4, 1, 0);
}