// // sub_7780D8 from 0x7780d8 to 0x77812a (82 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_7780D8(wchar_t *a1, int a2, int a3, unsigned int a4, wchar_t c) { int v5; // r2 int v6; // r6 v5 = (a3 - a2) >> 2; v6 = a2 - *a1; if ( a4 > 268435454 - *(_DWORD *)(*a1 - 12) + v5 ) sub_7731C4("basic_string::_M_replace_aux"); sub_7777D0(a1, v6 >> 2, v5, a4); if ( !a4 ) return a1; if ( a4 != 1 ) { wmemset((wchar_t *)(*a1 + v6), c, a4); return a1; } *(_DWORD *)(*a1 + v6) = c; return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source