
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: uint64_t do_plt_address_for_global(Target_x86_64<32> * this, Symbol *
   gsym) */

uint64_t __thiscall
anon_unknown.dwarf_32e241::Target_x86_64<32>::do_plt_address_for_global
          (Target_x86_64<32> *this,Symbol *gsym)

{
  int *piVar1;
  uint64_t uVar2;
  Target_x86_64<32> *in_stack_fffffff4;
  
  piVar1 = *(int **)&(this->x86_64_info).default_text_segment_address;
  if (piVar1 != (int *)0x0) {
                    /* WARNING: Could not recover jumptable at 0x00076e5a. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    uVar2 = (**(code **)(*piVar1 + 0x74))();
    return uVar2;
  }
                    /* WARNING: Subroutine does not return */
  plt_section(in_stack_fffffff4);
}



void FUN_00076e40(int param_1)

{
  if (*(int **)(param_1 + 0x18) != (int *)0x0) {
                    /* WARNING: Could not recover jumptable at 0x00076e5a. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (**(code **)(**(int **)(param_1 + 0x18) + 0x74))();
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00076de0();
}


SUB ESP,0xc
MOV EAX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [EAX + 0x18]
TEST EAX,EAX
JZ 0x00076e5c
MOV EDX,dword ptr [EAX]
MOV dword ptr [ESP + 0x10],EAX
MOV EAX,dword ptr [EDX + 0x74]
ADD ESP,0xc
JMP EAX
CALL 0x00076de0
(translation_unit "void FUN_00076e40(int param_1)\n\n{\n  if (*(int **)(param_1 + 0x18) != (int *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00076e5a. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(**(int **)(param_1 + 0x18) + 0x74))();\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00076de0();\n}\n\n" (function_definition "void FUN_00076e40(int param_1)\n\n{\n  if (*(int **)(param_1 + 0x18) != (int *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00076e5a. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(**(int **)(param_1 + 0x18) + 0x74))();\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00076de0();\n}" primitive_type (function_declarator "FUN_00076e40(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (*(int **)(param_1 + 0x18) != (int *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00076e5a. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(**(int **)(param_1 + 0x18) + 0x74))();\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00076de0();\n}" { (if_statement "if (*(int **)(param_1 + 0x18) != (int *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00076e5a. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(**(int **)(param_1 + 0x18) + 0x74))();\n    return;\n  }" if (parenthesized_expression "(*(int **)(param_1 + 0x18) != (int *)0x0)" ( (binary_expression "*(int **)(param_1 + 0x18) != (int *)0x0" (pointer_expression "*(int **)(param_1 + 0x18)" * (cast_expression "(int **)(param_1 + 0x18)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x00076e5a. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(**(int **)(param_1 + 0x18) + 0x74))();\n    return;\n  }" { comment comment (expression_statement "(**(code **)(**(int **)(param_1 + 0x18) + 0x74))();" (call_expression "(**(code **)(**(int **)(param_1 + 0x18) + 0x74))()" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 0x18) + 0x74))" ( (pointer_expression "**(code **)(**(int **)(param_1 + 0x18) + 0x74)" * (pointer_expression "*(code **)(**(int **)(param_1 + 0x18) + 0x74)" * (cast_expression "(code **)(**(int **)(param_1 + 0x18) + 0x74)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(param_1 + 0x18) + 0x74)" ( (binary_expression "**(int **)(param_1 + 0x18) + 0x74" (pointer_expression "**(int **)(param_1 + 0x18)" * (pointer_expression "*(int **)(param_1 + 0x18)" * (cast_expression "(int **)(param_1 + 0x18)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_00076de0();" (call_expression "FUN_00076de0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: uint64_t do_plt_address_for_global(Target_x86_64<32> * this, Symbol *\n   gsym) */\n\nuint64_t __thiscall\nanon_unknown.dwarf_32e241::Target_x86_64<32>::do_plt_address_for_global\n          (Target_x86_64<32> *this,Symbol *gsym)\n\n{\n  int *piVar1;\n  uint64_t uVar2;\n  Target_x86_64<32> *in_stack_fffffff4;\n  \n  piVar1 = *(int **)&(this->x86_64_info).default_text_segment_address;\n  if (piVar1 != (int *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00076e5a. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar2 = (**(code **)(*piVar1 + 0x74))();\n    return uVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  plt_section(in_stack_fffffff4);\n}\n\n" comment comment (function_definition "uint64_t __thiscall\nanon_unknown.dwarf_32e241::Target_x86_64<32>::do_plt_address_for_global\n          (Target_x86_64<32> *this,Symbol *gsym)\n\n{\n  int *piVar1;\n  uint64_t uVar2;\n  Target_x86_64<32> *in_stack_fffffff4;\n  \n  piVar1 = *(int **)&(this->x86_64_info).default_text_segment_address;\n  if (piVar1 != (int *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00076e5a. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar2 = (**(code **)(*piVar1 + 0x74))();\n    return uVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  plt_section(in_stack_fffffff4);\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "anon_unknown.dwarf_32e241::Target_x86_64<32>::" identifier . identifier : : identifier < number_literal > : :) (function_declarator "do_plt_address_for_global\n          (Target_x86_64<32> *this,Symbol *gsym)" identifier (parameter_list "(Target_x86_64<32> *this,Symbol *gsym)" ( (parameter_declaration "Target_x86_64<32> *this" type_identifier (ERROR "<32>" < number_literal >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Symbol *gsym" type_identifier (pointer_declarator "*gsym" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  uint64_t uVar2;\n  Target_x86_64<32> *in_stack_fffffff4;\n  \n  piVar1 = *(int **)&(this->x86_64_info).default_text_segment_address;\n  if (piVar1 != (int *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00076e5a. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar2 = (**(code **)(*piVar1 + 0x74))();\n    return uVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  plt_section(in_stack_fffffff4);\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "uint64_t uVar2;" primitive_type identifier ;) (expression_statement "Target_x86_64<32> *in_stack_fffffff4;" (binary_expression "Target_x86_64<32> *in_stack_fffffff4" (binary_expression "Target_x86_64<32" identifier < number_literal) > (pointer_expression "*in_stack_fffffff4" * identifier)) ;) (expression_statement "piVar1 = *(int **)&(this->x86_64_info).default_text_segment_address;" (assignment_expression "piVar1 = *(int **)&(this->x86_64_info).default_text_segment_address" identifier = (pointer_expression "*(int **)&(this->x86_64_info).default_text_segment_address" * (cast_expression "(int **)&(this->x86_64_info).default_text_segment_address" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&(this->x86_64_info).default_text_segment_address" & (field_expression "(this->x86_64_info).default_text_segment_address" (parenthesized_expression "(this->x86_64_info)" ( (field_expression "this->x86_64_info" identifier -> field_identifier) )) . field_identifier))))) ;) (if_statement "if (piVar1 != (int *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00076e5a. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar2 = (**(code **)(*piVar1 + 0x74))();\n    return uVar2;\n  }" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x00076e5a. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar2 = (**(code **)(*piVar1 + 0x74))();\n    return uVar2;\n  }" { comment comment (expression_statement "uVar2 = (**(code **)(*piVar1 + 0x74))();" (assignment_expression "uVar2 = (**(code **)(*piVar1 + 0x74))()" identifier = (call_expression "(**(code **)(*piVar1 + 0x74))()" (parenthesized_expression "(**(code **)(*piVar1 + 0x74))" ( (pointer_expression "**(code **)(*piVar1 + 0x74)" * (pointer_expression "*(code **)(*piVar1 + 0x74)" * (cast_expression "(code **)(*piVar1 + 0x74)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x74)" ( (binary_expression "*piVar1 + 0x74" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar2;" return identifier ;) })) comment (expression_statement "plt_section(in_stack_fffffff4);" (call_expression "plt_section(in_stack_fffffff4)" identifier (argument_list "(in_stack_fffffff4)" ( identifier ))) ;) })))
(translation_unit "void FUN_00076e40(int param_1)\n\n{\n  if (*(int **)(param_1 + 0x18) != (int *)0x0) {\n                    \n                    \n    (**(code **)(**(int **)(param_1 + 0x18) + 0x74))();\n    return;\n  }\n                    \n  FUN_00076de0();\n}\n\n" (function_definition "void FUN_00076e40(int param_1)\n\n{\n  if (*(int **)(param_1 + 0x18) != (int *)0x0) {\n                    \n                    \n    (**(code **)(**(int **)(param_1 + 0x18) + 0x74))();\n    return;\n  }\n                    \n  FUN_00076de0();\n}" primitive_type (function_declarator "FUN_00076e40(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (*(int **)(param_1 + 0x18) != (int *)0x0) {\n                    \n                    \n    (**(code **)(**(int **)(param_1 + 0x18) + 0x74))();\n    return;\n  }\n                    \n  FUN_00076de0();\n}" { (if_statement "if (*(int **)(param_1 + 0x18) != (int *)0x0) {\n                    \n                    \n    (**(code **)(**(int **)(param_1 + 0x18) + 0x74))();\n    return;\n  }" if (parenthesized_expression "(*(int **)(param_1 + 0x18) != (int *)0x0)" ( (binary_expression "*(int **)(param_1 + 0x18) != (int *)0x0" (pointer_expression "*(int **)(param_1 + 0x18)" * (cast_expression "(int **)(param_1 + 0x18)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n                    \n    (**(code **)(**(int **)(param_1 + 0x18) + 0x74))();\n    return;\n  }" { (expression_statement "(**(code **)(**(int **)(param_1 + 0x18) + 0x74))();" (call_expression "(**(code **)(**(int **)(param_1 + 0x18) + 0x74))()" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 0x18) + 0x74))" ( (pointer_expression "**(code **)(**(int **)(param_1 + 0x18) + 0x74)" * (pointer_expression "*(code **)(**(int **)(param_1 + 0x18) + 0x74)" * (cast_expression "(code **)(**(int **)(param_1 + 0x18) + 0x74)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(param_1 + 0x18) + 0x74)" ( (binary_expression "**(int **)(param_1 + 0x18) + 0x74" (pointer_expression "**(int **)(param_1 + 0x18)" * (pointer_expression "*(int **)(param_1 + 0x18)" * (cast_expression "(int **)(param_1 + 0x18)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00076de0();" (call_expression "FUN_00076de0()" identifier (argument_list "()" ( ))) ;) })))
(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 * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) ))))) )) (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_00076e40(int param_1)\n\n{\n  if (*(int **)(param_1 + 0x18) != (int *)0x0) {\n                    \n                    \n    (**(code **)(**(int **)(param_1 + 0x18) + 0x74))();\n    return;\n  }\n                    \n  FUN_00076de0();\n}" (primitive_type "void") (function_declarator "FUN_00076e40(int param_1)" (identifier "FUN_00076e40") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  if (*(int **)(param_1 + 0x18) != (int *)0x0) {\n                    \n                    \n    (**(code **)(**(int **)(param_1 + 0x18) + 0x74))();\n    return;\n  }\n                    \n  FUN_00076de0();\n}" ({ "{") (if_statement "if (*(int **)(param_1 + 0x18) != (int *)0x0) {\n                    \n                    \n    (**(code **)(**(int **)(param_1 + 0x18) + 0x74))();\n    return;\n  }" (if "if") (parenthesized_expression "(*(int **)(param_1 + 0x18) != (int *)0x0)" (( "(") (binary_expression "*(int **)(param_1 + 0x18) != (int *)0x0" (pointer_expression "*(int **)(param_1 + 0x18)" (* "*") (cast_expression "(int **)(param_1 + 0x18)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n                    \n    (**(code **)(**(int **)(param_1 + 0x18) + 0x74))();\n    return;\n  }" ({ "{") (expression_statement "(**(code **)(**(int **)(param_1 + 0x18) + 0x74))();" (call_expression "(**(code **)(**(int **)(param_1 + 0x18) + 0x74))()" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 0x18) + 0x74))" (( "(") (pointer_expression "**(code **)(**(int **)(param_1 + 0x18) + 0x74)" (* "*") (pointer_expression "*(code **)(**(int **)(param_1 + 0x18) + 0x74)" (* "*") (cast_expression "(code **)(**(int **)(param_1 + 0x18) + 0x74)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(**(int **)(param_1 + 0x18) + 0x74)" (( "(") (binary_expression "**(int **)(param_1 + 0x18) + 0x74" (pointer_expression "**(int **)(param_1 + 0x18)" (* "*") (pointer_expression "*(int **)(param_1 + 0x18)" (* "*") (cast_expression "(int **)(param_1 + 0x18)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (+ "+") (number_literal "0x74")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00076de0();" (call_expression "FUN_00076de0()" (identifier "FUN_00076de0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: uint64_t do_plt_address_for_global(Target_x86_64<32> * this, Symbol *
   gsym) */

uint64_t __thiscall
anon_unknown.dwarf_32e241::type_1<32>::function_1
          (type_1<32> *this,type_2 *gsym)

{
  int *var_1;
  uint64_t uVar2;
  type_1<32> *in_stack_fffffff4;
  
  var_1 = *(int **)&(this->x86_64_info).default_text_segment_address;
  if (var_1 != (int *)0x0) {
                    /* WARNING: Could not recover jumptable at 0x00076e5a. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    uVar2 = (**(type_3 **)(*var_1 + 0x74))();
    return uVar2;
  }
                    /* WARNING: Subroutine does not return */
  var_2(in_stack_fffffff4);
}


(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 declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal))))))) arguments: (argument_list))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

void MASKED(int param_1)

{
  if (*(int **)(param_1 + 0x18) != (int *)0x0) {
                    /* WARNING: Could not recover jumptable at 0x00076e5a. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (**(code **)(**(int **)(param_1 + 0x18) + 0x74))();
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00076de0();
}

