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

char * __regparm3 get_FORM_name(ulong form)

{
  char *pcVar1;
  
  if (form == 0) {
    pcVar1 = "DW_FORM value: 0";
  }
  else {
    pcVar1 = get_DW_FORM_name(form);
    if (pcVar1 == (char *)0x0) {
      pcVar1 = (char *)dcgettext(0,"Unknown FORM value: %lx",5);
      snprintf(buffer_10361,100,pcVar1,form);
      pcVar1 = buffer_10361;
    }
  }
  return pcVar1;
}



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

char * __regparm3 FUN_0001cba0(int param_1)

{
  char *pcVar1;
  char *__format;
  
  if (param_1 == 0) {
    pcVar1 = "DW_FORM value: 0";
  }
  else {
    pcVar1 = (char *)FUN_000486c0(param_1);
    if (pcVar1 == (char *)0x0) {
      __format = (char *)dcgettext(0,"Unknown FORM value: %lx",5);
      pcVar1 = &DAT_000712e0;
      snprintf(&DAT_000712e0,100,__format,param_1);
    }
  }
  return pcVar1;
}


PUSH ESI
PUSH EBX
CALL 0x000143a0
ADD EBX,0x53459
SUB ESP,0x4
TEST EAX,EAX
JNZ 0x0001cbc0
LEA EAX,[EBX + 0xfffe07e7]
ADD ESP,0x4
POP EBX
POP ESI
RET
SUB ESP,0xc
MOV ESI,EAX
PUSH EAX
CALL 0x000486c0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0001cbba
SUB ESP,0x4
LEA EAX,[EBX + 0xfffe07f8]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000131f0
PUSH ESI
LEA ESI,[EBX + 0x12e0]
PUSH EAX
PUSH 0x64
PUSH ESI
CALL 0x00013510
ADD ESP,0x20
MOV EAX,ESI
JMP 0x0001cbba
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar * __regparm3 FUN_0001cba0(int param_1)\n\n{\n  char *pcVar1;\n  char *__format;\n  \n  if (param_1 == 0) {\n    pcVar1 = "DW_FORM value: 0";\n  }\n  else {\n    pcVar1 = (char *)FUN_000486c0(param_1);\n    if (pcVar1 == (char *)0x0) {\n      __format = (char *)dcgettext(0,"Unknown FORM value: %lx",5);\n      pcVar1 = &DAT_000712e0;\n      snprintf(&DAT_000712e0,100,__format,param_1);\n    }\n  }\n  return pcVar1;\n}\n\n" comment (function_definition "char * __regparm3 FUN_0001cba0(int param_1)\n\n{\n  char *pcVar1;\n  char *__format;\n  \n  if (param_1 == 0) {\n    pcVar1 = "DW_FORM value: 0";\n  }\n  else {\n    pcVar1 = (char *)FUN_000486c0(param_1);\n    if (pcVar1 == (char *)0x0) {\n      __format = (char *)dcgettext(0,"Unknown FORM value: %lx",5);\n      pcVar1 = &DAT_000712e0;\n      snprintf(&DAT_000712e0,100,__format,param_1);\n    }\n  }\n  return pcVar1;\n}" primitive_type (pointer_declarator "* __regparm3 FUN_0001cba0(int param_1)" * (ERROR "__regparm3" identifier) (function_declarator "FUN_0001cba0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) )))) (compound_statement "{\n  char *pcVar1;\n  char *__format;\n  \n  if (param_1 == 0) {\n    pcVar1 = "DW_FORM value: 0";\n  }\n  else {\n    pcVar1 = (char *)FUN_000486c0(param_1);\n    if (pcVar1 == (char *)0x0) {\n      __format = (char *)dcgettext(0,"Unknown FORM value: %lx",5);\n      pcVar1 = &DAT_000712e0;\n      snprintf(&DAT_000712e0,100,__format,param_1);\n    }\n  }\n  return pcVar1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (if_statement "if (param_1 == 0) {\n    pcVar1 = "DW_FORM value: 0";\n  }\n  else {\n    pcVar1 = (char *)FUN_000486c0(param_1);\n    if (pcVar1 == (char *)0x0) {\n      __format = (char *)dcgettext(0,"Unknown FORM value: %lx",5);\n      pcVar1 = &DAT_000712e0;\n      snprintf(&DAT_000712e0,100,__format,param_1);\n    }\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar1 = "DW_FORM value: 0";\n  }" { (expression_statement "pcVar1 = "DW_FORM value: 0";" (assignment_expression "pcVar1 = "DW_FORM value: 0"" identifier = (string_literal ""DW_FORM value: 0"" " string_content ")) ;) }) (else_clause "else {\n    pcVar1 = (char *)FUN_000486c0(param_1);\n    if (pcVar1 == (char *)0x0) {\n      __format = (char *)dcgettext(0,"Unknown FORM value: %lx",5);\n      pcVar1 = &DAT_000712e0;\n      snprintf(&DAT_000712e0,100,__format,param_1);\n    }\n  }" else (compound_statement "{\n    pcVar1 = (char *)FUN_000486c0(param_1);\n    if (pcVar1 == (char *)0x0) {\n      __format = (char *)dcgettext(0,"Unknown FORM value: %lx",5);\n      pcVar1 = &DAT_000712e0;\n      snprintf(&DAT_000712e0,100,__format,param_1);\n    }\n  }" { (expression_statement "pcVar1 = (char *)FUN_000486c0(param_1);" (assignment_expression "pcVar1 = (char *)FUN_000486c0(param_1)" identifier = (cast_expression "(char *)FUN_000486c0(param_1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000486c0(param_1)" identifier (argument_list "(param_1)" ( identifier ))))) ;) (if_statement "if (pcVar1 == (char *)0x0) {\n      __format = (char *)dcgettext(0,"Unknown FORM value: %lx",5);\n      pcVar1 = &DAT_000712e0;\n      snprintf(&DAT_000712e0,100,__format,param_1);\n    }" if (parenthesized_expression "(pcVar1 == (char *)0x0)" ( (binary_expression "pcVar1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      __format = (char *)dcgettext(0,"Unknown FORM value: %lx",5);\n      pcVar1 = &DAT_000712e0;\n      snprintf(&DAT_000712e0,100,__format,param_1);\n    }" { (expression_statement "__format = (char *)dcgettext(0,"Unknown FORM value: %lx",5);" (assignment_expression "__format = (char *)dcgettext(0,"Unknown FORM value: %lx",5)" identifier = (cast_expression "(char *)dcgettext(0,"Unknown FORM value: %lx",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"Unknown FORM value: %lx",5)" identifier (argument_list "(0,"Unknown FORM value: %lx",5)" ( number_literal , (string_literal ""Unknown FORM value: %lx"" " string_content ") , number_literal ))))) ;) (expression_statement "pcVar1 = &DAT_000712e0;" (assignment_expression "pcVar1 = &DAT_000712e0" identifier = (pointer_expression "&DAT_000712e0" & identifier)) ;) (expression_statement "snprintf(&DAT_000712e0,100,__format,param_1);" (call_expression "snprintf(&DAT_000712e0,100,__format,param_1)" identifier (argument_list "(&DAT_000712e0,100,__format,param_1)" ( (pointer_expression "&DAT_000712e0" & identifier) , number_literal , identifier , identifier ))) ;) })) }))) (return_statement "return pcVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar * __regparm3 get_FORM_name(ulong form)\n\n{\n  char *pcVar1;\n  \n  if (form == 0) {\n    pcVar1 = "DW_FORM value: 0";\n  }\n  else {\n    pcVar1 = get_DW_FORM_name(form);\n    if (pcVar1 == (char *)0x0) {\n      pcVar1 = (char *)dcgettext(0,"Unknown FORM value: %lx",5);\n      snprintf(buffer_10361,100,pcVar1,form);\n      pcVar1 = buffer_10361;\n    }\n  }\n  return pcVar1;\n}\n\n" comment (function_definition "char * __regparm3 get_FORM_name(ulong form)\n\n{\n  char *pcVar1;\n  \n  if (form == 0) {\n    pcVar1 = "DW_FORM value: 0";\n  }\n  else {\n    pcVar1 = get_DW_FORM_name(form);\n    if (pcVar1 == (char *)0x0) {\n      pcVar1 = (char *)dcgettext(0,"Unknown FORM value: %lx",5);\n      snprintf(buffer_10361,100,pcVar1,form);\n      pcVar1 = buffer_10361;\n    }\n  }\n  return pcVar1;\n}" primitive_type (pointer_declarator "* __regparm3 get_FORM_name(ulong form)" * (ERROR "__regparm3" identifier) (function_declarator "get_FORM_name(ulong form)" identifier (parameter_list "(ulong form)" ( (parameter_declaration "ulong form" type_identifier identifier) )))) (compound_statement "{\n  char *pcVar1;\n  \n  if (form == 0) {\n    pcVar1 = "DW_FORM value: 0";\n  }\n  else {\n    pcVar1 = get_DW_FORM_name(form);\n    if (pcVar1 == (char *)0x0) {\n      pcVar1 = (char *)dcgettext(0,"Unknown FORM value: %lx",5);\n      snprintf(buffer_10361,100,pcVar1,form);\n      pcVar1 = buffer_10361;\n    }\n  }\n  return pcVar1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (if_statement "if (form == 0) {\n    pcVar1 = "DW_FORM value: 0";\n  }\n  else {\n    pcVar1 = get_DW_FORM_name(form);\n    if (pcVar1 == (char *)0x0) {\n      pcVar1 = (char *)dcgettext(0,"Unknown FORM value: %lx",5);\n      snprintf(buffer_10361,100,pcVar1,form);\n      pcVar1 = buffer_10361;\n    }\n  }" if (parenthesized_expression "(form == 0)" ( (binary_expression "form == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar1 = "DW_FORM value: 0";\n  }" { (expression_statement "pcVar1 = "DW_FORM value: 0";" (assignment_expression "pcVar1 = "DW_FORM value: 0"" identifier = (string_literal ""DW_FORM value: 0"" " string_content ")) ;) }) (else_clause "else {\n    pcVar1 = get_DW_FORM_name(form);\n    if (pcVar1 == (char *)0x0) {\n      pcVar1 = (char *)dcgettext(0,"Unknown FORM value: %lx",5);\n      snprintf(buffer_10361,100,pcVar1,form);\n      pcVar1 = buffer_10361;\n    }\n  }" else (compound_statement "{\n    pcVar1 = get_DW_FORM_name(form);\n    if (pcVar1 == (char *)0x0) {\n      pcVar1 = (char *)dcgettext(0,"Unknown FORM value: %lx",5);\n      snprintf(buffer_10361,100,pcVar1,form);\n      pcVar1 = buffer_10361;\n    }\n  }" { (expression_statement "pcVar1 = get_DW_FORM_name(form);" (assignment_expression "pcVar1 = get_DW_FORM_name(form)" identifier = (call_expression "get_DW_FORM_name(form)" identifier (argument_list "(form)" ( identifier )))) ;) (if_statement "if (pcVar1 == (char *)0x0) {\n      pcVar1 = (char *)dcgettext(0,"Unknown FORM value: %lx",5);\n      snprintf(buffer_10361,100,pcVar1,form);\n      pcVar1 = buffer_10361;\n    }" if (parenthesized_expression "(pcVar1 == (char *)0x0)" ( (binary_expression "pcVar1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pcVar1 = (char *)dcgettext(0,"Unknown FORM value: %lx",5);\n      snprintf(buffer_10361,100,pcVar1,form);\n      pcVar1 = buffer_10361;\n    }" { (expression_statement "pcVar1 = (char *)dcgettext(0,"Unknown FORM value: %lx",5);" (assignment_expression "pcVar1 = (char *)dcgettext(0,"Unknown FORM value: %lx",5)" identifier = (cast_expression "(char *)dcgettext(0,"Unknown FORM value: %lx",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"Unknown FORM value: %lx",5)" identifier (argument_list "(0,"Unknown FORM value: %lx",5)" ( number_literal , (string_literal ""Unknown FORM value: %lx"" " string_content ") , number_literal ))))) ;) (expression_statement "snprintf(buffer_10361,100,pcVar1,form);" (call_expression "snprintf(buffer_10361,100,pcVar1,form)" identifier (argument_list "(buffer_10361,100,pcVar1,form)" ( identifier , number_literal , identifier , identifier ))) ;) (expression_statement "pcVar1 = buffer_10361;" (assignment_expression "pcVar1 = buffer_10361" identifier = identifier) ;) })) }))) (return_statement "return pcVar1;" return identifier ;) })))
(translation_unit "char * __regparm3 FUN_0001cba0(int param_1)\n\n{\n  char *pcVar1;\n  char *__format;\n  \n  if (param_1 == 0) {\n    pcVar1 = "DW_FORM value: 0";\n  }\n  else {\n    pcVar1 = (char *)FUN_000486c0(param_1);\n    if (pcVar1 == (char *)0x0) {\n      __format = (char *)dcgettext(0,"Unknown FORM value: %lx",5);\n      pcVar1 = &DAT_000712e0;\n      snprintf(&DAT_000712e0,100,__format,param_1);\n    }\n  }\n  return pcVar1;\n}\n\n" (function_definition "char * __regparm3 FUN_0001cba0(int param_1)\n\n{\n  char *pcVar1;\n  char *__format;\n  \n  if (param_1 == 0) {\n    pcVar1 = "DW_FORM value: 0";\n  }\n  else {\n    pcVar1 = (char *)FUN_000486c0(param_1);\n    if (pcVar1 == (char *)0x0) {\n      __format = (char *)dcgettext(0,"Unknown FORM value: %lx",5);\n      pcVar1 = &DAT_000712e0;\n      snprintf(&DAT_000712e0,100,__format,param_1);\n    }\n  }\n  return pcVar1;\n}" primitive_type (pointer_declarator "* __regparm3 FUN_0001cba0(int param_1)" * (ERROR "__regparm3" identifier) (function_declarator "FUN_0001cba0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) )))) (compound_statement "{\n  char *pcVar1;\n  char *__format;\n  \n  if (param_1 == 0) {\n    pcVar1 = "DW_FORM value: 0";\n  }\n  else {\n    pcVar1 = (char *)FUN_000486c0(param_1);\n    if (pcVar1 == (char *)0x0) {\n      __format = (char *)dcgettext(0,"Unknown FORM value: %lx",5);\n      pcVar1 = &DAT_000712e0;\n      snprintf(&DAT_000712e0,100,__format,param_1);\n    }\n  }\n  return pcVar1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (if_statement "if (param_1 == 0) {\n    pcVar1 = "DW_FORM value: 0";\n  }\n  else {\n    pcVar1 = (char *)FUN_000486c0(param_1);\n    if (pcVar1 == (char *)0x0) {\n      __format = (char *)dcgettext(0,"Unknown FORM value: %lx",5);\n      pcVar1 = &DAT_000712e0;\n      snprintf(&DAT_000712e0,100,__format,param_1);\n    }\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar1 = "DW_FORM value: 0";\n  }" { (expression_statement "pcVar1 = "DW_FORM value: 0";" (assignment_expression "pcVar1 = "DW_FORM value: 0"" identifier = (string_literal ""DW_FORM value: 0"" " string_content ")) ;) }) (else_clause "else {\n    pcVar1 = (char *)FUN_000486c0(param_1);\n    if (pcVar1 == (char *)0x0) {\n      __format = (char *)dcgettext(0,"Unknown FORM value: %lx",5);\n      pcVar1 = &DAT_000712e0;\n      snprintf(&DAT_000712e0,100,__format,param_1);\n    }\n  }" else (compound_statement "{\n    pcVar1 = (char *)FUN_000486c0(param_1);\n    if (pcVar1 == (char *)0x0) {\n      __format = (char *)dcgettext(0,"Unknown FORM value: %lx",5);\n      pcVar1 = &DAT_000712e0;\n      snprintf(&DAT_000712e0,100,__format,param_1);\n    }\n  }" { (expression_statement "pcVar1 = (char *)FUN_000486c0(param_1);" (assignment_expression "pcVar1 = (char *)FUN_000486c0(param_1)" identifier = (cast_expression "(char *)FUN_000486c0(param_1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000486c0(param_1)" identifier (argument_list "(param_1)" ( identifier ))))) ;) (if_statement "if (pcVar1 == (char *)0x0) {\n      __format = (char *)dcgettext(0,"Unknown FORM value: %lx",5);\n      pcVar1 = &DAT_000712e0;\n      snprintf(&DAT_000712e0,100,__format,param_1);\n    }" if (parenthesized_expression "(pcVar1 == (char *)0x0)" ( (binary_expression "pcVar1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      __format = (char *)dcgettext(0,"Unknown FORM value: %lx",5);\n      pcVar1 = &DAT_000712e0;\n      snprintf(&DAT_000712e0,100,__format,param_1);\n    }" { (expression_statement "__format = (char *)dcgettext(0,"Unknown FORM value: %lx",5);" (assignment_expression "__format = (char *)dcgettext(0,"Unknown FORM value: %lx",5)" identifier = (cast_expression "(char *)dcgettext(0,"Unknown FORM value: %lx",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"Unknown FORM value: %lx",5)" identifier (argument_list "(0,"Unknown FORM value: %lx",5)" ( number_literal , (string_literal ""Unknown FORM value: %lx"" " string_content ") , number_literal ))))) ;) (expression_statement "pcVar1 = &DAT_000712e0;" (assignment_expression "pcVar1 = &DAT_000712e0" identifier = (pointer_expression "&DAT_000712e0" & identifier)) ;) (expression_statement "snprintf(&DAT_000712e0,100,__format,param_1);" (call_expression "snprintf(&DAT_000712e0,100,__format,param_1)" identifier (argument_list "(&DAT_000712e0,100,__format,param_1)" ( (pointer_expression "&DAT_000712e0" & identifier) , number_literal , identifier , identifier ))) ;) })) }))) (return_statement "return pcVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT , IDENT , IDENT ))) ;) })) }))) (return_statement return IDENT ;) })))
(function_definition "char * __regparm3 FUN_0001cba0(int param_1)\n\n{\n  char *pcVar1;\n  char *__format;\n  \n  if (param_1 == 0) {\n    pcVar1 = "DW_FORM value: 0";\n  }\n  else {\n    pcVar1 = (char *)FUN_000486c0(param_1);\n    if (pcVar1 == (char *)0x0) {\n      __format = (char *)dcgettext(0,"Unknown FORM value: %lx",5);\n      pcVar1 = &DAT_000712e0;\n      snprintf(&DAT_000712e0,100,__format,param_1);\n    }\n  }\n  return pcVar1;\n}" (primitive_type "char") (pointer_declarator "* __regparm3 FUN_0001cba0(int param_1)" (* "*") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0001cba0(int param_1)" (identifier "FUN_0001cba0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")")))) (compound_statement "{\n  char *pcVar1;\n  char *__format;\n  \n  if (param_1 == 0) {\n    pcVar1 = "DW_FORM value: 0";\n  }\n  else {\n    pcVar1 = (char *)FUN_000486c0(param_1);\n    if (pcVar1 == (char *)0x0) {\n      __format = (char *)dcgettext(0,"Unknown FORM value: %lx",5);\n      pcVar1 = &DAT_000712e0;\n      snprintf(&DAT_000712e0,100,__format,param_1);\n    }\n  }\n  return pcVar1;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "char *__format;" (primitive_type "char") (pointer_declarator "*__format" (* "*") (identifier "__format")) (; ";")) (if_statement "if (param_1 == 0) {\n    pcVar1 = "DW_FORM value: 0";\n  }\n  else {\n    pcVar1 = (char *)FUN_000486c0(param_1);\n    if (pcVar1 == (char *)0x0) {\n      __format = (char *)dcgettext(0,"Unknown FORM value: %lx",5);\n      pcVar1 = &DAT_000712e0;\n      snprintf(&DAT_000712e0,100,__format,param_1);\n    }\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    pcVar1 = "DW_FORM value: 0";\n  }" ({ "{") (expression_statement "pcVar1 = "DW_FORM value: 0";" (assignment_expression "pcVar1 = "DW_FORM value: 0"" (identifier "pcVar1") (= "=") (string_literal ""DW_FORM value: 0"" (" """) (string_content "DW_FORM value: 0") (" """))) (; ";")) (} "}")) (else_clause "else {\n    pcVar1 = (char *)FUN_000486c0(param_1);\n    if (pcVar1 == (char *)0x0) {\n      __format = (char *)dcgettext(0,"Unknown FORM value: %lx",5);\n      pcVar1 = &DAT_000712e0;\n      snprintf(&DAT_000712e0,100,__format,param_1);\n    }\n  }" (else "else") (compound_statement "{\n    pcVar1 = (char *)FUN_000486c0(param_1);\n    if (pcVar1 == (char *)0x0) {\n      __format = (char *)dcgettext(0,"Unknown FORM value: %lx",5);\n      pcVar1 = &DAT_000712e0;\n      snprintf(&DAT_000712e0,100,__format,param_1);\n    }\n  }" ({ "{") (expression_statement "pcVar1 = (char *)FUN_000486c0(param_1);" (assignment_expression "pcVar1 = (char *)FUN_000486c0(param_1)" (identifier "pcVar1") (= "=") (cast_expression "(char *)FUN_000486c0(param_1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000486c0(param_1)" (identifier "FUN_000486c0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))))) (; ";")) (if_statement "if (pcVar1 == (char *)0x0) {\n      __format = (char *)dcgettext(0,"Unknown FORM value: %lx",5);\n      pcVar1 = &DAT_000712e0;\n      snprintf(&DAT_000712e0,100,__format,param_1);\n    }" (if "if") (parenthesized_expression "(pcVar1 == (char *)0x0)" (( "(") (binary_expression "pcVar1 == (char *)0x0" (identifier "pcVar1") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      __format = (char *)dcgettext(0,"Unknown FORM value: %lx",5);\n      pcVar1 = &DAT_000712e0;\n      snprintf(&DAT_000712e0,100,__format,param_1);\n    }" ({ "{") (expression_statement "__format = (char *)dcgettext(0,"Unknown FORM value: %lx",5);" (assignment_expression "__format = (char *)dcgettext(0,"Unknown FORM value: %lx",5)" (identifier "__format") (= "=") (cast_expression "(char *)dcgettext(0,"Unknown FORM value: %lx",5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext(0,"Unknown FORM value: %lx",5)" (identifier "dcgettext") (argument_list "(0,"Unknown FORM value: %lx",5)" (( "(") (number_literal "0") (, ",") (string_literal ""Unknown FORM value: %lx"" (" """) (string_content "Unknown FORM value: %lx") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (expression_statement "pcVar1 = &DAT_000712e0;" (assignment_expression "pcVar1 = &DAT_000712e0" (identifier "pcVar1") (= "=") (pointer_expression "&DAT_000712e0" (& "&") (identifier "DAT_000712e0"))) (; ";")) (expression_statement "snprintf(&DAT_000712e0,100,__format,param_1);" (call_expression "snprintf(&DAT_000712e0,100,__format,param_1)" (identifier "snprintf") (argument_list "(&DAT_000712e0,100,__format,param_1)" (( "(") (pointer_expression "&DAT_000712e0" (& "&") (identifier "DAT_000712e0")) (, ",") (number_literal "100") (, ",") (identifier "__format") (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (} "}")))) (return_statement "return pcVar1;" (return "return") (identifier "pcVar1") (; ";")) (} "}")))

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

char * __regparm3 function_1(type_1 var_1)

{
  char *var_3;
  
  if (var_1 == 0) {
    var_3 = "DW_FORM value: 0";
  }
  else {
    var_3 = var_2(var_1);
    if (var_3 == (char *)0x0) {
      var_3 = (char *)var_4(0,"Unknown FORM value: %lx",5);
      var_5(buffer_10361,100,var_3,var_1);
      var_3 = buffer_10361;
    }
  }
  return var_3;
}


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

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

char * __regparm3 MASKED(int param_1)

{
  char *pcVar1;
  char *__format;
  
  if (param_1 == 0) {
    pcVar1 = "DW_FORM value: 0";
  }
  else {
    pcVar1 = (char *)FUN_000486c0(param_1);
    if (pcVar1 == (char *)0x0) {
      __format = (char *)dcgettext(0,"Unknown FORM value: %lx",5);
      pcVar1 = &DAT_000712e0;
      snprintf(&DAT_000712e0,100,__format,param_1);
    }
  }
  return pcVar1;
}

