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

debug_type_conflict debug_make_undefined_tagged_type(void *handle,char *name,debug_type_kind kind)

{
  debug_type_s *type;
  debug_type_conflict pdVar1;
  undefined4 uVar2;
  uint in_ECX;
  
  if (name != (char *)0x0) {
    if (kind - DEBUG_KIND_STRUCT < 5) {
      type = debug_make_type((debug_handle *)kind,DEBUG_KIND_ILLEGAL,in_ECX);
      if (type != (debug_type_s *)0x0) {
        pdVar1 = debug_tag_type(handle,name,type);
        return pdVar1;
      }
    }
    else {
      uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);
      fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);
    }
  }
  return (debug_type_conflict)0x0;
}



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

undefined4 FUN_0003e7c0(undefined4 param_1,int param_2,int param_3)

{
  int iVar1;
  undefined4 uVar2;
  
  if (param_2 != 0) {
    if (param_3 - 7U < 5) {
      iVar1 = FUN_0003bac0();
      if (iVar1 != 0) {
        uVar2 = FUN_0003e680();
        return uVar2;
      }
    }
    else {
      uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);
      fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);
    }
  }
  return 0;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x14]
CALL 0x000153d0
ADD EBX,0x34834
MOV EDI,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [ESP + 0x18]
TEST ESI,ESI
JZ 0x0003e836
LEA EDX,[EAX + -0x7]
CMP EDX,0x4
JA 0x0003e808
XOR EDX,EDX
CALL 0x0003bac0
TEST EAX,EAX
JZ 0x0003e836
MOV dword ptr [ESP + 0x18],EAX
MOV dword ptr [ESP + 0x14],ESI
MOV dword ptr [ESP + 0x10],EDI
POP EBX
POP ESI
POP EDI
JMP 0x0003e680
SUB ESP,0x4
LEA EAX,[EBX + 0xfffe4e88]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000141f0
ADD ESP,0xc
PUSH EAX
LEA EAX,[EBX + 0xfffe2281]
PUSH EAX
MOV EAX,dword ptr [EBX + 0xffffffbc]
PUSH dword ptr [EAX]
CALL 0x00014878
ADD ESP,0x10
POP EBX
XOR EAX,EAX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_0003e7c0(undefined4 param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (param_2 != 0) {\n    if (param_3 - 7U < 5) {\n      iVar1 = FUN_0003bac0();\n      if (iVar1 != 0) {\n        uVar2 = FUN_0003e680();\n        return uVar2;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);\n      fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);\n    }\n  }\n  return 0;\n}\n\n" comment (function_definition "undefined4 FUN_0003e7c0(undefined4 param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (param_2 != 0) {\n    if (param_3 - 7U < 5) {\n      iVar1 = FUN_0003bac0();\n      if (iVar1 != 0) {\n        uVar2 = FUN_0003e680();\n        return uVar2;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);\n      fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0003e7c0(undefined4 param_1,int param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (param_2 != 0) {\n    if (param_3 - 7U < 5) {\n      iVar1 = FUN_0003bac0();\n      if (iVar1 != 0) {\n        uVar2 = FUN_0003e680();\n        return uVar2;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);\n      fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);\n    }\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (if_statement "if (param_2 != 0) {\n    if (param_3 - 7U < 5) {\n      iVar1 = FUN_0003bac0();\n      if (iVar1 != 0) {\n        uVar2 = FUN_0003e680();\n        return uVar2;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);\n      fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);\n    }\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    if (param_3 - 7U < 5) {\n      iVar1 = FUN_0003bac0();\n      if (iVar1 != 0) {\n        uVar2 = FUN_0003e680();\n        return uVar2;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);\n      fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);\n    }\n  }" { (if_statement "if (param_3 - 7U < 5) {\n      iVar1 = FUN_0003bac0();\n      if (iVar1 != 0) {\n        uVar2 = FUN_0003e680();\n        return uVar2;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);\n      fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);\n    }" if (parenthesized_expression "(param_3 - 7U < 5)" ( (binary_expression "param_3 - 7U < 5" (binary_expression "param_3 - 7U" identifier - number_literal) < number_literal) )) (compound_statement "{\n      iVar1 = FUN_0003bac0();\n      if (iVar1 != 0) {\n        uVar2 = FUN_0003e680();\n        return uVar2;\n      }\n    }" { (expression_statement "iVar1 = FUN_0003bac0();" (assignment_expression "iVar1 = FUN_0003bac0()" identifier = (call_expression "FUN_0003bac0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n        uVar2 = FUN_0003e680();\n        return uVar2;\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar2 = FUN_0003e680();\n        return uVar2;\n      }" { (expression_statement "uVar2 = FUN_0003e680();" (assignment_expression "uVar2 = FUN_0003e680()" identifier = (call_expression "FUN_0003e680()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar2;" return identifier ;) })) }) (else_clause "else {\n      uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);\n      fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);\n    }" else (compound_statement "{\n      uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);\n      fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);\n    }" { (expression_statement "uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);" (assignment_expression "uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5)" identifier = (call_expression "dcgettext(0,"debug_make_undefined_type: unsupported kind",5)" identifier (argument_list "(0,"debug_make_undefined_type: unsupported kind",5)" ( number_literal , (string_literal ""debug_make_undefined_type: unsupported kind"" " string_content ") , number_literal )))) ;) (expression_statement "fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);" (call_expression "fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2)" identifier (argument_list "(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2)" ( (pointer_expression "*(FILE **)PTR_stderr_00072fbc" * (cast_expression "(FILE **)PTR_stderr_00072fbc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal ""%s\n"" " string_content escape_sequence ") , 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\ndebug_type_conflict debug_make_undefined_tagged_type(void *handle,char *name,debug_type_kind kind)\n\n{\n  debug_type_s *type;\n  debug_type_conflict pdVar1;\n  undefined4 uVar2;\n  uint in_ECX;\n  \n  if (name != (char *)0x0) {\n    if (kind - DEBUG_KIND_STRUCT < 5) {\n      type = debug_make_type((debug_handle *)kind,DEBUG_KIND_ILLEGAL,in_ECX);\n      if (type != (debug_type_s *)0x0) {\n        pdVar1 = debug_tag_type(handle,name,type);\n        return pdVar1;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);\n      fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);\n    }\n  }\n  return (debug_type_conflict)0x0;\n}\n\n" comment (function_definition "debug_type_conflict debug_make_undefined_tagged_type(void *handle,char *name,debug_type_kind kind)\n\n{\n  debug_type_s *type;\n  debug_type_conflict pdVar1;\n  undefined4 uVar2;\n  uint in_ECX;\n  \n  if (name != (char *)0x0) {\n    if (kind - DEBUG_KIND_STRUCT < 5) {\n      type = debug_make_type((debug_handle *)kind,DEBUG_KIND_ILLEGAL,in_ECX);\n      if (type != (debug_type_s *)0x0) {\n        pdVar1 = debug_tag_type(handle,name,type);\n        return pdVar1;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);\n      fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);\n    }\n  }\n  return (debug_type_conflict)0x0;\n}" type_identifier (function_declarator "debug_make_undefined_tagged_type(void *handle,char *name,debug_type_kind kind)" identifier (parameter_list "(void *handle,char *name,debug_type_kind kind)" ( (parameter_declaration "void *handle" primitive_type (pointer_declarator "*handle" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "debug_type_kind kind" type_identifier identifier) ))) (compound_statement "{\n  debug_type_s *type;\n  debug_type_conflict pdVar1;\n  undefined4 uVar2;\n  uint in_ECX;\n  \n  if (name != (char *)0x0) {\n    if (kind - DEBUG_KIND_STRUCT < 5) {\n      type = debug_make_type((debug_handle *)kind,DEBUG_KIND_ILLEGAL,in_ECX);\n      if (type != (debug_type_s *)0x0) {\n        pdVar1 = debug_tag_type(handle,name,type);\n        return pdVar1;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);\n      fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);\n    }\n  }\n  return (debug_type_conflict)0x0;\n}" { (declaration "debug_type_s *type;" type_identifier (pointer_declarator "*type" * identifier) ;) (declaration "debug_type_conflict pdVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "uint in_ECX;" type_identifier identifier ;) (if_statement "if (name != (char *)0x0) {\n    if (kind - DEBUG_KIND_STRUCT < 5) {\n      type = debug_make_type((debug_handle *)kind,DEBUG_KIND_ILLEGAL,in_ECX);\n      if (type != (debug_type_s *)0x0) {\n        pdVar1 = debug_tag_type(handle,name,type);\n        return pdVar1;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);\n      fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);\n    }\n  }" if (parenthesized_expression "(name != (char *)0x0)" ( (binary_expression "name != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (kind - DEBUG_KIND_STRUCT < 5) {\n      type = debug_make_type((debug_handle *)kind,DEBUG_KIND_ILLEGAL,in_ECX);\n      if (type != (debug_type_s *)0x0) {\n        pdVar1 = debug_tag_type(handle,name,type);\n        return pdVar1;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);\n      fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);\n    }\n  }" { (if_statement "if (kind - DEBUG_KIND_STRUCT < 5) {\n      type = debug_make_type((debug_handle *)kind,DEBUG_KIND_ILLEGAL,in_ECX);\n      if (type != (debug_type_s *)0x0) {\n        pdVar1 = debug_tag_type(handle,name,type);\n        return pdVar1;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);\n      fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);\n    }" if (parenthesized_expression "(kind - DEBUG_KIND_STRUCT < 5)" ( (binary_expression "kind - DEBUG_KIND_STRUCT < 5" (binary_expression "kind - DEBUG_KIND_STRUCT" identifier - identifier) < number_literal) )) (compound_statement "{\n      type = debug_make_type((debug_handle *)kind,DEBUG_KIND_ILLEGAL,in_ECX);\n      if (type != (debug_type_s *)0x0) {\n        pdVar1 = debug_tag_type(handle,name,type);\n        return pdVar1;\n      }\n    }" { (expression_statement "type = debug_make_type((debug_handle *)kind,DEBUG_KIND_ILLEGAL,in_ECX);" (assignment_expression "type = debug_make_type((debug_handle *)kind,DEBUG_KIND_ILLEGAL,in_ECX)" identifier = (call_expression "debug_make_type((debug_handle *)kind,DEBUG_KIND_ILLEGAL,in_ECX)" identifier (argument_list "((debug_handle *)kind,DEBUG_KIND_ILLEGAL,in_ECX)" ( (cast_expression "(debug_handle *)kind" ( (type_descriptor "debug_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier , identifier )))) ;) (if_statement "if (type != (debug_type_s *)0x0) {\n        pdVar1 = debug_tag_type(handle,name,type);\n        return pdVar1;\n      }" if (parenthesized_expression "(type != (debug_type_s *)0x0)" ( (binary_expression "type != (debug_type_s *)0x0" identifier != (cast_expression "(debug_type_s *)0x0" ( (type_descriptor "debug_type_s *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        pdVar1 = debug_tag_type(handle,name,type);\n        return pdVar1;\n      }" { (expression_statement "pdVar1 = debug_tag_type(handle,name,type);" (assignment_expression "pdVar1 = debug_tag_type(handle,name,type)" identifier = (call_expression "debug_tag_type(handle,name,type)" identifier (argument_list "(handle,name,type)" ( identifier , identifier , identifier )))) ;) (return_statement "return pdVar1;" return identifier ;) })) }) (else_clause "else {\n      uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);\n      fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);\n    }" else (compound_statement "{\n      uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);\n      fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);\n    }" { (expression_statement "uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);" (assignment_expression "uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5)" identifier = (call_expression "dcgettext(0,"debug_make_undefined_type: unsupported kind",5)" identifier (argument_list "(0,"debug_make_undefined_type: unsupported kind",5)" ( number_literal , (string_literal ""debug_make_undefined_type: unsupported kind"" " string_content ") , number_literal )))) ;) (expression_statement "fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);" (call_expression "fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2)" identifier (argument_list "(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2)" ( (pointer_expression "*(FILE **)PTR_stderr_00072fbc" * (cast_expression "(FILE **)PTR_stderr_00072fbc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal ""%s\n"" " string_content escape_sequence ") , identifier ))) ;) }))) })) (return_statement "return (debug_type_conflict)0x0;" return (cast_expression "(debug_type_conflict)0x0" ( (type_descriptor "debug_type_conflict" type_identifier) ) number_literal) ;) })))
(translation_unit "undefined4 FUN_0003e7c0(undefined4 param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (param_2 != 0) {\n    if (param_3 - 7U < 5) {\n      iVar1 = FUN_0003bac0();\n      if (iVar1 != 0) {\n        uVar2 = FUN_0003e680();\n        return uVar2;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);\n      fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);\n    }\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0003e7c0(undefined4 param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (param_2 != 0) {\n    if (param_3 - 7U < 5) {\n      iVar1 = FUN_0003bac0();\n      if (iVar1 != 0) {\n        uVar2 = FUN_0003e680();\n        return uVar2;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);\n      fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0003e7c0(undefined4 param_1,int param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (param_2 != 0) {\n    if (param_3 - 7U < 5) {\n      iVar1 = FUN_0003bac0();\n      if (iVar1 != 0) {\n        uVar2 = FUN_0003e680();\n        return uVar2;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);\n      fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);\n    }\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (if_statement "if (param_2 != 0) {\n    if (param_3 - 7U < 5) {\n      iVar1 = FUN_0003bac0();\n      if (iVar1 != 0) {\n        uVar2 = FUN_0003e680();\n        return uVar2;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);\n      fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);\n    }\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    if (param_3 - 7U < 5) {\n      iVar1 = FUN_0003bac0();\n      if (iVar1 != 0) {\n        uVar2 = FUN_0003e680();\n        return uVar2;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);\n      fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);\n    }\n  }" { (if_statement "if (param_3 - 7U < 5) {\n      iVar1 = FUN_0003bac0();\n      if (iVar1 != 0) {\n        uVar2 = FUN_0003e680();\n        return uVar2;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);\n      fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);\n    }" if (parenthesized_expression "(param_3 - 7U < 5)" ( (binary_expression "param_3 - 7U < 5" (binary_expression "param_3 - 7U" identifier - number_literal) < number_literal) )) (compound_statement "{\n      iVar1 = FUN_0003bac0();\n      if (iVar1 != 0) {\n        uVar2 = FUN_0003e680();\n        return uVar2;\n      }\n    }" { (expression_statement "iVar1 = FUN_0003bac0();" (assignment_expression "iVar1 = FUN_0003bac0()" identifier = (call_expression "FUN_0003bac0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n        uVar2 = FUN_0003e680();\n        return uVar2;\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar2 = FUN_0003e680();\n        return uVar2;\n      }" { (expression_statement "uVar2 = FUN_0003e680();" (assignment_expression "uVar2 = FUN_0003e680()" identifier = (call_expression "FUN_0003e680()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar2;" return identifier ;) })) }) (else_clause "else {\n      uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);\n      fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);\n    }" else (compound_statement "{\n      uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);\n      fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);\n    }" { (expression_statement "uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);" (assignment_expression "uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5)" identifier = (call_expression "dcgettext(0,"debug_make_undefined_type: unsupported kind",5)" identifier (argument_list "(0,"debug_make_undefined_type: unsupported kind",5)" ( number_literal , (string_literal ""debug_make_undefined_type: unsupported kind"" " string_content ") , number_literal )))) ;) (expression_statement "fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);" (call_expression "fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2)" identifier (argument_list "(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2)" ( (pointer_expression "*(FILE **)PTR_stderr_00072fbc" * (cast_expression "(FILE **)PTR_stderr_00072fbc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal ""%s\n"" " string_content escape_sequence ") , 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) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (return_statement return IDENT ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) , (string_literal " string_content escape_sequence ") , IDENT ))) ;) }))) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_0003e7c0(undefined4 param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (param_2 != 0) {\n    if (param_3 - 7U < 5) {\n      iVar1 = FUN_0003bac0();\n      if (iVar1 != 0) {\n        uVar2 = FUN_0003e680();\n        return uVar2;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);\n      fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);\n    }\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_0003e7c0(undefined4 param_1,int param_2,int param_3)" (identifier "FUN_0003e7c0") (parameter_list "(undefined4 param_1,int param_2,int param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (param_2 != 0) {\n    if (param_3 - 7U < 5) {\n      iVar1 = FUN_0003bac0();\n      if (iVar1 != 0) {\n        uVar2 = FUN_0003e680();\n        return uVar2;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);\n      fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);\n    }\n  }\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (if_statement "if (param_2 != 0) {\n    if (param_3 - 7U < 5) {\n      iVar1 = FUN_0003bac0();\n      if (iVar1 != 0) {\n        uVar2 = FUN_0003e680();\n        return uVar2;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);\n      fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);\n    }\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (param_3 - 7U < 5) {\n      iVar1 = FUN_0003bac0();\n      if (iVar1 != 0) {\n        uVar2 = FUN_0003e680();\n        return uVar2;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);\n      fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);\n    }\n  }" ({ "{") (if_statement "if (param_3 - 7U < 5) {\n      iVar1 = FUN_0003bac0();\n      if (iVar1 != 0) {\n        uVar2 = FUN_0003e680();\n        return uVar2;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);\n      fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);\n    }" (if "if") (parenthesized_expression "(param_3 - 7U < 5)" (( "(") (binary_expression "param_3 - 7U < 5" (binary_expression "param_3 - 7U" (identifier "param_3") (- "-") (number_literal "7U")) (< "<") (number_literal "5")) () ")")) (compound_statement "{\n      iVar1 = FUN_0003bac0();\n      if (iVar1 != 0) {\n        uVar2 = FUN_0003e680();\n        return uVar2;\n      }\n    }" ({ "{") (expression_statement "iVar1 = FUN_0003bac0();" (assignment_expression "iVar1 = FUN_0003bac0()" (identifier "iVar1") (= "=") (call_expression "FUN_0003bac0()" (identifier "FUN_0003bac0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n        uVar2 = FUN_0003e680();\n        return uVar2;\n      }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        uVar2 = FUN_0003e680();\n        return uVar2;\n      }" ({ "{") (expression_statement "uVar2 = FUN_0003e680();" (assignment_expression "uVar2 = FUN_0003e680()" (identifier "uVar2") (= "=") (call_expression "FUN_0003e680()" (identifier "FUN_0003e680") (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);\n      fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);\n    }" (else "else") (compound_statement "{\n      uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);\n      fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);\n    }" ({ "{") (expression_statement "uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);" (assignment_expression "uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5)" (identifier "uVar2") (= "=") (call_expression "dcgettext(0,"debug_make_undefined_type: unsupported kind",5)" (identifier "dcgettext") (argument_list "(0,"debug_make_undefined_type: unsupported kind",5)" (( "(") (number_literal "0") (, ",") (string_literal ""debug_make_undefined_type: unsupported kind"" (" """) (string_content "debug_make_undefined_type: unsupported kind") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);" (call_expression "fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2)" (identifier "fprintf") (argument_list "(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2)" (( "(") (pointer_expression "*(FILE **)PTR_stderr_00072fbc" (* "*") (cast_expression "(FILE **)PTR_stderr_00072fbc" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_stderr_00072fbc"))) (, ",") (string_literal ""%s\n"" (" """) (string_content "%s") (escape_sequence "\n") (" """)) (, ",") (identifier "uVar2") () ")"))) (; ";")) (} "}")))) (} "}"))) (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(void *handle,char *var_1,type_2 var_2)

{
  type_3 *var_5;
  type_1 pdVar1;
  type_4 uVar2;
  type_5 in_ECX;
  
  if (var_1 != (char *)0x0) {
    if (var_2 - var_3 < 5) {
      var_5 = var_4((type_6 *)var_2,DEBUG_KIND_ILLEGAL,in_ECX);
      if (var_5 != (type_3 *)0x0) {
        pdVar1 = var_6(handle,var_1,var_5);
        return pdVar1;
      }
    }
    else {
      uVar2 = var_7(0,"debug_make_undefined_type: unsupported kind",5);
      var_8(*(type_7 **)PTR_stderr_00072fbc,"%s\n",uVar2);
    }
  }
  return (type_1)0x0;
}


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

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

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

{
  int iVar1;
  undefined4 uVar2;
  
  if (param_2 != 0) {
    if (param_3 - 7U < 5) {
      iVar1 = FUN_0003bac0();
      if (iVar1 != 0) {
        uVar2 = FUN_0003e680();
        return uVar2;
      }
    }
    else {
      uVar2 = dcgettext(0,"debug_make_undefined_type: unsupported kind",5);
      fprintf(*(FILE **)PTR_stderr_00072fbc,"%s\n",uVar2);
    }
  }
  return 0;
}

