//
// sub_BBA7C from 0xbba7c to 0xbba9e (34 bytes)
//
// 6 xrefs:
// > sub_753C4 @ 0x75612
// > sub_753C4 @ 0x7563a
// > sub_753C4 @ 0x76338
// > sub_753C4 @ 0x76350
// > sub_7AB38 @ 0x7ae5e
// > sub_838A4 @ 0x83ac2
//
// 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
//
int __fastcall sub_BBA7C(int a1, _DWORD *a2, int a3, unsigned int a4)
{
int result; // r0
unsigned __int8 v6; // [sp+Bh] [bp-Dh] BYREF
unsigned int v7; // [sp+Ch] [bp-Ch] BYREF
v6 = HIBYTE(a3);
v7 = a4;
result = sub_BB750(a1, (unsigned int *)&v6, 1u, 1, &v7);
if ( a2 )
*a2 = v6;
return result;
}