//
// GameLevelManager::getGJUserInfo from 0x14023a610 to 0x14023a82d (541 bytes)
//
// 5 xrefs:
// > ParentalPrivacyPopup::create @ 0x1404d425c
// > ProfilePage::init @ 0x14055199d
// > ProfilePage::onUpdate @ 0x140552393
// > ProfilePage::updateUserScoreFinished @ 0x14055931e
// > ??> @ 0x14091c064
//
// 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=3
void __fastcall GameLevelManager::getGJUserInfo(cocos2d::CCActionManager **a1, int a2)
{
cocos2d::CCString *v4; // rax
char *CString; // rdi
__int64 v6; // rcx
cocos2d::CCString *v7; // rax
const char *v8; // rbx
int v9; // eax
cocos2d::CCString *v10; // rax
char *v11; // rax
size_t v12; // rbx
size_t v13; // r8
size_t v14; // r8
_QWORD *v15; // rdx
int v16; // [rsp+20h] [rbp-79h]
int v17; // [rsp+28h] [rbp-71h]
__int128 v18; // [rsp+40h] [rbp-59h] BYREF
__int64 v19; // [rsp+50h] [rbp-49h]
__int64 v20; // [rsp+58h] [rbp-41h]
__int128 v21; // [rsp+60h] [rbp-39h] BYREF
__int64 v22; // [rsp+70h] [rbp-29h]
__int64 v23; // [rsp+78h] [rbp-21h]
__int128 v24; // [rsp+80h] [rbp-19h] BYREF
__int64 v25; // [rsp+90h] [rbp-9h]
__int64 v26; // [rsp+98h] [rbp-1h]
__int128 *v27; // [rsp+A0h] [rbp+7h]
__int128 *v28; // [rsp+A8h] [rbp+Fh]
_QWORD Src[4]; // [rsp+B8h] [rbp+1Fh] BYREF
v4 = cocos2d::CCString::createWithFormat("account_%i", a2);
CString = (char *)cocos2d::CCString::getCString(v4);
if ( !GameLevelManager::isDLActive((__int64)a1, CString) )
{
GameLevelManager::addDLToActive((__int64)a1, CString);
GameLevelManager::getBasePostString(v6, Src);
v17 = 98;
v16 = 103;
v7 = cocos2d::CCString::createWithFormat("%c%s%s%c%c%s", 87, "mfd", "2893", v16, v17, (const char *)&word_14070D040);
v8 = cocos2d::CCString::getCString(v7);
v9 = GameLevelManager::notificationMask();
v10 = cocos2d::CCString::createWithFormat("&targetAccountID=%i¬ifMask=%i&secret=%s", a2, v9, v8);
v11 = (char *)cocos2d::CCString::getCString(v10);
v12 = -1;
v13 = -1;
do
++v13;
while ( v11[v13] );
sub_140044D80(Src, v11, v13);
v27 = &v21;
v28 = &v24;
v21 = 0;
v22 = 0;
v23 = 0;
v14 = -1;
do
++v14;
while ( CString[v14] );
sub_14003D230(&v21, CString, v14);
v15 = Src;
if ( Src[3] > 0xFu )
v15 = (_QWORD *)Src[0];
v24 = 0;
v25 = 0;
v26 = 0;
do
++v12;
while ( *((_BYTE *)v15 + v12) );
sub_14003D230(&v24, v15, v12);
v18 = 0;
*(_QWORD *)&v18 = sub_14003D460(0x40u);
v19 = 54;
v20 = 63;
strcpy((char *)v18, "https://www.boomlings.com/database/getGJUserInfo20.php");
GameLevelManager::ProcessHttpRequest(a1, (__int64)&v18, (const char *)&v24, (const char *)&v21, 0x21u);
sub_14003D310((__int64)Src);
}
}