
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: uint got_offset(Symbol * this, uint got_type) */

uint __thiscall gold::Symbol::got_offset(Symbol *this,uint got_type)

{
  Got_offset_list *pGVar1;
  
  pGVar1 = &this->got_offsets_;
  do {
    if (got_type == pGVar1->got_type_) {
      if (pGVar1->got_offset_ != 0xffffffff) {
        return pGVar1->got_offset_;
      }
      break;
    }
    pGVar1 = pGVar1->got_next_;
  } while (pGVar1 != (Got_offset_list *)0x0);
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/symtab.h",0x1b7,"got_offset");
}



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

void FUN_000731e0(int param_1,int param_2)

{
  int *piVar1;
  
  piVar1 = (int *)(param_1 + 0x1c);
  do {
    if (param_2 == *piVar1) {
      piVar1 = (int *)piVar1[1];
      if (piVar1 != (int *)0xffffffff) {
        return;
      }
      break;
    }
    piVar1 = (int *)piVar1[2];
  } while (piVar1 != (int *)0x0);
                    /* WARNING: Subroutine does not return */
  FUN_0008b620("../../gold/symtab.h",0x1b7,"got_offset",piVar1);
}


PUSH EBX
CALL 0x00035680
ADD EBX,0x2cbe1a
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [ESP + 0x14]
ADD EAX,0x1c
LEA ESI,[ESI]
CMP EDX,dword ptr [EAX]
JZ 0x00073228
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JNZ 0x00073200
PUSH EAX
LEA EAX,[EBX + 0xfff1216c]
PUSH EAX
LEA EAX,[EBX + 0xfff0c3e0]
PUSH 0x1b7
PUSH EAX
CALL 0x0008b620
MOV EAX,dword ptr [EAX + 0x4]
CMP EAX,-0x1
JZ 0x0007320b
ADD ESP,0x8
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000731e0(int param_1,int param_2)\n\n{\n  int *piVar1;\n  \n  piVar1 = (int *)(param_1 + 0x1c);\n  do {\n    if (param_2 == *piVar1) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 != (int *)0xffffffff) {\n        return;\n      }\n      break;\n    }\n    piVar1 = (int *)piVar1[2];\n  } while (piVar1 != (int *)0x0);\n                    /* WARNING: Subroutine does not return */\n  FUN_0008b620("../../gold/symtab.h",0x1b7,"got_offset",piVar1);\n}\n\n" comment (function_definition "void FUN_000731e0(int param_1,int param_2)\n\n{\n  int *piVar1;\n  \n  piVar1 = (int *)(param_1 + 0x1c);\n  do {\n    if (param_2 == *piVar1) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 != (int *)0xffffffff) {\n        return;\n      }\n      break;\n    }\n    piVar1 = (int *)piVar1[2];\n  } while (piVar1 != (int *)0x0);\n                    /* WARNING: Subroutine does not return */\n  FUN_0008b620("../../gold/symtab.h",0x1b7,"got_offset",piVar1);\n}" primitive_type (function_declarator "FUN_000731e0(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  \n  piVar1 = (int *)(param_1 + 0x1c);\n  do {\n    if (param_2 == *piVar1) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 != (int *)0xffffffff) {\n        return;\n      }\n      break;\n    }\n    piVar1 = (int *)piVar1[2];\n  } while (piVar1 != (int *)0x0);\n                    /* WARNING: Subroutine does not return */\n  FUN_0008b620("../../gold/symtab.h",0x1b7,"got_offset",piVar1);\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (expression_statement "piVar1 = (int *)(param_1 + 0x1c);" (assignment_expression "piVar1 = (int *)(param_1 + 0x1c)" identifier = (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) ;) (do_statement "do {\n    if (param_2 == *piVar1) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 != (int *)0xffffffff) {\n        return;\n      }\n      break;\n    }\n    piVar1 = (int *)piVar1[2];\n  } while (piVar1 != (int *)0x0);" do (compound_statement "{\n    if (param_2 == *piVar1) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 != (int *)0xffffffff) {\n        return;\n      }\n      break;\n    }\n    piVar1 = (int *)piVar1[2];\n  }" { (if_statement "if (param_2 == *piVar1) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 != (int *)0xffffffff) {\n        return;\n      }\n      break;\n    }" if (parenthesized_expression "(param_2 == *piVar1)" ( (binary_expression "param_2 == *piVar1" identifier == (pointer_expression "*piVar1" * identifier)) )) (compound_statement "{\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 != (int *)0xffffffff) {\n        return;\n      }\n      break;\n    }" { (expression_statement "piVar1 = (int *)piVar1[1];" (assignment_expression "piVar1 = (int *)piVar1[1]" identifier = (cast_expression "(int *)piVar1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[1]" identifier [ number_literal ]))) ;) (if_statement "if (piVar1 != (int *)0xffffffff) {\n        return;\n      }" if (parenthesized_expression "(piVar1 != (int *)0xffffffff)" ( (binary_expression "piVar1 != (int *)0xffffffff" identifier != (cast_expression "(int *)0xffffffff" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (break_statement "break;" break ;) })) (expression_statement "piVar1 = (int *)piVar1[2];" (assignment_expression "piVar1 = (int *)piVar1[2]" identifier = (cast_expression "(int *)piVar1[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ]))) ;) }) while (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)) )) ;) comment (expression_statement "FUN_0008b620("../../gold/symtab.h",0x1b7,"got_offset",piVar1);" (call_expression "FUN_0008b620("../../gold/symtab.h",0x1b7,"got_offset",piVar1)" identifier (argument_list "("../../gold/symtab.h",0x1b7,"got_offset",piVar1)" ( (string_literal ""../../gold/symtab.h"" " string_content ") , number_literal , (string_literal ""got_offset"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: uint got_offset(Symbol * this, uint got_type) */\n\nuint __thiscall gold::Symbol::got_offset(Symbol *this,uint got_type)\n\n{\n  Got_offset_list *pGVar1;\n  \n  pGVar1 = &this->got_offsets_;\n  do {\n    if (got_type == pGVar1->got_type_) {\n      if (pGVar1->got_offset_ != 0xffffffff) {\n        return pGVar1->got_offset_;\n      }\n      break;\n    }\n    pGVar1 = pGVar1->got_next_;\n  } while (pGVar1 != (Got_offset_list *)0x0);\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/symtab.h",0x1b7,"got_offset");\n}\n\n" comment comment (function_definition "uint __thiscall gold::Symbol::got_offset(Symbol *this,uint got_type)\n\n{\n  Got_offset_list *pGVar1;\n  \n  pGVar1 = &this->got_offsets_;\n  do {\n    if (got_type == pGVar1->got_type_) {\n      if (pGVar1->got_offset_ != 0xffffffff) {\n        return pGVar1->got_offset_;\n      }\n      break;\n    }\n    pGVar1 = pGVar1->got_next_;\n  } while (pGVar1 != (Got_offset_list *)0x0);\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/symtab.h",0x1b7,"got_offset");\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Symbol::" identifier : : identifier : :) (function_declarator "got_offset(Symbol *this,uint got_type)" identifier (parameter_list "(Symbol *this,uint got_type)" ( (parameter_declaration "Symbol *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint got_type" type_identifier identifier) ))) (compound_statement "{\n  Got_offset_list *pGVar1;\n  \n  pGVar1 = &this->got_offsets_;\n  do {\n    if (got_type == pGVar1->got_type_) {\n      if (pGVar1->got_offset_ != 0xffffffff) {\n        return pGVar1->got_offset_;\n      }\n      break;\n    }\n    pGVar1 = pGVar1->got_next_;\n  } while (pGVar1 != (Got_offset_list *)0x0);\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/symtab.h",0x1b7,"got_offset");\n}" { (declaration "Got_offset_list *pGVar1;" type_identifier (pointer_declarator "*pGVar1" * identifier) ;) (expression_statement "pGVar1 = &this->got_offsets_;" (assignment_expression "pGVar1 = &this->got_offsets_" identifier = (pointer_expression "&this->got_offsets_" & (field_expression "this->got_offsets_" identifier -> field_identifier))) ;) (do_statement "do {\n    if (got_type == pGVar1->got_type_) {\n      if (pGVar1->got_offset_ != 0xffffffff) {\n        return pGVar1->got_offset_;\n      }\n      break;\n    }\n    pGVar1 = pGVar1->got_next_;\n  } while (pGVar1 != (Got_offset_list *)0x0);" do (compound_statement "{\n    if (got_type == pGVar1->got_type_) {\n      if (pGVar1->got_offset_ != 0xffffffff) {\n        return pGVar1->got_offset_;\n      }\n      break;\n    }\n    pGVar1 = pGVar1->got_next_;\n  }" { (if_statement "if (got_type == pGVar1->got_type_) {\n      if (pGVar1->got_offset_ != 0xffffffff) {\n        return pGVar1->got_offset_;\n      }\n      break;\n    }" if (parenthesized_expression "(got_type == pGVar1->got_type_)" ( (binary_expression "got_type == pGVar1->got_type_" identifier == (field_expression "pGVar1->got_type_" identifier -> field_identifier)) )) (compound_statement "{\n      if (pGVar1->got_offset_ != 0xffffffff) {\n        return pGVar1->got_offset_;\n      }\n      break;\n    }" { (if_statement "if (pGVar1->got_offset_ != 0xffffffff) {\n        return pGVar1->got_offset_;\n      }" if (parenthesized_expression "(pGVar1->got_offset_ != 0xffffffff)" ( (binary_expression "pGVar1->got_offset_ != 0xffffffff" (field_expression "pGVar1->got_offset_" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n        return pGVar1->got_offset_;\n      }" { (return_statement "return pGVar1->got_offset_;" return (field_expression "pGVar1->got_offset_" identifier -> field_identifier) ;) })) (break_statement "break;" break ;) })) (expression_statement "pGVar1 = pGVar1->got_next_;" (assignment_expression "pGVar1 = pGVar1->got_next_" identifier = (field_expression "pGVar1->got_next_" identifier -> field_identifier)) ;) }) while (parenthesized_expression "(pGVar1 != (Got_offset_list *)0x0)" ( (binary_expression "pGVar1 != (Got_offset_list *)0x0" identifier != (cast_expression "(Got_offset_list *)0x0" ( (type_descriptor "Got_offset_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) comment (expression_statement "do_gold_unreachable("../../gold/symtab.h",0x1b7,"got_offset");" (call_expression "do_gold_unreachable("../../gold/symtab.h",0x1b7,"got_offset")" identifier (argument_list "("../../gold/symtab.h",0x1b7,"got_offset")" ( (string_literal ""../../gold/symtab.h"" " string_content ") , number_literal , (string_literal ""got_offset"" " string_content ") ))) ;) })))
(translation_unit "void FUN_000731e0(int param_1,int param_2)\n\n{\n  int *piVar1;\n  \n  piVar1 = (int *)(param_1 + 0x1c);\n  do {\n    if (param_2 == *piVar1) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 != (int *)0xffffffff) {\n        return;\n      }\n      break;\n    }\n    piVar1 = (int *)piVar1[2];\n  } while (piVar1 != (int *)0x0);\n                    \n  FUN_0008b620("../../gold/symtab.h",0x1b7,"got_offset",piVar1);\n}\n\n" (function_definition "void FUN_000731e0(int param_1,int param_2)\n\n{\n  int *piVar1;\n  \n  piVar1 = (int *)(param_1 + 0x1c);\n  do {\n    if (param_2 == *piVar1) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 != (int *)0xffffffff) {\n        return;\n      }\n      break;\n    }\n    piVar1 = (int *)piVar1[2];\n  } while (piVar1 != (int *)0x0);\n                    \n  FUN_0008b620("../../gold/symtab.h",0x1b7,"got_offset",piVar1);\n}" primitive_type (function_declarator "FUN_000731e0(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  \n  piVar1 = (int *)(param_1 + 0x1c);\n  do {\n    if (param_2 == *piVar1) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 != (int *)0xffffffff) {\n        return;\n      }\n      break;\n    }\n    piVar1 = (int *)piVar1[2];\n  } while (piVar1 != (int *)0x0);\n                    \n  FUN_0008b620("../../gold/symtab.h",0x1b7,"got_offset",piVar1);\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (expression_statement "piVar1 = (int *)(param_1 + 0x1c);" (assignment_expression "piVar1 = (int *)(param_1 + 0x1c)" identifier = (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) ;) (do_statement "do {\n    if (param_2 == *piVar1) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 != (int *)0xffffffff) {\n        return;\n      }\n      break;\n    }\n    piVar1 = (int *)piVar1[2];\n  } while (piVar1 != (int *)0x0);" do (compound_statement "{\n    if (param_2 == *piVar1) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 != (int *)0xffffffff) {\n        return;\n      }\n      break;\n    }\n    piVar1 = (int *)piVar1[2];\n  }" { (if_statement "if (param_2 == *piVar1) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 != (int *)0xffffffff) {\n        return;\n      }\n      break;\n    }" if (parenthesized_expression "(param_2 == *piVar1)" ( (binary_expression "param_2 == *piVar1" identifier == (pointer_expression "*piVar1" * identifier)) )) (compound_statement "{\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 != (int *)0xffffffff) {\n        return;\n      }\n      break;\n    }" { (expression_statement "piVar1 = (int *)piVar1[1];" (assignment_expression "piVar1 = (int *)piVar1[1]" identifier = (cast_expression "(int *)piVar1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[1]" identifier [ number_literal ]))) ;) (if_statement "if (piVar1 != (int *)0xffffffff) {\n        return;\n      }" if (parenthesized_expression "(piVar1 != (int *)0xffffffff)" ( (binary_expression "piVar1 != (int *)0xffffffff" identifier != (cast_expression "(int *)0xffffffff" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (break_statement "break;" break ;) })) (expression_statement "piVar1 = (int *)piVar1[2];" (assignment_expression "piVar1 = (int *)piVar1[2]" identifier = (cast_expression "(int *)piVar1[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ]))) ;) }) while (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)) )) ;) (expression_statement "FUN_0008b620("../../gold/symtab.h",0x1b7,"got_offset",piVar1);" (call_expression "FUN_0008b620("../../gold/symtab.h",0x1b7,"got_offset",piVar1)" identifier (argument_list "("../../gold/symtab.h",0x1b7,"got_offset",piVar1)" ( (string_literal ""../../gold/symtab.h"" " string_content ") , number_literal , (string_literal ""got_offset"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return ;) })) (break_statement break ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "void FUN_000731e0(int param_1,int param_2)\n\n{\n  int *piVar1;\n  \n  piVar1 = (int *)(param_1 + 0x1c);\n  do {\n    if (param_2 == *piVar1) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 != (int *)0xffffffff) {\n        return;\n      }\n      break;\n    }\n    piVar1 = (int *)piVar1[2];\n  } while (piVar1 != (int *)0x0);\n                    \n  FUN_0008b620("../../gold/symtab.h",0x1b7,"got_offset",piVar1);\n}" (primitive_type "void") (function_declarator "FUN_000731e0(int param_1,int param_2)" (identifier "FUN_000731e0") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int *piVar1;\n  \n  piVar1 = (int *)(param_1 + 0x1c);\n  do {\n    if (param_2 == *piVar1) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 != (int *)0xffffffff) {\n        return;\n      }\n      break;\n    }\n    piVar1 = (int *)piVar1[2];\n  } while (piVar1 != (int *)0x0);\n                    \n  FUN_0008b620("../../gold/symtab.h",0x1b7,"got_offset",piVar1);\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (expression_statement "piVar1 = (int *)(param_1 + 0x1c);" (assignment_expression "piVar1 = (int *)(param_1 + 0x1c)" (identifier "piVar1") (= "=") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (; ";")) (do_statement "do {\n    if (param_2 == *piVar1) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 != (int *)0xffffffff) {\n        return;\n      }\n      break;\n    }\n    piVar1 = (int *)piVar1[2];\n  } while (piVar1 != (int *)0x0);" (do "do") (compound_statement "{\n    if (param_2 == *piVar1) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 != (int *)0xffffffff) {\n        return;\n      }\n      break;\n    }\n    piVar1 = (int *)piVar1[2];\n  }" ({ "{") (if_statement "if (param_2 == *piVar1) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 != (int *)0xffffffff) {\n        return;\n      }\n      break;\n    }" (if "if") (parenthesized_expression "(param_2 == *piVar1)" (( "(") (binary_expression "param_2 == *piVar1" (identifier "param_2") (== "==") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) () ")")) (compound_statement "{\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 != (int *)0xffffffff) {\n        return;\n      }\n      break;\n    }" ({ "{") (expression_statement "piVar1 = (int *)piVar1[1];" (assignment_expression "piVar1 = (int *)piVar1[1]" (identifier "piVar1") (= "=") (cast_expression "(int *)piVar1[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (if_statement "if (piVar1 != (int *)0xffffffff) {\n        return;\n      }" (if "if") (parenthesized_expression "(piVar1 != (int *)0xffffffff)" (( "(") (binary_expression "piVar1 != (int *)0xffffffff" (identifier "piVar1") (!= "!=") (cast_expression "(int *)0xffffffff" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xffffffff"))) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "piVar1 = (int *)piVar1[2];" (assignment_expression "piVar1 = (int *)piVar1[2]" (identifier "piVar1") (= "=") (cast_expression "(int *)piVar1[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar1 != (int *)0x0)" (( "(") (binary_expression "piVar1 != (int *)0x0" (identifier "piVar1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (expression_statement "FUN_0008b620("../../gold/symtab.h",0x1b7,"got_offset",piVar1);" (call_expression "FUN_0008b620("../../gold/symtab.h",0x1b7,"got_offset",piVar1)" (identifier "FUN_0008b620") (argument_list "("../../gold/symtab.h",0x1b7,"got_offset",piVar1)" (( "(") (string_literal ""../../gold/symtab.h"" (" """) (string_content "../../gold/symtab.h") (" """)) (, ",") (number_literal "0x1b7") (, ",") (string_literal ""got_offset"" (" """) (string_content "got_offset") (" """)) (, ",") (identifier "piVar1") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: uint got_offset(Symbol * this, uint got_type) */

type_1 __thiscall gold::type_2::function_1(type_2 *this,type_1 var_1)

{
  type_3 *var_2;
  
  var_2 = &this->got_offsets_;
  do {
    if (var_1 == var_2->got_type_) {
      if (var_2->got_offset_ != 0xffffffff) {
        return var_2->got_offset_;
      }
      break;
    }
    var_2 = var_2->got_next_;
  } while (var_2 != (type_3 *)0x0);
                    /* WARNING: Subroutine does not return */
  var_3("../../gold/symtab.h",0x1b7,"got_offset");
}


(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: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (return_statement))) (break_statement))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (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,int param_2)

{
  int *piVar1;
  
  piVar1 = (int *)(param_1 + 0x1c);
  do {
    if (param_2 == *piVar1) {
      piVar1 = (int *)piVar1[1];
      if (piVar1 != (int *)0xffffffff) {
        return;
      }
      break;
    }
    piVar1 = (int *)piVar1[2];
  } while (piVar1 != (int *)0x0);
                    /* WARNING: Subroutine does not return */
  FUN_0008b620("../../gold/symtab.h",0x1b7,"got_offset",piVar1);
}

