//
// SetupAdvFollowPopup::updateMode from 0xb4c128 to 0xb4c1c4 (156 bytes)
//
// 3 xrefs:
// > SetupAdvFollowPopup::onMode @ 0xb4c1f4
// > SetupAdvFollowPopup::selectPremadeClosed @ 0xb4c3dc
// > ??> @ 0xf8d58
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:01:56 +0000
//
__int64 __fastcall SetupAdvFollowPopup::updateMode(cocos2d::CCDictionary **this, int a2)
{
__int64 v3; // x20
cocos2d::CCArray *v4; // x2
cocos2d::CCArray **v5; // x19
__int64 v7; // [xsp+28h] [xbp+28h]
SetupTriggerPopup::updateValue(this, 0x16Fu, (float)a2);
v3 = (*((__int64 (__fastcall **)(cocos2d::CCDictionary **))*this + 64))(this);
v7 = (*((unsigned int (__fastcall **)(cocos2d::CCDictionary **))*this + 13))(this);
(*((void (__fastcall **)(cocos2d::CCDictionary **, _QWORD))*this + 171))(this, 0);
v5 = (cocos2d::CCArray **)SetupAdvFollowPopup::create(*(this + 85), *(this + 86), v4);
(*(void (__fastcall **)(__int64, cocos2d::CCArray **, __int64))(*(_QWORD *)v3 + 464LL))(v3, v5, v7);
return SetupTriggerPopup::goToPage(v5, 1, 0);
}