// // sub_7790D0 from 0x7790d0 to 0x779106 (54 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_7790D0(wchar_t *a1, size_t a2, unsigned int a3, int *a4, unsigned int a5, unsigned int a6) { int v6; // r6 unsigned int v7; // r4 unsigned int v8; // r4 v6 = *a4; v7 = *(_DWORD *)(*a4 - 12); if ( a5 > v7 ) sub_7732C4( "%s: __pos (which is %zu) > this->size() (which is %zu)", "basic_string::replace", a5, *(_DWORD *)(v6 - 12)); v8 = v7 - a5; if ( v8 >= a6 ) v8 = a6; return sub_778F1C(a1, a2, a3, (const wchar_t *)(v6 + 4 * a5), v8); }
GD Web Decomp Icon

GD Web Decomp

Raw Source