// // GJUserScore::create from 0x1401710b0 to 0x140172b4d (6813 bytes) // // 6 xrefs: // > GameLevelManager::createAndGetScores @ 0x140147365 // > GameLevelManager::onGetGJUserInfoCompleted @ 0x14015a0fe // > GameLevelManager::createAndGetCommentsFull @ 0x14015d31c // > GameLevelManager::onGetFriendRequestsCompleted @ 0x140160399 // > GameLevelManager::onGetUserListCompleted @ 0x140162ed1 // > @ 0x1406caea8 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // Hidden C++ exception states: #wind=19 GJUserScore *GJUserScore::create(cocos2d::CCDictionary *a1) { cocos2d::CCString *v3; // rax const char *CString; // rax size_t v5; // rsi size_t v6; // r8 void *v7; // rcx cocos2d::CCString *v8; // rax const char *v9; // rax size_t v10; // r8 void *v11; // rcx cocos2d::CCString *v12; // rax void *v13; // rcx cocos2d::CCString *v14; // rax void *v15; // rcx cocos2d::CCString *v16; // rax void *v17; // rcx cocos2d::CCString *v18; // rax void *v19; // rcx cocos2d::CCString *v20; // rax void *v21; // rcx cocos2d::CCString *v22; // rax void *v23; // rcx cocos2d::CCString *v24; // rax void *v25; // rcx cocos2d::CCString *v26; // rax void *v27; // rcx cocos2d::CCString *v28; // rax void *v29; // rcx cocos2d::CCString *v30; // rax void *v31; // rcx cocos2d::CCString *v32; // rax void *v33; // rcx cocos2d::CCString *v34; // rax void *v35; // rcx cocos2d::CCString *v36; // rax void *v37; // rcx cocos2d::CCString *v38; // rax void *v39; // rcx cocos2d::CCString *v40; // rax void *v41; // rcx cocos2d::CCString *v42; // rax void *v43; // rcx cocos2d::CCString *v44; // rax void *v45; // rcx cocos2d::CCString *v46; // rax void *v47; // rcx GJUserScore *v48; // rax GJUserScore *v49; // rax __int64 v50; // rdx __int64 v51; // rcx __int64 v52; // r8 __int64 v53; // r9 __int64 v54; // rdi void **v55; // r12 size_t v56; // r14 size_t v57; // r13 unsigned __int64 v58; // rax size_t v59; // r15 void **v60; // rdx __int64 v61; // rdx __int64 v62; // rcx __int64 v63; // r8 __int64 v64; // r9 void **v65; // r13 char *v66; // r12 size_t v67; // r15 unsigned __int64 v68; // rax void **v69; // rdx cocos2d::CCString *v70; // rax const char *v71; // rax size_t v72; // r8 void **v73; // rdx void *v74; // rcx cocos2d::CCString *v75; // rax bool v76; // r14 void *v77; // rcx cocos2d::CCString *v78; // rax cocos2d::CCString *v79; // rax void *v80; // rcx cocos2d::CCString *v81; // rax const char *v82; // rax size_t v83; // r8 void *v84; // rcx cocos2d::CCString *v85; // rax const char *v86; // rax size_t v87; // r8 void *v88; // rcx cocos2d::CCString *v89; // rax const char *v90; // rax void *v91; // rcx cocos2d::CCString *v92; // rax void *v93; // rcx cocos2d::CCString *v94; // rax void *v95; // rcx cocos2d::CCString *v96; // rax void *v97; // rcx cocos2d::CCString *v98; // rax void *v99; // rcx cocos2d::CCString *v100; // rax void *v101; // rcx cocos2d::CCString *v102; // rax __int64 v103; // rcx cocos2d::CCString *v104; // rax cocos2d::CCString *v105; // rax cocos2d::CCString *v106; // rax cocos2d::CCString *v107; // rax cocos2d::CCString *v108; // rax cocos2d::CCString *v109; // rax cocos2d::CCString *v110; // rax int v111; // r13d cocos2d::CCString *v112; // rax int v113; // r12d cocos2d::CCString *v114; // rax int v115; // r15d cocos2d::CCString *v116; // rax int v117; // r14d cocos2d::CCString *v118; // rax int v119; // esi cocos2d::CCString *v120; // rax int v121; // edi void **v122; // rax void **v123; // rax void **v124; // rax cocos2d::CCString *v125; // rax const char *v126; // rax void **v127; // rax cocos2d::CCString *v128; // rax const char *v129; // rax void **v130; // rax cocos2d::CCString *v131; // rax const char *v132; // rax void **v133; // rax cocos2d::CCString *v134; // rax const char *v135; // rax void **v136; // rax cocos2d::CCString *v137; // rax const char *v138; // rax void **v139; // rax cocos2d::CCString *v140; // rax const char *v141; // rax void **v142; // rax cocos2d::CCString *v143; // rax const char *v144; // rax void **v145; // rax char *v146; // rax void *v147; // rcx bool v148; // [rsp+20h] [rbp-E0h] bool v149; // [rsp+20h] [rbp-E0h] bool v150; // [rsp+21h] [rbp-DFh] __int64 v151; // [rsp+30h] [rbp-D0h] int v152; // [rsp+38h] [rbp-C8h] int v153; // [rsp+38h] [rbp-C8h] int v154; // [rsp+3Ch] [rbp-C4h] int v155; // [rsp+3Ch] [rbp-C4h] int v156; // [rsp+40h] [rbp-C0h] int v157; // [rsp+40h] [rbp-C0h] int v158; // [rsp+44h] [rbp-BCh] int v159; // [rsp+44h] [rbp-BCh] int v160; // [rsp+48h] [rbp-B8h] int v161; // [rsp+48h] [rbp-B8h] int v162; // [rsp+4Ch] [rbp-B4h] int v163; // [rsp+4Ch] [rbp-B4h] int v164; // [rsp+50h] [rbp-B0h] int v165; // [rsp+50h] [rbp-B0h] int v166; // [rsp+54h] [rbp-ACh] int v167; // [rsp+54h] [rbp-ACh] int v168; // [rsp+58h] [rbp-A8h] int v169; // [rsp+58h] [rbp-A8h] int v170; // [rsp+5Ch] [rbp-A4h] int v171; // [rsp+5Ch] [rbp-A4h] int v172; // [rsp+60h] [rbp-A0h] int v173; // [rsp+60h] [rbp-A0h] int v174; // [rsp+64h] [rbp-9Ch] int v175; // [rsp+64h] [rbp-9Ch] int v176; // [rsp+68h] [rbp-98h] int v177; // [rsp+68h] [rbp-98h] void *v178[2]; // [rsp+70h] [rbp-90h] BYREF size_t v179; // [rsp+80h] [rbp-80h] __int64 v180; // [rsp+88h] [rbp-78h] void *v181[2]; // [rsp+90h] [rbp-70h] BYREF size_t v182; // [rsp+A0h] [rbp-60h] __int64 v183; // [rsp+A8h] [rbp-58h] int v184; // [rsp+B0h] [rbp-50h] int v185; // [rsp+B4h] [rbp-4Ch] int v186; // [rsp+B8h] [rbp-48h] int v187; // [rsp+BCh] [rbp-44h] _BYTE v188[32]; // [rsp+C0h] [rbp-40h] BYREF void *v189[2]; // [rsp+E0h] [rbp-20h] BYREF size_t v190; // [rsp+F0h] [rbp-10h] unsigned __int64 v191; // [rsp+F8h] [rbp-8h] void *v192[2]; // [rsp+100h] [rbp+0h] BYREF __int64 v193; // [rsp+110h] [rbp+10h] unsigned __int64 v194; // [rsp+118h] [rbp+18h] void *Block[2]; // [rsp+120h] [rbp+20h] BYREF __int64 v196; // [rsp+130h] [rbp+30h] unsigned __int64 v197; // [rsp+138h] [rbp+38h] void *v198[2]; // [rsp+140h] [rbp+40h] BYREF size_t v199; // [rsp+150h] [rbp+50h] unsigned __int64 v200; // [rsp+158h] [rbp+58h] void *Src[2]; // [rsp+160h] [rbp+60h] BYREF size_t Size; // [rsp+170h] [rbp+70h] unsigned __int64 v203; // [rsp+178h] [rbp+78h] __int128 v204; // [rsp+180h] [rbp+80h] BYREF __int64 v205; // [rsp+190h] [rbp+90h] __int64 v206; // [rsp+198h] [rbp+98h] __int128 v207; // [rsp+1A0h] [rbp+A0h] BYREF __int64 v208; // [rsp+1B0h] [rbp+B0h] __int64 v209; // [rsp+1B8h] [rbp+B8h] __int128 v210; // [rsp+1C0h] [rbp+C0h] BYREF __int64 v211; // [rsp+1D0h] [rbp+D0h] __int64 v212; // [rsp+1D8h] [rbp+D8h] if ( !a1 ) return nullptr; *(_OWORD *)Block = 0; v196 = 1; v197 = 15; LOWORD(Block[0]) = 49; v3 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, Block); CString = cocos2d::CCString::getCString(v3); *(_OWORD *)Src = 0; Size = 0; v203 = 0; v5 = -1; v6 = -1; do ++v6; while ( CString[v6] ); sub_14003A930(Src, CString, v6); if ( v197 > 0xF ) { v7 = Block[0]; if ( v197 + 1 >= 0x1000 ) { v7 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v7 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v7); } *(_OWORD *)Block = 0; v196 = 1; v197 = 15; LOWORD(Block[0]) = 55; v8 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, Block); v9 = cocos2d::CCString::getCString(v8); *(_OWORD *)v198 = 0; v199 = 0; v200 = 0; v10 = -1; do ++v10; while ( v9[v10] ); sub_14003A930(v198, v9, v10); if ( v197 > 0xF ) { v11 = Block[0]; if ( v197 + 1 >= 0x1000 ) { v11 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v11 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v11); } v196 = 0; v197 = 15; LOBYTE(Block[0]) = 0; *(_OWORD *)v192 = 0; v193 = 1; v194 = 15; LOWORD(v192[0]) = 50; v12 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v184 = cocos2d::CCString::intValue(v12); if ( v194 > 0xF ) { v13 = v192[0]; if ( v194 + 1 >= 0x1000 ) { v13 = *((void **)v192[0] - 1); if ( (unsigned __int64)((char *)v192[0] - (char *)v13 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v13); } *(_OWORD *)v192 = 0; v193 = 1; v194 = 15; LOWORD(v192[0]) = 51; v14 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v185 = cocos2d::CCString::intValue(v14); if ( v194 > 0xF ) { v15 = v192[0]; if ( v194 + 1 >= 0x1000 ) { v15 = *((void **)v192[0] - 1); if ( (unsigned __int64)((char *)v192[0] - (char *)v15 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v15); } *(_OWORD *)v192 = 0; v193 = 1; v194 = 15; LOWORD(v192[0]) = 52; v16 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v187 = cocos2d::CCString::intValue(v16); if ( v194 > 0xF ) { v17 = v192[0]; if ( v194 + 1 >= 0x1000 ) { v17 = *((void **)v192[0] - 1); if ( (unsigned __int64)((char *)v192[0] - (char *)v17 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v17); } *(_OWORD *)v192 = 0; v193 = 1; v194 = 15; LOWORD(v192[0]) = (unsigned __int8)a6[0]; v18 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v152 = cocos2d::CCString::intValue(v18); if ( v194 > 0xF ) { v19 = v192[0]; if ( v194 + 1 >= 0x1000 ) { v19 = *((void **)v192[0] - 1); if ( (unsigned __int64)((char *)v192[0] - (char *)v19 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v19); } *(_OWORD *)v192 = 0; v193 = 1; v194 = 15; LOWORD(v192[0]) = (unsigned __int8)a8[0]; v20 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v154 = cocos2d::CCString::intValue(v20); if ( v194 > 0xF ) { v21 = v192[0]; if ( v194 + 1 >= 0x1000 ) { v21 = *((void **)v192[0] - 1); if ( (unsigned __int64)((char *)v192[0] - (char *)v21 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v21); } *(_OWORD *)v192 = 0; v193 = 2; v194 = 15; strcpy((char *)v192, "13"); v22 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v156 = cocos2d::CCString::intValue(v22); if ( v194 > 0xF ) { v23 = v192[0]; if ( v194 + 1 >= 0x1000 ) { v23 = *((void **)v192[0] - 1); if ( (unsigned __int64)((char *)v192[0] - (char *)v23 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v23); } *(_OWORD *)v192 = 0; v193 = 2; v194 = 15; strcpy((char *)v192, "17"); v24 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v158 = cocos2d::CCString::intValue(v24); if ( v194 > 0xF ) { v25 = v192[0]; if ( v194 + 1 >= 0x1000 ) { v25 = *((void **)v192[0] - 1); if ( (unsigned __int64)((char *)v192[0] - (char *)v25 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v25); } *(_OWORD *)v192 = 0; v193 = 2; v194 = 15; strcpy((char *)v192, "46"); v26 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v166 = cocos2d::CCString::intValue(v26); if ( v194 > 0xF ) { v27 = v192[0]; if ( v194 + 1 >= 0x1000 ) { v27 = *((void **)v192[0] - 1); if ( (unsigned __int64)((char *)v192[0] - (char *)v27 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v27); } *(_OWORD *)v192 = 0; v193 = 2; v194 = 15; strcpy((char *)v192, "52"); v28 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v186 = cocos2d::CCString::intValue(v28); if ( v194 > 0xF ) { v29 = v192[0]; if ( v194 + 1 >= 0x1000 ) { v29 = *((void **)v192[0] - 1); if ( (unsigned __int64)((char *)v192[0] - (char *)v29 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v29); } *(_OWORD *)v192 = 0; v193 = 1; v194 = 15; LOWORD(v192[0]) = (unsigned __int8)a9[0]; v30 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v168 = cocos2d::CCString::intValue(v30); if ( v194 > 0xF ) { v31 = v192[0]; if ( v194 + 1 >= 0x1000 ) { v31 = *((void **)v192[0] - 1); if ( (unsigned __int64)((char *)v192[0] - (char *)v31 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v31); } *(_OWORD *)v192 = 0; v193 = 2; v194 = 15; strcpy((char *)v192, "10"); v32 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v170 = cocos2d::CCString::intValue(v32); if ( v194 > 0xF ) { v33 = v192[0]; if ( v194 + 1 >= 0x1000 ) { v33 = *((void **)v192[0] - 1); if ( (unsigned __int64)((char *)v192[0] - (char *)v33 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v33); } *(_OWORD *)v192 = 0; v193 = 2; v194 = 15; strcpy((char *)v192, "11"); v34 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v172 = cocos2d::CCString::intValue(v34); if ( v194 > 0xF ) { v35 = v192[0]; if ( v194 + 1 >= 0x1000 ) { v35 = *((void **)v192[0] - 1); if ( (unsigned __int64)((char *)v192[0] - (char *)v35 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v35); } *(_OWORD *)v192 = 0; v193 = 2; v194 = 15; strcpy((char *)v192, "51"); v36 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v174 = cocos2d::CCString::intValue(v36); if ( v194 > 0xF ) { v37 = v192[0]; if ( v194 + 1 >= 0x1000 ) { v37 = *((void **)v192[0] - 1); if ( (unsigned __int64)((char *)v192[0] - (char *)v37 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v37); } *(_OWORD *)v192 = 0; v193 = 2; v194 = 15; strcpy((char *)v192, "14"); v38 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v160 = cocos2d::CCString::intValue(v38); if ( v194 > 0xF ) { v39 = v192[0]; if ( v194 + 1 >= 0x1000 ) { v39 = *((void **)v192[0] - 1); if ( (unsigned __int64)((char *)v192[0] - (char *)v39 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v39); } *(_OWORD *)v192 = 0; v193 = 2; v194 = 15; strcpy((char *)v192, "15"); v40 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v162 = cocos2d::CCString::intValue(v40); if ( v194 > 0xF ) { v41 = v192[0]; if ( v194 + 1 >= 0x1000 ) { v41 = *((void **)v192[0] - 1); if ( (unsigned __int64)((char *)v192[0] - (char *)v41 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v41); } *(_OWORD *)v192 = 0; v193 = 2; v194 = 15; strcpy((char *)v192, "16"); v42 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v164 = cocos2d::CCString::intValue(v42); if ( v194 > 0xF ) { v43 = v192[0]; if ( v194 + 1 >= 0x1000 ) { v43 = *((void **)v192[0] - 1); if ( (unsigned __int64)((char *)v192[0] - (char *)v43 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v43); } *(_OWORD *)v192 = 0; v193 = 2; v194 = 15; strcpy((char *)v192, "41"); v44 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v148 = cocos2d::CCString::boolValue(v44); if ( v194 > 0xF ) { v45 = v192[0]; if ( v194 + 1 >= 0x1000 ) { v45 = *((void **)v192[0] - 1); if ( (unsigned __int64)((char *)v192[0] - (char *)v45 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v45); } *(_OWORD *)v192 = 0; v193 = 2; v194 = 15; strcpy((char *)v192, "18"); v46 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v176 = cocos2d::CCString::intValue(v46); if ( v194 > 0xF ) { v47 = v192[0]; if ( v194 + 1 >= 0x1000 ) { v47 = *((void **)v192[0] - 1); if ( (unsigned __int64)((char *)v192[0] - (char *)v47 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v47); } v48 = (GJUserScore *)operator new(0x398u); v49 = GJUserScore::GJUserScore(v48); v54 = (__int64)v49; v151 = (__int64)v49; if ( v49 ) { if ( v49->init(v49) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v54); } else { (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v54 + 8LL))(v54, 1); v54 = 0; v151 = 0; } } *(_OWORD *)v178 = 0; v179 = 0; v180 = 0; v55 = Src; if ( v203 > 0xF ) v55 = (void **)Src[0]; v56 = 0x7FFFFFFFFFFFFFFFLL; v57 = Size; if ( Size > 0x7FFFFFFFFFFFFFFFLL ) sub_140007B50(v51, v50, v52, v53); if ( Size > 0xF ) { v180 = 15; v59 = Size | 0xF; if ( (Size | 0xF) <= 0x7FFFFFFFFFFFFFFFLL ) { if ( v59 < 0x16 ) v59 = 22; } else { v59 = 0x7FFFFFFFFFFFFFFFLL; } v178[0] = sub_14003AA10(v59 + 1); v179 = v57; v180 = v59; memcpy(v178[0], v55, v57 + 1); v58 = v59; } else { v179 = Size; v58 = 15; v180 = 15; *(_OWORD *)v178 = *(_OWORD *)v55; } if ( (void **)(v54 + 320) != v178 ) { v60 = v178; if ( v58 > 0xF ) v60 = (void **)v178[0]; sub_14003CCE0((void **)(v54 + 320), v60, v57); } sub_14003A830((__int64)v178); *(_OWORD *)v181 = 0; v182 = 0; v183 = 0; v65 = v198; v150 = v200 > 0xF; v66 = (char *)v198[0]; if ( v200 > 0xF ) v65 = (void **)v198[0]; v67 = v199; if ( v199 > 0x7FFFFFFFFFFFFFFFLL ) sub_140007B50(v62, v61, v63, v64); if ( v199 > 0xF ) { v183 = 15; if ( (v199 | 0xF) <= 0x7FFFFFFFFFFFFFFFLL ) { v56 = v199 | 0xF; if ( (v199 | 0xF) < 0x16 ) v56 = 22; } v181[0] = sub_14003AA10(v56 + 1); v182 = v67; v183 = v56; memcpy(v181[0], v65, v67 + 1); v68 = v183; v67 = v182; } else { v182 = v199; v68 = 15; v183 = 15; *(_OWORD *)v181 = *(_OWORD *)v65; } if ( (void **)(v54 + 352) != v181 ) { v69 = v181; if ( v68 > 0xF ) v69 = (void **)v181[0]; sub_14003CCE0((void **)(v54 + 352), v69, v67); } sub_14003A830((__int64)v181); *(_DWORD *)(v54 + 388) = v184; *(_DWORD *)(v54 + 396) = v185; *(_DWORD *)(v54 + 400) = v186; *(_DWORD *)(v54 + 408) = v187; *(_DWORD *)(v54 + 412) = v152; *(_DWORD *)(v54 + 416) = v154; *(_DWORD *)(v54 + 420) = v156; *(_DWORD *)(v54 + 424) = v158; *(_DWORD *)(v54 + 448) = v160; *(_DWORD *)(v54 + 444) = v162; *(_DWORD *)(v54 + 392) = v164; *(_DWORD *)(v54 + 404) = v166; *(_DWORD *)(v54 + 428) = v168; *(_DWORD *)(v54 + 432) = v170; *(_DWORD *)(v54 + 436) = v172; *(_DWORD *)(v54 + 440) = v174; *(_BYTE *)(v54 + 760) = v148; *(_DWORD *)(v54 + 452) = v176; *(_OWORD *)v192 = 0; v193 = 2; v194 = 15; strcpy((char *)v192, "42"); v70 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v71 = cocos2d::CCString::getCString(v70); *(_OWORD *)v189 = 0; v190 = 0; v191 = 0; v72 = -1; do ++v72; while ( v71[v72] ); sub_14003A930(v189, v71, v72); if ( (void **)(v54 + 768) != v189 ) { v73 = v189; if ( v191 > 0xF ) v73 = (void **)v189[0]; sub_14003CCE0((void **)(v54 + 768), v73, v190); } sub_14003A830((__int64)v189); if ( v194 > 0xF ) { v74 = v192[0]; if ( v194 + 1 >= 0x1000 ) { v74 = *((void **)v192[0] - 1); if ( (unsigned __int64)((char *)v192[0] - (char *)v74 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v74); } *(_OWORD *)v192 = 0; v193 = 2; v194 = 15; strcpy((char *)v192, "29"); v75 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v76 = cocos2d::CCString::boolValue(v75); if ( v194 > 0xF ) { v77 = v192[0]; if ( v194 + 1 >= 0x1000 ) { v77 = *((void **)v192[0] - 1); if ( (unsigned __int64)((char *)v192[0] - (char *)v77 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v77); } if ( v76 ) { sub_14003A7F0((__int64)v192, (__int64)&word_14054445C); v78 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v177 = cocos2d::CCString::intValue(v78); sub_14003A830((__int64)v192); *(_OWORD *)v192 = 0; v193 = 2; v194 = 15; strcpy((char *)v192, "50"); v79 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v175 = cocos2d::CCString::intValue(v79); if ( v194 > 0xF ) { v80 = v192[0]; if ( v194 + 1 >= 0x1000 ) { v80 = *((void **)v192[0] - 1); if ( (unsigned __int64)((char *)v192[0] - (char *)v80 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v80); } *(_OWORD *)v192 = 0; v193 = 2; v194 = 15; strcpy((char *)v192, "20"); v81 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v82 = cocos2d::CCString::getCString(v81); v210 = 0; v211 = 0; v212 = 0; v83 = -1; do ++v83; while ( v82[v83] ); sub_14003A930(&v210, v82, v83); if ( v194 > 0xF ) { v84 = v192[0]; if ( v194 + 1 >= 0x1000 ) { v84 = *((void **)v192[0] - 1); if ( (unsigned __int64)((char *)v192[0] - (char *)v84 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v84); } *(_OWORD *)v192 = 0; v193 = 2; v194 = 15; strcpy((char *)v192, "44"); v85 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v86 = cocos2d::CCString::getCString(v85); v207 = 0; v208 = 0; v209 = 0; v87 = -1; do ++v87; while ( v86[v87] ); sub_14003A930(&v207, v86, v87); if ( v194 > 0xF ) { v88 = v192[0]; if ( v194 + 1 >= 0x1000 ) { v88 = *((void **)v192[0] - 1); if ( (unsigned __int64)((char *)v192[0] - (char *)v88 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v88); } *(_OWORD *)Block = 0; v196 = 2; v197 = 15; strcpy((char *)Block, "45"); v89 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, Block); v90 = cocos2d::CCString::getCString(v89); v204 = 0; v205 = 0; v206 = 0; do ++v5; while ( v90[v5] ); sub_14003A930(&v204, v90, v5); if ( v197 > 0xF ) { v91 = Block[0]; if ( v197 + 1 >= 0x1000 ) { v91 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v91 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v91); } v196 = 0; v197 = 15; LOBYTE(Block[0]) = 0; *(_OWORD *)v192 = 0; v193 = 2; v194 = 15; strcpy((char *)v192, "21"); v92 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v173 = cocos2d::CCString::intValue(v92); if ( v194 > 0xF ) { v93 = v192[0]; if ( v194 + 1 >= 0x1000 ) { v93 = *((void **)v192[0] - 1); if ( (unsigned __int64)((char *)v192[0] - (char *)v93 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v93); } *(_OWORD *)v192 = 0; v193 = 2; v194 = 15; strcpy((char *)v192, "22"); v94 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v171 = cocos2d::CCString::intValue(v94); if ( v194 > 0xF ) { v95 = v192[0]; if ( v194 + 1 >= 0x1000 ) { v95 = *((void **)v192[0] - 1); if ( (unsigned __int64)((char *)v192[0] - (char *)v95 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v95); } *(_OWORD *)v192 = 0; v193 = 2; v194 = 15; strcpy((char *)v192, "23"); v96 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v169 = cocos2d::CCString::intValue(v96); if ( v194 > 0xF ) { v97 = v192[0]; if ( v194 + 1 >= 0x1000 ) { v97 = *((void **)v192[0] - 1); if ( (unsigned __int64)((char *)v192[0] - (char *)v97 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v97); } *(_OWORD *)v192 = 0; v193 = 2; v194 = 15; strcpy((char *)v192, "24"); v98 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v167 = cocos2d::CCString::intValue(v98); if ( v194 > 0xF ) { v99 = v192[0]; if ( v194 + 1 >= 0x1000 ) { v99 = *((void **)v192[0] - 1); if ( (unsigned __int64)((char *)v192[0] - (char *)v99 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v99); } *(_OWORD *)v192 = 0; v193 = 2; v194 = 15; strcpy((char *)v192, "25"); v100 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v165 = cocos2d::CCString::intValue(v100); if ( v194 > 0xF ) { v101 = v192[0]; if ( v194 + 1 >= 0x1000 ) { v101 = *((void **)v192[0] - 1); if ( (unsigned __int64)((char *)v192[0] - (char *)v101 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v101); } *(_OWORD *)v192 = 0; v193 = 2; v194 = 15; strcpy((char *)v192, "26"); v102 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v163 = cocos2d::CCString::intValue(v102); if ( v194 > 0xF ) std::string::_Deallocate_for_capacity(v103, v192[0], v194); sub_14003A7F0((__int64)v192, (__int64)"43"); v104 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v159 = cocos2d::CCString::intValue(v104); sub_14003A830((__int64)v192); sub_14003A7F0((__int64)v192, (__int64)"48"); v105 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v153 = cocos2d::CCString::intValue(v105); sub_14003A830((__int64)v192); sub_14003A7F0((__int64)v192, (__int64)&word_14055A640); v106 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v157 = cocos2d::CCString::intValue(v106); sub_14003A830((__int64)v192); sub_14003A7F0((__int64)v192, (__int64)&word_14055A644); v107 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v155 = cocos2d::CCString::intValue(v107); sub_14003A830((__int64)v192); sub_14003A7F0((__int64)v192, (__int64)"27"); v108 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v161 = cocos2d::CCString::intValue(v108); sub_14003A830((__int64)v192); sub_14003A7F0((__int64)v192, (__int64)"28"); v109 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v149 = cocos2d::CCString::boolValue(v109); sub_14003A830((__int64)v192); sub_14003A7F0((__int64)v192, (__int64)"30"); v110 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v111 = cocos2d::CCString::intValue(v110); sub_14003A830((__int64)v192); sub_14003A7F0((__int64)v192, (__int64)&word_14055A648); v112 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v113 = cocos2d::CCString::intValue(v112); sub_14003A830((__int64)v192); sub_14003A7F0((__int64)v192, (__int64)&word_14055A53C); v114 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v115 = cocos2d::CCString::intValue(v114); sub_14003A830((__int64)v192); sub_14003A7F0((__int64)v192, (__int64)&word_14055A534); v116 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v117 = cocos2d::CCString::intValue(v116); sub_14003A830((__int64)v192); sub_14003A7F0((__int64)v192, (__int64)"40"); v118 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v119 = cocos2d::CCString::intValue(v118); sub_14003A830((__int64)v192); sub_14003A7F0((__int64)v192, (__int64)"49"); v120 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v121 = cocos2d::CCString::intValue(v120); sub_14003A830((__int64)v192); *(_DWORD *)(v151 + 456) = v177; *(_DWORD *)(v151 + 460) = v175; v122 = (void **)sub_14003BDB0((__int64)v192, (__int64)&v210); sub_140142390(v151, v122); v123 = (void **)sub_14003BDB0((__int64)v192, (__int64)&v207); sub_1401423F0(v151, v123); v124 = (void **)sub_14003BDB0((__int64)v192, (__int64)&v204); sub_140142450(v151, v124); sub_14003A7F0((__int64)v192, (__int64)&word_14055A668); v125 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v126 = cocos2d::CCString::getCString(v125); v127 = (void **)sub_14003A7F0((__int64)v188, (__int64)v126); sub_1401424B0(v151, v127); sub_14003A830((__int64)v192); sub_14003A7F0((__int64)v192, (__int64)"59"); v128 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v129 = cocos2d::CCString::getCString(v128); v130 = (void **)sub_14003A7F0((__int64)v188, (__int64)v129); sub_140142510(v151, v130); sub_14003A830((__int64)v192); sub_14003A7F0((__int64)v192, (__int64)&word_14055A970); v131 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v132 = cocos2d::CCString::getCString(v131); v133 = (void **)sub_14003A7F0((__int64)v188, (__int64)v132); sub_140142570(v151, v133); sub_14003A830((__int64)v192); sub_14003A7F0((__int64)v192, (__int64)&word_14055A974); v134 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v135 = cocos2d::CCString::getCString(v134); v136 = (void **)sub_14003A7F0((__int64)v188, (__int64)v135); sub_1401425D0(v151, v136); sub_14003A830((__int64)v192); *(_DWORD *)(v151 + 688) = v173; *(_DWORD *)(v151 + 692) = v171; *(_DWORD *)(v151 + 696) = v169; *(_DWORD *)(v151 + 700) = v167; *(_DWORD *)(v151 + 704) = v165; *(_DWORD *)(v151 + 708) = v163; *(_DWORD *)(v151 + 724) = v161; *(_BYTE *)(v151 + 728) = v149; *(_DWORD *)(v151 + 712) = v159; *(_DWORD *)(v151 + 716) = v157; *(_DWORD *)(v151 + 720) = v155; *(_DWORD *)(v151 + 732) = v153; *(_DWORD *)(v151 + 736) = v121; v54 = v151; *(_DWORD *)(v151 + 740) = v111; *(_DWORD *)(v151 + 744) = v113; *(_DWORD *)(v151 + 748) = v115; *(_DWORD *)(v151 + 752) = v117; *(_DWORD *)(v151 + 756) = v119; sub_14003A7F0((__int64)v192, (__int64)&word_14055A968); v137 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v138 = cocos2d::CCString::getCString(v137); v139 = (void **)sub_14003A7F0((__int64)v188, (__int64)v138); sub_140142630(v151, v139); sub_14003A830((__int64)v192); sub_14003A7F0((__int64)v192, (__int64)&word_14055A96C); v140 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v141 = cocos2d::CCString::getCString(v140); v142 = (void **)sub_14003A7F0((__int64)v188, (__int64)v141); sub_140142690(v151, v142); sub_14003A830((__int64)v192); sub_14003A7F0((__int64)v192, (__int64)"57"); v143 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1, v192); v144 = cocos2d::CCString::getCString(v143); v145 = (void **)sub_14003A7F0((__int64)v188, (__int64)v144); sub_1401426F0(v151, v145); sub_14003A830((__int64)v192); sub_14003A830((__int64)&v204); sub_14003A830((__int64)&v207); sub_14003A830((__int64)&v210); v66 = (char *)v198[0]; } if ( v150 ) { v146 = v66; if ( v200 + 1 >= 0x1000 ) { v66 = *((char **)v66 - 1); if ( (unsigned __int64)(v146 - v66 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v66); } if ( v203 > 0xF ) { v147 = Src[0]; if ( v203 + 1 >= 0x1000 ) { v147 = *((void **)Src[0] - 1); if ( (unsigned __int64)((char *)Src[0] - (char *)v147 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v147); } return (GJUserScore *)v54; }
GD Web Decomp Icon

GD Web Decomp

Raw Source