
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void freedirs(ftp_conn *ftpc)

{
  int iVar1;
  char **ppcVar2;
  int iVar3;
  int iVar4;
  undefined4 *puVar5;
  int in_t9;
  code *pcVar6;
  
  ppcVar2 = ftpc->dirs;
  if (ppcVar2 == (char **)0x0) {
    puVar5 = *(undefined4 **)(in_t9 + 0x7f464);
  }
  else {
    puVar5 = *(undefined4 **)(in_t9 + 0x7f464);
    iVar3 = 0;
    if (0 < ftpc->dirdepth) {
      do {
        iVar4 = iVar3 + 1;
        (*(code *)*puVar5)(ppcVar2[iVar3]);
        ppcVar2 = ftpc->dirs;
        iVar1 = ftpc->dirdepth;
        ppcVar2[iVar3] = (char *)0x0;
        iVar3 = iVar4;
      } while (iVar4 < iVar1);
    }
    (*(code *)*puVar5)();
    ftpc->dirs = (char **)0x0;
    ftpc->dirdepth = 0;
  }
  (*(code *)*puVar5)(ftpc->file);
  pcVar6 = (code *)*puVar5;
  ftpc->file = (char *)0x0;
  (*pcVar6)(ftpc->newhost);
  ftpc->newhost = (char *)0x0;
  return;
}



void FUN_00026ce0(int param_1)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  code *pcVar6;
  
  puVar1 = PTR_PTR_free_000a6144;
  iVar3 = *(int *)(param_1 + 0x3c);
  iVar5 = 0;
  if (iVar3 != 0) {
    if (0 < *(int *)(param_1 + 0x40)) {
      do {
        iVar4 = iVar5 * 4;
        iVar5 = iVar5 + 1;
        (**(code **)puVar1)(*(undefined4 *)(iVar3 + iVar4));
        iVar3 = *(int *)(param_1 + 0x3c);
        iVar2 = *(int *)(param_1 + 0x40);
        *(undefined4 *)(iVar3 + iVar4) = 0;
      } while (iVar5 < iVar2);
    }
    (**(code **)puVar1)();
    *(undefined4 *)(param_1 + 0x3c) = 0;
    *(undefined4 *)(param_1 + 0x40) = 0;
  }
  (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x48));
  pcVar6 = *(code **)puVar1;
  *(undefined4 *)(param_1 + 0x48) = 0;
  (*pcVar6)(*(undefined4 *)(param_1 + 0x90));
  *(undefined4 *)(param_1 + 0x90) = 0;
  return;
}


lui gp,0x8
addiu gp,gp,0x7430
addu gp,gp,t9
addiu sp,sp,-0x30
sw s2,0x24(sp)
or s2,a0,zero
sw gp,0x10(sp)
sw ra,0x2c(sp)
sw s3,0x28(sp)
sw s1,0x20(sp)
sw s0,0x1c(sp)
lw a0,0x3c(a0)
beq a0,zero,0x00026da4
_or s1,zero,zero
lw v0,0x40(s2)
blez v0,0x00026d54
_lw s3,-0x7fcc(gp)
sll s0,s1,0x2
lw t9,0x0(s3)
addiu s1,s1,0x1
addu a0,a0,s0
jalr t9
_lw a0,0x0(a0)
lw a0,0x3c(s2)
lw v0,0x40(s2)
addu s0,a0,s0
slt v0,s1,v0
bne v0,zero,0x00026d24
_sw zero,0x0(s0)
lw t9,0x0(s3)
jalr t9
_nop
sw zero,0x3c(s2)
sw zero,0x40(s2)
lw t9,0x0(s3)
jalr t9
_lw a0,0x48(s2)
lw t9,0x0(s3)
lw a0,0x90(s2)
jalr t9
_sw zero,0x48(s2)
lw ra,0x2c(sp)
lw s3,0x28(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
sw zero,0x90(s2)
lw s2,0x24(sp)
jr ra
_addiu sp,sp,0x30
b 0x00026d68
_lw s3,-0x7fcc(gp)
(translation_unit "void FUN_00026ce0(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  code *pcVar6;\n  \n  puVar1 = PTR_PTR_free_000a6144;\n  iVar3 = *(int *)(param_1 + 0x3c);\n  iVar5 = 0;\n  if (iVar3 != 0) {\n    if (0 < *(int *)(param_1 + 0x40)) {\n      do {\n        iVar4 = iVar5 * 4;\n        iVar5 = iVar5 + 1;\n        (**(code **)puVar1)(*(undefined4 *)(iVar3 + iVar4));\n        iVar3 = *(int *)(param_1 + 0x3c);\n        iVar2 = *(int *)(param_1 + 0x40);\n        *(undefined4 *)(iVar3 + iVar4) = 0;\n      } while (iVar5 < iVar2);\n    }\n    (**(code **)puVar1)();\n    *(undefined4 *)(param_1 + 0x3c) = 0;\n    *(undefined4 *)(param_1 + 0x40) = 0;\n  }\n  (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x48));\n  pcVar6 = *(code **)puVar1;\n  *(undefined4 *)(param_1 + 0x48) = 0;\n  (*pcVar6)(*(undefined4 *)(param_1 + 0x90));\n  *(undefined4 *)(param_1 + 0x90) = 0;\n  return;\n}\n\n" (function_definition "void FUN_00026ce0(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  code *pcVar6;\n  \n  puVar1 = PTR_PTR_free_000a6144;\n  iVar3 = *(int *)(param_1 + 0x3c);\n  iVar5 = 0;\n  if (iVar3 != 0) {\n    if (0 < *(int *)(param_1 + 0x40)) {\n      do {\n        iVar4 = iVar5 * 4;\n        iVar5 = iVar5 + 1;\n        (**(code **)puVar1)(*(undefined4 *)(iVar3 + iVar4));\n        iVar3 = *(int *)(param_1 + 0x3c);\n        iVar2 = *(int *)(param_1 + 0x40);\n        *(undefined4 *)(iVar3 + iVar4) = 0;\n      } while (iVar5 < iVar2);\n    }\n    (**(code **)puVar1)();\n    *(undefined4 *)(param_1 + 0x3c) = 0;\n    *(undefined4 *)(param_1 + 0x40) = 0;\n  }\n  (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x48));\n  pcVar6 = *(code **)puVar1;\n  *(undefined4 *)(param_1 + 0x48) = 0;\n  (*pcVar6)(*(undefined4 *)(param_1 + 0x90));\n  *(undefined4 *)(param_1 + 0x90) = 0;\n  return;\n}" primitive_type (function_declarator "FUN_00026ce0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  code *pcVar6;\n  \n  puVar1 = PTR_PTR_free_000a6144;\n  iVar3 = *(int *)(param_1 + 0x3c);\n  iVar5 = 0;\n  if (iVar3 != 0) {\n    if (0 < *(int *)(param_1 + 0x40)) {\n      do {\n        iVar4 = iVar5 * 4;\n        iVar5 = iVar5 + 1;\n        (**(code **)puVar1)(*(undefined4 *)(iVar3 + iVar4));\n        iVar3 = *(int *)(param_1 + 0x3c);\n        iVar2 = *(int *)(param_1 + 0x40);\n        *(undefined4 *)(iVar3 + iVar4) = 0;\n      } while (iVar5 < iVar2);\n    }\n    (**(code **)puVar1)();\n    *(undefined4 *)(param_1 + 0x3c) = 0;\n    *(undefined4 *)(param_1 + 0x40) = 0;\n  }\n  (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x48));\n  pcVar6 = *(code **)puVar1;\n  *(undefined4 *)(param_1 + 0x48) = 0;\n  (*pcVar6)(*(undefined4 *)(param_1 + 0x90));\n  *(undefined4 *)(param_1 + 0x90) = 0;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "code *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (expression_statement "puVar1 = PTR_PTR_free_000a6144;" (assignment_expression "puVar1 = PTR_PTR_free_000a6144" identifier = identifier) ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x3c);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x3c)" identifier = (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (if_statement "if (iVar3 != 0) {\n    if (0 < *(int *)(param_1 + 0x40)) {\n      do {\n        iVar4 = iVar5 * 4;\n        iVar5 = iVar5 + 1;\n        (**(code **)puVar1)(*(undefined4 *)(iVar3 + iVar4));\n        iVar3 = *(int *)(param_1 + 0x3c);\n        iVar2 = *(int *)(param_1 + 0x40);\n        *(undefined4 *)(iVar3 + iVar4) = 0;\n      } while (iVar5 < iVar2);\n    }\n    (**(code **)puVar1)();\n    *(undefined4 *)(param_1 + 0x3c) = 0;\n    *(undefined4 *)(param_1 + 0x40) = 0;\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    if (0 < *(int *)(param_1 + 0x40)) {\n      do {\n        iVar4 = iVar5 * 4;\n        iVar5 = iVar5 + 1;\n        (**(code **)puVar1)(*(undefined4 *)(iVar3 + iVar4));\n        iVar3 = *(int *)(param_1 + 0x3c);\n        iVar2 = *(int *)(param_1 + 0x40);\n        *(undefined4 *)(iVar3 + iVar4) = 0;\n      } while (iVar5 < iVar2);\n    }\n    (**(code **)puVar1)();\n    *(undefined4 *)(param_1 + 0x3c) = 0;\n    *(undefined4 *)(param_1 + 0x40) = 0;\n  }" { (if_statement "if (0 < *(int *)(param_1 + 0x40)) {\n      do {\n        iVar4 = iVar5 * 4;\n        iVar5 = iVar5 + 1;\n        (**(code **)puVar1)(*(undefined4 *)(iVar3 + iVar4));\n        iVar3 = *(int *)(param_1 + 0x3c);\n        iVar2 = *(int *)(param_1 + 0x40);\n        *(undefined4 *)(iVar3 + iVar4) = 0;\n      } while (iVar5 < iVar2);\n    }" if (parenthesized_expression "(0 < *(int *)(param_1 + 0x40))" ( (binary_expression "0 < *(int *)(param_1 + 0x40)" number_literal < (pointer_expression "*(int *)(param_1 + 0x40)" * (cast_expression "(int *)(param_1 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) ))))) )) (compound_statement "{\n      do {\n        iVar4 = iVar5 * 4;\n        iVar5 = iVar5 + 1;\n        (**(code **)puVar1)(*(undefined4 *)(iVar3 + iVar4));\n        iVar3 = *(int *)(param_1 + 0x3c);\n        iVar2 = *(int *)(param_1 + 0x40);\n        *(undefined4 *)(iVar3 + iVar4) = 0;\n      } while (iVar5 < iVar2);\n    }" { (do_statement "do {\n        iVar4 = iVar5 * 4;\n        iVar5 = iVar5 + 1;\n        (**(code **)puVar1)(*(undefined4 *)(iVar3 + iVar4));\n        iVar3 = *(int *)(param_1 + 0x3c);\n        iVar2 = *(int *)(param_1 + 0x40);\n        *(undefined4 *)(iVar3 + iVar4) = 0;\n      } while (iVar5 < iVar2);" do (compound_statement "{\n        iVar4 = iVar5 * 4;\n        iVar5 = iVar5 + 1;\n        (**(code **)puVar1)(*(undefined4 *)(iVar3 + iVar4));\n        iVar3 = *(int *)(param_1 + 0x3c);\n        iVar2 = *(int *)(param_1 + 0x40);\n        *(undefined4 *)(iVar3 + iVar4) = 0;\n      }" { (expression_statement "iVar4 = iVar5 * 4;" (assignment_expression "iVar4 = iVar5 * 4" identifier = (binary_expression "iVar5 * 4" identifier * number_literal)) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "(**(code **)puVar1)(*(undefined4 *)(iVar3 + iVar4));" (call_expression "(**(code **)puVar1)(*(undefined4 *)(iVar3 + iVar4))" (parenthesized_expression "(**(code **)puVar1)" ( (pointer_expression "**(code **)puVar1" * (pointer_expression "*(code **)puVar1" * (cast_expression "(code **)puVar1" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(*(undefined4 *)(iVar3 + iVar4))" ( (pointer_expression "*(undefined4 *)(iVar3 + iVar4)" * (cast_expression "(undefined4 *)(iVar3 + iVar4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar4)" ( (binary_expression "iVar3 + iVar4" identifier + identifier) )))) ))) ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x3c);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x3c)" identifier = (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(param_1 + 0x40);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x40)" identifier = (pointer_expression "*(int *)(param_1 + 0x40)" * (cast_expression "(int *)(param_1 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar3 + iVar4) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + iVar4) = 0" (pointer_expression "*(undefined4 *)(iVar3 + iVar4)" * (cast_expression "(undefined4 *)(iVar3 + iVar4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar4)" ( (binary_expression "iVar3 + iVar4" identifier + identifier) )))) = number_literal) ;) }) while (parenthesized_expression "(iVar5 < iVar2)" ( (binary_expression "iVar5 < iVar2" identifier < identifier) )) ;) })) (expression_statement "(**(code **)puVar1)();" (call_expression "(**(code **)puVar1)()" (parenthesized_expression "(**(code **)puVar1)" ( (pointer_expression "**(code **)puVar1" * (pointer_expression "*(code **)puVar1" * (cast_expression "(code **)puVar1" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "()" ( ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x3c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x3c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" * (cast_expression "(undefined4 *)(param_1 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x40) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x40) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x40)" * (cast_expression "(undefined4 *)(param_1 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "(**(code **)puVar1)(*(undefined4 *)(param_1 + 0x48));" (call_expression "(**(code **)puVar1)(*(undefined4 *)(param_1 + 0x48))" (parenthesized_expression "(**(code **)puVar1)" ( (pointer_expression "**(code **)puVar1" * (pointer_expression "*(code **)puVar1" * (cast_expression "(code **)puVar1" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(*(undefined4 *)(param_1 + 0x48))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x48)" * (cast_expression "(undefined4 *)(param_1 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) ))) ;) (expression_statement "pcVar6 = *(code **)puVar1;" (assignment_expression "pcVar6 = *(code **)puVar1" identifier = (pointer_expression "*(code **)puVar1" * (cast_expression "(code **)puVar1" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x48) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x48) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x48)" * (cast_expression "(undefined4 *)(param_1 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(*pcVar6)(*(undefined4 *)(param_1 + 0x90));" (call_expression "(*pcVar6)(*(undefined4 *)(param_1 + 0x90))" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(*(undefined4 *)(param_1 + 0x90))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x90)" * (cast_expression "(undefined4 *)(param_1 + 0x90)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x90)" ( (binary_expression "param_1 + 0x90" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x90) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x90) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x90)" * (cast_expression "(undefined4 *)(param_1 + 0x90)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x90)" ( (binary_expression "param_1 + 0x90" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid freedirs(ftp_conn *ftpc)\n\n{\n  int iVar1;\n  char **ppcVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int in_t9;\n  code *pcVar6;\n  \n  ppcVar2 = ftpc->dirs;\n  if (ppcVar2 == (char **)0x0) {\n    puVar5 = *(undefined4 **)(in_t9 + 0x7f464);\n  }\n  else {\n    puVar5 = *(undefined4 **)(in_t9 + 0x7f464);\n    iVar3 = 0;\n    if (0 < ftpc->dirdepth) {\n      do {\n        iVar4 = iVar3 + 1;\n        (*(code *)*puVar5)(ppcVar2[iVar3]);\n        ppcVar2 = ftpc->dirs;\n        iVar1 = ftpc->dirdepth;\n        ppcVar2[iVar3] = (char *)0x0;\n        iVar3 = iVar4;\n      } while (iVar4 < iVar1);\n    }\n    (*(code *)*puVar5)();\n    ftpc->dirs = (char **)0x0;\n    ftpc->dirdepth = 0;\n  }\n  (*(code *)*puVar5)(ftpc->file);\n  pcVar6 = (code *)*puVar5;\n  ftpc->file = (char *)0x0;\n  (*pcVar6)(ftpc->newhost);\n  ftpc->newhost = (char *)0x0;\n  return;\n}\n\n" comment (function_definition "void freedirs(ftp_conn *ftpc)\n\n{\n  int iVar1;\n  char **ppcVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int in_t9;\n  code *pcVar6;\n  \n  ppcVar2 = ftpc->dirs;\n  if (ppcVar2 == (char **)0x0) {\n    puVar5 = *(undefined4 **)(in_t9 + 0x7f464);\n  }\n  else {\n    puVar5 = *(undefined4 **)(in_t9 + 0x7f464);\n    iVar3 = 0;\n    if (0 < ftpc->dirdepth) {\n      do {\n        iVar4 = iVar3 + 1;\n        (*(code *)*puVar5)(ppcVar2[iVar3]);\n        ppcVar2 = ftpc->dirs;\n        iVar1 = ftpc->dirdepth;\n        ppcVar2[iVar3] = (char *)0x0;\n        iVar3 = iVar4;\n      } while (iVar4 < iVar1);\n    }\n    (*(code *)*puVar5)();\n    ftpc->dirs = (char **)0x0;\n    ftpc->dirdepth = 0;\n  }\n  (*(code *)*puVar5)(ftpc->file);\n  pcVar6 = (code *)*puVar5;\n  ftpc->file = (char *)0x0;\n  (*pcVar6)(ftpc->newhost);\n  ftpc->newhost = (char *)0x0;\n  return;\n}" primitive_type (function_declarator "freedirs(ftp_conn *ftpc)" identifier (parameter_list "(ftp_conn *ftpc)" ( (parameter_declaration "ftp_conn *ftpc" type_identifier (pointer_declarator "*ftpc" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  char **ppcVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int in_t9;\n  code *pcVar6;\n  \n  ppcVar2 = ftpc->dirs;\n  if (ppcVar2 == (char **)0x0) {\n    puVar5 = *(undefined4 **)(in_t9 + 0x7f464);\n  }\n  else {\n    puVar5 = *(undefined4 **)(in_t9 + 0x7f464);\n    iVar3 = 0;\n    if (0 < ftpc->dirdepth) {\n      do {\n        iVar4 = iVar3 + 1;\n        (*(code *)*puVar5)(ppcVar2[iVar3]);\n        ppcVar2 = ftpc->dirs;\n        iVar1 = ftpc->dirdepth;\n        ppcVar2[iVar3] = (char *)0x0;\n        iVar3 = iVar4;\n      } while (iVar4 < iVar1);\n    }\n    (*(code *)*puVar5)();\n    ftpc->dirs = (char **)0x0;\n    ftpc->dirdepth = 0;\n  }\n  (*(code *)*puVar5)(ftpc->file);\n  pcVar6 = (code *)*puVar5;\n  ftpc->file = (char *)0x0;\n  (*pcVar6)(ftpc->newhost);\n  ftpc->newhost = (char *)0x0;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char **ppcVar2;" primitive_type (pointer_declarator "**ppcVar2" * (pointer_declarator "*ppcVar2" * identifier)) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int in_t9;" primitive_type identifier ;) (declaration "code *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (expression_statement "ppcVar2 = ftpc->dirs;" (assignment_expression "ppcVar2 = ftpc->dirs" identifier = (field_expression "ftpc->dirs" identifier -> field_identifier)) ;) (if_statement "if (ppcVar2 == (char **)0x0) {\n    puVar5 = *(undefined4 **)(in_t9 + 0x7f464);\n  }\n  else {\n    puVar5 = *(undefined4 **)(in_t9 + 0x7f464);\n    iVar3 = 0;\n    if (0 < ftpc->dirdepth) {\n      do {\n        iVar4 = iVar3 + 1;\n        (*(code *)*puVar5)(ppcVar2[iVar3]);\n        ppcVar2 = ftpc->dirs;\n        iVar1 = ftpc->dirdepth;\n        ppcVar2[iVar3] = (char *)0x0;\n        iVar3 = iVar4;\n      } while (iVar4 < iVar1);\n    }\n    (*(code *)*puVar5)();\n    ftpc->dirs = (char **)0x0;\n    ftpc->dirdepth = 0;\n  }" if (parenthesized_expression "(ppcVar2 == (char **)0x0)" ( (binary_expression "ppcVar2 == (char **)0x0" identifier == (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n    puVar5 = *(undefined4 **)(in_t9 + 0x7f464);\n  }" { (expression_statement "puVar5 = *(undefined4 **)(in_t9 + 0x7f464);" (assignment_expression "puVar5 = *(undefined4 **)(in_t9 + 0x7f464)" identifier = (pointer_expression "*(undefined4 **)(in_t9 + 0x7f464)" * (cast_expression "(undefined4 **)(in_t9 + 0x7f464)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x7f464)" ( (binary_expression "in_t9 + 0x7f464" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    puVar5 = *(undefined4 **)(in_t9 + 0x7f464);\n    iVar3 = 0;\n    if (0 < ftpc->dirdepth) {\n      do {\n        iVar4 = iVar3 + 1;\n        (*(code *)*puVar5)(ppcVar2[iVar3]);\n        ppcVar2 = ftpc->dirs;\n        iVar1 = ftpc->dirdepth;\n        ppcVar2[iVar3] = (char *)0x0;\n        iVar3 = iVar4;\n      } while (iVar4 < iVar1);\n    }\n    (*(code *)*puVar5)();\n    ftpc->dirs = (char **)0x0;\n    ftpc->dirdepth = 0;\n  }" else (compound_statement "{\n    puVar5 = *(undefined4 **)(in_t9 + 0x7f464);\n    iVar3 = 0;\n    if (0 < ftpc->dirdepth) {\n      do {\n        iVar4 = iVar3 + 1;\n        (*(code *)*puVar5)(ppcVar2[iVar3]);\n        ppcVar2 = ftpc->dirs;\n        iVar1 = ftpc->dirdepth;\n        ppcVar2[iVar3] = (char *)0x0;\n        iVar3 = iVar4;\n      } while (iVar4 < iVar1);\n    }\n    (*(code *)*puVar5)();\n    ftpc->dirs = (char **)0x0;\n    ftpc->dirdepth = 0;\n  }" { (expression_statement "puVar5 = *(undefined4 **)(in_t9 + 0x7f464);" (assignment_expression "puVar5 = *(undefined4 **)(in_t9 + 0x7f464)" identifier = (pointer_expression "*(undefined4 **)(in_t9 + 0x7f464)" * (cast_expression "(undefined4 **)(in_t9 + 0x7f464)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x7f464)" ( (binary_expression "in_t9 + 0x7f464" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (if_statement "if (0 < ftpc->dirdepth) {\n      do {\n        iVar4 = iVar3 + 1;\n        (*(code *)*puVar5)(ppcVar2[iVar3]);\n        ppcVar2 = ftpc->dirs;\n        iVar1 = ftpc->dirdepth;\n        ppcVar2[iVar3] = (char *)0x0;\n        iVar3 = iVar4;\n      } while (iVar4 < iVar1);\n    }" if (parenthesized_expression "(0 < ftpc->dirdepth)" ( (binary_expression "0 < ftpc->dirdepth" number_literal < (field_expression "ftpc->dirdepth" identifier -> field_identifier)) )) (compound_statement "{\n      do {\n        iVar4 = iVar3 + 1;\n        (*(code *)*puVar5)(ppcVar2[iVar3]);\n        ppcVar2 = ftpc->dirs;\n        iVar1 = ftpc->dirdepth;\n        ppcVar2[iVar3] = (char *)0x0;\n        iVar3 = iVar4;\n      } while (iVar4 < iVar1);\n    }" { (do_statement "do {\n        iVar4 = iVar3 + 1;\n        (*(code *)*puVar5)(ppcVar2[iVar3]);\n        ppcVar2 = ftpc->dirs;\n        iVar1 = ftpc->dirdepth;\n        ppcVar2[iVar3] = (char *)0x0;\n        iVar3 = iVar4;\n      } while (iVar4 < iVar1);" do (compound_statement "{\n        iVar4 = iVar3 + 1;\n        (*(code *)*puVar5)(ppcVar2[iVar3]);\n        ppcVar2 = ftpc->dirs;\n        iVar1 = ftpc->dirdepth;\n        ppcVar2[iVar3] = (char *)0x0;\n        iVar3 = iVar4;\n      }" { (expression_statement "iVar4 = iVar3 + 1;" (assignment_expression "iVar4 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)*puVar5)(ppcVar2[iVar3]);" (call_expression "(*(code *)*puVar5)(ppcVar2[iVar3])" (parenthesized_expression "(*(code *)*puVar5)" ( (pointer_expression "*(code *)*puVar5" * (cast_expression "(code *)*puVar5" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) )) (argument_list "(ppcVar2[iVar3])" ( (subscript_expression "ppcVar2[iVar3]" identifier [ identifier ]) ))) ;) (expression_statement "ppcVar2 = ftpc->dirs;" (assignment_expression "ppcVar2 = ftpc->dirs" identifier = (field_expression "ftpc->dirs" identifier -> field_identifier)) ;) (expression_statement "iVar1 = ftpc->dirdepth;" (assignment_expression "iVar1 = ftpc->dirdepth" identifier = (field_expression "ftpc->dirdepth" identifier -> field_identifier)) ;) (expression_statement "ppcVar2[iVar3] = (char *)0x0;" (assignment_expression "ppcVar2[iVar3] = (char *)0x0" (subscript_expression "ppcVar2[iVar3]" identifier [ identifier ]) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar3 = iVar4;" (assignment_expression "iVar3 = iVar4" identifier = identifier) ;) }) while (parenthesized_expression "(iVar4 < iVar1)" ( (binary_expression "iVar4 < iVar1" identifier < identifier) )) ;) })) (expression_statement "(*(code *)*puVar5)();" (call_expression "(*(code *)*puVar5)()" (parenthesized_expression "(*(code *)*puVar5)" ( (pointer_expression "*(code *)*puVar5" * (cast_expression "(code *)*puVar5" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) )) (argument_list "()" ( ))) ;) (expression_statement "ftpc->dirs = (char **)0x0;" (assignment_expression "ftpc->dirs = (char **)0x0" (field_expression "ftpc->dirs" identifier -> field_identifier) = (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) (expression_statement "ftpc->dirdepth = 0;" (assignment_expression "ftpc->dirdepth = 0" (field_expression "ftpc->dirdepth" identifier -> field_identifier) = number_literal) ;) }))) (expression_statement "(*(code *)*puVar5)(ftpc->file);" (call_expression "(*(code *)*puVar5)(ftpc->file)" (parenthesized_expression "(*(code *)*puVar5)" ( (pointer_expression "*(code *)*puVar5" * (cast_expression "(code *)*puVar5" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) )) (argument_list "(ftpc->file)" ( (field_expression "ftpc->file" identifier -> field_identifier) ))) ;) (expression_statement "pcVar6 = (code *)*puVar5;" (assignment_expression "pcVar6 = (code *)*puVar5" identifier = (cast_expression "(code *)*puVar5" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) ;) (expression_statement "ftpc->file = (char *)0x0;" (assignment_expression "ftpc->file = (char *)0x0" (field_expression "ftpc->file" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(*pcVar6)(ftpc->newhost);" (call_expression "(*pcVar6)(ftpc->newhost)" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(ftpc->newhost)" ( (field_expression "ftpc->newhost" identifier -> field_identifier) ))) ;) (expression_statement "ftpc->newhost = (char *)0x0;" (assignment_expression "ftpc->newhost = (char *)0x0" (field_expression "ftpc->newhost" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00026ce0(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  code *pcVar6;\n  \n  puVar1 = PTR_PTR_free_000a6144;\n  iVar3 = *(int *)(param_1 + 0x3c);\n  iVar5 = 0;\n  if (iVar3 != 0) {\n    if (0 < *(int *)(param_1 + 0x40)) {\n      do {\n        iVar4 = iVar5 * 4;\n        iVar5 = iVar5 + 1;\n        (**(code **)puVar1)(*(undefined4 *)(iVar3 + iVar4));\n        iVar3 = *(int *)(param_1 + 0x3c);\n        iVar2 = *(int *)(param_1 + 0x40);\n        *(undefined4 *)(iVar3 + iVar4) = 0;\n      } while (iVar5 < iVar2);\n    }\n    (**(code **)puVar1)();\n    *(undefined4 *)(param_1 + 0x3c) = 0;\n    *(undefined4 *)(param_1 + 0x40) = 0;\n  }\n  (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x48));\n  pcVar6 = *(code **)puVar1;\n  *(undefined4 *)(param_1 + 0x48) = 0;\n  (*pcVar6)(*(undefined4 *)(param_1 + 0x90));\n  *(undefined4 *)(param_1 + 0x90) = 0;\n  return;\n}\n\n" (function_definition "void FUN_00026ce0(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  code *pcVar6;\n  \n  puVar1 = PTR_PTR_free_000a6144;\n  iVar3 = *(int *)(param_1 + 0x3c);\n  iVar5 = 0;\n  if (iVar3 != 0) {\n    if (0 < *(int *)(param_1 + 0x40)) {\n      do {\n        iVar4 = iVar5 * 4;\n        iVar5 = iVar5 + 1;\n        (**(code **)puVar1)(*(undefined4 *)(iVar3 + iVar4));\n        iVar3 = *(int *)(param_1 + 0x3c);\n        iVar2 = *(int *)(param_1 + 0x40);\n        *(undefined4 *)(iVar3 + iVar4) = 0;\n      } while (iVar5 < iVar2);\n    }\n    (**(code **)puVar1)();\n    *(undefined4 *)(param_1 + 0x3c) = 0;\n    *(undefined4 *)(param_1 + 0x40) = 0;\n  }\n  (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x48));\n  pcVar6 = *(code **)puVar1;\n  *(undefined4 *)(param_1 + 0x48) = 0;\n  (*pcVar6)(*(undefined4 *)(param_1 + 0x90));\n  *(undefined4 *)(param_1 + 0x90) = 0;\n  return;\n}" primitive_type (function_declarator "FUN_00026ce0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  code *pcVar6;\n  \n  puVar1 = PTR_PTR_free_000a6144;\n  iVar3 = *(int *)(param_1 + 0x3c);\n  iVar5 = 0;\n  if (iVar3 != 0) {\n    if (0 < *(int *)(param_1 + 0x40)) {\n      do {\n        iVar4 = iVar5 * 4;\n        iVar5 = iVar5 + 1;\n        (**(code **)puVar1)(*(undefined4 *)(iVar3 + iVar4));\n        iVar3 = *(int *)(param_1 + 0x3c);\n        iVar2 = *(int *)(param_1 + 0x40);\n        *(undefined4 *)(iVar3 + iVar4) = 0;\n      } while (iVar5 < iVar2);\n    }\n    (**(code **)puVar1)();\n    *(undefined4 *)(param_1 + 0x3c) = 0;\n    *(undefined4 *)(param_1 + 0x40) = 0;\n  }\n  (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x48));\n  pcVar6 = *(code **)puVar1;\n  *(undefined4 *)(param_1 + 0x48) = 0;\n  (*pcVar6)(*(undefined4 *)(param_1 + 0x90));\n  *(undefined4 *)(param_1 + 0x90) = 0;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "code *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (expression_statement "puVar1 = PTR_PTR_free_000a6144;" (assignment_expression "puVar1 = PTR_PTR_free_000a6144" identifier = identifier) ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x3c);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x3c)" identifier = (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (if_statement "if (iVar3 != 0) {\n    if (0 < *(int *)(param_1 + 0x40)) {\n      do {\n        iVar4 = iVar5 * 4;\n        iVar5 = iVar5 + 1;\n        (**(code **)puVar1)(*(undefined4 *)(iVar3 + iVar4));\n        iVar3 = *(int *)(param_1 + 0x3c);\n        iVar2 = *(int *)(param_1 + 0x40);\n        *(undefined4 *)(iVar3 + iVar4) = 0;\n      } while (iVar5 < iVar2);\n    }\n    (**(code **)puVar1)();\n    *(undefined4 *)(param_1 + 0x3c) = 0;\n    *(undefined4 *)(param_1 + 0x40) = 0;\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    if (0 < *(int *)(param_1 + 0x40)) {\n      do {\n        iVar4 = iVar5 * 4;\n        iVar5 = iVar5 + 1;\n        (**(code **)puVar1)(*(undefined4 *)(iVar3 + iVar4));\n        iVar3 = *(int *)(param_1 + 0x3c);\n        iVar2 = *(int *)(param_1 + 0x40);\n        *(undefined4 *)(iVar3 + iVar4) = 0;\n      } while (iVar5 < iVar2);\n    }\n    (**(code **)puVar1)();\n    *(undefined4 *)(param_1 + 0x3c) = 0;\n    *(undefined4 *)(param_1 + 0x40) = 0;\n  }" { (if_statement "if (0 < *(int *)(param_1 + 0x40)) {\n      do {\n        iVar4 = iVar5 * 4;\n        iVar5 = iVar5 + 1;\n        (**(code **)puVar1)(*(undefined4 *)(iVar3 + iVar4));\n        iVar3 = *(int *)(param_1 + 0x3c);\n        iVar2 = *(int *)(param_1 + 0x40);\n        *(undefined4 *)(iVar3 + iVar4) = 0;\n      } while (iVar5 < iVar2);\n    }" if (parenthesized_expression "(0 < *(int *)(param_1 + 0x40))" ( (binary_expression "0 < *(int *)(param_1 + 0x40)" number_literal < (pointer_expression "*(int *)(param_1 + 0x40)" * (cast_expression "(int *)(param_1 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) ))))) )) (compound_statement "{\n      do {\n        iVar4 = iVar5 * 4;\n        iVar5 = iVar5 + 1;\n        (**(code **)puVar1)(*(undefined4 *)(iVar3 + iVar4));\n        iVar3 = *(int *)(param_1 + 0x3c);\n        iVar2 = *(int *)(param_1 + 0x40);\n        *(undefined4 *)(iVar3 + iVar4) = 0;\n      } while (iVar5 < iVar2);\n    }" { (do_statement "do {\n        iVar4 = iVar5 * 4;\n        iVar5 = iVar5 + 1;\n        (**(code **)puVar1)(*(undefined4 *)(iVar3 + iVar4));\n        iVar3 = *(int *)(param_1 + 0x3c);\n        iVar2 = *(int *)(param_1 + 0x40);\n        *(undefined4 *)(iVar3 + iVar4) = 0;\n      } while (iVar5 < iVar2);" do (compound_statement "{\n        iVar4 = iVar5 * 4;\n        iVar5 = iVar5 + 1;\n        (**(code **)puVar1)(*(undefined4 *)(iVar3 + iVar4));\n        iVar3 = *(int *)(param_1 + 0x3c);\n        iVar2 = *(int *)(param_1 + 0x40);\n        *(undefined4 *)(iVar3 + iVar4) = 0;\n      }" { (expression_statement "iVar4 = iVar5 * 4;" (assignment_expression "iVar4 = iVar5 * 4" identifier = (binary_expression "iVar5 * 4" identifier * number_literal)) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "(**(code **)puVar1)(*(undefined4 *)(iVar3 + iVar4));" (call_expression "(**(code **)puVar1)(*(undefined4 *)(iVar3 + iVar4))" (parenthesized_expression "(**(code **)puVar1)" ( (pointer_expression "**(code **)puVar1" * (pointer_expression "*(code **)puVar1" * (cast_expression "(code **)puVar1" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(*(undefined4 *)(iVar3 + iVar4))" ( (pointer_expression "*(undefined4 *)(iVar3 + iVar4)" * (cast_expression "(undefined4 *)(iVar3 + iVar4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar4)" ( (binary_expression "iVar3 + iVar4" identifier + identifier) )))) ))) ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x3c);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x3c)" identifier = (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(param_1 + 0x40);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x40)" identifier = (pointer_expression "*(int *)(param_1 + 0x40)" * (cast_expression "(int *)(param_1 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar3 + iVar4) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + iVar4) = 0" (pointer_expression "*(undefined4 *)(iVar3 + iVar4)" * (cast_expression "(undefined4 *)(iVar3 + iVar4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar4)" ( (binary_expression "iVar3 + iVar4" identifier + identifier) )))) = number_literal) ;) }) while (parenthesized_expression "(iVar5 < iVar2)" ( (binary_expression "iVar5 < iVar2" identifier < identifier) )) ;) })) (expression_statement "(**(code **)puVar1)();" (call_expression "(**(code **)puVar1)()" (parenthesized_expression "(**(code **)puVar1)" ( (pointer_expression "**(code **)puVar1" * (pointer_expression "*(code **)puVar1" * (cast_expression "(code **)puVar1" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "()" ( ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x3c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x3c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" * (cast_expression "(undefined4 *)(param_1 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x40) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x40) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x40)" * (cast_expression "(undefined4 *)(param_1 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "(**(code **)puVar1)(*(undefined4 *)(param_1 + 0x48));" (call_expression "(**(code **)puVar1)(*(undefined4 *)(param_1 + 0x48))" (parenthesized_expression "(**(code **)puVar1)" ( (pointer_expression "**(code **)puVar1" * (pointer_expression "*(code **)puVar1" * (cast_expression "(code **)puVar1" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(*(undefined4 *)(param_1 + 0x48))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x48)" * (cast_expression "(undefined4 *)(param_1 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) ))) ;) (expression_statement "pcVar6 = *(code **)puVar1;" (assignment_expression "pcVar6 = *(code **)puVar1" identifier = (pointer_expression "*(code **)puVar1" * (cast_expression "(code **)puVar1" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x48) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x48) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x48)" * (cast_expression "(undefined4 *)(param_1 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(*pcVar6)(*(undefined4 *)(param_1 + 0x90));" (call_expression "(*pcVar6)(*(undefined4 *)(param_1 + 0x90))" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(*(undefined4 *)(param_1 + 0x90))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x90)" * (cast_expression "(undefined4 *)(param_1 + 0x90)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x90)" ( (binary_expression "param_1 + 0x90" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x90) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x90) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x90)" * (cast_expression "(undefined4 *)(param_1 + 0x90)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x90)" ( (binary_expression "param_1 + 0x90" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_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 IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 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 + IDENT) )))) = LIT) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (argument_list ( ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (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) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_00026ce0(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  code *pcVar6;\n  \n  puVar1 = PTR_PTR_free_000a6144;\n  iVar3 = *(int *)(param_1 + 0x3c);\n  iVar5 = 0;\n  if (iVar3 != 0) {\n    if (0 < *(int *)(param_1 + 0x40)) {\n      do {\n        iVar4 = iVar5 * 4;\n        iVar5 = iVar5 + 1;\n        (**(code **)puVar1)(*(undefined4 *)(iVar3 + iVar4));\n        iVar3 = *(int *)(param_1 + 0x3c);\n        iVar2 = *(int *)(param_1 + 0x40);\n        *(undefined4 *)(iVar3 + iVar4) = 0;\n      } while (iVar5 < iVar2);\n    }\n    (**(code **)puVar1)();\n    *(undefined4 *)(param_1 + 0x3c) = 0;\n    *(undefined4 *)(param_1 + 0x40) = 0;\n  }\n  (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x48));\n  pcVar6 = *(code **)puVar1;\n  *(undefined4 *)(param_1 + 0x48) = 0;\n  (*pcVar6)(*(undefined4 *)(param_1 + 0x90));\n  *(undefined4 *)(param_1 + 0x90) = 0;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00026ce0(int param_1)" (identifier "FUN_00026ce0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  code *pcVar6;\n  \n  puVar1 = PTR_PTR_free_000a6144;\n  iVar3 = *(int *)(param_1 + 0x3c);\n  iVar5 = 0;\n  if (iVar3 != 0) {\n    if (0 < *(int *)(param_1 + 0x40)) {\n      do {\n        iVar4 = iVar5 * 4;\n        iVar5 = iVar5 + 1;\n        (**(code **)puVar1)(*(undefined4 *)(iVar3 + iVar4));\n        iVar3 = *(int *)(param_1 + 0x3c);\n        iVar2 = *(int *)(param_1 + 0x40);\n        *(undefined4 *)(iVar3 + iVar4) = 0;\n      } while (iVar5 < iVar2);\n    }\n    (**(code **)puVar1)();\n    *(undefined4 *)(param_1 + 0x3c) = 0;\n    *(undefined4 *)(param_1 + 0x40) = 0;\n  }\n  (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x48));\n  pcVar6 = *(code **)puVar1;\n  *(undefined4 *)(param_1 + 0x48) = 0;\n  (*pcVar6)(*(undefined4 *)(param_1 + 0x90));\n  *(undefined4 *)(param_1 + 0x90) = 0;\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "code *pcVar6;" (type_identifier "code") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (expression_statement "puVar1 = PTR_PTR_free_000a6144;" (assignment_expression "puVar1 = PTR_PTR_free_000a6144" (identifier "puVar1") (= "=") (identifier "PTR_PTR_free_000a6144")) (; ";")) (expression_statement "iVar3 = *(int *)(param_1 + 0x3c);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x3c)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0x3c)" (* "*") (cast_expression "(int *)(param_1 + 0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")"))))) (; ";")) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar3 != 0) {\n    if (0 < *(int *)(param_1 + 0x40)) {\n      do {\n        iVar4 = iVar5 * 4;\n        iVar5 = iVar5 + 1;\n        (**(code **)puVar1)(*(undefined4 *)(iVar3 + iVar4));\n        iVar3 = *(int *)(param_1 + 0x3c);\n        iVar2 = *(int *)(param_1 + 0x40);\n        *(undefined4 *)(iVar3 + iVar4) = 0;\n      } while (iVar5 < iVar2);\n    }\n    (**(code **)puVar1)();\n    *(undefined4 *)(param_1 + 0x3c) = 0;\n    *(undefined4 *)(param_1 + 0x40) = 0;\n  }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (0 < *(int *)(param_1 + 0x40)) {\n      do {\n        iVar4 = iVar5 * 4;\n        iVar5 = iVar5 + 1;\n        (**(code **)puVar1)(*(undefined4 *)(iVar3 + iVar4));\n        iVar3 = *(int *)(param_1 + 0x3c);\n        iVar2 = *(int *)(param_1 + 0x40);\n        *(undefined4 *)(iVar3 + iVar4) = 0;\n      } while (iVar5 < iVar2);\n    }\n    (**(code **)puVar1)();\n    *(undefined4 *)(param_1 + 0x3c) = 0;\n    *(undefined4 *)(param_1 + 0x40) = 0;\n  }" ({ "{") (if_statement "if (0 < *(int *)(param_1 + 0x40)) {\n      do {\n        iVar4 = iVar5 * 4;\n        iVar5 = iVar5 + 1;\n        (**(code **)puVar1)(*(undefined4 *)(iVar3 + iVar4));\n        iVar3 = *(int *)(param_1 + 0x3c);\n        iVar2 = *(int *)(param_1 + 0x40);\n        *(undefined4 *)(iVar3 + iVar4) = 0;\n      } while (iVar5 < iVar2);\n    }" (if "if") (parenthesized_expression "(0 < *(int *)(param_1 + 0x40))" (( "(") (binary_expression "0 < *(int *)(param_1 + 0x40)" (number_literal "0") (< "<") (pointer_expression "*(int *)(param_1 + 0x40)" (* "*") (cast_expression "(int *)(param_1 + 0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")"))))) () ")")) (compound_statement "{\n      do {\n        iVar4 = iVar5 * 4;\n        iVar5 = iVar5 + 1;\n        (**(code **)puVar1)(*(undefined4 *)(iVar3 + iVar4));\n        iVar3 = *(int *)(param_1 + 0x3c);\n        iVar2 = *(int *)(param_1 + 0x40);\n        *(undefined4 *)(iVar3 + iVar4) = 0;\n      } while (iVar5 < iVar2);\n    }" ({ "{") (do_statement "do {\n        iVar4 = iVar5 * 4;\n        iVar5 = iVar5 + 1;\n        (**(code **)puVar1)(*(undefined4 *)(iVar3 + iVar4));\n        iVar3 = *(int *)(param_1 + 0x3c);\n        iVar2 = *(int *)(param_1 + 0x40);\n        *(undefined4 *)(iVar3 + iVar4) = 0;\n      } while (iVar5 < iVar2);" (do "do") (compound_statement "{\n        iVar4 = iVar5 * 4;\n        iVar5 = iVar5 + 1;\n        (**(code **)puVar1)(*(undefined4 *)(iVar3 + iVar4));\n        iVar3 = *(int *)(param_1 + 0x3c);\n        iVar2 = *(int *)(param_1 + 0x40);\n        *(undefined4 *)(iVar3 + iVar4) = 0;\n      }" ({ "{") (expression_statement "iVar4 = iVar5 * 4;" (assignment_expression "iVar4 = iVar5 * 4" (identifier "iVar4") (= "=") (binary_expression "iVar5 * 4" (identifier "iVar5") (* "*") (number_literal "4"))) (; ";")) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "(**(code **)puVar1)(*(undefined4 *)(iVar3 + iVar4));" (call_expression "(**(code **)puVar1)(*(undefined4 *)(iVar3 + iVar4))" (parenthesized_expression "(**(code **)puVar1)" (( "(") (pointer_expression "**(code **)puVar1" (* "*") (pointer_expression "*(code **)puVar1" (* "*") (cast_expression "(code **)puVar1" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar1")))) () ")")) (argument_list "(*(undefined4 *)(iVar3 + iVar4))" (( "(") (pointer_expression "*(undefined4 *)(iVar3 + iVar4)" (* "*") (cast_expression "(undefined4 *)(iVar3 + iVar4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + iVar4)" (( "(") (binary_expression "iVar3 + iVar4" (identifier "iVar3") (+ "+") (identifier "iVar4")) () ")")))) () ")"))) (; ";")) (expression_statement "iVar3 = *(int *)(param_1 + 0x3c);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x3c)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0x3c)" (* "*") (cast_expression "(int *)(param_1 + 0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")"))))) (; ";")) (expression_statement "iVar2 = *(int *)(param_1 + 0x40);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x40)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_1 + 0x40)" (* "*") (cast_expression "(int *)(param_1 + 0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(iVar3 + iVar4) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + iVar4) = 0" (pointer_expression "*(undefined4 *)(iVar3 + iVar4)" (* "*") (cast_expression "(undefined4 *)(iVar3 + iVar4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + iVar4)" (( "(") (binary_expression "iVar3 + iVar4" (identifier "iVar3") (+ "+") (identifier "iVar4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar5 < iVar2)" (( "(") (binary_expression "iVar5 < iVar2" (identifier "iVar5") (< "<") (identifier "iVar2")) () ")")) (; ";")) (} "}"))) (expression_statement "(**(code **)puVar1)();" (call_expression "(**(code **)puVar1)()" (parenthesized_expression "(**(code **)puVar1)" (( "(") (pointer_expression "**(code **)puVar1" (* "*") (pointer_expression "*(code **)puVar1" (* "*") (cast_expression "(code **)puVar1" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar1")))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x3c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x3c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x40) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x40) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x40)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "(**(code **)puVar1)(*(undefined4 *)(param_1 + 0x48));" (call_expression "(**(code **)puVar1)(*(undefined4 *)(param_1 + 0x48))" (parenthesized_expression "(**(code **)puVar1)" (( "(") (pointer_expression "**(code **)puVar1" (* "*") (pointer_expression "*(code **)puVar1" (* "*") (cast_expression "(code **)puVar1" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar1")))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 0x48))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x48)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x48)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")")))) () ")"))) (; ";")) (expression_statement "pcVar6 = *(code **)puVar1;" (assignment_expression "pcVar6 = *(code **)puVar1" (identifier "pcVar6") (= "=") (pointer_expression "*(code **)puVar1" (* "*") (cast_expression "(code **)puVar1" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar1")))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x48) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x48) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x48)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x48)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "(*pcVar6)(*(undefined4 *)(param_1 + 0x90));" (call_expression "(*pcVar6)(*(undefined4 *)(param_1 + 0x90))" (parenthesized_expression "(*pcVar6)" (( "(") (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) () ")")) (argument_list "(*(undefined4 *)(param_1 + 0x90))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x90)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x90)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x90)" (( "(") (binary_expression "param_1 + 0x90" (identifier "param_1") (+ "+") (number_literal "0x90")) () ")")))) () ")"))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x90) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x90) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x90)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x90)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x90)" (( "(") (binary_expression "param_1 + 0x90" (identifier "param_1") (+ "+") (number_literal "0x90")) () ")")))) (= "=") (number_literal "0")) (; ";")) (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: (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: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))))) (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: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) right: (number_literal)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) arguments: (argument_list))) (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: (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: (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) arguments: (argument_list (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) (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: (number_literal))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (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: (number_literal))) (return_statement))))

void MASKED(int param_1)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  code *pcVar6;
  
  puVar1 = PTR_PTR_free_000a6144;
  iVar3 = *(int *)(param_1 + 0x3c);
  iVar5 = 0;
  if (iVar3 != 0) {
    if (0 < *(int *)(param_1 + 0x40)) {
      do {
        iVar4 = iVar5 * 4;
        iVar5 = iVar5 + 1;
        (**(code **)puVar1)(*(undefined4 *)(iVar3 + iVar4));
        iVar3 = *(int *)(param_1 + 0x3c);
        iVar2 = *(int *)(param_1 + 0x40);
        *(undefined4 *)(iVar3 + iVar4) = 0;
      } while (iVar5 < iVar2);
    }
    (**(code **)puVar1)();
    *(undefined4 *)(param_1 + 0x3c) = 0;
    *(undefined4 *)(param_1 + 0x40) = 0;
  }
  (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x48));
  pcVar6 = *(code **)puVar1;
  *(undefined4 *)(param_1 + 0x48) = 0;
  (*pcVar6)(*(undefined4 *)(param_1 + 0x90));
  *(undefined4 *)(param_1 + 0x90) = 0;
  return;
}

