//
// sub_75D8C0 from 0x75d8c0 to 0x75d92c (108 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
//
_DWORD *__fastcall sub_75D8C0(_DWORD *a1, int *a2, int a3)
{
int v6; // r1
int v7; // r1
unsigned int v8; // r3
_BYTE v10[8]; // [sp+4h] [bp-8h] BYREF
*a1 = &off_A2E198;
a1[1] = 0;
a1[2] = 0;
a1[3] = 0;
a1[4] = 0;
a1[5] = 0;
a1[6] = 0;
sub_757DB4(a1 + 7);
v6 = *a2;
a1[8] = 0;
*a1 = &off_AAFF80;
sub_7762B0(a1 + 9, v6, *(_DWORD *)(v6 - 12), v10);
v7 = a1[9];
v8 = a3 & 3;
a1[8] = a3;
if ( (a3 & 3) != 0 )
v8 = *(_DWORD *)(v7 - 12);
sub_75D7BC(a1, v7, 0, v8);
return a1;
}