// // sub_D1C52C from 0xd1c52c to 0xd1c5c0 (148 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 // wchar_t *__fastcall sub_D1C52C(const wchar_t **a1, __int64 a2, unsigned __int64 a3, wchar_t a4) { __int64 v6; // x20 wchar_t *result; // x0 v6 = a2 - (_QWORD)*a1; if ( a3 > 0xFFFFFFFFFFFFFFELL - *((_QWORD *)*a1 - 3) ) sub_D13AF4("basic_string::_M_replace_aux"); result = (wchar_t *)sub_D1B4BC(a1, v6 >> 2, 0, a3); if ( a3 ) { result = (wchar_t *)((char *)*a1 + v6); if ( a3 == 1 ) *(const wchar_t *)((char *)*a1 + v6) = a4; else return wmemset(result, a4, a3); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source