
void do_line(void *data)

{
  uint uVar1;
  undefined4 uVar2;
  byte *pbVar3;
  
  pbVar3 = *(byte **)((int)data + 8);
  uVar1 = *(uint *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x24);
  if ((1 < (int)uVar1) && (uVar2 = 2, uVar1 != *pbVar3)) {
    if (uVar1 != 2) {
      uVar2 = *(undefined4 *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x30);
    }
    (*(code *)PTR___dprintf_chk_0012ad74)
              (uVar2,1,PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x4998,
               pbVar3 + ((int)uVar1 < 4 ^ 1));
    pbVar3 = *(byte **)((int)data + 8);
  }
  (*(code *)PTR_free_0012b168)(pbVar3);
  (*(code *)PTR_free_0012b168)(data);
  return;
}



void FUN_000d4630(int param_1)

{
  uint uVar1;
  undefined4 uVar2;
  byte *pbVar3;
  
  pbVar3 = *(byte **)(param_1 + 8);
  uVar1 = *(uint *)(*(int *)PTR_DAT_0012a304 + 0x24);
  if ((1 < (int)uVar1) && (uVar2 = 2, uVar1 != *pbVar3)) {
    if (uVar1 != 2) {
      uVar2 = *(undefined4 *)(*(int *)PTR_DAT_0012a304 + 0x30);
    }
    (*(code *)PTR___dprintf_chk_0012ad74)
              (uVar2,1,PTR_FUN_0012a1a8 + -0x4998,pbVar3 + ((int)uVar1 < 4 ^ 1));
    pbVar3 = *(byte **)(param_1 + 8);
  }
  (*(code *)PTR_free_0012b168)(pbVar3);
  (*(code *)PTR_free_0012b168)(param_1);
  return;
}


lui gp,0x6
addiu gp,gp,-0x24e0
addu gp,gp,t9
lw v0,-0x7e4c(gp)
addiu sp,sp,-0x20
lw a3,0x8(a0)
sw s0,0x18(sp)
or s0,a0,zero
lw v1,0x0(v0)
sw gp,0x10(sp)
sw ra,0x1c(sp)
lw v0,0x24(v1)
slti a0,v0,0x2
bne a0,zero,0x000d46ac
_lw t9,-0x6fe8(gp)
lbu a0,0x0(a3)
beq v0,a0,0x000d46ac
_li a0,0x2
beq v0,a0,0x000d4684
_lw a2,-0x7fa8(gp)
lw a0,0x30(v1)
slti v0,v0,0x4
lw t9,-0x73dc(gp)
xori v0,v0,0x1
addu a3,a3,v0
addiu a2,a2,-0x4998
jalr t9
_li a1,0x1
lw gp,0x10(sp)
lw a3,0x8(s0)
lw t9,-0x6fe8(gp)
jalr t9
_or a0,a3,zero
or a0,s0,zero
lw gp,0x10(sp)
lw ra,0x1c(sp)
lw s0,0x18(sp)
lw t9,-0x6fe8(gp)
jr t9
_addiu sp,sp,0x20
(translation_unit "void FUN_000d4630(int param_1)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  byte *pbVar3;\n  \n  pbVar3 = *(byte **)(param_1 + 8);\n  uVar1 = *(uint *)(*(int *)PTR_DAT_0012a304 + 0x24);\n  if ((1 < (int)uVar1) && (uVar2 = 2, uVar1 != *pbVar3)) {\n    if (uVar1 != 2) {\n      uVar2 = *(undefined4 *)(*(int *)PTR_DAT_0012a304 + 0x30);\n    }\n    (*(code *)PTR___dprintf_chk_0012ad74)\n              (uVar2,1,PTR_FUN_0012a1a8 + -0x4998,pbVar3 + ((int)uVar1 < 4 ^ 1));\n    pbVar3 = *(byte **)(param_1 + 8);\n  }\n  (*(code *)PTR_free_0012b168)(pbVar3);\n  (*(code *)PTR_free_0012b168)(param_1);\n  return;\n}\n\n" (function_definition "void FUN_000d4630(int param_1)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  byte *pbVar3;\n  \n  pbVar3 = *(byte **)(param_1 + 8);\n  uVar1 = *(uint *)(*(int *)PTR_DAT_0012a304 + 0x24);\n  if ((1 < (int)uVar1) && (uVar2 = 2, uVar1 != *pbVar3)) {\n    if (uVar1 != 2) {\n      uVar2 = *(undefined4 *)(*(int *)PTR_DAT_0012a304 + 0x30);\n    }\n    (*(code *)PTR___dprintf_chk_0012ad74)\n              (uVar2,1,PTR_FUN_0012a1a8 + -0x4998,pbVar3 + ((int)uVar1 < 4 ^ 1));\n    pbVar3 = *(byte **)(param_1 + 8);\n  }\n  (*(code *)PTR_free_0012b168)(pbVar3);\n  (*(code *)PTR_free_0012b168)(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_000d4630(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  undefined4 uVar2;\n  byte *pbVar3;\n  \n  pbVar3 = *(byte **)(param_1 + 8);\n  uVar1 = *(uint *)(*(int *)PTR_DAT_0012a304 + 0x24);\n  if ((1 < (int)uVar1) && (uVar2 = 2, uVar1 != *pbVar3)) {\n    if (uVar1 != 2) {\n      uVar2 = *(undefined4 *)(*(int *)PTR_DAT_0012a304 + 0x30);\n    }\n    (*(code *)PTR___dprintf_chk_0012ad74)\n              (uVar2,1,PTR_FUN_0012a1a8 + -0x4998,pbVar3 + ((int)uVar1 < 4 ^ 1));\n    pbVar3 = *(byte **)(param_1 + 8);\n  }\n  (*(code *)PTR_free_0012b168)(pbVar3);\n  (*(code *)PTR_free_0012b168)(param_1);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (expression_statement "pbVar3 = *(byte **)(param_1 + 8);" (assignment_expression "pbVar3 = *(byte **)(param_1 + 8)" identifier = (pointer_expression "*(byte **)(param_1 + 8)" * (cast_expression "(byte **)(param_1 + 8)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = *(uint *)(*(int *)PTR_DAT_0012a304 + 0x24);" (assignment_expression "uVar1 = *(uint *)(*(int *)PTR_DAT_0012a304 + 0x24)" identifier = (pointer_expression "*(uint *)(*(int *)PTR_DAT_0012a304 + 0x24)" * (cast_expression "(uint *)(*(int *)PTR_DAT_0012a304 + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_DAT_0012a304 + 0x24)" ( (binary_expression "*(int *)PTR_DAT_0012a304 + 0x24" (pointer_expression "*(int *)PTR_DAT_0012a304" * (cast_expression "(int *)PTR_DAT_0012a304" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ;) (if_statement "if ((1 < (int)uVar1) && (uVar2 = 2, uVar1 != *pbVar3)) {\n    if (uVar1 != 2) {\n      uVar2 = *(undefined4 *)(*(int *)PTR_DAT_0012a304 + 0x30);\n    }\n    (*(code *)PTR___dprintf_chk_0012ad74)\n              (uVar2,1,PTR_FUN_0012a1a8 + -0x4998,pbVar3 + ((int)uVar1 < 4 ^ 1));\n    pbVar3 = *(byte **)(param_1 + 8);\n  }" if (parenthesized_expression "((1 < (int)uVar1) && (uVar2 = 2, uVar1 != *pbVar3))" ( (binary_expression "(1 < (int)uVar1) && (uVar2 = 2, uVar1 != *pbVar3)" (parenthesized_expression "(1 < (int)uVar1)" ( (binary_expression "1 < (int)uVar1" number_literal < (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier)) )) && (parenthesized_expression "(uVar2 = 2, uVar1 != *pbVar3)" ( (comma_expression "uVar2 = 2, uVar1 != *pbVar3" (assignment_expression "uVar2 = 2" identifier = number_literal) , (binary_expression "uVar1 != *pbVar3" identifier != (pointer_expression "*pbVar3" * identifier))) ))) )) (compound_statement "{\n    if (uVar1 != 2) {\n      uVar2 = *(undefined4 *)(*(int *)PTR_DAT_0012a304 + 0x30);\n    }\n    (*(code *)PTR___dprintf_chk_0012ad74)\n              (uVar2,1,PTR_FUN_0012a1a8 + -0x4998,pbVar3 + ((int)uVar1 < 4 ^ 1));\n    pbVar3 = *(byte **)(param_1 + 8);\n  }" { (if_statement "if (uVar1 != 2) {\n      uVar2 = *(undefined4 *)(*(int *)PTR_DAT_0012a304 + 0x30);\n    }" if (parenthesized_expression "(uVar1 != 2)" ( (binary_expression "uVar1 != 2" identifier != number_literal) )) (compound_statement "{\n      uVar2 = *(undefined4 *)(*(int *)PTR_DAT_0012a304 + 0x30);\n    }" { (expression_statement "uVar2 = *(undefined4 *)(*(int *)PTR_DAT_0012a304 + 0x30);" (assignment_expression "uVar2 = *(undefined4 *)(*(int *)PTR_DAT_0012a304 + 0x30)" identifier = (pointer_expression "*(undefined4 *)(*(int *)PTR_DAT_0012a304 + 0x30)" * (cast_expression "(undefined4 *)(*(int *)PTR_DAT_0012a304 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_DAT_0012a304 + 0x30)" ( (binary_expression "*(int *)PTR_DAT_0012a304 + 0x30" (pointer_expression "*(int *)PTR_DAT_0012a304" * (cast_expression "(int *)PTR_DAT_0012a304" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ;) })) (expression_statement "(*(code *)PTR___dprintf_chk_0012ad74)\n              (uVar2,1,PTR_FUN_0012a1a8 + -0x4998,pbVar3 + ((int)uVar1 < 4 ^ 1));" (call_expression "(*(code *)PTR___dprintf_chk_0012ad74)\n              (uVar2,1,PTR_FUN_0012a1a8 + -0x4998,pbVar3 + ((int)uVar1 < 4 ^ 1))" (parenthesized_expression "(*(code *)PTR___dprintf_chk_0012ad74)" ( (pointer_expression "*(code *)PTR___dprintf_chk_0012ad74" * (cast_expression "(code *)PTR___dprintf_chk_0012ad74" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar2,1,PTR_FUN_0012a1a8 + -0x4998,pbVar3 + ((int)uVar1 < 4 ^ 1))" ( identifier , number_literal , (binary_expression "PTR_FUN_0012a1a8 + -0x4998" identifier + number_literal) , (binary_expression "pbVar3 + ((int)uVar1 < 4 ^ 1)" identifier + (parenthesized_expression "((int)uVar1 < 4 ^ 1)" ( (binary_expression "(int)uVar1 < 4 ^ 1" (binary_expression "(int)uVar1 < 4" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) ^ number_literal) ))) ))) ;) (expression_statement "pbVar3 = *(byte **)(param_1 + 8);" (assignment_expression "pbVar3 = *(byte **)(param_1 + 8)" identifier = (pointer_expression "*(byte **)(param_1 + 8)" * (cast_expression "(byte **)(param_1 + 8)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) })) (expression_statement "(*(code *)PTR_free_0012b168)(pbVar3);" (call_expression "(*(code *)PTR_free_0012b168)(pbVar3)" (parenthesized_expression "(*(code *)PTR_free_0012b168)" ( (pointer_expression "*(code *)PTR_free_0012b168" * (cast_expression "(code *)PTR_free_0012b168" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pbVar3)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_free_0012b168)(param_1);" (call_expression "(*(code *)PTR_free_0012b168)(param_1)" (parenthesized_expression "(*(code *)PTR_free_0012b168)" ( (pointer_expression "*(code *)PTR_free_0012b168" * (cast_expression "(code *)PTR_free_0012b168" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void do_line(void *data)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  byte *pbVar3;\n  \n  pbVar3 = *(byte **)((int)data + 8);\n  uVar1 = *(uint *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x24);\n  if ((1 < (int)uVar1) && (uVar2 = 2, uVar1 != *pbVar3)) {\n    if (uVar1 != 2) {\n      uVar2 = *(undefined4 *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x30);\n    }\n    (*(code *)PTR___dprintf_chk_0012ad74)\n              (uVar2,1,PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x4998,\n               pbVar3 + ((int)uVar1 < 4 ^ 1));\n    pbVar3 = *(byte **)((int)data + 8);\n  }\n  (*(code *)PTR_free_0012b168)(pbVar3);\n  (*(code *)PTR_free_0012b168)(data);\n  return;\n}\n\n" (function_definition "void do_line(void *data)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  byte *pbVar3;\n  \n  pbVar3 = *(byte **)((int)data + 8);\n  uVar1 = *(uint *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x24);\n  if ((1 < (int)uVar1) && (uVar2 = 2, uVar1 != *pbVar3)) {\n    if (uVar1 != 2) {\n      uVar2 = *(undefined4 *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x30);\n    }\n    (*(code *)PTR___dprintf_chk_0012ad74)\n              (uVar2,1,PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x4998,\n               pbVar3 + ((int)uVar1 < 4 ^ 1));\n    pbVar3 = *(byte **)((int)data + 8);\n  }\n  (*(code *)PTR_free_0012b168)(pbVar3);\n  (*(code *)PTR_free_0012b168)(data);\n  return;\n}" primitive_type (function_declarator "do_line(void *data)" identifier (parameter_list "(void *data)" ( (parameter_declaration "void *data" primitive_type (pointer_declarator "*data" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  undefined4 uVar2;\n  byte *pbVar3;\n  \n  pbVar3 = *(byte **)((int)data + 8);\n  uVar1 = *(uint *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x24);\n  if ((1 < (int)uVar1) && (uVar2 = 2, uVar1 != *pbVar3)) {\n    if (uVar1 != 2) {\n      uVar2 = *(undefined4 *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x30);\n    }\n    (*(code *)PTR___dprintf_chk_0012ad74)\n              (uVar2,1,PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x4998,\n               pbVar3 + ((int)uVar1 < 4 ^ 1));\n    pbVar3 = *(byte **)((int)data + 8);\n  }\n  (*(code *)PTR_free_0012b168)(pbVar3);\n  (*(code *)PTR_free_0012b168)(data);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (expression_statement "pbVar3 = *(byte **)((int)data + 8);" (assignment_expression "pbVar3 = *(byte **)((int)data + 8)" identifier = (pointer_expression "*(byte **)((int)data + 8)" * (cast_expression "(byte **)((int)data + 8)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)data + 8)" ( (binary_expression "(int)data + 8" (cast_expression "(int)data" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar1 = *(uint *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x24);" (assignment_expression "uVar1 = *(uint *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x24)" identifier = (pointer_expression "*(uint *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x24)" * (cast_expression "(uint *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_ptr_to_globals_0012a304 + 0x24)" ( (binary_expression "*(int *)PTR_ptr_to_globals_0012a304 + 0x24" (pointer_expression "*(int *)PTR_ptr_to_globals_0012a304" * (cast_expression "(int *)PTR_ptr_to_globals_0012a304" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ;) (if_statement "if ((1 < (int)uVar1) && (uVar2 = 2, uVar1 != *pbVar3)) {\n    if (uVar1 != 2) {\n      uVar2 = *(undefined4 *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x30);\n    }\n    (*(code *)PTR___dprintf_chk_0012ad74)\n              (uVar2,1,PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x4998,\n               pbVar3 + ((int)uVar1 < 4 ^ 1));\n    pbVar3 = *(byte **)((int)data + 8);\n  }" if (parenthesized_expression "((1 < (int)uVar1) && (uVar2 = 2, uVar1 != *pbVar3))" ( (binary_expression "(1 < (int)uVar1) && (uVar2 = 2, uVar1 != *pbVar3)" (parenthesized_expression "(1 < (int)uVar1)" ( (binary_expression "1 < (int)uVar1" number_literal < (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier)) )) && (parenthesized_expression "(uVar2 = 2, uVar1 != *pbVar3)" ( (comma_expression "uVar2 = 2, uVar1 != *pbVar3" (assignment_expression "uVar2 = 2" identifier = number_literal) , (binary_expression "uVar1 != *pbVar3" identifier != (pointer_expression "*pbVar3" * identifier))) ))) )) (compound_statement "{\n    if (uVar1 != 2) {\n      uVar2 = *(undefined4 *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x30);\n    }\n    (*(code *)PTR___dprintf_chk_0012ad74)\n              (uVar2,1,PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x4998,\n               pbVar3 + ((int)uVar1 < 4 ^ 1));\n    pbVar3 = *(byte **)((int)data + 8);\n  }" { (if_statement "if (uVar1 != 2) {\n      uVar2 = *(undefined4 *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x30);\n    }" if (parenthesized_expression "(uVar1 != 2)" ( (binary_expression "uVar1 != 2" identifier != number_literal) )) (compound_statement "{\n      uVar2 = *(undefined4 *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x30);\n    }" { (expression_statement "uVar2 = *(undefined4 *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x30);" (assignment_expression "uVar2 = *(undefined4 *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x30)" identifier = (pointer_expression "*(undefined4 *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x30)" * (cast_expression "(undefined4 *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_ptr_to_globals_0012a304 + 0x30)" ( (binary_expression "*(int *)PTR_ptr_to_globals_0012a304 + 0x30" (pointer_expression "*(int *)PTR_ptr_to_globals_0012a304" * (cast_expression "(int *)PTR_ptr_to_globals_0012a304" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ;) })) (expression_statement "(*(code *)PTR___dprintf_chk_0012ad74)\n              (uVar2,1,PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x4998,\n               pbVar3 + ((int)uVar1 < 4 ^ 1));" (comma_expression "(*(code *)PTR___dprintf_chk_0012ad74)\n              (uVar2,1,PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x4998,\n               pbVar3 + ((int)uVar1 < 4 ^ 1)" (binary_expression "(*(code *)PTR___dprintf_chk_0012ad74)\n              (uVar2,1,PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x4998" (call_expression "(*(code *)PTR___dprintf_chk_0012ad74)\n              (uVar2,1,PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)" (parenthesized_expression "(*(code *)PTR___dprintf_chk_0012ad74)" ( (pointer_expression "*(code *)PTR___dprintf_chk_0012ad74" * (cast_expression "(code *)PTR___dprintf_chk_0012ad74" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar2,1,PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)" ( identifier , number_literal , (binary_expression "PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P" (binary_expression "PTR_s_<_W_q_v1_HxLJ_" identifier < identifier) & identifier) ))) (ERROR "9__f_l_0012a1a8" number_literal identifier) + number_literal) , (binary_expression "pbVar3 + ((int)uVar1 < 4 ^ 1)" identifier + (parenthesized_expression "((int)uVar1 < 4 ^ 1)" ( (binary_expression "(int)uVar1 < 4 ^ 1" (binary_expression "(int)uVar1 < 4" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) ^ number_literal) )))) (ERROR ")" )) ;) (expression_statement "pbVar3 = *(byte **)((int)data + 8);" (assignment_expression "pbVar3 = *(byte **)((int)data + 8)" identifier = (pointer_expression "*(byte **)((int)data + 8)" * (cast_expression "(byte **)((int)data + 8)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)data + 8)" ( (binary_expression "(int)data + 8" (cast_expression "(int)data" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) })) (expression_statement "(*(code *)PTR_free_0012b168)(pbVar3);" (call_expression "(*(code *)PTR_free_0012b168)(pbVar3)" (parenthesized_expression "(*(code *)PTR_free_0012b168)" ( (pointer_expression "*(code *)PTR_free_0012b168" * (cast_expression "(code *)PTR_free_0012b168" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pbVar3)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_free_0012b168)(data);" (call_expression "(*(code *)PTR_free_0012b168)(data)" (parenthesized_expression "(*(code *)PTR_free_0012b168)" ( (pointer_expression "*(code *)PTR_free_0012b168" * (cast_expression "(code *)PTR_free_0012b168" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(data)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000d4630(int param_1)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  byte *pbVar3;\n  \n  pbVar3 = *(byte **)(param_1 + 8);\n  uVar1 = *(uint *)(*(int *)PTR_DAT_0012a304 + 0x24);\n  if ((1 < (int)uVar1) && (uVar2 = 2, uVar1 != *pbVar3)) {\n    if (uVar1 != 2) {\n      uVar2 = *(undefined4 *)(*(int *)PTR_DAT_0012a304 + 0x30);\n    }\n    (*(code *)PTR___dprintf_chk_0012ad74)\n              (uVar2,1,PTR_FUN_0012a1a8 + -0x4998,pbVar3 + ((int)uVar1 < 4 ^ 1));\n    pbVar3 = *(byte **)(param_1 + 8);\n  }\n  (*(code *)PTR_free_0012b168)(pbVar3);\n  (*(code *)PTR_free_0012b168)(param_1);\n  return;\n}\n\n" (function_definition "void FUN_000d4630(int param_1)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  byte *pbVar3;\n  \n  pbVar3 = *(byte **)(param_1 + 8);\n  uVar1 = *(uint *)(*(int *)PTR_DAT_0012a304 + 0x24);\n  if ((1 < (int)uVar1) && (uVar2 = 2, uVar1 != *pbVar3)) {\n    if (uVar1 != 2) {\n      uVar2 = *(undefined4 *)(*(int *)PTR_DAT_0012a304 + 0x30);\n    }\n    (*(code *)PTR___dprintf_chk_0012ad74)\n              (uVar2,1,PTR_FUN_0012a1a8 + -0x4998,pbVar3 + ((int)uVar1 < 4 ^ 1));\n    pbVar3 = *(byte **)(param_1 + 8);\n  }\n  (*(code *)PTR_free_0012b168)(pbVar3);\n  (*(code *)PTR_free_0012b168)(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_000d4630(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  undefined4 uVar2;\n  byte *pbVar3;\n  \n  pbVar3 = *(byte **)(param_1 + 8);\n  uVar1 = *(uint *)(*(int *)PTR_DAT_0012a304 + 0x24);\n  if ((1 < (int)uVar1) && (uVar2 = 2, uVar1 != *pbVar3)) {\n    if (uVar1 != 2) {\n      uVar2 = *(undefined4 *)(*(int *)PTR_DAT_0012a304 + 0x30);\n    }\n    (*(code *)PTR___dprintf_chk_0012ad74)\n              (uVar2,1,PTR_FUN_0012a1a8 + -0x4998,pbVar3 + ((int)uVar1 < 4 ^ 1));\n    pbVar3 = *(byte **)(param_1 + 8);\n  }\n  (*(code *)PTR_free_0012b168)(pbVar3);\n  (*(code *)PTR_free_0012b168)(param_1);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (expression_statement "pbVar3 = *(byte **)(param_1 + 8);" (assignment_expression "pbVar3 = *(byte **)(param_1 + 8)" identifier = (pointer_expression "*(byte **)(param_1 + 8)" * (cast_expression "(byte **)(param_1 + 8)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = *(uint *)(*(int *)PTR_DAT_0012a304 + 0x24);" (assignment_expression "uVar1 = *(uint *)(*(int *)PTR_DAT_0012a304 + 0x24)" identifier = (pointer_expression "*(uint *)(*(int *)PTR_DAT_0012a304 + 0x24)" * (cast_expression "(uint *)(*(int *)PTR_DAT_0012a304 + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_DAT_0012a304 + 0x24)" ( (binary_expression "*(int *)PTR_DAT_0012a304 + 0x24" (pointer_expression "*(int *)PTR_DAT_0012a304" * (cast_expression "(int *)PTR_DAT_0012a304" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ;) (if_statement "if ((1 < (int)uVar1) && (uVar2 = 2, uVar1 != *pbVar3)) {\n    if (uVar1 != 2) {\n      uVar2 = *(undefined4 *)(*(int *)PTR_DAT_0012a304 + 0x30);\n    }\n    (*(code *)PTR___dprintf_chk_0012ad74)\n              (uVar2,1,PTR_FUN_0012a1a8 + -0x4998,pbVar3 + ((int)uVar1 < 4 ^ 1));\n    pbVar3 = *(byte **)(param_1 + 8);\n  }" if (parenthesized_expression "((1 < (int)uVar1) && (uVar2 = 2, uVar1 != *pbVar3))" ( (binary_expression "(1 < (int)uVar1) && (uVar2 = 2, uVar1 != *pbVar3)" (parenthesized_expression "(1 < (int)uVar1)" ( (binary_expression "1 < (int)uVar1" number_literal < (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier)) )) && (parenthesized_expression "(uVar2 = 2, uVar1 != *pbVar3)" ( (comma_expression "uVar2 = 2, uVar1 != *pbVar3" (assignment_expression "uVar2 = 2" identifier = number_literal) , (binary_expression "uVar1 != *pbVar3" identifier != (pointer_expression "*pbVar3" * identifier))) ))) )) (compound_statement "{\n    if (uVar1 != 2) {\n      uVar2 = *(undefined4 *)(*(int *)PTR_DAT_0012a304 + 0x30);\n    }\n    (*(code *)PTR___dprintf_chk_0012ad74)\n              (uVar2,1,PTR_FUN_0012a1a8 + -0x4998,pbVar3 + ((int)uVar1 < 4 ^ 1));\n    pbVar3 = *(byte **)(param_1 + 8);\n  }" { (if_statement "if (uVar1 != 2) {\n      uVar2 = *(undefined4 *)(*(int *)PTR_DAT_0012a304 + 0x30);\n    }" if (parenthesized_expression "(uVar1 != 2)" ( (binary_expression "uVar1 != 2" identifier != number_literal) )) (compound_statement "{\n      uVar2 = *(undefined4 *)(*(int *)PTR_DAT_0012a304 + 0x30);\n    }" { (expression_statement "uVar2 = *(undefined4 *)(*(int *)PTR_DAT_0012a304 + 0x30);" (assignment_expression "uVar2 = *(undefined4 *)(*(int *)PTR_DAT_0012a304 + 0x30)" identifier = (pointer_expression "*(undefined4 *)(*(int *)PTR_DAT_0012a304 + 0x30)" * (cast_expression "(undefined4 *)(*(int *)PTR_DAT_0012a304 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_DAT_0012a304 + 0x30)" ( (binary_expression "*(int *)PTR_DAT_0012a304 + 0x30" (pointer_expression "*(int *)PTR_DAT_0012a304" * (cast_expression "(int *)PTR_DAT_0012a304" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ;) })) (expression_statement "(*(code *)PTR___dprintf_chk_0012ad74)\n              (uVar2,1,PTR_FUN_0012a1a8 + -0x4998,pbVar3 + ((int)uVar1 < 4 ^ 1));" (call_expression "(*(code *)PTR___dprintf_chk_0012ad74)\n              (uVar2,1,PTR_FUN_0012a1a8 + -0x4998,pbVar3 + ((int)uVar1 < 4 ^ 1))" (parenthesized_expression "(*(code *)PTR___dprintf_chk_0012ad74)" ( (pointer_expression "*(code *)PTR___dprintf_chk_0012ad74" * (cast_expression "(code *)PTR___dprintf_chk_0012ad74" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar2,1,PTR_FUN_0012a1a8 + -0x4998,pbVar3 + ((int)uVar1 < 4 ^ 1))" ( identifier , number_literal , (binary_expression "PTR_FUN_0012a1a8 + -0x4998" identifier + number_literal) , (binary_expression "pbVar3 + ((int)uVar1 < 4 ^ 1)" identifier + (parenthesized_expression "((int)uVar1 < 4 ^ 1)" ( (binary_expression "(int)uVar1 < 4 ^ 1" (binary_expression "(int)uVar1 < 4" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) ^ number_literal) ))) ))) ;) (expression_statement "pbVar3 = *(byte **)(param_1 + 8);" (assignment_expression "pbVar3 = *(byte **)(param_1 + 8)" identifier = (pointer_expression "*(byte **)(param_1 + 8)" * (cast_expression "(byte **)(param_1 + 8)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) })) (expression_statement "(*(code *)PTR_free_0012b168)(pbVar3);" (call_expression "(*(code *)PTR_free_0012b168)(pbVar3)" (parenthesized_expression "(*(code *)PTR_free_0012b168)" ( (pointer_expression "*(code *)PTR_free_0012b168" * (cast_expression "(code *)PTR_free_0012b168" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pbVar3)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_free_0012b168)(param_1);" (call_expression "(*(code *)PTR_free_0012b168)(param_1)" (parenthesized_expression "(*(code *)PTR_free_0012b168)" ( (pointer_expression "*(code *)PTR_free_0012b168" * (cast_expression "(code *)PTR_free_0012b168" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = LIT) , (binary_expression IDENT != (pointer_expression * IDENT))) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + LIT) ))))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) ^ LIT) ))) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_000d4630(int param_1)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  byte *pbVar3;\n  \n  pbVar3 = *(byte **)(param_1 + 8);\n  uVar1 = *(uint *)(*(int *)PTR_DAT_0012a304 + 0x24);\n  if ((1 < (int)uVar1) && (uVar2 = 2, uVar1 != *pbVar3)) {\n    if (uVar1 != 2) {\n      uVar2 = *(undefined4 *)(*(int *)PTR_DAT_0012a304 + 0x30);\n    }\n    (*(code *)PTR___dprintf_chk_0012ad74)\n              (uVar2,1,PTR_FUN_0012a1a8 + -0x4998,pbVar3 + ((int)uVar1 < 4 ^ 1));\n    pbVar3 = *(byte **)(param_1 + 8);\n  }\n  (*(code *)PTR_free_0012b168)(pbVar3);\n  (*(code *)PTR_free_0012b168)(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000d4630(int param_1)" (identifier "FUN_000d4630") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  uint uVar1;\n  undefined4 uVar2;\n  byte *pbVar3;\n  \n  pbVar3 = *(byte **)(param_1 + 8);\n  uVar1 = *(uint *)(*(int *)PTR_DAT_0012a304 + 0x24);\n  if ((1 < (int)uVar1) && (uVar2 = 2, uVar1 != *pbVar3)) {\n    if (uVar1 != 2) {\n      uVar2 = *(undefined4 *)(*(int *)PTR_DAT_0012a304 + 0x30);\n    }\n    (*(code *)PTR___dprintf_chk_0012ad74)\n              (uVar2,1,PTR_FUN_0012a1a8 + -0x4998,pbVar3 + ((int)uVar1 < 4 ^ 1));\n    pbVar3 = *(byte **)(param_1 + 8);\n  }\n  (*(code *)PTR_free_0012b168)(pbVar3);\n  (*(code *)PTR_free_0012b168)(param_1);\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "byte *pbVar3;" (type_identifier "byte") (pointer_declarator "*pbVar3" (* "*") (identifier "pbVar3")) (; ";")) (expression_statement "pbVar3 = *(byte **)(param_1 + 8);" (assignment_expression "pbVar3 = *(byte **)(param_1 + 8)" (identifier "pbVar3") (= "=") (pointer_expression "*(byte **)(param_1 + 8)" (* "*") (cast_expression "(byte **)(param_1 + 8)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "uVar1 = *(uint *)(*(int *)PTR_DAT_0012a304 + 0x24);" (assignment_expression "uVar1 = *(uint *)(*(int *)PTR_DAT_0012a304 + 0x24)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(*(int *)PTR_DAT_0012a304 + 0x24)" (* "*") (cast_expression "(uint *)(*(int *)PTR_DAT_0012a304 + 0x24)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)PTR_DAT_0012a304 + 0x24)" (( "(") (binary_expression "*(int *)PTR_DAT_0012a304 + 0x24" (pointer_expression "*(int *)PTR_DAT_0012a304" (* "*") (cast_expression "(int *)PTR_DAT_0012a304" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DAT_0012a304"))) (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (if_statement "if ((1 < (int)uVar1) && (uVar2 = 2, uVar1 != *pbVar3)) {\n    if (uVar1 != 2) {\n      uVar2 = *(undefined4 *)(*(int *)PTR_DAT_0012a304 + 0x30);\n    }\n    (*(code *)PTR___dprintf_chk_0012ad74)\n              (uVar2,1,PTR_FUN_0012a1a8 + -0x4998,pbVar3 + ((int)uVar1 < 4 ^ 1));\n    pbVar3 = *(byte **)(param_1 + 8);\n  }" (if "if") (parenthesized_expression "((1 < (int)uVar1) && (uVar2 = 2, uVar1 != *pbVar3))" (( "(") (binary_expression "(1 < (int)uVar1) && (uVar2 = 2, uVar1 != *pbVar3)" (parenthesized_expression "(1 < (int)uVar1)" (( "(") (binary_expression "1 < (int)uVar1" (number_literal "1") (< "<") (cast_expression "(int)uVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar1"))) () ")")) (&& "&&") (parenthesized_expression "(uVar2 = 2, uVar1 != *pbVar3)" (( "(") (comma_expression "uVar2 = 2, uVar1 != *pbVar3" (assignment_expression "uVar2 = 2" (identifier "uVar2") (= "=") (number_literal "2")) (, ",") (binary_expression "uVar1 != *pbVar3" (identifier "uVar1") (!= "!=") (pointer_expression "*pbVar3" (* "*") (identifier "pbVar3")))) () ")"))) () ")")) (compound_statement "{\n    if (uVar1 != 2) {\n      uVar2 = *(undefined4 *)(*(int *)PTR_DAT_0012a304 + 0x30);\n    }\n    (*(code *)PTR___dprintf_chk_0012ad74)\n              (uVar2,1,PTR_FUN_0012a1a8 + -0x4998,pbVar3 + ((int)uVar1 < 4 ^ 1));\n    pbVar3 = *(byte **)(param_1 + 8);\n  }" ({ "{") (if_statement "if (uVar1 != 2) {\n      uVar2 = *(undefined4 *)(*(int *)PTR_DAT_0012a304 + 0x30);\n    }" (if "if") (parenthesized_expression "(uVar1 != 2)" (( "(") (binary_expression "uVar1 != 2" (identifier "uVar1") (!= "!=") (number_literal "2")) () ")")) (compound_statement "{\n      uVar2 = *(undefined4 *)(*(int *)PTR_DAT_0012a304 + 0x30);\n    }" ({ "{") (expression_statement "uVar2 = *(undefined4 *)(*(int *)PTR_DAT_0012a304 + 0x30);" (assignment_expression "uVar2 = *(undefined4 *)(*(int *)PTR_DAT_0012a304 + 0x30)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(*(int *)PTR_DAT_0012a304 + 0x30)" (* "*") (cast_expression "(undefined4 *)(*(int *)PTR_DAT_0012a304 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)PTR_DAT_0012a304 + 0x30)" (( "(") (binary_expression "*(int *)PTR_DAT_0012a304 + 0x30" (pointer_expression "*(int *)PTR_DAT_0012a304" (* "*") (cast_expression "(int *)PTR_DAT_0012a304" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DAT_0012a304"))) (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___dprintf_chk_0012ad74)\n              (uVar2,1,PTR_FUN_0012a1a8 + -0x4998,pbVar3 + ((int)uVar1 < 4 ^ 1));" (call_expression "(*(code *)PTR___dprintf_chk_0012ad74)\n              (uVar2,1,PTR_FUN_0012a1a8 + -0x4998,pbVar3 + ((int)uVar1 < 4 ^ 1))" (parenthesized_expression "(*(code *)PTR___dprintf_chk_0012ad74)" (( "(") (pointer_expression "*(code *)PTR___dprintf_chk_0012ad74" (* "*") (cast_expression "(code *)PTR___dprintf_chk_0012ad74" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___dprintf_chk_0012ad74"))) () ")")) (argument_list "(uVar2,1,PTR_FUN_0012a1a8 + -0x4998,pbVar3 + ((int)uVar1 < 4 ^ 1))" (( "(") (identifier "uVar2") (, ",") (number_literal "1") (, ",") (binary_expression "PTR_FUN_0012a1a8 + -0x4998" (identifier "PTR_FUN_0012a1a8") (+ "+") (number_literal "-0x4998")) (, ",") (binary_expression "pbVar3 + ((int)uVar1 < 4 ^ 1)" (identifier "pbVar3") (+ "+") (parenthesized_expression "((int)uVar1 < 4 ^ 1)" (( "(") (binary_expression "(int)uVar1 < 4 ^ 1" (binary_expression "(int)uVar1 < 4" (cast_expression "(int)uVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar1")) (< "<") (number_literal "4")) (^ "^") (number_literal "1")) () ")"))) () ")"))) (; ";")) (expression_statement "pbVar3 = *(byte **)(param_1 + 8);" (assignment_expression "pbVar3 = *(byte **)(param_1 + 8)" (identifier "pbVar3") (= "=") (pointer_expression "*(byte **)(param_1 + 8)" (* "*") (cast_expression "(byte **)(param_1 + 8)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_free_0012b168)(pbVar3);" (call_expression "(*(code *)PTR_free_0012b168)(pbVar3)" (parenthesized_expression "(*(code *)PTR_free_0012b168)" (( "(") (pointer_expression "*(code *)PTR_free_0012b168" (* "*") (cast_expression "(code *)PTR_free_0012b168" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0012b168"))) () ")")) (argument_list "(pbVar3)" (( "(") (identifier "pbVar3") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_free_0012b168)(param_1);" (call_expression "(*(code *)PTR_free_0012b168)(param_1)" (parenthesized_expression "(*(code *)PTR_free_0012b168)" (( "(") (pointer_expression "*(code *)PTR_free_0012b168" (* "*") (cast_expression "(code *)PTR_free_0012b168" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0012b168"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(void *data)

{
  type_1 var_1;
  type_2 uVar2;
  type_3 *var_5;
  
  var_5 = *(type_3 **)((int)data + 8);
  var_1 = *(type_1 *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x24);
  if ((1 < (int)var_1) && (uVar2 = 2, var_1 != *var_5)) {
    if (var_1 != 2) {
      uVar2 = *(type_2 *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x30);
    }
    (*(type_4 *)PTR___dprintf_chk_0012ad74)
              (uVar2,1,var_2<var_3&var_4)9__f_l_0012a1a8 + -0x4998,
               var_5 + ((int)var_1 < 4 ^ 1));
    var_5 = *(type_3 **)((int)data + 8);
  }
  (*(type_4 *)PTR_free_0012b168)(var_5);
  (*(type_4 *)PTR_free_0012b168)(data);
  return;
}


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

void MASKED(int param_1)

{
  uint uVar1;
  undefined4 uVar2;
  byte *pbVar3;
  
  pbVar3 = *(byte **)(param_1 + 8);
  uVar1 = *(uint *)(*(int *)PTR_DAT_0012a304 + 0x24);
  if ((1 < (int)uVar1) && (uVar2 = 2, uVar1 != *pbVar3)) {
    if (uVar1 != 2) {
      uVar2 = *(undefined4 *)(*(int *)PTR_DAT_0012a304 + 0x30);
    }
    (*(code *)PTR___dprintf_chk_0012ad74)
              (uVar2,1,PTR_FUN_0012a1a8 + -0x4998,pbVar3 + ((int)uVar1 < 4 ^ 1));
    pbVar3 = *(byte **)(param_1 + 8);
  }
  (*(code *)PTR_free_0012b168)(pbVar3);
  (*(code *)PTR_free_0012b168)(param_1);
  return;
}

