//
// GameLevelManager::followUser from 0x4ae578 to 0x4ae60e (150 bytes)
//
// 2 xrefs:
// > GameLevelManager::onFollowUserCompleted @ 0x4b1c18
// > ProfilePage::loadPageFromUserInfo @ 0x5f8de8
//
// 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:50:00 +0000
//
int __fastcall GameLevelManager::followUser(GameLevelManager *this, const char *a2)
{
int v3; // r8
cocos2d::CCObject *v4; // r7
cocos2d::CCString *v5; // r0
const char *CString; // r9
size_t v7; // r0
int v9[3]; // [sp+4h] [bp-20h] BYREF
int v10[3]; // [sp+10h] [bp-14h] BYREF
v3 = *((_DWORD *)this + 138);
memset(v9, 0, sizeof(v9));
std::string::__init(v9, a1i2r3e45s789g, 1u);
v4 = (cocos2d::CCObject *)cocos2d::CCString::create(v9);
v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", a2);
CString = (const char *)cocos2d::CCString::getCString(v5);
memset(v10, 0, sizeof(v10));
v7 = strlen(CString);
std::string::__init(v10, CString, v7);
cocos2d::CCDictionary::setObject(v3, v4);
std::string::~string((int)v10);
return std::string::~string((int)v9);
}