//
// sub_10049A6FC from 0x10049a6fc to 0x10049a754 (88 bytes)
//
// 1 xrefs:
// > sub_10049A2B8 @ 0x10049a498
//
// 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_10049A6FC(
__int64 a1,
__int64 a2,
__int64 a3,
__int64 a4,
_DWORD *a5,
_DWORD *a6,
__int64 a7,
int a8)
{
if ( *a6 || *a5 )
{
if ( a8 == 4 )
{
sub_10049C974();
return 0;
}
if ( a8 == 3 )
{
sub_10049AB90();
return 0;
}
if ( a8 != 1 )
{
sub_10051A0BC();
return 0;
}
}
sub_10049C1D4();
return 0;
}