//
// sub_10049426C from 0x10049426c to 0x1004942cc (96 bytes)
//
// 0 xrefs:
//
// 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_10049426C(__int64 a1, int a2, int *a3, __int64 a4)
{
int v5; // w8
if ( a2 )
return 31;
v5 = *(_DWORD *)(a1 + 564);
if ( v5 >= 6 )
v5 = 6;
if ( v5 <= 0 )
v5 = 0;
*a3 = v5;
if ( a4 )
sub_1004C6BD0(a4, off_100851EA0[*(int *)(a1 + 536)], 32);
return 0;
}