//
// sub_10050F344 from 0x10050f344 to 0x10050f3f0 (172 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_10050F344(_DWORD *a1, int a2, _DWORD *a3, _BYTE *a4)
{
__int64 v4; // x8
_DWORD *v5; // x8
v4 = 31;
if ( a3 )
{
switch ( a2 )
{
case 1:
v5 = a1 + 228;
goto LABEL_16;
case 2:
v5 = a1 + 229;
goto LABEL_16;
case 3:
v5 = a1 + 230;
goto LABEL_16;
case 4:
v5 = a1 + 231;
goto LABEL_16;
case 5:
v5 = a1 + 232;
goto LABEL_16;
case 7:
v5 = a1 + 234;
goto LABEL_16;
case 8:
v5 = a1 + 235;
goto LABEL_16;
case 12:
v5 = a1 + 140;
goto LABEL_16;
case 13:
v5 = a1 + 141;
goto LABEL_16;
case 15:
v5 = a1 + 241;
goto LABEL_16;
case 16:
v5 = a1 + 243;
goto LABEL_16;
case 17:
v5 = a1 + 242;
goto LABEL_16;
case 21:
v5 = a1 + 236;
LABEL_16:
*a3 = *v5;
v4 = 0;
if ( a4 )
*a4 = 0;
break;
default:
return v4;
}
}
return v4;
}