// // NewThreadPopup::onSend from 0x100945b80 to 0x1009468ef (3439 bytes) // // 3 xrefs: // > NewThreadPopup::keyDown @ 0x1009471cc // > sub_1009471E0 @ 0x100947256 // > NewThreadPopup::init @ 0x1009454ca // // 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:33 +0000 // void __fastcall NewThreadPopup::onSend(__int64 a1) { __int64 v2; // rdi int v3; // r12d std::string::pointer data; // rax const char *size; // rcx const char *v6; // r15 __int64 v7; // rax std::string::pointer v8; // rdi __int64 v9; // rsi std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0 v10; // dl const char *v11; // rsi std::string::size_type v12; // rdx std::string::size_type v13; // rcx std::string::pointer v14; // rcx std::string::size_type v15; // rax std::string::size_type v16; // rax std::string::size_type v17; // rsi __int64 v19; // rsi std::string::pointer v20; // rcx std::string::size_type v21; // rax int v22; // eax int v23; // eax unsigned __int8 v24; // r13 int v25; // edx const char *v26; // rbx __int64 v27; // r12 char *v28; // r14 __int64 v29; // rdx int v30; // esi __int64 v31; // rax char *v32; // rdi __int64 v33; // rax __int64 v34; // rax int v35; // r15d char *v36; // rax const std::string::value_type *v37; // rax unsigned int v38; // r14d __int64 v39; // rax char *v40; // rax const std::string::value_type *v41; // rax std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0 v42; // al size_t v43; // r14 unsigned __int64 v44; // r13 char *v45; // r12 size_t v46; // r15 std::string::pointer v47; // rsi char *v48; // rax const char *CString; // r14 size_t v50; // rax size_t v51; // r12 std::string::value_type *v52; // r13 size_t v53; // r15 const std::string::value_type *v54; // rsi std::string::size_type v55; // rdx std::string *v56; // rax std::string *v57; // rax char v58; // r15 unsigned __int8 v59; // al const std::string::value_type *v60; // rsi std::string::size_type v61; // rdx std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0 v62; // al size_t v63; // r14 unsigned __int64 v64; // r13 char *v65; // r12 size_t v66; // r15 const std::string::value_type *v67; // rsi std::string::size_type v68; // rdx std::string *v69; // rax std::string *v70; // rax unsigned int v71; // edx const std::string::value_type *v72; // rsi std::string::size_type v73; // rdx std::string *v74; // rax std::string *v75; // rax size_t v76; // rdx unsigned int v77; // ecx __int64 v78; // rsi std::string::__long::$5C0822F47C3855276CFDD0C01D0AA610 *v79; // rdi const void *v80; // rsi time_t v81; // r12 __int64 v82; // rax __int64 v83; // r9 char v84; // r15 __int64 v85; // r12 __int64 v86; // r13 char v87; // r14 __int64 v88; // rdi _QWORD *v89; // rax std::string v90; // [rsp+20h] [rbp-220h] BYREF std::string v91; // [rsp+40h] [rbp-200h] BYREF std::string v92; // [rsp+60h] [rbp-1E0h] BYREF __int128 v93; // [rsp+78h] [rbp-1C8h] BYREF char *v94; // [rsp+88h] [rbp-1B8h] __int128 v95; // [rsp+90h] [rbp-1B0h] BYREF char *v96; // [rsp+A0h] [rbp-1A0h] __int128 v97; // [rsp+A8h] [rbp-198h] BYREF char *v98; // [rsp+B8h] [rbp-188h] void *v99; // [rsp+C0h] [rbp-180h] __int128 __dst; // [rsp+C8h] [rbp-178h] BYREF char *v101; // [rsp+D8h] [rbp-168h] std::string __s1; // [rsp+E0h] [rbp-160h] BYREF int v103; // [rsp+FCh] [rbp-144h] std::string v104; // [rsp+100h] [rbp-140h] BYREF std::string::value_type v105[16]; // [rsp+120h] [rbp-120h] BYREF void *__p; // [rsp+130h] [rbp-110h] std::string v107; // [rsp+140h] [rbp-100h] BYREF std::string::value_type v108[16]; // [rsp+160h] [rbp-E0h] BYREF void *v109; // [rsp+170h] [rbp-D0h] std::string v110; // [rsp+180h] [rbp-C0h] BYREF std::string v111; // [rsp+1A0h] [rbp-A0h] BYREF std::string::value_type __s[16]; // [rsp+1C0h] [rbp-80h] BYREF void *v113; // [rsp+1D0h] [rbp-70h] int v114; // [rsp+1DCh] [rbp-64h] std::string __src; // [rsp+1E0h] [rbp-60h] BYREF std::string v116; // [rsp+1F8h] [rbp-48h] BYREF int v117; // [rsp+214h] [rbp-2Ch] if ( *(_BYTE *)(a1 + 736) ) return; v2 = *(_QWORD *)(a1 + 728); if ( v2 ) v3 = sub_1007FEF90(v2); else v3 = 0; data = (std::string::pointer)*(unsigned __int8 *)(a1 + 737); size = "New Direct Message"; v6 = "New Group Chat"; if ( (_BYTE)data ) v6 = "New Direct Message"; LOBYTE(size) = *(_DWORD *)(a1 + 696) <= 0; if ( ((unsigned __int8)size & (v3 == 0)) == 1 ) { v94 = (char *)operator new(0x20u); *(_QWORD *)&v93 = 33; *((_QWORD *)&v93 + 1) = 26; strcpy(v94, "Please select a recipient."); v7 = sub_100493AB0(0, (__int64)v6, &v93, (__int64)"OK", 0); (*(void (__fastcall **)(__int64))(*(_QWORD *)v7 + 1312LL))(v7); if ( (v93 & 1) == 0 ) return; v8 = v94; goto LABEL_193; } if ( (_BYTE)data || (v9 = *(_QWORD *)(a1 + 880)) == 0 ) { *(_WORD *)&v116.__r_.__value_.__l.0 = 0; v10 = 0; } else { CCTextInputNode::getString(&v116, v9); v10 = v116.__r_.__value_.__s.0; data = v116.__r_.__value_.__l.__data_; size = (const char *)v116.__r_.__value_.__l.__size_; } v11 = (const char *)(*(unsigned __int8 *)&v10 >> 1); if ( (*(_BYTE *)&v10 & 1) != 0 ) v11 = size; else data = v116.__r_.__value_.__s.__data_; v12 = -1; if ( v11 ) { v13 = 0; while ( data[v13] == 32 ) { if ( v11 == (const char *)++v13 ) goto LABEL_23; } v12 = v13; } LABEL_23: std::string::erase(&v116, 0, v12); if ( (*(_BYTE *)&v116.__r_.__value_.__s.0 & 1) != 0 ) { v14 = v116.__r_.__value_.__l.__data_; v15 = v116.__r_.__value_.__l.__size_; } else { v15 = *(_BYTE *)&v116.__r_.__value_.__l.0 >> 1; v14 = v116.__r_.__value_.__s.__data_; } v16 = v15 + 1; while ( v16 != 1 ) { v17 = v16 - 1; if ( v14[v16-- - 2] != 32 ) goto LABEL_31; } v17 = 0; LABEL_31: std::string::erase(&v116, v17, 0xFFFFFFFFFFFFFFFFLL); v19 = *(_QWORD *)(a1 + 888); if ( !v19 ) { *(_WORD *)&__src.__r_.__value_.__l.0 = 0; if ( *(_BYTE *)(a1 + 737) ) goto LABEL_33; LABEL_37: if ( (*(_BYTE *)&v116.__r_.__value_.__s.0 & 1) != 0 ) { if ( v116.__r_.__value_.__l.__size_ ) { LABEL_39: v22 = EmoteSprite::maxEmotesComment(); goto LABEL_40; } } else if ( *(_BYTE *)&v116.__r_.__value_.__l.0 >> 1 ) { goto LABEL_39; } v96 = (char *)operator new(0x1Au); *(_QWORD *)&v95 = 27; *((_QWORD *)&v95 + 1) = 23; strcpy(v96, "Please enter a subject."); v33 = sub_100493AB0(0, (__int64)v6, &v95, (__int64)"OK", 0); (*(void (__fastcall **)(__int64))(*(_QWORD *)v33 + 1312LL))(v33); if ( (v95 & 1) == 0 ) goto LABEL_189; v32 = v96; goto LABEL_188; } CCTextInputNode::getString(&__src, v19); if ( !*(_BYTE *)(a1 + 737) ) goto LABEL_37; LABEL_33: if ( (*(_BYTE *)&__src.__r_.__value_.__s.0 & 1) != 0 ) { v20 = __src.__r_.__value_.__l.__data_; v21 = __src.__r_.__value_.__l.__size_; if ( !__src.__r_.__value_.__l.__size_ ) goto LABEL_52; } else { v21 = *(_BYTE *)&__src.__r_.__value_.__l.0 >> 1; v20 = __src.__r_.__value_.__s.__data_; if ( !(*(_BYTE *)&__src.__r_.__value_.__l.0 >> 1) ) { LABEL_52: v98 = (char *)operator new(0x1Au); *(_QWORD *)&v97 = 27; *((_QWORD *)&v97 + 1) = 23; strcpy(v98, "Please enter a message."); v31 = sub_100493AB0(0, (__int64)v6, &v97, (__int64)"OK", 0); (*(void (__fastcall **)(__int64))(*(_QWORD *)v31 + 1312LL))(v31); if ( (v97 & 1) == 0 ) goto LABEL_189; v32 = v98; goto LABEL_188; } } v29 = 0; while ( 1 ) { v30 = (unsigned __int8)v20[v29]; if ( v30 != 32 && v30 != 10 ) break; if ( v21 == ++v29 ) goto LABEL_52; } if ( v29 == -1 ) goto LABEL_52; v22 = EmoteSprite::maxEmotesMessage(); LABEL_40: v23 = EmoteSprite::effectiveLength((unsigned __int8 *)&__src, v22); v24 = *(_BYTE *)(a1 + 737); v25 = 300; if ( v24 ) v25 = 500; if ( v23 <= v25 ) { if ( v24 ) { *(_WORD *)v108 = 0; } else if ( (*(_BYTE *)&__src.__r_.__value_.__s.0 & 1) != 0 ) { sub_10001AD30(v108, __src.__r_.__value_.__l.__data_, __src.__r_.__value_.__l.__size_); v24 = *(_BYTE *)(a1 + 737); } else { v109 = __src.__r_.__value_.__l.__data_; *(_OWORD *)v108 = *(_OWORD *)&__src.__r_.__value_.__l.0; } if ( (v24 & 1) == 0 ) { std::string::assign(&__src, ""); v24 = *(_BYTE *)(a1 + 737); } memset(&v111, 0, sizeof(v111)); v35 = *(_DWORD *)(a1 + 696); if ( (v24 & 1) != 0 ) { if ( v35 <= 0 ) v35 = *(_DWORD *)(sub_1007FEFE0(*(_QWORD *)(a1 + 728), 0) + 376); LABEL_82: v99 = (char *)&v116.__r_.__value_.__l.0 + 1; v42 = __src.__r_.__value_.__s.0; if ( (*(_BYTE *)&__src.__r_.__value_.__s.0 & 1) != 0 ) v43 = __src.__r_.__value_.__l.__size_; else v43 = *(_BYTE *)&__src.__r_.__value_.__l.0 >> 1; v44 = v43 + 1; if ( v43 + 1 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v114 = v35; if ( v44 >= 0x17 ) { v117 = (int)__src.__r_.__value_.__l.0; v46 = 26; if ( (v44 | 7) != 0x17 ) v46 = (v44 | 7) + 1; v45 = (char *)operator new(v46); v104.__r_.__value_.__r.__words[0] = v46 | 1; v104.__r_.__value_.__r.__words[2] = (std::string::size_type)v45; v104.__r_.__value_.__l.__size_ = v43 + 1; v35 = v114; v42 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)v117; } else { memset(&v104, 0, sizeof(v104)); v104.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)(2 * v44); v45 = v104.__r_.__value_.__s.__data_; if ( !v43 ) goto LABEL_96; } if ( (*(_BYTE *)&v42 & 1) != 0 ) v47 = __src.__r_.__value_.__l.__data_; else v47 = __src.__r_.__value_.__s.__data_; memmove(v45, v47, v43); LABEL_96: *(_WORD *)&v45[v43] = 124; if ( *(_BYTE *)(a1 + 737) != 1 ) { if ( (*(_BYTE *)&v111.__r_.__value_.__s.0 & 1) != 0 ) { sub_10001AD30(__s, v111.__r_.__value_.__l.__data_, v111.__r_.__value_.__l.__size_); } else { v113 = v111.__r_.__value_.__l.__data_; *(_OWORD *)__s = *(_OWORD *)&v111.__r_.__value_.__l.0; } goto LABEL_109; } v48 = sub_10088E820("%i", v35); CString = (const char *)cocos2d::CCString::getCString((__int64)v48); v50 = strlen(CString); if ( v50 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v51 = v50; if ( v50 >= 0x17 ) { v53 = 26; if ( (v50 | 7) != 0x17 ) v53 = (v50 | 7) + 1; v52 = (std::string::value_type *)operator new(v53); v113 = v52; *(_QWORD *)__s = v53 | 1; *(_QWORD *)&__s[8] = v51; } else { __s[0] = 2 * v50; v52 = &__s[1]; if ( !v50 ) goto LABEL_108; } memmove(v52, CString, v51); LABEL_108: v52[v51] = 0; LABEL_109: if ( (__s[0] & 1) != 0 ) { v54 = (const std::string::value_type *)v113; v55 = *(_QWORD *)&__s[8]; } else { v55 = (unsigned __int8)__s[0] >> 1; v54 = &__s[1]; } v56 = std::string::append(&v104, v54, v55); v90 = *v56; *(_OWORD *)&v56->__r_.__value_.__l.0 = 0; v56->__r_.__value_.__r.__words[2] = 0; v57 = std::string::append(&v90, "|"); v110 = *v57; *(_OWORD *)&v57->__r_.__value_.__l.0 = 0; v57->__r_.__value_.__r.__words[2] = 0; v58 = *(_BYTE *)(a1 + 737); if ( v58 == 1 ) { *(_WORD *)v105 = 27906; v105[2] = 0; v59 = 2; goto LABEL_135; } v62 = v116.__r_.__value_.__s.0; if ( (*(_BYTE *)&v116.__r_.__value_.__s.0 & 1) != 0 ) v63 = v116.__r_.__value_.__l.__size_; else v63 = *(_BYTE *)&v116.__r_.__value_.__l.0 >> 1; v64 = v63 + 1; if ( v63 + 1 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); if ( v64 >= 0x17 ) { v103 = (int)v116.__r_.__value_.__l.0; LOBYTE(v117) = v58; v66 = 26; if ( (v64 | 7) != 0x17 ) v66 = (v64 | 7) + 1; v65 = (char *)operator new(v66); v107.__r_.__value_.__r.__words[0] = v66 | 1; v107.__r_.__value_.__r.__words[2] = (std::string::size_type)v65; v107.__r_.__value_.__l.__size_ = v63 + 1; v58 = v117; v62 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)v103; } else { memset(&v107, 0, sizeof(v107)); v107.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)(2 * v64); v65 = v107.__r_.__value_.__s.__data_; if ( !v63 ) goto LABEL_128; } if ( (*(_BYTE *)&v62 & 1) != 0 ) v99 = v116.__r_.__value_.__l.__data_; memmove(v65, v99, v63); LABEL_128: *(_WORD *)&v65[v63] = 124; if ( (v108[0] & 1) != 0 ) { v67 = (const std::string::value_type *)v109; v68 = *(_QWORD *)&v108[8]; } else { v68 = (unsigned __int8)v108[0] >> 1; v67 = &v108[1]; } v69 = std::string::append(&v107, v67, v68); v92 = *v69; *(_OWORD *)&v69->__r_.__value_.__l.0 = 0; v69->__r_.__value_.__r.__words[2] = 0; v70 = std::string::append(&v92, "|"); v91 = *v70; *(_OWORD *)&v70->__r_.__value_.__l.0 = 0; v70->__r_.__value_.__r.__words[2] = 0; v71 = *(unsigned __int8 *)(a1 + 784); if ( (v71 & 1) != 0 ) { v72 = *(const std::string::value_type **)(a1 + 800); v73 = *(_QWORD *)(a1 + 792); } else { v72 = (const std::string::value_type *)(a1 + 785); v73 = v71 >> 1; } v74 = std::string::append(&v91, v72, v73); __p = v74->__r_.__value_.__l.__data_; *(_OWORD *)v105 = *(_OWORD *)&v74->__r_.__value_.__l.0; *(_OWORD *)&v74->__r_.__value_.__l.0 = 0; v74->__r_.__value_.__r.__words[2] = 0; v59 = v105[0]; if ( (v105[0] & 1) != 0 ) { v60 = (const std::string::value_type *)__p; v61 = *(_QWORD *)&v105[8]; goto LABEL_136; } LABEL_135: v60 = &v105[1]; v61 = v59 >> 1; LABEL_136: v75 = std::string::append(&v110, v60, v61); __s1 = *v75; *(_OWORD *)&v75->__r_.__value_.__l.0 = 0; v75->__r_.__value_.__r.__words[2] = 0; if ( (v105[0] & 1) != 0 ) operator delete(__p); if ( !v58 ) { if ( (*(_BYTE *)&v91.__r_.__value_.__s.0 & 1) != 0 ) { operator delete(v91.__r_.__value_.__l.__data_); if ( (*(_BYTE *)&v92.__r_.__value_.__s.0 & 1) == 0 ) { LABEL_141: if ( (*(_BYTE *)&v107.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_143; goto LABEL_142; } } else if ( (*(_BYTE *)&v92.__r_.__value_.__s.0 & 1) == 0 ) { goto LABEL_141; } operator delete(v92.__r_.__value_.__l.__data_); if ( (*(_BYTE *)&v107.__r_.__value_.__s.0 & 1) != 0 ) LABEL_142: operator delete(v107.__r_.__value_.__l.__data_); } LABEL_143: if ( (*(_BYTE *)&v110.__r_.__value_.__s.0 & 1) != 0 ) { operator delete(v110.__r_.__value_.__l.__data_); if ( (*(_BYTE *)&v90.__r_.__value_.__s.0 & 1) == 0 ) { LABEL_145: if ( (__s[0] & 1) == 0 ) goto LABEL_146; goto LABEL_151; } } else if ( (*(_BYTE *)&v90.__r_.__value_.__s.0 & 1) == 0 ) { goto LABEL_145; } operator delete(v90.__r_.__value_.__l.__data_); if ( (__s[0] & 1) == 0 ) { LABEL_146: if ( (*(_BYTE *)&v104.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_147; goto LABEL_152; } LABEL_151: operator delete(v113); if ( (*(_BYTE *)&v104.__r_.__value_.__s.0 & 1) == 0 ) { LABEL_147: if ( !*(_QWORD *)(a1 + 904) ) goto LABEL_170; LABEL_153: if ( (*(_BYTE *)&__s1.__r_.__value_.__s.0 & 1) != 0 ) v76 = __s1.__r_.__value_.__l.__size_; else v76 = *(_BYTE *)&__s1.__r_.__value_.__l.0 >> 1; v77 = *(unsigned __int8 *)(a1 + 912); if ( (v77 & 1) != 0 ) v78 = *(_QWORD *)(a1 + 920); else v78 = v77 >> 1; if ( v76 == v78 ) { v79 = (*(_BYTE *)&__s1.__r_.__value_.__s.0 & 1) != 0 ? (std::string::__long::$5C0822F47C3855276CFDD0C01D0AA610 *)__s1.__r_.__value_.__r.__words[2] : (std::string::__long::$5C0822F47C3855276CFDD0C01D0AA610 *)((char *)&__s1.__r_.__value_.__l.0 + 1); v80 = (v77 & 1) != 0 ? *(const void **)(a1 + 928) : (const void *)(a1 + 913); if ( !memcmp(v79, v80, v76) ) { LABEL_171: v82 = GameLevelManager::sharedState(); v83 = *(_QWORD *)(a1 + 904); v84 = *(_BYTE *)(a1 + 737); if ( v84 == 1 ) { *(_WORD *)&v110.__r_.__value_.__l.0 = 0; } else if ( (*(_BYTE *)(a1 + 784) & 1) != 0 ) { v85 = *(_QWORD *)(a1 + 904); v86 = v82; sub_10001AD30(&v110, *(const void **)(a1 + 800), *(_QWORD *)(a1 + 792)); v82 = v86; v83 = v85; } else { v110 = *(std::string *)(a1 + 784); } v87 = GameLevelManager::sendThreadMessage( v82, 0, v114, &v116, &__src, v83, (unsigned __int8 *)&v111, v84, (unsigned __int8 *)v108, (unsigned __int8 *)&v110); if ( (*(_BYTE *)&v110.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v110.__r_.__value_.__l.__data_); if ( v87 ) { *(_QWORD *)(GameLevelManager::sharedState() + 1264) = a1 + 664; *(_BYTE *)(a1 + 736) = 1; v88 = *(_QWORD *)(a1 + 744); if ( v88 ) { (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v88 + 1056LL))(v88, 0); v89 = (_QWORD *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 744) + 1072LL))(*(_QWORD *)(a1 + 744)); ButtonSprite::setColor(v89, 8224125); } } if ( (*(_BYTE *)&__s1.__r_.__value_.__s.0 & 1) != 0 ) { operator delete(__s1.__r_.__value_.__l.__data_); if ( (*(_BYTE *)&v111.__r_.__value_.__s.0 & 1) == 0 ) { LABEL_183: if ( (v108[0] & 1) == 0 ) goto LABEL_189; LABEL_187: v32 = (char *)v109; goto LABEL_188; } } else if ( (*(_BYTE *)&v111.__r_.__value_.__s.0 & 1) == 0 ) { goto LABEL_183; } operator delete(v111.__r_.__value_.__l.__data_); if ( (v108[0] & 1) == 0 ) goto LABEL_189; goto LABEL_187; } } LABEL_170: v81 = time(nullptr); *(_QWORD *)(a1 + 904) = (v81 << 20) | rand() & 0xFFFFF; std::string::operator=((std::string *)(a1 + 912), &__s1); goto LABEL_171; } LABEL_152: operator delete(v104.__r_.__value_.__l.__data_); if ( !*(_QWORD *)(a1 + 904) ) goto LABEL_170; goto LABEL_153; } if ( v35 > 0 ) { v36 = sub_10088E820("%i", v35); v37 = (const std::string::value_type *)cocos2d::CCString::getCString((__int64)v36); std::string::assign(&v111, v37); LABEL_72: v35 = 0; goto LABEL_82; } if ( v3 <= 0 ) goto LABEL_72; v38 = 0; while ( (*(_BYTE *)&v111.__r_.__value_.__s.0 & 1) == 0 ) { if ( *(_BYTE *)&v111.__r_.__value_.__l.0 >> 1 ) goto LABEL_79; LABEL_80: v39 = sub_1007FEFE0(*(_QWORD *)(a1 + 728), v38); v40 = sub_10088E820("%i", *(_DWORD *)(v39 + 376)); v41 = (const std::string::value_type *)cocos2d::CCString::getCString((__int64)v40); std::string::append(&v111, v41); if ( v3 == ++v38 ) { v35 = 0; goto LABEL_82; } } if ( !v111.__r_.__value_.__l.__size_ ) goto LABEL_80; LABEL_79: std::string::append(&v111, ","); goto LABEL_80; } v26 = "Description is too long."; if ( v24 ) { v26 = "Message is too long."; LOBYTE(__dst) = 40; v27 = 20; v28 = (char *)&__dst + 1; } else { v28 = (char *)operator new(0x20u); v101 = v28; *(_QWORD *)&__dst = 33; *((_QWORD *)&__dst + 1) = 24; v27 = 24; } memcpy(v28, v26, 4LL * (v24 ^ 1u) + 20); v28[v27] = 0; v34 = sub_100493AB0(0, (__int64)v6, &__dst, (__int64)"OK", 0); (*(void (__fastcall **)(__int64))(*(_QWORD *)v34 + 1312LL))(v34); if ( (__dst & 1) != 0 ) { v32 = v101; LABEL_188: operator delete(v32); } LABEL_189: if ( (*(_BYTE *)&__src.__r_.__value_.__s.0 & 1) != 0 ) operator delete(__src.__r_.__value_.__l.__data_); if ( (*(_BYTE *)&v116.__r_.__value_.__s.0 & 1) != 0 ) { v8 = v116.__r_.__value_.__l.__data_; LABEL_193: operator delete(v8); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source