//
// GameLevelManager::deleteServerLevelList from 0x3d5208 to 0x3d5358 (336 bytes)
//
// 1 xrefs:
// > LevelListLayer::ownerDelete @ 0x591df8
//
// 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::deleteServerLevelList(GameLevelManager *a1, int a2)
{
std::set *p_m_queuedLists; // r7
cocos2d::CCString *v5; // r0
char *CString; // r0
cocos2d::CCString *v7; // r0
char *v8; // r0
GameToolbox v9; // [sp+20h] [bp-2Ch] BYREF
int v10; // [sp+24h] [bp-28h] BYREF
char *v11; // [sp+28h] [bp-24h] BYREF
char *v12; // [sp+2Ch] [bp-20h] BYREF
char *v13; // [sp+30h] [bp-1Ch] BYREF
const char *v14; // [sp+34h] [bp-18h] BYREF
char *v15; // [sp+38h] [bp-14h] BYREF
_BYTE v16[8]; // [sp+3Ch] [bp-10h] BYREF
p_m_queuedLists = &a1->m_queuedLists;
GameToolbox::intToString(&v9, a2);
if ( &a1->m_queuedLists._M_t._M_impl._M_header == (std::_Rb_tree_node_base *)std::_Rb_tree,std::less,std::allocator>::find(
(int)p_m_queuedLists,
(int)&v9) )
{
std::_Rb_tree,std::less,std::allocator>::_M_insert_unique(
(int)v16,
p_m_queuedLists,
(int)&v9);
v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%c%s%s%c%c%s",
(const char *)&dword_54 + 3,
"mfv",
"2898",
103,
99,
&aO1i2r3e45s7t89[13]);
CString = (char *)cocos2d::CCString::getCString(v5);
sub_776584((int)&v10, CString);
sub_776584((int)&v11, "https://www.boomlings.com/database/deleteGJLevelList.php");
GameLevelManager::getBasePostString((GameLevelManager *)&v12);
v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"&listID=%i&secret=%s",
(const char *)a2,
v10);
v8 = (char *)cocos2d::CCString::getCString(v7);
sub_774544((int)&v12, v8);
sub_776584((int)&v13, v11);
sub_776584((int)&v14, v12);
sub_775C20(&v15);
GameLevelManager::ProcessHttpRequest(a1, &v13, &v14, &v15, 62);
sub_774008(&v15);
sub_774008(&v14);
sub_774008(&v13);
sub_774008(&v12);
sub_774008(&v11);
sub_774008(&v10);
}
sub_774008(&v9);
}