//
// GameLevelManager::onAdminUploadBanCompleted from 0x4b08a8 to 0x4b0946 (158 bytes)
//
// 1 xrefs:
// > GameLevelManager::handleIt @ 0x4db344
//
// 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:02 +0000
//
int __fastcall GameLevelManager::onAdminUploadBanCompleted(int a1, unsigned __int8 *a2, int a3, int a4)
{
cocos2d::CCDictionary *v5; // r10
const char *v7; // r6
size_t v8; // r0
_BOOL4 v9; // r4
int result; // r0
int (*v11)(void); // r3
int v12; // [sp+0h] [bp-10h] BYREF
unsigned __int8 *v13; // [sp+4h] [bp-Ch]
int v14; // [sp+8h] [bp-8h]
int v15; // [sp+Ch] [bp-4h]
v12 = a1;
v13 = a2;
v14 = a3;
v15 = a4;
v5 = *(cocos2d::CCDictionary **)(a1 + 748);
v12 = 0;
v13 = nullptr;
v14 = 0;
if ( (*(_BYTE *)a3 & 1) != 0 )
v7 = *(const char **)(a3 + 8);
else
v7 = (const char *)(a3 + 1);
v8 = strlen(v7);
std::string::__init(&v12, v7, v8);
cocos2d::CCDictionary::removeObjectForKey(v5);
std::string::~string((int)&v12);
v12 = 0;
v13 = nullptr;
v14 = 0;
std::string::__init(&v12, "-1", 2u);
v9 = sub_4A9CC4(a2, (unsigned __int8 *)&v12);
std::string::~string((int)&v12);
result = *(_DWORD *)(a1 + 836);
if ( v9 )
{
if ( !result )
return result;
v11 = *(int (**)(void))(*(_DWORD *)result + 28);
}
else
{
if ( !result )
return result;
v11 = *(int (**)(void))(*(_DWORD *)result + 24);
}
return v11();
}