// // sub_100969480 from 0x100969480 to 0x10096ab80 (5888 bytes) // // 1 xrefs: // > ReportQueuePopup::adminReportQueueFinished @ 0x10096940d // // 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:38:50 +0000 // __int64 __fastcall sub_100969480(__int64 a1, __int64 a2) { int v3; // eax __int64 v4; // rdi unsigned int v5; // esi void *v6; // rdi void *v7; // r14 char v8; // al const std::string::value_type *v9; // rdi void *v10; // rbx int v11; // eax void *v12; // rbx int v13; // eax const char *v14; // rsi __int64 v15; // r14 std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0 v16; // bl int v17; // esi char *v18; // rax const std::string::value_type *CString; // rax std::string::pointer data; // rdi void *v21; // r14 char *v22; // rbx void *v23; // rbx char *v24; // rax __int64 v25; // rax void *v26; // rbx std::string *p_p; // rdi __int64 v28; // rsi unsigned int v29; // r13d size_t v30; // r14 int v31; // ebx __int64 v32; // rax unsigned __int64 v33; // r15 char *v34; // rbx __int64 v35; // rax const void *v36; // rsi size_t v37; // r12 std::string::pointer v38; // rdi void *v39; // r14 __int64 v40; // rbx float v41; // xmm0_4 float v42; // xmm1_4 int v43; // esi char *v44; // rax const char *v45; // rbx size_t v46; // rax std::string::size_type v47; // r14 char *v48; // r13 size_t v49; // r12 _OWORD *size; // r14 std::string::size_type v51; // r15 void *v52; // rbx signed __int64 v53; // r14 unsigned __int64 v54; // r13 char *v55; // rax std::string *v56; // r12 std::string::size_type v57; // r13 char *v58; // r12 int v59; // esi const char *v60; // rdx char *v61; // rax const char *v62; // rbx size_t v63; // rax std::string::size_type v64; // r14 char *v65; // r13 size_t v66; // r12 int v67; // esi char *v68; // rax const std::string::value_type *v69; // rax _OWORD *v70; // r14 int v71; // esi const char *v72; // rdx char *v73; // rax const char *v74; // rbx size_t v75; // rax std::string::size_type v76; // r14 char *v77; // r13 size_t v78; // r12 _OWORD *v79; // r14 std::string::size_type v80; // r15 void *v81; // rbx signed __int64 v82; // r14 unsigned __int64 v83; // r13 char *v84; // rax std::string *v85; // r12 std::string::size_type v86; // r13 char *v87; // r12 signed int v88; // edi const std::string::value_type *v89; // rax std::string *v90; // rax std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0 v91; // si std::string::pointer v92; // rdx _QWORD *v93; // r13 __int64 v94; // rcx int v95; // esi char *v96; // rax const char *v97; // rbx size_t v98; // rax std::string::size_type v99; // r14 char *v100; // r13 void *v101; // rbx signed __int64 v102; // r13 unsigned __int64 v103; // r14 char *v104; // rax size_t v105; // r12 _OWORD *v106; // r14 std::string::size_type v107; // r15 void *v108; // rbx signed __int64 v109; // r14 unsigned __int64 v110; // r13 char *v111; // rax std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0 *v112; // r12 std::string::size_type v113; // r15 __int64 v114; // rsi std::string::size_type v115; // r14 char *v116; // r12 std::string *v117; // r12 std::string::size_type v118; // r13 char *v119; // r12 std::string::size_type v120; // r14 std::string::pointer v121; // rdi const std::string::value_type *v122; // rsi std::string::size_type v123; // rdx std::string::size_type v124; // rdx unsigned __int64 v125; // rbx __int64 v126; // r14 const std::string::value_type *v127; // rsi std::string::size_type v128; // rdx void *v129; // r14 std::string::size_type v130; // rbx std::string::size_type v131; // r14 std::string::size_type v132; // r12 void *v133; // rbx size_t v134; // r14 unsigned __int64 v135; // r15 unsigned __int64 v136; // r12 char *v137; // rax char *v138; // r15 std::string::size_type v139; // r13 char *v140; // r15 std::string::pointer v143; // [rsp+10h] [rbp-E0h] float *v144; // [rsp+28h] [rbp-C8h] float v145; // [rsp+30h] [rbp-C0h] int v146; // [rsp+44h] [rbp-ACh] __int64 v147; // [rsp+48h] [rbp-A8h] std::string *v148; // [rsp+50h] [rbp-A0h] unsigned int v149; // [rsp+5Ch] [rbp-94h] __int64 v150; // [rsp+60h] [rbp-90h] float v151; // [rsp+6Ch] [rbp-84h] float v152; // [rsp+6Ch] [rbp-84h] float v153; // [rsp+6Ch] [rbp-84h] std::string __dst; // [rsp+70h] [rbp-80h] BYREF float v155; // [rsp+8Ch] [rbp-64h] std::string __p; // [rsp+90h] [rbp-60h] BYREF __int128 __s; // [rsp+A8h] [rbp-48h] BYREF void *v158; // [rsp+B8h] [rbp-38h] v3 = sub_1007FEF90(a2); v4 = *(_QWORD *)(a1 + 688); v146 = v3; if ( v3 > 0 ) { v148 = *(std::string **)(v4 + 416); v147 = a1; v144 = (float *)(a1 + 704); v5 = 0; while ( 1 ) { v149 = v5; v150 = sub_1007FEFE0(a2, v5); v145 = (float)((float)((float)(int)v5 * 43.0) + 6.0) + 20.0; sub_100278270((__int64)&__p, 0.0, 0.0, (__m128)0x42200000u, (__m128)0x42200000u); v7 = cocos2d::extension::CCScale9Sprite::create_2((__int64)"square02_small.png", (unsigned __int64 *)&__p); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v7 + 912LL))(v7, 60); __p.__r_.__value_.__s.__data_[1] = 0; *(_WORD *)&__p.__r_.__value_.__l.0 = 0; (*(void (__fastcall **)(void *, std::string *))(*(_QWORD *)v7 + 960LL))(v7, &__p); sub_100278260((float *)&__p, *(float *)(v147 + 704) + -8.0, 40.0); (*(void (__fastcall **)(void *, std::string *))(*(_QWORD *)v7 + 320LL))(v7, &__p); sub_100278250((float *)&__p, *v144 * 0.5, -v145); (*(void (__fastcall **)(void *, std::string *))(*(_QWORD *)v7 + 184LL))(v7, &__p); (*(void (__fastcall **)(std::string *, void *, _QWORD))(v148->__r_.__value_.__r.__words[0] + 464))(v148, v7, 0); v8 = *(_BYTE *)(v150 + 64); if ( (v8 & 1) != 0 ) { v9 = "?"; if ( *(_QWORD *)(v150 + 72) ) v9 = *(const std::string::value_type **)(v150 + 80); } else { v9 = (const std::string::value_type *)(v150 + 65); if ( !v8 ) v9 = "?"; } v10 = cocos2d::CCLabelBMFont::create_3((__int64)v9, (__int64)"goldFont.fnt"); v11 = 180; if ( *(int *)(v150 + 192) > 0 ) v11 = 130; cocos2d::CCLabelBMFont::limitLabelWidth((__int64)v10, (float)v11, (__m128)0x3F000000u, (__m128)0x3E4CCCCDu); v155 = *(float *)(*(__int64 (__fastcall **)(void *))(*(_QWORD *)v10 + 328LL))(v10); v151 = (*(float (__fastcall **)(void *))(*(_QWORD *)v10 + 168LL))(v10); v12 = CCMenuItemSpriteExtra::create((__int64)v10, 0, v147, (__int64)sub_10096AD10, 0); CCMenuItemSpriteExtra::setSizeMult((__int64)v12, 1.3); (*(void (__fastcall **)(void *, _QWORD))(*(_QWORD *)v12 + 72LL))(v12, v5); v155 = v155 * v151; v152 = 9.0 - v145; sub_100278250((float *)&__p, (float)(v155 * 0.5) + 10.0, 9.0 - v145); (*(void (__fastcall **)(void *, std::string *))(*(_QWORD *)v12 + 184LL))(v12, &__p); (*(void (__fastcall **)(std::string *, void *, __int64))(v148->__r_.__value_.__r.__words[0] + 464))(v148, v12, 2); if ( *(int *)(v150 + 192) > 0 ) { v13 = *(_DWORD *)(v150 + 196); v14 = "FLAGGED"; if ( v13 == 1 ) v14 = "AD SPAM"; v15 = 0; if ( v13 == 2 ) v14 = "PREDATOR"; LOBYTE(v15) = v13 == 2; v16 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)(2 * ((v13 == 2) + 7)); __p.__r_.__value_.__s.0 = v16; memcpy((char *)&__p.__r_.__value_.__l.0 + 1, v14, v15 + 7); *((_BYTE *)&__p.__r_.__value_.__r.__words[1] + v15) = 0; v17 = *(_DWORD *)(v150 + 208); if ( v17 >= 2 ) { v18 = sub_10088E820(" x%i", v17); CString = (const std::string::value_type *)cocos2d::CCString::getCString((__int64)v18); std::string::append(&__p, CString); v16 = __p.__r_.__value_.__s.0; } data = __p.__r_.__value_.__s.__data_; if ( (*(_BYTE *)&v16 & 1) != 0 ) data = __p.__r_.__value_.__l.__data_; v21 = cocos2d::CCLabelBMFont::create_3((__int64)data, (__int64)"bigFont.fnt"); sub_100278250((float *)&__dst, 0.0, 0.5); (*(void (__fastcall **)(void *, std::string *))(*(_QWORD *)v21 + 296LL))(v21, &__dst); (*(void (__fastcall **)(void *, float))(*(_QWORD *)v21 + 160LL))(v21, 0.31999999); __dst.__r_.__value_.__s.__data_[1] = 100; *(_WORD *)&__dst.__r_.__value_.__l.0 = 25855; (*(void (__fastcall **)(void *, std::string *))(*(_QWORD *)v21 + 1072LL))(v21, &__dst); sub_100278250((float *)&__dst, (float)(v155 + 10.0) + 8.0, v152); (*(void (__fastcall **)(void *, std::string *))(*(_QWORD *)v21 + 184LL))(v21, &__dst); (*(void (__fastcall **)(std::string *, void *, __int64))(v148->__r_.__value_.__r.__words[0] + 464))( v148, v21, 1); if ( (*(_BYTE *)&__p.__r_.__value_.__s.0 & 1) != 0 ) operator delete(__p.__r_.__value_.__l.__data_); } v22 = ButtonSprite::create_1( (__int64)"Review", 0x32u, 0, 1u, (__int64)"bigFont.fnt", (__int64)"GJ_button_01.png", 0.5, 24.0); (*(void (__fastcall **)(char *, float))(*(_QWORD *)v22 + 160LL))(v22, 0.80000001); v155 = *(float *)(*(__int64 (__fastcall **)(char *))(*(_QWORD *)v22 + 328LL))(v22) * 0.80000001; v23 = CCMenuItemSpriteExtra::create((__int64)v22, 0, v147, (__int64)sub_10096AD80, 0); CCMenuItemSpriteExtra::setSizeMult((__int64)v23, 1.2); (*(void (__fastcall **)(void *, _QWORD))(*(_QWORD *)v23 + 72LL))(v23, v149); sub_100278250((float *)&__p, (float)(v155 * -0.5) + (float)(*(float *)(v147 + 704) + -10.0), -v145); (*(void (__fastcall **)(void *, std::string *))(*(_QWORD *)v23 + 184LL))(v23, &__p); (*(void (__fastcall **)(std::string *, void *, __int64))(v148->__r_.__value_.__r.__words[0] + 464))(v148, v23, 2); v155 = (float)((float)(*v144 + -10.0) - v155) + -8.0; v24 = sub_10088E820("%i pts", *(_DWORD *)(v150 + 224)); v25 = cocos2d::CCString::getCString((__int64)v24); v26 = cocos2d::CCLabelBMFont::create_3(v25, (__int64)"bigFont.fnt"); sub_100278250((float *)&__p, 1.0, 0.5); (*(void (__fastcall **)(void *, std::string *))(*(_QWORD *)v26 + 296LL))(v26, &__p); (*(void (__fastcall **)(void *, float))(*(_QWORD *)v26 + 160LL))(v26, 0.31999999); __p.__r_.__value_.__s.__data_[1] = 60; *(_WORD *)&__p.__r_.__value_.__l.0 = -11521; (*(void (__fastcall **)(void *, std::string *))(*(_QWORD *)v26 + 1072LL))(v26, &__p); sub_100278250((float *)&__p, v155, v152); (*(void (__fastcall **)(void *, std::string *))(*(_QWORD *)v26 + 184LL))(v26, &__p); p_p = v148; v28 = (__int64)v26; (*(void (__fastcall **)(std::string *, void *, __int64))(v148->__r_.__value_.__r.__words[0] + 464))(v148, v26, 1); v29 = *(unsigned __int8 *)(v150 + 112); if ( (v29 & 1) != 0 ) { if ( !*(_QWORD *)(v150 + 120) ) { LABEL_30: v31 = *(_DWORD *)(v150 + 140); if ( v31 <= 0 ) goto LABEL_56; LABEL_31: v32 = GJAccountManager::sharedState((__int64)p_p, v28); if ( v31 == *(_DWORD *)(v32 + 352) - *(_DWORD *)(v32 + 356) ) { __p.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)6; *(_DWORD *)((char *)&__p.__r_.__value_.__l.0 + 1) = 7696249; } else if ( (*(_BYTE *)(v150 + 144) & 1) != 0 ) { sub_10001AD30(&__p, *(const void **)(v150 + 160), *(_QWORD *)(v150 + 152)); } else { __p = *(std::string *)(v150 + 144); } v40 = sub_100995AA0(&__p, v150 + 168, 0.40000001); sub_100278250((float *)&__dst, v155, -10.0 - v145); (*(void (__fastcall **)(__int64, std::string *))(*(_QWORD *)v40 + 184LL))(v40, &__dst); (*(void (__fastcall **)(std::string *, __int64, __int64))(v148->__r_.__value_.__r.__words[0] + 464))( v148, v40, 1); v153 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v40 + 328LL))(v40); v41 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v40 + 168LL))(v40); v42 = (float)(v153 * v41) + 8.0; if ( (*(_BYTE *)&__p.__r_.__value_.__s.0 & 1) != 0 ) { operator delete(__p.__r_.__value_.__l.__data_); v42 = (float)(v153 * v41) + 8.0; } v155 = v155 - v42; goto LABEL_56; } } else if ( !(v29 >> 1) ) { goto LABEL_30; } if ( (v29 & 1) != 0 ) v30 = *(_QWORD *)(v150 + 120); else v30 = (unsigned __int8)v29 >> 1; v33 = v30 + 4; if ( v30 + 4 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); if ( v33 >= 0x17 ) { v37 = (v33 | 7) + 1; if ( (v33 | 7) == 0x17 ) v37 = 26; v34 = (char *)operator new(v37); __p.__r_.__value_.__r.__words[0] = v37 | 1; __p.__r_.__value_.__r.__words[2] = (std::string::size_type)v34; __p.__r_.__value_.__l.__size_ = v30 + 4; v35 = v150; if ( (v29 & 1) == 0 ) goto LABEL_42; } else { memset(&__p, 0, sizeof(__p)); __p.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)(2 * v33); v34 = __p.__r_.__value_.__s.__data_; v35 = v150; if ( !v30 ) goto LABEL_44; if ( (v29 & 1) == 0 ) { LABEL_42: v36 = (const void *)(v35 + 113); goto LABEL_43; } } v36 = *(const void **)(v35 + 128); LABEL_43: memmove(v34, v36, v30); LABEL_44: strcpy(&v34[v30], " ago"); v38 = __p.__r_.__value_.__s.__data_; if ( (*(_BYTE *)&__p.__r_.__value_.__s.0 & 1) != 0 ) v38 = __p.__r_.__value_.__l.__data_; v39 = cocos2d::CCLabelBMFont::create_3((__int64)v38, (__int64)"chatFont.fnt"); if ( (*(_BYTE *)&__p.__r_.__value_.__s.0 & 1) != 0 ) operator delete(__p.__r_.__value_.__l.__data_); sub_100278250((float *)&__p, 1.0, 0.5); (*(void (__fastcall **)(void *, std::string *))(*(_QWORD *)v39 + 296LL))(v39, &__p); (*(void (__fastcall **)(void *, float))(*(_QWORD *)v39 + 160LL))(v39, 0.40000001); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v39 + 1024LL))(v39, 150); sub_100278250((float *)&__p, v155, -10.0 - v145); (*(void (__fastcall **)(void *, std::string *))(*(_QWORD *)v39 + 184LL))(v39, &__p); (*(void (__fastcall **)(std::string *, void *, __int64))(v148->__r_.__value_.__r.__words[0] + 464))(v148, v39, 1); p_p = &__p; v28 = (__int64)v39; (*(void (__fastcall **)(std::string *, void *))(*(_QWORD *)v39 + 336LL))(&__p, v39); v155 = v155 - (float)(*(float *)&__p.__r_.__value_.__l.0 + 8.0); v31 = *(_DWORD *)(v150 + 140); if ( v31 > 0 ) goto LABEL_31; LABEL_56: memset(&__p, 0, sizeof(__p)); v43 = *(_DWORD *)(v150 + 192); if ( v43 <= 0 ) goto LABEL_79; v44 = sub_10088E820("score %i", v43); v45 = (const char *)cocos2d::CCString::getCString((__int64)v44); v46 = strlen(v45); if ( v46 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v47 = v46; if ( v46 >= 0x17 ) { v49 = (v46 | 7) + 1; if ( (v46 | 7) == 0x17 ) v49 = 26; v48 = (char *)operator new(v49); __dst.__r_.__value_.__r.__words[2] = (std::string::size_type)v48; __dst.__r_.__value_.__r.__words[0] = v49 | 1; __dst.__r_.__value_.__l.__size_ = v47; } else { __dst.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)(2 * v46); v48 = __dst.__r_.__value_.__s.__data_; if ( !v46 ) goto LABEL_65; } memmove(v48, v45, v47); LABEL_65: v48[v47] = 0; size = (_OWORD *)__p.__r_.__value_.__l.__size_; if ( __p.__r_.__value_.__l.__size_ >= __p.__r_.__value_.__r.__words[2] ) { v52 = (void *)__p.__r_.__value_.__r.__words[0]; v53 = __p.__r_.__value_.__l.__size_ - __p.__r_.__value_.__r.__words[0]; v54 = 0xAAAAAAAAAAAAAAABLL * ((__int64)(__p.__r_.__value_.__l.__size_ - __p.__r_.__value_.__r.__words[0]) >> 3) + 1; if ( v54 > 0xAAAAAAAAAAAAAAALL ) sub_100056A70(); if ( 0x5555555555555556LL * ((__int64)(__p.__r_.__value_.__r.__words[2] - __p.__r_.__value_.__r.__words[0]) >> 3) > v54 ) v54 = 0x5555555555555556LL * ((__int64)(__p.__r_.__value_.__r.__words[2] - __p.__r_.__value_.__r.__words[0]) >> 3); if ( 0xAAAAAAAAAAAAAAABLL * ((__int64)(__p.__r_.__value_.__r.__words[2] - __p.__r_.__value_.__r.__words[0]) >> 3) >= 0x555555555555555LL ) v54 = 0xAAAAAAAAAAAAAAALL; if ( v54 ) { if ( v54 > 0xAAAAAAAAAAAAAAALL ) sub_10001ADB0(); v55 = (char *)operator new(24 * v54); } else { v55 = nullptr; } v56 = (std::string *)&v55[8 * (v53 >> 3)]; v57 = (std::string::size_type)&v55[24 * v54]; *v56 = __dst; v51 = (std::string::size_type)&v56[1]; v58 = (char *)v56 - v53; memcpy(v58, v52, v53); __p.__r_.__value_.__r.__words[0] = (std::string::size_type)v58; __p.__r_.__value_.__l.__size_ = v51; __p.__r_.__value_.__r.__words[2] = v57; if ( v52 ) operator delete(v52); } else { *(_QWORD *)(__p.__r_.__value_.__l.__size_ + 16) = __dst.__r_.__value_.__l.__data_; *size = *(_OWORD *)&__dst.__r_.__value_.__l.0; v51 = (std::string::size_type)size + 24; } __p.__r_.__value_.__l.__size_ = v51; LABEL_79: v59 = *(_DWORD *)(v150 + 228); if ( v59 <= 0 && *(int *)(v150 + 96) <= 0 ) goto LABEL_99; v60 = "s"; if ( v59 == 1 ) v60 = ""; v61 = sub_10088E820("%i reporter%s", v59, v60); v62 = (const char *)cocos2d::CCString::getCString((__int64)v61); v63 = strlen(v62); if ( v63 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v64 = v63; if ( v63 >= 0x17 ) { v66 = (v63 | 7) + 1; if ( (v63 | 7) == 0x17 ) v66 = 26; v65 = (char *)operator new(v66); __dst.__r_.__value_.__r.__words[2] = (std::string::size_type)v65; __dst.__r_.__value_.__r.__words[0] = v66 | 1; __dst.__r_.__value_.__l.__size_ = v64; } else { __dst.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)(2 * v63); v65 = __dst.__r_.__value_.__s.__data_; if ( !v63 ) goto LABEL_91; } memmove(v65, v62, v64); LABEL_91: v65[v64] = 0; v67 = *(_DWORD *)(v150 + 96); if ( v67 > 0 ) { v68 = sub_10088E820(" +%i anonymous", v67); v69 = (const std::string::value_type *)cocos2d::CCString::getCString((__int64)v68); std::string::append(&__dst, v69); } v70 = (_OWORD *)__p.__r_.__value_.__l.__size_; if ( __p.__r_.__value_.__l.__size_ >= __p.__r_.__value_.__r.__words[2] ) { __p.__r_.__value_.__l.__size_ = (std::string::size_type)sub_1000568A0((__int64)&__p, (__int64)&__dst); if ( (*(_BYTE *)&__dst.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_99; LABEL_98: operator delete(__dst.__r_.__value_.__l.__data_); goto LABEL_99; } if ( (*(_BYTE *)&__dst.__r_.__value_.__s.0 & 1) != 0 ) { sub_10001AD30( (_QWORD *)__p.__r_.__value_.__l.__size_, __dst.__r_.__value_.__l.__data_, __dst.__r_.__value_.__l.__size_); __p.__r_.__value_.__l.__size_ = (std::string::size_type)v70 + 24; if ( (*(_BYTE *)&__dst.__r_.__value_.__s.0 & 1) != 0 ) goto LABEL_98; } else { *(_QWORD *)(__p.__r_.__value_.__l.__size_ + 16) = __dst.__r_.__value_.__l.__data_; *v70 = *(_OWORD *)&__dst.__r_.__value_.__l.0; __p.__r_.__value_.__l.__size_ = (std::string::size_type)v70 + 24; if ( (*(_BYTE *)&__dst.__r_.__value_.__s.0 & 1) != 0 ) goto LABEL_98; } LABEL_99: v71 = *(_DWORD *)(v150 + 88); if ( v71 <= 0 ) goto LABEL_126; v72 = "s"; if ( v71 == 1 ) v72 = ""; v73 = sub_10088E820("%i item%s", v71, v72); v74 = (const char *)cocos2d::CCString::getCString((__int64)v73); v75 = strlen(v74); if ( v75 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v76 = v75; if ( v75 >= 0x17 ) { v78 = (v75 | 7) + 1; if ( (v75 | 7) == 0x17 ) v78 = 26; v77 = (char *)operator new(v78); __dst.__r_.__value_.__r.__words[2] = (std::string::size_type)v77; __dst.__r_.__value_.__r.__words[0] = v78 | 1; __dst.__r_.__value_.__l.__size_ = v76; } else { __dst.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)(2 * v75); v77 = __dst.__r_.__value_.__s.__data_; if ( !v75 ) goto LABEL_110; } memmove(v77, v74, v76); LABEL_110: v77[v76] = 0; v79 = (_OWORD *)__p.__r_.__value_.__l.__size_; if ( __p.__r_.__value_.__l.__size_ >= __p.__r_.__value_.__r.__words[2] ) { v81 = (void *)__p.__r_.__value_.__r.__words[0]; v82 = __p.__r_.__value_.__l.__size_ - __p.__r_.__value_.__r.__words[0]; v83 = 0xAAAAAAAAAAAAAAABLL * ((__int64)(__p.__r_.__value_.__l.__size_ - __p.__r_.__value_.__r.__words[0]) >> 3) + 1; if ( v83 > 0xAAAAAAAAAAAAAAALL ) sub_100056A70(); if ( 0x5555555555555556LL * ((__int64)(__p.__r_.__value_.__r.__words[2] - __p.__r_.__value_.__r.__words[0]) >> 3) > v83 ) v83 = 0x5555555555555556LL * ((__int64)(__p.__r_.__value_.__r.__words[2] - __p.__r_.__value_.__r.__words[0]) >> 3); if ( 0xAAAAAAAAAAAAAAABLL * ((__int64)(__p.__r_.__value_.__r.__words[2] - __p.__r_.__value_.__r.__words[0]) >> 3) >= 0x555555555555555LL ) v83 = 0xAAAAAAAAAAAAAAALL; if ( v83 ) { if ( v83 > 0xAAAAAAAAAAAAAAALL ) sub_10001ADB0(); v84 = (char *)operator new(24 * v83); } else { v84 = nullptr; } v85 = (std::string *)&v84[8 * (v82 >> 3)]; v86 = (std::string::size_type)&v84[24 * v83]; *v85 = __dst; v80 = (std::string::size_type)&v85[1]; v87 = (char *)v85 - v82; memcpy(v87, v81, v82); __p.__r_.__value_.__r.__words[0] = (std::string::size_type)v87; __p.__r_.__value_.__l.__size_ = v80; __p.__r_.__value_.__r.__words[2] = v86; if ( v81 ) operator delete(v81); } else { *(_QWORD *)(__p.__r_.__value_.__l.__size_ + 16) = __dst.__r_.__value_.__l.__data_; *v79 = *(_OWORD *)&__dst.__r_.__value_.__l.0; v80 = (std::string::size_type)v79 + 24; } __p.__r_.__value_.__l.__size_ = v80; LABEL_126: v88 = *(_DWORD *)(v150 + 100); if ( v88 < 0 ) goto LABEL_130; strcpy((char *)&__dst, "\ntop: "); v89 = sub_100964350(v88); v90 = std::string::append(&__dst, v89); v91 = v90->__r_.__value_.__s.0; *(_QWORD *)((char *)&__s + 7) = v90->__r_.__value_.__l.__size_; *(_QWORD *)&__s = *(std::string::size_type *)((char *)v90->__r_.__value_.__r.__words + 1); v92 = v90->__r_.__value_.__l.__data_; *(_OWORD *)&v90->__r_.__value_.__l.0 = 0; v90->__r_.__value_.__r.__words[2] = 0; v93 = (_QWORD *)__p.__r_.__value_.__l.__size_; if ( __p.__r_.__value_.__l.__size_ < __p.__r_.__value_.__r.__words[2] ) { *(std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0 *)__p.__r_.__value_.__l.__size_ = v91; v94 = *(_QWORD *)((char *)&__s + 7); *(_QWORD *)((char *)v93 + 1) = __s; v93[1] = v94; v93[2] = v92; __p.__r_.__value_.__l.__size_ = (std::string::size_type)(v93 + 3); if ( (*(_BYTE *)&__dst.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_130; LABEL_129: operator delete(__dst.__r_.__value_.__l.__data_); goto LABEL_130; } v143 = v92; v101 = (void *)__p.__r_.__value_.__r.__words[0]; v102 = __p.__r_.__value_.__l.__size_ - __p.__r_.__value_.__r.__words[0]; v103 = 0xAAAAAAAAAAAAAAABLL * ((__int64)(__p.__r_.__value_.__l.__size_ - __p.__r_.__value_.__r.__words[0]) >> 3) + 1; if ( v103 > 0xAAAAAAAAAAAAAAALL ) sub_100056A70(); if ( 0x5555555555555556LL * ((__int64)(__p.__r_.__value_.__r.__words[2] - __p.__r_.__value_.__r.__words[0]) >> 3) > v103 ) v103 = 0x5555555555555556LL * ((__int64)(__p.__r_.__value_.__r.__words[2] - __p.__r_.__value_.__r.__words[0]) >> 3); if ( 0xAAAAAAAAAAAAAAABLL * ((__int64)(__p.__r_.__value_.__r.__words[2] - __p.__r_.__value_.__r.__words[0]) >> 3) >= 0x555555555555555LL ) v103 = 0xAAAAAAAAAAAAAAALL; if ( v103 ) { if ( v103 > 0xAAAAAAAAAAAAAAALL ) sub_10001ADB0(); v104 = (char *)operator new(24 * v103); } else { v104 = nullptr; } v112 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0 *)&v104[8 * (v102 >> 3)]; v113 = (std::string::size_type)&v104[24 * v103]; *v112 = v91; v114 = *(_QWORD *)((char *)&__s + 7); *(_QWORD *)&v112[1] = __s; *(_QWORD *)&v112[8] = v114; *(_QWORD *)&v112[16] = v143; v115 = (std::string::size_type)&v112[24]; v116 = (char *)&v112[-v102]; memcpy(v116, v101, v102); __p.__r_.__value_.__r.__words[0] = (std::string::size_type)v116; __p.__r_.__value_.__l.__size_ = v115; __p.__r_.__value_.__r.__words[2] = v113; if ( v101 ) operator delete(v101); __p.__r_.__value_.__l.__size_ = v115; if ( (*(_BYTE *)&__dst.__r_.__value_.__s.0 & 1) != 0 ) goto LABEL_129; LABEL_130: v95 = *(_DWORD *)(v150 + 136); if ( v95 > 0 ) { v96 = sub_10088E820("reported directly x%i", v95); v97 = (const char *)cocos2d::CCString::getCString((__int64)v96); v98 = strlen(v97); if ( v98 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v99 = v98; if ( v98 >= 0x17 ) { v105 = (v98 | 7) + 1; if ( (v98 | 7) == 0x17 ) v105 = 26; v100 = (char *)operator new(v105); __dst.__r_.__value_.__r.__words[2] = (std::string::size_type)v100; __dst.__r_.__value_.__r.__words[0] = v105 | 1; __dst.__r_.__value_.__l.__size_ = v99; } else { __dst.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)(2 * v98); v100 = __dst.__r_.__value_.__s.__data_; if ( !v98 ) goto LABEL_147; } memmove(v100, v97, v99); LABEL_147: v100[v99] = 0; v106 = (_OWORD *)__p.__r_.__value_.__l.__size_; if ( __p.__r_.__value_.__l.__size_ >= __p.__r_.__value_.__r.__words[2] ) { v108 = (void *)__p.__r_.__value_.__r.__words[0]; v109 = __p.__r_.__value_.__l.__size_ - __p.__r_.__value_.__r.__words[0]; v110 = 0xAAAAAAAAAAAAAAABLL * ((__int64)(__p.__r_.__value_.__l.__size_ - __p.__r_.__value_.__r.__words[0]) >> 3) + 1; if ( v110 > 0xAAAAAAAAAAAAAAALL ) sub_100056A70(); if ( 0x5555555555555556LL * ((__int64)(__p.__r_.__value_.__r.__words[2] - __p.__r_.__value_.__r.__words[0]) >> 3) > v110 ) v110 = 0x5555555555555556LL * ((__int64)(__p.__r_.__value_.__r.__words[2] - __p.__r_.__value_.__r.__words[0]) >> 3); if ( 0xAAAAAAAAAAAAAAABLL * ((__int64)(__p.__r_.__value_.__r.__words[2] - __p.__r_.__value_.__r.__words[0]) >> 3) >= 0x555555555555555LL ) v110 = 0xAAAAAAAAAAAAAAALL; if ( v110 ) { if ( v110 > 0xAAAAAAAAAAAAAAALL ) sub_10001ADB0(); v111 = (char *)operator new(24 * v110); } else { v111 = nullptr; } v117 = (std::string *)&v111[8 * (v109 >> 3)]; v118 = (std::string::size_type)&v111[24 * v110]; *v117 = __dst; v107 = (std::string::size_type)&v117[1]; v119 = (char *)v117 - v109; memcpy(v119, v108, v109); __p.__r_.__value_.__r.__words[0] = (std::string::size_type)v119; __p.__r_.__value_.__l.__size_ = v107; __p.__r_.__value_.__r.__words[2] = v118; if ( v108 ) operator delete(v108); } else { *(_QWORD *)(__p.__r_.__value_.__l.__size_ + 16) = __dst.__r_.__value_.__l.__data_; *v106 = *(_OWORD *)&__dst.__r_.__value_.__l.0; v107 = (std::string::size_type)v106 + 24; } __p.__r_.__value_.__l.__size_ = v107; } if ( *(_DWORD *)(v150 + 88) ) { v120 = __p.__r_.__value_.__l.__size_; } else { v120 = __p.__r_.__value_.__l.__size_; if ( !*(_DWORD *)(v150 + 136) ) { if ( __p.__r_.__value_.__l.__size_ >= __p.__r_.__value_.__r.__words[2] ) { v133 = (void *)__p.__r_.__value_.__r.__words[0]; v134 = __p.__r_.__value_.__l.__size_ - __p.__r_.__value_.__r.__words[0]; v135 = 0xAAAAAAAAAAAAAAABLL * ((__int64)(__p.__r_.__value_.__l.__size_ - __p.__r_.__value_.__r.__words[0]) >> 3); v136 = v135 + 1; if ( v135 + 1 > 0xAAAAAAAAAAAAAAALL ) sub_100056A70(); if ( 0x5555555555555556LL * ((__int64)(__p.__r_.__value_.__r.__words[2] - __p.__r_.__value_.__r.__words[0]) >> 3) > v136 ) v136 = 0x5555555555555556LL * ((__int64)(__p.__r_.__value_.__r.__words[2] - __p.__r_.__value_.__r.__words[0]) >> 3); if ( 0xAAAAAAAAAAAAAAABLL * ((__int64)(__p.__r_.__value_.__r.__words[2] - __p.__r_.__value_.__r.__words[0]) >> 3) >= 0x555555555555555LL ) v136 = 0xAAAAAAAAAAAAAAALL; if ( v136 ) { if ( v136 > 0xAAAAAAAAAAAAAAALL ) sub_10001ADB0(); v137 = (char *)operator new(24 * v136); } else { v137 = nullptr; } v138 = &v137[24 * v135]; v139 = (std::string::size_type)&v137[24 * v136]; *v138 = 20; strcpy(v138 + 1, "no reports"); *((_DWORD *)v138 + 3) = 0; *((_QWORD *)v138 + 2) = 0; v132 = (std::string::size_type)(v138 + 24); v140 = &v138[-v134]; memcpy(v140, v133, v134); __p.__r_.__value_.__r.__words[0] = (std::string::size_type)v140; __p.__r_.__value_.__l.__size_ = v132; __p.__r_.__value_.__r.__words[2] = v139; if ( v133 ) operator delete(v133); } else { *(_BYTE *)__p.__r_.__value_.__l.__size_ = 20; strcpy((char *)(v120 + 1), "no reports"); *(_DWORD *)(v120 + 12) = 0; *(_QWORD *)(v120 + 16) = 0; v132 = v120 + 24; } __p.__r_.__value_.__l.__size_ = v132; v120 = v132; } } memset(&__dst, 0, sizeof(__dst)); v121 = __dst.__r_.__value_.__s.__data_; if ( v120 != __p.__r_.__value_.__r.__words[0] ) { std::operator+(&__s, "", __p.__r_.__value_.__r.__words[0]); if ( (__s & 1) != 0 ) { v122 = (const std::string::value_type *)v158; v123 = *((_QWORD *)&__s + 1); } else { v123 = (unsigned __int8)__s >> 1; v122 = (char *)&__s + 1; } std::string::append(&__dst, v122, v123); if ( (__s & 1) != 0 ) operator delete(v158); v124 = __p.__r_.__value_.__r.__words[0]; if ( 0xAAAAAAAAAAAAAAABLL * ((__int64)(__p.__r_.__value_.__l.__size_ - __p.__r_.__value_.__r.__words[0]) >> 3) >= 2 ) { v125 = 1; v126 = 24; do { std::operator+(&__s, " - ", v126 + v124); if ( (__s & 1) != 0 ) { v127 = (const std::string::value_type *)v158; v128 = *((_QWORD *)&__s + 1); } else { v128 = (unsigned __int8)__s >> 1; v127 = (char *)&__s + 1; } std::string::append(&__dst, v127, v128); if ( (__s & 1) != 0 ) operator delete(v158); ++v125; v124 = __p.__r_.__value_.__r.__words[0]; v126 += 24; } while ( v125 < 0xAAAAAAAAAAAAAAABLL * ((__int64)(__p.__r_.__value_.__l.__size_ - __p.__r_.__value_.__r.__words[0]) >> 3) ); } v121 = __dst.__r_.__value_.__s.__data_; if ( (*(_BYTE *)&__dst.__r_.__value_.__s.0 & 1) != 0 ) v121 = __dst.__r_.__value_.__l.__data_; } v129 = cocos2d::CCLabelBMFont::create_3((__int64)v121, (__int64)"chatFont.fnt"); sub_100278250((float *)&__s, 0.0, 0.5); (*(void (__fastcall **)(void *, __int128 *))(*(_QWORD *)v129 + 296LL))(v129, &__s); cocos2d::CCLabelBMFont::limitLabelWidth((__int64)v129, v155 + -10.0, (__m128)0x3EE66666u, (__m128)0x3E4CCCCDu); BYTE2(__s) = 60; LOWORD(__s) = -11521; (*(void (__fastcall **)(void *, __int128 *))(*(_QWORD *)v129 + 1072LL))(v129, &__s); sub_100278250((float *)&__s, 10.0, -10.0 - v145); (*(void (__fastcall **)(void *, __int128 *))(*(_QWORD *)v129 + 184LL))(v129, &__s); (*(void (__fastcall **)(std::string *, void *, __int64))(v148->__r_.__value_.__r.__words[0] + 464))(v148, v129, 1); if ( (*(_BYTE *)&__dst.__r_.__value_.__s.0 & 1) != 0 ) operator delete(__dst.__r_.__value_.__l.__data_); v130 = __p.__r_.__value_.__r.__words[0]; if ( __p.__r_.__value_.__r.__words[0] ) { v131 = __p.__r_.__value_.__l.__size_; v6 = (void *)__p.__r_.__value_.__r.__words[0]; if ( __p.__r_.__value_.__l.__size_ != __p.__r_.__value_.__r.__words[0] ) { do { if ( (*(_BYTE *)(v131 - 24) & 1) != 0 ) operator delete(*(void **)(v131 - 8)); v131 -= 24LL; } while ( v131 != v130 ); v6 = (void *)__p.__r_.__value_.__r.__words[0]; } __p.__r_.__value_.__l.__size_ = v130; operator delete(v6); } v5 = v149 + 1; if ( v149 + 1 == v146 ) { v4 = *(_QWORD *)(v147 + 688); break; } } } ScrollableContentLayer::setContentHeight(v4, (float)((float)v146 * 43.0) + 12.0); return __stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source