// // sub_778778 from 0x778778 to 0x7787c6 (78 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 // const wchar_t **__fastcall sub_778778(const wchar_t **a1, wchar_t a2) { const wchar_t *v2; // r3 int v4; // r0 unsigned int v6; // r5 const wchar_t **result; // r0 v2 = *a1; v4 = *(*a1 - 3); v6 = v4 + 1; if ( (unsigned int)(v4 + 1) > *(v2 - 2) || *(v2 - 1) > 0 ) { sub_778308(a1, v6); v2 = *a1; v4 = *(*a1 - 3); } v2[v4] = a2; result = a1; if ( v2 - 3 != (const wchar_t *)&unk_ACDDAC ) { *((_DWORD *)v2 - 3) = v6; *((_DWORD *)v2 - 1) = 0; v2[v6] = 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source