
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

ld_plugin_status message(int level,char *format,...)

{
  undefined4 uVar1;
  char *pcVar2;
  undefined *puVar3;
  
  puVar3 = PTR_stdout_00092fbc;
  if (level == 0) {
    vfinfo(*(FILE **)PTR_stdout_00092fbc,format,&stack0x0000000c,0);
    putc(10,*(FILE **)puVar3);
    return LDPS_OK;
  }
  if (level != 1) {
    uVar1 = dcgettext(0,"%P: error: ",5);
    puVar3 = &DAT_0004e0a4;
    if (level != 3) {
      puVar3 = &DAT_0004fdc1;
    }
    pcVar2 = (char *)concat(puVar3,uVar1,format,"\n",0);
    fflush(*(FILE **)PTR_stdout_00092fbc);
    puVar3 = PTR_stderr_00092f88;
    vfinfo(*(FILE **)PTR_stderr_00092f88,pcVar2,&stack0x0000000c,1);
    fflush(*(FILE **)puVar3);
    free(pcVar2);
    return LDPS_OK;
  }
  uVar1 = dcgettext(0,"%P: warning: ",5);
  pcVar2 = (char *)concat(uVar1,format,"\n",0);
  vfinfo(*(FILE **)PTR_stdout_00092fbc,pcVar2,&stack0x0000000c,1);
  free(pcVar2);
  return LDPS_OK;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 FUN_000357a0(int param_1,undefined4 param_2)

{
  undefined4 uVar1;
  void *pvVar2;
  undefined *puVar3;
  
  puVar3 = PTR_stdout_00092fbc;
  if (param_1 == 0) {
    FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,param_2,&stack0x0000000c,0);
    putc(10,*(FILE **)puVar3);
    return 0;
  }
  if (param_1 != 1) {
    uVar1 = dcgettext(0,"%P: error: ",5);
    puVar3 = &DAT_0004e0a4;
    if (param_1 != 3) {
      puVar3 = &DAT_0004fdc1;
    }
    pvVar2 = (void *)concat(puVar3,uVar1,param_2,"\n",0);
    fflush(*(FILE **)PTR_stdout_00092fbc);
    puVar3 = PTR_stderr_00092f88;
    FUN_00031da0(*(undefined4 *)PTR_stderr_00092f88,pvVar2,&stack0x0000000c,1);
    fflush(*(FILE **)puVar3);
    free(pvVar2);
    return 0;
  }
  uVar1 = dcgettext(0,"%P: warning: ",5);
  pvVar2 = (void *)concat(uVar1,param_2,"\n",0);
  FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,pvVar2,&stack0x0000000c,1);
  free(pvVar2);
  return 0;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x10]
CALL 0x00015a30
ADD EBX,0x5d854
LEA EDI,[ESP + 0x18]
TEST ESI,ESI
JZ 0x00035848
CMP ESI,0x1
JZ 0x00035870
SUB ESP,0x4
LEA EAX,[EBX + 0xfffbe092]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000142e0
CMP ESI,0x3
LEA ECX,[EBX + 0xfffbcdc1]
LEA EDX,[EBX + 0xfffbb0a4]
CMOVNZ EDX,ECX
LEA ECX,[EBX + 0xfffbdd57]
MOV dword ptr [ESP],0x0
PUSH ECX
PUSH dword ptr [ESP + 0x28]
PUSH EAX
PUSH EDX
CALL 0x000143f0
ADD ESP,0x14
MOV ESI,EAX
MOV EAX,dword ptr [EBX + 0xffffffbc]
PUSH dword ptr [EAX]
CALL 0x00014130
PUSH 0x1
PUSH EDI
MOV EDI,dword ptr [EBX + 0xffffff88]
PUSH ESI
PUSH dword ptr [EDI]
CALL 0x00031da0
ADD ESP,0x14
PUSH dword ptr [EDI]
CALL 0x00014130
MOV dword ptr [ESP],ESI
CALL 0x00014c60
ADD ESP,0x10
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
RET
MOV ESI,dword ptr [EBX + 0xffffffbc]
PUSH 0x0
PUSH EDI
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESI]
CALL 0x00031da0
POP EAX
POP EDX
PUSH dword ptr [ESI]
PUSH 0xa
CALL 0x00014980
ADD ESP,0x10
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
RET
SUB ESP,0x4
LEA EAX,[EBX + 0xfffbe084]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000142e0
LEA EDX,[EBX + 0xfffbdd57]
PUSH 0x0
PUSH EDX
PUSH dword ptr [ESP + 0x2c]
PUSH EAX
CALL 0x000143f0
ADD ESP,0x20
PUSH 0x1
MOV ESI,EAX
PUSH EDI
PUSH EAX
MOV EAX,dword ptr [EBX + 0xffffffbc]
PUSH dword ptr [EAX]
CALL 0x00031da0
MOV dword ptr [ESP],ESI
CALL 0x00014c60
ADD ESP,0x10
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_000357a0(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  void *pvVar2;\n  undefined *puVar3;\n  \n  puVar3 = PTR_stdout_00092fbc;\n  if (param_1 == 0) {\n    FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,param_2,&stack0x0000000c,0);\n    putc(10,*(FILE **)puVar3);\n    return 0;\n  }\n  if (param_1 != 1) {\n    uVar1 = dcgettext(0,"%P: error: ",5);\n    puVar3 = &DAT_0004e0a4;\n    if (param_1 != 3) {\n      puVar3 = &DAT_0004fdc1;\n    }\n    pvVar2 = (void *)concat(puVar3,uVar1,param_2,"\n",0);\n    fflush(*(FILE **)PTR_stdout_00092fbc);\n    puVar3 = PTR_stderr_00092f88;\n    FUN_00031da0(*(undefined4 *)PTR_stderr_00092f88,pvVar2,&stack0x0000000c,1);\n    fflush(*(FILE **)puVar3);\n    free(pvVar2);\n    return 0;\n  }\n  uVar1 = dcgettext(0,"%P: warning: ",5);\n  pvVar2 = (void *)concat(uVar1,param_2,"\n",0);\n  FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,pvVar2,&stack0x0000000c,1);\n  free(pvVar2);\n  return 0;\n}\n\n" comment (function_definition "undefined4 FUN_000357a0(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  void *pvVar2;\n  undefined *puVar3;\n  \n  puVar3 = PTR_stdout_00092fbc;\n  if (param_1 == 0) {\n    FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,param_2,&stack0x0000000c,0);\n    putc(10,*(FILE **)puVar3);\n    return 0;\n  }\n  if (param_1 != 1) {\n    uVar1 = dcgettext(0,"%P: error: ",5);\n    puVar3 = &DAT_0004e0a4;\n    if (param_1 != 3) {\n      puVar3 = &DAT_0004fdc1;\n    }\n    pvVar2 = (void *)concat(puVar3,uVar1,param_2,"\n",0);\n    fflush(*(FILE **)PTR_stdout_00092fbc);\n    puVar3 = PTR_stderr_00092f88;\n    FUN_00031da0(*(undefined4 *)PTR_stderr_00092f88,pvVar2,&stack0x0000000c,1);\n    fflush(*(FILE **)puVar3);\n    free(pvVar2);\n    return 0;\n  }\n  uVar1 = dcgettext(0,"%P: warning: ",5);\n  pvVar2 = (void *)concat(uVar1,param_2,"\n",0);\n  FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,pvVar2,&stack0x0000000c,1);\n  free(pvVar2);\n  return 0;\n}" type_identifier (function_declarator "FUN_000357a0(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  void *pvVar2;\n  undefined *puVar3;\n  \n  puVar3 = PTR_stdout_00092fbc;\n  if (param_1 == 0) {\n    FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,param_2,&stack0x0000000c,0);\n    putc(10,*(FILE **)puVar3);\n    return 0;\n  }\n  if (param_1 != 1) {\n    uVar1 = dcgettext(0,"%P: error: ",5);\n    puVar3 = &DAT_0004e0a4;\n    if (param_1 != 3) {\n      puVar3 = &DAT_0004fdc1;\n    }\n    pvVar2 = (void *)concat(puVar3,uVar1,param_2,"\n",0);\n    fflush(*(FILE **)PTR_stdout_00092fbc);\n    puVar3 = PTR_stderr_00092f88;\n    FUN_00031da0(*(undefined4 *)PTR_stderr_00092f88,pvVar2,&stack0x0000000c,1);\n    fflush(*(FILE **)puVar3);\n    free(pvVar2);\n    return 0;\n  }\n  uVar1 = dcgettext(0,"%P: warning: ",5);\n  pvVar2 = (void *)concat(uVar1,param_2,"\n",0);\n  FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,pvVar2,&stack0x0000000c,1);\n  free(pvVar2);\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "void *pvVar2;" primitive_type (pointer_declarator "*pvVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "puVar3 = PTR_stdout_00092fbc;" (assignment_expression "puVar3 = PTR_stdout_00092fbc" identifier = identifier) ;) (if_statement "if (param_1 == 0) {\n    FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,param_2,&stack0x0000000c,0);\n    putc(10,*(FILE **)puVar3);\n    return 0;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,param_2,&stack0x0000000c,0);\n    putc(10,*(FILE **)puVar3);\n    return 0;\n  }" { (expression_statement "FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,param_2,&stack0x0000000c,0);" (call_expression "FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,param_2,&stack0x0000000c,0)" identifier (argument_list "(*(undefined4 *)PTR_stdout_00092fbc,param_2,&stack0x0000000c,0)" ( (pointer_expression "*(undefined4 *)PTR_stdout_00092fbc" * (cast_expression "(undefined4 *)PTR_stdout_00092fbc" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , identifier , (pointer_expression "&stack0x0000000c" & identifier) , number_literal ))) ;) (expression_statement "putc(10,*(FILE **)puVar3);" (call_expression "putc(10,*(FILE **)puVar3)" identifier (argument_list "(10,*(FILE **)puVar3)" ( number_literal , (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (param_1 != 1) {\n    uVar1 = dcgettext(0,"%P: error: ",5);\n    puVar3 = &DAT_0004e0a4;\n    if (param_1 != 3) {\n      puVar3 = &DAT_0004fdc1;\n    }\n    pvVar2 = (void *)concat(puVar3,uVar1,param_2,"\n",0);\n    fflush(*(FILE **)PTR_stdout_00092fbc);\n    puVar3 = PTR_stderr_00092f88;\n    FUN_00031da0(*(undefined4 *)PTR_stderr_00092f88,pvVar2,&stack0x0000000c,1);\n    fflush(*(FILE **)puVar3);\n    free(pvVar2);\n    return 0;\n  }" if (parenthesized_expression "(param_1 != 1)" ( (binary_expression "param_1 != 1" identifier != number_literal) )) (compound_statement "{\n    uVar1 = dcgettext(0,"%P: error: ",5);\n    puVar3 = &DAT_0004e0a4;\n    if (param_1 != 3) {\n      puVar3 = &DAT_0004fdc1;\n    }\n    pvVar2 = (void *)concat(puVar3,uVar1,param_2,"\n",0);\n    fflush(*(FILE **)PTR_stdout_00092fbc);\n    puVar3 = PTR_stderr_00092f88;\n    FUN_00031da0(*(undefined4 *)PTR_stderr_00092f88,pvVar2,&stack0x0000000c,1);\n    fflush(*(FILE **)puVar3);\n    free(pvVar2);\n    return 0;\n  }" { (expression_statement "uVar1 = dcgettext(0,"%P: error: ",5);" (assignment_expression "uVar1 = dcgettext(0,"%P: error: ",5)" identifier = (call_expression "dcgettext(0,"%P: error: ",5)" identifier (argument_list "(0,"%P: error: ",5)" ( number_literal , (string_literal ""%P: error: "" " string_content ") , number_literal )))) ;) (expression_statement "puVar3 = &DAT_0004e0a4;" (assignment_expression "puVar3 = &DAT_0004e0a4" identifier = (pointer_expression "&DAT_0004e0a4" & identifier)) ;) (if_statement "if (param_1 != 3) {\n      puVar3 = &DAT_0004fdc1;\n    }" if (parenthesized_expression "(param_1 != 3)" ( (binary_expression "param_1 != 3" identifier != number_literal) )) (compound_statement "{\n      puVar3 = &DAT_0004fdc1;\n    }" { (expression_statement "puVar3 = &DAT_0004fdc1;" (assignment_expression "puVar3 = &DAT_0004fdc1" identifier = (pointer_expression "&DAT_0004fdc1" & identifier)) ;) })) (expression_statement "pvVar2 = (void *)concat(puVar3,uVar1,param_2,"\n",0);" (assignment_expression "pvVar2 = (void *)concat(puVar3,uVar1,param_2,"\n",0)" identifier = (cast_expression "(void *)concat(puVar3,uVar1,param_2,"\n",0)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "concat(puVar3,uVar1,param_2,"\n",0)" identifier (argument_list "(puVar3,uVar1,param_2,"\n",0)" ( identifier , identifier , identifier , (string_literal ""\n"" " escape_sequence ") , number_literal ))))) ;) (expression_statement "fflush(*(FILE **)PTR_stdout_00092fbc);" (call_expression "fflush(*(FILE **)PTR_stdout_00092fbc)" identifier (argument_list "(*(FILE **)PTR_stdout_00092fbc)" ( (pointer_expression "*(FILE **)PTR_stdout_00092fbc" * (cast_expression "(FILE **)PTR_stdout_00092fbc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "puVar3 = PTR_stderr_00092f88;" (assignment_expression "puVar3 = PTR_stderr_00092f88" identifier = identifier) ;) (expression_statement "FUN_00031da0(*(undefined4 *)PTR_stderr_00092f88,pvVar2,&stack0x0000000c,1);" (call_expression "FUN_00031da0(*(undefined4 *)PTR_stderr_00092f88,pvVar2,&stack0x0000000c,1)" identifier (argument_list "(*(undefined4 *)PTR_stderr_00092f88,pvVar2,&stack0x0000000c,1)" ( (pointer_expression "*(undefined4 *)PTR_stderr_00092f88" * (cast_expression "(undefined4 *)PTR_stderr_00092f88" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , identifier , (pointer_expression "&stack0x0000000c" & identifier) , number_literal ))) ;) (expression_statement "fflush(*(FILE **)puVar3);" (call_expression "fflush(*(FILE **)puVar3)" identifier (argument_list "(*(FILE **)puVar3)" ( (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "free(pvVar2);" (call_expression "free(pvVar2)" identifier (argument_list "(pvVar2)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar1 = dcgettext(0,"%P: warning: ",5);" (assignment_expression "uVar1 = dcgettext(0,"%P: warning: ",5)" identifier = (call_expression "dcgettext(0,"%P: warning: ",5)" identifier (argument_list "(0,"%P: warning: ",5)" ( number_literal , (string_literal ""%P: warning: "" " string_content ") , number_literal )))) ;) (expression_statement "pvVar2 = (void *)concat(uVar1,param_2,"\n",0);" (assignment_expression "pvVar2 = (void *)concat(uVar1,param_2,"\n",0)" identifier = (cast_expression "(void *)concat(uVar1,param_2,"\n",0)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "concat(uVar1,param_2,"\n",0)" identifier (argument_list "(uVar1,param_2,"\n",0)" ( identifier , identifier , (string_literal ""\n"" " escape_sequence ") , number_literal ))))) ;) (expression_statement "FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,pvVar2,&stack0x0000000c,1);" (call_expression "FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,pvVar2,&stack0x0000000c,1)" identifier (argument_list "(*(undefined4 *)PTR_stdout_00092fbc,pvVar2,&stack0x0000000c,1)" ( (pointer_expression "*(undefined4 *)PTR_stdout_00092fbc" * (cast_expression "(undefined4 *)PTR_stdout_00092fbc" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , identifier , (pointer_expression "&stack0x0000000c" & identifier) , number_literal ))) ;) (expression_statement "free(pvVar2);" (call_expression "free(pvVar2)" identifier (argument_list "(pvVar2)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nld_plugin_status message(int level,char *format,...)\n\n{\n  undefined4 uVar1;\n  char *pcVar2;\n  undefined *puVar3;\n  \n  puVar3 = PTR_stdout_00092fbc;\n  if (level == 0) {\n    vfinfo(*(FILE **)PTR_stdout_00092fbc,format,&stack0x0000000c,0);\n    putc(10,*(FILE **)puVar3);\n    return LDPS_OK;\n  }\n  if (level != 1) {\n    uVar1 = dcgettext(0,"%P: error: ",5);\n    puVar3 = &DAT_0004e0a4;\n    if (level != 3) {\n      puVar3 = &DAT_0004fdc1;\n    }\n    pcVar2 = (char *)concat(puVar3,uVar1,format,"\n",0);\n    fflush(*(FILE **)PTR_stdout_00092fbc);\n    puVar3 = PTR_stderr_00092f88;\n    vfinfo(*(FILE **)PTR_stderr_00092f88,pcVar2,&stack0x0000000c,1);\n    fflush(*(FILE **)puVar3);\n    free(pcVar2);\n    return LDPS_OK;\n  }\n  uVar1 = dcgettext(0,"%P: warning: ",5);\n  pcVar2 = (char *)concat(uVar1,format,"\n",0);\n  vfinfo(*(FILE **)PTR_stdout_00092fbc,pcVar2,&stack0x0000000c,1);\n  free(pcVar2);\n  return LDPS_OK;\n}\n\n" comment (function_definition "ld_plugin_status message(int level,char *format,...)\n\n{\n  undefined4 uVar1;\n  char *pcVar2;\n  undefined *puVar3;\n  \n  puVar3 = PTR_stdout_00092fbc;\n  if (level == 0) {\n    vfinfo(*(FILE **)PTR_stdout_00092fbc,format,&stack0x0000000c,0);\n    putc(10,*(FILE **)puVar3);\n    return LDPS_OK;\n  }\n  if (level != 1) {\n    uVar1 = dcgettext(0,"%P: error: ",5);\n    puVar3 = &DAT_0004e0a4;\n    if (level != 3) {\n      puVar3 = &DAT_0004fdc1;\n    }\n    pcVar2 = (char *)concat(puVar3,uVar1,format,"\n",0);\n    fflush(*(FILE **)PTR_stdout_00092fbc);\n    puVar3 = PTR_stderr_00092f88;\n    vfinfo(*(FILE **)PTR_stderr_00092f88,pcVar2,&stack0x0000000c,1);\n    fflush(*(FILE **)puVar3);\n    free(pcVar2);\n    return LDPS_OK;\n  }\n  uVar1 = dcgettext(0,"%P: warning: ",5);\n  pcVar2 = (char *)concat(uVar1,format,"\n",0);\n  vfinfo(*(FILE **)PTR_stdout_00092fbc,pcVar2,&stack0x0000000c,1);\n  free(pcVar2);\n  return LDPS_OK;\n}" type_identifier (function_declarator "message(int level,char *format,...)" identifier (parameter_list "(int level,char *format,...)" ( (parameter_declaration "int level" primitive_type identifier) , (parameter_declaration "char *format" primitive_type (pointer_declarator "*format" * identifier)) , (variadic_parameter "..." ...) ))) (compound_statement "{\n  undefined4 uVar1;\n  char *pcVar2;\n  undefined *puVar3;\n  \n  puVar3 = PTR_stdout_00092fbc;\n  if (level == 0) {\n    vfinfo(*(FILE **)PTR_stdout_00092fbc,format,&stack0x0000000c,0);\n    putc(10,*(FILE **)puVar3);\n    return LDPS_OK;\n  }\n  if (level != 1) {\n    uVar1 = dcgettext(0,"%P: error: ",5);\n    puVar3 = &DAT_0004e0a4;\n    if (level != 3) {\n      puVar3 = &DAT_0004fdc1;\n    }\n    pcVar2 = (char *)concat(puVar3,uVar1,format,"\n",0);\n    fflush(*(FILE **)PTR_stdout_00092fbc);\n    puVar3 = PTR_stderr_00092f88;\n    vfinfo(*(FILE **)PTR_stderr_00092f88,pcVar2,&stack0x0000000c,1);\n    fflush(*(FILE **)puVar3);\n    free(pcVar2);\n    return LDPS_OK;\n  }\n  uVar1 = dcgettext(0,"%P: warning: ",5);\n  pcVar2 = (char *)concat(uVar1,format,"\n",0);\n  vfinfo(*(FILE **)PTR_stdout_00092fbc,pcVar2,&stack0x0000000c,1);\n  free(pcVar2);\n  return LDPS_OK;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "puVar3 = PTR_stdout_00092fbc;" (assignment_expression "puVar3 = PTR_stdout_00092fbc" identifier = identifier) ;) (if_statement "if (level == 0) {\n    vfinfo(*(FILE **)PTR_stdout_00092fbc,format,&stack0x0000000c,0);\n    putc(10,*(FILE **)puVar3);\n    return LDPS_OK;\n  }" if (parenthesized_expression "(level == 0)" ( (binary_expression "level == 0" identifier == number_literal) )) (compound_statement "{\n    vfinfo(*(FILE **)PTR_stdout_00092fbc,format,&stack0x0000000c,0);\n    putc(10,*(FILE **)puVar3);\n    return LDPS_OK;\n  }" { (expression_statement "vfinfo(*(FILE **)PTR_stdout_00092fbc,format,&stack0x0000000c,0);" (call_expression "vfinfo(*(FILE **)PTR_stdout_00092fbc,format,&stack0x0000000c,0)" identifier (argument_list "(*(FILE **)PTR_stdout_00092fbc,format,&stack0x0000000c,0)" ( (pointer_expression "*(FILE **)PTR_stdout_00092fbc" * (cast_expression "(FILE **)PTR_stdout_00092fbc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , (pointer_expression "&stack0x0000000c" & identifier) , number_literal ))) ;) (expression_statement "putc(10,*(FILE **)puVar3);" (call_expression "putc(10,*(FILE **)puVar3)" identifier (argument_list "(10,*(FILE **)puVar3)" ( number_literal , (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (return_statement "return LDPS_OK;" return identifier ;) })) (if_statement "if (level != 1) {\n    uVar1 = dcgettext(0,"%P: error: ",5);\n    puVar3 = &DAT_0004e0a4;\n    if (level != 3) {\n      puVar3 = &DAT_0004fdc1;\n    }\n    pcVar2 = (char *)concat(puVar3,uVar1,format,"\n",0);\n    fflush(*(FILE **)PTR_stdout_00092fbc);\n    puVar3 = PTR_stderr_00092f88;\n    vfinfo(*(FILE **)PTR_stderr_00092f88,pcVar2,&stack0x0000000c,1);\n    fflush(*(FILE **)puVar3);\n    free(pcVar2);\n    return LDPS_OK;\n  }" if (parenthesized_expression "(level != 1)" ( (binary_expression "level != 1" identifier != number_literal) )) (compound_statement "{\n    uVar1 = dcgettext(0,"%P: error: ",5);\n    puVar3 = &DAT_0004e0a4;\n    if (level != 3) {\n      puVar3 = &DAT_0004fdc1;\n    }\n    pcVar2 = (char *)concat(puVar3,uVar1,format,"\n",0);\n    fflush(*(FILE **)PTR_stdout_00092fbc);\n    puVar3 = PTR_stderr_00092f88;\n    vfinfo(*(FILE **)PTR_stderr_00092f88,pcVar2,&stack0x0000000c,1);\n    fflush(*(FILE **)puVar3);\n    free(pcVar2);\n    return LDPS_OK;\n  }" { (expression_statement "uVar1 = dcgettext(0,"%P: error: ",5);" (assignment_expression "uVar1 = dcgettext(0,"%P: error: ",5)" identifier = (call_expression "dcgettext(0,"%P: error: ",5)" identifier (argument_list "(0,"%P: error: ",5)" ( number_literal , (string_literal ""%P: error: "" " string_content ") , number_literal )))) ;) (expression_statement "puVar3 = &DAT_0004e0a4;" (assignment_expression "puVar3 = &DAT_0004e0a4" identifier = (pointer_expression "&DAT_0004e0a4" & identifier)) ;) (if_statement "if (level != 3) {\n      puVar3 = &DAT_0004fdc1;\n    }" if (parenthesized_expression "(level != 3)" ( (binary_expression "level != 3" identifier != number_literal) )) (compound_statement "{\n      puVar3 = &DAT_0004fdc1;\n    }" { (expression_statement "puVar3 = &DAT_0004fdc1;" (assignment_expression "puVar3 = &DAT_0004fdc1" identifier = (pointer_expression "&DAT_0004fdc1" & identifier)) ;) })) (expression_statement "pcVar2 = (char *)concat(puVar3,uVar1,format,"\n",0);" (assignment_expression "pcVar2 = (char *)concat(puVar3,uVar1,format,"\n",0)" identifier = (cast_expression "(char *)concat(puVar3,uVar1,format,"\n",0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "concat(puVar3,uVar1,format,"\n",0)" identifier (argument_list "(puVar3,uVar1,format,"\n",0)" ( identifier , identifier , identifier , (string_literal ""\n"" " escape_sequence ") , number_literal ))))) ;) (expression_statement "fflush(*(FILE **)PTR_stdout_00092fbc);" (call_expression "fflush(*(FILE **)PTR_stdout_00092fbc)" identifier (argument_list "(*(FILE **)PTR_stdout_00092fbc)" ( (pointer_expression "*(FILE **)PTR_stdout_00092fbc" * (cast_expression "(FILE **)PTR_stdout_00092fbc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "puVar3 = PTR_stderr_00092f88;" (assignment_expression "puVar3 = PTR_stderr_00092f88" identifier = identifier) ;) (expression_statement "vfinfo(*(FILE **)PTR_stderr_00092f88,pcVar2,&stack0x0000000c,1);" (call_expression "vfinfo(*(FILE **)PTR_stderr_00092f88,pcVar2,&stack0x0000000c,1)" identifier (argument_list "(*(FILE **)PTR_stderr_00092f88,pcVar2,&stack0x0000000c,1)" ( (pointer_expression "*(FILE **)PTR_stderr_00092f88" * (cast_expression "(FILE **)PTR_stderr_00092f88" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , (pointer_expression "&stack0x0000000c" & identifier) , number_literal ))) ;) (expression_statement "fflush(*(FILE **)puVar3);" (call_expression "fflush(*(FILE **)puVar3)" identifier (argument_list "(*(FILE **)puVar3)" ( (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "free(pcVar2);" (call_expression "free(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;) (return_statement "return LDPS_OK;" return identifier ;) })) (expression_statement "uVar1 = dcgettext(0,"%P: warning: ",5);" (assignment_expression "uVar1 = dcgettext(0,"%P: warning: ",5)" identifier = (call_expression "dcgettext(0,"%P: warning: ",5)" identifier (argument_list "(0,"%P: warning: ",5)" ( number_literal , (string_literal ""%P: warning: "" " string_content ") , number_literal )))) ;) (expression_statement "pcVar2 = (char *)concat(uVar1,format,"\n",0);" (assignment_expression "pcVar2 = (char *)concat(uVar1,format,"\n",0)" identifier = (cast_expression "(char *)concat(uVar1,format,"\n",0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "concat(uVar1,format,"\n",0)" identifier (argument_list "(uVar1,format,"\n",0)" ( identifier , identifier , (string_literal ""\n"" " escape_sequence ") , number_literal ))))) ;) (expression_statement "vfinfo(*(FILE **)PTR_stdout_00092fbc,pcVar2,&stack0x0000000c,1);" (call_expression "vfinfo(*(FILE **)PTR_stdout_00092fbc,pcVar2,&stack0x0000000c,1)" identifier (argument_list "(*(FILE **)PTR_stdout_00092fbc,pcVar2,&stack0x0000000c,1)" ( (pointer_expression "*(FILE **)PTR_stdout_00092fbc" * (cast_expression "(FILE **)PTR_stdout_00092fbc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , (pointer_expression "&stack0x0000000c" & identifier) , number_literal ))) ;) (expression_statement "free(pcVar2);" (call_expression "free(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;) (return_statement "return LDPS_OK;" return identifier ;) })))
(translation_unit "undefined4 FUN_000357a0(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  void *pvVar2;\n  undefined *puVar3;\n  \n  puVar3 = PTR_stdout_00092fbc;\n  if (param_1 == 0) {\n    FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,param_2,&stack0x0000000c,0);\n    putc(10,*(FILE **)puVar3);\n    return 0;\n  }\n  if (param_1 != 1) {\n    uVar1 = dcgettext(0,"%P: error: ",5);\n    puVar3 = &DAT_0004e0a4;\n    if (param_1 != 3) {\n      puVar3 = &DAT_0004fdc1;\n    }\n    pvVar2 = (void *)concat(puVar3,uVar1,param_2,"\n",0);\n    fflush(*(FILE **)PTR_stdout_00092fbc);\n    puVar3 = PTR_stderr_00092f88;\n    FUN_00031da0(*(undefined4 *)PTR_stderr_00092f88,pvVar2,&stack0x0000000c,1);\n    fflush(*(FILE **)puVar3);\n    free(pvVar2);\n    return 0;\n  }\n  uVar1 = dcgettext(0,"%P: warning: ",5);\n  pvVar2 = (void *)concat(uVar1,param_2,"\n",0);\n  FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,pvVar2,&stack0x0000000c,1);\n  free(pvVar2);\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_000357a0(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  void *pvVar2;\n  undefined *puVar3;\n  \n  puVar3 = PTR_stdout_00092fbc;\n  if (param_1 == 0) {\n    FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,param_2,&stack0x0000000c,0);\n    putc(10,*(FILE **)puVar3);\n    return 0;\n  }\n  if (param_1 != 1) {\n    uVar1 = dcgettext(0,"%P: error: ",5);\n    puVar3 = &DAT_0004e0a4;\n    if (param_1 != 3) {\n      puVar3 = &DAT_0004fdc1;\n    }\n    pvVar2 = (void *)concat(puVar3,uVar1,param_2,"\n",0);\n    fflush(*(FILE **)PTR_stdout_00092fbc);\n    puVar3 = PTR_stderr_00092f88;\n    FUN_00031da0(*(undefined4 *)PTR_stderr_00092f88,pvVar2,&stack0x0000000c,1);\n    fflush(*(FILE **)puVar3);\n    free(pvVar2);\n    return 0;\n  }\n  uVar1 = dcgettext(0,"%P: warning: ",5);\n  pvVar2 = (void *)concat(uVar1,param_2,"\n",0);\n  FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,pvVar2,&stack0x0000000c,1);\n  free(pvVar2);\n  return 0;\n}" type_identifier (function_declarator "FUN_000357a0(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  void *pvVar2;\n  undefined *puVar3;\n  \n  puVar3 = PTR_stdout_00092fbc;\n  if (param_1 == 0) {\n    FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,param_2,&stack0x0000000c,0);\n    putc(10,*(FILE **)puVar3);\n    return 0;\n  }\n  if (param_1 != 1) {\n    uVar1 = dcgettext(0,"%P: error: ",5);\n    puVar3 = &DAT_0004e0a4;\n    if (param_1 != 3) {\n      puVar3 = &DAT_0004fdc1;\n    }\n    pvVar2 = (void *)concat(puVar3,uVar1,param_2,"\n",0);\n    fflush(*(FILE **)PTR_stdout_00092fbc);\n    puVar3 = PTR_stderr_00092f88;\n    FUN_00031da0(*(undefined4 *)PTR_stderr_00092f88,pvVar2,&stack0x0000000c,1);\n    fflush(*(FILE **)puVar3);\n    free(pvVar2);\n    return 0;\n  }\n  uVar1 = dcgettext(0,"%P: warning: ",5);\n  pvVar2 = (void *)concat(uVar1,param_2,"\n",0);\n  FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,pvVar2,&stack0x0000000c,1);\n  free(pvVar2);\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "void *pvVar2;" primitive_type (pointer_declarator "*pvVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "puVar3 = PTR_stdout_00092fbc;" (assignment_expression "puVar3 = PTR_stdout_00092fbc" identifier = identifier) ;) (if_statement "if (param_1 == 0) {\n    FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,param_2,&stack0x0000000c,0);\n    putc(10,*(FILE **)puVar3);\n    return 0;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,param_2,&stack0x0000000c,0);\n    putc(10,*(FILE **)puVar3);\n    return 0;\n  }" { (expression_statement "FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,param_2,&stack0x0000000c,0);" (call_expression "FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,param_2,&stack0x0000000c,0)" identifier (argument_list "(*(undefined4 *)PTR_stdout_00092fbc,param_2,&stack0x0000000c,0)" ( (pointer_expression "*(undefined4 *)PTR_stdout_00092fbc" * (cast_expression "(undefined4 *)PTR_stdout_00092fbc" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , identifier , (pointer_expression "&stack0x0000000c" & identifier) , number_literal ))) ;) (expression_statement "putc(10,*(FILE **)puVar3);" (call_expression "putc(10,*(FILE **)puVar3)" identifier (argument_list "(10,*(FILE **)puVar3)" ( number_literal , (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (param_1 != 1) {\n    uVar1 = dcgettext(0,"%P: error: ",5);\n    puVar3 = &DAT_0004e0a4;\n    if (param_1 != 3) {\n      puVar3 = &DAT_0004fdc1;\n    }\n    pvVar2 = (void *)concat(puVar3,uVar1,param_2,"\n",0);\n    fflush(*(FILE **)PTR_stdout_00092fbc);\n    puVar3 = PTR_stderr_00092f88;\n    FUN_00031da0(*(undefined4 *)PTR_stderr_00092f88,pvVar2,&stack0x0000000c,1);\n    fflush(*(FILE **)puVar3);\n    free(pvVar2);\n    return 0;\n  }" if (parenthesized_expression "(param_1 != 1)" ( (binary_expression "param_1 != 1" identifier != number_literal) )) (compound_statement "{\n    uVar1 = dcgettext(0,"%P: error: ",5);\n    puVar3 = &DAT_0004e0a4;\n    if (param_1 != 3) {\n      puVar3 = &DAT_0004fdc1;\n    }\n    pvVar2 = (void *)concat(puVar3,uVar1,param_2,"\n",0);\n    fflush(*(FILE **)PTR_stdout_00092fbc);\n    puVar3 = PTR_stderr_00092f88;\n    FUN_00031da0(*(undefined4 *)PTR_stderr_00092f88,pvVar2,&stack0x0000000c,1);\n    fflush(*(FILE **)puVar3);\n    free(pvVar2);\n    return 0;\n  }" { (expression_statement "uVar1 = dcgettext(0,"%P: error: ",5);" (assignment_expression "uVar1 = dcgettext(0,"%P: error: ",5)" identifier = (call_expression "dcgettext(0,"%P: error: ",5)" identifier (argument_list "(0,"%P: error: ",5)" ( number_literal , (string_literal ""%P: error: "" " string_content ") , number_literal )))) ;) (expression_statement "puVar3 = &DAT_0004e0a4;" (assignment_expression "puVar3 = &DAT_0004e0a4" identifier = (pointer_expression "&DAT_0004e0a4" & identifier)) ;) (if_statement "if (param_1 != 3) {\n      puVar3 = &DAT_0004fdc1;\n    }" if (parenthesized_expression "(param_1 != 3)" ( (binary_expression "param_1 != 3" identifier != number_literal) )) (compound_statement "{\n      puVar3 = &DAT_0004fdc1;\n    }" { (expression_statement "puVar3 = &DAT_0004fdc1;" (assignment_expression "puVar3 = &DAT_0004fdc1" identifier = (pointer_expression "&DAT_0004fdc1" & identifier)) ;) })) (expression_statement "pvVar2 = (void *)concat(puVar3,uVar1,param_2,"\n",0);" (assignment_expression "pvVar2 = (void *)concat(puVar3,uVar1,param_2,"\n",0)" identifier = (cast_expression "(void *)concat(puVar3,uVar1,param_2,"\n",0)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "concat(puVar3,uVar1,param_2,"\n",0)" identifier (argument_list "(puVar3,uVar1,param_2,"\n",0)" ( identifier , identifier , identifier , (string_literal ""\n"" " escape_sequence ") , number_literal ))))) ;) (expression_statement "fflush(*(FILE **)PTR_stdout_00092fbc);" (call_expression "fflush(*(FILE **)PTR_stdout_00092fbc)" identifier (argument_list "(*(FILE **)PTR_stdout_00092fbc)" ( (pointer_expression "*(FILE **)PTR_stdout_00092fbc" * (cast_expression "(FILE **)PTR_stdout_00092fbc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "puVar3 = PTR_stderr_00092f88;" (assignment_expression "puVar3 = PTR_stderr_00092f88" identifier = identifier) ;) (expression_statement "FUN_00031da0(*(undefined4 *)PTR_stderr_00092f88,pvVar2,&stack0x0000000c,1);" (call_expression "FUN_00031da0(*(undefined4 *)PTR_stderr_00092f88,pvVar2,&stack0x0000000c,1)" identifier (argument_list "(*(undefined4 *)PTR_stderr_00092f88,pvVar2,&stack0x0000000c,1)" ( (pointer_expression "*(undefined4 *)PTR_stderr_00092f88" * (cast_expression "(undefined4 *)PTR_stderr_00092f88" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , identifier , (pointer_expression "&stack0x0000000c" & identifier) , number_literal ))) ;) (expression_statement "fflush(*(FILE **)puVar3);" (call_expression "fflush(*(FILE **)puVar3)" identifier (argument_list "(*(FILE **)puVar3)" ( (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "free(pvVar2);" (call_expression "free(pvVar2)" identifier (argument_list "(pvVar2)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar1 = dcgettext(0,"%P: warning: ",5);" (assignment_expression "uVar1 = dcgettext(0,"%P: warning: ",5)" identifier = (call_expression "dcgettext(0,"%P: warning: ",5)" identifier (argument_list "(0,"%P: warning: ",5)" ( number_literal , (string_literal ""%P: warning: "" " string_content ") , number_literal )))) ;) (expression_statement "pvVar2 = (void *)concat(uVar1,param_2,"\n",0);" (assignment_expression "pvVar2 = (void *)concat(uVar1,param_2,"\n",0)" identifier = (cast_expression "(void *)concat(uVar1,param_2,"\n",0)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "concat(uVar1,param_2,"\n",0)" identifier (argument_list "(uVar1,param_2,"\n",0)" ( identifier , identifier , (string_literal ""\n"" " escape_sequence ") , number_literal ))))) ;) (expression_statement "FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,pvVar2,&stack0x0000000c,1);" (call_expression "FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,pvVar2,&stack0x0000000c,1)" identifier (argument_list "(*(undefined4 *)PTR_stdout_00092fbc,pvVar2,&stack0x0000000c,1)" ( (pointer_expression "*(undefined4 *)PTR_stdout_00092fbc" * (cast_expression "(undefined4 *)PTR_stdout_00092fbc" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , identifier , (pointer_expression "&stack0x0000000c" & identifier) , number_literal ))) ;) (expression_statement "free(pvVar2);" (call_expression "free(pvVar2)" identifier (argument_list "(pvVar2)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , IDENT , (pointer_expression & IDENT) , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) ))) ;) (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , (string_literal " escape_sequence ") , LIT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , IDENT , (pointer_expression & IDENT) , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT , (string_literal " escape_sequence ") , LIT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , IDENT , (pointer_expression & IDENT) , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_000357a0(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  void *pvVar2;\n  undefined *puVar3;\n  \n  puVar3 = PTR_stdout_00092fbc;\n  if (param_1 == 0) {\n    FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,param_2,&stack0x0000000c,0);\n    putc(10,*(FILE **)puVar3);\n    return 0;\n  }\n  if (param_1 != 1) {\n    uVar1 = dcgettext(0,"%P: error: ",5);\n    puVar3 = &DAT_0004e0a4;\n    if (param_1 != 3) {\n      puVar3 = &DAT_0004fdc1;\n    }\n    pvVar2 = (void *)concat(puVar3,uVar1,param_2,"\n",0);\n    fflush(*(FILE **)PTR_stdout_00092fbc);\n    puVar3 = PTR_stderr_00092f88;\n    FUN_00031da0(*(undefined4 *)PTR_stderr_00092f88,pvVar2,&stack0x0000000c,1);\n    fflush(*(FILE **)puVar3);\n    free(pvVar2);\n    return 0;\n  }\n  uVar1 = dcgettext(0,"%P: warning: ",5);\n  pvVar2 = (void *)concat(uVar1,param_2,"\n",0);\n  FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,pvVar2,&stack0x0000000c,1);\n  free(pvVar2);\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_000357a0(int param_1,undefined4 param_2)" (identifier "FUN_000357a0") (parameter_list "(int param_1,undefined4 param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  void *pvVar2;\n  undefined *puVar3;\n  \n  puVar3 = PTR_stdout_00092fbc;\n  if (param_1 == 0) {\n    FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,param_2,&stack0x0000000c,0);\n    putc(10,*(FILE **)puVar3);\n    return 0;\n  }\n  if (param_1 != 1) {\n    uVar1 = dcgettext(0,"%P: error: ",5);\n    puVar3 = &DAT_0004e0a4;\n    if (param_1 != 3) {\n      puVar3 = &DAT_0004fdc1;\n    }\n    pvVar2 = (void *)concat(puVar3,uVar1,param_2,"\n",0);\n    fflush(*(FILE **)PTR_stdout_00092fbc);\n    puVar3 = PTR_stderr_00092f88;\n    FUN_00031da0(*(undefined4 *)PTR_stderr_00092f88,pvVar2,&stack0x0000000c,1);\n    fflush(*(FILE **)puVar3);\n    free(pvVar2);\n    return 0;\n  }\n  uVar1 = dcgettext(0,"%P: warning: ",5);\n  pvVar2 = (void *)concat(uVar1,param_2,"\n",0);\n  FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,pvVar2,&stack0x0000000c,1);\n  free(pvVar2);\n  return 0;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "void *pvVar2;" (primitive_type "void") (pointer_declarator "*pvVar2" (* "*") (identifier "pvVar2")) (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (expression_statement "puVar3 = PTR_stdout_00092fbc;" (assignment_expression "puVar3 = PTR_stdout_00092fbc" (identifier "puVar3") (= "=") (identifier "PTR_stdout_00092fbc")) (; ";")) (if_statement "if (param_1 == 0) {\n    FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,param_2,&stack0x0000000c,0);\n    putc(10,*(FILE **)puVar3);\n    return 0;\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,param_2,&stack0x0000000c,0);\n    putc(10,*(FILE **)puVar3);\n    return 0;\n  }" ({ "{") (expression_statement "FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,param_2,&stack0x0000000c,0);" (call_expression "FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,param_2,&stack0x0000000c,0)" (identifier "FUN_00031da0") (argument_list "(*(undefined4 *)PTR_stdout_00092fbc,param_2,&stack0x0000000c,0)" (( "(") (pointer_expression "*(undefined4 *)PTR_stdout_00092fbc" (* "*") (cast_expression "(undefined4 *)PTR_stdout_00092fbc" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stdout_00092fbc"))) (, ",") (identifier "param_2") (, ",") (pointer_expression "&stack0x0000000c" (& "&") (identifier "stack0x0000000c")) (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "putc(10,*(FILE **)puVar3);" (call_expression "putc(10,*(FILE **)puVar3)" (identifier "putc") (argument_list "(10,*(FILE **)puVar3)" (( "(") (number_literal "10") (, ",") (pointer_expression "*(FILE **)puVar3" (* "*") (cast_expression "(FILE **)puVar3" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar3"))) () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (param_1 != 1) {\n    uVar1 = dcgettext(0,"%P: error: ",5);\n    puVar3 = &DAT_0004e0a4;\n    if (param_1 != 3) {\n      puVar3 = &DAT_0004fdc1;\n    }\n    pvVar2 = (void *)concat(puVar3,uVar1,param_2,"\n",0);\n    fflush(*(FILE **)PTR_stdout_00092fbc);\n    puVar3 = PTR_stderr_00092f88;\n    FUN_00031da0(*(undefined4 *)PTR_stderr_00092f88,pvVar2,&stack0x0000000c,1);\n    fflush(*(FILE **)puVar3);\n    free(pvVar2);\n    return 0;\n  }" (if "if") (parenthesized_expression "(param_1 != 1)" (( "(") (binary_expression "param_1 != 1" (identifier "param_1") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n    uVar1 = dcgettext(0,"%P: error: ",5);\n    puVar3 = &DAT_0004e0a4;\n    if (param_1 != 3) {\n      puVar3 = &DAT_0004fdc1;\n    }\n    pvVar2 = (void *)concat(puVar3,uVar1,param_2,"\n",0);\n    fflush(*(FILE **)PTR_stdout_00092fbc);\n    puVar3 = PTR_stderr_00092f88;\n    FUN_00031da0(*(undefined4 *)PTR_stderr_00092f88,pvVar2,&stack0x0000000c,1);\n    fflush(*(FILE **)puVar3);\n    free(pvVar2);\n    return 0;\n  }" ({ "{") (expression_statement "uVar1 = dcgettext(0,"%P: error: ",5);" (assignment_expression "uVar1 = dcgettext(0,"%P: error: ",5)" (identifier "uVar1") (= "=") (call_expression "dcgettext(0,"%P: error: ",5)" (identifier "dcgettext") (argument_list "(0,"%P: error: ",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%P: error: "" (" """) (string_content "%P: error: ") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "puVar3 = &DAT_0004e0a4;" (assignment_expression "puVar3 = &DAT_0004e0a4" (identifier "puVar3") (= "=") (pointer_expression "&DAT_0004e0a4" (& "&") (identifier "DAT_0004e0a4"))) (; ";")) (if_statement "if (param_1 != 3) {\n      puVar3 = &DAT_0004fdc1;\n    }" (if "if") (parenthesized_expression "(param_1 != 3)" (( "(") (binary_expression "param_1 != 3" (identifier "param_1") (!= "!=") (number_literal "3")) () ")")) (compound_statement "{\n      puVar3 = &DAT_0004fdc1;\n    }" ({ "{") (expression_statement "puVar3 = &DAT_0004fdc1;" (assignment_expression "puVar3 = &DAT_0004fdc1" (identifier "puVar3") (= "=") (pointer_expression "&DAT_0004fdc1" (& "&") (identifier "DAT_0004fdc1"))) (; ";")) (} "}"))) (expression_statement "pvVar2 = (void *)concat(puVar3,uVar1,param_2,"\n",0);" (assignment_expression "pvVar2 = (void *)concat(puVar3,uVar1,param_2,"\n",0)" (identifier "pvVar2") (= "=") (cast_expression "(void *)concat(puVar3,uVar1,param_2,"\n",0)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "concat(puVar3,uVar1,param_2,"\n",0)" (identifier "concat") (argument_list "(puVar3,uVar1,param_2,"\n",0)" (( "(") (identifier "puVar3") (, ",") (identifier "uVar1") (, ",") (identifier "param_2") (, ",") (string_literal ""\n"" (" """) (escape_sequence "\n") (" """)) (, ",") (number_literal "0") () ")"))))) (; ";")) (expression_statement "fflush(*(FILE **)PTR_stdout_00092fbc);" (call_expression "fflush(*(FILE **)PTR_stdout_00092fbc)" (identifier "fflush") (argument_list "(*(FILE **)PTR_stdout_00092fbc)" (( "(") (pointer_expression "*(FILE **)PTR_stdout_00092fbc" (* "*") (cast_expression "(FILE **)PTR_stdout_00092fbc" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_stdout_00092fbc"))) () ")"))) (; ";")) (expression_statement "puVar3 = PTR_stderr_00092f88;" (assignment_expression "puVar3 = PTR_stderr_00092f88" (identifier "puVar3") (= "=") (identifier "PTR_stderr_00092f88")) (; ";")) (expression_statement "FUN_00031da0(*(undefined4 *)PTR_stderr_00092f88,pvVar2,&stack0x0000000c,1);" (call_expression "FUN_00031da0(*(undefined4 *)PTR_stderr_00092f88,pvVar2,&stack0x0000000c,1)" (identifier "FUN_00031da0") (argument_list "(*(undefined4 *)PTR_stderr_00092f88,pvVar2,&stack0x0000000c,1)" (( "(") (pointer_expression "*(undefined4 *)PTR_stderr_00092f88" (* "*") (cast_expression "(undefined4 *)PTR_stderr_00092f88" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_00092f88"))) (, ",") (identifier "pvVar2") (, ",") (pointer_expression "&stack0x0000000c" (& "&") (identifier "stack0x0000000c")) (, ",") (number_literal "1") () ")"))) (; ";")) (expression_statement "fflush(*(FILE **)puVar3);" (call_expression "fflush(*(FILE **)puVar3)" (identifier "fflush") (argument_list "(*(FILE **)puVar3)" (( "(") (pointer_expression "*(FILE **)puVar3" (* "*") (cast_expression "(FILE **)puVar3" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar3"))) () ")"))) (; ";")) (expression_statement "free(pvVar2);" (call_expression "free(pvVar2)" (identifier "free") (argument_list "(pvVar2)" (( "(") (identifier "pvVar2") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "uVar1 = dcgettext(0,"%P: warning: ",5);" (assignment_expression "uVar1 = dcgettext(0,"%P: warning: ",5)" (identifier "uVar1") (= "=") (call_expression "dcgettext(0,"%P: warning: ",5)" (identifier "dcgettext") (argument_list "(0,"%P: warning: ",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%P: warning: "" (" """) (string_content "%P: warning: ") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "pvVar2 = (void *)concat(uVar1,param_2,"\n",0);" (assignment_expression "pvVar2 = (void *)concat(uVar1,param_2,"\n",0)" (identifier "pvVar2") (= "=") (cast_expression "(void *)concat(uVar1,param_2,"\n",0)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "concat(uVar1,param_2,"\n",0)" (identifier "concat") (argument_list "(uVar1,param_2,"\n",0)" (( "(") (identifier "uVar1") (, ",") (identifier "param_2") (, ",") (string_literal ""\n"" (" """) (escape_sequence "\n") (" """)) (, ",") (number_literal "0") () ")"))))) (; ";")) (expression_statement "FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,pvVar2,&stack0x0000000c,1);" (call_expression "FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,pvVar2,&stack0x0000000c,1)" (identifier "FUN_00031da0") (argument_list "(*(undefined4 *)PTR_stdout_00092fbc,pvVar2,&stack0x0000000c,1)" (( "(") (pointer_expression "*(undefined4 *)PTR_stdout_00092fbc" (* "*") (cast_expression "(undefined4 *)PTR_stdout_00092fbc" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stdout_00092fbc"))) (, ",") (identifier "pvVar2") (, ",") (pointer_expression "&stack0x0000000c" (& "&") (identifier "stack0x0000000c")) (, ",") (number_literal "1") () ")"))) (; ";")) (expression_statement "free(pvVar2);" (call_expression "free(pvVar2)" (identifier "free") (argument_list "(pvVar2)" (( "(") (identifier "pvVar2") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

type_1 function_1(int var_1,char *format,...)

{
  type_2 uVar1;
  char *pcVar2;
  type_3 *puVar3;
  
  puVar3 = PTR_stdout_00092fbc;
  if (var_1 == 0) {
    var_2(*(type_4 **)PTR_stdout_00092fbc,format,&stack0x0000000c,0);
    var_3(10,*(type_4 **)puVar3);
    return LDPS_OK;
  }
  if (var_1 != 1) {
    uVar1 = var_4(0,"%P: error: ",5);
    puVar3 = &DAT_0004e0a4;
    if (var_1 != 3) {
      puVar3 = &DAT_0004fdc1;
    }
    pcVar2 = (char *)var_5(puVar3,uVar1,format,"\n",0);
    var_6(*(type_4 **)PTR_stdout_00092fbc);
    puVar3 = PTR_stderr_00092f88;
    var_2(*(type_4 **)PTR_stderr_00092f88,pcVar2,&stack0x0000000c,1);
    var_6(*(type_4 **)puVar3);
    var_7(pcVar2);
    return LDPS_OK;
  }
  uVar1 = var_4(0,"%P: warning: ",5);
  pcVar2 = (char *)var_5(uVar1,format,"\n",0);
  var_2(*(type_4 **)PTR_stdout_00092fbc,pcVar2,&stack0x0000000c,1);
  var_7(pcVar2);
  return LDPS_OK;
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 MASKED(int param_1,undefined4 param_2)

{
  undefined4 uVar1;
  void *pvVar2;
  undefined *puVar3;
  
  puVar3 = PTR_stdout_00092fbc;
  if (param_1 == 0) {
    FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,param_2,&stack0x0000000c,0);
    putc(10,*(FILE **)puVar3);
    return 0;
  }
  if (param_1 != 1) {
    uVar1 = dcgettext(0,"%P: error: ",5);
    puVar3 = &DAT_0004e0a4;
    if (param_1 != 3) {
      puVar3 = &DAT_0004fdc1;
    }
    pvVar2 = (void *)concat(puVar3,uVar1,param_2,"\n",0);
    fflush(*(FILE **)PTR_stdout_00092fbc);
    puVar3 = PTR_stderr_00092f88;
    FUN_00031da0(*(undefined4 *)PTR_stderr_00092f88,pvVar2,&stack0x0000000c,1);
    fflush(*(FILE **)puVar3);
    free(pvVar2);
    return 0;
  }
  uVar1 = dcgettext(0,"%P: warning: ",5);
  pvVar2 = (void *)concat(uVar1,param_2,"\n",0);
  FUN_00031da0(*(undefined4 *)PTR_stdout_00092fbc,pvVar2,&stack0x0000000c,1);
  free(pvVar2);
  return 0;
}

