
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: bool convert(Binary_to_elf * this, Task * task) */

bool __thiscall gold::Binary_to_elf::convert(Binary_to_elf *this,Task *task)

{
  bool bVar1;
  
  if (this->size_ == 0x20) {
    if (this->big_endian_ == false) {
      bVar1 = sized_convert<32,_false>(this,task);
      return bVar1;
    }
    bVar1 = sized_convert<32,_true>(this,task);
    return bVar1;
  }
  if (this->size_ == 0x40) {
    if (this->big_endian_ == false) {
      bVar1 = sized_convert<64,_false>(this,task);
      return bVar1;
    }
    bVar1 = sized_convert<64,_true>(this,task);
    return bVar1;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/binary.cc",0x73,"convert");
}



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

void FUN_00199040(int param_1)

{
  if (*(int *)(param_1 + 4) == 0x20) {
    if (*(char *)(param_1 + 8) == '\0') {
      FUN_0019ba50();
      return;
    }
    FUN_00199670();
    return;
  }
  if (*(int *)(param_1 + 4) == 0x40) {
    if (*(char *)(param_1 + 8) == '\0') {
      FUN_0019ae80();
      return;
    }
    FUN_0019a2b0();
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/binary.cc",0x73,"convert",param_1);
}


PUSH EBX
CALL 0x00035840
ADD EBX,0x1f5fba
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [EAX + 0x4]
CMP EDX,0x20
JZ 0x00199080
CMP EDX,0x40
JNZ 0x00199099
CMP byte ptr [EAX + 0x8],0x0
JNZ 0x00199070
ADD ESP,0x8
POP EBX
JMP 0x0019ae80
ADD ESP,0x8
POP EBX
JMP 0x0019a2b0
CMP byte ptr [EAX + 0x8],0x0
JNZ 0x00199090
ADD ESP,0x8
POP EBX
JMP 0x0019ba50
ADD ESP,0x8
POP EBX
JMP 0x00199670
PUSH EAX
LEA EAX,[EBX + 0xfff0e9ac]
PUSH EAX
LEA EAX,[EBX + 0xfff0e934]
PUSH 0x73
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00199040(int param_1)\n\n{\n  if (*(int *)(param_1 + 4) == 0x20) {\n    if (*(char *)(param_1 + 8) == '\0') {\n      FUN_0019ba50();\n      return;\n    }\n    FUN_00199670();\n    return;\n  }\n  if (*(int *)(param_1 + 4) == 0x40) {\n    if (*(char *)(param_1 + 8) == '\0') {\n      FUN_0019ae80();\n      return;\n    }\n    FUN_0019a2b0();\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/binary.cc",0x73,"convert",param_1);\n}\n\n" comment (function_definition "void FUN_00199040(int param_1)\n\n{\n  if (*(int *)(param_1 + 4) == 0x20) {\n    if (*(char *)(param_1 + 8) == '\0') {\n      FUN_0019ba50();\n      return;\n    }\n    FUN_00199670();\n    return;\n  }\n  if (*(int *)(param_1 + 4) == 0x40) {\n    if (*(char *)(param_1 + 8) == '\0') {\n      FUN_0019ae80();\n      return;\n    }\n    FUN_0019a2b0();\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/binary.cc",0x73,"convert",param_1);\n}" primitive_type (function_declarator "FUN_00199040(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (*(int *)(param_1 + 4) == 0x20) {\n    if (*(char *)(param_1 + 8) == '\0') {\n      FUN_0019ba50();\n      return;\n    }\n    FUN_00199670();\n    return;\n  }\n  if (*(int *)(param_1 + 4) == 0x40) {\n    if (*(char *)(param_1 + 8) == '\0') {\n      FUN_0019ae80();\n      return;\n    }\n    FUN_0019a2b0();\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/binary.cc",0x73,"convert",param_1);\n}" { (if_statement "if (*(int *)(param_1 + 4) == 0x20) {\n    if (*(char *)(param_1 + 8) == '\0') {\n      FUN_0019ba50();\n      return;\n    }\n    FUN_00199670();\n    return;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 4) == 0x20)" ( (binary_expression "*(int *)(param_1 + 4) == 0x20" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(char *)(param_1 + 8) == '\0') {\n      FUN_0019ba50();\n      return;\n    }\n    FUN_00199670();\n    return;\n  }" { (if_statement "if (*(char *)(param_1 + 8) == '\0') {\n      FUN_0019ba50();\n      return;\n    }" if (parenthesized_expression "(*(char *)(param_1 + 8) == '\0')" ( (binary_expression "*(char *)(param_1 + 8) == '\0'" (pointer_expression "*(char *)(param_1 + 8)" * (cast_expression "(char *)(param_1 + 8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      FUN_0019ba50();\n      return;\n    }" { (expression_statement "FUN_0019ba50();" (call_expression "FUN_0019ba50()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00199670();" (call_expression "FUN_00199670()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (if_statement "if (*(int *)(param_1 + 4) == 0x40) {\n    if (*(char *)(param_1 + 8) == '\0') {\n      FUN_0019ae80();\n      return;\n    }\n    FUN_0019a2b0();\n    return;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 4) == 0x40)" ( (binary_expression "*(int *)(param_1 + 4) == 0x40" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(char *)(param_1 + 8) == '\0') {\n      FUN_0019ae80();\n      return;\n    }\n    FUN_0019a2b0();\n    return;\n  }" { (if_statement "if (*(char *)(param_1 + 8) == '\0') {\n      FUN_0019ae80();\n      return;\n    }" if (parenthesized_expression "(*(char *)(param_1 + 8) == '\0')" ( (binary_expression "*(char *)(param_1 + 8) == '\0'" (pointer_expression "*(char *)(param_1 + 8)" * (cast_expression "(char *)(param_1 + 8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      FUN_0019ae80();\n      return;\n    }" { (expression_statement "FUN_0019ae80();" (call_expression "FUN_0019ae80()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0019a2b0();" (call_expression "FUN_0019a2b0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_00069d00("../../gold/binary.cc",0x73,"convert",param_1);" (call_expression "FUN_00069d00("../../gold/binary.cc",0x73,"convert",param_1)" identifier (argument_list "("../../gold/binary.cc",0x73,"convert",param_1)" ( (string_literal ""../../gold/binary.cc"" " string_content ") , number_literal , (string_literal ""convert"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: bool convert(Binary_to_elf * this, Task * task) */\n\nbool __thiscall gold::Binary_to_elf::convert(Binary_to_elf *this,Task *task)\n\n{\n  bool bVar1;\n  \n  if (this->size_ == 0x20) {\n    if (this->big_endian_ == false) {\n      bVar1 = sized_convert<32,_false>(this,task);\n      return bVar1;\n    }\n    bVar1 = sized_convert<32,_true>(this,task);\n    return bVar1;\n  }\n  if (this->size_ == 0x40) {\n    if (this->big_endian_ == false) {\n      bVar1 = sized_convert<64,_false>(this,task);\n      return bVar1;\n    }\n    bVar1 = sized_convert<64,_true>(this,task);\n    return bVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/binary.cc",0x73,"convert");\n}\n\n" comment comment (function_definition "bool __thiscall gold::Binary_to_elf::convert(Binary_to_elf *this,Task *task)\n\n{\n  bool bVar1;\n  \n  if (this->size_ == 0x20) {\n    if (this->big_endian_ == false) {\n      bVar1 = sized_convert<32,_false>(this,task);\n      return bVar1;\n    }\n    bVar1 = sized_convert<32,_true>(this,task);\n    return bVar1;\n  }\n  if (this->size_ == 0x40) {\n    if (this->big_endian_ == false) {\n      bVar1 = sized_convert<64,_false>(this,task);\n      return bVar1;\n    }\n    bVar1 = sized_convert<64,_true>(this,task);\n    return bVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/binary.cc",0x73,"convert");\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Binary_to_elf::" identifier : : identifier : :) (function_declarator "convert(Binary_to_elf *this,Task *task)" identifier (parameter_list "(Binary_to_elf *this,Task *task)" ( (parameter_declaration "Binary_to_elf *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Task *task" type_identifier (pointer_declarator "*task" * identifier)) ))) (compound_statement "{\n  bool bVar1;\n  \n  if (this->size_ == 0x20) {\n    if (this->big_endian_ == false) {\n      bVar1 = sized_convert<32,_false>(this,task);\n      return bVar1;\n    }\n    bVar1 = sized_convert<32,_true>(this,task);\n    return bVar1;\n  }\n  if (this->size_ == 0x40) {\n    if (this->big_endian_ == false) {\n      bVar1 = sized_convert<64,_false>(this,task);\n      return bVar1;\n    }\n    bVar1 = sized_convert<64,_true>(this,task);\n    return bVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/binary.cc",0x73,"convert");\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (if_statement "if (this->size_ == 0x20) {\n    if (this->big_endian_ == false) {\n      bVar1 = sized_convert<32,_false>(this,task);\n      return bVar1;\n    }\n    bVar1 = sized_convert<32,_true>(this,task);\n    return bVar1;\n  }" if (parenthesized_expression "(this->size_ == 0x20)" ( (binary_expression "this->size_ == 0x20" (field_expression "this->size_" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    if (this->big_endian_ == false) {\n      bVar1 = sized_convert<32,_false>(this,task);\n      return bVar1;\n    }\n    bVar1 = sized_convert<32,_true>(this,task);\n    return bVar1;\n  }" { (if_statement "if (this->big_endian_ == false) {\n      bVar1 = sized_convert<32,_false>(this,task);\n      return bVar1;\n    }" if (parenthesized_expression "(this->big_endian_ == false)" ( (binary_expression "this->big_endian_ == false" (field_expression "this->big_endian_" identifier -> field_identifier) == false) )) (compound_statement "{\n      bVar1 = sized_convert<32,_false>(this,task);\n      return bVar1;\n    }" { (expression_statement "bVar1 = sized_convert<32,_false>(this,task);" (comma_expression "bVar1 = sized_convert<32,_false>(this,task)" (assignment_expression "bVar1 = sized_convert<32" identifier = (binary_expression "sized_convert<32" identifier < number_literal)) , (binary_expression "_false>(this,task)" identifier > (parenthesized_expression "(this,task)" ( (comma_expression "this,task" identifier , identifier) )))) ;) (return_statement "return bVar1;" return identifier ;) })) (expression_statement "bVar1 = sized_convert<32,_true>(this,task);" (comma_expression "bVar1 = sized_convert<32,_true>(this,task)" (assignment_expression "bVar1 = sized_convert<32" identifier = (binary_expression "sized_convert<32" identifier < number_literal)) , (binary_expression "_true>(this,task)" identifier > (parenthesized_expression "(this,task)" ( (comma_expression "this,task" identifier , identifier) )))) ;) (return_statement "return bVar1;" return identifier ;) })) (if_statement "if (this->size_ == 0x40) {\n    if (this->big_endian_ == false) {\n      bVar1 = sized_convert<64,_false>(this,task);\n      return bVar1;\n    }\n    bVar1 = sized_convert<64,_true>(this,task);\n    return bVar1;\n  }" if (parenthesized_expression "(this->size_ == 0x40)" ( (binary_expression "this->size_ == 0x40" (field_expression "this->size_" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    if (this->big_endian_ == false) {\n      bVar1 = sized_convert<64,_false>(this,task);\n      return bVar1;\n    }\n    bVar1 = sized_convert<64,_true>(this,task);\n    return bVar1;\n  }" { (if_statement "if (this->big_endian_ == false) {\n      bVar1 = sized_convert<64,_false>(this,task);\n      return bVar1;\n    }" if (parenthesized_expression "(this->big_endian_ == false)" ( (binary_expression "this->big_endian_ == false" (field_expression "this->big_endian_" identifier -> field_identifier) == false) )) (compound_statement "{\n      bVar1 = sized_convert<64,_false>(this,task);\n      return bVar1;\n    }" { (expression_statement "bVar1 = sized_convert<64,_false>(this,task);" (comma_expression "bVar1 = sized_convert<64,_false>(this,task)" (assignment_expression "bVar1 = sized_convert<64" identifier = (binary_expression "sized_convert<64" identifier < number_literal)) , (binary_expression "_false>(this,task)" identifier > (parenthesized_expression "(this,task)" ( (comma_expression "this,task" identifier , identifier) )))) ;) (return_statement "return bVar1;" return identifier ;) })) (expression_statement "bVar1 = sized_convert<64,_true>(this,task);" (comma_expression "bVar1 = sized_convert<64,_true>(this,task)" (assignment_expression "bVar1 = sized_convert<64" identifier = (binary_expression "sized_convert<64" identifier < number_literal)) , (binary_expression "_true>(this,task)" identifier > (parenthesized_expression "(this,task)" ( (comma_expression "this,task" identifier , identifier) )))) ;) (return_statement "return bVar1;" return identifier ;) })) comment (expression_statement "do_gold_unreachable("../../gold/binary.cc",0x73,"convert");" (call_expression "do_gold_unreachable("../../gold/binary.cc",0x73,"convert")" identifier (argument_list "("../../gold/binary.cc",0x73,"convert")" ( (string_literal ""../../gold/binary.cc"" " string_content ") , number_literal , (string_literal ""convert"" " string_content ") ))) ;) })))
(translation_unit "void FUN_00199040(int param_1)\n\n{\n  if (*(int *)(param_1 + 4) == 0x20) {\n    if (*(char *)(param_1 + 8) == '\0') {\n      FUN_0019ba50();\n      return;\n    }\n    FUN_00199670();\n    return;\n  }\n  if (*(int *)(param_1 + 4) == 0x40) {\n    if (*(char *)(param_1 + 8) == '\0') {\n      FUN_0019ae80();\n      return;\n    }\n    FUN_0019a2b0();\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/binary.cc",0x73,"convert",param_1);\n}\n\n" (function_definition "void FUN_00199040(int param_1)\n\n{\n  if (*(int *)(param_1 + 4) == 0x20) {\n    if (*(char *)(param_1 + 8) == '\0') {\n      FUN_0019ba50();\n      return;\n    }\n    FUN_00199670();\n    return;\n  }\n  if (*(int *)(param_1 + 4) == 0x40) {\n    if (*(char *)(param_1 + 8) == '\0') {\n      FUN_0019ae80();\n      return;\n    }\n    FUN_0019a2b0();\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/binary.cc",0x73,"convert",param_1);\n}" primitive_type (function_declarator "FUN_00199040(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (*(int *)(param_1 + 4) == 0x20) {\n    if (*(char *)(param_1 + 8) == '\0') {\n      FUN_0019ba50();\n      return;\n    }\n    FUN_00199670();\n    return;\n  }\n  if (*(int *)(param_1 + 4) == 0x40) {\n    if (*(char *)(param_1 + 8) == '\0') {\n      FUN_0019ae80();\n      return;\n    }\n    FUN_0019a2b0();\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/binary.cc",0x73,"convert",param_1);\n}" { (if_statement "if (*(int *)(param_1 + 4) == 0x20) {\n    if (*(char *)(param_1 + 8) == '\0') {\n      FUN_0019ba50();\n      return;\n    }\n    FUN_00199670();\n    return;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 4) == 0x20)" ( (binary_expression "*(int *)(param_1 + 4) == 0x20" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(char *)(param_1 + 8) == '\0') {\n      FUN_0019ba50();\n      return;\n    }\n    FUN_00199670();\n    return;\n  }" { (if_statement "if (*(char *)(param_1 + 8) == '\0') {\n      FUN_0019ba50();\n      return;\n    }" if (parenthesized_expression "(*(char *)(param_1 + 8) == '\0')" ( (binary_expression "*(char *)(param_1 + 8) == '\0'" (pointer_expression "*(char *)(param_1 + 8)" * (cast_expression "(char *)(param_1 + 8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      FUN_0019ba50();\n      return;\n    }" { (expression_statement "FUN_0019ba50();" (call_expression "FUN_0019ba50()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00199670();" (call_expression "FUN_00199670()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (if_statement "if (*(int *)(param_1 + 4) == 0x40) {\n    if (*(char *)(param_1 + 8) == '\0') {\n      FUN_0019ae80();\n      return;\n    }\n    FUN_0019a2b0();\n    return;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 4) == 0x40)" ( (binary_expression "*(int *)(param_1 + 4) == 0x40" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(char *)(param_1 + 8) == '\0') {\n      FUN_0019ae80();\n      return;\n    }\n    FUN_0019a2b0();\n    return;\n  }" { (if_statement "if (*(char *)(param_1 + 8) == '\0') {\n      FUN_0019ae80();\n      return;\n    }" if (parenthesized_expression "(*(char *)(param_1 + 8) == '\0')" ( (binary_expression "*(char *)(param_1 + 8) == '\0'" (pointer_expression "*(char *)(param_1 + 8)" * (cast_expression "(char *)(param_1 + 8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      FUN_0019ae80();\n      return;\n    }" { (expression_statement "FUN_0019ae80();" (call_expression "FUN_0019ae80()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0019a2b0();" (call_expression "FUN_0019a2b0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00069d00("../../gold/binary.cc",0x73,"convert",param_1);" (call_expression "FUN_00069d00("../../gold/binary.cc",0x73,"convert",param_1)" identifier (argument_list "("../../gold/binary.cc",0x73,"convert",param_1)" ( (string_literal ""../../gold/binary.cc"" " string_content ") , number_literal , (string_literal ""convert"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "void FUN_00199040(int param_1)\n\n{\n  if (*(int *)(param_1 + 4) == 0x20) {\n    if (*(char *)(param_1 + 8) == '\0') {\n      FUN_0019ba50();\n      return;\n    }\n    FUN_00199670();\n    return;\n  }\n  if (*(int *)(param_1 + 4) == 0x40) {\n    if (*(char *)(param_1 + 8) == '\0') {\n      FUN_0019ae80();\n      return;\n    }\n    FUN_0019a2b0();\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/binary.cc",0x73,"convert",param_1);\n}" (primitive_type "void") (function_declarator "FUN_00199040(int param_1)" (identifier "FUN_00199040") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  if (*(int *)(param_1 + 4) == 0x20) {\n    if (*(char *)(param_1 + 8) == '\0') {\n      FUN_0019ba50();\n      return;\n    }\n    FUN_00199670();\n    return;\n  }\n  if (*(int *)(param_1 + 4) == 0x40) {\n    if (*(char *)(param_1 + 8) == '\0') {\n      FUN_0019ae80();\n      return;\n    }\n    FUN_0019a2b0();\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/binary.cc",0x73,"convert",param_1);\n}" ({ "{") (if_statement "if (*(int *)(param_1 + 4) == 0x20) {\n    if (*(char *)(param_1 + 8) == '\0') {\n      FUN_0019ba50();\n      return;\n    }\n    FUN_00199670();\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 4) == 0x20)" (( "(") (binary_expression "*(int *)(param_1 + 4) == 0x20" (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (== "==") (number_literal "0x20")) () ")")) (compound_statement "{\n    if (*(char *)(param_1 + 8) == '\0') {\n      FUN_0019ba50();\n      return;\n    }\n    FUN_00199670();\n    return;\n  }" ({ "{") (if_statement "if (*(char *)(param_1 + 8) == '\0') {\n      FUN_0019ba50();\n      return;\n    }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 8) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + 8) == '\0'" (pointer_expression "*(char *)(param_1 + 8)" (* "*") (cast_expression "(char *)(param_1 + 8)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      FUN_0019ba50();\n      return;\n    }" ({ "{") (expression_statement "FUN_0019ba50();" (call_expression "FUN_0019ba50()" (identifier "FUN_0019ba50") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00199670();" (call_expression "FUN_00199670()" (identifier "FUN_00199670") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 4) == 0x40) {\n    if (*(char *)(param_1 + 8) == '\0') {\n      FUN_0019ae80();\n      return;\n    }\n    FUN_0019a2b0();\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 4) == 0x40)" (( "(") (binary_expression "*(int *)(param_1 + 4) == 0x40" (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (== "==") (number_literal "0x40")) () ")")) (compound_statement "{\n    if (*(char *)(param_1 + 8) == '\0') {\n      FUN_0019ae80();\n      return;\n    }\n    FUN_0019a2b0();\n    return;\n  }" ({ "{") (if_statement "if (*(char *)(param_1 + 8) == '\0') {\n      FUN_0019ae80();\n      return;\n    }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 8) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + 8) == '\0'" (pointer_expression "*(char *)(param_1 + 8)" (* "*") (cast_expression "(char *)(param_1 + 8)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      FUN_0019ae80();\n      return;\n    }" ({ "{") (expression_statement "FUN_0019ae80();" (call_expression "FUN_0019ae80()" (identifier "FUN_0019ae80") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0019a2b0();" (call_expression "FUN_0019a2b0()" (identifier "FUN_0019a2b0") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00069d00("../../gold/binary.cc",0x73,"convert",param_1);" (call_expression "FUN_00069d00("../../gold/binary.cc",0x73,"convert",param_1)" (identifier "FUN_00069d00") (argument_list "("../../gold/binary.cc",0x73,"convert",param_1)" (( "(") (string_literal ""../../gold/binary.cc"" (" """) (string_content "../../gold/binary.cc") (" """)) (, ",") (number_literal "0x73") (, ",") (string_literal ""convert"" (" """) (string_content "convert") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: bool convert(Binary_to_elf * this, Task * task) */

bool __thiscall gold::type_1::function_1(type_1 *this,type_2 *task)

{
  bool bVar1;
  
  if (this->size_ == 0x20) {
    if (this->big_endian_ == false) {
      bVar1 = var_1<32,var_2>(this,task);
      return bVar1;
    }
    bVar1 = var_1<32,var_3>(this,task);
    return bVar1;
  }
  if (this->size_ == 0x40) {
    if (this->big_endian_ == false) {
      bVar1 = var_1<64,var_2>(this,task);
      return bVar1;
    }
    bVar1 = var_1<64,var_3>(this,task);
    return bVar1;
  }
                    /* WARNING: Subroutine does not return */
  var_4("../../gold/binary.cc",0x73,"convert");
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (identifier)))))))

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

void MASKED(int param_1)

{
  if (*(int *)(param_1 + 4) == 0x20) {
    if (*(char *)(param_1 + 8) == '\0') {
      FUN_0019ba50();
      return;
    }
    FUN_00199670();
    return;
  }
  if (*(int *)(param_1 + 4) == 0x40) {
    if (*(char *)(param_1 + 8) == '\0') {
      FUN_0019ae80();
      return;
    }
    FUN_0019a2b0();
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/binary.cc",0x73,"convert",param_1);
}

