//
// GameLevelManager::getLevelSaveData from 0x3cfb74 to 0x3cfc6a (246 bytes)
//
// 1 xrefs:
// > LoadingLayer::init @ 0x30c1e8
//
// 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::getLevelSaveData(GameLevelManager *a1)
{
cocos2d::CCString *v2; // r0
char *CString; // r0
char *v4; // [sp+1Ch] [bp-18h] BYREF
char *v5; // [sp+20h] [bp-14h] BYREF
const char *v6; // [sp+24h] [bp-10h] BYREF
char *v7; // [sp+28h] [bp-Ch] BYREF
if ( !GameLevelManager::isDLActive(a1, "lvl_data") )
{
GameLevelManager::addDLToActive(a1, "lvl_data");
GameLevelManager::getBasePostString((GameLevelManager *)&v4);
sub_774544((int)&v4, "&secret=");
v2 = (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 = (char *)cocos2d::CCString::getCString(v2);
sub_774544((int)&v4, CString);
sub_776584((int)&v5, "https://www.boomlings.com/database/getSaveData.php");
sub_776584((int)&v6, v4);
sub_776584((int)&v7, "lvl_data");
GameLevelManager::ProcessHttpRequest(a1, &v5, &v6, &v7, 44);
sub_774008(&v7);
sub_774008(&v6);
sub_774008(&v5);
sub_774008(&v4);
}
}