//
// sub_B9B4E0 from 0xb9b4e0 to 0xb9b57c (156 bytes)
//
// 1 xrefs:
// > sub_B94C64 @ 0xb94d8c
//
// 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_B9B4E0(_QWORD *a1, _DWORD *a2)
{
__int64 **v4; // x0
__int64 v5; // x21
__int64 v6; // x0
*a2 = 0;
if ( !a1 || *a1 != 764702 || !sub_B99660(a1[4]) )
return 0;
v4 = (__int64 **)a1[4];
v5 = **v4;
sub_B994E4((__int64)v4, *v4, 0);
v6 = sub_B99660(a1[4]);
*a2 = sub_BABA88(v6);
return v5;
}