//
// GameLevelManager::adminNameLock from 0x4bea64 to 0x4beae0 (124 bytes)
//
// 1 xrefs:
// > AccountBanPopup::executeAction @ 0x76323c
//
// 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::adminNameLock(GameManager *a1, char *a2, unsigned __int8 *a3, _DWORD *a4)
{
cocos2d::CCString *v8; // r0
char *CString; // r6
int v10; // r6
int v12[3]; // [sp+10h] [bp-10h] BYREF
v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"adminNameLock_%i", a2);
memset(v12, 0, sizeof(v12));
CString = (char *)cocos2d::CCString::getCString(v8);
std::string::__init(v12, &unk_B6B226, 0);
v10 = GameLevelManager::sendAdminAction(
a1,
CString,
"https://www.boomlings.com/database/adminNameLock.php",
120,
a2,
(unsigned __int8 *)v12,
a3,
a4);
std::string::~string((int)v12);
return v10;
}