//
// sub_BE4EC from 0xbe4ec to 0xbe544 (88 bytes)
//
// 1 xrefs:
// > sub_BE0AC @ 0xbe260
//
// 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_BE4EC(
__int64 a1,
__int64 a2,
__int64 a3,
__int64 a4,
_DWORD *a5,
_DWORD *a6,
__int64 a7,
int a8)
{
if ( *a6 || *a5 )
{
if ( a8 == 4 )
{
sub_C11C0();
return 0;
}
if ( a8 == 3 )
{
sub_BE8E4();
return 0;
}
if ( a8 != 1 )
{
sub_BF948();
return 0;
}
}
sub_C09A4();
return 0;
}