//
// sub_180075750 from 0x180075750 to 0x1800757ac (92 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801ad618
// > ??> @ 0x1801f9b4c
//
// 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
//
__int64 __fastcall sub_180075750(__int64 *a1, int a2, int *a3, __int64 a4)
{
__int64 v5; // rcx
int v6; // eax
if ( a2 )
return 31;
v5 = *a1;
v6 = *(_DWORD *)(v5 + 572);
if ( v6 >= 0 )
{
if ( v6 > 6 )
v6 = 6;
}
else
{
v6 = 0;
}
*a3 = v6;
if ( a4 )
sub_1800B7D20(a4, off_1801AD540[*(int *)(v5 + 544)], 32);
return 0;
}