
void ErrorMsg(char *filename,int lineno,char *format,...)

{
  char cVar1;
  undefined *puVar2;
  int iVar3;
  char *pcVar4;
  char *pcVar5;
  undefined4 in_a3;
  undefined *puVar6;
  code *pcVar7;
  undefined4 local_resc;
  va_list ap;
  
  puVar2 = PTR_stderr_0003334c;
  puVar6 = PTR___stack_chk_guard_00033340;
  iVar3 = *(int *)PTR___stack_chk_guard_00033340;
  local_resc = in_a3;
  (*(code *)PTR___fprintf_chk_000332cc)
            (*(undefined4 *)PTR_stderr_0003334c,1,PTR_LAB_00033198 + 0x414,filename,lineno);
  (*(code *)PTR___vfprintf_chk_00033358)(*(undefined4 *)puVar2,1,format,&local_resc);
  (*(code *)PTR_fputc_000332dc)(10,*(undefined4 *)puVar2);
  if (iVar3 == *(int *)puVar6) {
    return;
  }
  puVar6 = PTR___stack_chk_fail_00033338;
  (*(code *)PTR___stack_chk_fail_00033338)();
  (**(code **)(puVar6 + 0x1f050))
            (*(int *)(puVar6 + 0x1eebc) + 0x41c,1,0x1c,**(undefined4 **)(puVar6 + 0x1f070));
  pcVar7 = *(code **)(puVar6 + 0x1f034);
  pcVar5 = (char *)0x1;
  (*pcVar7)();
  iVar3 = (**(code **)(pcVar7 + 0x1efe4))();
  pcVar4 = (char *)(**(code **)(pcVar7 + 0x1eff8))(iVar3 + 1);
  *(char **)(*(int *)(pcVar7 + 0x1ee64) + 0x33dc) = pcVar4;
  if (pcVar4 != (char *)0x0) {
    do {
      cVar1 = *pcVar5;
      *pcVar4 = cVar1;
      pcVar4 = pcVar4 + 1;
      pcVar5 = pcVar5 + 1;
    } while (cVar1 != '\0');
    return;
  }
                    /* WARNING: Subroutine does not return */
  memory_error();
}



void ErrorMsg(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  char cVar1;
  undefined *puVar2;
  int iVar3;
  char *pcVar4;
  char *pcVar5;
  undefined *puVar6;
  code *pcVar7;
  undefined4 local_resc;
  
  puVar2 = PTR_stderr_0003334c;
  puVar6 = PTR___stack_chk_guard_00033340;
  iVar3 = *(int *)PTR___stack_chk_guard_00033340;
  local_resc = param_4;
  (*(code *)PTR___fprintf_chk_000332cc)
            (*(undefined4 *)PTR_stderr_0003334c,1,PTR_LAB_00033198 + 0x414,param_1,param_2);
  (*(code *)PTR___vfprintf_chk_00033358)(*(undefined4 *)puVar2,1,param_3,&local_resc);
  (*(code *)PTR_fputc_000332dc)(10,*(undefined4 *)puVar2);
  if (iVar3 == *(int *)puVar6) {
    return;
  }
  puVar6 = PTR___stack_chk_fail_00033338;
  (*(code *)PTR___stack_chk_fail_00033338)();
  (**(code **)(puVar6 + 0x1f050))
            (*(int *)(puVar6 + 0x1eebc) + 0x41c,1,0x1c,**(undefined4 **)(puVar6 + 0x1f070));
  pcVar7 = *(code **)(puVar6 + 0x1f034);
  pcVar5 = (char *)0x1;
  (*pcVar7)();
  iVar3 = (**(code **)(pcVar7 + 0x1efe4))();
  pcVar4 = (char *)(**(code **)(pcVar7 + 0x1eff8))(iVar3 + 1);
  *(char **)(*(int *)(pcVar7 + 0x1ee64) + 0x33dc) = pcVar4;
  if (pcVar4 != (char *)0x0) {
    do {
      cVar1 = *pcVar5;
      *pcVar4 = cVar1;
      pcVar4 = pcVar4 + 1;
      pcVar5 = pcVar5 + 1;
    } while (cVar1 != '\0');
    return;
  }
                    /* WARNING: Subroutine does not return */
  memory_error();
}


lui gp,0x2
addiu gp,gp,0x6f50
addu gp,gp,t9
addiu sp,sp,-0x38
lw t9,-0x7e94(gp)
sw s1,0x2c(sp)
sw s0,0x28(sp)
sw ra,0x34(sp)
sw gp,0x18(sp)
sw s2,0x30(sp)
or s2,a2,zero
sw a3,0x44(sp)
or a3,a0,zero
sw a1,0x10(sp)
li a1,0x1
lw s1,-0x7e20(gp)
lw s0,-0x7e14(gp)
lw a2,-0x7fc8(gp)
lw v0,0x0(s1)
lw a0,0x0(s0)
addiu a2,a2,0x414
sw v0,0x24(sp)
jalr t9
_nop
addiu v0,sp,0x44
lw gp,0x18(sp)
li a1,0x1
lw a0,0x0(s0)
or a3,v0,zero
or a2,s2,zero
lw t9,-0x7e08(gp)
jalr t9
_sw v0,0x20(sp)
li a0,0xa
lw gp,0x18(sp)
lw t9,-0x7e84(gp)
jalr t9
_lw a1,0x0(s0)
lw v1,0x24(sp)
lw v0,0x0(s1)
bne v1,v0,0x000142d0
_lw gp,0x18(sp)
lw ra,0x34(sp)
lw s2,0x30(sp)
lw s1,0x2c(sp)
lw s0,0x28(sp)
jr ra
_addiu sp,sp,0x38
lw t9,-0x7e28(gp)
jalr t9
_nop
(translation_unit "void ErrorMsg(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  int iVar3;\n  char *pcVar4;\n  char *pcVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  undefined4 local_resc;\n  \n  puVar2 = PTR_stderr_0003334c;\n  puVar6 = PTR___stack_chk_guard_00033340;\n  iVar3 = *(int *)PTR___stack_chk_guard_00033340;\n  local_resc = param_4;\n  (*(code *)PTR___fprintf_chk_000332cc)\n            (*(undefined4 *)PTR_stderr_0003334c,1,PTR_LAB_00033198 + 0x414,param_1,param_2);\n  (*(code *)PTR___vfprintf_chk_00033358)(*(undefined4 *)puVar2,1,param_3,&local_resc);\n  (*(code *)PTR_fputc_000332dc)(10,*(undefined4 *)puVar2);\n  if (iVar3 == *(int *)puVar6) {\n    return;\n  }\n  puVar6 = PTR___stack_chk_fail_00033338;\n  (*(code *)PTR___stack_chk_fail_00033338)();\n  (**(code **)(puVar6 + 0x1f050))\n            (*(int *)(puVar6 + 0x1eebc) + 0x41c,1,0x1c,**(undefined4 **)(puVar6 + 0x1f070));\n  pcVar7 = *(code **)(puVar6 + 0x1f034);\n  pcVar5 = (char *)0x1;\n  (*pcVar7)();\n  iVar3 = (**(code **)(pcVar7 + 0x1efe4))();\n  pcVar4 = (char *)(**(code **)(pcVar7 + 0x1eff8))(iVar3 + 1);\n  *(char **)(*(int *)(pcVar7 + 0x1ee64) + 0x33dc) = pcVar4;\n  if (pcVar4 != (char *)0x0) {\n    do {\n      cVar1 = *pcVar5;\n      *pcVar4 = cVar1;\n      pcVar4 = pcVar4 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (cVar1 != '\0');\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  memory_error();\n}\n\n" (function_definition "void ErrorMsg(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  int iVar3;\n  char *pcVar4;\n  char *pcVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  undefined4 local_resc;\n  \n  puVar2 = PTR_stderr_0003334c;\n  puVar6 = PTR___stack_chk_guard_00033340;\n  iVar3 = *(int *)PTR___stack_chk_guard_00033340;\n  local_resc = param_4;\n  (*(code *)PTR___fprintf_chk_000332cc)\n            (*(undefined4 *)PTR_stderr_0003334c,1,PTR_LAB_00033198 + 0x414,param_1,param_2);\n  (*(code *)PTR___vfprintf_chk_00033358)(*(undefined4 *)puVar2,1,param_3,&local_resc);\n  (*(code *)PTR_fputc_000332dc)(10,*(undefined4 *)puVar2);\n  if (iVar3 == *(int *)puVar6) {\n    return;\n  }\n  puVar6 = PTR___stack_chk_fail_00033338;\n  (*(code *)PTR___stack_chk_fail_00033338)();\n  (**(code **)(puVar6 + 0x1f050))\n            (*(int *)(puVar6 + 0x1eebc) + 0x41c,1,0x1c,**(undefined4 **)(puVar6 + 0x1f070));\n  pcVar7 = *(code **)(puVar6 + 0x1f034);\n  pcVar5 = (char *)0x1;\n  (*pcVar7)();\n  iVar3 = (**(code **)(pcVar7 + 0x1efe4))();\n  pcVar4 = (char *)(**(code **)(pcVar7 + 0x1eff8))(iVar3 + 1);\n  *(char **)(*(int *)(pcVar7 + 0x1ee64) + 0x33dc) = pcVar4;\n  if (pcVar4 != (char *)0x0) {\n    do {\n      cVar1 = *pcVar5;\n      *pcVar4 = cVar1;\n      pcVar4 = pcVar4 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (cVar1 != '\0');\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  memory_error();\n}" primitive_type (function_declarator "ErrorMsg(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  char cVar1;\n  undefined *puVar2;\n  int iVar3;\n  char *pcVar4;\n  char *pcVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  undefined4 local_resc;\n  \n  puVar2 = PTR_stderr_0003334c;\n  puVar6 = PTR___stack_chk_guard_00033340;\n  iVar3 = *(int *)PTR___stack_chk_guard_00033340;\n  local_resc = param_4;\n  (*(code *)PTR___fprintf_chk_000332cc)\n            (*(undefined4 *)PTR_stderr_0003334c,1,PTR_LAB_00033198 + 0x414,param_1,param_2);\n  (*(code *)PTR___vfprintf_chk_00033358)(*(undefined4 *)puVar2,1,param_3,&local_resc);\n  (*(code *)PTR_fputc_000332dc)(10,*(undefined4 *)puVar2);\n  if (iVar3 == *(int *)puVar6) {\n    return;\n  }\n  puVar6 = PTR___stack_chk_fail_00033338;\n  (*(code *)PTR___stack_chk_fail_00033338)();\n  (**(code **)(puVar6 + 0x1f050))\n            (*(int *)(puVar6 + 0x1eebc) + 0x41c,1,0x1c,**(undefined4 **)(puVar6 + 0x1f070));\n  pcVar7 = *(code **)(puVar6 + 0x1f034);\n  pcVar5 = (char *)0x1;\n  (*pcVar7)();\n  iVar3 = (**(code **)(pcVar7 + 0x1efe4))();\n  pcVar4 = (char *)(**(code **)(pcVar7 + 0x1eff8))(iVar3 + 1);\n  *(char **)(*(int *)(pcVar7 + 0x1ee64) + 0x33dc) = pcVar4;\n  if (pcVar4 != (char *)0x0) {\n    do {\n      cVar1 = *pcVar5;\n      *pcVar4 = cVar1;\n      pcVar4 = pcVar4 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (cVar1 != '\0');\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  memory_error();\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "code *pcVar7;" type_identifier (pointer_declarator "*pcVar7" * identifier) ;) (declaration "undefined4 local_resc;" type_identifier identifier ;) (expression_statement "puVar2 = PTR_stderr_0003334c;" (assignment_expression "puVar2 = PTR_stderr_0003334c" identifier = identifier) ;) (expression_statement "puVar6 = PTR___stack_chk_guard_00033340;" (assignment_expression "puVar6 = PTR___stack_chk_guard_00033340" identifier = identifier) ;) (expression_statement "iVar3 = *(int *)PTR___stack_chk_guard_00033340;" (assignment_expression "iVar3 = *(int *)PTR___stack_chk_guard_00033340" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00033340" * (cast_expression "(int *)PTR___stack_chk_guard_00033340" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "local_resc = param_4;" (assignment_expression "local_resc = param_4" identifier = identifier) ;) (expression_statement "(*(code *)PTR___fprintf_chk_000332cc)\n            (*(undefined4 *)PTR_stderr_0003334c,1,PTR_LAB_00033198 + 0x414,param_1,param_2);" (call_expression "(*(code *)PTR___fprintf_chk_000332cc)\n            (*(undefined4 *)PTR_stderr_0003334c,1,PTR_LAB_00033198 + 0x414,param_1,param_2)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000332cc)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000332cc" * (cast_expression "(code *)PTR___fprintf_chk_000332cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_stderr_0003334c,1,PTR_LAB_00033198 + 0x414,param_1,param_2)" ( (pointer_expression "*(undefined4 *)PTR_stderr_0003334c" * (cast_expression "(undefined4 *)PTR_stderr_0003334c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , (binary_expression "PTR_LAB_00033198 + 0x414" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR___vfprintf_chk_00033358)(*(undefined4 *)puVar2,1,param_3,&local_resc);" (call_expression "(*(code *)PTR___vfprintf_chk_00033358)(*(undefined4 *)puVar2,1,param_3,&local_resc)" (parenthesized_expression "(*(code *)PTR___vfprintf_chk_00033358)" ( (pointer_expression "*(code *)PTR___vfprintf_chk_00033358" * (cast_expression "(code *)PTR___vfprintf_chk_00033358" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)puVar2,1,param_3,&local_resc)" ( (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , (pointer_expression "&local_resc" & identifier) ))) ;) (expression_statement "(*(code *)PTR_fputc_000332dc)(10,*(undefined4 *)puVar2);" (call_expression "(*(code *)PTR_fputc_000332dc)(10,*(undefined4 *)puVar2)" (parenthesized_expression "(*(code *)PTR_fputc_000332dc)" ( (pointer_expression "*(code *)PTR_fputc_000332dc" * (cast_expression "(code *)PTR_fputc_000332dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10,*(undefined4 *)puVar2)" ( number_literal , (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (if_statement "if (iVar3 == *(int *)puVar6) {\n    return;\n  }" if (parenthesized_expression "(iVar3 == *(int *)puVar6)" ( (binary_expression "iVar3 == *(int *)puVar6" identifier == (pointer_expression "*(int *)puVar6" * (cast_expression "(int *)puVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar6 = PTR___stack_chk_fail_00033338;" (assignment_expression "puVar6 = PTR___stack_chk_fail_00033338" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00033338)();" (call_expression "(*(code *)PTR___stack_chk_fail_00033338)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00033338)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00033338" * (cast_expression "(code *)PTR___stack_chk_fail_00033338" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "(**(code **)(puVar6 + 0x1f050))\n            (*(int *)(puVar6 + 0x1eebc) + 0x41c,1,0x1c,**(undefined4 **)(puVar6 + 0x1f070));" (call_expression "(**(code **)(puVar6 + 0x1f050))\n            (*(int *)(puVar6 + 0x1eebc) + 0x41c,1,0x1c,**(undefined4 **)(puVar6 + 0x1f070))" (parenthesized_expression "(**(code **)(puVar6 + 0x1f050))" ( (pointer_expression "**(code **)(puVar6 + 0x1f050)" * (pointer_expression "*(code **)(puVar6 + 0x1f050)" * (cast_expression "(code **)(puVar6 + 0x1f050)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x1f050)" ( (binary_expression "puVar6 + 0x1f050" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar6 + 0x1eebc) + 0x41c,1,0x1c,**(undefined4 **)(puVar6 + 0x1f070))" ( (binary_expression "*(int *)(puVar6 + 0x1eebc) + 0x41c" (pointer_expression "*(int *)(puVar6 + 0x1eebc)" * (cast_expression "(int *)(puVar6 + 0x1eebc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x1eebc)" ( (binary_expression "puVar6 + 0x1eebc" identifier + number_literal) )))) + number_literal) , number_literal , number_literal , (pointer_expression "**(undefined4 **)(puVar6 + 0x1f070)" * (pointer_expression "*(undefined4 **)(puVar6 + 0x1f070)" * (cast_expression "(undefined4 **)(puVar6 + 0x1f070)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x1f070)" ( (binary_expression "puVar6 + 0x1f070" identifier + number_literal) ))))) ))) ;) (expression_statement "pcVar7 = *(code **)(puVar6 + 0x1f034);" (assignment_expression "pcVar7 = *(code **)(puVar6 + 0x1f034)" identifier = (pointer_expression "*(code **)(puVar6 + 0x1f034)" * (cast_expression "(code **)(puVar6 + 0x1f034)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x1f034)" ( (binary_expression "puVar6 + 0x1f034" identifier + number_literal) ))))) ;) (expression_statement "pcVar5 = (char *)0x1;" (assignment_expression "pcVar5 = (char *)0x1" identifier = (cast_expression "(char *)0x1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(*pcVar7)();" (call_expression "(*pcVar7)()" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "iVar3 = (**(code **)(pcVar7 + 0x1efe4))();" (assignment_expression "iVar3 = (**(code **)(pcVar7 + 0x1efe4))()" identifier = (call_expression "(**(code **)(pcVar7 + 0x1efe4))()" (parenthesized_expression "(**(code **)(pcVar7 + 0x1efe4))" ( (pointer_expression "**(code **)(pcVar7 + 0x1efe4)" * (pointer_expression "*(code **)(pcVar7 + 0x1efe4)" * (cast_expression "(code **)(pcVar7 + 0x1efe4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar7 + 0x1efe4)" ( (binary_expression "pcVar7 + 0x1efe4" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "pcVar4 = (char *)(**(code **)(pcVar7 + 0x1eff8))(iVar3 + 1);" (assignment_expression "pcVar4 = (char *)(**(code **)(pcVar7 + 0x1eff8))(iVar3 + 1)" identifier = (cast_expression "(char *)(**(code **)(pcVar7 + 0x1eff8))(iVar3 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar7 + 0x1eff8))(iVar3 + 1)" (parenthesized_expression "(**(code **)(pcVar7 + 0x1eff8))" ( (pointer_expression "**(code **)(pcVar7 + 0x1eff8)" * (pointer_expression "*(code **)(pcVar7 + 0x1eff8)" * (cast_expression "(code **)(pcVar7 + 0x1eff8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar7 + 0x1eff8)" ( (binary_expression "pcVar7 + 0x1eff8" identifier + number_literal) ))))) )) (argument_list "(iVar3 + 1)" ( (binary_expression "iVar3 + 1" identifier + number_literal) ))))) ;) (expression_statement "*(char **)(*(int *)(pcVar7 + 0x1ee64) + 0x33dc) = pcVar4;" (assignment_expression "*(char **)(*(int *)(pcVar7 + 0x1ee64) + 0x33dc) = pcVar4" (pointer_expression "*(char **)(*(int *)(pcVar7 + 0x1ee64) + 0x33dc)" * (cast_expression "(char **)(*(int *)(pcVar7 + 0x1ee64) + 0x33dc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(pcVar7 + 0x1ee64) + 0x33dc)" ( (binary_expression "*(int *)(pcVar7 + 0x1ee64) + 0x33dc" (pointer_expression "*(int *)(pcVar7 + 0x1ee64)" * (cast_expression "(int *)(pcVar7 + 0x1ee64)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar7 + 0x1ee64)" ( (binary_expression "pcVar7 + 0x1ee64" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) (if_statement "if (pcVar4 != (char *)0x0) {\n    do {\n      cVar1 = *pcVar5;\n      *pcVar4 = cVar1;\n      pcVar4 = pcVar4 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (cVar1 != '\0');\n    return;\n  }" if (parenthesized_expression "(pcVar4 != (char *)0x0)" ( (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      cVar1 = *pcVar5;\n      *pcVar4 = cVar1;\n      pcVar4 = pcVar4 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (cVar1 != '\0');\n    return;\n  }" { (do_statement "do {\n      cVar1 = *pcVar5;\n      *pcVar4 = cVar1;\n      pcVar4 = pcVar4 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (cVar1 != '\0');" do (compound_statement "{\n      cVar1 = *pcVar5;\n      *pcVar4 = cVar1;\n      pcVar4 = pcVar4 + 1;\n      pcVar5 = pcVar5 + 1;\n    }" { (expression_statement "cVar1 = *pcVar5;" (assignment_expression "cVar1 = *pcVar5" identifier = (pointer_expression "*pcVar5" * identifier)) ;) (expression_statement "*pcVar4 = cVar1;" (assignment_expression "*pcVar4 = cVar1" (pointer_expression "*pcVar4" * identifier) = identifier) ;) (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) (expression_statement "pcVar5 = pcVar5 + 1;" (assignment_expression "pcVar5 = pcVar5 + 1" identifier = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) ;) (return_statement "return;" return ;) })) comment (expression_statement "memory_error();" (call_expression "memory_error()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void ErrorMsg(char *filename,int lineno,char *format,...)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  int iVar3;\n  char *pcVar4;\n  char *pcVar5;\n  undefined4 in_a3;\n  undefined *puVar6;\n  code *pcVar7;\n  undefined4 local_resc;\n  va_list ap;\n  \n  puVar2 = PTR_stderr_0003334c;\n  puVar6 = PTR___stack_chk_guard_00033340;\n  iVar3 = *(int *)PTR___stack_chk_guard_00033340;\n  local_resc = in_a3;\n  (*(code *)PTR___fprintf_chk_000332cc)\n            (*(undefined4 *)PTR_stderr_0003334c,1,PTR_LAB_00033198 + 0x414,filename,lineno);\n  (*(code *)PTR___vfprintf_chk_00033358)(*(undefined4 *)puVar2,1,format,&local_resc);\n  (*(code *)PTR_fputc_000332dc)(10,*(undefined4 *)puVar2);\n  if (iVar3 == *(int *)puVar6) {\n    return;\n  }\n  puVar6 = PTR___stack_chk_fail_00033338;\n  (*(code *)PTR___stack_chk_fail_00033338)();\n  (**(code **)(puVar6 + 0x1f050))\n            (*(int *)(puVar6 + 0x1eebc) + 0x41c,1,0x1c,**(undefined4 **)(puVar6 + 0x1f070));\n  pcVar7 = *(code **)(puVar6 + 0x1f034);\n  pcVar5 = (char *)0x1;\n  (*pcVar7)();\n  iVar3 = (**(code **)(pcVar7 + 0x1efe4))();\n  pcVar4 = (char *)(**(code **)(pcVar7 + 0x1eff8))(iVar3 + 1);\n  *(char **)(*(int *)(pcVar7 + 0x1ee64) + 0x33dc) = pcVar4;\n  if (pcVar4 != (char *)0x0) {\n    do {\n      cVar1 = *pcVar5;\n      *pcVar4 = cVar1;\n      pcVar4 = pcVar4 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (cVar1 != '\0');\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  memory_error();\n}\n\n" (function_definition "void ErrorMsg(char *filename,int lineno,char *format,...)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  int iVar3;\n  char *pcVar4;\n  char *pcVar5;\n  undefined4 in_a3;\n  undefined *puVar6;\n  code *pcVar7;\n  undefined4 local_resc;\n  va_list ap;\n  \n  puVar2 = PTR_stderr_0003334c;\n  puVar6 = PTR___stack_chk_guard_00033340;\n  iVar3 = *(int *)PTR___stack_chk_guard_00033340;\n  local_resc = in_a3;\n  (*(code *)PTR___fprintf_chk_000332cc)\n            (*(undefined4 *)PTR_stderr_0003334c,1,PTR_LAB_00033198 + 0x414,filename,lineno);\n  (*(code *)PTR___vfprintf_chk_00033358)(*(undefined4 *)puVar2,1,format,&local_resc);\n  (*(code *)PTR_fputc_000332dc)(10,*(undefined4 *)puVar2);\n  if (iVar3 == *(int *)puVar6) {\n    return;\n  }\n  puVar6 = PTR___stack_chk_fail_00033338;\n  (*(code *)PTR___stack_chk_fail_00033338)();\n  (**(code **)(puVar6 + 0x1f050))\n            (*(int *)(puVar6 + 0x1eebc) + 0x41c,1,0x1c,**(undefined4 **)(puVar6 + 0x1f070));\n  pcVar7 = *(code **)(puVar6 + 0x1f034);\n  pcVar5 = (char *)0x1;\n  (*pcVar7)();\n  iVar3 = (**(code **)(pcVar7 + 0x1efe4))();\n  pcVar4 = (char *)(**(code **)(pcVar7 + 0x1eff8))(iVar3 + 1);\n  *(char **)(*(int *)(pcVar7 + 0x1ee64) + 0x33dc) = pcVar4;\n  if (pcVar4 != (char *)0x0) {\n    do {\n      cVar1 = *pcVar5;\n      *pcVar4 = cVar1;\n      pcVar4 = pcVar4 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (cVar1 != '\0');\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  memory_error();\n}" primitive_type (function_declarator "ErrorMsg(char *filename,int lineno,char *format,...)" identifier (parameter_list "(char *filename,int lineno,char *format,...)" ( (parameter_declaration "char *filename" primitive_type (pointer_declarator "*filename" * identifier)) , (parameter_declaration "int lineno" primitive_type identifier) , (parameter_declaration "char *format" primitive_type (pointer_declarator "*format" * identifier)) , (variadic_parameter "..." ...) ))) (compound_statement "{\n  char cVar1;\n  undefined *puVar2;\n  int iVar3;\n  char *pcVar4;\n  char *pcVar5;\n  undefined4 in_a3;\n  undefined *puVar6;\n  code *pcVar7;\n  undefined4 local_resc;\n  va_list ap;\n  \n  puVar2 = PTR_stderr_0003334c;\n  puVar6 = PTR___stack_chk_guard_00033340;\n  iVar3 = *(int *)PTR___stack_chk_guard_00033340;\n  local_resc = in_a3;\n  (*(code *)PTR___fprintf_chk_000332cc)\n            (*(undefined4 *)PTR_stderr_0003334c,1,PTR_LAB_00033198 + 0x414,filename,lineno);\n  (*(code *)PTR___vfprintf_chk_00033358)(*(undefined4 *)puVar2,1,format,&local_resc);\n  (*(code *)PTR_fputc_000332dc)(10,*(undefined4 *)puVar2);\n  if (iVar3 == *(int *)puVar6) {\n    return;\n  }\n  puVar6 = PTR___stack_chk_fail_00033338;\n  (*(code *)PTR___stack_chk_fail_00033338)();\n  (**(code **)(puVar6 + 0x1f050))\n            (*(int *)(puVar6 + 0x1eebc) + 0x41c,1,0x1c,**(undefined4 **)(puVar6 + 0x1f070));\n  pcVar7 = *(code **)(puVar6 + 0x1f034);\n  pcVar5 = (char *)0x1;\n  (*pcVar7)();\n  iVar3 = (**(code **)(pcVar7 + 0x1efe4))();\n  pcVar4 = (char *)(**(code **)(pcVar7 + 0x1eff8))(iVar3 + 1);\n  *(char **)(*(int *)(pcVar7 + 0x1ee64) + 0x33dc) = pcVar4;\n  if (pcVar4 != (char *)0x0) {\n    do {\n      cVar1 = *pcVar5;\n      *pcVar4 = cVar1;\n      pcVar4 = pcVar4 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (cVar1 != '\0');\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  memory_error();\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "undefined4 in_a3;" type_identifier identifier ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "code *pcVar7;" type_identifier (pointer_declarator "*pcVar7" * identifier) ;) (declaration "undefined4 local_resc;" type_identifier identifier ;) (declaration "va_list ap;" type_identifier identifier ;) (expression_statement "puVar2 = PTR_stderr_0003334c;" (assignment_expression "puVar2 = PTR_stderr_0003334c" identifier = identifier) ;) (expression_statement "puVar6 = PTR___stack_chk_guard_00033340;" (assignment_expression "puVar6 = PTR___stack_chk_guard_00033340" identifier = identifier) ;) (expression_statement "iVar3 = *(int *)PTR___stack_chk_guard_00033340;" (assignment_expression "iVar3 = *(int *)PTR___stack_chk_guard_00033340" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00033340" * (cast_expression "(int *)PTR___stack_chk_guard_00033340" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "local_resc = in_a3;" (assignment_expression "local_resc = in_a3" identifier = identifier) ;) (expression_statement "(*(code *)PTR___fprintf_chk_000332cc)\n            (*(undefined4 *)PTR_stderr_0003334c,1,PTR_LAB_00033198 + 0x414,filename,lineno);" (call_expression "(*(code *)PTR___fprintf_chk_000332cc)\n            (*(undefined4 *)PTR_stderr_0003334c,1,PTR_LAB_00033198 + 0x414,filename,lineno)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000332cc)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000332cc" * (cast_expression "(code *)PTR___fprintf_chk_000332cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_stderr_0003334c,1,PTR_LAB_00033198 + 0x414,filename,lineno)" ( (pointer_expression "*(undefined4 *)PTR_stderr_0003334c" * (cast_expression "(undefined4 *)PTR_stderr_0003334c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , (binary_expression "PTR_LAB_00033198 + 0x414" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR___vfprintf_chk_00033358)(*(undefined4 *)puVar2,1,format,&local_resc);" (call_expression "(*(code *)PTR___vfprintf_chk_00033358)(*(undefined4 *)puVar2,1,format,&local_resc)" (parenthesized_expression "(*(code *)PTR___vfprintf_chk_00033358)" ( (pointer_expression "*(code *)PTR___vfprintf_chk_00033358" * (cast_expression "(code *)PTR___vfprintf_chk_00033358" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)puVar2,1,format,&local_resc)" ( (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , (pointer_expression "&local_resc" & identifier) ))) ;) (expression_statement "(*(code *)PTR_fputc_000332dc)(10,*(undefined4 *)puVar2);" (call_expression "(*(code *)PTR_fputc_000332dc)(10,*(undefined4 *)puVar2)" (parenthesized_expression "(*(code *)PTR_fputc_000332dc)" ( (pointer_expression "*(code *)PTR_fputc_000332dc" * (cast_expression "(code *)PTR_fputc_000332dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10,*(undefined4 *)puVar2)" ( number_literal , (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (if_statement "if (iVar3 == *(int *)puVar6) {\n    return;\n  }" if (parenthesized_expression "(iVar3 == *(int *)puVar6)" ( (binary_expression "iVar3 == *(int *)puVar6" identifier == (pointer_expression "*(int *)puVar6" * (cast_expression "(int *)puVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar6 = PTR___stack_chk_fail_00033338;" (assignment_expression "puVar6 = PTR___stack_chk_fail_00033338" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00033338)();" (call_expression "(*(code *)PTR___stack_chk_fail_00033338)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00033338)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00033338" * (cast_expression "(code *)PTR___stack_chk_fail_00033338" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "(**(code **)(puVar6 + 0x1f050))\n            (*(int *)(puVar6 + 0x1eebc) + 0x41c,1,0x1c,**(undefined4 **)(puVar6 + 0x1f070));" (call_expression "(**(code **)(puVar6 + 0x1f050))\n            (*(int *)(puVar6 + 0x1eebc) + 0x41c,1,0x1c,**(undefined4 **)(puVar6 + 0x1f070))" (parenthesized_expression "(**(code **)(puVar6 + 0x1f050))" ( (pointer_expression "**(code **)(puVar6 + 0x1f050)" * (pointer_expression "*(code **)(puVar6 + 0x1f050)" * (cast_expression "(code **)(puVar6 + 0x1f050)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x1f050)" ( (binary_expression "puVar6 + 0x1f050" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar6 + 0x1eebc) + 0x41c,1,0x1c,**(undefined4 **)(puVar6 + 0x1f070))" ( (binary_expression "*(int *)(puVar6 + 0x1eebc) + 0x41c" (pointer_expression "*(int *)(puVar6 + 0x1eebc)" * (cast_expression "(int *)(puVar6 + 0x1eebc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x1eebc)" ( (binary_expression "puVar6 + 0x1eebc" identifier + number_literal) )))) + number_literal) , number_literal , number_literal , (pointer_expression "**(undefined4 **)(puVar6 + 0x1f070)" * (pointer_expression "*(undefined4 **)(puVar6 + 0x1f070)" * (cast_expression "(undefined4 **)(puVar6 + 0x1f070)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x1f070)" ( (binary_expression "puVar6 + 0x1f070" identifier + number_literal) ))))) ))) ;) (expression_statement "pcVar7 = *(code **)(puVar6 + 0x1f034);" (assignment_expression "pcVar7 = *(code **)(puVar6 + 0x1f034)" identifier = (pointer_expression "*(code **)(puVar6 + 0x1f034)" * (cast_expression "(code **)(puVar6 + 0x1f034)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x1f034)" ( (binary_expression "puVar6 + 0x1f034" identifier + number_literal) ))))) ;) (expression_statement "pcVar5 = (char *)0x1;" (assignment_expression "pcVar5 = (char *)0x1" identifier = (cast_expression "(char *)0x1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(*pcVar7)();" (call_expression "(*pcVar7)()" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "iVar3 = (**(code **)(pcVar7 + 0x1efe4))();" (assignment_expression "iVar3 = (**(code **)(pcVar7 + 0x1efe4))()" identifier = (call_expression "(**(code **)(pcVar7 + 0x1efe4))()" (parenthesized_expression "(**(code **)(pcVar7 + 0x1efe4))" ( (pointer_expression "**(code **)(pcVar7 + 0x1efe4)" * (pointer_expression "*(code **)(pcVar7 + 0x1efe4)" * (cast_expression "(code **)(pcVar7 + 0x1efe4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar7 + 0x1efe4)" ( (binary_expression "pcVar7 + 0x1efe4" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "pcVar4 = (char *)(**(code **)(pcVar7 + 0x1eff8))(iVar3 + 1);" (assignment_expression "pcVar4 = (char *)(**(code **)(pcVar7 + 0x1eff8))(iVar3 + 1)" identifier = (cast_expression "(char *)(**(code **)(pcVar7 + 0x1eff8))(iVar3 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar7 + 0x1eff8))(iVar3 + 1)" (parenthesized_expression "(**(code **)(pcVar7 + 0x1eff8))" ( (pointer_expression "**(code **)(pcVar7 + 0x1eff8)" * (pointer_expression "*(code **)(pcVar7 + 0x1eff8)" * (cast_expression "(code **)(pcVar7 + 0x1eff8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar7 + 0x1eff8)" ( (binary_expression "pcVar7 + 0x1eff8" identifier + number_literal) ))))) )) (argument_list "(iVar3 + 1)" ( (binary_expression "iVar3 + 1" identifier + number_literal) ))))) ;) (expression_statement "*(char **)(*(int *)(pcVar7 + 0x1ee64) + 0x33dc) = pcVar4;" (assignment_expression "*(char **)(*(int *)(pcVar7 + 0x1ee64) + 0x33dc) = pcVar4" (pointer_expression "*(char **)(*(int *)(pcVar7 + 0x1ee64) + 0x33dc)" * (cast_expression "(char **)(*(int *)(pcVar7 + 0x1ee64) + 0x33dc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(pcVar7 + 0x1ee64) + 0x33dc)" ( (binary_expression "*(int *)(pcVar7 + 0x1ee64) + 0x33dc" (pointer_expression "*(int *)(pcVar7 + 0x1ee64)" * (cast_expression "(int *)(pcVar7 + 0x1ee64)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar7 + 0x1ee64)" ( (binary_expression "pcVar7 + 0x1ee64" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) (if_statement "if (pcVar4 != (char *)0x0) {\n    do {\n      cVar1 = *pcVar5;\n      *pcVar4 = cVar1;\n      pcVar4 = pcVar4 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (cVar1 != '\0');\n    return;\n  }" if (parenthesized_expression "(pcVar4 != (char *)0x0)" ( (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      cVar1 = *pcVar5;\n      *pcVar4 = cVar1;\n      pcVar4 = pcVar4 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (cVar1 != '\0');\n    return;\n  }" { (do_statement "do {\n      cVar1 = *pcVar5;\n      *pcVar4 = cVar1;\n      pcVar4 = pcVar4 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (cVar1 != '\0');" do (compound_statement "{\n      cVar1 = *pcVar5;\n      *pcVar4 = cVar1;\n      pcVar4 = pcVar4 + 1;\n      pcVar5 = pcVar5 + 1;\n    }" { (expression_statement "cVar1 = *pcVar5;" (assignment_expression "cVar1 = *pcVar5" identifier = (pointer_expression "*pcVar5" * identifier)) ;) (expression_statement "*pcVar4 = cVar1;" (assignment_expression "*pcVar4 = cVar1" (pointer_expression "*pcVar4" * identifier) = identifier) ;) (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) (expression_statement "pcVar5 = pcVar5 + 1;" (assignment_expression "pcVar5 = pcVar5 + 1" identifier = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) ;) (return_statement "return;" return ;) })) comment (expression_statement "memory_error();" (call_expression "memory_error()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void ErrorMsg(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  int iVar3;\n  char *pcVar4;\n  char *pcVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  undefined4 local_resc;\n  \n  puVar2 = PTR_stderr_0003334c;\n  puVar6 = PTR___stack_chk_guard_00033340;\n  iVar3 = *(int *)PTR___stack_chk_guard_00033340;\n  local_resc = param_4;\n  (*(code *)PTR___fprintf_chk_000332cc)\n            (*(undefined4 *)PTR_stderr_0003334c,1,PTR_LAB_00033198 + 0x414,param_1,param_2);\n  (*(code *)PTR___vfprintf_chk_00033358)(*(undefined4 *)puVar2,1,param_3,&local_resc);\n  (*(code *)PTR_fputc_000332dc)(10,*(undefined4 *)puVar2);\n  if (iVar3 == *(int *)puVar6) {\n    return;\n  }\n  puVar6 = PTR___stack_chk_fail_00033338;\n  (*(code *)PTR___stack_chk_fail_00033338)();\n  (**(code **)(puVar6 + 0x1f050))\n            (*(int *)(puVar6 + 0x1eebc) + 0x41c,1,0x1c,**(undefined4 **)(puVar6 + 0x1f070));\n  pcVar7 = *(code **)(puVar6 + 0x1f034);\n  pcVar5 = (char *)0x1;\n  (*pcVar7)();\n  iVar3 = (**(code **)(pcVar7 + 0x1efe4))();\n  pcVar4 = (char *)(**(code **)(pcVar7 + 0x1eff8))(iVar3 + 1);\n  *(char **)(*(int *)(pcVar7 + 0x1ee64) + 0x33dc) = pcVar4;\n  if (pcVar4 != (char *)0x0) {\n    do {\n      cVar1 = *pcVar5;\n      *pcVar4 = cVar1;\n      pcVar4 = pcVar4 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (cVar1 != '\0');\n    return;\n  }\n                    \n  memory_error();\n}\n\n" (function_definition "void ErrorMsg(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  int iVar3;\n  char *pcVar4;\n  char *pcVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  undefined4 local_resc;\n  \n  puVar2 = PTR_stderr_0003334c;\n  puVar6 = PTR___stack_chk_guard_00033340;\n  iVar3 = *(int *)PTR___stack_chk_guard_00033340;\n  local_resc = param_4;\n  (*(code *)PTR___fprintf_chk_000332cc)\n            (*(undefined4 *)PTR_stderr_0003334c,1,PTR_LAB_00033198 + 0x414,param_1,param_2);\n  (*(code *)PTR___vfprintf_chk_00033358)(*(undefined4 *)puVar2,1,param_3,&local_resc);\n  (*(code *)PTR_fputc_000332dc)(10,*(undefined4 *)puVar2);\n  if (iVar3 == *(int *)puVar6) {\n    return;\n  }\n  puVar6 = PTR___stack_chk_fail_00033338;\n  (*(code *)PTR___stack_chk_fail_00033338)();\n  (**(code **)(puVar6 + 0x1f050))\n            (*(int *)(puVar6 + 0x1eebc) + 0x41c,1,0x1c,**(undefined4 **)(puVar6 + 0x1f070));\n  pcVar7 = *(code **)(puVar6 + 0x1f034);\n  pcVar5 = (char *)0x1;\n  (*pcVar7)();\n  iVar3 = (**(code **)(pcVar7 + 0x1efe4))();\n  pcVar4 = (char *)(**(code **)(pcVar7 + 0x1eff8))(iVar3 + 1);\n  *(char **)(*(int *)(pcVar7 + 0x1ee64) + 0x33dc) = pcVar4;\n  if (pcVar4 != (char *)0x0) {\n    do {\n      cVar1 = *pcVar5;\n      *pcVar4 = cVar1;\n      pcVar4 = pcVar4 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (cVar1 != '\0');\n    return;\n  }\n                    \n  memory_error();\n}" primitive_type (function_declarator "ErrorMsg(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  char cVar1;\n  undefined *puVar2;\n  int iVar3;\n  char *pcVar4;\n  char *pcVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  undefined4 local_resc;\n  \n  puVar2 = PTR_stderr_0003334c;\n  puVar6 = PTR___stack_chk_guard_00033340;\n  iVar3 = *(int *)PTR___stack_chk_guard_00033340;\n  local_resc = param_4;\n  (*(code *)PTR___fprintf_chk_000332cc)\n            (*(undefined4 *)PTR_stderr_0003334c,1,PTR_LAB_00033198 + 0x414,param_1,param_2);\n  (*(code *)PTR___vfprintf_chk_00033358)(*(undefined4 *)puVar2,1,param_3,&local_resc);\n  (*(code *)PTR_fputc_000332dc)(10,*(undefined4 *)puVar2);\n  if (iVar3 == *(int *)puVar6) {\n    return;\n  }\n  puVar6 = PTR___stack_chk_fail_00033338;\n  (*(code *)PTR___stack_chk_fail_00033338)();\n  (**(code **)(puVar6 + 0x1f050))\n            (*(int *)(puVar6 + 0x1eebc) + 0x41c,1,0x1c,**(undefined4 **)(puVar6 + 0x1f070));\n  pcVar7 = *(code **)(puVar6 + 0x1f034);\n  pcVar5 = (char *)0x1;\n  (*pcVar7)();\n  iVar3 = (**(code **)(pcVar7 + 0x1efe4))();\n  pcVar4 = (char *)(**(code **)(pcVar7 + 0x1eff8))(iVar3 + 1);\n  *(char **)(*(int *)(pcVar7 + 0x1ee64) + 0x33dc) = pcVar4;\n  if (pcVar4 != (char *)0x0) {\n    do {\n      cVar1 = *pcVar5;\n      *pcVar4 = cVar1;\n      pcVar4 = pcVar4 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (cVar1 != '\0');\n    return;\n  }\n                    \n  memory_error();\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "code *pcVar7;" type_identifier (pointer_declarator "*pcVar7" * identifier) ;) (declaration "undefined4 local_resc;" type_identifier identifier ;) (expression_statement "puVar2 = PTR_stderr_0003334c;" (assignment_expression "puVar2 = PTR_stderr_0003334c" identifier = identifier) ;) (expression_statement "puVar6 = PTR___stack_chk_guard_00033340;" (assignment_expression "puVar6 = PTR___stack_chk_guard_00033340" identifier = identifier) ;) (expression_statement "iVar3 = *(int *)PTR___stack_chk_guard_00033340;" (assignment_expression "iVar3 = *(int *)PTR___stack_chk_guard_00033340" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00033340" * (cast_expression "(int *)PTR___stack_chk_guard_00033340" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "local_resc = param_4;" (assignment_expression "local_resc = param_4" identifier = identifier) ;) (expression_statement "(*(code *)PTR___fprintf_chk_000332cc)\n            (*(undefined4 *)PTR_stderr_0003334c,1,PTR_LAB_00033198 + 0x414,param_1,param_2);" (call_expression "(*(code *)PTR___fprintf_chk_000332cc)\n            (*(undefined4 *)PTR_stderr_0003334c,1,PTR_LAB_00033198 + 0x414,param_1,param_2)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000332cc)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000332cc" * (cast_expression "(code *)PTR___fprintf_chk_000332cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_stderr_0003334c,1,PTR_LAB_00033198 + 0x414,param_1,param_2)" ( (pointer_expression "*(undefined4 *)PTR_stderr_0003334c" * (cast_expression "(undefined4 *)PTR_stderr_0003334c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , (binary_expression "PTR_LAB_00033198 + 0x414" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR___vfprintf_chk_00033358)(*(undefined4 *)puVar2,1,param_3,&local_resc);" (call_expression "(*(code *)PTR___vfprintf_chk_00033358)(*(undefined4 *)puVar2,1,param_3,&local_resc)" (parenthesized_expression "(*(code *)PTR___vfprintf_chk_00033358)" ( (pointer_expression "*(code *)PTR___vfprintf_chk_00033358" * (cast_expression "(code *)PTR___vfprintf_chk_00033358" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)puVar2,1,param_3,&local_resc)" ( (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , (pointer_expression "&local_resc" & identifier) ))) ;) (expression_statement "(*(code *)PTR_fputc_000332dc)(10,*(undefined4 *)puVar2);" (call_expression "(*(code *)PTR_fputc_000332dc)(10,*(undefined4 *)puVar2)" (parenthesized_expression "(*(code *)PTR_fputc_000332dc)" ( (pointer_expression "*(code *)PTR_fputc_000332dc" * (cast_expression "(code *)PTR_fputc_000332dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10,*(undefined4 *)puVar2)" ( number_literal , (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (if_statement "if (iVar3 == *(int *)puVar6) {\n    return;\n  }" if (parenthesized_expression "(iVar3 == *(int *)puVar6)" ( (binary_expression "iVar3 == *(int *)puVar6" identifier == (pointer_expression "*(int *)puVar6" * (cast_expression "(int *)puVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar6 = PTR___stack_chk_fail_00033338;" (assignment_expression "puVar6 = PTR___stack_chk_fail_00033338" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00033338)();" (call_expression "(*(code *)PTR___stack_chk_fail_00033338)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00033338)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00033338" * (cast_expression "(code *)PTR___stack_chk_fail_00033338" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "(**(code **)(puVar6 + 0x1f050))\n            (*(int *)(puVar6 + 0x1eebc) + 0x41c,1,0x1c,**(undefined4 **)(puVar6 + 0x1f070));" (call_expression "(**(code **)(puVar6 + 0x1f050))\n            (*(int *)(puVar6 + 0x1eebc) + 0x41c,1,0x1c,**(undefined4 **)(puVar6 + 0x1f070))" (parenthesized_expression "(**(code **)(puVar6 + 0x1f050))" ( (pointer_expression "**(code **)(puVar6 + 0x1f050)" * (pointer_expression "*(code **)(puVar6 + 0x1f050)" * (cast_expression "(code **)(puVar6 + 0x1f050)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x1f050)" ( (binary_expression "puVar6 + 0x1f050" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar6 + 0x1eebc) + 0x41c,1,0x1c,**(undefined4 **)(puVar6 + 0x1f070))" ( (binary_expression "*(int *)(puVar6 + 0x1eebc) + 0x41c" (pointer_expression "*(int *)(puVar6 + 0x1eebc)" * (cast_expression "(int *)(puVar6 + 0x1eebc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x1eebc)" ( (binary_expression "puVar6 + 0x1eebc" identifier + number_literal) )))) + number_literal) , number_literal , number_literal , (pointer_expression "**(undefined4 **)(puVar6 + 0x1f070)" * (pointer_expression "*(undefined4 **)(puVar6 + 0x1f070)" * (cast_expression "(undefined4 **)(puVar6 + 0x1f070)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x1f070)" ( (binary_expression "puVar6 + 0x1f070" identifier + number_literal) ))))) ))) ;) (expression_statement "pcVar7 = *(code **)(puVar6 + 0x1f034);" (assignment_expression "pcVar7 = *(code **)(puVar6 + 0x1f034)" identifier = (pointer_expression "*(code **)(puVar6 + 0x1f034)" * (cast_expression "(code **)(puVar6 + 0x1f034)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x1f034)" ( (binary_expression "puVar6 + 0x1f034" identifier + number_literal) ))))) ;) (expression_statement "pcVar5 = (char *)0x1;" (assignment_expression "pcVar5 = (char *)0x1" identifier = (cast_expression "(char *)0x1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(*pcVar7)();" (call_expression "(*pcVar7)()" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "iVar3 = (**(code **)(pcVar7 + 0x1efe4))();" (assignment_expression "iVar3 = (**(code **)(pcVar7 + 0x1efe4))()" identifier = (call_expression "(**(code **)(pcVar7 + 0x1efe4))()" (parenthesized_expression "(**(code **)(pcVar7 + 0x1efe4))" ( (pointer_expression "**(code **)(pcVar7 + 0x1efe4)" * (pointer_expression "*(code **)(pcVar7 + 0x1efe4)" * (cast_expression "(code **)(pcVar7 + 0x1efe4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar7 + 0x1efe4)" ( (binary_expression "pcVar7 + 0x1efe4" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "pcVar4 = (char *)(**(code **)(pcVar7 + 0x1eff8))(iVar3 + 1);" (assignment_expression "pcVar4 = (char *)(**(code **)(pcVar7 + 0x1eff8))(iVar3 + 1)" identifier = (cast_expression "(char *)(**(code **)(pcVar7 + 0x1eff8))(iVar3 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar7 + 0x1eff8))(iVar3 + 1)" (parenthesized_expression "(**(code **)(pcVar7 + 0x1eff8))" ( (pointer_expression "**(code **)(pcVar7 + 0x1eff8)" * (pointer_expression "*(code **)(pcVar7 + 0x1eff8)" * (cast_expression "(code **)(pcVar7 + 0x1eff8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar7 + 0x1eff8)" ( (binary_expression "pcVar7 + 0x1eff8" identifier + number_literal) ))))) )) (argument_list "(iVar3 + 1)" ( (binary_expression "iVar3 + 1" identifier + number_literal) ))))) ;) (expression_statement "*(char **)(*(int *)(pcVar7 + 0x1ee64) + 0x33dc) = pcVar4;" (assignment_expression "*(char **)(*(int *)(pcVar7 + 0x1ee64) + 0x33dc) = pcVar4" (pointer_expression "*(char **)(*(int *)(pcVar7 + 0x1ee64) + 0x33dc)" * (cast_expression "(char **)(*(int *)(pcVar7 + 0x1ee64) + 0x33dc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(pcVar7 + 0x1ee64) + 0x33dc)" ( (binary_expression "*(int *)(pcVar7 + 0x1ee64) + 0x33dc" (pointer_expression "*(int *)(pcVar7 + 0x1ee64)" * (cast_expression "(int *)(pcVar7 + 0x1ee64)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar7 + 0x1ee64)" ( (binary_expression "pcVar7 + 0x1ee64" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) (if_statement "if (pcVar4 != (char *)0x0) {\n    do {\n      cVar1 = *pcVar5;\n      *pcVar4 = cVar1;\n      pcVar4 = pcVar4 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (cVar1 != '\0');\n    return;\n  }" if (parenthesized_expression "(pcVar4 != (char *)0x0)" ( (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      cVar1 = *pcVar5;\n      *pcVar4 = cVar1;\n      pcVar4 = pcVar4 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (cVar1 != '\0');\n    return;\n  }" { (do_statement "do {\n      cVar1 = *pcVar5;\n      *pcVar4 = cVar1;\n      pcVar4 = pcVar4 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (cVar1 != '\0');" do (compound_statement "{\n      cVar1 = *pcVar5;\n      *pcVar4 = cVar1;\n      pcVar4 = pcVar4 + 1;\n      pcVar5 = pcVar5 + 1;\n    }" { (expression_statement "cVar1 = *pcVar5;" (assignment_expression "cVar1 = *pcVar5" identifier = (pointer_expression "*pcVar5" * identifier)) ;) (expression_statement "*pcVar4 = cVar1;" (assignment_expression "*pcVar4 = cVar1" (pointer_expression "*pcVar4" * identifier) = identifier) ;) (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) (expression_statement "pcVar5 = pcVar5 + 1;" (assignment_expression "pcVar5 = pcVar5 + 1" identifier = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) ;) (return_statement "return;" return ;) })) (expression_statement "memory_error();" (call_expression "memory_error()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , LIT , (binary_expression IDENT + LIT) , IDENT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , LIT , IDENT , (pointer_expression & IDENT) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT , LIT , (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void ErrorMsg(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  int iVar3;\n  char *pcVar4;\n  char *pcVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  undefined4 local_resc;\n  \n  puVar2 = PTR_stderr_0003334c;\n  puVar6 = PTR___stack_chk_guard_00033340;\n  iVar3 = *(int *)PTR___stack_chk_guard_00033340;\n  local_resc = param_4;\n  (*(code *)PTR___fprintf_chk_000332cc)\n            (*(undefined4 *)PTR_stderr_0003334c,1,PTR_LAB_00033198 + 0x414,param_1,param_2);\n  (*(code *)PTR___vfprintf_chk_00033358)(*(undefined4 *)puVar2,1,param_3,&local_resc);\n  (*(code *)PTR_fputc_000332dc)(10,*(undefined4 *)puVar2);\n  if (iVar3 == *(int *)puVar6) {\n    return;\n  }\n  puVar6 = PTR___stack_chk_fail_00033338;\n  (*(code *)PTR___stack_chk_fail_00033338)();\n  (**(code **)(puVar6 + 0x1f050))\n            (*(int *)(puVar6 + 0x1eebc) + 0x41c,1,0x1c,**(undefined4 **)(puVar6 + 0x1f070));\n  pcVar7 = *(code **)(puVar6 + 0x1f034);\n  pcVar5 = (char *)0x1;\n  (*pcVar7)();\n  iVar3 = (**(code **)(pcVar7 + 0x1efe4))();\n  pcVar4 = (char *)(**(code **)(pcVar7 + 0x1eff8))(iVar3 + 1);\n  *(char **)(*(int *)(pcVar7 + 0x1ee64) + 0x33dc) = pcVar4;\n  if (pcVar4 != (char *)0x0) {\n    do {\n      cVar1 = *pcVar5;\n      *pcVar4 = cVar1;\n      pcVar4 = pcVar4 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (cVar1 != '\0');\n    return;\n  }\n                    \n  memory_error();\n}" (primitive_type "void") (function_declarator "ErrorMsg(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (identifier "ErrorMsg") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  char cVar1;\n  undefined *puVar2;\n  int iVar3;\n  char *pcVar4;\n  char *pcVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  undefined4 local_resc;\n  \n  puVar2 = PTR_stderr_0003334c;\n  puVar6 = PTR___stack_chk_guard_00033340;\n  iVar3 = *(int *)PTR___stack_chk_guard_00033340;\n  local_resc = param_4;\n  (*(code *)PTR___fprintf_chk_000332cc)\n            (*(undefined4 *)PTR_stderr_0003334c,1,PTR_LAB_00033198 + 0x414,param_1,param_2);\n  (*(code *)PTR___vfprintf_chk_00033358)(*(undefined4 *)puVar2,1,param_3,&local_resc);\n  (*(code *)PTR_fputc_000332dc)(10,*(undefined4 *)puVar2);\n  if (iVar3 == *(int *)puVar6) {\n    return;\n  }\n  puVar6 = PTR___stack_chk_fail_00033338;\n  (*(code *)PTR___stack_chk_fail_00033338)();\n  (**(code **)(puVar6 + 0x1f050))\n            (*(int *)(puVar6 + 0x1eebc) + 0x41c,1,0x1c,**(undefined4 **)(puVar6 + 0x1f070));\n  pcVar7 = *(code **)(puVar6 + 0x1f034);\n  pcVar5 = (char *)0x1;\n  (*pcVar7)();\n  iVar3 = (**(code **)(pcVar7 + 0x1efe4))();\n  pcVar4 = (char *)(**(code **)(pcVar7 + 0x1eff8))(iVar3 + 1);\n  *(char **)(*(int *)(pcVar7 + 0x1ee64) + 0x33dc) = pcVar4;\n  if (pcVar4 != (char *)0x0) {\n    do {\n      cVar1 = *pcVar5;\n      *pcVar4 = cVar1;\n      pcVar4 = pcVar4 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (cVar1 != '\0');\n    return;\n  }\n                    \n  memory_error();\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "char *pcVar5;" (primitive_type "char") (pointer_declarator "*pcVar5" (* "*") (identifier "pcVar5")) (; ";")) (declaration "undefined *puVar6;" (type_identifier "undefined") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "code *pcVar7;" (type_identifier "code") (pointer_declarator "*pcVar7" (* "*") (identifier "pcVar7")) (; ";")) (declaration "undefined4 local_resc;" (type_identifier "undefined4") (identifier "local_resc") (; ";")) (expression_statement "puVar2 = PTR_stderr_0003334c;" (assignment_expression "puVar2 = PTR_stderr_0003334c" (identifier "puVar2") (= "=") (identifier "PTR_stderr_0003334c")) (; ";")) (expression_statement "puVar6 = PTR___stack_chk_guard_00033340;" (assignment_expression "puVar6 = PTR___stack_chk_guard_00033340" (identifier "puVar6") (= "=") (identifier "PTR___stack_chk_guard_00033340")) (; ";")) (expression_statement "iVar3 = *(int *)PTR___stack_chk_guard_00033340;" (assignment_expression "iVar3 = *(int *)PTR___stack_chk_guard_00033340" (identifier "iVar3") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_00033340" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_00033340" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_00033340")))) (; ";")) (expression_statement "local_resc = param_4;" (assignment_expression "local_resc = param_4" (identifier "local_resc") (= "=") (identifier "param_4")) (; ";")) (expression_statement "(*(code *)PTR___fprintf_chk_000332cc)\n            (*(undefined4 *)PTR_stderr_0003334c,1,PTR_LAB_00033198 + 0x414,param_1,param_2);" (call_expression "(*(code *)PTR___fprintf_chk_000332cc)\n            (*(undefined4 *)PTR_stderr_0003334c,1,PTR_LAB_00033198 + 0x414,param_1,param_2)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000332cc)" (( "(") (pointer_expression "*(code *)PTR___fprintf_chk_000332cc" (* "*") (cast_expression "(code *)PTR___fprintf_chk_000332cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___fprintf_chk_000332cc"))) () ")")) (argument_list "(*(undefined4 *)PTR_stderr_0003334c,1,PTR_LAB_00033198 + 0x414,param_1,param_2)" (( "(") (pointer_expression "*(undefined4 *)PTR_stderr_0003334c" (* "*") (cast_expression "(undefined4 *)PTR_stderr_0003334c" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_0003334c"))) (, ",") (number_literal "1") (, ",") (binary_expression "PTR_LAB_00033198 + 0x414" (identifier "PTR_LAB_00033198") (+ "+") (number_literal "0x414")) (, ",") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "(*(code *)PTR___vfprintf_chk_00033358)(*(undefined4 *)puVar2,1,param_3,&local_resc);" (call_expression "(*(code *)PTR___vfprintf_chk_00033358)(*(undefined4 *)puVar2,1,param_3,&local_resc)" (parenthesized_expression "(*(code *)PTR___vfprintf_chk_00033358)" (( "(") (pointer_expression "*(code *)PTR___vfprintf_chk_00033358" (* "*") (cast_expression "(code *)PTR___vfprintf_chk_00033358" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___vfprintf_chk_00033358"))) () ")")) (argument_list "(*(undefined4 *)puVar2,1,param_3,&local_resc)" (( "(") (pointer_expression "*(undefined4 *)puVar2" (* "*") (cast_expression "(undefined4 *)puVar2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2"))) (, ",") (number_literal "1") (, ",") (identifier "param_3") (, ",") (pointer_expression "&local_resc" (& "&") (identifier "local_resc")) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_fputc_000332dc)(10,*(undefined4 *)puVar2);" (call_expression "(*(code *)PTR_fputc_000332dc)(10,*(undefined4 *)puVar2)" (parenthesized_expression "(*(code *)PTR_fputc_000332dc)" (( "(") (pointer_expression "*(code *)PTR_fputc_000332dc" (* "*") (cast_expression "(code *)PTR_fputc_000332dc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fputc_000332dc"))) () ")")) (argument_list "(10,*(undefined4 *)puVar2)" (( "(") (number_literal "10") (, ",") (pointer_expression "*(undefined4 *)puVar2" (* "*") (cast_expression "(undefined4 *)puVar2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2"))) () ")"))) (; ";")) (if_statement "if (iVar3 == *(int *)puVar6) {\n    return;\n  }" (if "if") (parenthesized_expression "(iVar3 == *(int *)puVar6)" (( "(") (binary_expression "iVar3 == *(int *)puVar6" (identifier "iVar3") (== "==") (pointer_expression "*(int *)puVar6" (* "*") (cast_expression "(int *)puVar6" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar6")))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "puVar6 = PTR___stack_chk_fail_00033338;" (assignment_expression "puVar6 = PTR___stack_chk_fail_00033338" (identifier "puVar6") (= "=") (identifier "PTR___stack_chk_fail_00033338")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_00033338)();" (call_expression "(*(code *)PTR___stack_chk_fail_00033338)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00033338)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_00033338" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_00033338" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_00033338"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "(**(code **)(puVar6 + 0x1f050))\n            (*(int *)(puVar6 + 0x1eebc) + 0x41c,1,0x1c,**(undefined4 **)(puVar6 + 0x1f070));" (call_expression "(**(code **)(puVar6 + 0x1f050))\n            (*(int *)(puVar6 + 0x1eebc) + 0x41c,1,0x1c,**(undefined4 **)(puVar6 + 0x1f070))" (parenthesized_expression "(**(code **)(puVar6 + 0x1f050))" (( "(") (pointer_expression "**(code **)(puVar6 + 0x1f050)" (* "*") (pointer_expression "*(code **)(puVar6 + 0x1f050)" (* "*") (cast_expression "(code **)(puVar6 + 0x1f050)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0x1f050)" (( "(") (binary_expression "puVar6 + 0x1f050" (identifier "puVar6") (+ "+") (number_literal "0x1f050")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar6 + 0x1eebc) + 0x41c,1,0x1c,**(undefined4 **)(puVar6 + 0x1f070))" (( "(") (binary_expression "*(int *)(puVar6 + 0x1eebc) + 0x41c" (pointer_expression "*(int *)(puVar6 + 0x1eebc)" (* "*") (cast_expression "(int *)(puVar6 + 0x1eebc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 0x1eebc)" (( "(") (binary_expression "puVar6 + 0x1eebc" (identifier "puVar6") (+ "+") (number_literal "0x1eebc")) () ")")))) (+ "+") (number_literal "0x41c")) (, ",") (number_literal "1") (, ",") (number_literal "0x1c") (, ",") (pointer_expression "**(undefined4 **)(puVar6 + 0x1f070)" (* "*") (pointer_expression "*(undefined4 **)(puVar6 + 0x1f070)" (* "*") (cast_expression "(undefined4 **)(puVar6 + 0x1f070)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0x1f070)" (( "(") (binary_expression "puVar6 + 0x1f070" (identifier "puVar6") (+ "+") (number_literal "0x1f070")) () ")"))))) () ")"))) (; ";")) (expression_statement "pcVar7 = *(code **)(puVar6 + 0x1f034);" (assignment_expression "pcVar7 = *(code **)(puVar6 + 0x1f034)" (identifier "pcVar7") (= "=") (pointer_expression "*(code **)(puVar6 + 0x1f034)" (* "*") (cast_expression "(code **)(puVar6 + 0x1f034)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0x1f034)" (( "(") (binary_expression "puVar6 + 0x1f034" (identifier "puVar6") (+ "+") (number_literal "0x1f034")) () ")"))))) (; ";")) (expression_statement "pcVar5 = (char *)0x1;" (assignment_expression "pcVar5 = (char *)0x1" (identifier "pcVar5") (= "=") (cast_expression "(char *)0x1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1"))) (; ";")) (expression_statement "(*pcVar7)();" (call_expression "(*pcVar7)()" (parenthesized_expression "(*pcVar7)" (( "(") (pointer_expression "*pcVar7" (* "*") (identifier "pcVar7")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar3 = (**(code **)(pcVar7 + 0x1efe4))();" (assignment_expression "iVar3 = (**(code **)(pcVar7 + 0x1efe4))()" (identifier "iVar3") (= "=") (call_expression "(**(code **)(pcVar7 + 0x1efe4))()" (parenthesized_expression "(**(code **)(pcVar7 + 0x1efe4))" (( "(") (pointer_expression "**(code **)(pcVar7 + 0x1efe4)" (* "*") (pointer_expression "*(code **)(pcVar7 + 0x1efe4)" (* "*") (cast_expression "(code **)(pcVar7 + 0x1efe4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar7 + 0x1efe4)" (( "(") (binary_expression "pcVar7 + 0x1efe4" (identifier "pcVar7") (+ "+") (number_literal "0x1efe4")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "pcVar4 = (char *)(**(code **)(pcVar7 + 0x1eff8))(iVar3 + 1);" (assignment_expression "pcVar4 = (char *)(**(code **)(pcVar7 + 0x1eff8))(iVar3 + 1)" (identifier "pcVar4") (= "=") (cast_expression "(char *)(**(code **)(pcVar7 + 0x1eff8))(iVar3 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(pcVar7 + 0x1eff8))(iVar3 + 1)" (parenthesized_expression "(**(code **)(pcVar7 + 0x1eff8))" (( "(") (pointer_expression "**(code **)(pcVar7 + 0x1eff8)" (* "*") (pointer_expression "*(code **)(pcVar7 + 0x1eff8)" (* "*") (cast_expression "(code **)(pcVar7 + 0x1eff8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar7 + 0x1eff8)" (( "(") (binary_expression "pcVar7 + 0x1eff8" (identifier "pcVar7") (+ "+") (number_literal "0x1eff8")) () ")"))))) () ")")) (argument_list "(iVar3 + 1)" (( "(") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "*(char **)(*(int *)(pcVar7 + 0x1ee64) + 0x33dc) = pcVar4;" (assignment_expression "*(char **)(*(int *)(pcVar7 + 0x1ee64) + 0x33dc) = pcVar4" (pointer_expression "*(char **)(*(int *)(pcVar7 + 0x1ee64) + 0x33dc)" (* "*") (cast_expression "(char **)(*(int *)(pcVar7 + 0x1ee64) + 0x33dc)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(pcVar7 + 0x1ee64) + 0x33dc)" (( "(") (binary_expression "*(int *)(pcVar7 + 0x1ee64) + 0x33dc" (pointer_expression "*(int *)(pcVar7 + 0x1ee64)" (* "*") (cast_expression "(int *)(pcVar7 + 0x1ee64)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar7 + 0x1ee64)" (( "(") (binary_expression "pcVar7 + 0x1ee64" (identifier "pcVar7") (+ "+") (number_literal "0x1ee64")) () ")")))) (+ "+") (number_literal "0x33dc")) () ")")))) (= "=") (identifier "pcVar4")) (; ";")) (if_statement "if (pcVar4 != (char *)0x0) {\n    do {\n      cVar1 = *pcVar5;\n      *pcVar4 = cVar1;\n      pcVar4 = pcVar4 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (cVar1 != '\0');\n    return;\n  }" (if "if") (parenthesized_expression "(pcVar4 != (char *)0x0)" (( "(") (binary_expression "pcVar4 != (char *)0x0" (identifier "pcVar4") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    do {\n      cVar1 = *pcVar5;\n      *pcVar4 = cVar1;\n      pcVar4 = pcVar4 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (cVar1 != '\0');\n    return;\n  }" ({ "{") (do_statement "do {\n      cVar1 = *pcVar5;\n      *pcVar4 = cVar1;\n      pcVar4 = pcVar4 + 1;\n      pcVar5 = pcVar5 + 1;\n    } while (cVar1 != '\0');" (do "do") (compound_statement "{\n      cVar1 = *pcVar5;\n      *pcVar4 = cVar1;\n      pcVar4 = pcVar4 + 1;\n      pcVar5 = pcVar5 + 1;\n    }" ({ "{") (expression_statement "cVar1 = *pcVar5;" (assignment_expression "cVar1 = *pcVar5" (identifier "cVar1") (= "=") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5"))) (; ";")) (expression_statement "*pcVar4 = cVar1;" (assignment_expression "*pcVar4 = cVar1" (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) (= "=") (identifier "cVar1")) (; ";")) (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" (identifier "pcVar4") (= "=") (binary_expression "pcVar4 + 1" (identifier "pcVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pcVar5 = pcVar5 + 1;" (assignment_expression "pcVar5 = pcVar5 + 1" (identifier "pcVar5") (= "=") (binary_expression "pcVar5 + 1" (identifier "pcVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(cVar1 != '\0')" (( "(") (binary_expression "cVar1 != '\0'" (identifier "cVar1") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "memory_error();" (call_expression "memory_error()" (identifier "memory_error") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (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 (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (identifier) (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 (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) (number_literal) (identifier) (pointer_expression argument: (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 (number_literal) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (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))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (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)) (number_literal) (number_literal) (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence))))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

void MASKED(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  char cVar1;
  undefined *puVar2;
  int iVar3;
  char *pcVar4;
  char *pcVar5;
  undefined *puVar6;
  code *pcVar7;
  undefined4 local_resc;
  
  puVar2 = PTR_stderr_0003334c;
  puVar6 = PTR___stack_chk_guard_00033340;
  iVar3 = *(int *)PTR___stack_chk_guard_00033340;
  local_resc = param_4;
  (*(code *)PTR___fprintf_chk_000332cc)
            (*(undefined4 *)PTR_stderr_0003334c,1,PTR_LAB_00033198 + 0x414,param_1,param_2);
  (*(code *)PTR___vfprintf_chk_00033358)(*(undefined4 *)puVar2,1,param_3,&local_resc);
  (*(code *)PTR_fputc_000332dc)(10,*(undefined4 *)puVar2);
  if (iVar3 == *(int *)puVar6) {
    return;
  }
  puVar6 = PTR___stack_chk_fail_00033338;
  (*(code *)PTR___stack_chk_fail_00033338)();
  (**(code **)(puVar6 + 0x1f050))
            (*(int *)(puVar6 + 0x1eebc) + 0x41c,1,0x1c,**(undefined4 **)(puVar6 + 0x1f070));
  pcVar7 = *(code **)(puVar6 + 0x1f034);
  pcVar5 = (char *)0x1;
  (*pcVar7)();
  iVar3 = (**(code **)(pcVar7 + 0x1efe4))();
  pcVar4 = (char *)(**(code **)(pcVar7 + 0x1eff8))(iVar3 + 1);
  *(char **)(*(int *)(pcVar7 + 0x1ee64) + 0x33dc) = pcVar4;
  if (pcVar4 != (char *)0x0) {
    do {
      cVar1 = *pcVar5;
      *pcVar4 = cVar1;
      pcVar4 = pcVar4 + 1;
      pcVar5 = pcVar5 + 1;
    } while (cVar1 != '\0');
    return;
  }
                    /* WARNING: Subroutine does not return */
  memory_error();
}

