// // sub_100966780 from 0x100966780 to 0x1009668eb (363 bytes) // // 3 xrefs: // > sub_10093B540 @ 0x10093b638 // > sub_100949F20 @ 0x100949f41 // > sub_1009554B0 @ 0x1009554cc // // 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:48 +0000 // _QWORD *__fastcall sub_100966780(__int64 a1, const std::string *a2, const std::string *a3) { const std::string *v5; // rsi _DWORD *v6; // r15 _QWORD *v7; // rbx _DWORD v9[4]; // [rsp+8h] [rbp-98h] BYREF __int128 v10; // [rsp+18h] [rbp-88h] BYREF __int128 v11; // [rsp+28h] [rbp-78h] BYREF __int128 v12; // [rsp+38h] [rbp-68h] _QWORD v13[4]; // [rsp+48h] [rbp-58h] BYREF void *__p[2]; // [rsp+68h] [rbp-38h] char *v15; // [rsp+78h] [rbp-28h] if ( !a1 ) return nullptr; v9[2] = 0; v10 = 0; v11 = 0; v12 = 0; memset(v13, 0, sizeof(v13)); *(_OWORD *)__p = 0; v15 = nullptr; v9[0] = 8; v9[1] = *(_DWORD *)(a1 + 56); v5 = (const std::string *)(a1 + 88); if ( *(_BYTE *)(a1 + 264) ) v5 = (const std::string *)(a1 + 64); std::string::operator=((std::string *)&v10, v5); v6 = operator new(0x14u); *(_OWORD *)v6 = xmmword_100A14718; v6[4] = 7; if ( __p[0] ) { __p[1] = __p[0]; operator delete(__p[0]); } __p[0] = v6; __p[1] = v6 + 5; v15 = (char *)(v6 + 5); if ( a2 ) { v13[0] = a2[2].__r_.__value_.__l.__size_; std::string::operator=((std::string *)((char *)&v11 + 8), a2 + 3); std::string::operator=((std::string *)&v13[1], a3); } v7 = sub_1009649F0((__int64)v9); if ( __p[0] ) { __p[1] = __p[0]; operator delete(__p[0]); } if ( (v13[1] & 1) != 0 ) { operator delete((void *)v13[3]); if ( (BYTE8(v11) & 1) == 0 ) { LABEL_12: if ( (v10 & 1) == 0 ) return v7; goto LABEL_17; } } else if ( (BYTE8(v11) & 1) == 0 ) { goto LABEL_12; } operator delete(*((void **)&v12 + 1)); if ( (v10 & 1) != 0 ) LABEL_17: operator delete((void *)v11); return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source