//
// sub_B879A4 from 0xb879a4 to 0xb879d8 (52 bytes)
//
// 1 xrefs:
// > sub_B9A1C4 @ 0xb9a224
//
// 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_B879A4(__int64 a1)
{
__int64 (*v1)(void); // x3
LODWORD(v1) = a1;
if ( a1 && (v1 = *(__int64 (**)(void))(*(_QWORD *)(a1 + 1024) + 72LL)) != nullptr )
return v1();
else
return (unsigned int)v1;
}