//
// GameLevelManager::getUsers from 0x3d14ac to 0x3d15d0 (292 bytes)
//
// 1 xrefs:
// > LevelBrowserLayer::loadPage @ 0x3bbf36
//
// 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::getUsers(GameLevelManager *a1, GJSearchObject *a2)
{
char *Key; // r11
int m_total; // r7
int m_page; // r6
const char *v7; // r8
cocos2d::CCString *v8; // r0
const char *CString; // r0
cocos2d::CCString *v10; // r0
char *v11; // r0
char *v12; // [sp+18h] [bp-1Ch] BYREF
const char *v13; // [sp+1Ch] [bp-18h] BYREF
char *v14; // [sp+20h] [bp-14h] BYREF
const char *v15; // [sp+24h] [bp-10h] BYREF
char *v16; // [sp+28h] [bp-Ch] BYREF
Key = (char *)GJSearchObject::getKey(a2);
if ( !GameLevelManager::isDLActive(a1, Key) )
{
GameLevelManager::addDLToActive(a1, Key);
GameLevelManager::getBasePostString((GameLevelManager *)&v12);
sub_775C20(&v13);
m_total = a2->m_total;
m_page = a2->m_page;
v7 = v13;
v8 = (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(v8);
v10 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"&str=%s&total=%i&page=%i&secret=%s",
v7,
m_total,
m_page,
CString);
v11 = (char *)cocos2d::CCString::getCString(v10);
sub_774544((int)&v12, v11);
sub_774008(&v13);
sub_776584((int)&v14, "https://www.boomlings.com/database/getGJUsers20.php");
sub_776584((int)&v15, v12);
sub_776584((int)&v16, Key);
GameLevelManager::ProcessHttpRequest(a1, &v14, &v15, &v16, 41);
sub_774008(&v16);
sub_774008(&v15);
sub_774008(&v14);
sub_774008(&v12);
}
}