//
// GameLevelManager::getAccountComments from 0x3d1f8c to 0x3d2094 (264 bytes)
//
// 1 xrefs:
// > ProfilePage::loadPage @ 0x4c7ecc
//
// 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::getAccountComments(GameLevelManager *a1, int a2, int a3, int a4)
{
char *AccountCommentKey; // r10
cocos2d::CCString *v9; // r0
const char *CString; // r0
cocos2d::CCString *v11; // r0
char *v12; // r0
char *v13; // [sp+1Ch] [bp-14h] BYREF
char *v14; // [sp+20h] [bp-10h] BYREF
const char *v15; // [sp+24h] [bp-Ch] BYREF
char *v16; // [sp+28h] [bp-8h] BYREF
AccountCommentKey = (char *)GameLevelManager::getAccountCommentKey(a1, a2, a3);
if ( !GameLevelManager::isDLActive(a1, AccountCommentKey) )
{
GameLevelManager::addDLToActive(a1, AccountCommentKey);
GameLevelManager::getBasePostString((GameLevelManager *)&v13);
v9 = (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(v9);
v11 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"&accountID=%i&page=%i&total=%i&secret=%s",
(const char *)a2,
a3,
a4,
CString);
v12 = (char *)cocos2d::CCString::getCString(v11);
sub_774544((int)&v13, v12);
sub_776584((int)&v14, "https://www.boomlings.com/database/getGJAccountComments20.php");
sub_776584((int)&v15, v13);
sub_776584((int)&v16, AccountCommentKey);
GameLevelManager::ProcessHttpRequest(a1, &v14, &v15, &v16, 25);
sub_774008(&v16);
sub_774008(&v15);
sub_774008(&v14);
sub_774008(&v13);
}
}