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

void free_string_list(void)

{
  int *piVar1;
  undefined *puVar2;
  undefined *puVar3;
  int iVar4;
  int iVar5;
  
  puVar2 = PTR_pushed_string_list_0014489c;
  piVar1 = (int *)*(int *)PTR_pushed_string_list_0014489c;
  while (piVar1 != (int *)0x0) {
    iVar5 = *piVar1;
    if (piVar1[2] != 0) {
      (*(code *)PTR_free_001464fc)();
    }
    puVar3 = PTR_free_001464fc;
    iVar4 = piVar1[3];
    if (iVar4 != 0) {
      *(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd;
    }
    (*(code *)puVar3)(piVar1);
    piVar1 = (int *)iVar5;
  }
  *(undefined4 *)puVar2 = 0;
  return;
}



void FUN_000313f0(void)

{
  int *piVar1;
  undefined *puVar2;
  undefined *puVar3;
  int iVar4;
  int iVar5;
  
  puVar2 = PTR_pushed_string_list_0014489c;
  piVar1 = (int *)*(int *)PTR_pushed_string_list_0014489c;
  while (piVar1 != (int *)0x0) {
    iVar5 = *piVar1;
    if (piVar1[2] != 0) {
      (*(code *)PTR_free_001464fc)();
    }
    puVar3 = PTR_free_001464fc;
    iVar4 = piVar1[3];
    if (iVar4 != 0) {
      *(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd;
    }
    (*(code *)puVar3)(piVar1);
    piVar1 = (int *)iVar5;
  }
  *(undefined4 *)puVar2 = 0;
  return;
}


lui gp,0x12
addiu gp,gp,-0x4eb0
addu gp,gp,t9
addiu sp,sp,-0x30
sw s3,0x28(sp)
sw s0,0x1c(sp)
lw s3,-0x7ca4(gp)
sw gp,0x10(sp)
sw ra,0x2c(sp)
sw s2,0x24(sp)
sw s1,0x20(sp)
lw s0,0x0(s3)
beq s0,zero,0x00031470
_li s2,-0x3
lw a0,0x8(s0)
lw t9,-0x6044(gp)
beq a0,zero,0x00031444
_lw s1,0x0(s0)
jalr t9
_nop
lw gp,0x10(sp)
lw v0,0xc(s0)
or a0,s0,zero
beq v0,zero,0x00031460
_lw t9,-0x6044(gp)
lbu v1,0x8(v0)
and v1,v1,s2
sb v1,0x8(v0)
jalr t9
_or s0,s1,zero
bne s1,zero,0x00031428
_lw gp,0x10(sp)
lw ra,0x2c(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
sw zero,0x0(s3)
lw s3,0x28(sp)
jr ra
_addiu sp,sp,0x30
(translation_unit "void FUN_000313f0(void)\n\n{\n  int *piVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  \n  puVar2 = PTR_pushed_string_list_0014489c;\n  piVar1 = (int *)*(int *)PTR_pushed_string_list_0014489c;\n  while (piVar1 != (int *)0x0) {\n    iVar5 = *piVar1;\n    if (piVar1[2] != 0) {\n      (*(code *)PTR_free_001464fc)();\n    }\n    puVar3 = PTR_free_001464fc;\n    iVar4 = piVar1[3];\n    if (iVar4 != 0) {\n      *(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd;\n    }\n    (*(code *)puVar3)(piVar1);\n    piVar1 = (int *)iVar5;\n  }\n  *(undefined4 *)puVar2 = 0;\n  return;\n}\n\n" (function_definition "void FUN_000313f0(void)\n\n{\n  int *piVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  \n  puVar2 = PTR_pushed_string_list_0014489c;\n  piVar1 = (int *)*(int *)PTR_pushed_string_list_0014489c;\n  while (piVar1 != (int *)0x0) {\n    iVar5 = *piVar1;\n    if (piVar1[2] != 0) {\n      (*(code *)PTR_free_001464fc)();\n    }\n    puVar3 = PTR_free_001464fc;\n    iVar4 = piVar1[3];\n    if (iVar4 != 0) {\n      *(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd;\n    }\n    (*(code *)puVar3)(piVar1);\n    piVar1 = (int *)iVar5;\n  }\n  *(undefined4 *)puVar2 = 0;\n  return;\n}" primitive_type (function_declarator "FUN_000313f0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int *piVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  \n  puVar2 = PTR_pushed_string_list_0014489c;\n  piVar1 = (int *)*(int *)PTR_pushed_string_list_0014489c;\n  while (piVar1 != (int *)0x0) {\n    iVar5 = *piVar1;\n    if (piVar1[2] != 0) {\n      (*(code *)PTR_free_001464fc)();\n    }\n    puVar3 = PTR_free_001464fc;\n    iVar4 = piVar1[3];\n    if (iVar4 != 0) {\n      *(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd;\n    }\n    (*(code *)puVar3)(piVar1);\n    piVar1 = (int *)iVar5;\n  }\n  *(undefined4 *)puVar2 = 0;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (expression_statement "puVar2 = PTR_pushed_string_list_0014489c;" (assignment_expression "puVar2 = PTR_pushed_string_list_0014489c" identifier = identifier) ;) (expression_statement "piVar1 = (int *)*(int *)PTR_pushed_string_list_0014489c;" (assignment_expression "piVar1 = (int *)*(int *)PTR_pushed_string_list_0014489c" identifier = (cast_expression "(int *)*(int *)PTR_pushed_string_list_0014489c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*(int *)PTR_pushed_string_list_0014489c" * (cast_expression "(int *)PTR_pushed_string_list_0014489c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)))) ;) (while_statement "while (piVar1 != (int *)0x0) {\n    iVar5 = *piVar1;\n    if (piVar1[2] != 0) {\n      (*(code *)PTR_free_001464fc)();\n    }\n    puVar3 = PTR_free_001464fc;\n    iVar4 = piVar1[3];\n    if (iVar4 != 0) {\n      *(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd;\n    }\n    (*(code *)puVar3)(piVar1);\n    piVar1 = (int *)iVar5;\n  }" while (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar5 = *piVar1;\n    if (piVar1[2] != 0) {\n      (*(code *)PTR_free_001464fc)();\n    }\n    puVar3 = PTR_free_001464fc;\n    iVar4 = piVar1[3];\n    if (iVar4 != 0) {\n      *(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd;\n    }\n    (*(code *)puVar3)(piVar1);\n    piVar1 = (int *)iVar5;\n  }" { (expression_statement "iVar5 = *piVar1;" (assignment_expression "iVar5 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (if_statement "if (piVar1[2] != 0) {\n      (*(code *)PTR_free_001464fc)();\n    }" if (parenthesized_expression "(piVar1[2] != 0)" ( (binary_expression "piVar1[2] != 0" (subscript_expression "piVar1[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      (*(code *)PTR_free_001464fc)();\n    }" { (expression_statement "(*(code *)PTR_free_001464fc)();" (call_expression "(*(code *)PTR_free_001464fc)()" (parenthesized_expression "(*(code *)PTR_free_001464fc)" ( (pointer_expression "*(code *)PTR_free_001464fc" * (cast_expression "(code *)PTR_free_001464fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "puVar3 = PTR_free_001464fc;" (assignment_expression "puVar3 = PTR_free_001464fc" identifier = identifier) ;) (expression_statement "iVar4 = piVar1[3];" (assignment_expression "iVar4 = piVar1[3]" identifier = (subscript_expression "piVar1[3]" identifier [ number_literal ])) ;) (if_statement "if (iVar4 != 0) {\n      *(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      *(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd;\n    }" { (expression_statement "*(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd;" (assignment_expression "*(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd" (pointer_expression "*(byte *)(iVar4 + 8)" * (cast_expression "(byte *)(iVar4 + 8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) = (binary_expression "*(byte *)(iVar4 + 8) & 0xfd" (pointer_expression "*(byte *)(iVar4 + 8)" * (cast_expression "(byte *)(iVar4 + 8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) & number_literal)) ;) })) (expression_statement "(*(code *)puVar3)(piVar1);" (call_expression "(*(code *)puVar3)(piVar1)" (parenthesized_expression "(*(code *)puVar3)" ( (pointer_expression "*(code *)puVar3" * (cast_expression "(code *)puVar3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar1)" ( identifier ))) ;) (expression_statement "piVar1 = (int *)iVar5;" (assignment_expression "piVar1 = (int *)iVar5" identifier = (cast_expression "(int *)iVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (expression_statement "*(undefined4 *)puVar2 = 0;" (assignment_expression "*(undefined4 *)puVar2 = 0" (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid free_string_list(void)\n\n{\n  int *piVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  \n  puVar2 = PTR_pushed_string_list_0014489c;\n  piVar1 = (int *)*(int *)PTR_pushed_string_list_0014489c;\n  while (piVar1 != (int *)0x0) {\n    iVar5 = *piVar1;\n    if (piVar1[2] != 0) {\n      (*(code *)PTR_free_001464fc)();\n    }\n    puVar3 = PTR_free_001464fc;\n    iVar4 = piVar1[3];\n    if (iVar4 != 0) {\n      *(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd;\n    }\n    (*(code *)puVar3)(piVar1);\n    piVar1 = (int *)iVar5;\n  }\n  *(undefined4 *)puVar2 = 0;\n  return;\n}\n\n" comment (function_definition "void free_string_list(void)\n\n{\n  int *piVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  \n  puVar2 = PTR_pushed_string_list_0014489c;\n  piVar1 = (int *)*(int *)PTR_pushed_string_list_0014489c;\n  while (piVar1 != (int *)0x0) {\n    iVar5 = *piVar1;\n    if (piVar1[2] != 0) {\n      (*(code *)PTR_free_001464fc)();\n    }\n    puVar3 = PTR_free_001464fc;\n    iVar4 = piVar1[3];\n    if (iVar4 != 0) {\n      *(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd;\n    }\n    (*(code *)puVar3)(piVar1);\n    piVar1 = (int *)iVar5;\n  }\n  *(undefined4 *)puVar2 = 0;\n  return;\n}" primitive_type (function_declarator "free_string_list(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int *piVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  \n  puVar2 = PTR_pushed_string_list_0014489c;\n  piVar1 = (int *)*(int *)PTR_pushed_string_list_0014489c;\n  while (piVar1 != (int *)0x0) {\n    iVar5 = *piVar1;\n    if (piVar1[2] != 0) {\n      (*(code *)PTR_free_001464fc)();\n    }\n    puVar3 = PTR_free_001464fc;\n    iVar4 = piVar1[3];\n    if (iVar4 != 0) {\n      *(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd;\n    }\n    (*(code *)puVar3)(piVar1);\n    piVar1 = (int *)iVar5;\n  }\n  *(undefined4 *)puVar2 = 0;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (expression_statement "puVar2 = PTR_pushed_string_list_0014489c;" (assignment_expression "puVar2 = PTR_pushed_string_list_0014489c" identifier = identifier) ;) (expression_statement "piVar1 = (int *)*(int *)PTR_pushed_string_list_0014489c;" (assignment_expression "piVar1 = (int *)*(int *)PTR_pushed_string_list_0014489c" identifier = (cast_expression "(int *)*(int *)PTR_pushed_string_list_0014489c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*(int *)PTR_pushed_string_list_0014489c" * (cast_expression "(int *)PTR_pushed_string_list_0014489c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)))) ;) (while_statement "while (piVar1 != (int *)0x0) {\n    iVar5 = *piVar1;\n    if (piVar1[2] != 0) {\n      (*(code *)PTR_free_001464fc)();\n    }\n    puVar3 = PTR_free_001464fc;\n    iVar4 = piVar1[3];\n    if (iVar4 != 0) {\n      *(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd;\n    }\n    (*(code *)puVar3)(piVar1);\n    piVar1 = (int *)iVar5;\n  }" while (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar5 = *piVar1;\n    if (piVar1[2] != 0) {\n      (*(code *)PTR_free_001464fc)();\n    }\n    puVar3 = PTR_free_001464fc;\n    iVar4 = piVar1[3];\n    if (iVar4 != 0) {\n      *(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd;\n    }\n    (*(code *)puVar3)(piVar1);\n    piVar1 = (int *)iVar5;\n  }" { (expression_statement "iVar5 = *piVar1;" (assignment_expression "iVar5 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (if_statement "if (piVar1[2] != 0) {\n      (*(code *)PTR_free_001464fc)();\n    }" if (parenthesized_expression "(piVar1[2] != 0)" ( (binary_expression "piVar1[2] != 0" (subscript_expression "piVar1[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      (*(code *)PTR_free_001464fc)();\n    }" { (expression_statement "(*(code *)PTR_free_001464fc)();" (call_expression "(*(code *)PTR_free_001464fc)()" (parenthesized_expression "(*(code *)PTR_free_001464fc)" ( (pointer_expression "*(code *)PTR_free_001464fc" * (cast_expression "(code *)PTR_free_001464fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "puVar3 = PTR_free_001464fc;" (assignment_expression "puVar3 = PTR_free_001464fc" identifier = identifier) ;) (expression_statement "iVar4 = piVar1[3];" (assignment_expression "iVar4 = piVar1[3]" identifier = (subscript_expression "piVar1[3]" identifier [ number_literal ])) ;) (if_statement "if (iVar4 != 0) {\n      *(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      *(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd;\n    }" { (expression_statement "*(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd;" (assignment_expression "*(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd" (pointer_expression "*(byte *)(iVar4 + 8)" * (cast_expression "(byte *)(iVar4 + 8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) = (binary_expression "*(byte *)(iVar4 + 8) & 0xfd" (pointer_expression "*(byte *)(iVar4 + 8)" * (cast_expression "(byte *)(iVar4 + 8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) & number_literal)) ;) })) (expression_statement "(*(code *)puVar3)(piVar1);" (call_expression "(*(code *)puVar3)(piVar1)" (parenthesized_expression "(*(code *)puVar3)" ( (pointer_expression "*(code *)puVar3" * (cast_expression "(code *)puVar3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar1)" ( identifier ))) ;) (expression_statement "piVar1 = (int *)iVar5;" (assignment_expression "piVar1 = (int *)iVar5" identifier = (cast_expression "(int *)iVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (expression_statement "*(undefined4 *)puVar2 = 0;" (assignment_expression "*(undefined4 *)puVar2 = 0" (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000313f0(void)\n\n{\n  int *piVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  \n  puVar2 = PTR_pushed_string_list_0014489c;\n  piVar1 = (int *)*(int *)PTR_pushed_string_list_0014489c;\n  while (piVar1 != (int *)0x0) {\n    iVar5 = *piVar1;\n    if (piVar1[2] != 0) {\n      (*(code *)PTR_free_001464fc)();\n    }\n    puVar3 = PTR_free_001464fc;\n    iVar4 = piVar1[3];\n    if (iVar4 != 0) {\n      *(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd;\n    }\n    (*(code *)puVar3)(piVar1);\n    piVar1 = (int *)iVar5;\n  }\n  *(undefined4 *)puVar2 = 0;\n  return;\n}\n\n" (function_definition "void FUN_000313f0(void)\n\n{\n  int *piVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  \n  puVar2 = PTR_pushed_string_list_0014489c;\n  piVar1 = (int *)*(int *)PTR_pushed_string_list_0014489c;\n  while (piVar1 != (int *)0x0) {\n    iVar5 = *piVar1;\n    if (piVar1[2] != 0) {\n      (*(code *)PTR_free_001464fc)();\n    }\n    puVar3 = PTR_free_001464fc;\n    iVar4 = piVar1[3];\n    if (iVar4 != 0) {\n      *(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd;\n    }\n    (*(code *)puVar3)(piVar1);\n    piVar1 = (int *)iVar5;\n  }\n  *(undefined4 *)puVar2 = 0;\n  return;\n}" primitive_type (function_declarator "FUN_000313f0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int *piVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  \n  puVar2 = PTR_pushed_string_list_0014489c;\n  piVar1 = (int *)*(int *)PTR_pushed_string_list_0014489c;\n  while (piVar1 != (int *)0x0) {\n    iVar5 = *piVar1;\n    if (piVar1[2] != 0) {\n      (*(code *)PTR_free_001464fc)();\n    }\n    puVar3 = PTR_free_001464fc;\n    iVar4 = piVar1[3];\n    if (iVar4 != 0) {\n      *(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd;\n    }\n    (*(code *)puVar3)(piVar1);\n    piVar1 = (int *)iVar5;\n  }\n  *(undefined4 *)puVar2 = 0;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (expression_statement "puVar2 = PTR_pushed_string_list_0014489c;" (assignment_expression "puVar2 = PTR_pushed_string_list_0014489c" identifier = identifier) ;) (expression_statement "piVar1 = (int *)*(int *)PTR_pushed_string_list_0014489c;" (assignment_expression "piVar1 = (int *)*(int *)PTR_pushed_string_list_0014489c" identifier = (cast_expression "(int *)*(int *)PTR_pushed_string_list_0014489c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*(int *)PTR_pushed_string_list_0014489c" * (cast_expression "(int *)PTR_pushed_string_list_0014489c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)))) ;) (while_statement "while (piVar1 != (int *)0x0) {\n    iVar5 = *piVar1;\n    if (piVar1[2] != 0) {\n      (*(code *)PTR_free_001464fc)();\n    }\n    puVar3 = PTR_free_001464fc;\n    iVar4 = piVar1[3];\n    if (iVar4 != 0) {\n      *(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd;\n    }\n    (*(code *)puVar3)(piVar1);\n    piVar1 = (int *)iVar5;\n  }" while (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar5 = *piVar1;\n    if (piVar1[2] != 0) {\n      (*(code *)PTR_free_001464fc)();\n    }\n    puVar3 = PTR_free_001464fc;\n    iVar4 = piVar1[3];\n    if (iVar4 != 0) {\n      *(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd;\n    }\n    (*(code *)puVar3)(piVar1);\n    piVar1 = (int *)iVar5;\n  }" { (expression_statement "iVar5 = *piVar1;" (assignment_expression "iVar5 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (if_statement "if (piVar1[2] != 0) {\n      (*(code *)PTR_free_001464fc)();\n    }" if (parenthesized_expression "(piVar1[2] != 0)" ( (binary_expression "piVar1[2] != 0" (subscript_expression "piVar1[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      (*(code *)PTR_free_001464fc)();\n    }" { (expression_statement "(*(code *)PTR_free_001464fc)();" (call_expression "(*(code *)PTR_free_001464fc)()" (parenthesized_expression "(*(code *)PTR_free_001464fc)" ( (pointer_expression "*(code *)PTR_free_001464fc" * (cast_expression "(code *)PTR_free_001464fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "puVar3 = PTR_free_001464fc;" (assignment_expression "puVar3 = PTR_free_001464fc" identifier = identifier) ;) (expression_statement "iVar4 = piVar1[3];" (assignment_expression "iVar4 = piVar1[3]" identifier = (subscript_expression "piVar1[3]" identifier [ number_literal ])) ;) (if_statement "if (iVar4 != 0) {\n      *(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      *(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd;\n    }" { (expression_statement "*(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd;" (assignment_expression "*(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd" (pointer_expression "*(byte *)(iVar4 + 8)" * (cast_expression "(byte *)(iVar4 + 8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) = (binary_expression "*(byte *)(iVar4 + 8) & 0xfd" (pointer_expression "*(byte *)(iVar4 + 8)" * (cast_expression "(byte *)(iVar4 + 8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) & number_literal)) ;) })) (expression_statement "(*(code *)puVar3)(piVar1);" (call_expression "(*(code *)puVar3)(piVar1)" (parenthesized_expression "(*(code *)puVar3)" ( (pointer_expression "*(code *)puVar3" * (cast_expression "(code *)puVar3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar1)" ( identifier ))) ;) (expression_statement "piVar1 = (int *)iVar5;" (assignment_expression "piVar1 = (int *)iVar5" identifier = (cast_expression "(int *)iVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (expression_statement "*(undefined4 *)puVar2 = 0;" (assignment_expression "*(undefined4 *)puVar2 = 0" (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = 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 (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)))) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != 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 IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_000313f0(void)\n\n{\n  int *piVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  \n  puVar2 = PTR_pushed_string_list_0014489c;\n  piVar1 = (int *)*(int *)PTR_pushed_string_list_0014489c;\n  while (piVar1 != (int *)0x0) {\n    iVar5 = *piVar1;\n    if (piVar1[2] != 0) {\n      (*(code *)PTR_free_001464fc)();\n    }\n    puVar3 = PTR_free_001464fc;\n    iVar4 = piVar1[3];\n    if (iVar4 != 0) {\n      *(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd;\n    }\n    (*(code *)puVar3)(piVar1);\n    piVar1 = (int *)iVar5;\n  }\n  *(undefined4 *)puVar2 = 0;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000313f0(void)" (identifier "FUN_000313f0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int *piVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  \n  puVar2 = PTR_pushed_string_list_0014489c;\n  piVar1 = (int *)*(int *)PTR_pushed_string_list_0014489c;\n  while (piVar1 != (int *)0x0) {\n    iVar5 = *piVar1;\n    if (piVar1[2] != 0) {\n      (*(code *)PTR_free_001464fc)();\n    }\n    puVar3 = PTR_free_001464fc;\n    iVar4 = piVar1[3];\n    if (iVar4 != 0) {\n      *(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd;\n    }\n    (*(code *)puVar3)(piVar1);\n    piVar1 = (int *)iVar5;\n  }\n  *(undefined4 *)puVar2 = 0;\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (expression_statement "puVar2 = PTR_pushed_string_list_0014489c;" (assignment_expression "puVar2 = PTR_pushed_string_list_0014489c" (identifier "puVar2") (= "=") (identifier "PTR_pushed_string_list_0014489c")) (; ";")) (expression_statement "piVar1 = (int *)*(int *)PTR_pushed_string_list_0014489c;" (assignment_expression "piVar1 = (int *)*(int *)PTR_pushed_string_list_0014489c" (identifier "piVar1") (= "=") (cast_expression "(int *)*(int *)PTR_pushed_string_list_0014489c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*(int *)PTR_pushed_string_list_0014489c" (* "*") (cast_expression "(int *)PTR_pushed_string_list_0014489c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pushed_string_list_0014489c"))))) (; ";")) (while_statement "while (piVar1 != (int *)0x0) {\n    iVar5 = *piVar1;\n    if (piVar1[2] != 0) {\n      (*(code *)PTR_free_001464fc)();\n    }\n    puVar3 = PTR_free_001464fc;\n    iVar4 = piVar1[3];\n    if (iVar4 != 0) {\n      *(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd;\n    }\n    (*(code *)puVar3)(piVar1);\n    piVar1 = (int *)iVar5;\n  }" (while "while") (parenthesized_expression "(piVar1 != (int *)0x0)" (( "(") (binary_expression "piVar1 != (int *)0x0" (identifier "piVar1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    iVar5 = *piVar1;\n    if (piVar1[2] != 0) {\n      (*(code *)PTR_free_001464fc)();\n    }\n    puVar3 = PTR_free_001464fc;\n    iVar4 = piVar1[3];\n    if (iVar4 != 0) {\n      *(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd;\n    }\n    (*(code *)puVar3)(piVar1);\n    piVar1 = (int *)iVar5;\n  }" ({ "{") (expression_statement "iVar5 = *piVar1;" (assignment_expression "iVar5 = *piVar1" (identifier "iVar5") (= "=") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) (; ";")) (if_statement "if (piVar1[2] != 0) {\n      (*(code *)PTR_free_001464fc)();\n    }" (if "if") (parenthesized_expression "(piVar1[2] != 0)" (( "(") (binary_expression "piVar1[2] != 0" (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      (*(code *)PTR_free_001464fc)();\n    }" ({ "{") (expression_statement "(*(code *)PTR_free_001464fc)();" (call_expression "(*(code *)PTR_free_001464fc)()" (parenthesized_expression "(*(code *)PTR_free_001464fc)" (( "(") (pointer_expression "*(code *)PTR_free_001464fc" (* "*") (cast_expression "(code *)PTR_free_001464fc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_001464fc"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "puVar3 = PTR_free_001464fc;" (assignment_expression "puVar3 = PTR_free_001464fc" (identifier "puVar3") (= "=") (identifier "PTR_free_001464fc")) (; ";")) (expression_statement "iVar4 = piVar1[3];" (assignment_expression "iVar4 = piVar1[3]" (identifier "iVar4") (= "=") (subscript_expression "piVar1[3]" (identifier "piVar1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (if_statement "if (iVar4 != 0) {\n      *(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd;\n    }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      *(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd;\n    }" ({ "{") (expression_statement "*(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd;" (assignment_expression "*(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd" (pointer_expression "*(byte *)(iVar4 + 8)" (* "*") (cast_expression "(byte *)(iVar4 + 8)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")")))) (= "=") (binary_expression "*(byte *)(iVar4 + 8) & 0xfd" (pointer_expression "*(byte *)(iVar4 + 8)" (* "*") (cast_expression "(byte *)(iVar4 + 8)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")")))) (& "&") (number_literal "0xfd"))) (; ";")) (} "}"))) (expression_statement "(*(code *)puVar3)(piVar1);" (call_expression "(*(code *)puVar3)(piVar1)" (parenthesized_expression "(*(code *)puVar3)" (( "(") (pointer_expression "*(code *)puVar3" (* "*") (cast_expression "(code *)puVar3" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3"))) () ")")) (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")"))) (; ";")) (expression_statement "piVar1 = (int *)iVar5;" (assignment_expression "piVar1 = (int *)iVar5" (identifier "piVar1") (= "=") (cast_expression "(int *)iVar5" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "iVar5"))) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)puVar2 = 0;" (assignment_expression "*(undefined4 *)puVar2 = 0" (pointer_expression "*(undefined4 *)puVar2" (* "*") (cast_expression "(undefined4 *)puVar2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2"))) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(void)

{
  int *var_1;
  type_1 *puVar2;
  type_1 *puVar3;
  int var_2;
  int iVar5;
  
  puVar2 = PTR_pushed_string_list_0014489c;
  var_1 = (int *)*(int *)PTR_pushed_string_list_0014489c;
  while (var_1 != (int *)0x0) {
    iVar5 = *var_1;
    if (var_1[2] != 0) {
      (*(type_2 *)PTR_free_001464fc)();
    }
    puVar3 = PTR_free_001464fc;
    var_2 = var_1[3];
    if (var_2 != 0) {
      *(type_3 *)(var_2 + 8) = *(type_3 *)(var_2 + 8) & 0xfd;
    }
    (*(type_2 *)puVar3)(var_1);
    var_1 = (int *)iVar5;
  }
  *(type_4 *)puVar2 = 0;
  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: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier)))))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) 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: (identifier))) right: (number_literal))) (return_statement))))

void MASKED(void)

{
  int *piVar1;
  undefined *puVar2;
  undefined *puVar3;
  int iVar4;
  int iVar5;
  
  puVar2 = PTR_pushed_string_list_0014489c;
  piVar1 = (int *)*(int *)PTR_pushed_string_list_0014489c;
  while (piVar1 != (int *)0x0) {
    iVar5 = *piVar1;
    if (piVar1[2] != 0) {
      (*(code *)PTR_free_001464fc)();
    }
    puVar3 = PTR_free_001464fc;
    iVar4 = piVar1[3];
    if (iVar4 != 0) {
      *(byte *)(iVar4 + 8) = *(byte *)(iVar4 + 8) & 0xfd;
    }
    (*(code *)puVar3)(piVar1);
    piVar1 = (int *)iVar5;
  }
  *(undefined4 *)puVar2 = 0;
  return;
}

