
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void quotearg_free(void)

{
  undefined *puVar1;
  int iVar2;
  undefined4 *puVar3;
  undefined *puVar4;
  
  puVar4 = *(undefined **)(PTR_DAT_00031138 + 0x10f0);
  iVar2 = *(int *)(PTR_DAT_00031138 + 0x10e0);
  if (1 < iVar2) {
    puVar3 = (undefined4 *)(puVar4 + 0xc);
    do {
      (*(code *)PTR_free_0003134c)(*puVar3);
      puVar3 = puVar3 + 2;
    } while (puVar3 != (undefined4 *)(puVar4 + iVar2 * 8 + 4));
  }
  if (*(undefined **)(puVar4 + 4) != PTR_DAT_00031138 + 0x1420) {
    (*(code *)PTR_free_0003134c)();
    puVar1 = PTR_DAT_00031138;
    *(undefined4 *)(PTR_DAT_00031138 + 0x10f4) = 0x100;
    *(undefined **)(puVar1 + 0x10f8) = PTR_DAT_00031138 + 0x1420;
  }
  if (puVar4 != PTR_DAT_00031138 + 0x10f4) {
    (*(code *)PTR_free_0003134c)(puVar4);
    *(undefined **)(PTR_DAT_00031138 + 0x10f0) = PTR_DAT_00031138 + 0x10f4;
  }
  *(undefined4 *)(PTR_DAT_00031138 + 0x10e0) = 1;
  return;
}



void FUN_00019428(void)

{
  undefined *puVar1;
  int iVar2;
  undefined4 *puVar3;
  undefined *puVar4;
  
  puVar4 = *(undefined **)(PTR_DAT_00031138 + 0x10f0);
  iVar2 = *(int *)(PTR_DAT_00031138 + 0x10e0);
  if (1 < iVar2) {
    puVar3 = (undefined4 *)(puVar4 + 0xc);
    do {
      (*(code *)PTR_free_0003134c)(*puVar3);
      puVar3 = puVar3 + 2;
    } while (puVar3 != (undefined4 *)(puVar4 + iVar2 * 8 + 4));
  }
  if (*(undefined **)(puVar4 + 4) != PTR_DAT_00031138 + 0x1420) {
    (*(code *)PTR_free_0003134c)();
    puVar1 = PTR_DAT_00031138;
    *(undefined4 *)(PTR_DAT_00031138 + 0x10f4) = 0x100;
    *(undefined **)(puVar1 + 0x10f8) = PTR_DAT_00031138 + 0x1420;
  }
  if (puVar4 != PTR_DAT_00031138 + 0x10f4) {
    (*(code *)PTR_free_0003134c)(puVar4);
    *(undefined **)(PTR_DAT_00031138 + 0x10f0) = PTR_DAT_00031138 + 0x10f4;
  }
  *(undefined4 *)(PTR_DAT_00031138 + 0x10e0) = 1;
  return;
}


lui gp,0x2
addiu gp,gp,-0x318
addu gp,gp,t9
addiu sp,sp,-0x28
sw ra,0x24(sp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
sw s0,0x18(sp)
sw gp,0x10(sp)
lw v0,-0x7fd8(gp)
lw s2,0x10f0(v0)
lw v0,-0x7fd8(gp)
lw v0,0x10e0(v0)
slti v1,v0,0x2
bne v1,zero,0x00019494
_sll v0,v0,0x3
addiu s0,s2,0xc
addiu s1,s2,0x4
addu s1,s1,v0
lw a0,0x0(s0)
lw t9,-0x7dc4(gp)
jalr t9
_nop
lw gp,0x10(sp)
addiu s0,s0,0x8
bne s0,s1,0x00019474
_nop
lw a0,0x4(s2)
lw v0,-0x7fd8(gp)
addiu v0,v0,0x1420
beq a0,v0,0x000194d0
_lw t9,-0x7dc4(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw v0,-0x7fd8(gp)
li v1,0x100
sw v1,0x10f4(v0)
addiu v0,v0,0x10f4
lw v1,-0x7fd8(gp)
addiu v1,v1,0x1420
sw v1,0x4(v0)
lw v0,-0x7fd8(gp)
addiu v0,v0,0x10f4
beq s2,v0,0x00019500
_or a0,s2,zero
lw t9,-0x7dc4(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw v1,-0x7fd8(gp)
lw v0,-0x7fd8(gp)
addiu v0,v0,0x10f4
sw v0,0x10f0(v1)
lw v0,-0x7fd8(gp)
li v1,0x1
sw v1,0x10e0(v0)
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "void FUN_00019428(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined *puVar4;\n  \n  puVar4 = *(undefined **)(PTR_DAT_00031138 + 0x10f0);\n  iVar2 = *(int *)(PTR_DAT_00031138 + 0x10e0);\n  if (1 < iVar2) {\n    puVar3 = (undefined4 *)(puVar4 + 0xc);\n    do {\n      (*(code *)PTR_free_0003134c)(*puVar3);\n      puVar3 = puVar3 + 2;\n    } while (puVar3 != (undefined4 *)(puVar4 + iVar2 * 8 + 4));\n  }\n  if (*(undefined **)(puVar4 + 4) != PTR_DAT_00031138 + 0x1420) {\n    (*(code *)PTR_free_0003134c)();\n    puVar1 = PTR_DAT_00031138;\n    *(undefined4 *)(PTR_DAT_00031138 + 0x10f4) = 0x100;\n    *(undefined **)(puVar1 + 0x10f8) = PTR_DAT_00031138 + 0x1420;\n  }\n  if (puVar4 != PTR_DAT_00031138 + 0x10f4) {\n    (*(code *)PTR_free_0003134c)(puVar4);\n    *(undefined **)(PTR_DAT_00031138 + 0x10f0) = PTR_DAT_00031138 + 0x10f4;\n  }\n  *(undefined4 *)(PTR_DAT_00031138 + 0x10e0) = 1;\n  return;\n}\n\n" (function_definition "void FUN_00019428(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined *puVar4;\n  \n  puVar4 = *(undefined **)(PTR_DAT_00031138 + 0x10f0);\n  iVar2 = *(int *)(PTR_DAT_00031138 + 0x10e0);\n  if (1 < iVar2) {\n    puVar3 = (undefined4 *)(puVar4 + 0xc);\n    do {\n      (*(code *)PTR_free_0003134c)(*puVar3);\n      puVar3 = puVar3 + 2;\n    } while (puVar3 != (undefined4 *)(puVar4 + iVar2 * 8 + 4));\n  }\n  if (*(undefined **)(puVar4 + 4) != PTR_DAT_00031138 + 0x1420) {\n    (*(code *)PTR_free_0003134c)();\n    puVar1 = PTR_DAT_00031138;\n    *(undefined4 *)(PTR_DAT_00031138 + 0x10f4) = 0x100;\n    *(undefined **)(puVar1 + 0x10f8) = PTR_DAT_00031138 + 0x1420;\n  }\n  if (puVar4 != PTR_DAT_00031138 + 0x10f4) {\n    (*(code *)PTR_free_0003134c)(puVar4);\n    *(undefined **)(PTR_DAT_00031138 + 0x10f0) = PTR_DAT_00031138 + 0x10f4;\n  }\n  *(undefined4 *)(PTR_DAT_00031138 + 0x10e0) = 1;\n  return;\n}" primitive_type (function_declarator "FUN_00019428(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined *puVar4;\n  \n  puVar4 = *(undefined **)(PTR_DAT_00031138 + 0x10f0);\n  iVar2 = *(int *)(PTR_DAT_00031138 + 0x10e0);\n  if (1 < iVar2) {\n    puVar3 = (undefined4 *)(puVar4 + 0xc);\n    do {\n      (*(code *)PTR_free_0003134c)(*puVar3);\n      puVar3 = puVar3 + 2;\n    } while (puVar3 != (undefined4 *)(puVar4 + iVar2 * 8 + 4));\n  }\n  if (*(undefined **)(puVar4 + 4) != PTR_DAT_00031138 + 0x1420) {\n    (*(code *)PTR_free_0003134c)();\n    puVar1 = PTR_DAT_00031138;\n    *(undefined4 *)(PTR_DAT_00031138 + 0x10f4) = 0x100;\n    *(undefined **)(puVar1 + 0x10f8) = PTR_DAT_00031138 + 0x1420;\n  }\n  if (puVar4 != PTR_DAT_00031138 + 0x10f4) {\n    (*(code *)PTR_free_0003134c)(puVar4);\n    *(undefined **)(PTR_DAT_00031138 + 0x10f0) = PTR_DAT_00031138 + 0x10f4;\n  }\n  *(undefined4 *)(PTR_DAT_00031138 + 0x10e0) = 1;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (expression_statement "puVar4 = *(undefined **)(PTR_DAT_00031138 + 0x10f0);" (assignment_expression "puVar4 = *(undefined **)(PTR_DAT_00031138 + 0x10f0)" identifier = (pointer_expression "*(undefined **)(PTR_DAT_00031138 + 0x10f0)" * (cast_expression "(undefined **)(PTR_DAT_00031138 + 0x10f0)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_00031138 + 0x10f0)" ( (binary_expression "PTR_DAT_00031138 + 0x10f0" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(PTR_DAT_00031138 + 0x10e0);" (assignment_expression "iVar2 = *(int *)(PTR_DAT_00031138 + 0x10e0)" identifier = (pointer_expression "*(int *)(PTR_DAT_00031138 + 0x10e0)" * (cast_expression "(int *)(PTR_DAT_00031138 + 0x10e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00031138 + 0x10e0)" ( (binary_expression "PTR_DAT_00031138 + 0x10e0" identifier + number_literal) ))))) ;) (if_statement "if (1 < iVar2) {\n    puVar3 = (undefined4 *)(puVar4 + 0xc);\n    do {\n      (*(code *)PTR_free_0003134c)(*puVar3);\n      puVar3 = puVar3 + 2;\n    } while (puVar3 != (undefined4 *)(puVar4 + iVar2 * 8 + 4));\n  }" if (parenthesized_expression "(1 < iVar2)" ( (binary_expression "1 < iVar2" number_literal < identifier) )) (compound_statement "{\n    puVar3 = (undefined4 *)(puVar4 + 0xc);\n    do {\n      (*(code *)PTR_free_0003134c)(*puVar3);\n      puVar3 = puVar3 + 2;\n    } while (puVar3 != (undefined4 *)(puVar4 + iVar2 * 8 + 4));\n  }" { (expression_statement "puVar3 = (undefined4 *)(puVar4 + 0xc);" (assignment_expression "puVar3 = (undefined4 *)(puVar4 + 0xc)" identifier = (cast_expression "(undefined4 *)(puVar4 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xc)" ( (binary_expression "puVar4 + 0xc" identifier + number_literal) )))) ;) (do_statement "do {\n      (*(code *)PTR_free_0003134c)(*puVar3);\n      puVar3 = puVar3 + 2;\n    } while (puVar3 != (undefined4 *)(puVar4 + iVar2 * 8 + 4));" do (compound_statement "{\n      (*(code *)PTR_free_0003134c)(*puVar3);\n      puVar3 = puVar3 + 2;\n    }" { (expression_statement "(*(code *)PTR_free_0003134c)(*puVar3);" (call_expression "(*(code *)PTR_free_0003134c)(*puVar3)" (parenthesized_expression "(*(code *)PTR_free_0003134c)" ( (pointer_expression "*(code *)PTR_free_0003134c" * (cast_expression "(code *)PTR_free_0003134c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar3)" ( (pointer_expression "*puVar3" * identifier) ))) ;) (expression_statement "puVar3 = puVar3 + 2;" (assignment_expression "puVar3 = puVar3 + 2" identifier = (binary_expression "puVar3 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar3 != (undefined4 *)(puVar4 + iVar2 * 8 + 4))" ( (binary_expression "puVar3 != (undefined4 *)(puVar4 + iVar2 * 8 + 4)" identifier != (cast_expression "(undefined4 *)(puVar4 + iVar2 * 8 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + iVar2 * 8 + 4)" ( (binary_expression "puVar4 + iVar2 * 8 + 4" (binary_expression "puVar4 + iVar2 * 8" identifier + (binary_expression "iVar2 * 8" identifier * number_literal)) + number_literal) )))) )) ;) })) (if_statement "if (*(undefined **)(puVar4 + 4) != PTR_DAT_00031138 + 0x1420) {\n    (*(code *)PTR_free_0003134c)();\n    puVar1 = PTR_DAT_00031138;\n    *(undefined4 *)(PTR_DAT_00031138 + 0x10f4) = 0x100;\n    *(undefined **)(puVar1 + 0x10f8) = PTR_DAT_00031138 + 0x1420;\n  }" if (parenthesized_expression "(*(undefined **)(puVar4 + 4) != PTR_DAT_00031138 + 0x1420)" ( (binary_expression "*(undefined **)(puVar4 + 4) != PTR_DAT_00031138 + 0x1420" (pointer_expression "*(undefined **)(puVar4 + 4)" * (cast_expression "(undefined **)(puVar4 + 4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 4)" ( (binary_expression "puVar4 + 4" identifier + number_literal) )))) != (binary_expression "PTR_DAT_00031138 + 0x1420" identifier + number_literal)) )) (compound_statement "{\n    (*(code *)PTR_free_0003134c)();\n    puVar1 = PTR_DAT_00031138;\n    *(undefined4 *)(PTR_DAT_00031138 + 0x10f4) = 0x100;\n    *(undefined **)(puVar1 + 0x10f8) = PTR_DAT_00031138 + 0x1420;\n  }" { (expression_statement "(*(code *)PTR_free_0003134c)();" (call_expression "(*(code *)PTR_free_0003134c)()" (parenthesized_expression "(*(code *)PTR_free_0003134c)" ( (pointer_expression "*(code *)PTR_free_0003134c" * (cast_expression "(code *)PTR_free_0003134c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "puVar1 = PTR_DAT_00031138;" (assignment_expression "puVar1 = PTR_DAT_00031138" identifier = identifier) ;) (expression_statement "*(undefined4 *)(PTR_DAT_00031138 + 0x10f4) = 0x100;" (assignment_expression "*(undefined4 *)(PTR_DAT_00031138 + 0x10f4) = 0x100" (pointer_expression "*(undefined4 *)(PTR_DAT_00031138 + 0x10f4)" * (cast_expression "(undefined4 *)(PTR_DAT_00031138 + 0x10f4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00031138 + 0x10f4)" ( (binary_expression "PTR_DAT_00031138 + 0x10f4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined **)(puVar1 + 0x10f8) = PTR_DAT_00031138 + 0x1420;" (assignment_expression "*(undefined **)(puVar1 + 0x10f8) = PTR_DAT_00031138 + 0x1420" (pointer_expression "*(undefined **)(puVar1 + 0x10f8)" * (cast_expression "(undefined **)(puVar1 + 0x10f8)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar1 + 0x10f8)" ( (binary_expression "puVar1 + 0x10f8" identifier + number_literal) )))) = (binary_expression "PTR_DAT_00031138 + 0x1420" identifier + number_literal)) ;) })) (if_statement "if (puVar4 != PTR_DAT_00031138 + 0x10f4) {\n    (*(code *)PTR_free_0003134c)(puVar4);\n    *(undefined **)(PTR_DAT_00031138 + 0x10f0) = PTR_DAT_00031138 + 0x10f4;\n  }" if (parenthesized_expression "(puVar4 != PTR_DAT_00031138 + 0x10f4)" ( (binary_expression "puVar4 != PTR_DAT_00031138 + 0x10f4" identifier != (binary_expression "PTR_DAT_00031138 + 0x10f4" identifier + number_literal)) )) (compound_statement "{\n    (*(code *)PTR_free_0003134c)(puVar4);\n    *(undefined **)(PTR_DAT_00031138 + 0x10f0) = PTR_DAT_00031138 + 0x10f4;\n  }" { (expression_statement "(*(code *)PTR_free_0003134c)(puVar4);" (call_expression "(*(code *)PTR_free_0003134c)(puVar4)" (parenthesized_expression "(*(code *)PTR_free_0003134c)" ( (pointer_expression "*(code *)PTR_free_0003134c" * (cast_expression "(code *)PTR_free_0003134c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier ))) ;) (expression_statement "*(undefined **)(PTR_DAT_00031138 + 0x10f0) = PTR_DAT_00031138 + 0x10f4;" (assignment_expression "*(undefined **)(PTR_DAT_00031138 + 0x10f0) = PTR_DAT_00031138 + 0x10f4" (pointer_expression "*(undefined **)(PTR_DAT_00031138 + 0x10f0)" * (cast_expression "(undefined **)(PTR_DAT_00031138 + 0x10f0)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_00031138 + 0x10f0)" ( (binary_expression "PTR_DAT_00031138 + 0x10f0" identifier + number_literal) )))) = (binary_expression "PTR_DAT_00031138 + 0x10f4" identifier + number_literal)) ;) })) (expression_statement "*(undefined4 *)(PTR_DAT_00031138 + 0x10e0) = 1;" (assignment_expression "*(undefined4 *)(PTR_DAT_00031138 + 0x10e0) = 1" (pointer_expression "*(undefined4 *)(PTR_DAT_00031138 + 0x10e0)" * (cast_expression "(undefined4 *)(PTR_DAT_00031138 + 0x10e0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00031138 + 0x10e0)" ( (binary_expression "PTR_DAT_00031138 + 0x10e0" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid quotearg_free(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined *puVar4;\n  \n  puVar4 = *(undefined **)(PTR_DAT_00031138 + 0x10f0);\n  iVar2 = *(int *)(PTR_DAT_00031138 + 0x10e0);\n  if (1 < iVar2) {\n    puVar3 = (undefined4 *)(puVar4 + 0xc);\n    do {\n      (*(code *)PTR_free_0003134c)(*puVar3);\n      puVar3 = puVar3 + 2;\n    } while (puVar3 != (undefined4 *)(puVar4 + iVar2 * 8 + 4));\n  }\n  if (*(undefined **)(puVar4 + 4) != PTR_DAT_00031138 + 0x1420) {\n    (*(code *)PTR_free_0003134c)();\n    puVar1 = PTR_DAT_00031138;\n    *(undefined4 *)(PTR_DAT_00031138 + 0x10f4) = 0x100;\n    *(undefined **)(puVar1 + 0x10f8) = PTR_DAT_00031138 + 0x1420;\n  }\n  if (puVar4 != PTR_DAT_00031138 + 0x10f4) {\n    (*(code *)PTR_free_0003134c)(puVar4);\n    *(undefined **)(PTR_DAT_00031138 + 0x10f0) = PTR_DAT_00031138 + 0x10f4;\n  }\n  *(undefined4 *)(PTR_DAT_00031138 + 0x10e0) = 1;\n  return;\n}\n\n" comment (function_definition "void quotearg_free(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined *puVar4;\n  \n  puVar4 = *(undefined **)(PTR_DAT_00031138 + 0x10f0);\n  iVar2 = *(int *)(PTR_DAT_00031138 + 0x10e0);\n  if (1 < iVar2) {\n    puVar3 = (undefined4 *)(puVar4 + 0xc);\n    do {\n      (*(code *)PTR_free_0003134c)(*puVar3);\n      puVar3 = puVar3 + 2;\n    } while (puVar3 != (undefined4 *)(puVar4 + iVar2 * 8 + 4));\n  }\n  if (*(undefined **)(puVar4 + 4) != PTR_DAT_00031138 + 0x1420) {\n    (*(code *)PTR_free_0003134c)();\n    puVar1 = PTR_DAT_00031138;\n    *(undefined4 *)(PTR_DAT_00031138 + 0x10f4) = 0x100;\n    *(undefined **)(puVar1 + 0x10f8) = PTR_DAT_00031138 + 0x1420;\n  }\n  if (puVar4 != PTR_DAT_00031138 + 0x10f4) {\n    (*(code *)PTR_free_0003134c)(puVar4);\n    *(undefined **)(PTR_DAT_00031138 + 0x10f0) = PTR_DAT_00031138 + 0x10f4;\n  }\n  *(undefined4 *)(PTR_DAT_00031138 + 0x10e0) = 1;\n  return;\n}" primitive_type (function_declarator "quotearg_free(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined *puVar4;\n  \n  puVar4 = *(undefined **)(PTR_DAT_00031138 + 0x10f0);\n  iVar2 = *(int *)(PTR_DAT_00031138 + 0x10e0);\n  if (1 < iVar2) {\n    puVar3 = (undefined4 *)(puVar4 + 0xc);\n    do {\n      (*(code *)PTR_free_0003134c)(*puVar3);\n      puVar3 = puVar3 + 2;\n    } while (puVar3 != (undefined4 *)(puVar4 + iVar2 * 8 + 4));\n  }\n  if (*(undefined **)(puVar4 + 4) != PTR_DAT_00031138 + 0x1420) {\n    (*(code *)PTR_free_0003134c)();\n    puVar1 = PTR_DAT_00031138;\n    *(undefined4 *)(PTR_DAT_00031138 + 0x10f4) = 0x100;\n    *(undefined **)(puVar1 + 0x10f8) = PTR_DAT_00031138 + 0x1420;\n  }\n  if (puVar4 != PTR_DAT_00031138 + 0x10f4) {\n    (*(code *)PTR_free_0003134c)(puVar4);\n    *(undefined **)(PTR_DAT_00031138 + 0x10f0) = PTR_DAT_00031138 + 0x10f4;\n  }\n  *(undefined4 *)(PTR_DAT_00031138 + 0x10e0) = 1;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (expression_statement "puVar4 = *(undefined **)(PTR_DAT_00031138 + 0x10f0);" (assignment_expression "puVar4 = *(undefined **)(PTR_DAT_00031138 + 0x10f0)" identifier = (pointer_expression "*(undefined **)(PTR_DAT_00031138 + 0x10f0)" * (cast_expression "(undefined **)(PTR_DAT_00031138 + 0x10f0)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_00031138 + 0x10f0)" ( (binary_expression "PTR_DAT_00031138 + 0x10f0" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(PTR_DAT_00031138 + 0x10e0);" (assignment_expression "iVar2 = *(int *)(PTR_DAT_00031138 + 0x10e0)" identifier = (pointer_expression "*(int *)(PTR_DAT_00031138 + 0x10e0)" * (cast_expression "(int *)(PTR_DAT_00031138 + 0x10e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00031138 + 0x10e0)" ( (binary_expression "PTR_DAT_00031138 + 0x10e0" identifier + number_literal) ))))) ;) (if_statement "if (1 < iVar2) {\n    puVar3 = (undefined4 *)(puVar4 + 0xc);\n    do {\n      (*(code *)PTR_free_0003134c)(*puVar3);\n      puVar3 = puVar3 + 2;\n    } while (puVar3 != (undefined4 *)(puVar4 + iVar2 * 8 + 4));\n  }" if (parenthesized_expression "(1 < iVar2)" ( (binary_expression "1 < iVar2" number_literal < identifier) )) (compound_statement "{\n    puVar3 = (undefined4 *)(puVar4 + 0xc);\n    do {\n      (*(code *)PTR_free_0003134c)(*puVar3);\n      puVar3 = puVar3 + 2;\n    } while (puVar3 != (undefined4 *)(puVar4 + iVar2 * 8 + 4));\n  }" { (expression_statement "puVar3 = (undefined4 *)(puVar4 + 0xc);" (assignment_expression "puVar3 = (undefined4 *)(puVar4 + 0xc)" identifier = (cast_expression "(undefined4 *)(puVar4 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xc)" ( (binary_expression "puVar4 + 0xc" identifier + number_literal) )))) ;) (do_statement "do {\n      (*(code *)PTR_free_0003134c)(*puVar3);\n      puVar3 = puVar3 + 2;\n    } while (puVar3 != (undefined4 *)(puVar4 + iVar2 * 8 + 4));" do (compound_statement "{\n      (*(code *)PTR_free_0003134c)(*puVar3);\n      puVar3 = puVar3 + 2;\n    }" { (expression_statement "(*(code *)PTR_free_0003134c)(*puVar3);" (call_expression "(*(code *)PTR_free_0003134c)(*puVar3)" (parenthesized_expression "(*(code *)PTR_free_0003134c)" ( (pointer_expression "*(code *)PTR_free_0003134c" * (cast_expression "(code *)PTR_free_0003134c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar3)" ( (pointer_expression "*puVar3" * identifier) ))) ;) (expression_statement "puVar3 = puVar3 + 2;" (assignment_expression "puVar3 = puVar3 + 2" identifier = (binary_expression "puVar3 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar3 != (undefined4 *)(puVar4 + iVar2 * 8 + 4))" ( (binary_expression "puVar3 != (undefined4 *)(puVar4 + iVar2 * 8 + 4)" identifier != (cast_expression "(undefined4 *)(puVar4 + iVar2 * 8 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + iVar2 * 8 + 4)" ( (binary_expression "puVar4 + iVar2 * 8 + 4" (binary_expression "puVar4 + iVar2 * 8" identifier + (binary_expression "iVar2 * 8" identifier * number_literal)) + number_literal) )))) )) ;) })) (if_statement "if (*(undefined **)(puVar4 + 4) != PTR_DAT_00031138 + 0x1420) {\n    (*(code *)PTR_free_0003134c)();\n    puVar1 = PTR_DAT_00031138;\n    *(undefined4 *)(PTR_DAT_00031138 + 0x10f4) = 0x100;\n    *(undefined **)(puVar1 + 0x10f8) = PTR_DAT_00031138 + 0x1420;\n  }" if (parenthesized_expression "(*(undefined **)(puVar4 + 4) != PTR_DAT_00031138 + 0x1420)" ( (binary_expression "*(undefined **)(puVar4 + 4) != PTR_DAT_00031138 + 0x1420" (pointer_expression "*(undefined **)(puVar4 + 4)" * (cast_expression "(undefined **)(puVar4 + 4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 4)" ( (binary_expression "puVar4 + 4" identifier + number_literal) )))) != (binary_expression "PTR_DAT_00031138 + 0x1420" identifier + number_literal)) )) (compound_statement "{\n    (*(code *)PTR_free_0003134c)();\n    puVar1 = PTR_DAT_00031138;\n    *(undefined4 *)(PTR_DAT_00031138 + 0x10f4) = 0x100;\n    *(undefined **)(puVar1 + 0x10f8) = PTR_DAT_00031138 + 0x1420;\n  }" { (expression_statement "(*(code *)PTR_free_0003134c)();" (call_expression "(*(code *)PTR_free_0003134c)()" (parenthesized_expression "(*(code *)PTR_free_0003134c)" ( (pointer_expression "*(code *)PTR_free_0003134c" * (cast_expression "(code *)PTR_free_0003134c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "puVar1 = PTR_DAT_00031138;" (assignment_expression "puVar1 = PTR_DAT_00031138" identifier = identifier) ;) (expression_statement "*(undefined4 *)(PTR_DAT_00031138 + 0x10f4) = 0x100;" (assignment_expression "*(undefined4 *)(PTR_DAT_00031138 + 0x10f4) = 0x100" (pointer_expression "*(undefined4 *)(PTR_DAT_00031138 + 0x10f4)" * (cast_expression "(undefined4 *)(PTR_DAT_00031138 + 0x10f4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00031138 + 0x10f4)" ( (binary_expression "PTR_DAT_00031138 + 0x10f4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined **)(puVar1 + 0x10f8) = PTR_DAT_00031138 + 0x1420;" (assignment_expression "*(undefined **)(puVar1 + 0x10f8) = PTR_DAT_00031138 + 0x1420" (pointer_expression "*(undefined **)(puVar1 + 0x10f8)" * (cast_expression "(undefined **)(puVar1 + 0x10f8)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar1 + 0x10f8)" ( (binary_expression "puVar1 + 0x10f8" identifier + number_literal) )))) = (binary_expression "PTR_DAT_00031138 + 0x1420" identifier + number_literal)) ;) })) (if_statement "if (puVar4 != PTR_DAT_00031138 + 0x10f4) {\n    (*(code *)PTR_free_0003134c)(puVar4);\n    *(undefined **)(PTR_DAT_00031138 + 0x10f0) = PTR_DAT_00031138 + 0x10f4;\n  }" if (parenthesized_expression "(puVar4 != PTR_DAT_00031138 + 0x10f4)" ( (binary_expression "puVar4 != PTR_DAT_00031138 + 0x10f4" identifier != (binary_expression "PTR_DAT_00031138 + 0x10f4" identifier + number_literal)) )) (compound_statement "{\n    (*(code *)PTR_free_0003134c)(puVar4);\n    *(undefined **)(PTR_DAT_00031138 + 0x10f0) = PTR_DAT_00031138 + 0x10f4;\n  }" { (expression_statement "(*(code *)PTR_free_0003134c)(puVar4);" (call_expression "(*(code *)PTR_free_0003134c)(puVar4)" (parenthesized_expression "(*(code *)PTR_free_0003134c)" ( (pointer_expression "*(code *)PTR_free_0003134c" * (cast_expression "(code *)PTR_free_0003134c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier ))) ;) (expression_statement "*(undefined **)(PTR_DAT_00031138 + 0x10f0) = PTR_DAT_00031138 + 0x10f4;" (assignment_expression "*(undefined **)(PTR_DAT_00031138 + 0x10f0) = PTR_DAT_00031138 + 0x10f4" (pointer_expression "*(undefined **)(PTR_DAT_00031138 + 0x10f0)" * (cast_expression "(undefined **)(PTR_DAT_00031138 + 0x10f0)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_00031138 + 0x10f0)" ( (binary_expression "PTR_DAT_00031138 + 0x10f0" identifier + number_literal) )))) = (binary_expression "PTR_DAT_00031138 + 0x10f4" identifier + number_literal)) ;) })) (expression_statement "*(undefined4 *)(PTR_DAT_00031138 + 0x10e0) = 1;" (assignment_expression "*(undefined4 *)(PTR_DAT_00031138 + 0x10e0) = 1" (pointer_expression "*(undefined4 *)(PTR_DAT_00031138 + 0x10e0)" * (cast_expression "(undefined4 *)(PTR_DAT_00031138 + 0x10e0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00031138 + 0x10e0)" ( (binary_expression "PTR_DAT_00031138 + 0x10e0" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00019428(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined *puVar4;\n  \n  puVar4 = *(undefined **)(PTR_DAT_00031138 + 0x10f0);\n  iVar2 = *(int *)(PTR_DAT_00031138 + 0x10e0);\n  if (1 < iVar2) {\n    puVar3 = (undefined4 *)(puVar4 + 0xc);\n    do {\n      (*(code *)PTR_free_0003134c)(*puVar3);\n      puVar3 = puVar3 + 2;\n    } while (puVar3 != (undefined4 *)(puVar4 + iVar2 * 8 + 4));\n  }\n  if (*(undefined **)(puVar4 + 4) != PTR_DAT_00031138 + 0x1420) {\n    (*(code *)PTR_free_0003134c)();\n    puVar1 = PTR_DAT_00031138;\n    *(undefined4 *)(PTR_DAT_00031138 + 0x10f4) = 0x100;\n    *(undefined **)(puVar1 + 0x10f8) = PTR_DAT_00031138 + 0x1420;\n  }\n  if (puVar4 != PTR_DAT_00031138 + 0x10f4) {\n    (*(code *)PTR_free_0003134c)(puVar4);\n    *(undefined **)(PTR_DAT_00031138 + 0x10f0) = PTR_DAT_00031138 + 0x10f4;\n  }\n  *(undefined4 *)(PTR_DAT_00031138 + 0x10e0) = 1;\n  return;\n}\n\n" (function_definition "void FUN_00019428(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined *puVar4;\n  \n  puVar4 = *(undefined **)(PTR_DAT_00031138 + 0x10f0);\n  iVar2 = *(int *)(PTR_DAT_00031138 + 0x10e0);\n  if (1 < iVar2) {\n    puVar3 = (undefined4 *)(puVar4 + 0xc);\n    do {\n      (*(code *)PTR_free_0003134c)(*puVar3);\n      puVar3 = puVar3 + 2;\n    } while (puVar3 != (undefined4 *)(puVar4 + iVar2 * 8 + 4));\n  }\n  if (*(undefined **)(puVar4 + 4) != PTR_DAT_00031138 + 0x1420) {\n    (*(code *)PTR_free_0003134c)();\n    puVar1 = PTR_DAT_00031138;\n    *(undefined4 *)(PTR_DAT_00031138 + 0x10f4) = 0x100;\n    *(undefined **)(puVar1 + 0x10f8) = PTR_DAT_00031138 + 0x1420;\n  }\n  if (puVar4 != PTR_DAT_00031138 + 0x10f4) {\n    (*(code *)PTR_free_0003134c)(puVar4);\n    *(undefined **)(PTR_DAT_00031138 + 0x10f0) = PTR_DAT_00031138 + 0x10f4;\n  }\n  *(undefined4 *)(PTR_DAT_00031138 + 0x10e0) = 1;\n  return;\n}" primitive_type (function_declarator "FUN_00019428(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined *puVar4;\n  \n  puVar4 = *(undefined **)(PTR_DAT_00031138 + 0x10f0);\n  iVar2 = *(int *)(PTR_DAT_00031138 + 0x10e0);\n  if (1 < iVar2) {\n    puVar3 = (undefined4 *)(puVar4 + 0xc);\n    do {\n      (*(code *)PTR_free_0003134c)(*puVar3);\n      puVar3 = puVar3 + 2;\n    } while (puVar3 != (undefined4 *)(puVar4 + iVar2 * 8 + 4));\n  }\n  if (*(undefined **)(puVar4 + 4) != PTR_DAT_00031138 + 0x1420) {\n    (*(code *)PTR_free_0003134c)();\n    puVar1 = PTR_DAT_00031138;\n    *(undefined4 *)(PTR_DAT_00031138 + 0x10f4) = 0x100;\n    *(undefined **)(puVar1 + 0x10f8) = PTR_DAT_00031138 + 0x1420;\n  }\n  if (puVar4 != PTR_DAT_00031138 + 0x10f4) {\n    (*(code *)PTR_free_0003134c)(puVar4);\n    *(undefined **)(PTR_DAT_00031138 + 0x10f0) = PTR_DAT_00031138 + 0x10f4;\n  }\n  *(undefined4 *)(PTR_DAT_00031138 + 0x10e0) = 1;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (expression_statement "puVar4 = *(undefined **)(PTR_DAT_00031138 + 0x10f0);" (assignment_expression "puVar4 = *(undefined **)(PTR_DAT_00031138 + 0x10f0)" identifier = (pointer_expression "*(undefined **)(PTR_DAT_00031138 + 0x10f0)" * (cast_expression "(undefined **)(PTR_DAT_00031138 + 0x10f0)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_00031138 + 0x10f0)" ( (binary_expression "PTR_DAT_00031138 + 0x10f0" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(PTR_DAT_00031138 + 0x10e0);" (assignment_expression "iVar2 = *(int *)(PTR_DAT_00031138 + 0x10e0)" identifier = (pointer_expression "*(int *)(PTR_DAT_00031138 + 0x10e0)" * (cast_expression "(int *)(PTR_DAT_00031138 + 0x10e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00031138 + 0x10e0)" ( (binary_expression "PTR_DAT_00031138 + 0x10e0" identifier + number_literal) ))))) ;) (if_statement "if (1 < iVar2) {\n    puVar3 = (undefined4 *)(puVar4 + 0xc);\n    do {\n      (*(code *)PTR_free_0003134c)(*puVar3);\n      puVar3 = puVar3 + 2;\n    } while (puVar3 != (undefined4 *)(puVar4 + iVar2 * 8 + 4));\n  }" if (parenthesized_expression "(1 < iVar2)" ( (binary_expression "1 < iVar2" number_literal < identifier) )) (compound_statement "{\n    puVar3 = (undefined4 *)(puVar4 + 0xc);\n    do {\n      (*(code *)PTR_free_0003134c)(*puVar3);\n      puVar3 = puVar3 + 2;\n    } while (puVar3 != (undefined4 *)(puVar4 + iVar2 * 8 + 4));\n  }" { (expression_statement "puVar3 = (undefined4 *)(puVar4 + 0xc);" (assignment_expression "puVar3 = (undefined4 *)(puVar4 + 0xc)" identifier = (cast_expression "(undefined4 *)(puVar4 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xc)" ( (binary_expression "puVar4 + 0xc" identifier + number_literal) )))) ;) (do_statement "do {\n      (*(code *)PTR_free_0003134c)(*puVar3);\n      puVar3 = puVar3 + 2;\n    } while (puVar3 != (undefined4 *)(puVar4 + iVar2 * 8 + 4));" do (compound_statement "{\n      (*(code *)PTR_free_0003134c)(*puVar3);\n      puVar3 = puVar3 + 2;\n    }" { (expression_statement "(*(code *)PTR_free_0003134c)(*puVar3);" (call_expression "(*(code *)PTR_free_0003134c)(*puVar3)" (parenthesized_expression "(*(code *)PTR_free_0003134c)" ( (pointer_expression "*(code *)PTR_free_0003134c" * (cast_expression "(code *)PTR_free_0003134c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar3)" ( (pointer_expression "*puVar3" * identifier) ))) ;) (expression_statement "puVar3 = puVar3 + 2;" (assignment_expression "puVar3 = puVar3 + 2" identifier = (binary_expression "puVar3 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar3 != (undefined4 *)(puVar4 + iVar2 * 8 + 4))" ( (binary_expression "puVar3 != (undefined4 *)(puVar4 + iVar2 * 8 + 4)" identifier != (cast_expression "(undefined4 *)(puVar4 + iVar2 * 8 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + iVar2 * 8 + 4)" ( (binary_expression "puVar4 + iVar2 * 8 + 4" (binary_expression "puVar4 + iVar2 * 8" identifier + (binary_expression "iVar2 * 8" identifier * number_literal)) + number_literal) )))) )) ;) })) (if_statement "if (*(undefined **)(puVar4 + 4) != PTR_DAT_00031138 + 0x1420) {\n    (*(code *)PTR_free_0003134c)();\n    puVar1 = PTR_DAT_00031138;\n    *(undefined4 *)(PTR_DAT_00031138 + 0x10f4) = 0x100;\n    *(undefined **)(puVar1 + 0x10f8) = PTR_DAT_00031138 + 0x1420;\n  }" if (parenthesized_expression "(*(undefined **)(puVar4 + 4) != PTR_DAT_00031138 + 0x1420)" ( (binary_expression "*(undefined **)(puVar4 + 4) != PTR_DAT_00031138 + 0x1420" (pointer_expression "*(undefined **)(puVar4 + 4)" * (cast_expression "(undefined **)(puVar4 + 4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 4)" ( (binary_expression "puVar4 + 4" identifier + number_literal) )))) != (binary_expression "PTR_DAT_00031138 + 0x1420" identifier + number_literal)) )) (compound_statement "{\n    (*(code *)PTR_free_0003134c)();\n    puVar1 = PTR_DAT_00031138;\n    *(undefined4 *)(PTR_DAT_00031138 + 0x10f4) = 0x100;\n    *(undefined **)(puVar1 + 0x10f8) = PTR_DAT_00031138 + 0x1420;\n  }" { (expression_statement "(*(code *)PTR_free_0003134c)();" (call_expression "(*(code *)PTR_free_0003134c)()" (parenthesized_expression "(*(code *)PTR_free_0003134c)" ( (pointer_expression "*(code *)PTR_free_0003134c" * (cast_expression "(code *)PTR_free_0003134c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "puVar1 = PTR_DAT_00031138;" (assignment_expression "puVar1 = PTR_DAT_00031138" identifier = identifier) ;) (expression_statement "*(undefined4 *)(PTR_DAT_00031138 + 0x10f4) = 0x100;" (assignment_expression "*(undefined4 *)(PTR_DAT_00031138 + 0x10f4) = 0x100" (pointer_expression "*(undefined4 *)(PTR_DAT_00031138 + 0x10f4)" * (cast_expression "(undefined4 *)(PTR_DAT_00031138 + 0x10f4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00031138 + 0x10f4)" ( (binary_expression "PTR_DAT_00031138 + 0x10f4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined **)(puVar1 + 0x10f8) = PTR_DAT_00031138 + 0x1420;" (assignment_expression "*(undefined **)(puVar1 + 0x10f8) = PTR_DAT_00031138 + 0x1420" (pointer_expression "*(undefined **)(puVar1 + 0x10f8)" * (cast_expression "(undefined **)(puVar1 + 0x10f8)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar1 + 0x10f8)" ( (binary_expression "puVar1 + 0x10f8" identifier + number_literal) )))) = (binary_expression "PTR_DAT_00031138 + 0x1420" identifier + number_literal)) ;) })) (if_statement "if (puVar4 != PTR_DAT_00031138 + 0x10f4) {\n    (*(code *)PTR_free_0003134c)(puVar4);\n    *(undefined **)(PTR_DAT_00031138 + 0x10f0) = PTR_DAT_00031138 + 0x10f4;\n  }" if (parenthesized_expression "(puVar4 != PTR_DAT_00031138 + 0x10f4)" ( (binary_expression "puVar4 != PTR_DAT_00031138 + 0x10f4" identifier != (binary_expression "PTR_DAT_00031138 + 0x10f4" identifier + number_literal)) )) (compound_statement "{\n    (*(code *)PTR_free_0003134c)(puVar4);\n    *(undefined **)(PTR_DAT_00031138 + 0x10f0) = PTR_DAT_00031138 + 0x10f4;\n  }" { (expression_statement "(*(code *)PTR_free_0003134c)(puVar4);" (call_expression "(*(code *)PTR_free_0003134c)(puVar4)" (parenthesized_expression "(*(code *)PTR_free_0003134c)" ( (pointer_expression "*(code *)PTR_free_0003134c" * (cast_expression "(code *)PTR_free_0003134c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier ))) ;) (expression_statement "*(undefined **)(PTR_DAT_00031138 + 0x10f0) = PTR_DAT_00031138 + 0x10f4;" (assignment_expression "*(undefined **)(PTR_DAT_00031138 + 0x10f0) = PTR_DAT_00031138 + 0x10f4" (pointer_expression "*(undefined **)(PTR_DAT_00031138 + 0x10f0)" * (cast_expression "(undefined **)(PTR_DAT_00031138 + 0x10f0)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_00031138 + 0x10f0)" ( (binary_expression "PTR_DAT_00031138 + 0x10f0" identifier + number_literal) )))) = (binary_expression "PTR_DAT_00031138 + 0x10f4" identifier + number_literal)) ;) })) (expression_statement "*(undefined4 *)(PTR_DAT_00031138 + 0x10e0) = 1;" (assignment_expression "*(undefined4 *)(PTR_DAT_00031138 + 0x10e0) = 1" (pointer_expression "*(undefined4 *)(PTR_DAT_00031138 + 0x10e0)" * (cast_expression "(undefined4 *)(PTR_DAT_00031138 + 0x10e0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00031138 + 0x10e0)" ( (binary_expression "PTR_DAT_00031138 + 0x10e0" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (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 IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (do_statement do (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) )))) )) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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 * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (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_00019428(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined *puVar4;\n  \n  puVar4 = *(undefined **)(PTR_DAT_00031138 + 0x10f0);\n  iVar2 = *(int *)(PTR_DAT_00031138 + 0x10e0);\n  if (1 < iVar2) {\n    puVar3 = (undefined4 *)(puVar4 + 0xc);\n    do {\n      (*(code *)PTR_free_0003134c)(*puVar3);\n      puVar3 = puVar3 + 2;\n    } while (puVar3 != (undefined4 *)(puVar4 + iVar2 * 8 + 4));\n  }\n  if (*(undefined **)(puVar4 + 4) != PTR_DAT_00031138 + 0x1420) {\n    (*(code *)PTR_free_0003134c)();\n    puVar1 = PTR_DAT_00031138;\n    *(undefined4 *)(PTR_DAT_00031138 + 0x10f4) = 0x100;\n    *(undefined **)(puVar1 + 0x10f8) = PTR_DAT_00031138 + 0x1420;\n  }\n  if (puVar4 != PTR_DAT_00031138 + 0x10f4) {\n    (*(code *)PTR_free_0003134c)(puVar4);\n    *(undefined **)(PTR_DAT_00031138 + 0x10f0) = PTR_DAT_00031138 + 0x10f4;\n  }\n  *(undefined4 *)(PTR_DAT_00031138 + 0x10e0) = 1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00019428(void)" (identifier "FUN_00019428") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined *puVar4;\n  \n  puVar4 = *(undefined **)(PTR_DAT_00031138 + 0x10f0);\n  iVar2 = *(int *)(PTR_DAT_00031138 + 0x10e0);\n  if (1 < iVar2) {\n    puVar3 = (undefined4 *)(puVar4 + 0xc);\n    do {\n      (*(code *)PTR_free_0003134c)(*puVar3);\n      puVar3 = puVar3 + 2;\n    } while (puVar3 != (undefined4 *)(puVar4 + iVar2 * 8 + 4));\n  }\n  if (*(undefined **)(puVar4 + 4) != PTR_DAT_00031138 + 0x1420) {\n    (*(code *)PTR_free_0003134c)();\n    puVar1 = PTR_DAT_00031138;\n    *(undefined4 *)(PTR_DAT_00031138 + 0x10f4) = 0x100;\n    *(undefined **)(puVar1 + 0x10f8) = PTR_DAT_00031138 + 0x1420;\n  }\n  if (puVar4 != PTR_DAT_00031138 + 0x10f4) {\n    (*(code *)PTR_free_0003134c)(puVar4);\n    *(undefined **)(PTR_DAT_00031138 + 0x10f0) = PTR_DAT_00031138 + 0x10f4;\n  }\n  *(undefined4 *)(PTR_DAT_00031138 + 0x10e0) = 1;\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined *puVar4;" (type_identifier "undefined") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (expression_statement "puVar4 = *(undefined **)(PTR_DAT_00031138 + 0x10f0);" (assignment_expression "puVar4 = *(undefined **)(PTR_DAT_00031138 + 0x10f0)" (identifier "puVar4") (= "=") (pointer_expression "*(undefined **)(PTR_DAT_00031138 + 0x10f0)" (* "*") (cast_expression "(undefined **)(PTR_DAT_00031138 + 0x10f0)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_DAT_00031138 + 0x10f0)" (( "(") (binary_expression "PTR_DAT_00031138 + 0x10f0" (identifier "PTR_DAT_00031138") (+ "+") (number_literal "0x10f0")) () ")"))))) (; ";")) (expression_statement "iVar2 = *(int *)(PTR_DAT_00031138 + 0x10e0);" (assignment_expression "iVar2 = *(int *)(PTR_DAT_00031138 + 0x10e0)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(PTR_DAT_00031138 + 0x10e0)" (* "*") (cast_expression "(int *)(PTR_DAT_00031138 + 0x10e0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00031138 + 0x10e0)" (( "(") (binary_expression "PTR_DAT_00031138 + 0x10e0" (identifier "PTR_DAT_00031138") (+ "+") (number_literal "0x10e0")) () ")"))))) (; ";")) (if_statement "if (1 < iVar2) {\n    puVar3 = (undefined4 *)(puVar4 + 0xc);\n    do {\n      (*(code *)PTR_free_0003134c)(*puVar3);\n      puVar3 = puVar3 + 2;\n    } while (puVar3 != (undefined4 *)(puVar4 + iVar2 * 8 + 4));\n  }" (if "if") (parenthesized_expression "(1 < iVar2)" (( "(") (binary_expression "1 < iVar2" (number_literal "1") (< "<") (identifier "iVar2")) () ")")) (compound_statement "{\n    puVar3 = (undefined4 *)(puVar4 + 0xc);\n    do {\n      (*(code *)PTR_free_0003134c)(*puVar3);\n      puVar3 = puVar3 + 2;\n    } while (puVar3 != (undefined4 *)(puVar4 + iVar2 * 8 + 4));\n  }" ({ "{") (expression_statement "puVar3 = (undefined4 *)(puVar4 + 0xc);" (assignment_expression "puVar3 = (undefined4 *)(puVar4 + 0xc)" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)(puVar4 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 0xc)" (( "(") (binary_expression "puVar4 + 0xc" (identifier "puVar4") (+ "+") (number_literal "0xc")) () ")")))) (; ";")) (do_statement "do {\n      (*(code *)PTR_free_0003134c)(*puVar3);\n      puVar3 = puVar3 + 2;\n    } while (puVar3 != (undefined4 *)(puVar4 + iVar2 * 8 + 4));" (do "do") (compound_statement "{\n      (*(code *)PTR_free_0003134c)(*puVar3);\n      puVar3 = puVar3 + 2;\n    }" ({ "{") (expression_statement "(*(code *)PTR_free_0003134c)(*puVar3);" (call_expression "(*(code *)PTR_free_0003134c)(*puVar3)" (parenthesized_expression "(*(code *)PTR_free_0003134c)" (( "(") (pointer_expression "*(code *)PTR_free_0003134c" (* "*") (cast_expression "(code *)PTR_free_0003134c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0003134c"))) () ")")) (argument_list "(*puVar3)" (( "(") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) () ")"))) (; ";")) (expression_statement "puVar3 = puVar3 + 2;" (assignment_expression "puVar3 = puVar3 + 2" (identifier "puVar3") (= "=") (binary_expression "puVar3 + 2" (identifier "puVar3") (+ "+") (number_literal "2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar3 != (undefined4 *)(puVar4 + iVar2 * 8 + 4))" (( "(") (binary_expression "puVar3 != (undefined4 *)(puVar4 + iVar2 * 8 + 4)" (identifier "puVar3") (!= "!=") (cast_expression "(undefined4 *)(puVar4 + iVar2 * 8 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + iVar2 * 8 + 4)" (( "(") (binary_expression "puVar4 + iVar2 * 8 + 4" (binary_expression "puVar4 + iVar2 * 8" (identifier "puVar4") (+ "+") (binary_expression "iVar2 * 8" (identifier "iVar2") (* "*") (number_literal "8"))) (+ "+") (number_literal "4")) () ")")))) () ")")) (; ";")) (} "}"))) (if_statement "if (*(undefined **)(puVar4 + 4) != PTR_DAT_00031138 + 0x1420) {\n    (*(code *)PTR_free_0003134c)();\n    puVar1 = PTR_DAT_00031138;\n    *(undefined4 *)(PTR_DAT_00031138 + 0x10f4) = 0x100;\n    *(undefined **)(puVar1 + 0x10f8) = PTR_DAT_00031138 + 0x1420;\n  }" (if "if") (parenthesized_expression "(*(undefined **)(puVar4 + 4) != PTR_DAT_00031138 + 0x1420)" (( "(") (binary_expression "*(undefined **)(puVar4 + 4) != PTR_DAT_00031138 + 0x1420" (pointer_expression "*(undefined **)(puVar4 + 4)" (* "*") (cast_expression "(undefined **)(puVar4 + 4)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + 4)" (( "(") (binary_expression "puVar4 + 4" (identifier "puVar4") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (binary_expression "PTR_DAT_00031138 + 0x1420" (identifier "PTR_DAT_00031138") (+ "+") (number_literal "0x1420"))) () ")")) (compound_statement "{\n    (*(code *)PTR_free_0003134c)();\n    puVar1 = PTR_DAT_00031138;\n    *(undefined4 *)(PTR_DAT_00031138 + 0x10f4) = 0x100;\n    *(undefined **)(puVar1 + 0x10f8) = PTR_DAT_00031138 + 0x1420;\n  }" ({ "{") (expression_statement "(*(code *)PTR_free_0003134c)();" (call_expression "(*(code *)PTR_free_0003134c)()" (parenthesized_expression "(*(code *)PTR_free_0003134c)" (( "(") (pointer_expression "*(code *)PTR_free_0003134c" (* "*") (cast_expression "(code *)PTR_free_0003134c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0003134c"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar1 = PTR_DAT_00031138;" (assignment_expression "puVar1 = PTR_DAT_00031138" (identifier "puVar1") (= "=") (identifier "PTR_DAT_00031138")) (; ";")) (expression_statement "*(undefined4 *)(PTR_DAT_00031138 + 0x10f4) = 0x100;" (assignment_expression "*(undefined4 *)(PTR_DAT_00031138 + 0x10f4) = 0x100" (pointer_expression "*(undefined4 *)(PTR_DAT_00031138 + 0x10f4)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_00031138 + 0x10f4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00031138 + 0x10f4)" (( "(") (binary_expression "PTR_DAT_00031138 + 0x10f4" (identifier "PTR_DAT_00031138") (+ "+") (number_literal "0x10f4")) () ")")))) (= "=") (number_literal "0x100")) (; ";")) (expression_statement "*(undefined **)(puVar1 + 0x10f8) = PTR_DAT_00031138 + 0x1420;" (assignment_expression "*(undefined **)(puVar1 + 0x10f8) = PTR_DAT_00031138 + 0x1420" (pointer_expression "*(undefined **)(puVar1 + 0x10f8)" (* "*") (cast_expression "(undefined **)(puVar1 + 0x10f8)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar1 + 0x10f8)" (( "(") (binary_expression "puVar1 + 0x10f8" (identifier "puVar1") (+ "+") (number_literal "0x10f8")) () ")")))) (= "=") (binary_expression "PTR_DAT_00031138 + 0x1420" (identifier "PTR_DAT_00031138") (+ "+") (number_literal "0x1420"))) (; ";")) (} "}"))) (if_statement "if (puVar4 != PTR_DAT_00031138 + 0x10f4) {\n    (*(code *)PTR_free_0003134c)(puVar4);\n    *(undefined **)(PTR_DAT_00031138 + 0x10f0) = PTR_DAT_00031138 + 0x10f4;\n  }" (if "if") (parenthesized_expression "(puVar4 != PTR_DAT_00031138 + 0x10f4)" (( "(") (binary_expression "puVar4 != PTR_DAT_00031138 + 0x10f4" (identifier "puVar4") (!= "!=") (binary_expression "PTR_DAT_00031138 + 0x10f4" (identifier "PTR_DAT_00031138") (+ "+") (number_literal "0x10f4"))) () ")")) (compound_statement "{\n    (*(code *)PTR_free_0003134c)(puVar4);\n    *(undefined **)(PTR_DAT_00031138 + 0x10f0) = PTR_DAT_00031138 + 0x10f4;\n  }" ({ "{") (expression_statement "(*(code *)PTR_free_0003134c)(puVar4);" (call_expression "(*(code *)PTR_free_0003134c)(puVar4)" (parenthesized_expression "(*(code *)PTR_free_0003134c)" (( "(") (pointer_expression "*(code *)PTR_free_0003134c" (* "*") (cast_expression "(code *)PTR_free_0003134c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0003134c"))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")"))) (; ";")) (expression_statement "*(undefined **)(PTR_DAT_00031138 + 0x10f0) = PTR_DAT_00031138 + 0x10f4;" (assignment_expression "*(undefined **)(PTR_DAT_00031138 + 0x10f0) = PTR_DAT_00031138 + 0x10f4" (pointer_expression "*(undefined **)(PTR_DAT_00031138 + 0x10f0)" (* "*") (cast_expression "(undefined **)(PTR_DAT_00031138 + 0x10f0)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_DAT_00031138 + 0x10f0)" (( "(") (binary_expression "PTR_DAT_00031138 + 0x10f0" (identifier "PTR_DAT_00031138") (+ "+") (number_literal "0x10f0")) () ")")))) (= "=") (binary_expression "PTR_DAT_00031138 + 0x10f4" (identifier "PTR_DAT_00031138") (+ "+") (number_literal "0x10f4"))) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(PTR_DAT_00031138 + 0x10e0) = 1;" (assignment_expression "*(undefined4 *)(PTR_DAT_00031138 + 0x10e0) = 1" (pointer_expression "*(undefined4 *)(PTR_DAT_00031138 + 0x10e0)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_00031138 + 0x10e0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00031138 + 0x10e0)" (( "(") (binary_expression "PTR_DAT_00031138 + 0x10e0" (identifier "PTR_DAT_00031138") (+ "+") (number_literal "0x10e0")) () ")")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  type_1 *var_5;
  int var_2;
  type_2 *var_4;
  type_1 *var_3;
  
  var_3 = *(type_1 **)(var_1 + 0x10f0);
  var_2 = *(int *)(var_1 + 0x10e0);
  if (1 < var_2) {
    var_4 = (type_2 *)(var_3 + 0xc);
    do {
      (*(type_3 *)PTR_free_0003134c)(*var_4);
      var_4 = var_4 + 2;
    } while (var_4 != (type_2 *)(var_3 + var_2 * 8 + 4));
  }
  if (*(type_1 **)(var_3 + 4) != var_1 + 0x1420) {
    (*(type_3 *)PTR_free_0003134c)();
    var_5 = var_1;
    *(type_2 *)(var_1 + 0x10f4) = 0x100;
    *(type_1 **)(var_5 + 0x10f8) = var_1 + 0x1420;
  }
  if (var_3 != var_1 + 0x10f4) {
    (*(type_3 *)PTR_free_0003134c)(var_3);
    *(type_1 **)(var_1 + 0x10f0) = var_1 + 0x10f4;
  }
  *(type_2 *)(var_1 + 0x10e0) = 1;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (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: (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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (do_statement body: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (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))))) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (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 (assignment_expression left: (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))))) right: (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (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))))) right: (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(void)

{
  undefined *puVar1;
  int iVar2;
  undefined4 *puVar3;
  undefined *puVar4;
  
  puVar4 = *(undefined **)(PTR_DAT_00031138 + 0x10f0);
  iVar2 = *(int *)(PTR_DAT_00031138 + 0x10e0);
  if (1 < iVar2) {
    puVar3 = (undefined4 *)(puVar4 + 0xc);
    do {
      (*(code *)PTR_free_0003134c)(*puVar3);
      puVar3 = puVar3 + 2;
    } while (puVar3 != (undefined4 *)(puVar4 + iVar2 * 8 + 4));
  }
  if (*(undefined **)(puVar4 + 4) != PTR_DAT_00031138 + 0x1420) {
    (*(code *)PTR_free_0003134c)();
    puVar1 = PTR_DAT_00031138;
    *(undefined4 *)(PTR_DAT_00031138 + 0x10f4) = 0x100;
    *(undefined **)(puVar1 + 0x10f8) = PTR_DAT_00031138 + 0x1420;
  }
  if (puVar4 != PTR_DAT_00031138 + 0x10f4) {
    (*(code *)PTR_free_0003134c)(puVar4);
    *(undefined **)(PTR_DAT_00031138 + 0x10f0) = PTR_DAT_00031138 + 0x10f4;
  }
  *(undefined4 *)(PTR_DAT_00031138 + 0x10e0) = 1;
  return;
}

