// // GameLevelManager::onAdminGetAccountReviewCompleted from 0x4d347c to 0x4d39f6 (1402 bytes) // // 1 xrefs: // > GameLevelManager::handleIt @ 0x4db464 // // 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:49 +0000 // void __fastcall GameLevelManager::onAdminGetAccountReviewCompleted(int a1, unsigned __int8 *a2, int a3) { const char *v3; // r5 cocos2d::CCDictionary *v5; // r9 bool v8; // nf size_t v9; // r0 char *v10; // r9 cocos2d::CCArray *v11; // r0 cocos2d::CCArray *v12; // r5 _BOOL4 v13; // r4 int v14; // r0 cocos2d::CCString *v15; // r0 const char *CString; // r4 size_t v17; // r0 int v18; // r0 int v19; // r1 _BYTE *v20; // r2 cocos2d::CCString *v21; // r0 cocos2d::CCString *v22; // r0 cocos2d::CCString *v23; // r0 cocos2d::CCString *v24; // r0 cocos2d::CCString *v25; // r0 char *v26; // r0 cocos2d::CCString *v27; // r0 const char *v28; // r4 size_t v29; // r0 _BYTE *v30; // r2 int v31; // r3 int v32; // r0 int v33; // r1 _BYTE *v34; // r2 cocos2d::CCString *v35; // r0 char *v36; // r0 cocos2d::CCString *v37; // r0 cocos2d::CCString *v38; // r0 cocos2d::CCString *v39; // r0 cocos2d::CCString *v40; // r0 cocos2d::CCString *v41; // r0 cocos2d::CCString *v42; // r0 cocos2d::CCString *v43; // r0 cocos2d::CCString *v44; // r0 cocos2d::CCString *v45; // r0 cocos2d::CCString *v46; // r0 cocos2d::CCString *v47; // r0 cocos2d::CCString *v48; // r0 cocos2d::CCString *v49; // r0 cocos2d::CCString *v50; // r0 cocos2d::CCString *v51; // r0 char *v52; // r0 cocos2d::CCString *v53; // r0 char *v54; // r0 cocos2d::CCString *v55; // r0 cocos2d::CCString *v56; // r0 const char *v57; // r4 size_t v58; // r0 _BYTE *v59; // r2 int v60; // r3 int v61; // r0 int v62; // r1 _BYTE *v63; // r2 cocos2d::CCString *v64; // r0 char *v65; // r0 cocos2d::CCString *v66; // r0 const char *v67; // r10 size_t v68; // r0 _BYTE *v69; // r2 int v70; // r3 int v71; // r0 int v72; // r1 _BYTE *v73; // r2 cocos2d::CCString *v74; // r0 char *v75; // r0 cocos2d::CCString *v76; // r0 cocos2d::CCString *v77; // r0 cocos2d::CCString *v78; // r0 cocos2d::CCString *v79; // r0 cocos2d::CCString *v80; // r0 int v81; // r3 const char *v82; // r10 int v83; // r0 int v84; // [sp+0h] [bp-14Ch] BYREF int v85; // [sp+4h] [bp-148h] int v86; // [sp+8h] [bp-144h] int v87; // [sp+Ch] [bp-140h] BYREF int v88; // [sp+10h] [bp-13Ch] _BYTE *v89; // [sp+14h] [bp-138h] int v90[3]; // [sp+18h] [bp-134h] BYREF int v91; // [sp+24h] [bp-128h] BYREF int v92; // [sp+28h] [bp-124h] _BYTE *v93; // [sp+2Ch] [bp-120h] int v94[3]; // [sp+30h] [bp-11Ch] BYREF int v95; // [sp+3Ch] [bp-110h] BYREF int v96; // [sp+40h] [bp-10Ch] _BYTE *v97; // [sp+44h] [bp-108h] int v98[3]; // [sp+48h] [bp-104h] BYREF int v99; // [sp+54h] [bp-F8h] BYREF int v100; // [sp+58h] [bp-F4h] _BYTE *v101; // [sp+5Ch] [bp-F0h] int v102[3]; // [sp+60h] [bp-ECh] BYREF int v103; // [sp+6Ch] [bp-E0h] BYREF int v104; // [sp+70h] [bp-DCh] _BYTE *v105; // [sp+74h] [bp-D8h] const char *v106; // [sp+78h] [bp-D4h] int v107; // [sp+7Ch] [bp-D0h] int v108; // [sp+80h] [bp-CCh] int v109; // [sp+84h] [bp-C8h] int v110[3]; // [sp+88h] [bp-C4h] BYREF int v111; // [sp+94h] [bp-B8h] BYREF int v112; // [sp+98h] [bp-B4h] _BYTE *v113; // [sp+9Ch] [bp-B0h] int v114[3]; // [sp+A0h] [bp-ACh] BYREF int v115; // [sp+ACh] [bp-A0h] int v116; // [sp+B0h] [bp-9Ch] int v117; // [sp+B4h] [bp-98h] int v118; // [sp+B8h] [bp-94h] int v119; // [sp+BCh] [bp-90h] int v120; // [sp+C0h] [bp-8Ch] int v121; // [sp+C4h] [bp-88h] int v122; // [sp+C8h] [bp-84h] int v123; // [sp+CCh] [bp-80h] int v124; // [sp+D0h] [bp-7Ch] int v125; // [sp+D4h] [bp-78h] int v126; // [sp+D8h] [bp-74h] int v127; // [sp+DCh] [bp-70h] int v128; // [sp+E0h] [bp-6Ch] int v129[3]; // [sp+E4h] [bp-68h] BYREF int v130[3]; // [sp+F0h] [bp-5Ch] BYREF int v131; // [sp+FCh] [bp-50h] int v132; // [sp+100h] [bp-4Ch] BYREF int v133; // [sp+104h] [bp-48h] _BYTE *v134; // [sp+108h] [bp-44h] int v135[3]; // [sp+10Ch] [bp-40h] BYREF int v136; // [sp+118h] [bp-34h] int v137; // [sp+11Ch] [bp-30h] BYREF int v138; // [sp+120h] [bp-2Ch] _BYTE *v139; // [sp+124h] [bp-28h] int v140[3]; // [sp+128h] [bp-24h] BYREF int v141; // [sp+134h] [bp-18h] int v142; // [sp+138h] [bp-14h] int v143; // [sp+13Ch] [bp-10h] int v144; // [sp+140h] [bp-Ch] v5 = *(cocos2d::CCDictionary **)(a1 + 748); v8 = (*(_BYTE *)a3 & 1) != 0; if ( (*(_BYTE *)a3 & 1) == 0 ) v3 = (const char *)(a3 + 1); v103 = 0; if ( v8 ) v3 = *(const char **)(a3 + 8); v104 = 0; v105 = nullptr; v9 = strlen(v3); std::string::__init(&v103, v3, v9); cocos2d::CCDictionary::removeObjectForKey(v5); std::string::~string((int)&v103); v10 = (char *)sub_4ACB58(a3); v11 = sub_4C1A88(a2, ":"); v103 = 0; v104 = 0; v105 = nullptr; v12 = v11; std::string::__init(&v103, "-1", 2u); v13 = sub_4A9CC4(a2, (unsigned __int8 *)&v103); if ( !v13 ) v13 = cocos2d::CCArray::count(v12) <= 0x1Du; std::string::~string((int)&v103); if ( v13 ) { v14 = *(_DWORD *)(a1 + 836); if ( v14 ) (*(void (__fastcall **)(int, char *))(*(_DWORD *)v14 + 164))(v14, v10); } else { v103 = 0; v104 = 0; v105 = nullptr; v106 = nullptr; v107 = -1; v108 = 0; v109 = 0; memset(v110, 0, sizeof(v110)); v111 = 0; v112 = 0; v113 = nullptr; memset(v114, 0, sizeof(v114)); v115 = -1; v116 = 0; v117 = 0; v118 = 0; v119 = 0; v120 = -1; v121 = 0; v122 = 0; v123 = 0; v124 = 0; v125 = 0; v126 = 0; v127 = 0; v128 = 0; memset(v129, 0, sizeof(v129)); memset(v130, 0, sizeof(v130)); v131 = 0; v132 = 0; v133 = 0; v134 = nullptr; memset(v135, 0, sizeof(v135)); v136 = 0; v137 = 0; v138 = 0; v139 = nullptr; memset(v140, 0, sizeof(v140)); v141 = 0; v142 = 0; v143 = 0; v144 = 0; v15 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v12, 0); CString = (const char *)cocos2d::CCString::getCString(v15); v84 = 0; v85 = 0; v86 = 0; v17 = strlen(CString); std::string::__init(&v84, CString, v17); LevelTools::base64DecodeString(&v87, &v84); if ( (v103 & 1) != 0 ) { *v105 = 0; v104 = 0; } else { LOWORD(v103) = 0; } std::string::reserve(&v103, 0); v18 = v87; v19 = v88; v20 = v89; v87 = 0; v88 = 0; v89 = nullptr; v103 = v18; v104 = v19; v105 = v20; std::string::~string((int)&v87); std::string::~string((int)&v84); v21 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v12, 1u); v106 = (const char *)cocos2d::CCString::intValue(v21); v22 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v12, 2u); v107 = cocos2d::CCString::intValue(v22); v23 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v12, 3u); v108 = cocos2d::CCString::intValue(v23); v24 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v12, 4u); v109 = cocos2d::CCString::intValue(v24); v25 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v12, 5u); v26 = (char *)cocos2d::CCString::getCString(v25); std::string::assign(v110, v26); v27 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v12, 6u); v28 = (const char *)cocos2d::CCString::getCString(v27); memset(v90, 0, sizeof(v90)); v29 = strlen(v28); std::string::__init(v90, v28, v29); LevelTools::base64DecodeString(&v91, v90); v31 = v111 & 1; if ( (v111 & 1) != 0 ) { v30 = v113; v31 = 0; } else { BYTE1(v111) = v111 & 1; } if ( (v111 & 1) != 0 ) { *v30 = v31; v112 = v31; } else { LOBYTE(v111) = v31; } std::string::reserve(&v111, 0); v32 = v91; v33 = v92; v34 = v93; v91 = 0; v92 = 0; v93 = nullptr; v111 = v32; v112 = v33; v113 = v34; std::string::~string((int)&v91); std::string::~string((int)v90); v35 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v12, 7u); v36 = (char *)cocos2d::CCString::getCString(v35); std::string::assign(v114, v36); v37 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v12, 8u); v115 = cocos2d::CCString::intValue(v37); v38 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v12, 9u); v116 = cocos2d::CCString::intValue(v38); v39 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v12, 0xAu); v117 = cocos2d::CCString::intValue(v39); v40 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v12, 0xBu); v118 = cocos2d::CCString::intValue(v40); v41 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v12, 0xCu); v119 = cocos2d::CCString::intValue(v41); v42 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v12, 0xDu); v120 = cocos2d::CCString::intValue(v42); v43 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v12, 0xEu); v121 = cocos2d::CCString::intValue(v43); v44 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v12, 0xFu); v122 = cocos2d::CCString::intValue(v44); v45 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v12, 0x10u); v123 = cocos2d::CCString::intValue(v45); v46 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v12, 0x11u); v124 = cocos2d::CCString::intValue(v46); v47 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v12, 0x12u); v125 = cocos2d::CCString::intValue(v47); v48 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v12, 0x13u); v126 = cocos2d::CCString::intValue(v48); v49 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v12, 0x14u); v127 = cocos2d::CCString::intValue(v49); v50 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v12, 0x15u); v128 = cocos2d::CCString::intValue(v50); v51 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v12, 0x16u); v52 = (char *)cocos2d::CCString::getCString(v51); std::string::assign(v129, v52); v53 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v12, 0x17u); v54 = (char *)cocos2d::CCString::getCString(v53); std::string::assign(v130, v54); v55 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v12, 0x18u); v131 = cocos2d::CCString::intValue(v55); v56 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v12, 0x19u); v57 = (const char *)cocos2d::CCString::getCString(v56); memset(v94, 0, sizeof(v94)); v58 = strlen(v57); std::string::__init(v94, v57, v58); LevelTools::base64DecodeString(&v95, v94); v60 = v132 & 1; if ( (v132 & 1) != 0 ) { v59 = v134; v60 = 0; } else { BYTE1(v132) = v132 & 1; } if ( (v132 & 1) != 0 ) { *v59 = v60; v133 = v60; } else { LOBYTE(v132) = v60; } std::string::reserve(&v132, 0); v61 = v95; v62 = v96; v63 = v97; v95 = 0; v96 = 0; v97 = nullptr; v132 = v61; v133 = v62; v134 = v63; std::string::~string((int)&v95); std::string::~string((int)v94); v64 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v12, 0x1Au); v65 = (char *)cocos2d::CCString::getCString(v64); std::string::assign(v135, v65); v66 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v12, 0x1Bu); v67 = (const char *)cocos2d::CCString::getCString(v66); memset(v98, 0, sizeof(v98)); v68 = strlen(v67); std::string::__init(v98, v67, v68); LevelTools::base64DecodeString(&v99, v98); v70 = v137 & 1; if ( (v137 & 1) != 0 ) { v69 = v139; v70 = 0; } else { BYTE1(v137) = v137 & 1; } if ( (v137 & 1) != 0 ) { *v69 = v70; v138 = v70; } else { LOBYTE(v137) = v70; } std::string::reserve(&v137, 0); v71 = v99; v72 = v100; v73 = v101; v99 = 0; v100 = 0; v101 = nullptr; v137 = v71; v138 = v72; v139 = v73; std::string::~string((int)&v99); std::string::~string((int)v98); v74 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v12, 0x1Cu); v75 = (char *)cocos2d::CCString::getCString(v74); std::string::assign(v140, v75); v76 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v12, 0x1Du); v136 = cocos2d::CCString::intValue(v76); if ( cocos2d::CCArray::count(v12) > 0x1Eu ) { v77 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v12, 0x1Eu); v141 = cocos2d::CCString::intValue(v77); } if ( cocos2d::CCArray::count(v12) > 0x1Fu ) { v78 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v12, 0x1Fu); v142 = cocos2d::CCString::intValue(v78); } if ( cocos2d::CCArray::count(v12) > 0x20u ) { v79 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v12, 0x20u); v143 = cocos2d::CCString::intValue(v79); } if ( cocos2d::CCArray::count(v12) > 0x21u ) { v80 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v12, 0x21u); v144 = cocos2d::CCString::intValue(v80); } if ( (v103 & 1) != 0 ) v81 = v104; else v81 = (int)(unsigned __int8)v103 >> 1; if ( v81 ) { v82 = v106; std::string::basic_string(v102, (int)&v103); GameLevelManager::storeUserName((unsigned __int8 *)a1, v82, v10, (unsigned __int8 *)v102); std::string::~string((int)v102); } v83 = *(_DWORD *)(a1 + 836); if ( v83 ) (*(void (__fastcall **)(int, char *, int *, _DWORD, int, int, int))(*(_DWORD *)v83 + 160))( v83, v10, &v103, *(_DWORD *)(*(_DWORD *)v83 + 160), v84, v85, v86); AccountReviewCard::~AccountReviewCard((AccountReviewCard *)&v103); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source