// // sub_75C31C from 0x75c31c to 0x75c36a (78 bytes) // // 8 xrefs: // > sub_75EE20 @ 0x75ee70 // > sub_75EE20 @ 0x75ee96 // > sub_75F74C @ 0x75f79c // > sub_75F74C @ 0x75f7c2 // > sub_75FD3C @ 0x75fd8c // > sub_75FD3C @ 0x75fdb2 // > sub_760420 @ 0x760470 // > sub_760420 @ 0x760496 // // 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_75C31C(const wchar_t *a1, int a2) { int v2; // r8 int v4; // r5 int v5; // r0 int v6; // r4 int v7; // r7 int result; // r0 v2 = a2 - (_DWORD)a1; v4 = (a2 - (int)a1) >> 2; v5 = sub_777768(v4, 0); v6 = v5; v7 = v5 + 12; if ( v4 == 1 ) *(_DWORD *)(v5 + 12) = *a1; else wmemcpy((wchar_t *)(v5 + 12), a1, v2 >> 2); result = v7; if ( (_UNKNOWN *)v6 != &unk_ACDDAC ) { *(_DWORD *)v6 = v4; *(_DWORD *)(v6 + 8) = 0; *(_DWORD *)(v2 + v6 + 12) = 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source