//
// sub_B87A18 from 0xb87a18 to 0xb87a58 (64 bytes)
//
// 1 xrefs:
// > sub_B9C364 @ 0xb9cbd0
//
// 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_B87A18(__int64 a1, _BYTE *a2)
{
__int64 (*v2)(void); // x3
if ( a1 && (v2 = *(__int64 (**)(void))(*(_QWORD *)(a1 + 1024) + 56LL)) != nullptr )
{
*a2 = 0;
return v2();
}
else
{
*a2 = 1;
return 0;
}
}