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

fix * obj_elf_get_vtable_entry(void)

{
  symbolS *add_symbol;
  fixS *pfVar1;
  char *pcVar2;
  offsetT offset;
  addressT aVar3;
  
  if (*input_line_pointer == '#') {
    input_line_pointer = input_line_pointer + 1;
  }
  add_symbol = get_sym_from_input_line_and_check();
  if (*input_line_pointer == ',') {
    pcVar2 = input_line_pointer + 1;
    if (input_line_pointer[1] == '#') {
      pcVar2 = input_line_pointer + 2;
    }
    input_line_pointer = pcVar2;
    offset = get_absolute_expression();
    demand_empty_rest_of_line();
    aVar3 = frag_now_fix();
    pfVar1 = fix_new(frag_now,(int)aVar3,0,add_symbol,offset,0,BFD_RELOC_VTABLE_ENTRY);
    return pfVar1;
  }
  pcVar2 = (char *)dcgettext(0,"expected comma after name in .vtable_entry",5);
  as_bad(pcVar2);
  ignore_rest_of_line();
  return (fix *)0x0;
}



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

undefined4 FUN_0004a9e0(void)

{
  char *pcVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  undefined8 uVar4;
  
  if (*DAT_00074f78 == '#') {
    DAT_00074f78 = DAT_00074f78 + 1;
  }
  uVar2 = FUN_000487c0();
  if (*DAT_00074f78 == ',') {
    pcVar1 = DAT_00074f78 + 1;
    if (DAT_00074f78[1] == '#') {
      pcVar1 = DAT_00074f78 + 2;
    }
    DAT_00074f78 = pcVar1;
    uVar4 = FUN_0002bd30();
    FUN_0002c9b0();
    uVar3 = FUN_00023490();
    uVar2 = FUN_0003cc00(DAT_00074ea4,uVar3,0,uVar2,uVar4,0,0x5a4);
    return uVar2;
  }
  uVar2 = dcgettext(0,"expected comma after name in .vtable_entry",5);
  FUN_0002a430(uVar2);
  FUN_0002c760();
  return 0;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00015040
ADD EBX,0x21617
SUB ESP,0xc
LEA ESI,[EBX + 0x8f78]
MOV EAX,dword ptr [ESI]
CMP byte ptr [EAX],0x23
JNZ 0x0004aa04
ADD EAX,0x1
MOV dword ptr [ESI],EAX
CALL 0x000487c0
MOV EBP,EAX
MOV EAX,dword ptr [ESI]
CMP byte ptr [EAX],0x2c
JNZ 0x0004aa60
LEA EDX,[EAX + 0x1]
MOV dword ptr [ESI],EDX
CMP byte ptr [EAX + 0x1],0x23
JNZ 0x0004aa22
ADD EAX,0x2
MOV dword ptr [ESI],EAX
CALL 0x0002bd30
MOV ESI,EAX
MOV EDI,EDX
CALL 0x0002c9b0
CALL 0x00023490
PUSH 0x5a4
PUSH 0x0
PUSH EDI
PUSH ESI
PUSH EBP
PUSH 0x0
PUSH EAX
LEA EAX,[EBX + 0x8ea4]
PUSH dword ptr [EAX]
CALL 0x0003cc00
ADD ESP,0x20
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
LEA EAX,[EBX + 0xfffea0a0]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000131a0
MOV dword ptr [ESP],EAX
CALL 0x0002a430
CALL 0x0002c760
ADD ESP,0x10
XOR EAX,EAX
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_0004a9e0(void)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined8 uVar4;\n  \n  if (*DAT_00074f78 == '#') {\n    DAT_00074f78 = DAT_00074f78 + 1;\n  }\n  uVar2 = FUN_000487c0();\n  if (*DAT_00074f78 == ',') {\n    pcVar1 = DAT_00074f78 + 1;\n    if (DAT_00074f78[1] == '#') {\n      pcVar1 = DAT_00074f78 + 2;\n    }\n    DAT_00074f78 = pcVar1;\n    uVar4 = FUN_0002bd30();\n    FUN_0002c9b0();\n    uVar3 = FUN_00023490();\n    uVar2 = FUN_0003cc00(DAT_00074ea4,uVar3,0,uVar2,uVar4,0,0x5a4);\n    return uVar2;\n  }\n  uVar2 = dcgettext(0,"expected comma after name in .vtable_entry",5);\n  FUN_0002a430(uVar2);\n  FUN_0002c760();\n  return 0;\n}\n\n" comment (function_definition "undefined4 FUN_0004a9e0(void)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined8 uVar4;\n  \n  if (*DAT_00074f78 == '#') {\n    DAT_00074f78 = DAT_00074f78 + 1;\n  }\n  uVar2 = FUN_000487c0();\n  if (*DAT_00074f78 == ',') {\n    pcVar1 = DAT_00074f78 + 1;\n    if (DAT_00074f78[1] == '#') {\n      pcVar1 = DAT_00074f78 + 2;\n    }\n    DAT_00074f78 = pcVar1;\n    uVar4 = FUN_0002bd30();\n    FUN_0002c9b0();\n    uVar3 = FUN_00023490();\n    uVar2 = FUN_0003cc00(DAT_00074ea4,uVar3,0,uVar2,uVar4,0,0x5a4);\n    return uVar2;\n  }\n  uVar2 = dcgettext(0,"expected comma after name in .vtable_entry",5);\n  FUN_0002a430(uVar2);\n  FUN_0002c760();\n  return 0;\n}" type_identifier (function_declarator "FUN_0004a9e0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char *pcVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined8 uVar4;\n  \n  if (*DAT_00074f78 == '#') {\n    DAT_00074f78 = DAT_00074f78 + 1;\n  }\n  uVar2 = FUN_000487c0();\n  if (*DAT_00074f78 == ',') {\n    pcVar1 = DAT_00074f78 + 1;\n    if (DAT_00074f78[1] == '#') {\n      pcVar1 = DAT_00074f78 + 2;\n    }\n    DAT_00074f78 = pcVar1;\n    uVar4 = FUN_0002bd30();\n    FUN_0002c9b0();\n    uVar3 = FUN_00023490();\n    uVar2 = FUN_0003cc00(DAT_00074ea4,uVar3,0,uVar2,uVar4,0,0x5a4);\n    return uVar2;\n  }\n  uVar2 = dcgettext(0,"expected comma after name in .vtable_entry",5);\n  FUN_0002a430(uVar2);\n  FUN_0002c760();\n  return 0;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (if_statement "if (*DAT_00074f78 == '#') {\n    DAT_00074f78 = DAT_00074f78 + 1;\n  }" if (parenthesized_expression "(*DAT_00074f78 == '#')" ( (binary_expression "*DAT_00074f78 == '#'" (pointer_expression "*DAT_00074f78" * identifier) == (char_literal "'#'" ' character ')) )) (compound_statement "{\n    DAT_00074f78 = DAT_00074f78 + 1;\n  }" { (expression_statement "DAT_00074f78 = DAT_00074f78 + 1;" (assignment_expression "DAT_00074f78 = DAT_00074f78 + 1" identifier = (binary_expression "DAT_00074f78 + 1" identifier + number_literal)) ;) })) (expression_statement "uVar2 = FUN_000487c0();" (assignment_expression "uVar2 = FUN_000487c0()" identifier = (call_expression "FUN_000487c0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (*DAT_00074f78 == ',') {\n    pcVar1 = DAT_00074f78 + 1;\n    if (DAT_00074f78[1] == '#') {\n      pcVar1 = DAT_00074f78 + 2;\n    }\n    DAT_00074f78 = pcVar1;\n    uVar4 = FUN_0002bd30();\n    FUN_0002c9b0();\n    uVar3 = FUN_00023490();\n    uVar2 = FUN_0003cc00(DAT_00074ea4,uVar3,0,uVar2,uVar4,0,0x5a4);\n    return uVar2;\n  }" if (parenthesized_expression "(*DAT_00074f78 == ',')" ( (binary_expression "*DAT_00074f78 == ','" (pointer_expression "*DAT_00074f78" * identifier) == (char_literal "','" ' character ')) )) (compound_statement "{\n    pcVar1 = DAT_00074f78 + 1;\n    if (DAT_00074f78[1] == '#') {\n      pcVar1 = DAT_00074f78 + 2;\n    }\n    DAT_00074f78 = pcVar1;\n    uVar4 = FUN_0002bd30();\n    FUN_0002c9b0();\n    uVar3 = FUN_00023490();\n    uVar2 = FUN_0003cc00(DAT_00074ea4,uVar3,0,uVar2,uVar4,0,0x5a4);\n    return uVar2;\n  }" { (expression_statement "pcVar1 = DAT_00074f78 + 1;" (assignment_expression "pcVar1 = DAT_00074f78 + 1" identifier = (binary_expression "DAT_00074f78 + 1" identifier + number_literal)) ;) (if_statement "if (DAT_00074f78[1] == '#') {\n      pcVar1 = DAT_00074f78 + 2;\n    }" if (parenthesized_expression "(DAT_00074f78[1] == '#')" ( (binary_expression "DAT_00074f78[1] == '#'" (subscript_expression "DAT_00074f78[1]" identifier [ number_literal ]) == (char_literal "'#'" ' character ')) )) (compound_statement "{\n      pcVar1 = DAT_00074f78 + 2;\n    }" { (expression_statement "pcVar1 = DAT_00074f78 + 2;" (assignment_expression "pcVar1 = DAT_00074f78 + 2" identifier = (binary_expression "DAT_00074f78 + 2" identifier + number_literal)) ;) })) (expression_statement "DAT_00074f78 = pcVar1;" (assignment_expression "DAT_00074f78 = pcVar1" identifier = identifier) ;) (expression_statement "uVar4 = FUN_0002bd30();" (assignment_expression "uVar4 = FUN_0002bd30()" identifier = (call_expression "FUN_0002bd30()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_0002c9b0();" (call_expression "FUN_0002c9b0()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar3 = FUN_00023490();" (assignment_expression "uVar3 = FUN_00023490()" identifier = (call_expression "FUN_00023490()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar2 = FUN_0003cc00(DAT_00074ea4,uVar3,0,uVar2,uVar4,0,0x5a4);" (assignment_expression "uVar2 = FUN_0003cc00(DAT_00074ea4,uVar3,0,uVar2,uVar4,0,0x5a4)" identifier = (call_expression "FUN_0003cc00(DAT_00074ea4,uVar3,0,uVar2,uVar4,0,0x5a4)" identifier (argument_list "(DAT_00074ea4,uVar3,0,uVar2,uVar4,0,0x5a4)" ( identifier , identifier , number_literal , identifier , identifier , number_literal , number_literal )))) ;) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "uVar2 = dcgettext(0,"expected comma after name in .vtable_entry",5);" (assignment_expression "uVar2 = dcgettext(0,"expected comma after name in .vtable_entry",5)" identifier = (call_expression "dcgettext(0,"expected comma after name in .vtable_entry",5)" identifier (argument_list "(0,"expected comma after name in .vtable_entry",5)" ( number_literal , (string_literal ""expected comma after name in .vtable_entry"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_0002a430(uVar2);" (call_expression "FUN_0002a430(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "FUN_0002c760();" (call_expression "FUN_0002c760()" identifier (argument_list "()" ( ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nfix * obj_elf_get_vtable_entry(void)\n\n{\n  symbolS *add_symbol;\n  fixS *pfVar1;\n  char *pcVar2;\n  offsetT offset;\n  addressT aVar3;\n  \n  if (*input_line_pointer == '#') {\n    input_line_pointer = input_line_pointer + 1;\n  }\n  add_symbol = get_sym_from_input_line_and_check();\n  if (*input_line_pointer == ',') {\n    pcVar2 = input_line_pointer + 1;\n    if (input_line_pointer[1] == '#') {\n      pcVar2 = input_line_pointer + 2;\n    }\n    input_line_pointer = pcVar2;\n    offset = get_absolute_expression();\n    demand_empty_rest_of_line();\n    aVar3 = frag_now_fix();\n    pfVar1 = fix_new(frag_now,(int)aVar3,0,add_symbol,offset,0,BFD_RELOC_VTABLE_ENTRY);\n    return pfVar1;\n  }\n  pcVar2 = (char *)dcgettext(0,"expected comma after name in .vtable_entry",5);\n  as_bad(pcVar2);\n  ignore_rest_of_line();\n  return (fix *)0x0;\n}\n\n" comment comment (function_definition "fix * obj_elf_get_vtable_entry(void)\n\n{\n  symbolS *add_symbol;\n  fixS *pfVar1;\n  char *pcVar2;\n  offsetT offset;\n  addressT aVar3;\n  \n  if (*input_line_pointer == '#') {\n    input_line_pointer = input_line_pointer + 1;\n  }\n  add_symbol = get_sym_from_input_line_and_check();\n  if (*input_line_pointer == ',') {\n    pcVar2 = input_line_pointer + 1;\n    if (input_line_pointer[1] == '#') {\n      pcVar2 = input_line_pointer + 2;\n    }\n    input_line_pointer = pcVar2;\n    offset = get_absolute_expression();\n    demand_empty_rest_of_line();\n    aVar3 = frag_now_fix();\n    pfVar1 = fix_new(frag_now,(int)aVar3,0,add_symbol,offset,0,BFD_RELOC_VTABLE_ENTRY);\n    return pfVar1;\n  }\n  pcVar2 = (char *)dcgettext(0,"expected comma after name in .vtable_entry",5);\n  as_bad(pcVar2);\n  ignore_rest_of_line();\n  return (fix *)0x0;\n}" type_identifier (pointer_declarator "* obj_elf_get_vtable_entry(void)" * (function_declarator "obj_elf_get_vtable_entry(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  symbolS *add_symbol;\n  fixS *pfVar1;\n  char *pcVar2;\n  offsetT offset;\n  addressT aVar3;\n  \n  if (*input_line_pointer == '#') {\n    input_line_pointer = input_line_pointer + 1;\n  }\n  add_symbol = get_sym_from_input_line_and_check();\n  if (*input_line_pointer == ',') {\n    pcVar2 = input_line_pointer + 1;\n    if (input_line_pointer[1] == '#') {\n      pcVar2 = input_line_pointer + 2;\n    }\n    input_line_pointer = pcVar2;\n    offset = get_absolute_expression();\n    demand_empty_rest_of_line();\n    aVar3 = frag_now_fix();\n    pfVar1 = fix_new(frag_now,(int)aVar3,0,add_symbol,offset,0,BFD_RELOC_VTABLE_ENTRY);\n    return pfVar1;\n  }\n  pcVar2 = (char *)dcgettext(0,"expected comma after name in .vtable_entry",5);\n  as_bad(pcVar2);\n  ignore_rest_of_line();\n  return (fix *)0x0;\n}" { (declaration "symbolS *add_symbol;" type_identifier (pointer_declarator "*add_symbol" * identifier) ;) (declaration "fixS *pfVar1;" type_identifier (pointer_declarator "*pfVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "offsetT offset;" type_identifier identifier ;) (declaration "addressT aVar3;" type_identifier identifier ;) (if_statement "if (*input_line_pointer == '#') {\n    input_line_pointer = input_line_pointer + 1;\n  }" if (parenthesized_expression "(*input_line_pointer == '#')" ( (binary_expression "*input_line_pointer == '#'" (pointer_expression "*input_line_pointer" * identifier) == (char_literal "'#'" ' character ')) )) (compound_statement "{\n    input_line_pointer = input_line_pointer + 1;\n  }" { (expression_statement "input_line_pointer = input_line_pointer + 1;" (assignment_expression "input_line_pointer = input_line_pointer + 1" identifier = (binary_expression "input_line_pointer + 1" identifier + number_literal)) ;) })) (expression_statement "add_symbol = get_sym_from_input_line_and_check();" (assignment_expression "add_symbol = get_sym_from_input_line_and_check()" identifier = (call_expression "get_sym_from_input_line_and_check()" identifier (argument_list "()" ( )))) ;) (if_statement "if (*input_line_pointer == ',') {\n    pcVar2 = input_line_pointer + 1;\n    if (input_line_pointer[1] == '#') {\n      pcVar2 = input_line_pointer + 2;\n    }\n    input_line_pointer = pcVar2;\n    offset = get_absolute_expression();\n    demand_empty_rest_of_line();\n    aVar3 = frag_now_fix();\n    pfVar1 = fix_new(frag_now,(int)aVar3,0,add_symbol,offset,0,BFD_RELOC_VTABLE_ENTRY);\n    return pfVar1;\n  }" if (parenthesized_expression "(*input_line_pointer == ',')" ( (binary_expression "*input_line_pointer == ','" (pointer_expression "*input_line_pointer" * identifier) == (char_literal "','" ' character ')) )) (compound_statement "{\n    pcVar2 = input_line_pointer + 1;\n    if (input_line_pointer[1] == '#') {\n      pcVar2 = input_line_pointer + 2;\n    }\n    input_line_pointer = pcVar2;\n    offset = get_absolute_expression();\n    demand_empty_rest_of_line();\n    aVar3 = frag_now_fix();\n    pfVar1 = fix_new(frag_now,(int)aVar3,0,add_symbol,offset,0,BFD_RELOC_VTABLE_ENTRY);\n    return pfVar1;\n  }" { (expression_statement "pcVar2 = input_line_pointer + 1;" (assignment_expression "pcVar2 = input_line_pointer + 1" identifier = (binary_expression "input_line_pointer + 1" identifier + number_literal)) ;) (if_statement "if (input_line_pointer[1] == '#') {\n      pcVar2 = input_line_pointer + 2;\n    }" if (parenthesized_expression "(input_line_pointer[1] == '#')" ( (binary_expression "input_line_pointer[1] == '#'" (subscript_expression "input_line_pointer[1]" identifier [ number_literal ]) == (char_literal "'#'" ' character ')) )) (compound_statement "{\n      pcVar2 = input_line_pointer + 2;\n    }" { (expression_statement "pcVar2 = input_line_pointer + 2;" (assignment_expression "pcVar2 = input_line_pointer + 2" identifier = (binary_expression "input_line_pointer + 2" identifier + number_literal)) ;) })) (expression_statement "input_line_pointer = pcVar2;" (assignment_expression "input_line_pointer = pcVar2" identifier = identifier) ;) (expression_statement "offset = get_absolute_expression();" (assignment_expression "offset = get_absolute_expression()" identifier = (call_expression "get_absolute_expression()" identifier (argument_list "()" ( )))) ;) (expression_statement "demand_empty_rest_of_line();" (call_expression "demand_empty_rest_of_line()" identifier (argument_list "()" ( ))) ;) (expression_statement "aVar3 = frag_now_fix();" (assignment_expression "aVar3 = frag_now_fix()" identifier = (call_expression "frag_now_fix()" identifier (argument_list "()" ( )))) ;) (expression_statement "pfVar1 = fix_new(frag_now,(int)aVar3,0,add_symbol,offset,0,BFD_RELOC_VTABLE_ENTRY);" (assignment_expression "pfVar1 = fix_new(frag_now,(int)aVar3,0,add_symbol,offset,0,BFD_RELOC_VTABLE_ENTRY)" identifier = (call_expression "fix_new(frag_now,(int)aVar3,0,add_symbol,offset,0,BFD_RELOC_VTABLE_ENTRY)" identifier (argument_list "(frag_now,(int)aVar3,0,add_symbol,offset,0,BFD_RELOC_VTABLE_ENTRY)" ( identifier , (cast_expression "(int)aVar3" ( (type_descriptor "int" primitive_type) ) identifier) , number_literal , identifier , identifier , number_literal , identifier )))) ;) (return_statement "return pfVar1;" return identifier ;) })) (expression_statement "pcVar2 = (char *)dcgettext(0,"expected comma after name in .vtable_entry",5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,"expected comma after name in .vtable_entry",5)" identifier = (cast_expression "(char *)dcgettext(0,"expected comma after name in .vtable_entry",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"expected comma after name in .vtable_entry",5)" identifier (argument_list "(0,"expected comma after name in .vtable_entry",5)" ( number_literal , (string_literal ""expected comma after name in .vtable_entry"" " string_content ") , number_literal ))))) ;) (expression_statement "as_bad(pcVar2);" (call_expression "as_bad(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;) (expression_statement "ignore_rest_of_line();" (call_expression "ignore_rest_of_line()" identifier (argument_list "()" ( ))) ;) (return_statement "return (fix *)0x0;" return (cast_expression "(fix *)0x0" ( (type_descriptor "fix *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "undefined4 FUN_0004a9e0(void)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined8 uVar4;\n  \n  if (*DAT_00074f78 == '#') {\n    DAT_00074f78 = DAT_00074f78 + 1;\n  }\n  uVar2 = FUN_000487c0();\n  if (*DAT_00074f78 == ',') {\n    pcVar1 = DAT_00074f78 + 1;\n    if (DAT_00074f78[1] == '#') {\n      pcVar1 = DAT_00074f78 + 2;\n    }\n    DAT_00074f78 = pcVar1;\n    uVar4 = FUN_0002bd30();\n    FUN_0002c9b0();\n    uVar3 = FUN_00023490();\n    uVar2 = FUN_0003cc00(DAT_00074ea4,uVar3,0,uVar2,uVar4,0,0x5a4);\n    return uVar2;\n  }\n  uVar2 = dcgettext(0,"expected comma after name in .vtable_entry",5);\n  FUN_0002a430(uVar2);\n  FUN_0002c760();\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0004a9e0(void)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined8 uVar4;\n  \n  if (*DAT_00074f78 == '#') {\n    DAT_00074f78 = DAT_00074f78 + 1;\n  }\n  uVar2 = FUN_000487c0();\n  if (*DAT_00074f78 == ',') {\n    pcVar1 = DAT_00074f78 + 1;\n    if (DAT_00074f78[1] == '#') {\n      pcVar1 = DAT_00074f78 + 2;\n    }\n    DAT_00074f78 = pcVar1;\n    uVar4 = FUN_0002bd30();\n    FUN_0002c9b0();\n    uVar3 = FUN_00023490();\n    uVar2 = FUN_0003cc00(DAT_00074ea4,uVar3,0,uVar2,uVar4,0,0x5a4);\n    return uVar2;\n  }\n  uVar2 = dcgettext(0,"expected comma after name in .vtable_entry",5);\n  FUN_0002a430(uVar2);\n  FUN_0002c760();\n  return 0;\n}" type_identifier (function_declarator "FUN_0004a9e0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char *pcVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined8 uVar4;\n  \n  if (*DAT_00074f78 == '#') {\n    DAT_00074f78 = DAT_00074f78 + 1;\n  }\n  uVar2 = FUN_000487c0();\n  if (*DAT_00074f78 == ',') {\n    pcVar1 = DAT_00074f78 + 1;\n    if (DAT_00074f78[1] == '#') {\n      pcVar1 = DAT_00074f78 + 2;\n    }\n    DAT_00074f78 = pcVar1;\n    uVar4 = FUN_0002bd30();\n    FUN_0002c9b0();\n    uVar3 = FUN_00023490();\n    uVar2 = FUN_0003cc00(DAT_00074ea4,uVar3,0,uVar2,uVar4,0,0x5a4);\n    return uVar2;\n  }\n  uVar2 = dcgettext(0,"expected comma after name in .vtable_entry",5);\n  FUN_0002a430(uVar2);\n  FUN_0002c760();\n  return 0;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (if_statement "if (*DAT_00074f78 == '#') {\n    DAT_00074f78 = DAT_00074f78 + 1;\n  }" if (parenthesized_expression "(*DAT_00074f78 == '#')" ( (binary_expression "*DAT_00074f78 == '#'" (pointer_expression "*DAT_00074f78" * identifier) == (char_literal "'#'" ' character ')) )) (compound_statement "{\n    DAT_00074f78 = DAT_00074f78 + 1;\n  }" { (expression_statement "DAT_00074f78 = DAT_00074f78 + 1;" (assignment_expression "DAT_00074f78 = DAT_00074f78 + 1" identifier = (binary_expression "DAT_00074f78 + 1" identifier + number_literal)) ;) })) (expression_statement "uVar2 = FUN_000487c0();" (assignment_expression "uVar2 = FUN_000487c0()" identifier = (call_expression "FUN_000487c0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (*DAT_00074f78 == ',') {\n    pcVar1 = DAT_00074f78 + 1;\n    if (DAT_00074f78[1] == '#') {\n      pcVar1 = DAT_00074f78 + 2;\n    }\n    DAT_00074f78 = pcVar1;\n    uVar4 = FUN_0002bd30();\n    FUN_0002c9b0();\n    uVar3 = FUN_00023490();\n    uVar2 = FUN_0003cc00(DAT_00074ea4,uVar3,0,uVar2,uVar4,0,0x5a4);\n    return uVar2;\n  }" if (parenthesized_expression "(*DAT_00074f78 == ',')" ( (binary_expression "*DAT_00074f78 == ','" (pointer_expression "*DAT_00074f78" * identifier) == (char_literal "','" ' character ')) )) (compound_statement "{\n    pcVar1 = DAT_00074f78 + 1;\n    if (DAT_00074f78[1] == '#') {\n      pcVar1 = DAT_00074f78 + 2;\n    }\n    DAT_00074f78 = pcVar1;\n    uVar4 = FUN_0002bd30();\n    FUN_0002c9b0();\n    uVar3 = FUN_00023490();\n    uVar2 = FUN_0003cc00(DAT_00074ea4,uVar3,0,uVar2,uVar4,0,0x5a4);\n    return uVar2;\n  }" { (expression_statement "pcVar1 = DAT_00074f78 + 1;" (assignment_expression "pcVar1 = DAT_00074f78 + 1" identifier = (binary_expression "DAT_00074f78 + 1" identifier + number_literal)) ;) (if_statement "if (DAT_00074f78[1] == '#') {\n      pcVar1 = DAT_00074f78 + 2;\n    }" if (parenthesized_expression "(DAT_00074f78[1] == '#')" ( (binary_expression "DAT_00074f78[1] == '#'" (subscript_expression "DAT_00074f78[1]" identifier [ number_literal ]) == (char_literal "'#'" ' character ')) )) (compound_statement "{\n      pcVar1 = DAT_00074f78 + 2;\n    }" { (expression_statement "pcVar1 = DAT_00074f78 + 2;" (assignment_expression "pcVar1 = DAT_00074f78 + 2" identifier = (binary_expression "DAT_00074f78 + 2" identifier + number_literal)) ;) })) (expression_statement "DAT_00074f78 = pcVar1;" (assignment_expression "DAT_00074f78 = pcVar1" identifier = identifier) ;) (expression_statement "uVar4 = FUN_0002bd30();" (assignment_expression "uVar4 = FUN_0002bd30()" identifier = (call_expression "FUN_0002bd30()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_0002c9b0();" (call_expression "FUN_0002c9b0()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar3 = FUN_00023490();" (assignment_expression "uVar3 = FUN_00023490()" identifier = (call_expression "FUN_00023490()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar2 = FUN_0003cc00(DAT_00074ea4,uVar3,0,uVar2,uVar4,0,0x5a4);" (assignment_expression "uVar2 = FUN_0003cc00(DAT_00074ea4,uVar3,0,uVar2,uVar4,0,0x5a4)" identifier = (call_expression "FUN_0003cc00(DAT_00074ea4,uVar3,0,uVar2,uVar4,0,0x5a4)" identifier (argument_list "(DAT_00074ea4,uVar3,0,uVar2,uVar4,0,0x5a4)" ( identifier , identifier , number_literal , identifier , identifier , number_literal , number_literal )))) ;) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "uVar2 = dcgettext(0,"expected comma after name in .vtable_entry",5);" (assignment_expression "uVar2 = dcgettext(0,"expected comma after name in .vtable_entry",5)" identifier = (call_expression "dcgettext(0,"expected comma after name in .vtable_entry",5)" identifier (argument_list "(0,"expected comma after name in .vtable_entry",5)" ( number_literal , (string_literal ""expected comma after name in .vtable_entry"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_0002a430(uVar2);" (call_expression "FUN_0002a430(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "FUN_0002c760();" (call_expression "FUN_0002c760()" identifier (argument_list "()" ( ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , IDENT , IDENT , LIT , LIT )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_0004a9e0(void)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined8 uVar4;\n  \n  if (*DAT_00074f78 == '#') {\n    DAT_00074f78 = DAT_00074f78 + 1;\n  }\n  uVar2 = FUN_000487c0();\n  if (*DAT_00074f78 == ',') {\n    pcVar1 = DAT_00074f78 + 1;\n    if (DAT_00074f78[1] == '#') {\n      pcVar1 = DAT_00074f78 + 2;\n    }\n    DAT_00074f78 = pcVar1;\n    uVar4 = FUN_0002bd30();\n    FUN_0002c9b0();\n    uVar3 = FUN_00023490();\n    uVar2 = FUN_0003cc00(DAT_00074ea4,uVar3,0,uVar2,uVar4,0,0x5a4);\n    return uVar2;\n  }\n  uVar2 = dcgettext(0,"expected comma after name in .vtable_entry",5);\n  FUN_0002a430(uVar2);\n  FUN_0002c760();\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_0004a9e0(void)" (identifier "FUN_0004a9e0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  char *pcVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined8 uVar4;\n  \n  if (*DAT_00074f78 == '#') {\n    DAT_00074f78 = DAT_00074f78 + 1;\n  }\n  uVar2 = FUN_000487c0();\n  if (*DAT_00074f78 == ',') {\n    pcVar1 = DAT_00074f78 + 1;\n    if (DAT_00074f78[1] == '#') {\n      pcVar1 = DAT_00074f78 + 2;\n    }\n    DAT_00074f78 = pcVar1;\n    uVar4 = FUN_0002bd30();\n    FUN_0002c9b0();\n    uVar3 = FUN_00023490();\n    uVar2 = FUN_0003cc00(DAT_00074ea4,uVar3,0,uVar2,uVar4,0,0x5a4);\n    return uVar2;\n  }\n  uVar2 = dcgettext(0,"expected comma after name in .vtable_entry",5);\n  FUN_0002a430(uVar2);\n  FUN_0002c760();\n  return 0;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined8 uVar4;" (type_identifier "undefined8") (identifier "uVar4") (; ";")) (if_statement "if (*DAT_00074f78 == '#') {\n    DAT_00074f78 = DAT_00074f78 + 1;\n  }" (if "if") (parenthesized_expression "(*DAT_00074f78 == '#')" (( "(") (binary_expression "*DAT_00074f78 == '#'" (pointer_expression "*DAT_00074f78" (* "*") (identifier "DAT_00074f78")) (== "==") (char_literal "'#'" (' "'") (character "#") (' "'"))) () ")")) (compound_statement "{\n    DAT_00074f78 = DAT_00074f78 + 1;\n  }" ({ "{") (expression_statement "DAT_00074f78 = DAT_00074f78 + 1;" (assignment_expression "DAT_00074f78 = DAT_00074f78 + 1" (identifier "DAT_00074f78") (= "=") (binary_expression "DAT_00074f78 + 1" (identifier "DAT_00074f78") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "uVar2 = FUN_000487c0();" (assignment_expression "uVar2 = FUN_000487c0()" (identifier "uVar2") (= "=") (call_expression "FUN_000487c0()" (identifier "FUN_000487c0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (*DAT_00074f78 == ',') {\n    pcVar1 = DAT_00074f78 + 1;\n    if (DAT_00074f78[1] == '#') {\n      pcVar1 = DAT_00074f78 + 2;\n    }\n    DAT_00074f78 = pcVar1;\n    uVar4 = FUN_0002bd30();\n    FUN_0002c9b0();\n    uVar3 = FUN_00023490();\n    uVar2 = FUN_0003cc00(DAT_00074ea4,uVar3,0,uVar2,uVar4,0,0x5a4);\n    return uVar2;\n  }" (if "if") (parenthesized_expression "(*DAT_00074f78 == ',')" (( "(") (binary_expression "*DAT_00074f78 == ','" (pointer_expression "*DAT_00074f78" (* "*") (identifier "DAT_00074f78")) (== "==") (char_literal "','" (' "'") (character ",") (' "'"))) () ")")) (compound_statement "{\n    pcVar1 = DAT_00074f78 + 1;\n    if (DAT_00074f78[1] == '#') {\n      pcVar1 = DAT_00074f78 + 2;\n    }\n    DAT_00074f78 = pcVar1;\n    uVar4 = FUN_0002bd30();\n    FUN_0002c9b0();\n    uVar3 = FUN_00023490();\n    uVar2 = FUN_0003cc00(DAT_00074ea4,uVar3,0,uVar2,uVar4,0,0x5a4);\n    return uVar2;\n  }" ({ "{") (expression_statement "pcVar1 = DAT_00074f78 + 1;" (assignment_expression "pcVar1 = DAT_00074f78 + 1" (identifier "pcVar1") (= "=") (binary_expression "DAT_00074f78 + 1" (identifier "DAT_00074f78") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (DAT_00074f78[1] == '#') {\n      pcVar1 = DAT_00074f78 + 2;\n    }" (if "if") (parenthesized_expression "(DAT_00074f78[1] == '#')" (( "(") (binary_expression "DAT_00074f78[1] == '#'" (subscript_expression "DAT_00074f78[1]" (identifier "DAT_00074f78") ([ "[") (number_literal "1") (] "]")) (== "==") (char_literal "'#'" (' "'") (character "#") (' "'"))) () ")")) (compound_statement "{\n      pcVar1 = DAT_00074f78 + 2;\n    }" ({ "{") (expression_statement "pcVar1 = DAT_00074f78 + 2;" (assignment_expression "pcVar1 = DAT_00074f78 + 2" (identifier "pcVar1") (= "=") (binary_expression "DAT_00074f78 + 2" (identifier "DAT_00074f78") (+ "+") (number_literal "2"))) (; ";")) (} "}"))) (expression_statement "DAT_00074f78 = pcVar1;" (assignment_expression "DAT_00074f78 = pcVar1" (identifier "DAT_00074f78") (= "=") (identifier "pcVar1")) (; ";")) (expression_statement "uVar4 = FUN_0002bd30();" (assignment_expression "uVar4 = FUN_0002bd30()" (identifier "uVar4") (= "=") (call_expression "FUN_0002bd30()" (identifier "FUN_0002bd30") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "FUN_0002c9b0();" (call_expression "FUN_0002c9b0()" (identifier "FUN_0002c9b0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar3 = FUN_00023490();" (assignment_expression "uVar3 = FUN_00023490()" (identifier "uVar3") (= "=") (call_expression "FUN_00023490()" (identifier "FUN_00023490") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar2 = FUN_0003cc00(DAT_00074ea4,uVar3,0,uVar2,uVar4,0,0x5a4);" (assignment_expression "uVar2 = FUN_0003cc00(DAT_00074ea4,uVar3,0,uVar2,uVar4,0,0x5a4)" (identifier "uVar2") (= "=") (call_expression "FUN_0003cc00(DAT_00074ea4,uVar3,0,uVar2,uVar4,0,0x5a4)" (identifier "FUN_0003cc00") (argument_list "(DAT_00074ea4,uVar3,0,uVar2,uVar4,0,0x5a4)" (( "(") (identifier "DAT_00074ea4") (, ",") (identifier "uVar3") (, ",") (number_literal "0") (, ",") (identifier "uVar2") (, ",") (identifier "uVar4") (, ",") (number_literal "0") (, ",") (number_literal "0x5a4") () ")")))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (expression_statement "uVar2 = dcgettext(0,"expected comma after name in .vtable_entry",5);" (assignment_expression "uVar2 = dcgettext(0,"expected comma after name in .vtable_entry",5)" (identifier "uVar2") (= "=") (call_expression "dcgettext(0,"expected comma after name in .vtable_entry",5)" (identifier "dcgettext") (argument_list "(0,"expected comma after name in .vtable_entry",5)" (( "(") (number_literal "0") (, ",") (string_literal ""expected comma after name in .vtable_entry"" (" """) (string_content "expected comma after name in .vtable_entry") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_0002a430(uVar2);" (call_expression "FUN_0002a430(uVar2)" (identifier "FUN_0002a430") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "FUN_0002c760();" (call_expression "FUN_0002c760()" (identifier "FUN_0002c760") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

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

type_1 * function_1(void)

{
  type_2 *add_symbol;
  type_3 *pfVar1;
  char *pcVar2;
  type_4 offset;
  type_5 aVar3;
  
  if (*var_1 == '#') {
    var_1 = var_1 + 1;
  }
  add_symbol = var_2();
  if (*var_1 == ',') {
    pcVar2 = var_1 + 1;
    if (var_1[1] == '#') {
      pcVar2 = var_1 + 2;
    }
    var_1 = pcVar2;
    offset = var_3();
    var_4();
    aVar3 = var_5();
    pfVar1 = var_6(frag_now,(int)aVar3,0,add_symbol,offset,0,BFD_RELOC_VTABLE_ENTRY);
    return pfVar1;
  }
  pcVar2 = (char *)var_7(0,"expected comma after name in .vtable_entry",5);
  var_8(pcVar2);
  var_9();
  return (type_1 *)0x0;
}


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

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

undefined4 MASKED(void)

{
  char *pcVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  undefined8 uVar4;
  
  if (*DAT_00074f78 == '#') {
    DAT_00074f78 = DAT_00074f78 + 1;
  }
  uVar2 = FUN_000487c0();
  if (*DAT_00074f78 == ',') {
    pcVar1 = DAT_00074f78 + 1;
    if (DAT_00074f78[1] == '#') {
      pcVar1 = DAT_00074f78 + 2;
    }
    DAT_00074f78 = pcVar1;
    uVar4 = FUN_0002bd30();
    FUN_0002c9b0();
    uVar3 = FUN_00023490();
    uVar2 = FUN_0003cc00(DAT_00074ea4,uVar3,0,uVar2,uVar4,0,0x5a4);
    return uVar2;
  }
  uVar2 = dcgettext(0,"expected comma after name in .vtable_entry",5);
  FUN_0002a430(uVar2);
  FUN_0002c760();
  return 0;
}

