//
// sub_6AA84 from 0x6aa84 to 0x6ab14 (144 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
//
int __fastcall sub_6AA84(int a1, int a2, int a3)
{
_DWORD *v3; // r0
_DWORD *v4; // r0
v3 = *(_DWORD **)(a1 + 4);
switch ( a2 )
{
case 1:
v3[1] = a3;
goto LABEL_5;
case 2:
v3[2] = a3;
goto LABEL_5;
case 3:
v3[3] = a3;
LABEL_5:
v4 = v3 + 4;
goto LABEL_22;
case 5:
v3[6] = a3;
goto LABEL_9;
case 6:
v3[7] = a3;
goto LABEL_9;
case 7:
v3[8] = a3;
LABEL_9:
v4 = v3 + 9;
goto LABEL_22;
case 9:
v3[11] = a3;
goto LABEL_21;
case 10:
v3[12] = a3;
goto LABEL_21;
case 11:
v3[13] = a3;
LABEL_21:
v4 = v3 + 14;
goto LABEL_22;
case 13:
v3[16] = a3;
goto LABEL_15;
case 14:
v3[17] = a3;
goto LABEL_15;
case 15:
v3[18] = a3;
LABEL_15:
v4 = v3 + 19;
goto LABEL_22;
case 17:
v3[21] = a3;
goto LABEL_19;
case 18:
v3[22] = a3;
goto LABEL_19;
case 19:
v3[23] = a3;
LABEL_19:
v4 = v3 + 24;
LABEL_22:
++*v4;
break;
default:
return 0;
}
return 0;
}