//
// GameLevelManager::followUser from 0x808ddc to 0x808efc (288 bytes)
//
// 3 xrefs:
// > GameLevelManager::onFollowUserCompleted @ 0x80ce38
// > ProfilePage::loadPageFromUserInfo @ 0xa5afbc
// > ??> @ 0xa7d40
//
// 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 12:54:46 +0000
//
__int64 __fastcall GameLevelManager::followUser(GameLevelManager *this, unsigned int a2)
{
__int64 v3; // x21
cocos2d::CCObject *v4; // x22
cocos2d::CCString *v5; // x0
size_t v6; // x0
char *CString; // [xsp+38h] [xbp+38h]
_QWORD v9[2]; // [xsp+48h] [xbp+48h] BYREF
void *v10; // [xsp+58h] [xbp+58h]
__int64 v11[2]; // [xsp+60h] [xbp+60h] BYREF
void *v12; // [xsp+70h] [xbp+70h]
v9[0] = 0;
v3 = *((_QWORD *)this + 97);
v9[1] = 0;
LOBYTE(v9[0]) = 2;
v10 = nullptr;
BYTE1(v9[0]) = aReachPathOfLav[24];
v4 = (cocos2d::CCObject *)cocos2d::CCString::create(v9);
v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)a2);
CString = (char *)cocos2d::CCString::getCString(v5);
v11[0] = 0;
v11[1] = 0;
v12 = nullptr;
v6 = strlen(CString);
std::string::__init(v11, CString, v6);
cocos2d::CCDictionary::setObject(v3, v4);
if ( (v11[0] & 1) != 0 )
operator delete(v12);
if ( (v9[0] & 1) != 0 )
operator delete(v10);
return _stack_chk_guard;
}