//
// sub_180033160 from 0x180033160 to 0x180033199 (57 bytes)
//
// 2 xrefs:
// > sub_180033290 @ 0x1800332bf
// > ??> @ 0x1801f7980
//
// 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_180033160(int a1, int a2, int a3, int a4)
{
bool v4; // zf
__int64 result; // rax
unsigned int v6; // [rsp+58h] [rbp+20h] BYREF
v4 = (sub_1800B3470(a4, a1, a2, a3, (__int64)&v6) & 0xFFFFFFEF) == 0;
result = -1;
if ( v4 )
return v6;
return result;
}