//
// GameLevelManager::getGJUserInfo from 0x3d15ec to 0x3d16ec (256 bytes)
//
// 3 xrefs:
// > ProfilePage::onUpdate @ 0x4c73cc
// > ProfilePage::updateUserScoreFinished @ 0x4c7450
// > ProfilePage::init @ 0x4c7c3e
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void GameLevelManager::getGJUserInfo(GameLevelManager *a1, int a2)
{
char *UserInfoKey; // r10
cocos2d::CCString *v5; // r0
const char *CString; // r0
cocos2d::CCString *v7; // r0
char *v8; // r0
char *v9; // [sp+1Ch] [bp-14h] BYREF
char *v10; // [sp+20h] [bp-10h] BYREF
const char *v11; // [sp+24h] [bp-Ch] BYREF
char *v12; // [sp+28h] [bp-8h] BYREF
UserInfoKey = (char *)GameLevelManager::getUserInfoKey(a1, a2);
if ( !GameLevelManager::isDLActive(a1, UserInfoKey) )
{
GameLevelManager::addDLToActive(a1, UserInfoKey);
GameLevelManager::getBasePostString((GameLevelManager *)&v9);
v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%c%s%s%c%c%s",
(const char *)&dword_54 + 3,
"mfd",
"2893",
103,
98,
&aO1i2r3e45s7t89[10]);
CString = cocos2d::CCString::getCString(v5);
v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"&targetAccountID=%i&secret=%s",
(const char *)a2,
CString);
v8 = (char *)cocos2d::CCString::getCString(v7);
sub_774544((int)&v9, v8);
sub_776584((int)&v10, "https://www.boomlings.com/database/getGJUserInfo20.php");
sub_776584((int)&v11, v9);
sub_776584((int)&v12, UserInfoKey);
GameLevelManager::ProcessHttpRequest(a1, &v10, &v11, &v12, 27);
sub_774008(&v12);
sub_774008(&v11);
sub_774008(&v10);
sub_774008(&v9);
}
}