// // sub_D1E1E4 from 0xd1e1e4 to 0xd1e2a8 (196 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 // __int64 *__fastcall sub_D1E1E4(__int64 *result, const wchar_t *a2, const wchar_t *a3) { __int64 *v4; // x24 __int64 v5; // x19 unsigned __int64 v6; // x21 unsigned __int64 *v7; // x0 unsigned __int64 *v8; // x23 _QWORD *v9; // x22 v4 = result; if ( a2 == a3 ) { *result = (__int64)&unk_124B6E8; } else { v5 = (char *)a3 - (char *)a2; v6 = a3 - a2; v7 = sub_D1B424(v6, 0); v8 = v7; v9 = v7 + 3; if ( v6 == 1 ) *((_DWORD *)v7 + 6) = *a2; else wmemcpy((wchar_t *)v7 + 6, a2, v5 >> 2); result = &qword_124B6D0; if ( v8 != (unsigned __int64 *)&qword_124B6D0 ) { *((_DWORD *)v8 + 4) = 0; *v8 = v6; *(_DWORD *)((char *)v8 + v5 + 24) = 0; } *v4 = (__int64)v9; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source