//
// GameLevelManager::onGetFollowingCompleted from 0x1402518e0 to 0x1402519b7 (215 bytes)
//
// 2 xrefs:
// > GameLevelManager::handleIt @ 0x14021b46c
// > ??> @ 0x14091c4b4
//
// 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:28:42 +0000
//
// Hidden C++ exception states: #wind=3
void __fastcall GameLevelManager::onGetFollowingCompleted(__int64 a1, __int64 a2, _QWORD *a3)
{
_BYTE *v6; // rdx
__int64 v7; // r8
__int64 v8; // rcx
void *v9; // [rsp+20h] [rbp-38h]
v6 = a3;
if ( a3[3] > 0xFu )
v6 = (_BYTE *)*a3;
GameLevelManager::removeDLFromActive(a1, v6);
if ( *(_QWORD *)(a2 + 16) && sub_140100380((unsigned __int8 *)a2, "0123456789,", 0) == -1 )
{
GameLevelManager::replaceFollowedUsers(a1, a2);
v8 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v9 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager(v9);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v8 = qword_14090BFD0;
}
LOBYTE(v7) = 1;
GameManager::setGameVariable(v8, "0241", v7);
}
sub_14003D310(a2);
sub_14003D310((__int64)a3);
}