//
// sub_180033160 from 0x180033160 to 0x180033199 (57 bytes)
//
// 2 xrefs:
// > sub_180033290 @ 0x1800332bf
// > ??> @ 0x1801f7980
//
// 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:04 +0000
//
__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;
}