// // sub_D1E364 from 0xd1e364 to 0xd1e438 (212 bytes) // // 0 xrefs: // // 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 // _QWORD *__fastcall sub_D1E364(const wchar_t *a1, const wchar_t *a2) { __int64 v3; // x19 unsigned __int64 v4; // x23 unsigned __int64 *v5; // x0 unsigned __int64 *v6; // x22 _QWORD *v7; // x21 if ( a1 == a2 ) return &unk_124B6E8; if ( !a1 && a2 ) sub_D138D8("basic_string::_S_construct null not valid"); v3 = (char *)a2 - (char *)a1; v4 = a2 - a1; v5 = sub_D1B424(v4, 0); v6 = v5; v7 = v5 + 3; if ( v4 == 1 ) *((_DWORD *)v5 + 6) = *a1; else wmemcpy((wchar_t *)v5 + 6, a1, v3 >> 2); if ( v6 != (unsigned __int64 *)&qword_124B6D0 ) { *((_DWORD *)v6 + 4) = 0; *v6 = v4; *(_DWORD *)((char *)v6 + v3 + 24) = 0; } return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source