//
// SetupAdvFollowPopup::updateMode from 0x699648 to 0x6996ac (100 bytes)
//
// 2 xrefs:
// > SetupAdvFollowPopup::onMode @ 0x6996c0
// > SetupAdvFollowPopup::selectPremadeClosed @ 0x699956
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:56:17 +0000
//
int __fastcall SetupAdvFollowPopup::updateMode(cocos2d::CCDictionary **this, int a2)
{
int v3; // r5
int v4; // r6
cocos2d::CCArray *v5; // r2
cocos2d::CCArray **v6; // r4
SetupTriggerPopup::updateValue(this, 367, (float)a2);
v3 = (*((int (__fastcall **)(cocos2d::CCDictionary **))*this + 64))(this);
v4 = (*((int (__fastcall **)(cocos2d::CCDictionary **))*this + 13))(this);
(*((void (__fastcall **)(cocos2d::CCDictionary **, _DWORD))*this + 171))(this, 0);
v6 = (cocos2d::CCArray **)SetupAdvFollowPopup::create(*(this + 132), *(this + 133), v5);
(*(void (__fastcall **)(int, cocos2d::CCArray **, int))(*(_DWORD *)v3 + 232))(v3, v6, v4);
return SetupTriggerPopup::goToPage(v6, (cocos2d::CCArray *)((char *)&dword_0 + 1), 0);
}