// // sub_777B60 from 0x777b60 to 0x777b90 (48 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_777B60(wchar_t *a1, int *a2, unsigned int a3, size_t a4) { int v4; // r5 unsigned int v6; // r4 size_t v7; // r2 const wchar_t *v8; // r1 v4 = *a2; v6 = *(_DWORD *)(v4 - 12); if ( a3 > v6 ) sub_7732C4( "%s: __pos (which is %zu) > this->size() (which is %zu)", "basic_string::assign", a3, *(_DWORD *)(v4 - 12)); v7 = v6 - a3; v8 = (const wchar_t *)(v4 + 4 * a3); if ( v7 >= a4 ) v7 = a4; return sub_777A98(a1, v8, v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source