//
// sub_180075750 from 0x180075750 to 0x1800757ac (92 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801ad618
// > ??> @ 0x1801f9b4c
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 10:53:31 +0000
//
__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;
}