//
// sub_1800158A0 from 0x1800158a0 to 0x1800158d8 (56 bytes)
//
// 2 xrefs:
// > sub_180015B40 @ 0x180015caf
// > ??> @ 0x1801f70b0
//
// 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_1800158A0(__int64 a1, _QWORD *a2, __int64 a3)
{
unsigned int v5; // [rsp+40h] [rbp+18h] BYREF
if ( (unsigned int)sub_1800B3D20(*(_QWORD *)(a3 + 368), &v5) )
return 1;
*a2 = v5;
return 0;
}