
void copy_hist(void *uparam,mlist *ml,char *string)

{
  bool bVar1;
  undefined *puVar2;
  mlist *pmVar3;
  FILE *f;
  
                    /* WARNING: Load size is inaccurate */
  pmVar3 = *uparam;
  if (pmVar3 == ml) {
LAB_0001bb50:
    if (string == (char *)0x0) goto LAB_0001bb78;
  }
  else {
    f = *(FILE **)((int)uparam + 4);
    if (pmVar3 != (mlist *)0x0) {
      write_mlist(pmVar3->next,f);
      f = *(FILE **)((int)uparam + 4);
    }
    bVar1 = ml == (mlist *)PTR_LOOP_0004ee30;
    *(mlist **)uparam = ml;
    if (bVar1) {
      (*(code *)PTR___fprintf_chk_0004f2a4)(f,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224)
      ;
    }
    else {
      if (ml != (mlist *)PTR_LOOP_0004ee34) goto LAB_0001bb50;
      (*(code *)PTR___fprintf_chk_0004f2a4)(f,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c)
      ;
    }
    if (string == (char *)0x0) {
      return;
    }
  }
  (*(code *)PTR___fprintf_chk_0004f2a4)
            (*(undefined4 *)((int)uparam + 4),1,PTR_LAB_0004ec08 + 0x71d0,string);
LAB_0001bb78:
  puVar2 = PTR_LOOP_0004ee30;
  if (ml == (mlist *)0x0) {
    if (*(int *)(PTR_LOOP_0004ee30 + 0x10) != 0) {
      (*(code *)PTR___fprintf_chk_0004f2a4)
                (*(undefined4 *)((int)uparam + 4),1,PTR_LAB_0004ec08 + 0x7238,
                 PTR_LAB_0004ec08 + 0x7224);
      write_mlist(*(mlist **)puVar2,*(FILE **)((int)uparam + 4));
    }
    puVar2 = PTR_LOOP_0004ee34;
    if (*(int *)(PTR_LOOP_0004ee34 + 0x10) != 0) {
      (*(code *)PTR___fprintf_chk_0004f2a4)
                (*(undefined4 *)((int)uparam + 4),1,PTR_LAB_0004ec08 + 0x7238,
                 PTR_LAB_0004ec08 + 0x722c);
      write_mlist(*(mlist **)puVar2,*(FILE **)((int)uparam + 4));
      return;
    }
  }
  return;
}



void FUN_0001badc(undefined4 *param_1,undefined4 *param_2,int param_3)

{
  bool bVar1;
  undefined *puVar2;
  undefined4 *puVar3;
  undefined4 uVar4;
  
  puVar3 = (undefined4 *)*param_1;
  if (puVar3 == param_2) {
LAB_0001bb50:
    if (param_3 == 0) goto LAB_0001bb78;
  }
  else {
    uVar4 = param_1[1];
    if (puVar3 != (undefined4 *)0x0) {
      FUN_0001a960(*puVar3,uVar4);
      uVar4 = param_1[1];
    }
    bVar1 = param_2 == (undefined4 *)PTR_LOOP_0004ee30;
    *param_1 = param_2;
    if (bVar1) {
      (*(code *)PTR___fprintf_chk_0004f2a4)
                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);
    }
    else {
      if (param_2 != (undefined4 *)PTR_LOOP_0004ee34) goto LAB_0001bb50;
      (*(code *)PTR___fprintf_chk_0004f2a4)
                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);
    }
    if (param_3 == 0) {
      return;
    }
  }
  (*(code *)PTR___fprintf_chk_0004f2a4)(param_1[1],1,PTR_LAB_0004ec08 + 0x71d0,param_3);
LAB_0001bb78:
  puVar2 = PTR_LOOP_0004ee30;
  if (param_2 == (undefined4 *)0x0) {
    if (*(int *)(PTR_LOOP_0004ee30 + 0x10) != 0) {
      (*(code *)PTR___fprintf_chk_0004f2a4)
                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);
      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);
    }
    puVar2 = PTR_LOOP_0004ee34;
    if (*(int *)(PTR_LOOP_0004ee34 + 0x10) != 0) {
      (*(code *)PTR___fprintf_chk_0004f2a4)
                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);
      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);
      return;
    }
  }
  return;
}


lui gp,0x4
addiu gp,gp,-0x4f0c
addu gp,gp,t9
addiu sp,sp,-0x28
lw v0,0x0(a0)
sw gp,0x10(sp)
sw s2,0x20(sp)
or s2,a2,zero
sw s1,0x1c(sp)
or s1,a0,zero
sw s0,0x18(sp)
or s0,a1,zero
beq v0,a1,0x0001bb50
_sw ra,0x24(sp)
beq v0,zero,0x0001bb38
_lw a0,0x4(a0)
lw t9,-0x7ddc(gp)
or a1,a0,zero
addiu t9,t9,-0x56a0
bal 0x0001a960
_lw a0,0x0(v0)
lw gp,0x10(sp)
lw a0,0x4(s1)
lw v0,-0x7da0(gp)
beq s0,v0,0x0001bc38
_sw s0,0x0(s1)
lw v0,-0x7d9c(gp)
beq s0,v0,0x0001bc00
_lw a3,-0x7fc8(gp)
beq s2,zero,0x0001bb78
_nop
lw a2,-0x7fc8(gp)
li a1,0x1
lw t9,-0x792c(gp)
or a3,s2,zero
lw a0,0x4(s1)
jalr t9
_addiu a2,a2,0x71d0
lw gp,0x10(sp)
beq s0,zero,0x0001bb98
_lw s0,-0x7da0(gp)
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
lw v0,0x10(s0)
bne v0,zero,0x0001bc5c
_lw a3,-0x7fc8(gp)
lw s0,-0x7d9c(gp)
lw v0,0x10(s0)
beq v0,zero,0x0001bb84
_lw ra,0x24(sp)
lw a3,-0x7fc8(gp)
li a1,0x1
lw a2,-0x7fc8(gp)
lw t9,-0x792c(gp)
lw a0,0x4(s1)
addiu a3,a3,0x722c
jalr t9
_addiu a2,a2,0x7238
lw gp,0x10(sp)
lw a1,0x4(s1)
lw a0,0x0(s0)
lw ra,0x24(sp)
lw t9,-0x7ddc(gp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
addiu t9,t9,-0x56a0
b 0x0001a960
_addiu sp,sp,0x28
li a1,0x1
lw a2,-0x7fc8(gp)
lw t9,-0x792c(gp)
addiu a3,a3,0x722c
jalr t9
_addiu a2,a2,0x7238
lw gp,0x10(sp)
bne s2,zero,0x0001bb58
_lw ra,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
lw a3,-0x7fc8(gp)
li a1,0x1
lw a2,-0x7fc8(gp)
lw t9,-0x792c(gp)
addiu a3,a3,0x7224
jalr t9
_addiu a2,a2,0x7238
b 0x0001bc1c
_lw gp,0x10(sp)
li a1,0x1
lw a2,-0x7fc8(gp)
lw t9,-0x792c(gp)
lw a0,0x4(s1)
addiu a3,a3,0x7224
jalr t9
_addiu a2,a2,0x7238
lw gp,0x10(sp)
lw a1,0x4(s1)
lw t9,-0x7ddc(gp)
addiu t9,t9,-0x56a0
bal 0x0001a960
_lw a0,0x0(s0)
b 0x0001bba4
_lw gp,0x10(sp)
(translation_unit "void FUN_0001badc(undefined4 *param_1,undefined4 *param_2,int param_3)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  puVar3 = (undefined4 *)*param_1;\n  if (puVar3 == param_2) {\nLAB_0001bb50:\n    if (param_3 == 0) goto LAB_0001bb78;\n  }\n  else {\n    uVar4 = param_1[1];\n    if (puVar3 != (undefined4 *)0x0) {\n      FUN_0001a960(*puVar3,uVar4);\n      uVar4 = param_1[1];\n    }\n    bVar1 = param_2 == (undefined4 *)PTR_LOOP_0004ee30;\n    *param_1 = param_2;\n    if (bVar1) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n    }\n    else {\n      if (param_2 != (undefined4 *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n    }\n    if (param_3 == 0) {\n      return;\n    }\n  }\n  (*(code *)PTR___fprintf_chk_0004f2a4)(param_1[1],1,PTR_LAB_0004ec08 + 0x71d0,param_3);\nLAB_0001bb78:\n  puVar2 = PTR_LOOP_0004ee30;\n  if (param_2 == (undefined4 *)0x0) {\n    if (*(int *)(PTR_LOOP_0004ee30 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n    }\n    puVar2 = PTR_LOOP_0004ee34;\n    if (*(int *)(PTR_LOOP_0004ee34 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0001badc(undefined4 *param_1,undefined4 *param_2,int param_3)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  puVar3 = (undefined4 *)*param_1;\n  if (puVar3 == param_2) {\nLAB_0001bb50:\n    if (param_3 == 0) goto LAB_0001bb78;\n  }\n  else {\n    uVar4 = param_1[1];\n    if (puVar3 != (undefined4 *)0x0) {\n      FUN_0001a960(*puVar3,uVar4);\n      uVar4 = param_1[1];\n    }\n    bVar1 = param_2 == (undefined4 *)PTR_LOOP_0004ee30;\n    *param_1 = param_2;\n    if (bVar1) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n    }\n    else {\n      if (param_2 != (undefined4 *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n    }\n    if (param_3 == 0) {\n      return;\n    }\n  }\n  (*(code *)PTR___fprintf_chk_0004f2a4)(param_1[1],1,PTR_LAB_0004ec08 + 0x71d0,param_3);\nLAB_0001bb78:\n  puVar2 = PTR_LOOP_0004ee30;\n  if (param_2 == (undefined4 *)0x0) {\n    if (*(int *)(PTR_LOOP_0004ee30 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n    }\n    puVar2 = PTR_LOOP_0004ee34;\n    if (*(int *)(PTR_LOOP_0004ee34 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0001badc(undefined4 *param_1,undefined4 *param_2,int param_3)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2,int param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  puVar3 = (undefined4 *)*param_1;\n  if (puVar3 == param_2) {\nLAB_0001bb50:\n    if (param_3 == 0) goto LAB_0001bb78;\n  }\n  else {\n    uVar4 = param_1[1];\n    if (puVar3 != (undefined4 *)0x0) {\n      FUN_0001a960(*puVar3,uVar4);\n      uVar4 = param_1[1];\n    }\n    bVar1 = param_2 == (undefined4 *)PTR_LOOP_0004ee30;\n    *param_1 = param_2;\n    if (bVar1) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n    }\n    else {\n      if (param_2 != (undefined4 *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n    }\n    if (param_3 == 0) {\n      return;\n    }\n  }\n  (*(code *)PTR___fprintf_chk_0004f2a4)(param_1[1],1,PTR_LAB_0004ec08 + 0x71d0,param_3);\nLAB_0001bb78:\n  puVar2 = PTR_LOOP_0004ee30;\n  if (param_2 == (undefined4 *)0x0) {\n    if (*(int *)(PTR_LOOP_0004ee30 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n    }\n    puVar2 = PTR_LOOP_0004ee34;\n    if (*(int *)(PTR_LOOP_0004ee34 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n      return;\n    }\n  }\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (expression_statement "puVar3 = (undefined4 *)*param_1;" (assignment_expression "puVar3 = (undefined4 *)*param_1" identifier = (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (puVar3 == param_2) {\nLAB_0001bb50:\n    if (param_3 == 0) goto LAB_0001bb78;\n  }\n  else {\n    uVar4 = param_1[1];\n    if (puVar3 != (undefined4 *)0x0) {\n      FUN_0001a960(*puVar3,uVar4);\n      uVar4 = param_1[1];\n    }\n    bVar1 = param_2 == (undefined4 *)PTR_LOOP_0004ee30;\n    *param_1 = param_2;\n    if (bVar1) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n    }\n    else {\n      if (param_2 != (undefined4 *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n    }\n    if (param_3 == 0) {\n      return;\n    }\n  }" if (parenthesized_expression "(puVar3 == param_2)" ( (binary_expression "puVar3 == param_2" identifier == identifier) )) (compound_statement "{\nLAB_0001bb50:\n    if (param_3 == 0) goto LAB_0001bb78;\n  }" { (labeled_statement "LAB_0001bb50:\n    if (param_3 == 0) goto LAB_0001bb78;" statement_identifier : (if_statement "if (param_3 == 0) goto LAB_0001bb78;" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0001bb78;" goto statement_identifier ;))) }) (else_clause "else {\n    uVar4 = param_1[1];\n    if (puVar3 != (undefined4 *)0x0) {\n      FUN_0001a960(*puVar3,uVar4);\n      uVar4 = param_1[1];\n    }\n    bVar1 = param_2 == (undefined4 *)PTR_LOOP_0004ee30;\n    *param_1 = param_2;\n    if (bVar1) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n    }\n    else {\n      if (param_2 != (undefined4 *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n    }\n    if (param_3 == 0) {\n      return;\n    }\n  }" else (compound_statement "{\n    uVar4 = param_1[1];\n    if (puVar3 != (undefined4 *)0x0) {\n      FUN_0001a960(*puVar3,uVar4);\n      uVar4 = param_1[1];\n    }\n    bVar1 = param_2 == (undefined4 *)PTR_LOOP_0004ee30;\n    *param_1 = param_2;\n    if (bVar1) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n    }\n    else {\n      if (param_2 != (undefined4 *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n    }\n    if (param_3 == 0) {\n      return;\n    }\n  }" { (expression_statement "uVar4 = param_1[1];" (assignment_expression "uVar4 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (if_statement "if (puVar3 != (undefined4 *)0x0) {\n      FUN_0001a960(*puVar3,uVar4);\n      uVar4 = param_1[1];\n    }" if (parenthesized_expression "(puVar3 != (undefined4 *)0x0)" ( (binary_expression "puVar3 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      FUN_0001a960(*puVar3,uVar4);\n      uVar4 = param_1[1];\n    }" { (expression_statement "FUN_0001a960(*puVar3,uVar4);" (call_expression "FUN_0001a960(*puVar3,uVar4)" identifier (argument_list "(*puVar3,uVar4)" ( (pointer_expression "*puVar3" * identifier) , identifier ))) ;) (expression_statement "uVar4 = param_1[1];" (assignment_expression "uVar4 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) })) (expression_statement "bVar1 = param_2 == (undefined4 *)PTR_LOOP_0004ee30;" (assignment_expression "bVar1 = param_2 == (undefined4 *)PTR_LOOP_0004ee30" identifier = (binary_expression "param_2 == (undefined4 *)PTR_LOOP_0004ee30" identifier == (cast_expression "(undefined4 *)PTR_LOOP_0004ee30" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (if_statement "if (bVar1) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n    }\n    else {\n      if (param_2 != (undefined4 *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n    }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n    }" { (expression_statement "(*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);" (call_expression "(*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_0004f2a4)" ( (pointer_expression "*(code *)PTR___fprintf_chk_0004f2a4" * (cast_expression "(code *)PTR___fprintf_chk_0004f2a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224)" ( identifier , number_literal , (binary_expression "PTR_LAB_0004ec08 + 0x7238" identifier + number_literal) , (binary_expression "PTR_LAB_0004ec08 + 0x7224" identifier + number_literal) ))) ;) }) (else_clause "else {\n      if (param_2 != (undefined4 *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n    }" else (compound_statement "{\n      if (param_2 != (undefined4 *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n    }" { (if_statement "if (param_2 != (undefined4 *)PTR_LOOP_0004ee34) goto LAB_0001bb50;" if (parenthesized_expression "(param_2 != (undefined4 *)PTR_LOOP_0004ee34)" ( (binary_expression "param_2 != (undefined4 *)PTR_LOOP_0004ee34" identifier != (cast_expression "(undefined4 *)PTR_LOOP_0004ee34" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (goto_statement "goto LAB_0001bb50;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);" (call_expression "(*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_0004f2a4)" ( (pointer_expression "*(code *)PTR___fprintf_chk_0004f2a4" * (cast_expression "(code *)PTR___fprintf_chk_0004f2a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c)" ( identifier , number_literal , (binary_expression "PTR_LAB_0004ec08 + 0x7238" identifier + number_literal) , (binary_expression "PTR_LAB_0004ec08 + 0x722c" identifier + number_literal) ))) ;) }))) (if_statement "if (param_3 == 0) {\n      return;\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) }))) (expression_statement "(*(code *)PTR___fprintf_chk_0004f2a4)(param_1[1],1,PTR_LAB_0004ec08 + 0x71d0,param_3);" (call_expression "(*(code *)PTR___fprintf_chk_0004f2a4)(param_1[1],1,PTR_LAB_0004ec08 + 0x71d0,param_3)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_0004f2a4)" ( (pointer_expression "*(code *)PTR___fprintf_chk_0004f2a4" * (cast_expression "(code *)PTR___fprintf_chk_0004f2a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[1],1,PTR_LAB_0004ec08 + 0x71d0,param_3)" ( (subscript_expression "param_1[1]" identifier [ number_literal ]) , number_literal , (binary_expression "PTR_LAB_0004ec08 + 0x71d0" identifier + number_literal) , identifier ))) ;) (labeled_statement "LAB_0001bb78:\n  puVar2 = PTR_LOOP_0004ee30;" statement_identifier : (expression_statement "puVar2 = PTR_LOOP_0004ee30;" (assignment_expression "puVar2 = PTR_LOOP_0004ee30" identifier = identifier) ;)) (if_statement "if (param_2 == (undefined4 *)0x0) {\n    if (*(int *)(PTR_LOOP_0004ee30 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n    }\n    puVar2 = PTR_LOOP_0004ee34;\n    if (*(int *)(PTR_LOOP_0004ee34 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n      return;\n    }\n  }" if (parenthesized_expression "(param_2 == (undefined4 *)0x0)" ( (binary_expression "param_2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (*(int *)(PTR_LOOP_0004ee30 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n    }\n    puVar2 = PTR_LOOP_0004ee34;\n    if (*(int *)(PTR_LOOP_0004ee34 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n      return;\n    }\n  }" { (if_statement "if (*(int *)(PTR_LOOP_0004ee30 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n    }" if (parenthesized_expression "(*(int *)(PTR_LOOP_0004ee30 + 0x10) != 0)" ( (binary_expression "*(int *)(PTR_LOOP_0004ee30 + 0x10) != 0" (pointer_expression "*(int *)(PTR_LOOP_0004ee30 + 0x10)" * (cast_expression "(int *)(PTR_LOOP_0004ee30 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LOOP_0004ee30 + 0x10)" ( (binary_expression "PTR_LOOP_0004ee30 + 0x10" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n    }" { (expression_statement "(*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);" (call_expression "(*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_0004f2a4)" ( (pointer_expression "*(code *)PTR___fprintf_chk_0004f2a4" * (cast_expression "(code *)PTR___fprintf_chk_0004f2a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224)" ( (subscript_expression "param_1[1]" identifier [ number_literal ]) , number_literal , (binary_expression "PTR_LAB_0004ec08 + 0x7238" identifier + number_literal) , (binary_expression "PTR_LAB_0004ec08 + 0x7224" identifier + number_literal) ))) ;) (expression_statement "FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);" (call_expression "FUN_0001a960(*(undefined4 *)puVar2,param_1[1])" identifier (argument_list "(*(undefined4 *)puVar2,param_1[1])" ( (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (subscript_expression "param_1[1]" identifier [ number_literal ]) ))) ;) })) (expression_statement "puVar2 = PTR_LOOP_0004ee34;" (assignment_expression "puVar2 = PTR_LOOP_0004ee34" identifier = identifier) ;) (if_statement "if (*(int *)(PTR_LOOP_0004ee34 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n      return;\n    }" if (parenthesized_expression "(*(int *)(PTR_LOOP_0004ee34 + 0x10) != 0)" ( (binary_expression "*(int *)(PTR_LOOP_0004ee34 + 0x10) != 0" (pointer_expression "*(int *)(PTR_LOOP_0004ee34 + 0x10)" * (cast_expression "(int *)(PTR_LOOP_0004ee34 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LOOP_0004ee34 + 0x10)" ( (binary_expression "PTR_LOOP_0004ee34 + 0x10" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n      return;\n    }" { (expression_statement "(*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);" (call_expression "(*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_0004f2a4)" ( (pointer_expression "*(code *)PTR___fprintf_chk_0004f2a4" * (cast_expression "(code *)PTR___fprintf_chk_0004f2a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c)" ( (subscript_expression "param_1[1]" identifier [ number_literal ]) , number_literal , (binary_expression "PTR_LAB_0004ec08 + 0x7238" identifier + number_literal) , (binary_expression "PTR_LAB_0004ec08 + 0x722c" identifier + number_literal) ))) ;) (expression_statement "FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);" (call_expression "FUN_0001a960(*(undefined4 *)puVar2,param_1[1])" identifier (argument_list "(*(undefined4 *)puVar2,param_1[1])" ( (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (subscript_expression "param_1[1]" identifier [ number_literal ]) ))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void copy_hist(void *uparam,mlist *ml,char *string)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  mlist *pmVar3;\n  FILE *f;\n  \n                    /* WARNING: Load size is inaccurate */\n  pmVar3 = *uparam;\n  if (pmVar3 == ml) {\nLAB_0001bb50:\n    if (string == (char *)0x0) goto LAB_0001bb78;\n  }\n  else {\n    f = *(FILE **)((int)uparam + 4);\n    if (pmVar3 != (mlist *)0x0) {\n      write_mlist(pmVar3->next,f);\n      f = *(FILE **)((int)uparam + 4);\n    }\n    bVar1 = ml == (mlist *)PTR_LOOP_0004ee30;\n    *(mlist **)uparam = ml;\n    if (bVar1) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)(f,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224)\n      ;\n    }\n    else {\n      if (ml != (mlist *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)(f,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c)\n      ;\n    }\n    if (string == (char *)0x0) {\n      return;\n    }\n  }\n  (*(code *)PTR___fprintf_chk_0004f2a4)\n            (*(undefined4 *)((int)uparam + 4),1,PTR_LAB_0004ec08 + 0x71d0,string);\nLAB_0001bb78:\n  puVar2 = PTR_LOOP_0004ee30;\n  if (ml == (mlist *)0x0) {\n    if (*(int *)(PTR_LOOP_0004ee30 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (*(undefined4 *)((int)uparam + 4),1,PTR_LAB_0004ec08 + 0x7238,\n                 PTR_LAB_0004ec08 + 0x7224);\n      write_mlist(*(mlist **)puVar2,*(FILE **)((int)uparam + 4));\n    }\n    puVar2 = PTR_LOOP_0004ee34;\n    if (*(int *)(PTR_LOOP_0004ee34 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (*(undefined4 *)((int)uparam + 4),1,PTR_LAB_0004ec08 + 0x7238,\n                 PTR_LAB_0004ec08 + 0x722c);\n      write_mlist(*(mlist **)puVar2,*(FILE **)((int)uparam + 4));\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void copy_hist(void *uparam,mlist *ml,char *string)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  mlist *pmVar3;\n  FILE *f;\n  \n                    /* WARNING: Load size is inaccurate */\n  pmVar3 = *uparam;\n  if (pmVar3 == ml) {\nLAB_0001bb50:\n    if (string == (char *)0x0) goto LAB_0001bb78;\n  }\n  else {\n    f = *(FILE **)((int)uparam + 4);\n    if (pmVar3 != (mlist *)0x0) {\n      write_mlist(pmVar3->next,f);\n      f = *(FILE **)((int)uparam + 4);\n    }\n    bVar1 = ml == (mlist *)PTR_LOOP_0004ee30;\n    *(mlist **)uparam = ml;\n    if (bVar1) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)(f,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224)\n      ;\n    }\n    else {\n      if (ml != (mlist *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)(f,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c)\n      ;\n    }\n    if (string == (char *)0x0) {\n      return;\n    }\n  }\n  (*(code *)PTR___fprintf_chk_0004f2a4)\n            (*(undefined4 *)((int)uparam + 4),1,PTR_LAB_0004ec08 + 0x71d0,string);\nLAB_0001bb78:\n  puVar2 = PTR_LOOP_0004ee30;\n  if (ml == (mlist *)0x0) {\n    if (*(int *)(PTR_LOOP_0004ee30 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (*(undefined4 *)((int)uparam + 4),1,PTR_LAB_0004ec08 + 0x7238,\n                 PTR_LAB_0004ec08 + 0x7224);\n      write_mlist(*(mlist **)puVar2,*(FILE **)((int)uparam + 4));\n    }\n    puVar2 = PTR_LOOP_0004ee34;\n    if (*(int *)(PTR_LOOP_0004ee34 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (*(undefined4 *)((int)uparam + 4),1,PTR_LAB_0004ec08 + 0x7238,\n                 PTR_LAB_0004ec08 + 0x722c);\n      write_mlist(*(mlist **)puVar2,*(FILE **)((int)uparam + 4));\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "copy_hist(void *uparam,mlist *ml,char *string)" identifier (parameter_list "(void *uparam,mlist *ml,char *string)" ( (parameter_declaration "void *uparam" primitive_type (pointer_declarator "*uparam" * identifier)) , (parameter_declaration "mlist *ml" type_identifier (pointer_declarator "*ml" * identifier)) , (parameter_declaration "char *string" primitive_type (pointer_declarator "*string" * identifier)) ))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  mlist *pmVar3;\n  FILE *f;\n  \n                    /* WARNING: Load size is inaccurate */\n  pmVar3 = *uparam;\n  if (pmVar3 == ml) {\nLAB_0001bb50:\n    if (string == (char *)0x0) goto LAB_0001bb78;\n  }\n  else {\n    f = *(FILE **)((int)uparam + 4);\n    if (pmVar3 != (mlist *)0x0) {\n      write_mlist(pmVar3->next,f);\n      f = *(FILE **)((int)uparam + 4);\n    }\n    bVar1 = ml == (mlist *)PTR_LOOP_0004ee30;\n    *(mlist **)uparam = ml;\n    if (bVar1) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)(f,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224)\n      ;\n    }\n    else {\n      if (ml != (mlist *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)(f,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c)\n      ;\n    }\n    if (string == (char *)0x0) {\n      return;\n    }\n  }\n  (*(code *)PTR___fprintf_chk_0004f2a4)\n            (*(undefined4 *)((int)uparam + 4),1,PTR_LAB_0004ec08 + 0x71d0,string);\nLAB_0001bb78:\n  puVar2 = PTR_LOOP_0004ee30;\n  if (ml == (mlist *)0x0) {\n    if (*(int *)(PTR_LOOP_0004ee30 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (*(undefined4 *)((int)uparam + 4),1,PTR_LAB_0004ec08 + 0x7238,\n                 PTR_LAB_0004ec08 + 0x7224);\n      write_mlist(*(mlist **)puVar2,*(FILE **)((int)uparam + 4));\n    }\n    puVar2 = PTR_LOOP_0004ee34;\n    if (*(int *)(PTR_LOOP_0004ee34 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (*(undefined4 *)((int)uparam + 4),1,PTR_LAB_0004ec08 + 0x7238,\n                 PTR_LAB_0004ec08 + 0x722c);\n      write_mlist(*(mlist **)puVar2,*(FILE **)((int)uparam + 4));\n      return;\n    }\n  }\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "mlist *pmVar3;" type_identifier (pointer_declarator "*pmVar3" * identifier) ;) (declaration "FILE *f;" type_identifier (pointer_declarator "*f" * identifier) ;) comment (expression_statement "pmVar3 = *uparam;" (assignment_expression "pmVar3 = *uparam" identifier = (pointer_expression "*uparam" * identifier)) ;) (if_statement "if (pmVar3 == ml) {\nLAB_0001bb50:\n    if (string == (char *)0x0) goto LAB_0001bb78;\n  }\n  else {\n    f = *(FILE **)((int)uparam + 4);\n    if (pmVar3 != (mlist *)0x0) {\n      write_mlist(pmVar3->next,f);\n      f = *(FILE **)((int)uparam + 4);\n    }\n    bVar1 = ml == (mlist *)PTR_LOOP_0004ee30;\n    *(mlist **)uparam = ml;\n    if (bVar1) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)(f,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224)\n      ;\n    }\n    else {\n      if (ml != (mlist *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)(f,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c)\n      ;\n    }\n    if (string == (char *)0x0) {\n      return;\n    }\n  }" if (parenthesized_expression "(pmVar3 == ml)" ( (binary_expression "pmVar3 == ml" identifier == identifier) )) (compound_statement "{\nLAB_0001bb50:\n    if (string == (char *)0x0) goto LAB_0001bb78;\n  }" { (labeled_statement "LAB_0001bb50:\n    if (string == (char *)0x0) goto LAB_0001bb78;" statement_identifier : (if_statement "if (string == (char *)0x0) goto LAB_0001bb78;" if (parenthesized_expression "(string == (char *)0x0)" ( (binary_expression "string == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0001bb78;" goto statement_identifier ;))) }) (else_clause "else {\n    f = *(FILE **)((int)uparam + 4);\n    if (pmVar3 != (mlist *)0x0) {\n      write_mlist(pmVar3->next,f);\n      f = *(FILE **)((int)uparam + 4);\n    }\n    bVar1 = ml == (mlist *)PTR_LOOP_0004ee30;\n    *(mlist **)uparam = ml;\n    if (bVar1) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)(f,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224)\n      ;\n    }\n    else {\n      if (ml != (mlist *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)(f,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c)\n      ;\n    }\n    if (string == (char *)0x0) {\n      return;\n    }\n  }" else (compound_statement "{\n    f = *(FILE **)((int)uparam + 4);\n    if (pmVar3 != (mlist *)0x0) {\n      write_mlist(pmVar3->next,f);\n      f = *(FILE **)((int)uparam + 4);\n    }\n    bVar1 = ml == (mlist *)PTR_LOOP_0004ee30;\n    *(mlist **)uparam = ml;\n    if (bVar1) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)(f,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224)\n      ;\n    }\n    else {\n      if (ml != (mlist *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)(f,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c)\n      ;\n    }\n    if (string == (char *)0x0) {\n      return;\n    }\n  }" { (expression_statement "f = *(FILE **)((int)uparam + 4);" (assignment_expression "f = *(FILE **)((int)uparam + 4)" identifier = (pointer_expression "*(FILE **)((int)uparam + 4)" * (cast_expression "(FILE **)((int)uparam + 4)" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)uparam + 4)" ( (binary_expression "(int)uparam + 4" (cast_expression "(int)uparam" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (if_statement "if (pmVar3 != (mlist *)0x0) {\n      write_mlist(pmVar3->next,f);\n      f = *(FILE **)((int)uparam + 4);\n    }" if (parenthesized_expression "(pmVar3 != (mlist *)0x0)" ( (binary_expression "pmVar3 != (mlist *)0x0" identifier != (cast_expression "(mlist *)0x0" ( (type_descriptor "mlist *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      write_mlist(pmVar3->next,f);\n      f = *(FILE **)((int)uparam + 4);\n    }" { (expression_statement "write_mlist(pmVar3->next,f);" (call_expression "write_mlist(pmVar3->next,f)" identifier (argument_list "(pmVar3->next,f)" ( (field_expression "pmVar3->next" identifier -> field_identifier) , identifier ))) ;) (expression_statement "f = *(FILE **)((int)uparam + 4);" (assignment_expression "f = *(FILE **)((int)uparam + 4)" identifier = (pointer_expression "*(FILE **)((int)uparam + 4)" * (cast_expression "(FILE **)((int)uparam + 4)" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)uparam + 4)" ( (binary_expression "(int)uparam + 4" (cast_expression "(int)uparam" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) })) (expression_statement "bVar1 = ml == (mlist *)PTR_LOOP_0004ee30;" (assignment_expression "bVar1 = ml == (mlist *)PTR_LOOP_0004ee30" identifier = (binary_expression "ml == (mlist *)PTR_LOOP_0004ee30" identifier == (cast_expression "(mlist *)PTR_LOOP_0004ee30" ( (type_descriptor "mlist *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(mlist **)uparam = ml;" (assignment_expression "*(mlist **)uparam = ml" (pointer_expression "*(mlist **)uparam" * (cast_expression "(mlist **)uparam" ( (type_descriptor "mlist **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (if_statement "if (bVar1) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)(f,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224)\n      ;\n    }\n    else {\n      if (ml != (mlist *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)(f,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c)\n      ;\n    }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n      (*(code *)PTR___fprintf_chk_0004f2a4)(f,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224)\n      ;\n    }" { (expression_statement "(*(code *)PTR___fprintf_chk_0004f2a4)(f,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224)\n      ;" (call_expression "(*(code *)PTR___fprintf_chk_0004f2a4)(f,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_0004f2a4)" ( (pointer_expression "*(code *)PTR___fprintf_chk_0004f2a4" * (cast_expression "(code *)PTR___fprintf_chk_0004f2a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(f,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224)" ( identifier , number_literal , (binary_expression "PTR_LAB_0004ec08 + 0x7238" identifier + number_literal) , (binary_expression "PTR_LAB_0004ec08 + 0x7224" identifier + number_literal) ))) ;) }) (else_clause "else {\n      if (ml != (mlist *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)(f,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c)\n      ;\n    }" else (compound_statement "{\n      if (ml != (mlist *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)(f,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c)\n      ;\n    }" { (if_statement "if (ml != (mlist *)PTR_LOOP_0004ee34) goto LAB_0001bb50;" if (parenthesized_expression "(ml != (mlist *)PTR_LOOP_0004ee34)" ( (binary_expression "ml != (mlist *)PTR_LOOP_0004ee34" identifier != (cast_expression "(mlist *)PTR_LOOP_0004ee34" ( (type_descriptor "mlist *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (goto_statement "goto LAB_0001bb50;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR___fprintf_chk_0004f2a4)(f,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c)\n      ;" (call_expression "(*(code *)PTR___fprintf_chk_0004f2a4)(f,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_0004f2a4)" ( (pointer_expression "*(code *)PTR___fprintf_chk_0004f2a4" * (cast_expression "(code *)PTR___fprintf_chk_0004f2a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(f,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c)" ( identifier , number_literal , (binary_expression "PTR_LAB_0004ec08 + 0x7238" identifier + number_literal) , (binary_expression "PTR_LAB_0004ec08 + 0x722c" identifier + number_literal) ))) ;) }))) (if_statement "if (string == (char *)0x0) {\n      return;\n    }" if (parenthesized_expression "(string == (char *)0x0)" ( (binary_expression "string == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) }))) (expression_statement "(*(code *)PTR___fprintf_chk_0004f2a4)\n            (*(undefined4 *)((int)uparam + 4),1,PTR_LAB_0004ec08 + 0x71d0,string);" (call_expression "(*(code *)PTR___fprintf_chk_0004f2a4)\n            (*(undefined4 *)((int)uparam + 4),1,PTR_LAB_0004ec08 + 0x71d0,string)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_0004f2a4)" ( (pointer_expression "*(code *)PTR___fprintf_chk_0004f2a4" * (cast_expression "(code *)PTR___fprintf_chk_0004f2a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)((int)uparam + 4),1,PTR_LAB_0004ec08 + 0x71d0,string)" ( (pointer_expression "*(undefined4 *)((int)uparam + 4)" * (cast_expression "(undefined4 *)((int)uparam + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)uparam + 4)" ( (binary_expression "(int)uparam + 4" (cast_expression "(int)uparam" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , number_literal , (binary_expression "PTR_LAB_0004ec08 + 0x71d0" identifier + number_literal) , identifier ))) ;) (labeled_statement "LAB_0001bb78:\n  puVar2 = PTR_LOOP_0004ee30;" statement_identifier : (expression_statement "puVar2 = PTR_LOOP_0004ee30;" (assignment_expression "puVar2 = PTR_LOOP_0004ee30" identifier = identifier) ;)) (if_statement "if (ml == (mlist *)0x0) {\n    if (*(int *)(PTR_LOOP_0004ee30 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (*(undefined4 *)((int)uparam + 4),1,PTR_LAB_0004ec08 + 0x7238,\n                 PTR_LAB_0004ec08 + 0x7224);\n      write_mlist(*(mlist **)puVar2,*(FILE **)((int)uparam + 4));\n    }\n    puVar2 = PTR_LOOP_0004ee34;\n    if (*(int *)(PTR_LOOP_0004ee34 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (*(undefined4 *)((int)uparam + 4),1,PTR_LAB_0004ec08 + 0x7238,\n                 PTR_LAB_0004ec08 + 0x722c);\n      write_mlist(*(mlist **)puVar2,*(FILE **)((int)uparam + 4));\n      return;\n    }\n  }" if (parenthesized_expression "(ml == (mlist *)0x0)" ( (binary_expression "ml == (mlist *)0x0" identifier == (cast_expression "(mlist *)0x0" ( (type_descriptor "mlist *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (*(int *)(PTR_LOOP_0004ee30 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (*(undefined4 *)((int)uparam + 4),1,PTR_LAB_0004ec08 + 0x7238,\n                 PTR_LAB_0004ec08 + 0x7224);\n      write_mlist(*(mlist **)puVar2,*(FILE **)((int)uparam + 4));\n    }\n    puVar2 = PTR_LOOP_0004ee34;\n    if (*(int *)(PTR_LOOP_0004ee34 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (*(undefined4 *)((int)uparam + 4),1,PTR_LAB_0004ec08 + 0x7238,\n                 PTR_LAB_0004ec08 + 0x722c);\n      write_mlist(*(mlist **)puVar2,*(FILE **)((int)uparam + 4));\n      return;\n    }\n  }" { (if_statement "if (*(int *)(PTR_LOOP_0004ee30 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (*(undefined4 *)((int)uparam + 4),1,PTR_LAB_0004ec08 + 0x7238,\n                 PTR_LAB_0004ec08 + 0x7224);\n      write_mlist(*(mlist **)puVar2,*(FILE **)((int)uparam + 4));\n    }" if (parenthesized_expression "(*(int *)(PTR_LOOP_0004ee30 + 0x10) != 0)" ( (binary_expression "*(int *)(PTR_LOOP_0004ee30 + 0x10) != 0" (pointer_expression "*(int *)(PTR_LOOP_0004ee30 + 0x10)" * (cast_expression "(int *)(PTR_LOOP_0004ee30 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LOOP_0004ee30 + 0x10)" ( (binary_expression "PTR_LOOP_0004ee30 + 0x10" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (*(undefined4 *)((int)uparam + 4),1,PTR_LAB_0004ec08 + 0x7238,\n                 PTR_LAB_0004ec08 + 0x7224);\n      write_mlist(*(mlist **)puVar2,*(FILE **)((int)uparam + 4));\n    }" { (expression_statement "(*(code *)PTR___fprintf_chk_0004f2a4)\n                (*(undefined4 *)((int)uparam + 4),1,PTR_LAB_0004ec08 + 0x7238,\n                 PTR_LAB_0004ec08 + 0x7224);" (call_expression "(*(code *)PTR___fprintf_chk_0004f2a4)\n                (*(undefined4 *)((int)uparam + 4),1,PTR_LAB_0004ec08 + 0x7238,\n                 PTR_LAB_0004ec08 + 0x7224)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_0004f2a4)" ( (pointer_expression "*(code *)PTR___fprintf_chk_0004f2a4" * (cast_expression "(code *)PTR___fprintf_chk_0004f2a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)((int)uparam + 4),1,PTR_LAB_0004ec08 + 0x7238,\n                 PTR_LAB_0004ec08 + 0x7224)" ( (pointer_expression "*(undefined4 *)((int)uparam + 4)" * (cast_expression "(undefined4 *)((int)uparam + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)uparam + 4)" ( (binary_expression "(int)uparam + 4" (cast_expression "(int)uparam" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , number_literal , (binary_expression "PTR_LAB_0004ec08 + 0x7238" identifier + number_literal) , (binary_expression "PTR_LAB_0004ec08 + 0x7224" identifier + number_literal) ))) ;) (expression_statement "write_mlist(*(mlist **)puVar2,*(FILE **)((int)uparam + 4));" (call_expression "write_mlist(*(mlist **)puVar2,*(FILE **)((int)uparam + 4))" identifier (argument_list "(*(mlist **)puVar2,*(FILE **)((int)uparam + 4))" ( (pointer_expression "*(mlist **)puVar2" * (cast_expression "(mlist **)puVar2" ( (type_descriptor "mlist **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (pointer_expression "*(FILE **)((int)uparam + 4)" * (cast_expression "(FILE **)((int)uparam + 4)" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)uparam + 4)" ( (binary_expression "(int)uparam + 4" (cast_expression "(int)uparam" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ))) ;) })) (expression_statement "puVar2 = PTR_LOOP_0004ee34;" (assignment_expression "puVar2 = PTR_LOOP_0004ee34" identifier = identifier) ;) (if_statement "if (*(int *)(PTR_LOOP_0004ee34 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (*(undefined4 *)((int)uparam + 4),1,PTR_LAB_0004ec08 + 0x7238,\n                 PTR_LAB_0004ec08 + 0x722c);\n      write_mlist(*(mlist **)puVar2,*(FILE **)((int)uparam + 4));\n      return;\n    }" if (parenthesized_expression "(*(int *)(PTR_LOOP_0004ee34 + 0x10) != 0)" ( (binary_expression "*(int *)(PTR_LOOP_0004ee34 + 0x10) != 0" (pointer_expression "*(int *)(PTR_LOOP_0004ee34 + 0x10)" * (cast_expression "(int *)(PTR_LOOP_0004ee34 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LOOP_0004ee34 + 0x10)" ( (binary_expression "PTR_LOOP_0004ee34 + 0x10" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (*(undefined4 *)((int)uparam + 4),1,PTR_LAB_0004ec08 + 0x7238,\n                 PTR_LAB_0004ec08 + 0x722c);\n      write_mlist(*(mlist **)puVar2,*(FILE **)((int)uparam + 4));\n      return;\n    }" { (expression_statement "(*(code *)PTR___fprintf_chk_0004f2a4)\n                (*(undefined4 *)((int)uparam + 4),1,PTR_LAB_0004ec08 + 0x7238,\n                 PTR_LAB_0004ec08 + 0x722c);" (call_expression "(*(code *)PTR___fprintf_chk_0004f2a4)\n                (*(undefined4 *)((int)uparam + 4),1,PTR_LAB_0004ec08 + 0x7238,\n                 PTR_LAB_0004ec08 + 0x722c)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_0004f2a4)" ( (pointer_expression "*(code *)PTR___fprintf_chk_0004f2a4" * (cast_expression "(code *)PTR___fprintf_chk_0004f2a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)((int)uparam + 4),1,PTR_LAB_0004ec08 + 0x7238,\n                 PTR_LAB_0004ec08 + 0x722c)" ( (pointer_expression "*(undefined4 *)((int)uparam + 4)" * (cast_expression "(undefined4 *)((int)uparam + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)uparam + 4)" ( (binary_expression "(int)uparam + 4" (cast_expression "(int)uparam" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , number_literal , (binary_expression "PTR_LAB_0004ec08 + 0x7238" identifier + number_literal) , (binary_expression "PTR_LAB_0004ec08 + 0x722c" identifier + number_literal) ))) ;) (expression_statement "write_mlist(*(mlist **)puVar2,*(FILE **)((int)uparam + 4));" (call_expression "write_mlist(*(mlist **)puVar2,*(FILE **)((int)uparam + 4))" identifier (argument_list "(*(mlist **)puVar2,*(FILE **)((int)uparam + 4))" ( (pointer_expression "*(mlist **)puVar2" * (cast_expression "(mlist **)puVar2" ( (type_descriptor "mlist **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (pointer_expression "*(FILE **)((int)uparam + 4)" * (cast_expression "(FILE **)((int)uparam + 4)" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)uparam + 4)" ( (binary_expression "(int)uparam + 4" (cast_expression "(int)uparam" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0001badc(undefined4 *param_1,undefined4 *param_2,int param_3)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  puVar3 = (undefined4 *)*param_1;\n  if (puVar3 == param_2) {\nLAB_0001bb50:\n    if (param_3 == 0) goto LAB_0001bb78;\n  }\n  else {\n    uVar4 = param_1[1];\n    if (puVar3 != (undefined4 *)0x0) {\n      FUN_0001a960(*puVar3,uVar4);\n      uVar4 = param_1[1];\n    }\n    bVar1 = param_2 == (undefined4 *)PTR_LOOP_0004ee30;\n    *param_1 = param_2;\n    if (bVar1) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n    }\n    else {\n      if (param_2 != (undefined4 *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n    }\n    if (param_3 == 0) {\n      return;\n    }\n  }\n  (*(code *)PTR___fprintf_chk_0004f2a4)(param_1[1],1,PTR_LAB_0004ec08 + 0x71d0,param_3);\nLAB_0001bb78:\n  puVar2 = PTR_LOOP_0004ee30;\n  if (param_2 == (undefined4 *)0x0) {\n    if (*(int *)(PTR_LOOP_0004ee30 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n    }\n    puVar2 = PTR_LOOP_0004ee34;\n    if (*(int *)(PTR_LOOP_0004ee34 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0001badc(undefined4 *param_1,undefined4 *param_2,int param_3)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  puVar3 = (undefined4 *)*param_1;\n  if (puVar3 == param_2) {\nLAB_0001bb50:\n    if (param_3 == 0) goto LAB_0001bb78;\n  }\n  else {\n    uVar4 = param_1[1];\n    if (puVar3 != (undefined4 *)0x0) {\n      FUN_0001a960(*puVar3,uVar4);\n      uVar4 = param_1[1];\n    }\n    bVar1 = param_2 == (undefined4 *)PTR_LOOP_0004ee30;\n    *param_1 = param_2;\n    if (bVar1) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n    }\n    else {\n      if (param_2 != (undefined4 *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n    }\n    if (param_3 == 0) {\n      return;\n    }\n  }\n  (*(code *)PTR___fprintf_chk_0004f2a4)(param_1[1],1,PTR_LAB_0004ec08 + 0x71d0,param_3);\nLAB_0001bb78:\n  puVar2 = PTR_LOOP_0004ee30;\n  if (param_2 == (undefined4 *)0x0) {\n    if (*(int *)(PTR_LOOP_0004ee30 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n    }\n    puVar2 = PTR_LOOP_0004ee34;\n    if (*(int *)(PTR_LOOP_0004ee34 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0001badc(undefined4 *param_1,undefined4 *param_2,int param_3)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2,int param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  puVar3 = (undefined4 *)*param_1;\n  if (puVar3 == param_2) {\nLAB_0001bb50:\n    if (param_3 == 0) goto LAB_0001bb78;\n  }\n  else {\n    uVar4 = param_1[1];\n    if (puVar3 != (undefined4 *)0x0) {\n      FUN_0001a960(*puVar3,uVar4);\n      uVar4 = param_1[1];\n    }\n    bVar1 = param_2 == (undefined4 *)PTR_LOOP_0004ee30;\n    *param_1 = param_2;\n    if (bVar1) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n    }\n    else {\n      if (param_2 != (undefined4 *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n    }\n    if (param_3 == 0) {\n      return;\n    }\n  }\n  (*(code *)PTR___fprintf_chk_0004f2a4)(param_1[1],1,PTR_LAB_0004ec08 + 0x71d0,param_3);\nLAB_0001bb78:\n  puVar2 = PTR_LOOP_0004ee30;\n  if (param_2 == (undefined4 *)0x0) {\n    if (*(int *)(PTR_LOOP_0004ee30 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n    }\n    puVar2 = PTR_LOOP_0004ee34;\n    if (*(int *)(PTR_LOOP_0004ee34 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n      return;\n    }\n  }\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (expression_statement "puVar3 = (undefined4 *)*param_1;" (assignment_expression "puVar3 = (undefined4 *)*param_1" identifier = (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (puVar3 == param_2) {\nLAB_0001bb50:\n    if (param_3 == 0) goto LAB_0001bb78;\n  }\n  else {\n    uVar4 = param_1[1];\n    if (puVar3 != (undefined4 *)0x0) {\n      FUN_0001a960(*puVar3,uVar4);\n      uVar4 = param_1[1];\n    }\n    bVar1 = param_2 == (undefined4 *)PTR_LOOP_0004ee30;\n    *param_1 = param_2;\n    if (bVar1) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n    }\n    else {\n      if (param_2 != (undefined4 *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n    }\n    if (param_3 == 0) {\n      return;\n    }\n  }" if (parenthesized_expression "(puVar3 == param_2)" ( (binary_expression "puVar3 == param_2" identifier == identifier) )) (compound_statement "{\nLAB_0001bb50:\n    if (param_3 == 0) goto LAB_0001bb78;\n  }" { (labeled_statement "LAB_0001bb50:\n    if (param_3 == 0) goto LAB_0001bb78;" statement_identifier : (if_statement "if (param_3 == 0) goto LAB_0001bb78;" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0001bb78;" goto statement_identifier ;))) }) (else_clause "else {\n    uVar4 = param_1[1];\n    if (puVar3 != (undefined4 *)0x0) {\n      FUN_0001a960(*puVar3,uVar4);\n      uVar4 = param_1[1];\n    }\n    bVar1 = param_2 == (undefined4 *)PTR_LOOP_0004ee30;\n    *param_1 = param_2;\n    if (bVar1) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n    }\n    else {\n      if (param_2 != (undefined4 *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n    }\n    if (param_3 == 0) {\n      return;\n    }\n  }" else (compound_statement "{\n    uVar4 = param_1[1];\n    if (puVar3 != (undefined4 *)0x0) {\n      FUN_0001a960(*puVar3,uVar4);\n      uVar4 = param_1[1];\n    }\n    bVar1 = param_2 == (undefined4 *)PTR_LOOP_0004ee30;\n    *param_1 = param_2;\n    if (bVar1) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n    }\n    else {\n      if (param_2 != (undefined4 *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n    }\n    if (param_3 == 0) {\n      return;\n    }\n  }" { (expression_statement "uVar4 = param_1[1];" (assignment_expression "uVar4 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (if_statement "if (puVar3 != (undefined4 *)0x0) {\n      FUN_0001a960(*puVar3,uVar4);\n      uVar4 = param_1[1];\n    }" if (parenthesized_expression "(puVar3 != (undefined4 *)0x0)" ( (binary_expression "puVar3 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      FUN_0001a960(*puVar3,uVar4);\n      uVar4 = param_1[1];\n    }" { (expression_statement "FUN_0001a960(*puVar3,uVar4);" (call_expression "FUN_0001a960(*puVar3,uVar4)" identifier (argument_list "(*puVar3,uVar4)" ( (pointer_expression "*puVar3" * identifier) , identifier ))) ;) (expression_statement "uVar4 = param_1[1];" (assignment_expression "uVar4 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) })) (expression_statement "bVar1 = param_2 == (undefined4 *)PTR_LOOP_0004ee30;" (assignment_expression "bVar1 = param_2 == (undefined4 *)PTR_LOOP_0004ee30" identifier = (binary_expression "param_2 == (undefined4 *)PTR_LOOP_0004ee30" identifier == (cast_expression "(undefined4 *)PTR_LOOP_0004ee30" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (if_statement "if (bVar1) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n    }\n    else {\n      if (param_2 != (undefined4 *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n    }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n    }" { (expression_statement "(*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);" (call_expression "(*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_0004f2a4)" ( (pointer_expression "*(code *)PTR___fprintf_chk_0004f2a4" * (cast_expression "(code *)PTR___fprintf_chk_0004f2a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224)" ( identifier , number_literal , (binary_expression "PTR_LAB_0004ec08 + 0x7238" identifier + number_literal) , (binary_expression "PTR_LAB_0004ec08 + 0x7224" identifier + number_literal) ))) ;) }) (else_clause "else {\n      if (param_2 != (undefined4 *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n    }" else (compound_statement "{\n      if (param_2 != (undefined4 *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n    }" { (if_statement "if (param_2 != (undefined4 *)PTR_LOOP_0004ee34) goto LAB_0001bb50;" if (parenthesized_expression "(param_2 != (undefined4 *)PTR_LOOP_0004ee34)" ( (binary_expression "param_2 != (undefined4 *)PTR_LOOP_0004ee34" identifier != (cast_expression "(undefined4 *)PTR_LOOP_0004ee34" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (goto_statement "goto LAB_0001bb50;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);" (call_expression "(*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_0004f2a4)" ( (pointer_expression "*(code *)PTR___fprintf_chk_0004f2a4" * (cast_expression "(code *)PTR___fprintf_chk_0004f2a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c)" ( identifier , number_literal , (binary_expression "PTR_LAB_0004ec08 + 0x7238" identifier + number_literal) , (binary_expression "PTR_LAB_0004ec08 + 0x722c" identifier + number_literal) ))) ;) }))) (if_statement "if (param_3 == 0) {\n      return;\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) }))) (expression_statement "(*(code *)PTR___fprintf_chk_0004f2a4)(param_1[1],1,PTR_LAB_0004ec08 + 0x71d0,param_3);" (call_expression "(*(code *)PTR___fprintf_chk_0004f2a4)(param_1[1],1,PTR_LAB_0004ec08 + 0x71d0,param_3)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_0004f2a4)" ( (pointer_expression "*(code *)PTR___fprintf_chk_0004f2a4" * (cast_expression "(code *)PTR___fprintf_chk_0004f2a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[1],1,PTR_LAB_0004ec08 + 0x71d0,param_3)" ( (subscript_expression "param_1[1]" identifier [ number_literal ]) , number_literal , (binary_expression "PTR_LAB_0004ec08 + 0x71d0" identifier + number_literal) , identifier ))) ;) (labeled_statement "LAB_0001bb78:\n  puVar2 = PTR_LOOP_0004ee30;" statement_identifier : (expression_statement "puVar2 = PTR_LOOP_0004ee30;" (assignment_expression "puVar2 = PTR_LOOP_0004ee30" identifier = identifier) ;)) (if_statement "if (param_2 == (undefined4 *)0x0) {\n    if (*(int *)(PTR_LOOP_0004ee30 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n    }\n    puVar2 = PTR_LOOP_0004ee34;\n    if (*(int *)(PTR_LOOP_0004ee34 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n      return;\n    }\n  }" if (parenthesized_expression "(param_2 == (undefined4 *)0x0)" ( (binary_expression "param_2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (*(int *)(PTR_LOOP_0004ee30 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n    }\n    puVar2 = PTR_LOOP_0004ee34;\n    if (*(int *)(PTR_LOOP_0004ee34 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n      return;\n    }\n  }" { (if_statement "if (*(int *)(PTR_LOOP_0004ee30 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n    }" if (parenthesized_expression "(*(int *)(PTR_LOOP_0004ee30 + 0x10) != 0)" ( (binary_expression "*(int *)(PTR_LOOP_0004ee30 + 0x10) != 0" (pointer_expression "*(int *)(PTR_LOOP_0004ee30 + 0x10)" * (cast_expression "(int *)(PTR_LOOP_0004ee30 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LOOP_0004ee30 + 0x10)" ( (binary_expression "PTR_LOOP_0004ee30 + 0x10" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n    }" { (expression_statement "(*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);" (call_expression "(*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_0004f2a4)" ( (pointer_expression "*(code *)PTR___fprintf_chk_0004f2a4" * (cast_expression "(code *)PTR___fprintf_chk_0004f2a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224)" ( (subscript_expression "param_1[1]" identifier [ number_literal ]) , number_literal , (binary_expression "PTR_LAB_0004ec08 + 0x7238" identifier + number_literal) , (binary_expression "PTR_LAB_0004ec08 + 0x7224" identifier + number_literal) ))) ;) (expression_statement "FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);" (call_expression "FUN_0001a960(*(undefined4 *)puVar2,param_1[1])" identifier (argument_list "(*(undefined4 *)puVar2,param_1[1])" ( (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (subscript_expression "param_1[1]" identifier [ number_literal ]) ))) ;) })) (expression_statement "puVar2 = PTR_LOOP_0004ee34;" (assignment_expression "puVar2 = PTR_LOOP_0004ee34" identifier = identifier) ;) (if_statement "if (*(int *)(PTR_LOOP_0004ee34 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n      return;\n    }" if (parenthesized_expression "(*(int *)(PTR_LOOP_0004ee34 + 0x10) != 0)" ( (binary_expression "*(int *)(PTR_LOOP_0004ee34 + 0x10) != 0" (pointer_expression "*(int *)(PTR_LOOP_0004ee34 + 0x10)" * (cast_expression "(int *)(PTR_LOOP_0004ee34 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LOOP_0004ee34 + 0x10)" ( (binary_expression "PTR_LOOP_0004ee34 + 0x10" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n      return;\n    }" { (expression_statement "(*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);" (call_expression "(*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_0004f2a4)" ( (pointer_expression "*(code *)PTR___fprintf_chk_0004f2a4" * (cast_expression "(code *)PTR___fprintf_chk_0004f2a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c)" ( (subscript_expression "param_1[1]" identifier [ number_literal ]) , number_literal , (binary_expression "PTR_LAB_0004ec08 + 0x7238" identifier + number_literal) , (binary_expression "PTR_LAB_0004ec08 + 0x722c" identifier + number_literal) ))) ;) (expression_statement "FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);" (call_expression "FUN_0001a960(*(undefined4 *)puVar2,param_1[1])" identifier (argument_list "(*(undefined4 *)puVar2,param_1[1])" ( (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (subscript_expression "param_1[1]" identifier [ number_literal ]) ))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (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 + LIT) ))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (goto_statement goto statement_identifier ;)) (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 + LIT) ))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , LIT , (binary_expression IDENT + LIT) , IDENT ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 ( (subscript_expression IDENT [ LIT ]) , LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , (subscript_expression IDENT [ LIT ]) ))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 ( (subscript_expression IDENT [ LIT ]) , LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , (subscript_expression IDENT [ LIT ]) ))) ;) (return_statement return ;) })) })) (return_statement return ;) })))
(function_definition "void FUN_0001badc(undefined4 *param_1,undefined4 *param_2,int param_3)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  puVar3 = (undefined4 *)*param_1;\n  if (puVar3 == param_2) {\nLAB_0001bb50:\n    if (param_3 == 0) goto LAB_0001bb78;\n  }\n  else {\n    uVar4 = param_1[1];\n    if (puVar3 != (undefined4 *)0x0) {\n      FUN_0001a960(*puVar3,uVar4);\n      uVar4 = param_1[1];\n    }\n    bVar1 = param_2 == (undefined4 *)PTR_LOOP_0004ee30;\n    *param_1 = param_2;\n    if (bVar1) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n    }\n    else {\n      if (param_2 != (undefined4 *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n    }\n    if (param_3 == 0) {\n      return;\n    }\n  }\n  (*(code *)PTR___fprintf_chk_0004f2a4)(param_1[1],1,PTR_LAB_0004ec08 + 0x71d0,param_3);\nLAB_0001bb78:\n  puVar2 = PTR_LOOP_0004ee30;\n  if (param_2 == (undefined4 *)0x0) {\n    if (*(int *)(PTR_LOOP_0004ee30 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n    }\n    puVar2 = PTR_LOOP_0004ee34;\n    if (*(int *)(PTR_LOOP_0004ee34 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n      return;\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0001badc(undefined4 *param_1,undefined4 *param_2,int param_3)" (identifier "FUN_0001badc") (parameter_list "(undefined4 *param_1,undefined4 *param_2,int param_3)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  puVar3 = (undefined4 *)*param_1;\n  if (puVar3 == param_2) {\nLAB_0001bb50:\n    if (param_3 == 0) goto LAB_0001bb78;\n  }\n  else {\n    uVar4 = param_1[1];\n    if (puVar3 != (undefined4 *)0x0) {\n      FUN_0001a960(*puVar3,uVar4);\n      uVar4 = param_1[1];\n    }\n    bVar1 = param_2 == (undefined4 *)PTR_LOOP_0004ee30;\n    *param_1 = param_2;\n    if (bVar1) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n    }\n    else {\n      if (param_2 != (undefined4 *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n    }\n    if (param_3 == 0) {\n      return;\n    }\n  }\n  (*(code *)PTR___fprintf_chk_0004f2a4)(param_1[1],1,PTR_LAB_0004ec08 + 0x71d0,param_3);\nLAB_0001bb78:\n  puVar2 = PTR_LOOP_0004ee30;\n  if (param_2 == (undefined4 *)0x0) {\n    if (*(int *)(PTR_LOOP_0004ee30 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n    }\n    puVar2 = PTR_LOOP_0004ee34;\n    if (*(int *)(PTR_LOOP_0004ee34 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n      return;\n    }\n  }\n  return;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (expression_statement "puVar3 = (undefined4 *)*param_1;" (assignment_expression "puVar3 = (undefined4 *)*param_1" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)*param_1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if (puVar3 == param_2) {\nLAB_0001bb50:\n    if (param_3 == 0) goto LAB_0001bb78;\n  }\n  else {\n    uVar4 = param_1[1];\n    if (puVar3 != (undefined4 *)0x0) {\n      FUN_0001a960(*puVar3,uVar4);\n      uVar4 = param_1[1];\n    }\n    bVar1 = param_2 == (undefined4 *)PTR_LOOP_0004ee30;\n    *param_1 = param_2;\n    if (bVar1) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n    }\n    else {\n      if (param_2 != (undefined4 *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n    }\n    if (param_3 == 0) {\n      return;\n    }\n  }" (if "if") (parenthesized_expression "(puVar3 == param_2)" (( "(") (binary_expression "puVar3 == param_2" (identifier "puVar3") (== "==") (identifier "param_2")) () ")")) (compound_statement "{\nLAB_0001bb50:\n    if (param_3 == 0) goto LAB_0001bb78;\n  }" ({ "{") (labeled_statement "LAB_0001bb50:\n    if (param_3 == 0) goto LAB_0001bb78;" (statement_identifier "LAB_0001bb50") (: ":") (if_statement "if (param_3 == 0) goto LAB_0001bb78;" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0001bb78;" (goto "goto") (statement_identifier "LAB_0001bb78") (; ";")))) (} "}")) (else_clause "else {\n    uVar4 = param_1[1];\n    if (puVar3 != (undefined4 *)0x0) {\n      FUN_0001a960(*puVar3,uVar4);\n      uVar4 = param_1[1];\n    }\n    bVar1 = param_2 == (undefined4 *)PTR_LOOP_0004ee30;\n    *param_1 = param_2;\n    if (bVar1) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n    }\n    else {\n      if (param_2 != (undefined4 *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n    }\n    if (param_3 == 0) {\n      return;\n    }\n  }" (else "else") (compound_statement "{\n    uVar4 = param_1[1];\n    if (puVar3 != (undefined4 *)0x0) {\n      FUN_0001a960(*puVar3,uVar4);\n      uVar4 = param_1[1];\n    }\n    bVar1 = param_2 == (undefined4 *)PTR_LOOP_0004ee30;\n    *param_1 = param_2;\n    if (bVar1) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n    }\n    else {\n      if (param_2 != (undefined4 *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n    }\n    if (param_3 == 0) {\n      return;\n    }\n  }" ({ "{") (expression_statement "uVar4 = param_1[1];" (assignment_expression "uVar4 = param_1[1]" (identifier "uVar4") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (puVar3 != (undefined4 *)0x0) {\n      FUN_0001a960(*puVar3,uVar4);\n      uVar4 = param_1[1];\n    }" (if "if") (parenthesized_expression "(puVar3 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar3 != (undefined4 *)0x0" (identifier "puVar3") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      FUN_0001a960(*puVar3,uVar4);\n      uVar4 = param_1[1];\n    }" ({ "{") (expression_statement "FUN_0001a960(*puVar3,uVar4);" (call_expression "FUN_0001a960(*puVar3,uVar4)" (identifier "FUN_0001a960") (argument_list "(*puVar3,uVar4)" (( "(") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (, ",") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "uVar4 = param_1[1];" (assignment_expression "uVar4 = param_1[1]" (identifier "uVar4") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}"))) (expression_statement "bVar1 = param_2 == (undefined4 *)PTR_LOOP_0004ee30;" (assignment_expression "bVar1 = param_2 == (undefined4 *)PTR_LOOP_0004ee30" (identifier "bVar1") (= "=") (binary_expression "param_2 == (undefined4 *)PTR_LOOP_0004ee30" (identifier "param_2") (== "==") (cast_expression "(undefined4 *)PTR_LOOP_0004ee30" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_LOOP_0004ee30")))) (; ";")) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "param_2")) (; ";")) (if_statement "if (bVar1) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n    }\n    else {\n      if (param_2 != (undefined4 *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n    }" (if "if") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (compound_statement "{\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n    }" ({ "{") (expression_statement "(*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);" (call_expression "(*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_0004f2a4)" (( "(") (pointer_expression "*(code *)PTR___fprintf_chk_0004f2a4" (* "*") (cast_expression "(code *)PTR___fprintf_chk_0004f2a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___fprintf_chk_0004f2a4"))) () ")")) (argument_list "(uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224)" (( "(") (identifier "uVar4") (, ",") (number_literal "1") (, ",") (binary_expression "PTR_LAB_0004ec08 + 0x7238" (identifier "PTR_LAB_0004ec08") (+ "+") (number_literal "0x7238")) (, ",") (binary_expression "PTR_LAB_0004ec08 + 0x7224" (identifier "PTR_LAB_0004ec08") (+ "+") (number_literal "0x7224")) () ")"))) (; ";")) (} "}")) (else_clause "else {\n      if (param_2 != (undefined4 *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n    }" (else "else") (compound_statement "{\n      if (param_2 != (undefined4 *)PTR_LOOP_0004ee34) goto LAB_0001bb50;\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n    }" ({ "{") (if_statement "if (param_2 != (undefined4 *)PTR_LOOP_0004ee34) goto LAB_0001bb50;" (if "if") (parenthesized_expression "(param_2 != (undefined4 *)PTR_LOOP_0004ee34)" (( "(") (binary_expression "param_2 != (undefined4 *)PTR_LOOP_0004ee34" (identifier "param_2") (!= "!=") (cast_expression "(undefined4 *)PTR_LOOP_0004ee34" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_LOOP_0004ee34"))) () ")")) (goto_statement "goto LAB_0001bb50;" (goto "goto") (statement_identifier "LAB_0001bb50") (; ";"))) (expression_statement "(*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);" (call_expression "(*(code *)PTR___fprintf_chk_0004f2a4)\n                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_0004f2a4)" (( "(") (pointer_expression "*(code *)PTR___fprintf_chk_0004f2a4" (* "*") (cast_expression "(code *)PTR___fprintf_chk_0004f2a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___fprintf_chk_0004f2a4"))) () ")")) (argument_list "(uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c)" (( "(") (identifier "uVar4") (, ",") (number_literal "1") (, ",") (binary_expression "PTR_LAB_0004ec08 + 0x7238" (identifier "PTR_LAB_0004ec08") (+ "+") (number_literal "0x7238")) (, ",") (binary_expression "PTR_LAB_0004ec08 + 0x722c" (identifier "PTR_LAB_0004ec08") (+ "+") (number_literal "0x722c")) () ")"))) (; ";")) (} "}")))) (if_statement "if (param_3 == 0) {\n      return;\n    }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")))) (expression_statement "(*(code *)PTR___fprintf_chk_0004f2a4)(param_1[1],1,PTR_LAB_0004ec08 + 0x71d0,param_3);" (call_expression "(*(code *)PTR___fprintf_chk_0004f2a4)(param_1[1],1,PTR_LAB_0004ec08 + 0x71d0,param_3)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_0004f2a4)" (( "(") (pointer_expression "*(code *)PTR___fprintf_chk_0004f2a4" (* "*") (cast_expression "(code *)PTR___fprintf_chk_0004f2a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___fprintf_chk_0004f2a4"))) () ")")) (argument_list "(param_1[1],1,PTR_LAB_0004ec08 + 0x71d0,param_3)" (( "(") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (, ",") (number_literal "1") (, ",") (binary_expression "PTR_LAB_0004ec08 + 0x71d0" (identifier "PTR_LAB_0004ec08") (+ "+") (number_literal "0x71d0")) (, ",") (identifier "param_3") () ")"))) (; ";")) (labeled_statement "LAB_0001bb78:\n  puVar2 = PTR_LOOP_0004ee30;" (statement_identifier "LAB_0001bb78") (: ":") (expression_statement "puVar2 = PTR_LOOP_0004ee30;" (assignment_expression "puVar2 = PTR_LOOP_0004ee30" (identifier "puVar2") (= "=") (identifier "PTR_LOOP_0004ee30")) (; ";"))) (if_statement "if (param_2 == (undefined4 *)0x0) {\n    if (*(int *)(PTR_LOOP_0004ee30 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n    }\n    puVar2 = PTR_LOOP_0004ee34;\n    if (*(int *)(PTR_LOOP_0004ee34 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n      return;\n    }\n  }" (if "if") (parenthesized_expression "(param_2 == (undefined4 *)0x0)" (( "(") (binary_expression "param_2 == (undefined4 *)0x0" (identifier "param_2") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    if (*(int *)(PTR_LOOP_0004ee30 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n    }\n    puVar2 = PTR_LOOP_0004ee34;\n    if (*(int *)(PTR_LOOP_0004ee34 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n      return;\n    }\n  }" ({ "{") (if_statement "if (*(int *)(PTR_LOOP_0004ee30 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n    }" (if "if") (parenthesized_expression "(*(int *)(PTR_LOOP_0004ee30 + 0x10) != 0)" (( "(") (binary_expression "*(int *)(PTR_LOOP_0004ee30 + 0x10) != 0" (pointer_expression "*(int *)(PTR_LOOP_0004ee30 + 0x10)" (* "*") (cast_expression "(int *)(PTR_LOOP_0004ee30 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LOOP_0004ee30 + 0x10)" (( "(") (binary_expression "PTR_LOOP_0004ee30 + 0x10" (identifier "PTR_LOOP_0004ee30") (+ "+") (number_literal "0x10")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n    }" ({ "{") (expression_statement "(*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);" (call_expression "(*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_0004f2a4)" (( "(") (pointer_expression "*(code *)PTR___fprintf_chk_0004f2a4" (* "*") (cast_expression "(code *)PTR___fprintf_chk_0004f2a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___fprintf_chk_0004f2a4"))) () ")")) (argument_list "(param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224)" (( "(") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (, ",") (number_literal "1") (, ",") (binary_expression "PTR_LAB_0004ec08 + 0x7238" (identifier "PTR_LAB_0004ec08") (+ "+") (number_literal "0x7238")) (, ",") (binary_expression "PTR_LAB_0004ec08 + 0x7224" (identifier "PTR_LAB_0004ec08") (+ "+") (number_literal "0x7224")) () ")"))) (; ";")) (expression_statement "FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);" (call_expression "FUN_0001a960(*(undefined4 *)puVar2,param_1[1])" (identifier "FUN_0001a960") (argument_list "(*(undefined4 *)puVar2,param_1[1])" (( "(") (pointer_expression "*(undefined4 *)puVar2" (* "*") (cast_expression "(undefined4 *)puVar2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2"))) (, ",") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) () ")"))) (; ";")) (} "}"))) (expression_statement "puVar2 = PTR_LOOP_0004ee34;" (assignment_expression "puVar2 = PTR_LOOP_0004ee34" (identifier "puVar2") (= "=") (identifier "PTR_LOOP_0004ee34")) (; ";")) (if_statement "if (*(int *)(PTR_LOOP_0004ee34 + 0x10) != 0) {\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n      return;\n    }" (if "if") (parenthesized_expression "(*(int *)(PTR_LOOP_0004ee34 + 0x10) != 0)" (( "(") (binary_expression "*(int *)(PTR_LOOP_0004ee34 + 0x10) != 0" (pointer_expression "*(int *)(PTR_LOOP_0004ee34 + 0x10)" (* "*") (cast_expression "(int *)(PTR_LOOP_0004ee34 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LOOP_0004ee34 + 0x10)" (( "(") (binary_expression "PTR_LOOP_0004ee34 + 0x10" (identifier "PTR_LOOP_0004ee34") (+ "+") (number_literal "0x10")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      (*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);\n      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);\n      return;\n    }" ({ "{") (expression_statement "(*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);" (call_expression "(*(code *)PTR___fprintf_chk_0004f2a4)\n                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_0004f2a4)" (( "(") (pointer_expression "*(code *)PTR___fprintf_chk_0004f2a4" (* "*") (cast_expression "(code *)PTR___fprintf_chk_0004f2a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___fprintf_chk_0004f2a4"))) () ")")) (argument_list "(param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c)" (( "(") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (, ",") (number_literal "1") (, ",") (binary_expression "PTR_LAB_0004ec08 + 0x7238" (identifier "PTR_LAB_0004ec08") (+ "+") (number_literal "0x7238")) (, ",") (binary_expression "PTR_LAB_0004ec08 + 0x722c" (identifier "PTR_LAB_0004ec08") (+ "+") (number_literal "0x722c")) () ")"))) (; ";")) (expression_statement "FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);" (call_expression "FUN_0001a960(*(undefined4 *)puVar2,param_1[1])" (identifier "FUN_0001a960") (argument_list "(*(undefined4 *)puVar2,param_1[1])" (( "(") (pointer_expression "*(undefined4 *)puVar2" (* "*") (cast_expression "(undefined4 *)puVar2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2"))) (, ",") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (if_statement condition: (parenthesized_expression (identifier)) 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) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) consequence: (goto_statement label: (statement_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) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_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 (subscript_expression argument: (identifier) index: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (identifier)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (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))))) 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 (subscript_expression argument: (identifier) index: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) (subscript_expression argument: (identifier) index: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (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))))) 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 (subscript_expression argument: (identifier) index: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) (subscript_expression argument: (identifier) index: (number_literal))))) (return_statement))))) (return_statement))))

void MASKED(undefined4 *param_1,undefined4 *param_2,int param_3)

{
  bool bVar1;
  undefined *puVar2;
  undefined4 *puVar3;
  undefined4 uVar4;
  
  puVar3 = (undefined4 *)*param_1;
  if (puVar3 == param_2) {
LAB_0001bb50:
    if (param_3 == 0) goto LAB_0001bb78;
  }
  else {
    uVar4 = param_1[1];
    if (puVar3 != (undefined4 *)0x0) {
      FUN_0001a960(*puVar3,uVar4);
      uVar4 = param_1[1];
    }
    bVar1 = param_2 == (undefined4 *)PTR_LOOP_0004ee30;
    *param_1 = param_2;
    if (bVar1) {
      (*(code *)PTR___fprintf_chk_0004f2a4)
                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);
    }
    else {
      if (param_2 != (undefined4 *)PTR_LOOP_0004ee34) goto LAB_0001bb50;
      (*(code *)PTR___fprintf_chk_0004f2a4)
                (uVar4,1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);
    }
    if (param_3 == 0) {
      return;
    }
  }
  (*(code *)PTR___fprintf_chk_0004f2a4)(param_1[1],1,PTR_LAB_0004ec08 + 0x71d0,param_3);
LAB_0001bb78:
  puVar2 = PTR_LOOP_0004ee30;
  if (param_2 == (undefined4 *)0x0) {
    if (*(int *)(PTR_LOOP_0004ee30 + 0x10) != 0) {
      (*(code *)PTR___fprintf_chk_0004f2a4)
                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x7224);
      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);
    }
    puVar2 = PTR_LOOP_0004ee34;
    if (*(int *)(PTR_LOOP_0004ee34 + 0x10) != 0) {
      (*(code *)PTR___fprintf_chk_0004f2a4)
                (param_1[1],1,PTR_LAB_0004ec08 + 0x7238,PTR_LAB_0004ec08 + 0x722c);
      FUN_0001a960(*(undefined4 *)puVar2,param_1[1]);
      return;
    }
  }
  return;
}

