
Idx duplicate_node(re_dfa_t *dfa,Idx org_idx,uint constraint)

{
  re_token_t token;
  Idx IVar1;
  re_token_t *prVar2;
  undefined4 in_stack_ffffffe4;
  
  token.opr.sbcset = (re_bitset_ptr_t)&_gp;
  token._4_4_ = in_stack_ffffffe4;
  IVar1 = re_dfa_add_node(dfa,token);
  if (IVar1 != -1) {
    *(uint *)&dfa->nodes[IVar1].field_0x4 =
         *(uint *)&dfa->nodes[IVar1].field_0x4 & 0xff003fff | (constraint & 0x3ff) << 0xe;
    prVar2 = dfa->nodes;
    *(uint *)&prVar2[IVar1].field_0x4 =
         *(uint *)&prVar2[IVar1].field_0x4 & 0xff003fff |
         (((*(uint *)&prVar2[IVar1].field_0x4 | *(uint *)&prVar2[org_idx].field_0x4) << 8) >> 0x16)
         << 0xe;
    *(uint *)&dfa->nodes[IVar1].field_0x4 =
         *(uint *)&dfa->nodes[IVar1].field_0x4 & 0xffffdfff | 0x2000;
    dfa->org_indices[IVar1] = org_idx;
  }
  return IVar1;
}



void FUN_0004a4e8(int *param_1,int param_2,uint param_3)

{
  undefined4 *puVar1;
  int iVar2;
  int iVar3;
  uint uVar4;
  int iVar5;
  
  puVar1 = (undefined4 *)(*param_1 + param_2 * 8);
  iVar2 = FUN_0004a11c(param_1,*puVar1,puVar1[1]);
  iVar3 = iVar2 * 8;
  if (iVar2 != -1) {
    *(uint *)(*param_1 + iVar3 + 4) =
         *(uint *)(*param_1 + iVar3 + 4) & 0xff003fff | (param_3 & 0x3ff) << 0xe;
    iVar5 = *param_1 + iVar3;
    uVar4 = *(uint *)(iVar5 + 4);
    *(uint *)(iVar5 + 4) =
         uVar4 & 0xff003fff |
         (((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8) >> 0x16) << 0xe;
    *(uint *)(*param_1 + iVar3 + 4) = *(uint *)(*param_1 + iVar3 + 4) & 0xffffdfff | 0x2000;
    *(int *)(param_1[4] + iVar2 * 4) = param_2;
  }
  return;
}


lui gp,0x3
addiu gp,gp,0x7098
addu gp,gp,t9
addiu sp,sp,-0x30
sw ra,0x2c(sp)
sw s3,0x28(sp)
sw s2,0x24(sp)
sw s1,0x20(sp)
sw s0,0x1c(sp)
sw gp,0x10(sp)
or s0,a0,zero
or s1,a1,zero
or s3,a2,zero
sll s2,a1,0x3
lw v0,0x0(a0)
addu v0,v0,s2
lw a1,0x0(v0)
lw a2,0x4(v0)
lw t9,-0x7bdc(gp)
addiu t9,t9,-0x5ee4
bal 0x0004a11c
_nop
lw gp,0x10(sp)
li v1,-0x1
beq v0,v1,0x0004a5b0
_sll v1,v0,0x3
lw a0,0x0(s0)
addu a0,a0,v1
lw a1,0x4(a0)
ins a1,s3,0xe,0xa
sw a1,0x4(a0)
lw a0,0x0(s0)
addu a2,a0,v1
addu a0,a0,s2
lw a1,0x4(a0)
lw a0,0x4(a2)
or a1,a0,a1
ext a1,a1,0xe,0xa
ins a0,a1,0xe,0xa
sw a0,0x4(a2)
lw a0,0x0(s0)
addu v1,a0,v1
lw a0,0x4(v1)
li a1,0x1
ins a0,a1,0xd,0x1
sw a0,0x4(v1)
lw v1,0x10(s0)
sll a0,v0,0x2
addu v1,v1,a0
sw s1,0x0(v1)
lw ra,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
(translation_unit "void FUN_0004a4e8(int *param_1,int param_2,uint param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  \n  puVar1 = (undefined4 *)(*param_1 + param_2 * 8);\n  iVar2 = FUN_0004a11c(param_1,*puVar1,puVar1[1]);\n  iVar3 = iVar2 * 8;\n  if (iVar2 != -1) {\n    *(uint *)(*param_1 + iVar3 + 4) =\n         *(uint *)(*param_1 + iVar3 + 4) & 0xff003fff | (param_3 & 0x3ff) << 0xe;\n    iVar5 = *param_1 + iVar3;\n    uVar4 = *(uint *)(iVar5 + 4);\n    *(uint *)(iVar5 + 4) =\n         uVar4 & 0xff003fff |\n         (((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8) >> 0x16) << 0xe;\n    *(uint *)(*param_1 + iVar3 + 4) = *(uint *)(*param_1 + iVar3 + 4) & 0xffffdfff | 0x2000;\n    *(int *)(param_1[4] + iVar2 * 4) = param_2;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0004a4e8(int *param_1,int param_2,uint param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  \n  puVar1 = (undefined4 *)(*param_1 + param_2 * 8);\n  iVar2 = FUN_0004a11c(param_1,*puVar1,puVar1[1]);\n  iVar3 = iVar2 * 8;\n  if (iVar2 != -1) {\n    *(uint *)(*param_1 + iVar3 + 4) =\n         *(uint *)(*param_1 + iVar3 + 4) & 0xff003fff | (param_3 & 0x3ff) << 0xe;\n    iVar5 = *param_1 + iVar3;\n    uVar4 = *(uint *)(iVar5 + 4);\n    *(uint *)(iVar5 + 4) =\n         uVar4 & 0xff003fff |\n         (((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8) >> 0x16) << 0xe;\n    *(uint *)(*param_1 + iVar3 + 4) = *(uint *)(*param_1 + iVar3 + 4) & 0xffffdfff | 0x2000;\n    *(int *)(param_1[4] + iVar2 * 4) = param_2;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0004a4e8(int *param_1,int param_2,uint param_3)" identifier (parameter_list "(int *param_1,int param_2,uint param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  \n  puVar1 = (undefined4 *)(*param_1 + param_2 * 8);\n  iVar2 = FUN_0004a11c(param_1,*puVar1,puVar1[1]);\n  iVar3 = iVar2 * 8;\n  if (iVar2 != -1) {\n    *(uint *)(*param_1 + iVar3 + 4) =\n         *(uint *)(*param_1 + iVar3 + 4) & 0xff003fff | (param_3 & 0x3ff) << 0xe;\n    iVar5 = *param_1 + iVar3;\n    uVar4 = *(uint *)(iVar5 + 4);\n    *(uint *)(iVar5 + 4) =\n         uVar4 & 0xff003fff |\n         (((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8) >> 0x16) << 0xe;\n    *(uint *)(*param_1 + iVar3 + 4) = *(uint *)(*param_1 + iVar3 + 4) & 0xffffdfff | 0x2000;\n    *(int *)(param_1[4] + iVar2 * 4) = param_2;\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (expression_statement "puVar1 = (undefined4 *)(*param_1 + param_2 * 8);" (assignment_expression "puVar1 = (undefined4 *)(*param_1 + param_2 * 8)" identifier = (cast_expression "(undefined4 *)(*param_1 + param_2 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + param_2 * 8)" ( (binary_expression "*param_1 + param_2 * 8" (pointer_expression "*param_1" * identifier) + (binary_expression "param_2 * 8" identifier * number_literal)) )))) ;) (expression_statement "iVar2 = FUN_0004a11c(param_1,*puVar1,puVar1[1]);" (assignment_expression "iVar2 = FUN_0004a11c(param_1,*puVar1,puVar1[1])" identifier = (call_expression "FUN_0004a11c(param_1,*puVar1,puVar1[1])" identifier (argument_list "(param_1,*puVar1,puVar1[1])" ( identifier , (pointer_expression "*puVar1" * identifier) , (subscript_expression "puVar1[1]" identifier [ number_literal ]) )))) ;) (expression_statement "iVar3 = iVar2 * 8;" (assignment_expression "iVar3 = iVar2 * 8" identifier = (binary_expression "iVar2 * 8" identifier * number_literal)) ;) (if_statement "if (iVar2 != -1) {\n    *(uint *)(*param_1 + iVar3 + 4) =\n         *(uint *)(*param_1 + iVar3 + 4) & 0xff003fff | (param_3 & 0x3ff) << 0xe;\n    iVar5 = *param_1 + iVar3;\n    uVar4 = *(uint *)(iVar5 + 4);\n    *(uint *)(iVar5 + 4) =\n         uVar4 & 0xff003fff |\n         (((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8) >> 0x16) << 0xe;\n    *(uint *)(*param_1 + iVar3 + 4) = *(uint *)(*param_1 + iVar3 + 4) & 0xffffdfff | 0x2000;\n    *(int *)(param_1[4] + iVar2 * 4) = param_2;\n  }" if (parenthesized_expression "(iVar2 != -1)" ( (binary_expression "iVar2 != -1" identifier != number_literal) )) (compound_statement "{\n    *(uint *)(*param_1 + iVar3 + 4) =\n         *(uint *)(*param_1 + iVar3 + 4) & 0xff003fff | (param_3 & 0x3ff) << 0xe;\n    iVar5 = *param_1 + iVar3;\n    uVar4 = *(uint *)(iVar5 + 4);\n    *(uint *)(iVar5 + 4) =\n         uVar4 & 0xff003fff |\n         (((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8) >> 0x16) << 0xe;\n    *(uint *)(*param_1 + iVar3 + 4) = *(uint *)(*param_1 + iVar3 + 4) & 0xffffdfff | 0x2000;\n    *(int *)(param_1[4] + iVar2 * 4) = param_2;\n  }" { (expression_statement "*(uint *)(*param_1 + iVar3 + 4) =\n         *(uint *)(*param_1 + iVar3 + 4) & 0xff003fff | (param_3 & 0x3ff) << 0xe;" (assignment_expression "*(uint *)(*param_1 + iVar3 + 4) =\n         *(uint *)(*param_1 + iVar3 + 4) & 0xff003fff | (param_3 & 0x3ff) << 0xe" (pointer_expression "*(uint *)(*param_1 + iVar3 + 4)" * (cast_expression "(uint *)(*param_1 + iVar3 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + iVar3 + 4)" ( (binary_expression "*param_1 + iVar3 + 4" (binary_expression "*param_1 + iVar3" (pointer_expression "*param_1" * identifier) + identifier) + number_literal) )))) = (binary_expression "*(uint *)(*param_1 + iVar3 + 4) & 0xff003fff | (param_3 & 0x3ff) << 0xe" (binary_expression "*(uint *)(*param_1 + iVar3 + 4) & 0xff003fff" (pointer_expression "*(uint *)(*param_1 + iVar3 + 4)" * (cast_expression "(uint *)(*param_1 + iVar3 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + iVar3 + 4)" ( (binary_expression "*param_1 + iVar3 + 4" (binary_expression "*param_1 + iVar3" (pointer_expression "*param_1" * identifier) + identifier) + number_literal) )))) & number_literal) | (binary_expression "(param_3 & 0x3ff) << 0xe" (parenthesized_expression "(param_3 & 0x3ff)" ( (binary_expression "param_3 & 0x3ff" identifier & number_literal) )) << number_literal))) ;) (expression_statement "iVar5 = *param_1 + iVar3;" (assignment_expression "iVar5 = *param_1 + iVar3" identifier = (binary_expression "*param_1 + iVar3" (pointer_expression "*param_1" * identifier) + identifier)) ;) (expression_statement "uVar4 = *(uint *)(iVar5 + 4);" (assignment_expression "uVar4 = *(uint *)(iVar5 + 4)" identifier = (pointer_expression "*(uint *)(iVar5 + 4)" * (cast_expression "(uint *)(iVar5 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 4)" ( (binary_expression "iVar5 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(uint *)(iVar5 + 4) =\n         uVar4 & 0xff003fff |\n         (((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8) >> 0x16) << 0xe;" (assignment_expression "*(uint *)(iVar5 + 4) =\n         uVar4 & 0xff003fff |\n         (((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8) >> 0x16) << 0xe" (pointer_expression "*(uint *)(iVar5 + 4)" * (cast_expression "(uint *)(iVar5 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 4)" ( (binary_expression "iVar5 + 4" identifier + number_literal) )))) = (binary_expression "uVar4 & 0xff003fff |\n         (((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8) >> 0x16) << 0xe" (binary_expression "uVar4 & 0xff003fff" identifier & number_literal) | (binary_expression "(((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8) >> 0x16) << 0xe" (parenthesized_expression "(((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8) >> 0x16)" ( (binary_expression "((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8) >> 0x16" (parenthesized_expression "((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8)" ( (binary_expression "(uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8" (parenthesized_expression "(uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4))" ( (binary_expression "uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)" identifier | (pointer_expression "*(uint *)(*param_1 + param_2 * 8 + 4)" * (cast_expression "(uint *)(*param_1 + param_2 * 8 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + param_2 * 8 + 4)" ( (binary_expression "*param_1 + param_2 * 8 + 4" (binary_expression "*param_1 + param_2 * 8" (pointer_expression "*param_1" * identifier) + (binary_expression "param_2 * 8" identifier * number_literal)) + number_literal) ))))) )) << number_literal) )) >> number_literal) )) << number_literal))) ;) (expression_statement "*(uint *)(*param_1 + iVar3 + 4) = *(uint *)(*param_1 + iVar3 + 4) & 0xffffdfff | 0x2000;" (assignment_expression "*(uint *)(*param_1 + iVar3 + 4) = *(uint *)(*param_1 + iVar3 + 4) & 0xffffdfff | 0x2000" (pointer_expression "*(uint *)(*param_1 + iVar3 + 4)" * (cast_expression "(uint *)(*param_1 + iVar3 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + iVar3 + 4)" ( (binary_expression "*param_1 + iVar3 + 4" (binary_expression "*param_1 + iVar3" (pointer_expression "*param_1" * identifier) + identifier) + number_literal) )))) = (binary_expression "*(uint *)(*param_1 + iVar3 + 4) & 0xffffdfff | 0x2000" (binary_expression "*(uint *)(*param_1 + iVar3 + 4) & 0xffffdfff" (pointer_expression "*(uint *)(*param_1 + iVar3 + 4)" * (cast_expression "(uint *)(*param_1 + iVar3 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + iVar3 + 4)" ( (binary_expression "*param_1 + iVar3 + 4" (binary_expression "*param_1 + iVar3" (pointer_expression "*param_1" * identifier) + identifier) + number_literal) )))) & number_literal) | number_literal)) ;) (expression_statement "*(int *)(param_1[4] + iVar2 * 4) = param_2;" (assignment_expression "*(int *)(param_1[4] + iVar2 * 4) = param_2" (pointer_expression "*(int *)(param_1[4] + iVar2 * 4)" * (cast_expression "(int *)(param_1[4] + iVar2 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[4] + iVar2 * 4)" ( (binary_expression "param_1[4] + iVar2 * 4" (subscript_expression "param_1[4]" identifier [ number_literal ]) + (binary_expression "iVar2 * 4" identifier * number_literal)) )))) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit "Idx duplicate_node(re_dfa_t *dfa,Idx org_idx,uint constraint)\n\n{\n  re_token_t token;\n  Idx IVar1;\n  re_token_t *prVar2;\n  undefined4 in_stack_ffffffe4;\n  \n  token.opr.sbcset = (re_bitset_ptr_t)&_gp;\n  token._4_4_ = in_stack_ffffffe4;\n  IVar1 = re_dfa_add_node(dfa,token);\n  if (IVar1 != -1) {\n    *(uint *)&dfa->nodes[IVar1].field_0x4 =\n         *(uint *)&dfa->nodes[IVar1].field_0x4 & 0xff003fff | (constraint & 0x3ff) << 0xe;\n    prVar2 = dfa->nodes;\n    *(uint *)&prVar2[IVar1].field_0x4 =\n         *(uint *)&prVar2[IVar1].field_0x4 & 0xff003fff |\n         (((*(uint *)&prVar2[IVar1].field_0x4 | *(uint *)&prVar2[org_idx].field_0x4) << 8) >> 0x16)\n         << 0xe;\n    *(uint *)&dfa->nodes[IVar1].field_0x4 =\n         *(uint *)&dfa->nodes[IVar1].field_0x4 & 0xffffdfff | 0x2000;\n    dfa->org_indices[IVar1] = org_idx;\n  }\n  return IVar1;\n}\n\n" (function_definition "Idx duplicate_node(re_dfa_t *dfa,Idx org_idx,uint constraint)\n\n{\n  re_token_t token;\n  Idx IVar1;\n  re_token_t *prVar2;\n  undefined4 in_stack_ffffffe4;\n  \n  token.opr.sbcset = (re_bitset_ptr_t)&_gp;\n  token._4_4_ = in_stack_ffffffe4;\n  IVar1 = re_dfa_add_node(dfa,token);\n  if (IVar1 != -1) {\n    *(uint *)&dfa->nodes[IVar1].field_0x4 =\n         *(uint *)&dfa->nodes[IVar1].field_0x4 & 0xff003fff | (constraint & 0x3ff) << 0xe;\n    prVar2 = dfa->nodes;\n    *(uint *)&prVar2[IVar1].field_0x4 =\n         *(uint *)&prVar2[IVar1].field_0x4 & 0xff003fff |\n         (((*(uint *)&prVar2[IVar1].field_0x4 | *(uint *)&prVar2[org_idx].field_0x4) << 8) >> 0x16)\n         << 0xe;\n    *(uint *)&dfa->nodes[IVar1].field_0x4 =\n         *(uint *)&dfa->nodes[IVar1].field_0x4 & 0xffffdfff | 0x2000;\n    dfa->org_indices[IVar1] = org_idx;\n  }\n  return IVar1;\n}" type_identifier (function_declarator "duplicate_node(re_dfa_t *dfa,Idx org_idx,uint constraint)" identifier (parameter_list "(re_dfa_t *dfa,Idx org_idx,uint constraint)" ( (parameter_declaration "re_dfa_t *dfa" type_identifier (pointer_declarator "*dfa" * identifier)) , (parameter_declaration "Idx org_idx" type_identifier identifier) , (parameter_declaration "uint constraint" type_identifier identifier) ))) (compound_statement "{\n  re_token_t token;\n  Idx IVar1;\n  re_token_t *prVar2;\n  undefined4 in_stack_ffffffe4;\n  \n  token.opr.sbcset = (re_bitset_ptr_t)&_gp;\n  token._4_4_ = in_stack_ffffffe4;\n  IVar1 = re_dfa_add_node(dfa,token);\n  if (IVar1 != -1) {\n    *(uint *)&dfa->nodes[IVar1].field_0x4 =\n         *(uint *)&dfa->nodes[IVar1].field_0x4 & 0xff003fff | (constraint & 0x3ff) << 0xe;\n    prVar2 = dfa->nodes;\n    *(uint *)&prVar2[IVar1].field_0x4 =\n         *(uint *)&prVar2[IVar1].field_0x4 & 0xff003fff |\n         (((*(uint *)&prVar2[IVar1].field_0x4 | *(uint *)&prVar2[org_idx].field_0x4) << 8) >> 0x16)\n         << 0xe;\n    *(uint *)&dfa->nodes[IVar1].field_0x4 =\n         *(uint *)&dfa->nodes[IVar1].field_0x4 & 0xffffdfff | 0x2000;\n    dfa->org_indices[IVar1] = org_idx;\n  }\n  return IVar1;\n}" { (declaration "re_token_t token;" type_identifier identifier ;) (declaration "Idx IVar1;" type_identifier identifier ;) (declaration "re_token_t *prVar2;" type_identifier (pointer_declarator "*prVar2" * identifier) ;) (declaration "undefined4 in_stack_ffffffe4;" type_identifier identifier ;) (expression_statement "token.opr.sbcset = (re_bitset_ptr_t)&_gp;" (assignment_expression "token.opr.sbcset = (re_bitset_ptr_t)&_gp" (field_expression "token.opr.sbcset" (field_expression "token.opr" identifier . field_identifier) . field_identifier) = (binary_expression "(re_bitset_ptr_t)&_gp" (parenthesized_expression "(re_bitset_ptr_t)" ( identifier )) & identifier)) ;) (expression_statement "token._4_4_ = in_stack_ffffffe4;" (assignment_expression "token._4_4_ = in_stack_ffffffe4" (field_expression "token._4_4_" identifier . field_identifier) = identifier) ;) (expression_statement "IVar1 = re_dfa_add_node(dfa,token);" (assignment_expression "IVar1 = re_dfa_add_node(dfa,token)" identifier = (call_expression "re_dfa_add_node(dfa,token)" identifier (argument_list "(dfa,token)" ( identifier , identifier )))) ;) (if_statement "if (IVar1 != -1) {\n    *(uint *)&dfa->nodes[IVar1].field_0x4 =\n         *(uint *)&dfa->nodes[IVar1].field_0x4 & 0xff003fff | (constraint & 0x3ff) << 0xe;\n    prVar2 = dfa->nodes;\n    *(uint *)&prVar2[IVar1].field_0x4 =\n         *(uint *)&prVar2[IVar1].field_0x4 & 0xff003fff |\n         (((*(uint *)&prVar2[IVar1].field_0x4 | *(uint *)&prVar2[org_idx].field_0x4) << 8) >> 0x16)\n         << 0xe;\n    *(uint *)&dfa->nodes[IVar1].field_0x4 =\n         *(uint *)&dfa->nodes[IVar1].field_0x4 & 0xffffdfff | 0x2000;\n    dfa->org_indices[IVar1] = org_idx;\n  }" if (parenthesized_expression "(IVar1 != -1)" ( (binary_expression "IVar1 != -1" identifier != number_literal) )) (compound_statement "{\n    *(uint *)&dfa->nodes[IVar1].field_0x4 =\n         *(uint *)&dfa->nodes[IVar1].field_0x4 & 0xff003fff | (constraint & 0x3ff) << 0xe;\n    prVar2 = dfa->nodes;\n    *(uint *)&prVar2[IVar1].field_0x4 =\n         *(uint *)&prVar2[IVar1].field_0x4 & 0xff003fff |\n         (((*(uint *)&prVar2[IVar1].field_0x4 | *(uint *)&prVar2[org_idx].field_0x4) << 8) >> 0x16)\n         << 0xe;\n    *(uint *)&dfa->nodes[IVar1].field_0x4 =\n         *(uint *)&dfa->nodes[IVar1].field_0x4 & 0xffffdfff | 0x2000;\n    dfa->org_indices[IVar1] = org_idx;\n  }" { (expression_statement "*(uint *)&dfa->nodes[IVar1].field_0x4 =\n         *(uint *)&dfa->nodes[IVar1].field_0x4 & 0xff003fff | (constraint & 0x3ff) << 0xe;" (assignment_expression "*(uint *)&dfa->nodes[IVar1].field_0x4 =\n         *(uint *)&dfa->nodes[IVar1].field_0x4 & 0xff003fff | (constraint & 0x3ff) << 0xe" (pointer_expression "*(uint *)&dfa->nodes[IVar1].field_0x4" * (cast_expression "(uint *)&dfa->nodes[IVar1].field_0x4" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&dfa->nodes[IVar1].field_0x4" & (field_expression "dfa->nodes[IVar1].field_0x4" (subscript_expression "dfa->nodes[IVar1]" (field_expression "dfa->nodes" identifier -> field_identifier) [ identifier ]) . field_identifier)))) = (binary_expression "*(uint *)&dfa->nodes[IVar1].field_0x4 & 0xff003fff | (constraint & 0x3ff) << 0xe" (binary_expression "*(uint *)&dfa->nodes[IVar1].field_0x4 & 0xff003fff" (pointer_expression "*(uint *)&dfa->nodes[IVar1].field_0x4" * (cast_expression "(uint *)&dfa->nodes[IVar1].field_0x4" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&dfa->nodes[IVar1].field_0x4" & (field_expression "dfa->nodes[IVar1].field_0x4" (subscript_expression "dfa->nodes[IVar1]" (field_expression "dfa->nodes" identifier -> field_identifier) [ identifier ]) . field_identifier)))) & number_literal) | (binary_expression "(constraint & 0x3ff) << 0xe" (parenthesized_expression "(constraint & 0x3ff)" ( (binary_expression "constraint & 0x3ff" identifier & number_literal) )) << number_literal))) ;) (expression_statement "prVar2 = dfa->nodes;" (assignment_expression "prVar2 = dfa->nodes" identifier = (field_expression "dfa->nodes" identifier -> field_identifier)) ;) (expression_statement "*(uint *)&prVar2[IVar1].field_0x4 =\n         *(uint *)&prVar2[IVar1].field_0x4 & 0xff003fff |\n         (((*(uint *)&prVar2[IVar1].field_0x4 | *(uint *)&prVar2[org_idx].field_0x4) << 8) >> 0x16)\n         << 0xe;" (assignment_expression "*(uint *)&prVar2[IVar1].field_0x4 =\n         *(uint *)&prVar2[IVar1].field_0x4 & 0xff003fff |\n         (((*(uint *)&prVar2[IVar1].field_0x4 | *(uint *)&prVar2[org_idx].field_0x4) << 8) >> 0x16)\n         << 0xe" (pointer_expression "*(uint *)&prVar2[IVar1].field_0x4" * (cast_expression "(uint *)&prVar2[IVar1].field_0x4" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&prVar2[IVar1].field_0x4" & (field_expression "prVar2[IVar1].field_0x4" (subscript_expression "prVar2[IVar1]" identifier [ identifier ]) . field_identifier)))) = (binary_expression "*(uint *)&prVar2[IVar1].field_0x4 & 0xff003fff |\n         (((*(uint *)&prVar2[IVar1].field_0x4 | *(uint *)&prVar2[org_idx].field_0x4) << 8) >> 0x16)\n         << 0xe" (binary_expression "*(uint *)&prVar2[IVar1].field_0x4 & 0xff003fff" (pointer_expression "*(uint *)&prVar2[IVar1].field_0x4" * (cast_expression "(uint *)&prVar2[IVar1].field_0x4" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&prVar2[IVar1].field_0x4" & (field_expression "prVar2[IVar1].field_0x4" (subscript_expression "prVar2[IVar1]" identifier [ identifier ]) . field_identifier)))) & number_literal) | (binary_expression "(((*(uint *)&prVar2[IVar1].field_0x4 | *(uint *)&prVar2[org_idx].field_0x4) << 8) >> 0x16)\n         << 0xe" (parenthesized_expression "(((*(uint *)&prVar2[IVar1].field_0x4 | *(uint *)&prVar2[org_idx].field_0x4) << 8) >> 0x16)" ( (binary_expression "((*(uint *)&prVar2[IVar1].field_0x4 | *(uint *)&prVar2[org_idx].field_0x4) << 8) >> 0x16" (parenthesized_expression "((*(uint *)&prVar2[IVar1].field_0x4 | *(uint *)&prVar2[org_idx].field_0x4) << 8)" ( (binary_expression "(*(uint *)&prVar2[IVar1].field_0x4 | *(uint *)&prVar2[org_idx].field_0x4) << 8" (parenthesized_expression "(*(uint *)&prVar2[IVar1].field_0x4 | *(uint *)&prVar2[org_idx].field_0x4)" ( (binary_expression "*(uint *)&prVar2[IVar1].field_0x4 | *(uint *)&prVar2[org_idx].field_0x4" (pointer_expression "*(uint *)&prVar2[IVar1].field_0x4" * (cast_expression "(uint *)&prVar2[IVar1].field_0x4" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&prVar2[IVar1].field_0x4" & (field_expression "prVar2[IVar1].field_0x4" (subscript_expression "prVar2[IVar1]" identifier [ identifier ]) . field_identifier)))) | (pointer_expression "*(uint *)&prVar2[org_idx].field_0x4" * (cast_expression "(uint *)&prVar2[org_idx].field_0x4" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&prVar2[org_idx].field_0x4" & (field_expression "prVar2[org_idx].field_0x4" (subscript_expression "prVar2[org_idx]" identifier [ identifier ]) . field_identifier))))) )) << number_literal) )) >> number_literal) )) << number_literal))) ;) (expression_statement "*(uint *)&dfa->nodes[IVar1].field_0x4 =\n         *(uint *)&dfa->nodes[IVar1].field_0x4 & 0xffffdfff | 0x2000;" (assignment_expression "*(uint *)&dfa->nodes[IVar1].field_0x4 =\n         *(uint *)&dfa->nodes[IVar1].field_0x4 & 0xffffdfff | 0x2000" (pointer_expression "*(uint *)&dfa->nodes[IVar1].field_0x4" * (cast_expression "(uint *)&dfa->nodes[IVar1].field_0x4" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&dfa->nodes[IVar1].field_0x4" & (field_expression "dfa->nodes[IVar1].field_0x4" (subscript_expression "dfa->nodes[IVar1]" (field_expression "dfa->nodes" identifier -> field_identifier) [ identifier ]) . field_identifier)))) = (binary_expression "*(uint *)&dfa->nodes[IVar1].field_0x4 & 0xffffdfff | 0x2000" (binary_expression "*(uint *)&dfa->nodes[IVar1].field_0x4 & 0xffffdfff" (pointer_expression "*(uint *)&dfa->nodes[IVar1].field_0x4" * (cast_expression "(uint *)&dfa->nodes[IVar1].field_0x4" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&dfa->nodes[IVar1].field_0x4" & (field_expression "dfa->nodes[IVar1].field_0x4" (subscript_expression "dfa->nodes[IVar1]" (field_expression "dfa->nodes" identifier -> field_identifier) [ identifier ]) . field_identifier)))) & number_literal) | number_literal)) ;) (expression_statement "dfa->org_indices[IVar1] = org_idx;" (assignment_expression "dfa->org_indices[IVar1] = org_idx" (subscript_expression "dfa->org_indices[IVar1]" (field_expression "dfa->org_indices" identifier -> field_identifier) [ identifier ]) = identifier) ;) })) (return_statement "return IVar1;" return identifier ;) })))
(translation_unit "void FUN_0004a4e8(int *param_1,int param_2,uint param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  \n  puVar1 = (undefined4 *)(*param_1 + param_2 * 8);\n  iVar2 = FUN_0004a11c(param_1,*puVar1,puVar1[1]);\n  iVar3 = iVar2 * 8;\n  if (iVar2 != -1) {\n    *(uint *)(*param_1 + iVar3 + 4) =\n         *(uint *)(*param_1 + iVar3 + 4) & 0xff003fff | (param_3 & 0x3ff) << 0xe;\n    iVar5 = *param_1 + iVar3;\n    uVar4 = *(uint *)(iVar5 + 4);\n    *(uint *)(iVar5 + 4) =\n         uVar4 & 0xff003fff |\n         (((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8) >> 0x16) << 0xe;\n    *(uint *)(*param_1 + iVar3 + 4) = *(uint *)(*param_1 + iVar3 + 4) & 0xffffdfff | 0x2000;\n    *(int *)(param_1[4] + iVar2 * 4) = param_2;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0004a4e8(int *param_1,int param_2,uint param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  \n  puVar1 = (undefined4 *)(*param_1 + param_2 * 8);\n  iVar2 = FUN_0004a11c(param_1,*puVar1,puVar1[1]);\n  iVar3 = iVar2 * 8;\n  if (iVar2 != -1) {\n    *(uint *)(*param_1 + iVar3 + 4) =\n         *(uint *)(*param_1 + iVar3 + 4) & 0xff003fff | (param_3 & 0x3ff) << 0xe;\n    iVar5 = *param_1 + iVar3;\n    uVar4 = *(uint *)(iVar5 + 4);\n    *(uint *)(iVar5 + 4) =\n         uVar4 & 0xff003fff |\n         (((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8) >> 0x16) << 0xe;\n    *(uint *)(*param_1 + iVar3 + 4) = *(uint *)(*param_1 + iVar3 + 4) & 0xffffdfff | 0x2000;\n    *(int *)(param_1[4] + iVar2 * 4) = param_2;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0004a4e8(int *param_1,int param_2,uint param_3)" identifier (parameter_list "(int *param_1,int param_2,uint param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  \n  puVar1 = (undefined4 *)(*param_1 + param_2 * 8);\n  iVar2 = FUN_0004a11c(param_1,*puVar1,puVar1[1]);\n  iVar3 = iVar2 * 8;\n  if (iVar2 != -1) {\n    *(uint *)(*param_1 + iVar3 + 4) =\n         *(uint *)(*param_1 + iVar3 + 4) & 0xff003fff | (param_3 & 0x3ff) << 0xe;\n    iVar5 = *param_1 + iVar3;\n    uVar4 = *(uint *)(iVar5 + 4);\n    *(uint *)(iVar5 + 4) =\n         uVar4 & 0xff003fff |\n         (((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8) >> 0x16) << 0xe;\n    *(uint *)(*param_1 + iVar3 + 4) = *(uint *)(*param_1 + iVar3 + 4) & 0xffffdfff | 0x2000;\n    *(int *)(param_1[4] + iVar2 * 4) = param_2;\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (expression_statement "puVar1 = (undefined4 *)(*param_1 + param_2 * 8);" (assignment_expression "puVar1 = (undefined4 *)(*param_1 + param_2 * 8)" identifier = (cast_expression "(undefined4 *)(*param_1 + param_2 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + param_2 * 8)" ( (binary_expression "*param_1 + param_2 * 8" (pointer_expression "*param_1" * identifier) + (binary_expression "param_2 * 8" identifier * number_literal)) )))) ;) (expression_statement "iVar2 = FUN_0004a11c(param_1,*puVar1,puVar1[1]);" (assignment_expression "iVar2 = FUN_0004a11c(param_1,*puVar1,puVar1[1])" identifier = (call_expression "FUN_0004a11c(param_1,*puVar1,puVar1[1])" identifier (argument_list "(param_1,*puVar1,puVar1[1])" ( identifier , (pointer_expression "*puVar1" * identifier) , (subscript_expression "puVar1[1]" identifier [ number_literal ]) )))) ;) (expression_statement "iVar3 = iVar2 * 8;" (assignment_expression "iVar3 = iVar2 * 8" identifier = (binary_expression "iVar2 * 8" identifier * number_literal)) ;) (if_statement "if (iVar2 != -1) {\n    *(uint *)(*param_1 + iVar3 + 4) =\n         *(uint *)(*param_1 + iVar3 + 4) & 0xff003fff | (param_3 & 0x3ff) << 0xe;\n    iVar5 = *param_1 + iVar3;\n    uVar4 = *(uint *)(iVar5 + 4);\n    *(uint *)(iVar5 + 4) =\n         uVar4 & 0xff003fff |\n         (((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8) >> 0x16) << 0xe;\n    *(uint *)(*param_1 + iVar3 + 4) = *(uint *)(*param_1 + iVar3 + 4) & 0xffffdfff | 0x2000;\n    *(int *)(param_1[4] + iVar2 * 4) = param_2;\n  }" if (parenthesized_expression "(iVar2 != -1)" ( (binary_expression "iVar2 != -1" identifier != number_literal) )) (compound_statement "{\n    *(uint *)(*param_1 + iVar3 + 4) =\n         *(uint *)(*param_1 + iVar3 + 4) & 0xff003fff | (param_3 & 0x3ff) << 0xe;\n    iVar5 = *param_1 + iVar3;\n    uVar4 = *(uint *)(iVar5 + 4);\n    *(uint *)(iVar5 + 4) =\n         uVar4 & 0xff003fff |\n         (((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8) >> 0x16) << 0xe;\n    *(uint *)(*param_1 + iVar3 + 4) = *(uint *)(*param_1 + iVar3 + 4) & 0xffffdfff | 0x2000;\n    *(int *)(param_1[4] + iVar2 * 4) = param_2;\n  }" { (expression_statement "*(uint *)(*param_1 + iVar3 + 4) =\n         *(uint *)(*param_1 + iVar3 + 4) & 0xff003fff | (param_3 & 0x3ff) << 0xe;" (assignment_expression "*(uint *)(*param_1 + iVar3 + 4) =\n         *(uint *)(*param_1 + iVar3 + 4) & 0xff003fff | (param_3 & 0x3ff) << 0xe" (pointer_expression "*(uint *)(*param_1 + iVar3 + 4)" * (cast_expression "(uint *)(*param_1 + iVar3 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + iVar3 + 4)" ( (binary_expression "*param_1 + iVar3 + 4" (binary_expression "*param_1 + iVar3" (pointer_expression "*param_1" * identifier) + identifier) + number_literal) )))) = (binary_expression "*(uint *)(*param_1 + iVar3 + 4) & 0xff003fff | (param_3 & 0x3ff) << 0xe" (binary_expression "*(uint *)(*param_1 + iVar3 + 4) & 0xff003fff" (pointer_expression "*(uint *)(*param_1 + iVar3 + 4)" * (cast_expression "(uint *)(*param_1 + iVar3 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + iVar3 + 4)" ( (binary_expression "*param_1 + iVar3 + 4" (binary_expression "*param_1 + iVar3" (pointer_expression "*param_1" * identifier) + identifier) + number_literal) )))) & number_literal) | (binary_expression "(param_3 & 0x3ff) << 0xe" (parenthesized_expression "(param_3 & 0x3ff)" ( (binary_expression "param_3 & 0x3ff" identifier & number_literal) )) << number_literal))) ;) (expression_statement "iVar5 = *param_1 + iVar3;" (assignment_expression "iVar5 = *param_1 + iVar3" identifier = (binary_expression "*param_1 + iVar3" (pointer_expression "*param_1" * identifier) + identifier)) ;) (expression_statement "uVar4 = *(uint *)(iVar5 + 4);" (assignment_expression "uVar4 = *(uint *)(iVar5 + 4)" identifier = (pointer_expression "*(uint *)(iVar5 + 4)" * (cast_expression "(uint *)(iVar5 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 4)" ( (binary_expression "iVar5 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(uint *)(iVar5 + 4) =\n         uVar4 & 0xff003fff |\n         (((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8) >> 0x16) << 0xe;" (assignment_expression "*(uint *)(iVar5 + 4) =\n         uVar4 & 0xff003fff |\n         (((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8) >> 0x16) << 0xe" (pointer_expression "*(uint *)(iVar5 + 4)" * (cast_expression "(uint *)(iVar5 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 4)" ( (binary_expression "iVar5 + 4" identifier + number_literal) )))) = (binary_expression "uVar4 & 0xff003fff |\n         (((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8) >> 0x16) << 0xe" (binary_expression "uVar4 & 0xff003fff" identifier & number_literal) | (binary_expression "(((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8) >> 0x16) << 0xe" (parenthesized_expression "(((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8) >> 0x16)" ( (binary_expression "((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8) >> 0x16" (parenthesized_expression "((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8)" ( (binary_expression "(uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8" (parenthesized_expression "(uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4))" ( (binary_expression "uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)" identifier | (pointer_expression "*(uint *)(*param_1 + param_2 * 8 + 4)" * (cast_expression "(uint *)(*param_1 + param_2 * 8 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + param_2 * 8 + 4)" ( (binary_expression "*param_1 + param_2 * 8 + 4" (binary_expression "*param_1 + param_2 * 8" (pointer_expression "*param_1" * identifier) + (binary_expression "param_2 * 8" identifier * number_literal)) + number_literal) ))))) )) << number_literal) )) >> number_literal) )) << number_literal))) ;) (expression_statement "*(uint *)(*param_1 + iVar3 + 4) = *(uint *)(*param_1 + iVar3 + 4) & 0xffffdfff | 0x2000;" (assignment_expression "*(uint *)(*param_1 + iVar3 + 4) = *(uint *)(*param_1 + iVar3 + 4) & 0xffffdfff | 0x2000" (pointer_expression "*(uint *)(*param_1 + iVar3 + 4)" * (cast_expression "(uint *)(*param_1 + iVar3 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + iVar3 + 4)" ( (binary_expression "*param_1 + iVar3 + 4" (binary_expression "*param_1 + iVar3" (pointer_expression "*param_1" * identifier) + identifier) + number_literal) )))) = (binary_expression "*(uint *)(*param_1 + iVar3 + 4) & 0xffffdfff | 0x2000" (binary_expression "*(uint *)(*param_1 + iVar3 + 4) & 0xffffdfff" (pointer_expression "*(uint *)(*param_1 + iVar3 + 4)" * (cast_expression "(uint *)(*param_1 + iVar3 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + iVar3 + 4)" ( (binary_expression "*param_1 + iVar3 + 4" (binary_expression "*param_1 + iVar3" (pointer_expression "*param_1" * identifier) + identifier) + number_literal) )))) & number_literal) | number_literal)) ;) (expression_statement "*(int *)(param_1[4] + iVar2 * 4) = param_2;" (assignment_expression "*(int *)(param_1[4] + iVar2 * 4) = param_2" (pointer_expression "*(int *)(param_1[4] + iVar2 * 4)" * (cast_expression "(int *)(param_1[4] + iVar2 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[4] + iVar2 * 4)" ( (binary_expression "param_1[4] + iVar2 * 4" (subscript_expression "param_1[4]" identifier [ number_literal ]) + (binary_expression "iVar2 * 4" identifier * number_literal)) )))) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) , (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * IDENT) + IDENT) + LIT) )))) = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * IDENT) + IDENT) + LIT) )))) & LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression IDENT & LIT) | (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT | (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * IDENT) + (binary_expression IDENT * LIT)) + LIT) ))))) )) << LIT) )) >> LIT) )) << LIT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * IDENT) + IDENT) + LIT) )))) = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * IDENT) + IDENT) + LIT) )))) & LIT) | LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT)) )))) = IDENT) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0004a4e8(int *param_1,int param_2,uint param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  \n  puVar1 = (undefined4 *)(*param_1 + param_2 * 8);\n  iVar2 = FUN_0004a11c(param_1,*puVar1,puVar1[1]);\n  iVar3 = iVar2 * 8;\n  if (iVar2 != -1) {\n    *(uint *)(*param_1 + iVar3 + 4) =\n         *(uint *)(*param_1 + iVar3 + 4) & 0xff003fff | (param_3 & 0x3ff) << 0xe;\n    iVar5 = *param_1 + iVar3;\n    uVar4 = *(uint *)(iVar5 + 4);\n    *(uint *)(iVar5 + 4) =\n         uVar4 & 0xff003fff |\n         (((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8) >> 0x16) << 0xe;\n    *(uint *)(*param_1 + iVar3 + 4) = *(uint *)(*param_1 + iVar3 + 4) & 0xffffdfff | 0x2000;\n    *(int *)(param_1[4] + iVar2 * 4) = param_2;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0004a4e8(int *param_1,int param_2,uint param_3)" (identifier "FUN_0004a4e8") (parameter_list "(int *param_1,int param_2,uint param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  \n  puVar1 = (undefined4 *)(*param_1 + param_2 * 8);\n  iVar2 = FUN_0004a11c(param_1,*puVar1,puVar1[1]);\n  iVar3 = iVar2 * 8;\n  if (iVar2 != -1) {\n    *(uint *)(*param_1 + iVar3 + 4) =\n         *(uint *)(*param_1 + iVar3 + 4) & 0xff003fff | (param_3 & 0x3ff) << 0xe;\n    iVar5 = *param_1 + iVar3;\n    uVar4 = *(uint *)(iVar5 + 4);\n    *(uint *)(iVar5 + 4) =\n         uVar4 & 0xff003fff |\n         (((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8) >> 0x16) << 0xe;\n    *(uint *)(*param_1 + iVar3 + 4) = *(uint *)(*param_1 + iVar3 + 4) & 0xffffdfff | 0x2000;\n    *(int *)(param_1[4] + iVar2 * 4) = param_2;\n  }\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (expression_statement "puVar1 = (undefined4 *)(*param_1 + param_2 * 8);" (assignment_expression "puVar1 = (undefined4 *)(*param_1 + param_2 * 8)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)(*param_1 + param_2 * 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + param_2 * 8)" (( "(") (binary_expression "*param_1 + param_2 * 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (binary_expression "param_2 * 8" (identifier "param_2") (* "*") (number_literal "8"))) () ")")))) (; ";")) (expression_statement "iVar2 = FUN_0004a11c(param_1,*puVar1,puVar1[1]);" (assignment_expression "iVar2 = FUN_0004a11c(param_1,*puVar1,puVar1[1])" (identifier "iVar2") (= "=") (call_expression "FUN_0004a11c(param_1,*puVar1,puVar1[1])" (identifier "FUN_0004a11c") (argument_list "(param_1,*puVar1,puVar1[1])" (( "(") (identifier "param_1") (, ",") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (, ",") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) () ")")))) (; ";")) (expression_statement "iVar3 = iVar2 * 8;" (assignment_expression "iVar3 = iVar2 * 8" (identifier "iVar3") (= "=") (binary_expression "iVar2 * 8" (identifier "iVar2") (* "*") (number_literal "8"))) (; ";")) (if_statement "if (iVar2 != -1) {\n    *(uint *)(*param_1 + iVar3 + 4) =\n         *(uint *)(*param_1 + iVar3 + 4) & 0xff003fff | (param_3 & 0x3ff) << 0xe;\n    iVar5 = *param_1 + iVar3;\n    uVar4 = *(uint *)(iVar5 + 4);\n    *(uint *)(iVar5 + 4) =\n         uVar4 & 0xff003fff |\n         (((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8) >> 0x16) << 0xe;\n    *(uint *)(*param_1 + iVar3 + 4) = *(uint *)(*param_1 + iVar3 + 4) & 0xffffdfff | 0x2000;\n    *(int *)(param_1[4] + iVar2 * 4) = param_2;\n  }" (if "if") (parenthesized_expression "(iVar2 != -1)" (( "(") (binary_expression "iVar2 != -1" (identifier "iVar2") (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n    *(uint *)(*param_1 + iVar3 + 4) =\n         *(uint *)(*param_1 + iVar3 + 4) & 0xff003fff | (param_3 & 0x3ff) << 0xe;\n    iVar5 = *param_1 + iVar3;\n    uVar4 = *(uint *)(iVar5 + 4);\n    *(uint *)(iVar5 + 4) =\n         uVar4 & 0xff003fff |\n         (((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8) >> 0x16) << 0xe;\n    *(uint *)(*param_1 + iVar3 + 4) = *(uint *)(*param_1 + iVar3 + 4) & 0xffffdfff | 0x2000;\n    *(int *)(param_1[4] + iVar2 * 4) = param_2;\n  }" ({ "{") (expression_statement "*(uint *)(*param_1 + iVar3 + 4) =\n         *(uint *)(*param_1 + iVar3 + 4) & 0xff003fff | (param_3 & 0x3ff) << 0xe;" (assignment_expression "*(uint *)(*param_1 + iVar3 + 4) =\n         *(uint *)(*param_1 + iVar3 + 4) & 0xff003fff | (param_3 & 0x3ff) << 0xe" (pointer_expression "*(uint *)(*param_1 + iVar3 + 4)" (* "*") (cast_expression "(uint *)(*param_1 + iVar3 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + iVar3 + 4)" (( "(") (binary_expression "*param_1 + iVar3 + 4" (binary_expression "*param_1 + iVar3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (identifier "iVar3")) (+ "+") (number_literal "4")) () ")")))) (= "=") (binary_expression "*(uint *)(*param_1 + iVar3 + 4) & 0xff003fff | (param_3 & 0x3ff) << 0xe" (binary_expression "*(uint *)(*param_1 + iVar3 + 4) & 0xff003fff" (pointer_expression "*(uint *)(*param_1 + iVar3 + 4)" (* "*") (cast_expression "(uint *)(*param_1 + iVar3 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + iVar3 + 4)" (( "(") (binary_expression "*param_1 + iVar3 + 4" (binary_expression "*param_1 + iVar3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (identifier "iVar3")) (+ "+") (number_literal "4")) () ")")))) (& "&") (number_literal "0xff003fff")) (| "|") (binary_expression "(param_3 & 0x3ff) << 0xe" (parenthesized_expression "(param_3 & 0x3ff)" (( "(") (binary_expression "param_3 & 0x3ff" (identifier "param_3") (& "&") (number_literal "0x3ff")) () ")")) (<< "<<") (number_literal "0xe")))) (; ";")) (expression_statement "iVar5 = *param_1 + iVar3;" (assignment_expression "iVar5 = *param_1 + iVar3" (identifier "iVar5") (= "=") (binary_expression "*param_1 + iVar3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (identifier "iVar3"))) (; ";")) (expression_statement "uVar4 = *(uint *)(iVar5 + 4);" (assignment_expression "uVar4 = *(uint *)(iVar5 + 4)" (identifier "uVar4") (= "=") (pointer_expression "*(uint *)(iVar5 + 4)" (* "*") (cast_expression "(uint *)(iVar5 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 4)" (( "(") (binary_expression "iVar5 + 4" (identifier "iVar5") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "*(uint *)(iVar5 + 4) =\n         uVar4 & 0xff003fff |\n         (((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8) >> 0x16) << 0xe;" (assignment_expression "*(uint *)(iVar5 + 4) =\n         uVar4 & 0xff003fff |\n         (((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8) >> 0x16) << 0xe" (pointer_expression "*(uint *)(iVar5 + 4)" (* "*") (cast_expression "(uint *)(iVar5 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 4)" (( "(") (binary_expression "iVar5 + 4" (identifier "iVar5") (+ "+") (number_literal "4")) () ")")))) (= "=") (binary_expression "uVar4 & 0xff003fff |\n         (((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8) >> 0x16) << 0xe" (binary_expression "uVar4 & 0xff003fff" (identifier "uVar4") (& "&") (number_literal "0xff003fff")) (| "|") (binary_expression "(((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8) >> 0x16) << 0xe" (parenthesized_expression "(((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8) >> 0x16)" (( "(") (binary_expression "((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8) >> 0x16" (parenthesized_expression "((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8)" (( "(") (binary_expression "(uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8" (parenthesized_expression "(uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4))" (( "(") (binary_expression "uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)" (identifier "uVar4") (| "|") (pointer_expression "*(uint *)(*param_1 + param_2 * 8 + 4)" (* "*") (cast_expression "(uint *)(*param_1 + param_2 * 8 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + param_2 * 8 + 4)" (( "(") (binary_expression "*param_1 + param_2 * 8 + 4" (binary_expression "*param_1 + param_2 * 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (binary_expression "param_2 * 8" (identifier "param_2") (* "*") (number_literal "8"))) (+ "+") (number_literal "4")) () ")"))))) () ")")) (<< "<<") (number_literal "8")) () ")")) (>> ">>") (number_literal "0x16")) () ")")) (<< "<<") (number_literal "0xe")))) (; ";")) (expression_statement "*(uint *)(*param_1 + iVar3 + 4) = *(uint *)(*param_1 + iVar3 + 4) & 0xffffdfff | 0x2000;" (assignment_expression "*(uint *)(*param_1 + iVar3 + 4) = *(uint *)(*param_1 + iVar3 + 4) & 0xffffdfff | 0x2000" (pointer_expression "*(uint *)(*param_1 + iVar3 + 4)" (* "*") (cast_expression "(uint *)(*param_1 + iVar3 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + iVar3 + 4)" (( "(") (binary_expression "*param_1 + iVar3 + 4" (binary_expression "*param_1 + iVar3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (identifier "iVar3")) (+ "+") (number_literal "4")) () ")")))) (= "=") (binary_expression "*(uint *)(*param_1 + iVar3 + 4) & 0xffffdfff | 0x2000" (binary_expression "*(uint *)(*param_1 + iVar3 + 4) & 0xffffdfff" (pointer_expression "*(uint *)(*param_1 + iVar3 + 4)" (* "*") (cast_expression "(uint *)(*param_1 + iVar3 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + iVar3 + 4)" (( "(") (binary_expression "*param_1 + iVar3 + 4" (binary_expression "*param_1 + iVar3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (identifier "iVar3")) (+ "+") (number_literal "4")) () ")")))) (& "&") (number_literal "0xffffdfff")) (| "|") (number_literal "0x2000"))) (; ";")) (expression_statement "*(int *)(param_1[4] + iVar2 * 4) = param_2;" (assignment_expression "*(int *)(param_1[4] + iVar2 * 4) = param_2" (pointer_expression "*(int *)(param_1[4] + iVar2 * 4)" (* "*") (cast_expression "(int *)(param_1[4] + iVar2 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[4] + iVar2 * 4)" (( "(") (binary_expression "param_1[4] + iVar2 * 4" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (+ "+") (binary_expression "iVar2 * 4" (identifier "iVar2") (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "param_2")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (subscript_expression argument: (identifier) index: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)) right: (number_literal))))) right: (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)) right: (number_literal))))) right: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))))) right: (number_literal))) right: (number_literal))) right: (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)) right: (number_literal))))) right: (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)) right: (number_literal))))) right: (number_literal)) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (identifier))))) (return_statement))))

void MASKED(int *param_1,int param_2,uint param_3)

{
  undefined4 *puVar1;
  int iVar2;
  int iVar3;
  uint uVar4;
  int iVar5;
  
  puVar1 = (undefined4 *)(*param_1 + param_2 * 8);
  iVar2 = FUN_0004a11c(param_1,*puVar1,puVar1[1]);
  iVar3 = iVar2 * 8;
  if (iVar2 != -1) {
    *(uint *)(*param_1 + iVar3 + 4) =
         *(uint *)(*param_1 + iVar3 + 4) & 0xff003fff | (param_3 & 0x3ff) << 0xe;
    iVar5 = *param_1 + iVar3;
    uVar4 = *(uint *)(iVar5 + 4);
    *(uint *)(iVar5 + 4) =
         uVar4 & 0xff003fff |
         (((uVar4 | *(uint *)(*param_1 + param_2 * 8 + 4)) << 8) >> 0x16) << 0xe;
    *(uint *)(*param_1 + iVar3 + 4) = *(uint *)(*param_1 + iVar3 + 4) & 0xffffdfff | 0x2000;
    *(int *)(param_1[4] + iVar2 * 4) = param_2;
  }
  return;
}

