// // sub_7781B0 from 0x7781b0 to 0x778208 (88 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_7781B0(wchar_t *a1, int a2, unsigned int a3, wchar_t a4) { int v6; // r7 wchar_t *result; // r0 v6 = a2 - *a1; if ( a3 > 268435454 - *(_DWORD *)(*a1 - 12) ) sub_7731C4("basic_string::_M_replace_aux"); result = sub_7777D0(a1, v6 >> 2, 0, a3); if ( a3 ) { result = (wchar_t *)(*a1 + v6); if ( a3 == 1 ) *(_DWORD *)(*a1 + v6) = a4; else return j_wmemset(result, a4, a3); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source