//
// sub_180087E70 from 0x180087e70 to 0x180087ea5 (53 bytes)
//
// 2 xrefs:
// > sub_1800E2620 @ 0x1800e2c7f
// > ??> @ 0x1801fa2b4
//
// 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_180087E70(__int64 a1)
{
__int64 v1; // rbx
v1 = a1 + 16;
if ( !(unsigned int)sub_180087CB0((_QWORD *)(a1 + 16)) && !(unsigned int)sub_180087D80((_QWORD *)(v1 + 16)) )
{
*(_DWORD *)(v1 + 32) = -1;
*(_DWORD *)(v1 + 36) = 0;
}
return 0;
}