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