//
// SetupAdvFollowPopup::updateMode from 0x14059d010 to 0x14059d0aa (154 bytes)
//
// 3 xrefs:
// > SetupAdvFollowPopup::onMode @ 0x14059cffc
// > SetupAdvFollowPopup::selectPremadeClosed @ 0x14059e0d1
// > ??> @ 0x14092d2e4
//
// This function is hookable on this platform (idp: pc, 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 11:34:36 +0000
//
__int64 __fastcall SetupAdvFollowPopup::updateMode(__int64 *a1)
{
__int64 v2; // rsi
unsigned int v3; // edi
cocos2d::CCObject *v4; // rbx
SetupTriggerPopup::updateValue(a1, 367);
v2 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 504))(a1);
v3 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 96))(a1);
(*(void (__fastcall **)(__int64 *, _QWORD))(*a1 + 1104))(a1, 0);
v4 = SetupAdvFollowPopup::create(a1[85], a1[86]);
(*(void (__fastcall **)(__int64, cocos2d::CCObject *, _QWORD))(*(_QWORD *)v2 + 456LL))(v2, v4, v3);
return SetupTriggerPopup::goToPage(v4, 1, 0);
}