//
// GameLevelManager::onAdminGetAccountReviewCompleted from 0x84c144 to 0x84cb10 (2508 bytes)
//
// 2 xrefs:
// > GameLevelManager::handleIt @ 0x85b744
// > ??> @ 0x8bdb0
//
// 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:24 +0000
//
__int64 __fastcall GameLevelManager::onAdminGetAccountReviewCompleted(_QWORD *a1, unsigned __int8 *a2, char *a3)
{
char *v6; // x20
__int64 v7; // x25
size_t v8; // x0
unsigned int v9; // w25
cocos2d::CCArray *v10; // x20
__int64 v11; // x0
cocos2d::CCString *v13; // x0
const char *CString; // x0
size_t v15; // x0
cocos2d::CCString *v16; // x0
cocos2d::CCString *v17; // x0
cocos2d::CCString *v18; // x0
cocos2d::CCString *v19; // x0
cocos2d::CCString *v20; // x0
char *v21; // x0
cocos2d::CCString *v22; // x0
const char *v23; // x0
size_t v24; // x0
cocos2d::CCString *v25; // x0
char *v26; // x0
cocos2d::CCString *v27; // x0
cocos2d::CCString *v28; // x0
cocos2d::CCString *v29; // x0
cocos2d::CCString *v30; // x0
cocos2d::CCString *v31; // x0
cocos2d::CCString *v32; // x0
cocos2d::CCString *v33; // x0
cocos2d::CCString *v34; // x0
cocos2d::CCString *v35; // x0
cocos2d::CCString *v36; // x0
cocos2d::CCString *v37; // x0
cocos2d::CCString *v38; // x0
cocos2d::CCString *v39; // x0
cocos2d::CCString *v40; // x0
cocos2d::CCString *v41; // x0
char *v42; // x0
cocos2d::CCString *v43; // x0
char *v44; // x0
cocos2d::CCString *v45; // x0
cocos2d::CCString *v46; // x0
const char *v47; // x0
size_t v48; // x0
cocos2d::CCString *v49; // x0
char *v50; // x0
cocos2d::CCString *v51; // x0
const char *v52; // x0
size_t v53; // x0
cocos2d::CCString *v54; // x0
char *v55; // x0
cocos2d::CCString *v56; // x0
cocos2d::CCString *v57; // x0
cocos2d::CCString *v58; // x0
cocos2d::CCString *v59; // x0
int v60; // w20
__int64 v61; // x0
cocos2d::CCString *v62; // x0
char *v63; // [xsp+58h] [xbp+58h]
char *v64; // [xsp+58h] [xbp+58h]
char *v65; // [xsp+58h] [xbp+58h]
char *v66; // [xsp+58h] [xbp+58h]
__int64 v67[2]; // [xsp+68h] [xbp+68h] BYREF
void *v68; // [xsp+78h] [xbp+78h]
_QWORD v69[3]; // [xsp+80h] [xbp+80h] BYREF
__int64 v70[2]; // [xsp+98h] [xbp+98h] BYREF
void *v71; // [xsp+A8h] [xbp+A8h]
_QWORD v72[3]; // [xsp+B0h] [xbp+B0h] BYREF
__int64 v73[2]; // [xsp+C8h] [xbp+C8h] BYREF
void *v74; // [xsp+D8h] [xbp+D8h]
_QWORD v75[3]; // [xsp+E0h] [xbp+E0h] BYREF
__int64 v76[2]; // [xsp+F8h] [xbp+F8h] BYREF
void *v77; // [xsp+108h] [xbp+108h]
_QWORD v78[3]; // [xsp+110h] [xbp+110h] BYREF
__int64 v79; // [xsp+128h] [xbp+128h] BYREF
size_t v80; // [xsp+130h] [xbp+130h]
void *v81; // [xsp+138h] [xbp+138h]
__int64 v82; // [xsp+140h] [xbp+140h] BYREF
size_t v83; // [xsp+148h] [xbp+148h]
_BYTE *v84; // [xsp+150h] [xbp+150h]
int v85; // [xsp+158h] [xbp+158h]
__int64 v86; // [xsp+15Ch] [xbp+15Ch]
int v87; // [xsp+164h] [xbp+164h]
__int64 v88[2]; // [xsp+168h] [xbp+168h] BYREF
void *v89; // [xsp+178h] [xbp+178h]
__int64 v90; // [xsp+180h] [xbp+180h] BYREF
__int64 v91; // [xsp+188h] [xbp+188h]
_BYTE *v92; // [xsp+190h] [xbp+190h]
__int64 v93[2]; // [xsp+198h] [xbp+198h] BYREF
void *v94; // [xsp+1A8h] [xbp+1A8h]
__int64 v95; // [xsp+1B0h] [xbp+1B0h]
int v96; // [xsp+1B8h] [xbp+1B8h]
int v97; // [xsp+1BCh] [xbp+1BCh]
int v98; // [xsp+1C0h] [xbp+1C0h]
__int64 v99; // [xsp+1C4h] [xbp+1C4h]
int v100; // [xsp+1CCh] [xbp+1CCh]
int v101; // [xsp+1D0h] [xbp+1D0h]
int v102; // [xsp+1D4h] [xbp+1D4h]
int v103; // [xsp+1D8h] [xbp+1D8h]
int v104; // [xsp+1DCh] [xbp+1DCh]
int v105; // [xsp+1E0h] [xbp+1E0h]
int v106; // [xsp+1E4h] [xbp+1E4h]
__int64 v107[2]; // [xsp+1E8h] [xbp+1E8h] BYREF
void *v108; // [xsp+1F8h] [xbp+1F8h]
__int64 v109[2]; // [xsp+200h] [xbp+200h] BYREF
void *v110; // [xsp+210h] [xbp+210h]
int v111; // [xsp+218h] [xbp+218h]
__int64 v112; // [xsp+220h] [xbp+220h] BYREF
__int64 v113; // [xsp+228h] [xbp+228h]
void *v114; // [xsp+230h] [xbp+230h]
__int64 v115[2]; // [xsp+238h] [xbp+238h] BYREF
void *v116; // [xsp+248h] [xbp+248h]
int v117; // [xsp+250h] [xbp+250h]
__int64 v118; // [xsp+258h] [xbp+258h] BYREF
__int64 v119; // [xsp+260h] [xbp+260h]
void *v120; // [xsp+268h] [xbp+268h]
__int64 v121[2]; // [xsp+270h] [xbp+270h] BYREF
void *v122; // [xsp+280h] [xbp+280h]
int v123; // [xsp+288h] [xbp+288h]
int v124; // [xsp+28Ch] [xbp+28Ch]
int v125; // [xsp+290h] [xbp+290h]
int v126; // [xsp+294h] [xbp+294h]
v6 = a3 + 1;
v7 = a1[136];
if ( (*a3 & 1) != 0 )
v6 = *((char **)a3 + 2);
v82 = 0;
v83 = 0;
v84 = nullptr;
v8 = strlen(v6);
std::string::__init(&v82, v6, v8);
cocos2d::CCDictionary::removeObjectForKey(v7, &v82);
if ( (v82 & 1) != 0 )
operator delete(v84);
v9 = sub_7FF0C0((__int64)a3);
v10 = sub_80CFCC(a2, ":");
v82 = 0;
v83 = 0;
v84 = nullptr;
std::string::__init(&v82, &word_117CE08, 2u);
if ( !sub_7FEA60((__int64)a2, (__int64)&v82) && (unsigned int)cocos2d::CCArray::count(v10) > 0x1D )
{
if ( (v82 & 1) != 0 )
operator delete(v84);
v82 = 0;
v83 = 0;
v84 = nullptr;
v88[0] = 0;
v88[1] = 0;
v89 = nullptr;
v90 = 0;
v91 = 0;
v92 = nullptr;
v93[0] = 0;
v85 = 0;
v86 = 0xFFFFFFFFLL;
v87 = 0;
v93[1] = 0;
v94 = nullptr;
v95 = 0xFFFFFFFFLL;
v96 = 0;
v97 = 0;
v98 = 0;
v99 = 0xFFFFFFFFLL;
v100 = 0;
v101 = 0;
v102 = 0;
v103 = 0;
v104 = 0;
v105 = 0;
v106 = 0;
v107[0] = 0;
v107[1] = 0;
v108 = nullptr;
v109[0] = 0;
v109[1] = 0;
v110 = nullptr;
v111 = 0;
v112 = 0;
v113 = 0;
v114 = nullptr;
v115[0] = 0;
v115[1] = 0;
v116 = nullptr;
v117 = 0;
v118 = 0;
v119 = 0;
v120 = nullptr;
v121[0] = 0;
v121[1] = 0;
v122 = nullptr;
v123 = 0;
v124 = 0;
v125 = 0;
v126 = 0;
v13 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v10, 0);
CString = (const char *)cocos2d::CCString::getCString(v13);
v67[0] = 0;
v67[1] = 0;
v68 = nullptr;
v63 = (char *)CString;
v15 = strlen(CString);
std::string::__init(v67, v63, v15);
LevelTools::base64DecodeString((__int64)v67, v69);
if ( (v82 & 1) != 0 )
{
*v84 = 0;
v83 = 0;
}
else
{
LOWORD(v82) = 0;
}
std::string::reserve(&v82, 0);
v84 = (_BYTE *)v69[2];
v82 = v69[0];
v83 = v69[1];
if ( (v67[0] & 1) != 0 )
operator delete(v68);
v16 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v10, 1u);
v85 = cocos2d::CCString::intValue(v16);
v17 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v10, 2u);
LODWORD(v86) = cocos2d::CCString::intValue(v17);
v18 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v10, 3u);
HIDWORD(v86) = cocos2d::CCString::intValue(v18);
v19 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v10, 4u);
v87 = cocos2d::CCString::intValue(v19);
v20 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v10, 5u);
v21 = (char *)cocos2d::CCString::getCString(v20);
std::string::assign(v88, v21);
v22 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v10, 6u);
v23 = (const char *)cocos2d::CCString::getCString(v22);
v70[0] = 0;
v70[1] = 0;
v71 = nullptr;
v64 = (char *)v23;
v24 = strlen(v23);
std::string::__init(v70, v64, v24);
LevelTools::base64DecodeString((__int64)v70, v72);
if ( (v90 & 1) != 0 )
{
*v92 = 0;
v91 = 0;
}
else
{
LOWORD(v90) = 0;
}
std::string::reserve(&v90, 0);
v92 = (_BYTE *)v72[2];
v90 = v72[0];
v91 = v72[1];
if ( (v70[0] & 1) != 0 )
operator delete(v71);
v25 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v10, 7u);
v26 = (char *)cocos2d::CCString::getCString(v25);
std::string::assign(v93, v26);
v27 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v10, 8u);
LODWORD(v95) = cocos2d::CCString::intValue(v27);
v28 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v10, 9u);
HIDWORD(v95) = cocos2d::CCString::intValue(v28);
v29 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v10, 0xAu);
v96 = cocos2d::CCString::intValue(v29);
v30 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v10, 0xBu);
v97 = cocos2d::CCString::intValue(v30);
v31 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v10, 0xCu);
v98 = cocos2d::CCString::intValue(v31);
v32 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v10, 0xDu);
LODWORD(v99) = cocos2d::CCString::intValue(v32);
v33 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v10, 0xEu);
HIDWORD(v99) = cocos2d::CCString::intValue(v33);
v34 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v10, 0xFu);
v100 = cocos2d::CCString::intValue(v34);
v35 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v10, 0x10u);
v101 = cocos2d::CCString::intValue(v35);
v36 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v10, 0x11u);
v102 = cocos2d::CCString::intValue(v36);
v37 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v10, 0x12u);
v103 = cocos2d::CCString::intValue(v37);
v38 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v10, 0x13u);
v104 = cocos2d::CCString::intValue(v38);
v39 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v10, 0x14u);
v105 = cocos2d::CCString::intValue(v39);
v40 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v10, 0x15u);
v106 = cocos2d::CCString::intValue(v40);
v41 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v10, 0x16u);
v42 = (char *)cocos2d::CCString::getCString(v41);
std::string::assign(v107, v42);
v43 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v10, 0x17u);
v44 = (char *)cocos2d::CCString::getCString(v43);
std::string::assign(v109, v44);
v45 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v10, 0x18u);
v111 = cocos2d::CCString::intValue(v45);
v46 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v10, 0x19u);
v47 = (const char *)cocos2d::CCString::getCString(v46);
v73[0] = 0;
v73[1] = 0;
v74 = nullptr;
v65 = (char *)v47;
v48 = strlen(v47);
std::string::__init(v73, v65, v48);
LevelTools::base64DecodeString((__int64)v73, v75);
if ( (v112 & 1) != 0 )
{
*(_BYTE *)v114 = 0;
v113 = 0;
}
else
{
LOWORD(v112) = 0;
}
std::string::reserve(&v112, 0);
v114 = (void *)v75[2];
v112 = v75[0];
v113 = v75[1];
if ( (v73[0] & 1) != 0 )
operator delete(v74);
v49 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v10, 0x1Au);
v50 = (char *)cocos2d::CCString::getCString(v49);
std::string::assign(v115, v50);
v51 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v10, 0x1Bu);
v52 = (const char *)cocos2d::CCString::getCString(v51);
v76[0] = 0;
v76[1] = 0;
v77 = nullptr;
v66 = (char *)v52;
v53 = strlen(v52);
std::string::__init(v76, v66, v53);
LevelTools::base64DecodeString((__int64)v76, v78);
if ( (v118 & 1) != 0 )
{
*(_BYTE *)v120 = 0;
v119 = 0;
}
else
{
LOWORD(v118) = 0;
}
std::string::reserve(&v118, 0);
v120 = (void *)v78[2];
v118 = v78[0];
v119 = v78[1];
if ( (v76[0] & 1) != 0 )
operator delete(v77);
v54 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v10, 0x1Cu);
v55 = (char *)cocos2d::CCString::getCString(v54);
std::string::assign(v121, v55);
v56 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v10, 0x1Du);
v117 = cocos2d::CCString::intValue(v56);
if ( (unsigned int)cocos2d::CCArray::count(v10) > 0x1E )
{
v57 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v10, 0x1Eu);
v123 = cocos2d::CCString::intValue(v57);
}
if ( (unsigned int)cocos2d::CCArray::count(v10) > 0x1F )
{
v58 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v10, 0x1Fu);
v124 = cocos2d::CCString::intValue(v58);
}
if ( (unsigned int)cocos2d::CCArray::count(v10) > 0x20 )
{
v59 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v10, 0x20u);
v125 = cocos2d::CCString::intValue(v59);
}
if ( (unsigned int)cocos2d::CCArray::count(v10) > 0x21 )
{
v62 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v10, 0x21u);
v126 = cocos2d::CCString::intValue(v62);
}
if ( (v82 & 1) != 0 )
{
if ( v83 )
{
v79 = 0;
v80 = 0;
v81 = nullptr;
v60 = v85;
std::string::__init(&v79, v84, v83);
goto LABEL_41;
}
}
else if ( (int)(unsigned __int8)v82 >> 1 )
{
v60 = v85;
v81 = v84;
v79 = v82;
v80 = v83;
LABEL_41:
GameLevelManager::storeUserName(a1, v60, v9, (char *)&v79);
if ( (v79 & 1) != 0 )
operator delete(v81);
}
v61 = a1[157];
if ( v61 )
(*(void (__fastcall **)(__int64, _QWORD, __int64 *))(*(_QWORD *)v61 + 320LL))(v61, v9, &v82);
if ( (v121[0] & 1) != 0 )
operator delete(v122);
if ( (v118 & 1) != 0 )
operator delete(v120);
if ( (v115[0] & 1) != 0 )
operator delete(v116);
if ( (v112 & 1) != 0 )
operator delete(v114);
if ( (v109[0] & 1) != 0 )
operator delete(v110);
if ( (v107[0] & 1) != 0 )
operator delete(v108);
if ( (v93[0] & 1) != 0 )
operator delete(v94);
if ( (v90 & 1) != 0 )
operator delete(v92);
if ( (v88[0] & 1) != 0 )
operator delete(v89);
if ( (v82 & 1) != 0 )
operator delete(v84);
return _stack_chk_guard;
}
if ( (v82 & 1) != 0 )
operator delete(v84);
v11 = a1[157];
if ( v11 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v11 + 328LL))(v11, v9);
return _stack_chk_guard;
}