//
// GameLevelManager::adminCloseCase from 0x4bec30 to 0x4becdc (172 bytes)
//
// 1 xrefs:
// > AccountReviewPopup::reviewChoicePicked @ 0x734cb6
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:50:21 +0000
//
int __fastcall GameLevelManager::adminCloseCase(GameManager *a1, char *a2, const char *a3, unsigned __int8 *a4)
{
cocos2d::CCString *v8; // r0
char *CString; // r7
cocos2d::CCString *v10; // r0
const char *v11; // r11
size_t v12; // r0
int v13; // r7
int v15[3]; // [sp+14h] [bp-20h] BYREF
char *v16[3]; // [sp+20h] [bp-14h] BYREF
if ( (unsigned int)a3 > 2 )
return 0;
v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"adminCase_%i", a2);
CString = (char *)cocos2d::CCString::getCString(v8);
v10 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"&outcome=%i", a3);
memset(v15, 0, sizeof(v15));
v11 = (const char *)cocos2d::CCString::getCString(v10);
v12 = strlen(v11);
std::string::__init(v15, v11, v12);
memset(v16, 0, sizeof(v16));
v13 = GameLevelManager::sendAdminAction(
a1,
CString,
"https://www.boomlings.com/database/adminCloseCase.php",
90,
a2,
(unsigned __int8 *)v15,
a4,
v16);
std::__vector_base::~__vector_base(v16);
std::string::~string((int)v15);
return v13;
}