//
// sub_100571DE0 from 0x100571de0 to 0x100571e5d (125 bytes)
//
// 1 xrefs:
// > sub_1009910B0 @ 0x10099165e
//
// This function is hookable on this platform (idp: pc, 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:32:15 +0000
//
char __fastcall sub_100571DE0(__int64 a1, int a2, std::string *a3, _QWORD *a4)
{
__int64 v6; // rax
const char *CString; // rax
char result; // al
char v9; // bl
char v10; // [rsp+0h] [rbp-50h]
unsigned __int8 v11[16]; // [rsp+18h] [rbp-38h] BYREF
void *__p; // [rsp+28h] [rbp-28h]
v6 = sub_10088E820("adminNameLock_%i", v10);
CString = (const char *)cocos2d::CCString::getCString(v6);
*(_WORD *)v11 = 0;
result = GameLevelManager::sendAdminAction(
a1,
CString,
"https://www.boomlings.com/database/adminNameLock.php",
0x78u,
a2,
v11,
a3,
a4);
if ( (v11[0] & 1) != 0 )
{
v9 = result;
operator delete(__p);
return v9;
}
return result;
}