//
// GameLevelManager::adminTrendingBan from 0x8316e4 to 0x8317b0 (204 bytes)
//
// 2 xrefs:
// > AccountBanPopup::executeAction @ 0xc91454
// > ??> @ 0xe6f68
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:55:09 +0000
//
__int64 __fastcall GameLevelManager::adminTrendingBan(cocos2d::CCObject *a1, const char *a2, char *a3, __int64 *a4)
{
cocos2d::CCString *v5; // x0
char *CString; // x0
unsigned int v7; // w20
int v9; // [xsp+28h] [xbp+28h]
_QWORD v12[2]; // [xsp+40h] [xbp+40h] BYREF
void *v13; // [xsp+50h] [xbp+50h]
v9 = (int)a2;
v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"adminTrendingBan_%i", a2);
CString = (char *)cocos2d::CCString::getCString(v5);
v12[0] = 0;
v12[1] = 0;
v13 = nullptr;
v7 = GameLevelManager::sendAdminAction(
a1,
CString,
"https://www.boomlings.com/database/adminTrendingBan.php",
118,
v9,
(__int64)v12,
a3,
a4);
if ( (v12[0] & 1) != 0 )
operator delete(v13);
return v7;
}