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

bfd_hash_entry * cref_hash_newfunc(bfd_hash_entry *entry,bfd_hash_table *table,char *string)

{
  bfd_hash_entry *pbVar1;
  
  if (entry == (bfd_hash_entry *)0x0) {
    entry = (bfd_hash_entry *)bfd_hash_allocate(table,0x14);
    if (entry == (bfd_hash_entry *)0x0) {
      return (bfd_hash_entry *)0x0;
    }
  }
  pbVar1 = (bfd_hash_entry *)bfd_hash_newfunc(entry,table,string);
  if (pbVar1 != (bfd_hash_entry *)0x0) {
    cref_symcount = cref_symcount + 1;
    pbVar1[1].next = (bfd_hash_entry *)0x0;
    pbVar1[1].string = (char *)0x0;
  }
  return pbVar1;
}



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

void FUN_00033c10(int param_1,undefined4 param_2,undefined4 param_3)

{
  int iVar1;
  
  if (param_1 == 0) {
    param_1 = bfd_hash_allocate(param_2,0x14);
    if (param_1 == 0) {
      return;
    }
  }
  iVar1 = bfd_hash_newfunc(param_1,param_2,param_3);
  if (iVar1 != 0) {
    DAT_0009896c = DAT_0009896c + 1;
    *(undefined4 *)(iVar1 + 0xc) = 0;
    *(undefined4 *)(iVar1 + 0x10) = 0;
  }
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00015a40
ADD EBX,0x643e9
SUB ESP,0x4
MOV EAX,dword ptr [ESP + 0x10]
MOV ESI,dword ptr [ESP + 0x14]
TEST EAX,EAX
JZ 0x00033c60
SUB ESP,0x4
PUSH dword ptr [ESP + 0x1c]
PUSH ESI
PUSH EAX
CALL 0x00014c78
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00033c56
ADD dword ptr [EBX + 0x96c],0x1
MOV dword ptr [EAX + 0xc],0x0
MOV dword ptr [EAX + 0x10],0x0
ADD ESP,0x4
POP EBX
POP ESI
RET
SUB ESP,0x8
PUSH 0x14
PUSH ESI
CALL 0x000145e0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00033c2c
ADD ESP,0x4
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00033c10(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    param_1 = bfd_hash_allocate(param_2,0x14);\n    if (param_1 == 0) {\n      return;\n    }\n  }\n  iVar1 = bfd_hash_newfunc(param_1,param_2,param_3);\n  if (iVar1 != 0) {\n    DAT_0009896c = DAT_0009896c + 1;\n    *(undefined4 *)(iVar1 + 0xc) = 0;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00033c10(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    param_1 = bfd_hash_allocate(param_2,0x14);\n    if (param_1 == 0) {\n      return;\n    }\n  }\n  iVar1 = bfd_hash_newfunc(param_1,param_2,param_3);\n  if (iVar1 != 0) {\n    DAT_0009896c = DAT_0009896c + 1;\n    *(undefined4 *)(iVar1 + 0xc) = 0;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00033c10(int param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    param_1 = bfd_hash_allocate(param_2,0x14);\n    if (param_1 == 0) {\n      return;\n    }\n  }\n  iVar1 = bfd_hash_newfunc(param_1,param_2,param_3);\n  if (iVar1 != 0) {\n    DAT_0009896c = DAT_0009896c + 1;\n    *(undefined4 *)(iVar1 + 0xc) = 0;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_1 == 0) {\n    param_1 = bfd_hash_allocate(param_2,0x14);\n    if (param_1 == 0) {\n      return;\n    }\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    param_1 = bfd_hash_allocate(param_2,0x14);\n    if (param_1 == 0) {\n      return;\n    }\n  }" { (expression_statement "param_1 = bfd_hash_allocate(param_2,0x14);" (assignment_expression "param_1 = bfd_hash_allocate(param_2,0x14)" identifier = (call_expression "bfd_hash_allocate(param_2,0x14)" identifier (argument_list "(param_2,0x14)" ( identifier , number_literal )))) ;) (if_statement "if (param_1 == 0) {\n      return;\n    }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) })) (expression_statement "iVar1 = bfd_hash_newfunc(param_1,param_2,param_3);" (assignment_expression "iVar1 = bfd_hash_newfunc(param_1,param_2,param_3)" identifier = (call_expression "bfd_hash_newfunc(param_1,param_2,param_3)" identifier (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    DAT_0009896c = DAT_0009896c + 1;\n    *(undefined4 *)(iVar1 + 0xc) = 0;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    DAT_0009896c = DAT_0009896c + 1;\n    *(undefined4 *)(iVar1 + 0xc) = 0;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n  }" { (expression_statement "DAT_0009896c = DAT_0009896c + 1;" (assignment_expression "DAT_0009896c = DAT_0009896c + 1" identifier = (binary_expression "DAT_0009896c + 1" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(iVar1 + 0xc) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0xc) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" * (cast_expression "(undefined4 *)(iVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" * (cast_expression "(undefined4 *)(iVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nbfd_hash_entry * cref_hash_newfunc(bfd_hash_entry *entry,bfd_hash_table *table,char *string)\n\n{\n  bfd_hash_entry *pbVar1;\n  \n  if (entry == (bfd_hash_entry *)0x0) {\n    entry = (bfd_hash_entry *)bfd_hash_allocate(table,0x14);\n    if (entry == (bfd_hash_entry *)0x0) {\n      return (bfd_hash_entry *)0x0;\n    }\n  }\n  pbVar1 = (bfd_hash_entry *)bfd_hash_newfunc(entry,table,string);\n  if (pbVar1 != (bfd_hash_entry *)0x0) {\n    cref_symcount = cref_symcount + 1;\n    pbVar1[1].next = (bfd_hash_entry *)0x0;\n    pbVar1[1].string = (char *)0x0;\n  }\n  return pbVar1;\n}\n\n" comment comment (function_definition "bfd_hash_entry * cref_hash_newfunc(bfd_hash_entry *entry,bfd_hash_table *table,char *string)\n\n{\n  bfd_hash_entry *pbVar1;\n  \n  if (entry == (bfd_hash_entry *)0x0) {\n    entry = (bfd_hash_entry *)bfd_hash_allocate(table,0x14);\n    if (entry == (bfd_hash_entry *)0x0) {\n      return (bfd_hash_entry *)0x0;\n    }\n  }\n  pbVar1 = (bfd_hash_entry *)bfd_hash_newfunc(entry,table,string);\n  if (pbVar1 != (bfd_hash_entry *)0x0) {\n    cref_symcount = cref_symcount + 1;\n    pbVar1[1].next = (bfd_hash_entry *)0x0;\n    pbVar1[1].string = (char *)0x0;\n  }\n  return pbVar1;\n}" type_identifier (pointer_declarator "* cref_hash_newfunc(bfd_hash_entry *entry,bfd_hash_table *table,char *string)" * (function_declarator "cref_hash_newfunc(bfd_hash_entry *entry,bfd_hash_table *table,char *string)" identifier (parameter_list "(bfd_hash_entry *entry,bfd_hash_table *table,char *string)" ( (parameter_declaration "bfd_hash_entry *entry" type_identifier (pointer_declarator "*entry" * identifier)) , (parameter_declaration "bfd_hash_table *table" type_identifier (pointer_declarator "*table" * identifier)) , (parameter_declaration "char *string" primitive_type (pointer_declarator "*string" * identifier)) )))) (compound_statement "{\n  bfd_hash_entry *pbVar1;\n  \n  if (entry == (bfd_hash_entry *)0x0) {\n    entry = (bfd_hash_entry *)bfd_hash_allocate(table,0x14);\n    if (entry == (bfd_hash_entry *)0x0) {\n      return (bfd_hash_entry *)0x0;\n    }\n  }\n  pbVar1 = (bfd_hash_entry *)bfd_hash_newfunc(entry,table,string);\n  if (pbVar1 != (bfd_hash_entry *)0x0) {\n    cref_symcount = cref_symcount + 1;\n    pbVar1[1].next = (bfd_hash_entry *)0x0;\n    pbVar1[1].string = (char *)0x0;\n  }\n  return pbVar1;\n}" { (declaration "bfd_hash_entry *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (if_statement "if (entry == (bfd_hash_entry *)0x0) {\n    entry = (bfd_hash_entry *)bfd_hash_allocate(table,0x14);\n    if (entry == (bfd_hash_entry *)0x0) {\n      return (bfd_hash_entry *)0x0;\n    }\n  }" if (parenthesized_expression "(entry == (bfd_hash_entry *)0x0)" ( (binary_expression "entry == (bfd_hash_entry *)0x0" identifier == (cast_expression "(bfd_hash_entry *)0x0" ( (type_descriptor "bfd_hash_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    entry = (bfd_hash_entry *)bfd_hash_allocate(table,0x14);\n    if (entry == (bfd_hash_entry *)0x0) {\n      return (bfd_hash_entry *)0x0;\n    }\n  }" { (expression_statement "entry = (bfd_hash_entry *)bfd_hash_allocate(table,0x14);" (assignment_expression "entry = (bfd_hash_entry *)bfd_hash_allocate(table,0x14)" identifier = (cast_expression "(bfd_hash_entry *)bfd_hash_allocate(table,0x14)" ( (type_descriptor "bfd_hash_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "bfd_hash_allocate(table,0x14)" identifier (argument_list "(table,0x14)" ( identifier , number_literal ))))) ;) (if_statement "if (entry == (bfd_hash_entry *)0x0) {\n      return (bfd_hash_entry *)0x0;\n    }" if (parenthesized_expression "(entry == (bfd_hash_entry *)0x0)" ( (binary_expression "entry == (bfd_hash_entry *)0x0" identifier == (cast_expression "(bfd_hash_entry *)0x0" ( (type_descriptor "bfd_hash_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return (bfd_hash_entry *)0x0;\n    }" { (return_statement "return (bfd_hash_entry *)0x0;" return (cast_expression "(bfd_hash_entry *)0x0" ( (type_descriptor "bfd_hash_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) })) (expression_statement "pbVar1 = (bfd_hash_entry *)bfd_hash_newfunc(entry,table,string);" (assignment_expression "pbVar1 = (bfd_hash_entry *)bfd_hash_newfunc(entry,table,string)" identifier = (cast_expression "(bfd_hash_entry *)bfd_hash_newfunc(entry,table,string)" ( (type_descriptor "bfd_hash_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "bfd_hash_newfunc(entry,table,string)" identifier (argument_list "(entry,table,string)" ( identifier , identifier , identifier ))))) ;) (if_statement "if (pbVar1 != (bfd_hash_entry *)0x0) {\n    cref_symcount = cref_symcount + 1;\n    pbVar1[1].next = (bfd_hash_entry *)0x0;\n    pbVar1[1].string = (char *)0x0;\n  }" if (parenthesized_expression "(pbVar1 != (bfd_hash_entry *)0x0)" ( (binary_expression "pbVar1 != (bfd_hash_entry *)0x0" identifier != (cast_expression "(bfd_hash_entry *)0x0" ( (type_descriptor "bfd_hash_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    cref_symcount = cref_symcount + 1;\n    pbVar1[1].next = (bfd_hash_entry *)0x0;\n    pbVar1[1].string = (char *)0x0;\n  }" { (expression_statement "cref_symcount = cref_symcount + 1;" (assignment_expression "cref_symcount = cref_symcount + 1" identifier = (binary_expression "cref_symcount + 1" identifier + number_literal)) ;) (expression_statement "pbVar1[1].next = (bfd_hash_entry *)0x0;" (assignment_expression "pbVar1[1].next = (bfd_hash_entry *)0x0" (field_expression "pbVar1[1].next" (subscript_expression "pbVar1[1]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(bfd_hash_entry *)0x0" ( (type_descriptor "bfd_hash_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pbVar1[1].string = (char *)0x0;" (assignment_expression "pbVar1[1].string = (char *)0x0" (field_expression "pbVar1[1].string" (subscript_expression "pbVar1[1]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (return_statement "return pbVar1;" return identifier ;) })))
(translation_unit "void FUN_00033c10(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    param_1 = bfd_hash_allocate(param_2,0x14);\n    if (param_1 == 0) {\n      return;\n    }\n  }\n  iVar1 = bfd_hash_newfunc(param_1,param_2,param_3);\n  if (iVar1 != 0) {\n    DAT_0009896c = DAT_0009896c + 1;\n    *(undefined4 *)(iVar1 + 0xc) = 0;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00033c10(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    param_1 = bfd_hash_allocate(param_2,0x14);\n    if (param_1 == 0) {\n      return;\n    }\n  }\n  iVar1 = bfd_hash_newfunc(param_1,param_2,param_3);\n  if (iVar1 != 0) {\n    DAT_0009896c = DAT_0009896c + 1;\n    *(undefined4 *)(iVar1 + 0xc) = 0;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00033c10(int param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    param_1 = bfd_hash_allocate(param_2,0x14);\n    if (param_1 == 0) {\n      return;\n    }\n  }\n  iVar1 = bfd_hash_newfunc(param_1,param_2,param_3);\n  if (iVar1 != 0) {\n    DAT_0009896c = DAT_0009896c + 1;\n    *(undefined4 *)(iVar1 + 0xc) = 0;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_1 == 0) {\n    param_1 = bfd_hash_allocate(param_2,0x14);\n    if (param_1 == 0) {\n      return;\n    }\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    param_1 = bfd_hash_allocate(param_2,0x14);\n    if (param_1 == 0) {\n      return;\n    }\n  }" { (expression_statement "param_1 = bfd_hash_allocate(param_2,0x14);" (assignment_expression "param_1 = bfd_hash_allocate(param_2,0x14)" identifier = (call_expression "bfd_hash_allocate(param_2,0x14)" identifier (argument_list "(param_2,0x14)" ( identifier , number_literal )))) ;) (if_statement "if (param_1 == 0) {\n      return;\n    }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) })) (expression_statement "iVar1 = bfd_hash_newfunc(param_1,param_2,param_3);" (assignment_expression "iVar1 = bfd_hash_newfunc(param_1,param_2,param_3)" identifier = (call_expression "bfd_hash_newfunc(param_1,param_2,param_3)" identifier (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    DAT_0009896c = DAT_0009896c + 1;\n    *(undefined4 *)(iVar1 + 0xc) = 0;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    DAT_0009896c = DAT_0009896c + 1;\n    *(undefined4 *)(iVar1 + 0xc) = 0;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n  }" { (expression_statement "DAT_0009896c = DAT_0009896c + 1;" (assignment_expression "DAT_0009896c = DAT_0009896c + 1" identifier = (binary_expression "DAT_0009896c + 1" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(iVar1 + 0xc) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0xc) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" * (cast_expression "(undefined4 *)(iVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" * (cast_expression "(undefined4 *)(iVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) = number_literal) ;) })) (return_statement "return;" return ;) })))
(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 ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00033c10(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    param_1 = bfd_hash_allocate(param_2,0x14);\n    if (param_1 == 0) {\n      return;\n    }\n  }\n  iVar1 = bfd_hash_newfunc(param_1,param_2,param_3);\n  if (iVar1 != 0) {\n    DAT_0009896c = DAT_0009896c + 1;\n    *(undefined4 *)(iVar1 + 0xc) = 0;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00033c10(int param_1,undefined4 param_2,undefined4 param_3)" (identifier "FUN_00033c10") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    param_1 = bfd_hash_allocate(param_2,0x14);\n    if (param_1 == 0) {\n      return;\n    }\n  }\n  iVar1 = bfd_hash_newfunc(param_1,param_2,param_3);\n  if (iVar1 != 0) {\n    DAT_0009896c = DAT_0009896c + 1;\n    *(undefined4 *)(iVar1 + 0xc) = 0;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if (param_1 == 0) {\n    param_1 = bfd_hash_allocate(param_2,0x14);\n    if (param_1 == 0) {\n      return;\n    }\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    param_1 = bfd_hash_allocate(param_2,0x14);\n    if (param_1 == 0) {\n      return;\n    }\n  }" ({ "{") (expression_statement "param_1 = bfd_hash_allocate(param_2,0x14);" (assignment_expression "param_1 = bfd_hash_allocate(param_2,0x14)" (identifier "param_1") (= "=") (call_expression "bfd_hash_allocate(param_2,0x14)" (identifier "bfd_hash_allocate") (argument_list "(param_2,0x14)" (( "(") (identifier "param_2") (, ",") (number_literal "0x14") () ")")))) (; ";")) (if_statement "if (param_1 == 0) {\n      return;\n    }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar1 = bfd_hash_newfunc(param_1,param_2,param_3);" (assignment_expression "iVar1 = bfd_hash_newfunc(param_1,param_2,param_3)" (identifier "iVar1") (= "=") (call_expression "bfd_hash_newfunc(param_1,param_2,param_3)" (identifier "bfd_hash_newfunc") (argument_list "(param_1,param_2,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    DAT_0009896c = DAT_0009896c + 1;\n    *(undefined4 *)(iVar1 + 0xc) = 0;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    DAT_0009896c = DAT_0009896c + 1;\n    *(undefined4 *)(iVar1 + 0xc) = 0;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n  }" ({ "{") (expression_statement "DAT_0009896c = DAT_0009896c + 1;" (assignment_expression "DAT_0009896c = DAT_0009896c + 1" (identifier "DAT_0009896c") (= "=") (binary_expression "DAT_0009896c + 1" (identifier "DAT_0009896c") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0xc) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0xc) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

type_1 * function_1(type_1 *var_1,type_2 *table,char *string)

{
  type_1 *var_4;
  
  if (var_1 == (type_1 *)0x0) {
    var_1 = (type_1 *)var_2(table,0x14);
    if (var_1 == (type_1 *)0x0) {
      return (type_1 *)0x0;
    }
  }
  var_4 = (type_1 *)var_3(var_1,table,string);
  if (var_4 != (type_1 *)0x0) {
    var_5 = var_5 + 1;
    var_4[1].next = (type_1 *)0x0;
    var_4[1].string = (char *)0x0;
  }
  return var_4;
}


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

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

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

{
  int iVar1;
  
  if (param_1 == 0) {
    param_1 = bfd_hash_allocate(param_2,0x14);
    if (param_1 == 0) {
      return;
    }
  }
  iVar1 = bfd_hash_newfunc(param_1,param_2,param_3);
  if (iVar1 != 0) {
    DAT_0009896c = DAT_0009896c + 1;
    *(undefined4 *)(iVar1 + 0xc) = 0;
    *(undefined4 *)(iVar1 + 0x10) = 0;
  }
  return;
}

