// // sub_765B70 from 0x765b70 to 0x765bd8 (104 bytes) // // 2 xrefs: // > sub_766888 @ 0x766a4a // > sub_766AF4 @ 0x766cb6 // // 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 // int __fastcall sub_765B70(int a1, unsigned __int8 *a2, int a3, int a4, char *a5, char *a6, char *a7, _DWORD *a8) { wchar_t *v8; // r0 int v9; // r6 int v10; // r4 int result; // r0 if ( a5 ) { v8 = sub_765A94(a6, a4, a2, a3, a7, a5); v9 = (a5 - a7) >> 2; v10 = (char *)v8 - a6; wmemcpy(v8, (const wchar_t *)a5, *a8 - v9); result = *a8 - v9; *a8 = (v10 >> 2) + result; } else { result = (char *)sub_765A94(a6, a4, a2, a3, a7, &a7[4 * *a8]) - a6; *a8 = result >> 2; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source