// // sub_7782AC from 0x7782ac to 0x778300 (84 bytes) // // 1 xrefs: // > sub_7665E4 @ 0x76665a // // 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 // _DWORD *__fastcall sub_7782AC(_DWORD *a1, unsigned int a2, wchar_t a3) { void *v5; // r5 unsigned int *v8; // r0 unsigned int *v9; // r7 if ( a2 ) { v8 = sub_777768(a2, 0); v9 = v8; v5 = v8 + 3; if ( a2 == 1 ) v8[3] = a3; else wmemset((wchar_t *)v8 + 3, a3, a2); if ( v9 != (unsigned int *)&unk_ACDDAC ) { *v9 = a2; v9[2] = 0; v9[a2 + 3] = 0; } } else { v5 = &unk_ACDDB8; } *a1 = v5; return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source