//
// GameLevelManager::isFollowingUser from 0x4ae508 to 0x4ae570 (104 bytes)
//
// 3 xrefs:
// > ProfilePage::onFollow @ 0x5f6f6a
// > ProfilePage::loadPageFromUserInfo @ 0x5f8dca
// > ProfilePage::init @ 0x5fabea
//
// 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::isFollowingUser(GameLevelManager *this, const char *a2)
{
int v2; // r6
cocos2d::CCString *v3; // r0
const char *CString; // r7
size_t v5; // r0
int v6; // r6
int result; // r0
int v8[3]; // [sp+0h] [bp-14h] BYREF
v2 = *((_DWORD *)this + 138);
v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", a2);
memset(v8, 0, sizeof(v8));
CString = (const char *)cocos2d::CCString::getCString(v3);
v5 = strlen(CString);
std::string::__init(v8, CString, v5);
v6 = cocos2d::CCDictionary::objectForKey(v2, v8);
std::string::~string((int)v8);
result = v6;
if ( v6 )
return 1;
return result;
}