//
// sub_10044C424 from 0x10044c424 to 0x10044c4ac (136 bytes)
//
// 1 xrefs:
// > sub_10044AC78 @ 0x10044b010
//
// 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_10044C424(__int64 a1, int a2, _DWORD *a3, __int64 a4, int a5, int a6, int a7, int a8)
{
unsigned __int64 v8; // t2
_DWORD *v9; // x8
HIDWORD(v8) = a2;
LODWORD(v8) = a2;
v9 = *(_DWORD **)(a1 + 8);
switch ( (unsigned int)(v8 >> 2) )
{
case 0u:
goto LABEL_6;
case 1u:
v9 += 5;
goto LABEL_6;
case 2u:
v9 += 10;
goto LABEL_6;
case 3u:
v9 += 15;
goto LABEL_6;
case 4u:
v9 += 20;
LABEL_6:
*a3 = *v9;
break;
default:
break;
}
if ( a4 )
sub_1004C7414(a4, 0x20u, (int)"%d", a4, a5, a6, a7, a8, *a3);
return 0;
}