//
// sub_10044C2A0 from 0x10044c2a0 to 0x10044c340 (160 bytes)
//
// 1 xrefs:
// > sub_10044AC78 @ 0x10044affc
//
// 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_10044C2A0(__int64 a1, int a2, int a3)
{
unsigned __int64 v3; // t2
_DWORD *v4; // x8
__int64 result; // x0
HIDWORD(v3) = a2;
LODWORD(v3) = a2;
v4 = *(_DWORD **)(a1 + 8);
switch ( (unsigned int)(v3 >> 2) )
{
case 0u:
*v4 = a3;
++v4[4];
result = 0;
break;
case 1u:
v4[5] = a3;
++v4[9];
result = 0;
break;
case 2u:
v4[10] = a3;
++v4[14];
result = 0;
break;
case 3u:
v4[15] = a3;
++v4[19];
result = 0;
break;
case 4u:
v4[20] = a3;
++v4[24];
goto LABEL_7;
default:
LABEL_7:
result = 0;
break;
}
return result;
}