// // sub_100539560 from 0x100539560 to 0x10053a41e (3774 bytes) // // 1 xrefs: // > GameLevelManager::handleIt @ 0x10051e924 // // 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:31:54 +0000 // void __fastcall sub_100539560(__int64 a1, unsigned __int8 *a2, __int64 a3) { const char *v4; // r13 __int64 v5; // r12 size_t v6; // rax size_t v7; // rbx char *v8; // r14 size_t v9; // r12 __int64 v10; // r13 __int64 v11; // rax __int64 v12; // r15 __int64 v13; // rax __int64 v14; // rax const char *CString; // rax __int64 v16; // r12 __int64 v17; // rax const char *v18; // rax __int64 v19; // r14 __int64 v20; // rax const char *v21; // rax __int64 v22; // rbx __int64 v23; // rax bool v24; // al const void *v25; // r12 unsigned __int64 v26; // rcx char *v27; // r15 size_t v28; // rdx __int64 v29; // rdi size_t v30; // rax size_t v31; // rbx char *v32; // r14 size_t v33; // r13 __int64 v34; // r12 __int64 v35; // rax const char *v36; // r14 size_t v37; // rax size_t v38; // rbx size_t v39; // r12 __int64 v40; // rax const char *v41; // r14 size_t v42; // rax std::string::size_type v43; // r15 char *data; // rbx unsigned __int8 *v45; // r12 size_t v46; // r12 __int64 v47; // rax const char *v48; // r14 size_t v49; // rax size_t v50; // r15 char *v51; // rbx size_t v52; // r12 char v53; // r12 size_t size; // r14 unsigned __int64 v55; // r13 size_t v56; // r15 char *v57; // rbx char v58; // al std::string::pointer v59; // rsi __int64 v60; // rax const std::string::value_type *v61; // rax std::string *v62; // rax std::string *v63; // rax __int64 v64; // rax const std::string::value_type *v65; // rax std::string *v66; // rax __int64 v67; // rax const char *v68; // r15 size_t v69; // rax std::string::size_type v70; // r14 char *v71; // rbx size_t v72; // r12 __int64 v73; // r15 __int64 v74; // rax __int64 v75; // rax __int64 v76; // rax __int64 v77; // rax const char *v78; // r14 size_t v79; // rax std::string::size_type v80; // r12 char *v81; // rbx size_t v82; // r13 __int64 v83; // rax __int64 v84; // rax __int64 v85; // rax __int64 v86; // rax const char *v87; // rax __int64 v88; // rax const char *v89; // r14 size_t v90; // rax std::string::size_type v91; // r12 char *v92; // rbx size_t v93; // r13 __int64 v94; // rax __int64 v95; // rax __int64 v96; // rax const std::string::value_type *v97; // rsi __int64 v98; // rax const char *v99; // r14 size_t v100; // rax std::string::size_type v101; // r15 char *v102; // rbx size_t v103; // r12 __int64 v104; // r14 __int64 v105; // rax __int64 v106; // rax int v107; // ecx int v108; // eax __int64 v109; // rax int v110; // ebx __int64 v111; // rax __int64 v112; // rax int v113; // eax __int64 v114; // rax int v115; // ecx int v116; // eax __int64 v117; // rax __int64 v118; // rax __int64 v119; // rdi __int64 v120; // [rsp+0h] [rbp-150h] std::string *v121; // [rsp+8h] [rbp-148h] std::string *v122; // [rsp+10h] [rbp-140h] std::string *v123; // [rsp+18h] [rbp-138h] __int128 v124; // [rsp+20h] [rbp-130h] BYREF void *v125; // [rsp+30h] [rbp-120h] std::string v126; // [rsp+40h] [rbp-110h] BYREF std::string v127; // [rsp+60h] [rbp-F0h] BYREF std::string v128; // [rsp+78h] [rbp-D8h] BYREF std::string v129; // [rsp+90h] [rbp-C0h] BYREF __int64 v130; // [rsp+A8h] [rbp-A8h] BYREF size_t v131; // [rsp+B0h] [rbp-A0h] void *v132; // [rsp+B8h] [rbp-98h] std::string v133; // [rsp+C0h] [rbp-90h] BYREF __int64 v134; // [rsp+E0h] [rbp-70h] __int64 v135; // [rsp+E8h] [rbp-68h] size_t __dst; // [rsp+F0h] [rbp-60h] BYREF size_t v137; // [rsp+F8h] [rbp-58h] void *__p; // [rsp+100h] [rbp-50h] unsigned __int8 *v139; // [rsp+108h] [rbp-48h] std::string __len[2]; // [rsp+110h] [rbp-40h] BYREF v135 = a1; if ( (*(_BYTE *)a3 & 1) != 0 ) v4 = *(const char **)(a3 + 16); else v4 = (const char *)(a3 + 1); v5 = *(_QWORD *)(v135 + 1088); v6 = strlen(v4); if ( v6 >= 0xFFFFFFFFFFFFFFF8LL ) goto LABEL_56; v7 = v6; v139 = a2; if ( v6 >= 0x17 ) { v134 = v5; v9 = 26; if ( (v6 | 7) != 0x17 ) v9 = (v6 | 7) + 1; v8 = (char *)operator new(v9); __p = v8; __dst = v9 + 1; v5 = v134; v137 = v7; goto LABEL_11; } v8 = (char *)&__dst + 1; LOBYTE(__dst) = 2 * v6; if ( v6 ) LABEL_11: memmove(v8, v4, v7); v8[v7] = 0; cocos2d::CCDictionary::removeObjectForKey(v5, (char *)&__dst); v10 = v135; if ( (__dst & 1) != 0 ) operator delete(__p); v11 = sub_10053FBE0(a3, "_"); if ( v11 ) { v12 = v11; if ( (unsigned int)sub_1007FEF90(v11) >= 4 ) { v13 = cocos2d::CCArray::stringAtIndex(v12, 1); v134 = cocos2d::CCString::intValue(v13); v14 = cocos2d::CCArray::stringAtIndex(v12, 2); CString = (const char *)cocos2d::CCString::getCString(v14); v16 = atoll(CString); v17 = cocos2d::CCArray::stringAtIndex(v12, 3); v18 = (const char *)cocos2d::CCString::getCString(v17); v19 = atoll(v18); if ( (unsigned int)sub_1007FEF90(v12) < 6 ) goto LABEL_21; LABEL_20: v20 = cocos2d::CCArray::stringAtIndex(v12, 4); v21 = (const char *)cocos2d::CCString::getCString(v20); v22 = atoll(v21); v23 = cocos2d::CCArray::stringAtIndex(v12, 5); v24 = (unsigned int)cocos2d::CCString::intValue(v23) != 0; goto LABEL_22; } v19 = 0; v16 = 0; v134 = 0; if ( (unsigned int)sub_1007FEF90(v12) >= 6 ) goto LABEL_20; } else { v134 = 0; v16 = 0; v19 = 0; } LABEL_21: v24 = 0; v22 = 0; LABEL_22: *(_QWORD *)(v135 + 568) = v16; v120 = v19; *(_QWORD *)(v10 + 576) = v19; *(_QWORD *)(v10 + 512) = v22; *(_BYTE *)(v10 + 528) = v24; LOBYTE(__dst) = 4; *(_WORD *)((char *)&__dst + 1) = 12589; BYTE3(__dst) = 0; v25 = v139 + 1; v26 = *v139 >> 1; if ( (*v139 & 1) != 0 ) v25 = *((const void **)v139 + 2); v27 = (char *)&__dst + 1; if ( (*v139 & 1) != 0 ) v26 = *((_QWORD *)v139 + 1); v28 = 2; if ( v26 < 2 ) v28 = v26; if ( !((v26 != 2) | (memcmp(v25, (char *)&__dst + 1, v28) != 0)) ) { v29 = *(_QWORD *)(v10 + 1264); if ( v29 ) (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v29 + 24LL))(v29, v134); return; } v30 = strlen((const char *)v25); if ( v30 >= 0xFFFFFFFFFFFFFFF8LL ) goto LABEL_56; v31 = v30; if ( v30 >= 0x17 ) { v33 = 26; if ( (v30 | 7) != 0x17 ) v33 = (v30 | 7) + 1; v32 = (char *)operator new(v33); __p = v32; __dst = v33 + 1; v10 = v135; v137 = v31; goto LABEL_38; } LOBYTE(__dst) = 2 * v30; v32 = (char *)&__dst + 1; if ( v30 ) LABEL_38: memmove(v32, v25, v31); v32[v31] = 0; v34 = sub_10053FBE0(&__dst, "#"); if ( (__dst & 1) != 0 ) operator delete(__p); if ( (unsigned int)sub_1007FEF90(v34) ) { v35 = cocos2d::CCArray::stringAtIndex(v34, 0); v36 = (const char *)cocos2d::CCString::getCString(v35); v37 = strlen(v36); if ( v37 < 0xFFFFFFFFFFFFFFF8LL ) goto LABEL_43; LABEL_56: sub_100003630(); } v36 = ""; v37 = strlen(""); if ( v37 >= 0xFFFFFFFFFFFFFFF8LL ) goto LABEL_56; LABEL_43: v38 = v37; v139 = (unsigned __int8 *)v34; if ( v37 >= 0x17 ) { v39 = 26; if ( (v37 | 7) != 0x17 ) v39 = (v37 | 7) + 1; v27 = (char *)operator new(v39); __p = v27; __dst = v39 + 1; v34 = (__int64)v139; v137 = v38; goto LABEL_49; } LOBYTE(__dst) = 2 * v37; if ( v37 ) LABEL_49: memmove(v27, v36, v38); v27[v38] = 0; if ( (unsigned int)sub_1007FEF90(v34) < 4 ) goto LABEL_99; v40 = cocos2d::CCArray::stringAtIndex(v34, 1); v41 = (const char *)cocos2d::CCString::getCString(v40); v42 = strlen(v41); if ( v42 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v43 = v42; if ( v42 >= 0x17 ) { v46 = 26; if ( (v42 | 7) != 0x17 ) v46 = (v42 | 7) + 1; data = (char *)operator new(v46); __len[0].__r_.__value_.__r.__words[2] = (std::string::size_type)data; __len[0].__r_.__value_.__r.__words[0] = v46 | 1; __len[0].__r_.__value_.__l.__size_ = v43; v45 = v139; goto LABEL_60; } __len[0].__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)(2 * v42); data = __len[0].__r_.__value_.__s.__data_; v45 = v139; if ( v42 ) LABEL_60: memmove(data, v41, v43); data[v43] = 0; v47 = cocos2d::CCArray::stringAtIndex(v45, 2); v48 = (const char *)cocos2d::CCString::getCString(v47); v49 = strlen(v48); if ( v49 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v50 = v49; if ( v49 >= 0x17 ) { v52 = 26; if ( (v49 | 7) != 0x17 ) v52 = (v49 | 7) + 1; v51 = (char *)operator new(v52); v132 = v51; v130 = v52 | 1; v131 = v50; goto LABEL_68; } LOBYTE(v130) = 2 * v49; v51 = (char *)&v130 + 1; if ( v49 ) LABEL_68: memmove(v51, v48, v50); v51[v50] = 0; v53 = *(_BYTE *)&__len[0].__r_.__value_.__s.0 & 1; if ( (*(_BYTE *)&__len[0].__r_.__value_.__s.0 & 1) != 0 ) { size = __len[0].__r_.__value_.__l.__size_; if ( __len[0].__r_.__value_.__l.__size_ ) goto LABEL_71; } else { size = *(_BYTE *)&__len[0].__r_.__value_.__l.0 >> 1; if ( *(_BYTE *)&__len[0].__r_.__value_.__l.0 >> 1 ) { LABEL_71: v55 = size + 1; if ( size + 1 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); if ( v55 >= 0x17 ) { v56 = 26; if ( (v55 | 7) != 0x17 ) v56 = (v55 | 7) + 1; v57 = (char *)operator new(v56); v133.__r_.__value_.__r.__words[0] = v56 | 1; v133.__r_.__value_.__r.__words[2] = (std::string::size_type)v57; v133.__r_.__value_.__l.__size_ = size + 1; v10 = v135; LABEL_83: if ( v53 ) v59 = __len[0].__r_.__value_.__l.__data_; else v59 = __len[0].__r_.__value_.__s.__data_; memmove(v57, v59, size); LABEL_87: *(_WORD *)&v57[size] = 35; v60 = cocos2d::CCArray::stringAtIndex(v139, 2); v61 = (const std::string::value_type *)cocos2d::CCString::getCString(v60); v62 = std::string::append(&v133, v61); v127 = *v62; *(_OWORD *)&v62->__r_.__value_.__l.0 = 0; v62->__r_.__value_.__r.__words[2] = 0; v63 = std::string::append(&v127, "#"); v126 = *v63; *(_OWORD *)&v63->__r_.__value_.__l.0 = 0; v63->__r_.__value_.__r.__words[2] = 0; v64 = cocos2d::CCArray::stringAtIndex(v139, 3); v65 = (const std::string::value_type *)cocos2d::CCString::getCString(v64); v66 = std::string::append(&v126, v65); v125 = v66->__r_.__value_.__l.__data_; v124 = *(_OWORD *)&v66->__r_.__value_.__l.0; *(_OWORD *)&v66->__r_.__value_.__l.0 = 0; v66->__r_.__value_.__r.__words[2] = 0; if ( (*(_BYTE *)&v126.__r_.__value_.__s.0 & 1) != 0 ) { operator delete(v126.__r_.__value_.__l.__data_); if ( (*(_BYTE *)&v127.__r_.__value_.__s.0 & 1) == 0 ) { LABEL_89: if ( (*(_BYTE *)&v133.__r_.__value_.__s.0 & 1) == 0 ) { LABEL_91: sub_100573E40(v10, v134, &v124); if ( (v124 & 1) != 0 ) operator delete(v125); v58 = v130 & 1; goto LABEL_94; } LABEL_90: operator delete(v133.__r_.__value_.__l.__data_); goto LABEL_91; } } else if ( (*(_BYTE *)&v127.__r_.__value_.__s.0 & 1) == 0 ) { goto LABEL_89; } operator delete(v127.__r_.__value_.__l.__data_); if ( (*(_BYTE *)&v133.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_91; goto LABEL_90; } LABEL_82: memset(&v133, 0, sizeof(v133)); v133.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)(2 * v55); v57 = v133.__r_.__value_.__s.__data_; v10 = v135; if ( !size ) goto LABEL_87; goto LABEL_83; } } v58 = v130 & 1; if ( (v130 & 1) != 0 ) { if ( !v131 ) goto LABEL_94; LABEL_81: LOBYTE(v55) = 1; goto LABEL_82; } if ( (unsigned __int8)v130 >> 1 ) goto LABEL_81; LABEL_94: if ( v58 ) operator delete(v132); if ( v53 ) operator delete(__len[0].__r_.__value_.__l.__data_); v34 = (__int64)v139; LABEL_99: *(_OWORD *)(v10 + 484) = xmmword_100A0CCC0; std::string::assign((std::string *)(v10 + 600), ""); std::string::assign((std::string *)(v10 + 624), ""); *(_BYTE *)(v10 + 648) = 0; *(_DWORD *)(v10 + 652) = -1; v121 = (std::string *)(v10 + 656); std::string::assign((std::string *)(v10 + 656), ""); *(_QWORD *)(v10 + 504) = 0xFFFFFFFFLL; *(_QWORD *)(v10 + 520) = 0; if ( (unsigned int)sub_1007FEF90(v34) < 5 ) goto LABEL_153; v122 = (std::string *)(v10 + 600); v123 = (std::string *)(v10 + 624); v67 = cocos2d::CCArray::stringAtIndex(v34, 4); v68 = (const char *)cocos2d::CCString::getCString(v67); v69 = strlen(v68); if ( v69 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v70 = v69; if ( v69 >= 0x17 ) { v72 = 26; if ( (v69 | 7) != 0x17 ) v72 = (v69 | 7) + 1; v71 = (char *)operator new(v72); __len[0].__r_.__value_.__r.__words[2] = (std::string::size_type)v71; __len[0].__r_.__value_.__r.__words[0] = v72 | 1; __len[0].__r_.__value_.__l.__size_ = v70; goto LABEL_107; } __len[0].__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)(2 * v69); v71 = __len[0].__r_.__value_.__s.__data_; if ( v69 ) LABEL_107: memmove(v71, v68, v70); v71[v70] = 0; v73 = sub_10053FBE0(__len, ":"); v34 = (__int64)v139; if ( (*(_BYTE *)&__len[0].__r_.__value_.__s.0 & 1) != 0 ) operator delete(__len[0].__r_.__value_.__l.__data_); if ( (unsigned int)sub_1007FEF90(v73) >= 3 ) { v74 = cocos2d::CCArray::stringAtIndex(v73, 0); *(_DWORD *)(v10 + 484) = cocos2d::CCString::intValue(v74); v75 = cocos2d::CCArray::stringAtIndex(v73, 1); *(_DWORD *)(v10 + 488) = cocos2d::CCString::intValue(v75); v76 = cocos2d::CCArray::stringAtIndex(v73, 2); *(_DWORD *)(v10 + 492) = cocos2d::CCString::intValue(v76); } if ( (unsigned int)sub_1007FEF90(v73) >= 4 ) { v77 = cocos2d::CCArray::stringAtIndex(v73, 3); v78 = (const char *)cocos2d::CCString::getCString(v77); v79 = strlen(v78); if ( v79 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v80 = v79; if ( v79 >= 0x17 ) { v82 = 26; if ( (v79 | 7) != 0x17 ) v82 = (v79 | 7) + 1; v81 = (char *)operator new(v82); v128.__r_.__value_.__r.__words[2] = (std::string::size_type)v81; v128.__r_.__value_.__r.__words[0] = v82 | 1; v128.__r_.__value_.__l.__size_ = v80; v10 = v135; } else { v128.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)(2 * v79); v81 = v128.__r_.__value_.__s.__data_; v10 = v135; if ( !v79 ) goto LABEL_124; } memmove(v81, v78, v80); LABEL_124: v81[v80] = 0; LevelTools::base64DecodeString(__len, &v128); v34 = (__int64)v139; if ( (*(_BYTE *)&v122->__r_.__value_.__s.0 & 1) != 0 ) operator delete(*(void **)(v10 + 616)); *v122 = __len[0]; *(_WORD *)&__len[0].__r_.__value_.__l.0 = 0; if ( (*(_BYTE *)&v128.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v128.__r_.__value_.__l.__data_); } if ( (unsigned int)sub_1007FEF90(v73) >= 5 ) { v83 = cocos2d::CCArray::stringAtIndex(v73, 4); *(_DWORD *)(v10 + 496) = cocos2d::CCString::intValue(v83); } if ( (unsigned int)sub_1007FEF90(v73) >= 6 ) { v84 = cocos2d::CCArray::stringAtIndex(v73, 5); *(_DWORD *)(v10 + 504) = cocos2d::CCString::intValue(v84) != 0; } if ( (unsigned int)sub_1007FEF90(v73) >= 7 ) { v85 = cocos2d::CCArray::stringAtIndex(v73, 6); *(_DWORD *)(v10 + 508) = cocos2d::CCString::intValue(v85) != 0; } if ( (unsigned int)sub_1007FEF90(v73) >= 8 ) { v86 = cocos2d::CCArray::stringAtIndex(v73, 7); v87 = (const char *)cocos2d::CCString::getCString(v86); *(_QWORD *)(v10 + 520) = atoll(v87); } if ( (unsigned int)sub_1007FEF90(v73) < 9 ) goto LABEL_149; v88 = cocos2d::CCArray::stringAtIndex(v73, 8); v89 = (const char *)cocos2d::CCString::getCString(v88); v90 = strlen(v89); if ( v90 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v91 = v90; if ( v90 >= 0x17 ) { v93 = 26; if ( (v90 | 7) != 0x17 ) v93 = (v90 | 7) + 1; v92 = (char *)operator new(v93); v129.__r_.__value_.__r.__words[2] = (std::string::size_type)v92; v129.__r_.__value_.__r.__words[0] = v93 | 1; v129.__r_.__value_.__l.__size_ = v91; v10 = v135; } else { v129.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)(2 * v90); v92 = v129.__r_.__value_.__s.__data_; v10 = v135; if ( !v90 ) goto LABEL_145; } memmove(v92, v89, v91); LABEL_145: v92[v91] = 0; LevelTools::base64DecodeString(__len, &v129); v34 = (__int64)v139; if ( (*(_BYTE *)&v123->__r_.__value_.__s.0 & 1) != 0 ) operator delete(*(void **)(v10 + 640)); *v123 = __len[0]; *(_WORD *)&__len[0].__r_.__value_.__l.0 = 0; if ( (*(_BYTE *)&v129.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v129.__r_.__value_.__l.__data_); LABEL_149: if ( (unsigned int)sub_1007FEF90(v73) >= 0xA ) { v94 = cocos2d::CCArray::stringAtIndex(v73, 9); *(_BYTE *)(v10 + 648) = (unsigned int)cocos2d::CCString::intValue(v94) != 0; } if ( (unsigned int)sub_1007FEF90(v73) >= 0xB ) { v95 = cocos2d::CCArray::stringAtIndex(v73, 10); *(_DWORD *)(v10 + 652) = cocos2d::CCString::intValue(v95); } LABEL_153: if ( (unsigned int)sub_1007FEF90(v34) >= 6 ) { v96 = cocos2d::CCArray::stringAtIndex(v34, 5); v97 = (const std::string::value_type *)cocos2d::CCString::getCString(v96); std::string::assign(v121, v97); } *(_QWORD *)(v10 + 584) = 0x500000005LL; *(_DWORD *)(v10 + 592) = 30; *(_DWORD *)(v10 + 500) = 50; if ( (unsigned int)sub_1007FEF90(v34) < 7 ) goto LABEL_177; v98 = cocos2d::CCArray::stringAtIndex(v34, 6); v99 = (const char *)cocos2d::CCString::getCString(v98); v100 = strlen(v99); if ( v100 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v101 = v100; if ( v100 >= 0x17 ) { v103 = 26; if ( (v100 | 7) != 0x17 ) v103 = (v100 | 7) + 1; v102 = (char *)operator new(v103); __len[0].__r_.__value_.__r.__words[2] = (std::string::size_type)v102; __len[0].__r_.__value_.__r.__words[0] = v103 | 1; __len[0].__r_.__value_.__l.__size_ = v101; } else { __len[0].__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)(2 * v100); v102 = __len[0].__r_.__value_.__s.__data_; if ( !v100 ) goto LABEL_164; } memmove(v102, v99, v101); LABEL_164: v102[v101] = 0; v104 = sub_10053FBE0(__len, ","); if ( (*(_BYTE *)&__len[0].__r_.__value_.__s.0 & 1) != 0 ) operator delete(__len[0].__r_.__value_.__l.__data_); if ( (unsigned int)sub_1007FEF90(v104) >= 3 ) { v105 = cocos2d::CCArray::stringAtIndex(v104, 0); *(_DWORD *)(v10 + 584) = cocos2d::CCString::intValue(v105); v106 = cocos2d::CCArray::stringAtIndex(v104, 1); v107 = cocos2d::CCString::intValue(v106); v108 = 1; if ( v107 >= 2 ) { v109 = cocos2d::CCArray::stringAtIndex(v104, 1); v108 = cocos2d::CCString::intValue(v109); } *(_DWORD *)(v10 + 588) = v108; v110 = *(_DWORD *)(v10 + 584); v111 = cocos2d::CCArray::stringAtIndex(v104, 2); if ( v110 >= (int)cocos2d::CCString::intValue(v111) ) { v113 = *(_DWORD *)(v10 + 584); } else { v112 = cocos2d::CCArray::stringAtIndex(v104, 2); v113 = cocos2d::CCString::intValue(v112); } *(_DWORD *)(v10 + 592) = v113; } if ( (unsigned int)sub_1007FEF90(v104) >= 4 ) { v114 = cocos2d::CCArray::stringAtIndex(v104, 3); v115 = cocos2d::CCString::intValue(v114); v116 = 1; if ( v115 >= 2 ) { v117 = cocos2d::CCArray::stringAtIndex(v104, 3); v116 = cocos2d::CCString::intValue(v117); } *(_DWORD *)(v10 + 500) = v116; } LABEL_177: v118 = sub_100573A30(&__dst); v119 = *(_QWORD *)(v10 + 1264); if ( v119 ) (*(void (__fastcall **)(__int64, __int64, __int64, bool))(*(_QWORD *)v119 + 16LL))(v119, v134, v118, v120 > 0); if ( (__dst & 1) != 0 ) operator delete(__p); }
GD Web Decomp Icon

GD Web Decomp

Raw Source