//
// sub_75A900 from 0x75a900 to 0x75a954 (84 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_75A900(_DWORD *a1)
{
char *v2; // r1
bool v4; // zf
int v5; // [sp+8h] [bp-14h] BYREF
int v6; // [sp+Ch] [bp-10h]
v2 = (char *)a1 + *(_DWORD *)(*a1 - 12);
if ( (*((_DWORD *)v2 + 5) & 5) != 0 )
return a1;
(*(void (__fastcall **)(int *))(**((_DWORD **)v2 + 31) + 16))(&v5);
v4 = v6 == -1;
if ( v6 == -1 )
v4 = v5 == -1;
if ( !v4 )
return a1;
sub_744C5C((_DWORD *)((char *)a1 + *(_DWORD *)(*a1 - 12)), *(_DWORD *)((char *)a1 + *(_DWORD *)(*a1 - 12) + 20) | 4);
return a1;
}