//
// GameLevelManager::getGauntlets from 0x3cfdb4 to 0x3cfeb0 (252 bytes)
//
// 2 xrefs:
// > GauntletSelectLayer::onRefresh @ 0x4d71da
// > GauntletSelectLayer::init @ 0x4d9ba2
//
// 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::getGauntlets(GameLevelManager *a1)
{
cocos2d::CCString *v2; // r0
const char *CString; // r0
cocos2d::CCString *v4; // r0
char *v5; // r0
char *v6; // [sp+1Ch] [bp-18h] BYREF
char *v7; // [sp+20h] [bp-14h] BYREF
const char *v8; // [sp+24h] [bp-10h] BYREF
char *v9; // [sp+28h] [bp-Ch] BYREF
if ( !GameLevelManager::isDLActive(a1, "get_gauntlets") )
{
GameLevelManager::addDLToActive(a1, "get_gauntlets");
GameLevelManager::getBasePostString((GameLevelManager *)&v6);
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 = cocos2d::CCString::getCString(v2);
v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"&secret=%s&special=1&vkey=%i",
CString,
48);
v5 = (char *)cocos2d::CCString::getCString(v4);
sub_774544((int)&v6, v5);
sub_776584((int)&v7, "https://www.boomlings.com/database/getGJGauntlets21.php");
sub_776584((int)&v8, v6);
sub_776584((int)&v9, "get_gauntlets");
GameLevelManager::ProcessHttpRequest(a1, &v7, &v8, &v9, 52);
sub_774008(&v9);
sub_774008(&v8);
sub_774008(&v7);
sub_774008(&v6);
}
}