// // GameLevelManager::onAdminGetAccountReviewCompleted from 0x1402470b0 to 0x140247bbe (2830 bytes) // // 2 xrefs: // > GameLevelManager::handleIt @ 0x14021ae3b // > @ 0x14091c2e0 // // 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 11:28:39 +0000 // // Hidden C++ exception states: #wind=6 void __fastcall GameLevelManager::onAdminGetAccountReviewCompleted(_QWORD *a1, __int64 *a2, __int64 a3) { _BYTE *v6; // rdx size_t v7; // rdi size_t v8; // r8 __int64 v9; // r8 __int64 v10; // rdx void *v11; // rcx unsigned int v12; // r12d cocos2d::CCArray *v13; // rbx const void *v14; // rcx unsigned __int64 v15; // r15 size_t v16; // r8 __int64 v18; // rcx cocos2d::CCString *v19; // rax const char *CString; // rax size_t v21; // r8 void *v22; // rcx cocos2d::CCString *v23; // rax cocos2d::CCString *v24; // rax cocos2d::CCString *v25; // rax cocos2d::CCString *v26; // rax cocos2d::CCString *v27; // rax char *v28; // rax size_t v29; // r8 cocos2d::CCString *v30; // rax const char *v31; // rax size_t v32; // r8 void *v33; // rcx cocos2d::CCString *v34; // rax char *v35; // rax size_t v36; // r8 cocos2d::CCString *v37; // rax cocos2d::CCString *v38; // rax cocos2d::CCString *v39; // rax cocos2d::CCString *v40; // rax cocos2d::CCString *v41; // rax cocos2d::CCString *v42; // rax cocos2d::CCString *v43; // rax cocos2d::CCString *v44; // rax cocos2d::CCString *v45; // rax cocos2d::CCString *v46; // rax cocos2d::CCString *v47; // rax cocos2d::CCString *v48; // rax cocos2d::CCString *v49; // rax cocos2d::CCString *v50; // rax cocos2d::CCString *v51; // rax char *v52; // rax size_t v53; // r8 cocos2d::CCString *v54; // rax char *v55; // rax size_t v56; // r8 cocos2d::CCString *v57; // rax cocos2d::CCString *v58; // rax const char *v59; // rax size_t v60; // r8 void *v61; // rcx cocos2d::CCString *v62; // rax char *v63; // rax size_t v64; // r8 cocos2d::CCString *v65; // rax const char *v66; // rax size_t v67; // r8 void *v68; // rcx cocos2d::CCString *v69; // rax char *v70; // rax cocos2d::CCString *v71; // rax cocos2d::CCString *v72; // rax cocos2d::CCString *v73; // rax cocos2d::CCString *v74; // rax __int64 v75; // rcx cocos2d::CCString *v76; // rax __int64 v77; // rbx void **v78; // r15 __int64 v79; // rdi __int64 v80; // rcx void *Block[2]; // [rsp+48h] [rbp-B8h] BYREF __int128 v82; // [rsp+58h] [rbp-A8h] __int128 v83; // [rsp+68h] [rbp-98h] BYREF __int128 v84; // [rsp+78h] [rbp-88h] void *Src[2]; // [rsp+90h] [rbp-70h] BYREF __int128 v86; // [rsp+A0h] [rbp-60h] int v87; // [rsp+B0h] [rbp-50h] int v88; // [rsp+B4h] [rbp-4Ch] int v89; // [rsp+B8h] [rbp-48h] int v90; // [rsp+BCh] [rbp-44h] void *v91[4]; // [rsp+C0h] [rbp-40h] BYREF void *v92[2]; // [rsp+E0h] [rbp-20h] BYREF __int128 v93; // [rsp+F0h] [rbp-10h] void *v94[4]; // [rsp+100h] [rbp+0h] BYREF int v95; // [rsp+120h] [rbp+20h] int v96; // [rsp+124h] [rbp+24h] int v97; // [rsp+128h] [rbp+28h] int v98; // [rsp+12Ch] [rbp+2Ch] int v99; // [rsp+130h] [rbp+30h] int v100; // [rsp+134h] [rbp+34h] int v101; // [rsp+138h] [rbp+38h] int v102; // [rsp+13Ch] [rbp+3Ch] int v103; // [rsp+140h] [rbp+40h] int v104; // [rsp+144h] [rbp+44h] int v105; // [rsp+148h] [rbp+48h] int v106; // [rsp+14Ch] [rbp+4Ch] int v107; // [rsp+150h] [rbp+50h] int v108; // [rsp+154h] [rbp+54h] void *v109[4]; // [rsp+158h] [rbp+58h] BYREF void *v110[4]; // [rsp+178h] [rbp+78h] BYREF int v111; // [rsp+198h] [rbp+98h] void *v112[2]; // [rsp+1A0h] [rbp+A0h] BYREF __int128 v113; // [rsp+1B0h] [rbp+B0h] void *v114[4]; // [rsp+1C0h] [rbp+C0h] BYREF int v115; // [rsp+1E0h] [rbp+E0h] void *v116[2]; // [rsp+1E8h] [rbp+E8h] BYREF __int128 v117; // [rsp+1F8h] [rbp+F8h] void *v118[4]; // [rsp+208h] [rbp+108h] BYREF int v119; // [rsp+228h] [rbp+128h] int v120; // [rsp+22Ch] [rbp+12Ch] int v121; // [rsp+230h] [rbp+130h] int v122; // [rsp+234h] [rbp+134h] v6 = (_BYTE *)a3; if ( *(_QWORD *)(a3 + 24) > 0xFu ) v6 = *(_BYTE **)a3; *(_OWORD *)Block = 0; v82 = 0; v7 = -1; v8 = -1; do ++v8; while ( v6[v8] ); sub_14003D230(Block, v6, v8); cocos2d::CCDictionary::removeObjectForKey(a1[150], Block); v10 = *((_QWORD *)&v82 + 1); if ( *((_QWORD *)&v82 + 1) > 0xFu ) { v11 = Block[0]; if ( (unsigned __int64)(*((_QWORD *)&v82 + 1) + 1LL) >= 0x1000 ) { v11 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v11 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v11); } v12 = sub_140241F40((const char *)a3, v10, v9); v13 = sub_1400D2840(a2, ":"); *(_OWORD *)Block = 0; *(_QWORD *)&v82 = 2; *((_QWORD *)&v82 + 1) = 15; strcpy((char *)Block, "-1"); v14 = a2; if ( (unsigned __int64)a2[3] > 0xF ) v14 = (const void *)*a2; v15 = a2[2]; v16 = v15; if ( v15 > 2 ) v16 = 2; if ( !memcmp(v14, Block, v16) && v15 == 2 || cocos2d::CCArray::count(v13) < 0x1E ) { v18 = a1[173]; if ( v18 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v18 + 328LL))(v18, v12); } else { sub_1400AC000((__int64)Src); v19 = cocos2d::CCArray::stringAtIndex(v13, 0); CString = cocos2d::CCString::getCString(v19); *(_OWORD *)Block = 0; v82 = 0u; v21 = -1; do ++v21; while ( CString[v21] ); sub_14003D230(Block, CString, v21); if ( (_QWORD)v82 ) { cocos2d::ZipUtils::base64URLDecode(&v83, Block); } else { v83 = *(_OWORD *)Block; v84 = v82; *(_QWORD *)&v82 = 0; *((_QWORD *)&v82 + 1) = 15; LOBYTE(Block[0]) = 0; } sub_14003D310((__int64)Block); if ( *((_QWORD *)&v86 + 1) > 0xFu ) { v22 = Src[0]; if ( (unsigned __int64)(*((_QWORD *)&v86 + 1) + 1LL) >= 0x1000 ) { v22 = *((void **)Src[0] - 1); if ( (unsigned __int64)((char *)Src[0] - (char *)v22 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v22); } *(_OWORD *)Src = v83; v86 = v84; v23 = cocos2d::CCArray::stringAtIndex(v13, 1u); v87 = cocos2d::CCString::intValue(v23); v24 = cocos2d::CCArray::stringAtIndex(v13, 2u); v88 = cocos2d::CCString::intValue(v24); v25 = cocos2d::CCArray::stringAtIndex(v13, 3u); v89 = cocos2d::CCString::intValue(v25); v26 = cocos2d::CCArray::stringAtIndex(v13, 4u); v90 = cocos2d::CCString::intValue(v26); v27 = cocos2d::CCArray::stringAtIndex(v13, 5u); v28 = (char *)cocos2d::CCString::getCString(v27); v29 = -1; do ++v29; while ( v28[v29] ); sub_1400405A0(v91, v28, v29); v30 = cocos2d::CCArray::stringAtIndex(v13, 6u); v31 = cocos2d::CCString::getCString(v30); *(_OWORD *)Block = 0; v82 = 0u; v32 = -1; do ++v32; while ( v31[v32] ); sub_14003D230(Block, v31, v32); if ( (_QWORD)v82 ) { cocos2d::ZipUtils::base64URLDecode(&v83, Block); } else { v83 = *(_OWORD *)Block; v84 = v82; *(_QWORD *)&v82 = 0; *((_QWORD *)&v82 + 1) = 15; LOBYTE(Block[0]) = 0; } sub_14003D310((__int64)Block); if ( *((_QWORD *)&v93 + 1) > 0xFu ) { v33 = v92[0]; if ( (unsigned __int64)(*((_QWORD *)&v93 + 1) + 1LL) >= 0x1000 ) { v33 = *((void **)v92[0] - 1); if ( (unsigned __int64)((char *)v92[0] - (char *)v33 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v33); } *(_OWORD *)v92 = v83; v93 = v84; v34 = cocos2d::CCArray::stringAtIndex(v13, 7u); v35 = (char *)cocos2d::CCString::getCString(v34); v36 = -1; do ++v36; while ( v35[v36] ); sub_1400405A0(v94, v35, v36); v37 = cocos2d::CCArray::stringAtIndex(v13, 8u); v95 = cocos2d::CCString::intValue(v37); v38 = cocos2d::CCArray::stringAtIndex(v13, 9u); v96 = cocos2d::CCString::intValue(v38); v39 = cocos2d::CCArray::stringAtIndex(v13, 0xAu); v97 = cocos2d::CCString::intValue(v39); v40 = cocos2d::CCArray::stringAtIndex(v13, 0xBu); v98 = cocos2d::CCString::intValue(v40); v41 = cocos2d::CCArray::stringAtIndex(v13, 0xCu); v99 = cocos2d::CCString::intValue(v41); v42 = cocos2d::CCArray::stringAtIndex(v13, 0xDu); v100 = cocos2d::CCString::intValue(v42); v43 = cocos2d::CCArray::stringAtIndex(v13, 0xEu); v101 = cocos2d::CCString::intValue(v43); v44 = cocos2d::CCArray::stringAtIndex(v13, 0xFu); v102 = cocos2d::CCString::intValue(v44); v45 = cocos2d::CCArray::stringAtIndex(v13, 0x10u); v103 = cocos2d::CCString::intValue(v45); v46 = cocos2d::CCArray::stringAtIndex(v13, 0x11u); v104 = cocos2d::CCString::intValue(v46); v47 = cocos2d::CCArray::stringAtIndex(v13, 0x12u); v105 = cocos2d::CCString::intValue(v47); v48 = cocos2d::CCArray::stringAtIndex(v13, 0x13u); v106 = cocos2d::CCString::intValue(v48); v49 = cocos2d::CCArray::stringAtIndex(v13, 0x14u); v107 = cocos2d::CCString::intValue(v49); v50 = cocos2d::CCArray::stringAtIndex(v13, 0x15u); v108 = cocos2d::CCString::intValue(v50); v51 = cocos2d::CCArray::stringAtIndex(v13, 0x16u); v52 = (char *)cocos2d::CCString::getCString(v51); v53 = -1; do ++v53; while ( v52[v53] ); sub_1400405A0(v109, v52, v53); v54 = cocos2d::CCArray::stringAtIndex(v13, 0x17u); v55 = (char *)cocos2d::CCString::getCString(v54); v56 = -1; do ++v56; while ( v55[v56] ); sub_1400405A0(v110, v55, v56); v57 = cocos2d::CCArray::stringAtIndex(v13, 0x18u); v111 = cocos2d::CCString::intValue(v57); v58 = cocos2d::CCArray::stringAtIndex(v13, 0x19u); v59 = cocos2d::CCString::getCString(v58); *(_OWORD *)Block = 0; v82 = 0u; v60 = -1; do ++v60; while ( v59[v60] ); sub_14003D230(Block, v59, v60); if ( (_QWORD)v82 ) { cocos2d::ZipUtils::base64URLDecode(&v83, Block); } else { v83 = *(_OWORD *)Block; v84 = v82; *(_QWORD *)&v82 = 0; *((_QWORD *)&v82 + 1) = 15; LOBYTE(Block[0]) = 0; } sub_14003D310((__int64)Block); if ( *((_QWORD *)&v113 + 1) > 0xFu ) { v61 = v112[0]; if ( (unsigned __int64)(*((_QWORD *)&v113 + 1) + 1LL) >= 0x1000 ) { v61 = *((void **)v112[0] - 1); if ( (unsigned __int64)((char *)v112[0] - (char *)v61 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v61); } *(_OWORD *)v112 = v83; v113 = v84; v62 = cocos2d::CCArray::stringAtIndex(v13, 0x1Au); v63 = (char *)cocos2d::CCString::getCString(v62); v64 = -1; do ++v64; while ( v63[v64] ); sub_1400405A0(v114, v63, v64); v65 = cocos2d::CCArray::stringAtIndex(v13, 0x1Bu); v66 = cocos2d::CCString::getCString(v65); *(_OWORD *)Block = 0; v82 = 0u; v67 = -1; do ++v67; while ( v66[v67] ); sub_14003D230(Block, v66, v67); if ( (_QWORD)v82 ) { cocos2d::ZipUtils::base64URLDecode(&v83, Block); } else { v83 = *(_OWORD *)Block; v84 = v82; *(_QWORD *)&v82 = 0; *((_QWORD *)&v82 + 1) = 15; LOBYTE(Block[0]) = 0; } sub_14003D310((__int64)Block); if ( *((_QWORD *)&v117 + 1) > 0xFu ) { v68 = v116[0]; if ( (unsigned __int64)(*((_QWORD *)&v117 + 1) + 1LL) >= 0x1000 ) { v68 = *((void **)v116[0] - 1); if ( (unsigned __int64)((char *)v116[0] - (char *)v68 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v68); } *(_OWORD *)v116 = v83; v117 = v84; v69 = cocos2d::CCArray::stringAtIndex(v13, 0x1Cu); v70 = (char *)cocos2d::CCString::getCString(v69); do ++v7; while ( v70[v7] ); sub_1400405A0(v118, v70, v7); v71 = cocos2d::CCArray::stringAtIndex(v13, 0x1Du); v115 = cocos2d::CCString::intValue(v71); if ( cocos2d::CCArray::count(v13) > 0x1E ) { v72 = cocos2d::CCArray::stringAtIndex(v13, 0x1Eu); v119 = cocos2d::CCString::intValue(v72); } if ( cocos2d::CCArray::count(v13) > 0x1F ) { v73 = cocos2d::CCArray::stringAtIndex(v13, 0x1Fu); v120 = cocos2d::CCString::intValue(v73); } if ( cocos2d::CCArray::count(v13) > 0x20 ) { v74 = cocos2d::CCArray::stringAtIndex(v13, 0x20u); v121 = cocos2d::CCString::intValue(v74); } if ( cocos2d::CCArray::count(v13) > 0x21 ) { v76 = cocos2d::CCArray::stringAtIndex(v13, 0x21u); v122 = cocos2d::CCString::intValue(v76); } v77 = v86; if ( (_QWORD)v86 ) { *(_OWORD *)Block = 0; v82 = 0u; v78 = Src; if ( *((_QWORD *)&v86 + 1) > 0xFu ) v78 = (void **)Src[0]; v79 = 0x7FFFFFFFFFFFFFFFLL; if ( (unsigned __int64)v86 > 0x7FFFFFFFFFFFFFFFLL ) sub_140009D90(v75); if ( (unsigned __int64)v86 > 0xF ) { if ( ((unsigned __int64)v86 | 0xF) <= 0x7FFFFFFFFFFFFFFFLL ) { v79 = v86 | 0xF; if ( ((unsigned __int64)v86 | 0xF) < 0x16 ) v79 = 22; } Block[0] = sub_14003D460(v79 + 1); *(_QWORD *)&v82 = v77; *((_QWORD *)&v82 + 1) = v79; memcpy(Block[0], v78, v77 + 1); } else { *(_QWORD *)&v82 = v86; *((_QWORD *)&v82 + 1) = 15; *(_OWORD *)Block = *(_OWORD *)v78; } GameLevelManager::storeUserName(a1, v87, v12, Block); } v80 = a1[173]; if ( v80 ) (*(void (__fastcall **)(__int64, _QWORD, void **))(*(_QWORD *)v80 + 320LL))(v80, v12, Src); sub_14003D310((__int64)v118); sub_14003D310((__int64)v116); sub_14003D310((__int64)v114); sub_14003D310((__int64)v112); sub_14003D310((__int64)v110); sub_14003D310((__int64)v109); sub_14003D310((__int64)v94); sub_14003D310((__int64)v92); sub_14003D310((__int64)v91); sub_14003D310((__int64)Src); } sub_14003D310((__int64)a2); sub_14003D310(a3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source