//
// GameLevelManager::getUsers from 0x140239f10 to 0x14023a163 (595 bytes)
//
// 2 xrefs:
// > LevelBrowserLayer::loadPage @ 0x1403e4739
// > ??> @ 0x14091c04c
//
// This function is hookable on this platform (idp: pc, 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 11:28:34 +0000
//
// Hidden C++ exception states: #wind=4
void __fastcall GameLevelManager::getUsers(cocos2d::CCActionManager **a1, __int64 a2)
{
_BYTE *Key; // r14
__int64 v5; // rcx
int v6; // ebx
int v7; // edi
const char *v8; // rsi
cocos2d::CCString *v9; // rax
const char *CString; // rax
cocos2d::CCString *v11; // rax
char *v12; // rax
size_t v13; // rbx
size_t v14; // r8
size_t v15; // r8
_QWORD *v16; // rdx
int v17; // [rsp+20h] [rbp-89h]
int v18; // [rsp+28h] [rbp-81h]
__int128 v19; // [rsp+48h] [rbp-61h] BYREF
__int64 v20; // [rsp+58h] [rbp-51h]
__int64 v21; // [rsp+60h] [rbp-49h]
__int128 v22; // [rsp+68h] [rbp-41h] BYREF
__int64 v23; // [rsp+78h] [rbp-31h]
__int64 v24; // [rsp+80h] [rbp-29h]
__int128 *v25; // [rsp+88h] [rbp-21h]
__int128 v26; // [rsp+98h] [rbp-11h] BYREF
__int64 v27; // [rsp+A8h] [rbp-1h]
unsigned __int64 v28; // [rsp+B0h] [rbp+7h]
_QWORD Src[4]; // [rsp+B8h] [rbp+Fh] BYREF
Key = (_BYTE *)GJSearchObject::getKey(a2);
if ( !GameLevelManager::isDLActive((__int64)a1, Key) )
{
GameLevelManager::addDLToActive((__int64)a1, Key);
GameLevelManager::getBasePostString(v5, Src);
sub_14003F4F0((__int64)&v26, a2 + 328);
v6 = *(_DWORD *)(a2 + 424);
v7 = *(_DWORD *)(a2 + 432);
v8 = (const char *)&v26;
if ( v28 > 0xF )
v8 = (const char *)v26;
v18 = 98;
v17 = 103;
v9 = cocos2d::CCString::createWithFormat("%c%s%s%c%c%s", 87, "mfd", "2893", v17, v18, (const char *)&word_14070D040);
CString = cocos2d::CCString::getCString(v9);
v11 = cocos2d::CCString::createWithFormat("&str=%s&total=%i&page=%i&secret=%s", v8, v7, v6, CString);
v12 = (char *)cocos2d::CCString::getCString(v11);
v13 = -1;
v14 = -1;
do
++v14;
while ( v12[v14] );
sub_140044D80(Src, v12, v14);
sub_14003D310((__int64)&v26);
v25 = &v26;
v22 = 0;
v23 = 0;
v24 = 0;
v15 = -1;
do
++v15;
while ( Key[v15] );
sub_14003D230(&v22, Key, v15);
v16 = Src;
if ( Src[3] > 0xFu )
v16 = (_QWORD *)Src[0];
v26 = 0;
v27 = 0;
v28 = 0;
do
++v13;
while ( *((_BYTE *)v16 + v13) );
sub_14003D230(&v26, v16, v13);
v19 = 0;
*(_QWORD *)&v19 = sub_14003D460(0x40u);
v20 = 51;
v21 = 63;
strcpy((char *)v19, "https://www.boomlings.com/database/getGJUsers20.php");
GameLevelManager::ProcessHttpRequest(a1, (__int64)&v19, (const char *)&v26, (const char *)&v22, 0x2Fu);
sub_14003D310((__int64)Src);
}
}