
void add_back_pos(POSITION pos)

{
  int iVar1;
  undefined4 *puVar2;
  int iVar3;
  undefined4 in_a0;
  undefined4 in_a1;
  
  if (1 < *(int *)PTR_sc_height_0004fcf0) {
    iVar3 = *(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84);
    iVar1 = iVar3 + *(int *)PTR_sc_height_0004fcf0 * 8;
    do {
      *(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc);
      *(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10);
      iVar1 = iVar1 + -8;
    } while (iVar1 != iVar3 + 8);
  }
  puVar2 = *(undefined4 **)(PTR_PTR_homefile_0004fbf8 + 0x3a84);
  puVar2[1] = in_a1;
  *puVar2 = in_a0;
  return;
}



void add_back_pos(undefined4 param_1,undefined4 param_2)

{
  int iVar1;
  undefined4 *puVar2;
  int iVar3;
  
  if (1 < *(int *)PTR_sc_height_0004fcf0) {
    iVar3 = *(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84);
    iVar1 = iVar3 + *(int *)PTR_sc_height_0004fcf0 * 8;
    do {
      *(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc);
      *(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10);
      iVar1 = iVar1 + -8;
    } while (iVar1 != iVar3 + 8);
  }
  puVar2 = *(undefined4 **)(PTR_PTR_homefile_0004fbf8 + 0x3a84);
  puVar2[1] = param_2;
  *puVar2 = param_1;
  return;
}


lui gp,0x2
addiu gp,gp,0x7230
addu gp,gp,t9
lw v0,-0x7ee0(gp)
lw v0,0x0(v0)
slti v1,v0,0x2
bne v1,zero,0x000309ec
_sll v0,v0,0x3
lw v1,-0x7fd8(gp)
lw v1,0x3a84(v1)
addu v0,v1,v0
addiu v1,v1,0x8
lw a3,-0xc(v0)
lw a2,-0x10(v0)
sw a3,-0x4(v0)
sw a2,-0x8(v0)
addiu v0,v0,-0x8
bne v0,v1,0x000309d0
_nop
lw v0,-0x7fd8(gp)
lw v0,0x3a84(v0)
sw a1,0x4(v0)
jr ra
_sw a0,0x0(v0)
(translation_unit "void add_back_pos(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  if (1 < *(int *)PTR_sc_height_0004fcf0) {\n    iVar3 = *(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84);\n    iVar1 = iVar3 + *(int *)PTR_sc_height_0004fcf0 * 8;\n    do {\n      *(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc);\n      *(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != iVar3 + 8);\n  }\n  puVar2 = *(undefined4 **)(PTR_PTR_homefile_0004fbf8 + 0x3a84);\n  puVar2[1] = param_2;\n  *puVar2 = param_1;\n  return;\n}\n\n" (function_definition "void add_back_pos(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  if (1 < *(int *)PTR_sc_height_0004fcf0) {\n    iVar3 = *(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84);\n    iVar1 = iVar3 + *(int *)PTR_sc_height_0004fcf0 * 8;\n    do {\n      *(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc);\n      *(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != iVar3 + 8);\n  }\n  puVar2 = *(undefined4 **)(PTR_PTR_homefile_0004fbf8 + 0x3a84);\n  puVar2[1] = param_2;\n  *puVar2 = param_1;\n  return;\n}" primitive_type (function_declarator "add_back_pos(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  if (1 < *(int *)PTR_sc_height_0004fcf0) {\n    iVar3 = *(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84);\n    iVar1 = iVar3 + *(int *)PTR_sc_height_0004fcf0 * 8;\n    do {\n      *(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc);\n      *(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != iVar3 + 8);\n  }\n  puVar2 = *(undefined4 **)(PTR_PTR_homefile_0004fbf8 + 0x3a84);\n  puVar2[1] = param_2;\n  *puVar2 = param_1;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if (1 < *(int *)PTR_sc_height_0004fcf0) {\n    iVar3 = *(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84);\n    iVar1 = iVar3 + *(int *)PTR_sc_height_0004fcf0 * 8;\n    do {\n      *(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc);\n      *(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != iVar3 + 8);\n  }" if (parenthesized_expression "(1 < *(int *)PTR_sc_height_0004fcf0)" ( (binary_expression "1 < *(int *)PTR_sc_height_0004fcf0" number_literal < (pointer_expression "*(int *)PTR_sc_height_0004fcf0" * (cast_expression "(int *)PTR_sc_height_0004fcf0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    iVar3 = *(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84);\n    iVar1 = iVar3 + *(int *)PTR_sc_height_0004fcf0 * 8;\n    do {\n      *(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc);\n      *(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != iVar3 + 8);\n  }" { (expression_statement "iVar3 = *(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84);" (assignment_expression "iVar3 = *(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84)" identifier = (pointer_expression "*(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84)" * (cast_expression "(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_PTR_homefile_0004fbf8 + 0x3a84)" ( (binary_expression "PTR_PTR_homefile_0004fbf8 + 0x3a84" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = iVar3 + *(int *)PTR_sc_height_0004fcf0 * 8;" (assignment_expression "iVar1 = iVar3 + *(int *)PTR_sc_height_0004fcf0 * 8" identifier = (binary_expression "iVar3 + *(int *)PTR_sc_height_0004fcf0 * 8" identifier + (binary_expression "*(int *)PTR_sc_height_0004fcf0 * 8" (pointer_expression "*(int *)PTR_sc_height_0004fcf0" * (cast_expression "(int *)PTR_sc_height_0004fcf0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) * number_literal))) ;) (do_statement "do {\n      *(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc);\n      *(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != iVar3 + 8);" do (compound_statement "{\n      *(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc);\n      *(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10);\n      iVar1 = iVar1 + -8;\n    }" { (expression_statement "*(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc);" (assignment_expression "*(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc)" (pointer_expression "*(undefined4 *)(iVar1 + -4)" * (cast_expression "(undefined4 *)(iVar1 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + -4)" ( (binary_expression "iVar1 + -4" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar1 + -0xc)" * (cast_expression "(undefined4 *)(iVar1 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + -0xc)" ( (binary_expression "iVar1 + -0xc" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10);" (assignment_expression "*(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10)" (pointer_expression "*(undefined4 *)(iVar1 + -8)" * (cast_expression "(undefined4 *)(iVar1 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + -8)" ( (binary_expression "iVar1 + -8" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar1 + -0x10)" * (cast_expression "(undefined4 *)(iVar1 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + -0x10)" ( (binary_expression "iVar1 + -0x10" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = iVar1 + -8;" (assignment_expression "iVar1 = iVar1 + -8" identifier = (binary_expression "iVar1 + -8" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != iVar3 + 8)" ( (binary_expression "iVar1 != iVar3 + 8" identifier != (binary_expression "iVar3 + 8" identifier + number_literal)) )) ;) })) (expression_statement "puVar2 = *(undefined4 **)(PTR_PTR_homefile_0004fbf8 + 0x3a84);" (assignment_expression "puVar2 = *(undefined4 **)(PTR_PTR_homefile_0004fbf8 + 0x3a84)" identifier = (pointer_expression "*(undefined4 **)(PTR_PTR_homefile_0004fbf8 + 0x3a84)" * (cast_expression "(undefined4 **)(PTR_PTR_homefile_0004fbf8 + 0x3a84)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_PTR_homefile_0004fbf8 + 0x3a84)" ( (binary_expression "PTR_PTR_homefile_0004fbf8 + 0x3a84" identifier + number_literal) ))))) ;) (expression_statement "puVar2[1] = param_2;" (assignment_expression "puVar2[1] = param_2" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar2 = param_1;" (assignment_expression "*puVar2 = param_1" (pointer_expression "*puVar2" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void add_back_pos(POSITION pos)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  undefined4 in_a0;\n  undefined4 in_a1;\n  \n  if (1 < *(int *)PTR_sc_height_0004fcf0) {\n    iVar3 = *(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84);\n    iVar1 = iVar3 + *(int *)PTR_sc_height_0004fcf0 * 8;\n    do {\n      *(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc);\n      *(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != iVar3 + 8);\n  }\n  puVar2 = *(undefined4 **)(PTR_PTR_homefile_0004fbf8 + 0x3a84);\n  puVar2[1] = in_a1;\n  *puVar2 = in_a0;\n  return;\n}\n\n" (function_definition "void add_back_pos(POSITION pos)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  undefined4 in_a0;\n  undefined4 in_a1;\n  \n  if (1 < *(int *)PTR_sc_height_0004fcf0) {\n    iVar3 = *(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84);\n    iVar1 = iVar3 + *(int *)PTR_sc_height_0004fcf0 * 8;\n    do {\n      *(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc);\n      *(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != iVar3 + 8);\n  }\n  puVar2 = *(undefined4 **)(PTR_PTR_homefile_0004fbf8 + 0x3a84);\n  puVar2[1] = in_a1;\n  *puVar2 = in_a0;\n  return;\n}" primitive_type (function_declarator "add_back_pos(POSITION pos)" identifier (parameter_list "(POSITION pos)" ( (parameter_declaration "POSITION pos" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  undefined4 in_a0;\n  undefined4 in_a1;\n  \n  if (1 < *(int *)PTR_sc_height_0004fcf0) {\n    iVar3 = *(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84);\n    iVar1 = iVar3 + *(int *)PTR_sc_height_0004fcf0 * 8;\n    do {\n      *(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc);\n      *(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != iVar3 + 8);\n  }\n  puVar2 = *(undefined4 **)(PTR_PTR_homefile_0004fbf8 + 0x3a84);\n  puVar2[1] = in_a1;\n  *puVar2 = in_a0;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 in_a0;" type_identifier identifier ;) (declaration "undefined4 in_a1;" type_identifier identifier ;) (if_statement "if (1 < *(int *)PTR_sc_height_0004fcf0) {\n    iVar3 = *(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84);\n    iVar1 = iVar3 + *(int *)PTR_sc_height_0004fcf0 * 8;\n    do {\n      *(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc);\n      *(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != iVar3 + 8);\n  }" if (parenthesized_expression "(1 < *(int *)PTR_sc_height_0004fcf0)" ( (binary_expression "1 < *(int *)PTR_sc_height_0004fcf0" number_literal < (pointer_expression "*(int *)PTR_sc_height_0004fcf0" * (cast_expression "(int *)PTR_sc_height_0004fcf0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    iVar3 = *(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84);\n    iVar1 = iVar3 + *(int *)PTR_sc_height_0004fcf0 * 8;\n    do {\n      *(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc);\n      *(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != iVar3 + 8);\n  }" { (expression_statement "iVar3 = *(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84);" (assignment_expression "iVar3 = *(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84)" identifier = (pointer_expression "*(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84)" * (cast_expression "(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_PTR_homefile_0004fbf8 + 0x3a84)" ( (binary_expression "PTR_PTR_homefile_0004fbf8 + 0x3a84" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = iVar3 + *(int *)PTR_sc_height_0004fcf0 * 8;" (assignment_expression "iVar1 = iVar3 + *(int *)PTR_sc_height_0004fcf0 * 8" identifier = (binary_expression "iVar3 + *(int *)PTR_sc_height_0004fcf0 * 8" identifier + (binary_expression "*(int *)PTR_sc_height_0004fcf0 * 8" (pointer_expression "*(int *)PTR_sc_height_0004fcf0" * (cast_expression "(int *)PTR_sc_height_0004fcf0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) * number_literal))) ;) (do_statement "do {\n      *(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc);\n      *(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != iVar3 + 8);" do (compound_statement "{\n      *(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc);\n      *(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10);\n      iVar1 = iVar1 + -8;\n    }" { (expression_statement "*(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc);" (assignment_expression "*(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc)" (pointer_expression "*(undefined4 *)(iVar1 + -4)" * (cast_expression "(undefined4 *)(iVar1 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + -4)" ( (binary_expression "iVar1 + -4" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar1 + -0xc)" * (cast_expression "(undefined4 *)(iVar1 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + -0xc)" ( (binary_expression "iVar1 + -0xc" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10);" (assignment_expression "*(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10)" (pointer_expression "*(undefined4 *)(iVar1 + -8)" * (cast_expression "(undefined4 *)(iVar1 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + -8)" ( (binary_expression "iVar1 + -8" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar1 + -0x10)" * (cast_expression "(undefined4 *)(iVar1 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + -0x10)" ( (binary_expression "iVar1 + -0x10" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = iVar1 + -8;" (assignment_expression "iVar1 = iVar1 + -8" identifier = (binary_expression "iVar1 + -8" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != iVar3 + 8)" ( (binary_expression "iVar1 != iVar3 + 8" identifier != (binary_expression "iVar3 + 8" identifier + number_literal)) )) ;) })) (expression_statement "puVar2 = *(undefined4 **)(PTR_PTR_homefile_0004fbf8 + 0x3a84);" (assignment_expression "puVar2 = *(undefined4 **)(PTR_PTR_homefile_0004fbf8 + 0x3a84)" identifier = (pointer_expression "*(undefined4 **)(PTR_PTR_homefile_0004fbf8 + 0x3a84)" * (cast_expression "(undefined4 **)(PTR_PTR_homefile_0004fbf8 + 0x3a84)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_PTR_homefile_0004fbf8 + 0x3a84)" ( (binary_expression "PTR_PTR_homefile_0004fbf8 + 0x3a84" identifier + number_literal) ))))) ;) (expression_statement "puVar2[1] = in_a1;" (assignment_expression "puVar2[1] = in_a1" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar2 = in_a0;" (assignment_expression "*puVar2 = in_a0" (pointer_expression "*puVar2" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void add_back_pos(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  if (1 < *(int *)PTR_sc_height_0004fcf0) {\n    iVar3 = *(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84);\n    iVar1 = iVar3 + *(int *)PTR_sc_height_0004fcf0 * 8;\n    do {\n      *(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc);\n      *(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != iVar3 + 8);\n  }\n  puVar2 = *(undefined4 **)(PTR_PTR_homefile_0004fbf8 + 0x3a84);\n  puVar2[1] = param_2;\n  *puVar2 = param_1;\n  return;\n}\n\n" (function_definition "void add_back_pos(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  if (1 < *(int *)PTR_sc_height_0004fcf0) {\n    iVar3 = *(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84);\n    iVar1 = iVar3 + *(int *)PTR_sc_height_0004fcf0 * 8;\n    do {\n      *(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc);\n      *(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != iVar3 + 8);\n  }\n  puVar2 = *(undefined4 **)(PTR_PTR_homefile_0004fbf8 + 0x3a84);\n  puVar2[1] = param_2;\n  *puVar2 = param_1;\n  return;\n}" primitive_type (function_declarator "add_back_pos(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  if (1 < *(int *)PTR_sc_height_0004fcf0) {\n    iVar3 = *(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84);\n    iVar1 = iVar3 + *(int *)PTR_sc_height_0004fcf0 * 8;\n    do {\n      *(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc);\n      *(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != iVar3 + 8);\n  }\n  puVar2 = *(undefined4 **)(PTR_PTR_homefile_0004fbf8 + 0x3a84);\n  puVar2[1] = param_2;\n  *puVar2 = param_1;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if (1 < *(int *)PTR_sc_height_0004fcf0) {\n    iVar3 = *(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84);\n    iVar1 = iVar3 + *(int *)PTR_sc_height_0004fcf0 * 8;\n    do {\n      *(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc);\n      *(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != iVar3 + 8);\n  }" if (parenthesized_expression "(1 < *(int *)PTR_sc_height_0004fcf0)" ( (binary_expression "1 < *(int *)PTR_sc_height_0004fcf0" number_literal < (pointer_expression "*(int *)PTR_sc_height_0004fcf0" * (cast_expression "(int *)PTR_sc_height_0004fcf0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    iVar3 = *(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84);\n    iVar1 = iVar3 + *(int *)PTR_sc_height_0004fcf0 * 8;\n    do {\n      *(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc);\n      *(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != iVar3 + 8);\n  }" { (expression_statement "iVar3 = *(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84);" (assignment_expression "iVar3 = *(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84)" identifier = (pointer_expression "*(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84)" * (cast_expression "(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_PTR_homefile_0004fbf8 + 0x3a84)" ( (binary_expression "PTR_PTR_homefile_0004fbf8 + 0x3a84" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = iVar3 + *(int *)PTR_sc_height_0004fcf0 * 8;" (assignment_expression "iVar1 = iVar3 + *(int *)PTR_sc_height_0004fcf0 * 8" identifier = (binary_expression "iVar3 + *(int *)PTR_sc_height_0004fcf0 * 8" identifier + (binary_expression "*(int *)PTR_sc_height_0004fcf0 * 8" (pointer_expression "*(int *)PTR_sc_height_0004fcf0" * (cast_expression "(int *)PTR_sc_height_0004fcf0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) * number_literal))) ;) (do_statement "do {\n      *(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc);\n      *(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != iVar3 + 8);" do (compound_statement "{\n      *(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc);\n      *(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10);\n      iVar1 = iVar1 + -8;\n    }" { (expression_statement "*(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc);" (assignment_expression "*(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc)" (pointer_expression "*(undefined4 *)(iVar1 + -4)" * (cast_expression "(undefined4 *)(iVar1 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + -4)" ( (binary_expression "iVar1 + -4" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar1 + -0xc)" * (cast_expression "(undefined4 *)(iVar1 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + -0xc)" ( (binary_expression "iVar1 + -0xc" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10);" (assignment_expression "*(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10)" (pointer_expression "*(undefined4 *)(iVar1 + -8)" * (cast_expression "(undefined4 *)(iVar1 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + -8)" ( (binary_expression "iVar1 + -8" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar1 + -0x10)" * (cast_expression "(undefined4 *)(iVar1 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + -0x10)" ( (binary_expression "iVar1 + -0x10" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = iVar1 + -8;" (assignment_expression "iVar1 = iVar1 + -8" identifier = (binary_expression "iVar1 + -8" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != iVar3 + 8)" ( (binary_expression "iVar1 != iVar3 + 8" identifier != (binary_expression "iVar3 + 8" identifier + number_literal)) )) ;) })) (expression_statement "puVar2 = *(undefined4 **)(PTR_PTR_homefile_0004fbf8 + 0x3a84);" (assignment_expression "puVar2 = *(undefined4 **)(PTR_PTR_homefile_0004fbf8 + 0x3a84)" identifier = (pointer_expression "*(undefined4 **)(PTR_PTR_homefile_0004fbf8 + 0x3a84)" * (cast_expression "(undefined4 **)(PTR_PTR_homefile_0004fbf8 + 0x3a84)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_PTR_homefile_0004fbf8 + 0x3a84)" ( (binary_expression "PTR_PTR_homefile_0004fbf8 + 0x3a84" identifier + number_literal) ))))) ;) (expression_statement "puVar2[1] = param_2;" (assignment_expression "puVar2[1] = param_2" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar2 = param_1;" (assignment_expression "*puVar2 = param_1" (pointer_expression "*puVar2" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (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 IDENT = (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) * LIT))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (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) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + LIT)) )) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return ;) })))
(function_definition "void add_back_pos(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  if (1 < *(int *)PTR_sc_height_0004fcf0) {\n    iVar3 = *(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84);\n    iVar1 = iVar3 + *(int *)PTR_sc_height_0004fcf0 * 8;\n    do {\n      *(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc);\n      *(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != iVar3 + 8);\n  }\n  puVar2 = *(undefined4 **)(PTR_PTR_homefile_0004fbf8 + 0x3a84);\n  puVar2[1] = param_2;\n  *puVar2 = param_1;\n  return;\n}" (primitive_type "void") (function_declarator "add_back_pos(undefined4 param_1,undefined4 param_2)" (identifier "add_back_pos") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  if (1 < *(int *)PTR_sc_height_0004fcf0) {\n    iVar3 = *(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84);\n    iVar1 = iVar3 + *(int *)PTR_sc_height_0004fcf0 * 8;\n    do {\n      *(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc);\n      *(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != iVar3 + 8);\n  }\n  puVar2 = *(undefined4 **)(PTR_PTR_homefile_0004fbf8 + 0x3a84);\n  puVar2[1] = param_2;\n  *puVar2 = param_1;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (if_statement "if (1 < *(int *)PTR_sc_height_0004fcf0) {\n    iVar3 = *(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84);\n    iVar1 = iVar3 + *(int *)PTR_sc_height_0004fcf0 * 8;\n    do {\n      *(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc);\n      *(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != iVar3 + 8);\n  }" (if "if") (parenthesized_expression "(1 < *(int *)PTR_sc_height_0004fcf0)" (( "(") (binary_expression "1 < *(int *)PTR_sc_height_0004fcf0" (number_literal "1") (< "<") (pointer_expression "*(int *)PTR_sc_height_0004fcf0" (* "*") (cast_expression "(int *)PTR_sc_height_0004fcf0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sc_height_0004fcf0")))) () ")")) (compound_statement "{\n    iVar3 = *(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84);\n    iVar1 = iVar3 + *(int *)PTR_sc_height_0004fcf0 * 8;\n    do {\n      *(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc);\n      *(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != iVar3 + 8);\n  }" ({ "{") (expression_statement "iVar3 = *(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84);" (assignment_expression "iVar3 = *(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84)" (* "*") (cast_expression "(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_PTR_homefile_0004fbf8 + 0x3a84)" (( "(") (binary_expression "PTR_PTR_homefile_0004fbf8 + 0x3a84" (identifier "PTR_PTR_homefile_0004fbf8") (+ "+") (number_literal "0x3a84")) () ")"))))) (; ";")) (expression_statement "iVar1 = iVar3 + *(int *)PTR_sc_height_0004fcf0 * 8;" (assignment_expression "iVar1 = iVar3 + *(int *)PTR_sc_height_0004fcf0 * 8" (identifier "iVar1") (= "=") (binary_expression "iVar3 + *(int *)PTR_sc_height_0004fcf0 * 8" (identifier "iVar3") (+ "+") (binary_expression "*(int *)PTR_sc_height_0004fcf0 * 8" (pointer_expression "*(int *)PTR_sc_height_0004fcf0" (* "*") (cast_expression "(int *)PTR_sc_height_0004fcf0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sc_height_0004fcf0"))) (* "*") (number_literal "8")))) (; ";")) (do_statement "do {\n      *(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc);\n      *(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != iVar3 + 8);" (do "do") (compound_statement "{\n      *(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc);\n      *(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10);\n      iVar1 = iVar1 + -8;\n    }" ({ "{") (expression_statement "*(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc);" (assignment_expression "*(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc)" (pointer_expression "*(undefined4 *)(iVar1 + -4)" (* "*") (cast_expression "(undefined4 *)(iVar1 + -4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + -4)" (( "(") (binary_expression "iVar1 + -4" (identifier "iVar1") (+ "+") (number_literal "-4")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(iVar1 + -0xc)" (* "*") (cast_expression "(undefined4 *)(iVar1 + -0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + -0xc)" (( "(") (binary_expression "iVar1 + -0xc" (identifier "iVar1") (+ "+") (number_literal "-0xc")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10);" (assignment_expression "*(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10)" (pointer_expression "*(undefined4 *)(iVar1 + -8)" (* "*") (cast_expression "(undefined4 *)(iVar1 + -8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + -8)" (( "(") (binary_expression "iVar1 + -8" (identifier "iVar1") (+ "+") (number_literal "-8")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(iVar1 + -0x10)" (* "*") (cast_expression "(undefined4 *)(iVar1 + -0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + -0x10)" (( "(") (binary_expression "iVar1 + -0x10" (identifier "iVar1") (+ "+") (number_literal "-0x10")) () ")"))))) (; ";")) (expression_statement "iVar1 = iVar1 + -8;" (assignment_expression "iVar1 = iVar1 + -8" (identifier "iVar1") (= "=") (binary_expression "iVar1 + -8" (identifier "iVar1") (+ "+") (number_literal "-8"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 != iVar3 + 8)" (( "(") (binary_expression "iVar1 != iVar3 + 8" (identifier "iVar1") (!= "!=") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8"))) () ")")) (; ";")) (} "}"))) (expression_statement "puVar2 = *(undefined4 **)(PTR_PTR_homefile_0004fbf8 + 0x3a84);" (assignment_expression "puVar2 = *(undefined4 **)(PTR_PTR_homefile_0004fbf8 + 0x3a84)" (identifier "puVar2") (= "=") (pointer_expression "*(undefined4 **)(PTR_PTR_homefile_0004fbf8 + 0x3a84)" (* "*") (cast_expression "(undefined4 **)(PTR_PTR_homefile_0004fbf8 + 0x3a84)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_PTR_homefile_0004fbf8 + 0x3a84)" (( "(") (binary_expression "PTR_PTR_homefile_0004fbf8 + 0x3a84" (identifier "PTR_PTR_homefile_0004fbf8") (+ "+") (number_literal "0x3a84")) () ")"))))) (; ";")) (expression_statement "puVar2[1] = param_2;" (assignment_expression "puVar2[1] = param_2" (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*puVar2 = param_1;" (assignment_expression "*puVar2 = param_1" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (identifier "param_1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))))) (do_statement body: (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: (identifier) right: (number_literal))))) 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: (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: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement))))

void MASKED(undefined4 param_1,undefined4 param_2)

{
  int iVar1;
  undefined4 *puVar2;
  int iVar3;
  
  if (1 < *(int *)PTR_sc_height_0004fcf0) {
    iVar3 = *(int *)(PTR_PTR_homefile_0004fbf8 + 0x3a84);
    iVar1 = iVar3 + *(int *)PTR_sc_height_0004fcf0 * 8;
    do {
      *(undefined4 *)(iVar1 + -4) = *(undefined4 *)(iVar1 + -0xc);
      *(undefined4 *)(iVar1 + -8) = *(undefined4 *)(iVar1 + -0x10);
      iVar1 = iVar1 + -8;
    } while (iVar1 != iVar3 + 8);
  }
  puVar2 = *(undefined4 **)(PTR_PTR_homefile_0004fbf8 + 0x3a84);
  puVar2[1] = param_2;
  *puVar2 = param_1;
  return;
}

