//
// GameLevelManager::reportLevel from 0x1000ababc to 0x1000abbdc (288 bytes)
//
// 1 xrefs:
// > InfoLayer::FLAlert_Clicked @ 0x100352acc
//
// 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 __fastcall GameLevelManager::reportLevel(GameLevelManager *a1, int a2)
{
cocos2d::CCString *v4; // x0
const char *CString; // x0
cocos2d::CCString *v6; // x0
char *v7; // x21
cocos2d::CCString *v8; // x0
char *v9; // x0
void *__p[2]; // [xsp+38h] [xbp-68h] BYREF
char v11; // [xsp+4Fh] [xbp-51h]
void *v12[2]; // [xsp+50h] [xbp-50h] BYREF
char v13; // [xsp+67h] [xbp-39h]
std::string v14; // [xsp+68h] [xbp-38h] BYREF
if ( !GameLevelManager::hasReportedLevel(a1, a2) )
{
GameLevelManager::markLevelAsReported(a1, a2);
v4 = (cocos2d::CCString *)sub_100268F4C("%c%s%s%c%c%s", 87, "mfd", "2893", 103, 98, "7");
CString = cocos2d::CCString::getCString(v4);
v6 = (cocos2d::CCString *)sub_100268F4C("levelID=%i&secret=%s", a2, CString);
v7 = (char *)cocos2d::CCString::getCString(v6);
sub_100009900(&v14, "https://www.boomlings.com/database/reportGJLevel.php");
sub_100009900(v12, v7);
v8 = (cocos2d::CCString *)sub_100268F4C("%i", a2);
v9 = (char *)cocos2d::CCString::getCString(v8);
sub_100009900(__p, v9);
GameLevelManager::ProcessHttpRequest(a1, &v14, (char *)v12, (const std::string::value_type *)__p, 18);
if ( v11 < 0 )
operator delete(__p[0]);
if ( v13 < 0 )
operator delete(v12[0]);
if ( SHIBYTE(v14.__r_.__value_.__r.__words[2]) < 0 )
operator delete(v14.__r_.__value_.__l.__data_);
}
}