
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original prototype: Dynobj * get_copy_source(Symbol_table * this, Symbol * sym) */

Dynobj * __thiscall gold::Symbol_table::get_copy_source(Symbol_table *this,Symbol *sym)

{
  uint uVar1;
  _Hash_node_base *p_Var2;
  uint uVar3;
  Symbol *pSVar4;
  __bucket_type p_Var5;
  __bucket_type p_Var6;
  
  if ((sym->field_0x2b & 8) == 0) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/symtab.cc",0x980,"get_copy_source");
  }
  uVar1 = (this->copied_symbol_dynobjs_)._M_h._M_bucket_count;
  uVar3 = (uint)sym % uVar1;
  p_Var6 = (this->copied_symbol_dynobjs_)._M_h._M_buckets[uVar3];
  if (p_Var6 != (__bucket_type)0x0) {
    pSVar4 = (Symbol *)p_Var6->_M_nxt[1]._M_nxt;
    p_Var2 = p_Var6->_M_nxt;
    do {
      p_Var5 = p_Var2;
      if (pSVar4 == sym) {
        if (p_Var6->_M_nxt != (_Hash_node_base *)0x0) {
          return (Dynobj *)p_Var6->_M_nxt[2]._M_nxt;
        }
        break;
      }
      p_Var2 = p_Var5->_M_nxt;
      if (p_Var2 == (_Hash_node_base *)0x0) break;
      pSVar4 = (Symbol *)p_Var2[1]._M_nxt;
      p_Var6 = p_Var5;
    } while (uVar3 == (uint)pSVar4 % uVar1);
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/symtab.cc",0x983,"get_copy_source");
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

int __regparm2 FUN_001779a0(undefined4 param_1,undefined4 param_2,int param_3,uint param_4)

{
  uint uVar1;
  int *piVar2;
  int *piVar3;
  uint uVar4;
  int *piVar5;
  int *piVar6;
  
  if ((*(byte *)(param_4 + 0x2b) & 8) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_00069d00("../../gold/symtab.cc",0x980,"get_copy_source",param_2);
  }
  uVar1 = *(uint *)(param_3 + 0x13c);
  piVar6 = (int *)(*(int **)(param_3 + 0x138))[param_4 % uVar1];
  piVar3 = *(int **)(param_3 + 0x138);
  if (piVar6 != (int *)0x0) {
    uVar4 = ((int *)*piVar6)[1];
    piVar2 = (int *)*piVar6;
    do {
      piVar5 = piVar2;
      if (uVar4 == param_4) {
        piVar3 = (int *)*piVar6;
        if (piVar3 != (int *)0x0) {
          return piVar3[2];
        }
        break;
      }
      piVar2 = (int *)*piVar5;
      piVar3 = piVar2;
      if (piVar2 == (int *)0x0) break;
      uVar4 = piVar2[1];
      piVar3 = (int *)(uVar4 / uVar1);
      piVar6 = piVar5;
    } while (param_4 % uVar1 == uVar4 % uVar1);
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/symtab.cc",0x983,"get_copy_source",piVar3);
}


CALL 0x000559e6
ADD EAX,0x21765b
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV dword ptr [ESP + 0xc],EAX
MOV EAX,dword ptr [ESP + 0x34]
MOV EBX,dword ptr [ESP + 0x30]
TEST byte ptr [EAX + 0x2b],0x8
JZ 0x00177a1e
MOV ECX,dword ptr [EBX + 0x13c]
MOV EAX,dword ptr [ESP + 0x34]
XOR EDX,EDX
DIV ECX
MOV EAX,dword ptr [EBX + 0x138]
MOV EDI,dword ptr [EAX + EDX*0x4]
MOV EBP,EDX
TEST EDI,EDI
JZ 0x00177a3b
MOV ESI,dword ptr [EDI]
MOV EBX,dword ptr [ESI + 0x4]
JMP 0x00177a07
MOV EAX,dword ptr [ESI]
TEST EAX,EAX
JZ 0x00177a3b
MOV EBX,dword ptr [EAX + 0x4]
MOV EDI,ESI
XOR EDX,EDX
MOV ESI,EAX
MOV EAX,EBX
DIV ECX
CMP EBP,EDX
JNZ 0x00177a3b
CMP EBX,dword ptr [ESP + 0x34]
JNZ 0x001779f0
MOV EAX,dword ptr [EDI]
TEST EAX,EAX
JZ 0x00177a3b
MOV EAX,dword ptr [EAX + 0x8]
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
PUSH EDX
MOV EBX,dword ptr [ESP + 0x10]
LEA EAX,[EBX + 0xfff0b208]
PUSH EAX
LEA EAX,[EBX + 0xfff0a871]
PUSH 0x980
PUSH EAX
CALL 0x00069d00
PUSH EAX
MOV EBX,dword ptr [ESP + 0x10]
LEA EAX,[EBX + 0xfff0b208]
PUSH EAX
LEA EAX,[EBX + 0xfff0a871]
PUSH 0x983
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nint __regparm2 FUN_001779a0(undefined4 param_1,undefined4 param_2,int param_3,uint param_4)\n\n{\n  uint uVar1;\n  int *piVar2;\n  int *piVar3;\n  uint uVar4;\n  int *piVar5;\n  int *piVar6;\n  \n  if ((*(byte *)(param_4 + 0x2b) & 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/symtab.cc",0x980,"get_copy_source",param_2);\n  }\n  uVar1 = *(uint *)(param_3 + 0x13c);\n  piVar6 = (int *)(*(int **)(param_3 + 0x138))[param_4 % uVar1];\n  piVar3 = *(int **)(param_3 + 0x138);\n  if (piVar6 != (int *)0x0) {\n    uVar4 = ((int *)*piVar6)[1];\n    piVar2 = (int *)*piVar6;\n    do {\n      piVar5 = piVar2;\n      if (uVar4 == param_4) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    } while (param_4 % uVar1 == uVar4 % uVar1);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/symtab.cc",0x983,"get_copy_source",piVar3);\n}\n\n" comment (function_definition "int __regparm2 FUN_001779a0(undefined4 param_1,undefined4 param_2,int param_3,uint param_4)\n\n{\n  uint uVar1;\n  int *piVar2;\n  int *piVar3;\n  uint uVar4;\n  int *piVar5;\n  int *piVar6;\n  \n  if ((*(byte *)(param_4 + 0x2b) & 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/symtab.cc",0x980,"get_copy_source",param_2);\n  }\n  uVar1 = *(uint *)(param_3 + 0x13c);\n  piVar6 = (int *)(*(int **)(param_3 + 0x138))[param_4 % uVar1];\n  piVar3 = *(int **)(param_3 + 0x138);\n  if (piVar6 != (int *)0x0) {\n    uVar4 = ((int *)*piVar6)[1];\n    piVar2 = (int *)*piVar6;\n    do {\n      piVar5 = piVar2;\n      if (uVar4 == param_4) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    } while (param_4 % uVar1 == uVar4 % uVar1);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/symtab.cc",0x983,"get_copy_source",piVar3);\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "FUN_001779a0(undefined4 param_1,undefined4 param_2,int param_3,uint param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3,uint param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "uint param_4" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  int *piVar2;\n  int *piVar3;\n  uint uVar4;\n  int *piVar5;\n  int *piVar6;\n  \n  if ((*(byte *)(param_4 + 0x2b) & 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/symtab.cc",0x980,"get_copy_source",param_2);\n  }\n  uVar1 = *(uint *)(param_3 + 0x13c);\n  piVar6 = (int *)(*(int **)(param_3 + 0x138))[param_4 % uVar1];\n  piVar3 = *(int **)(param_3 + 0x138);\n  if (piVar6 != (int *)0x0) {\n    uVar4 = ((int *)*piVar6)[1];\n    piVar2 = (int *)*piVar6;\n    do {\n      piVar5 = piVar2;\n      if (uVar4 == param_4) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    } while (param_4 % uVar1 == uVar4 % uVar1);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/symtab.cc",0x983,"get_copy_source",piVar3);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (if_statement "if ((*(byte *)(param_4 + 0x2b) & 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/symtab.cc",0x980,"get_copy_source",param_2);\n  }" if (parenthesized_expression "((*(byte *)(param_4 + 0x2b) & 8) == 0)" ( (binary_expression "(*(byte *)(param_4 + 0x2b) & 8) == 0" (parenthesized_expression "(*(byte *)(param_4 + 0x2b) & 8)" ( (binary_expression "*(byte *)(param_4 + 0x2b) & 8" (pointer_expression "*(byte *)(param_4 + 0x2b)" * (cast_expression "(byte *)(param_4 + 0x2b)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x2b)" ( (binary_expression "param_4 + 0x2b" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/symtab.cc",0x980,"get_copy_source",param_2);\n  }" { comment (expression_statement "FUN_00069d00("../../gold/symtab.cc",0x980,"get_copy_source",param_2);" (call_expression "FUN_00069d00("../../gold/symtab.cc",0x980,"get_copy_source",param_2)" identifier (argument_list "("../../gold/symtab.cc",0x980,"get_copy_source",param_2)" ( (string_literal ""../../gold/symtab.cc"" " string_content ") , number_literal , (string_literal ""get_copy_source"" " string_content ") , identifier ))) ;) })) (expression_statement "uVar1 = *(uint *)(param_3 + 0x13c);" (assignment_expression "uVar1 = *(uint *)(param_3 + 0x13c)" identifier = (pointer_expression "*(uint *)(param_3 + 0x13c)" * (cast_expression "(uint *)(param_3 + 0x13c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x13c)" ( (binary_expression "param_3 + 0x13c" identifier + number_literal) ))))) ;) (expression_statement "piVar6 = (int *)(*(int **)(param_3 + 0x138))[param_4 % uVar1];" (assignment_expression "piVar6 = (int *)(*(int **)(param_3 + 0x138))[param_4 % uVar1]" identifier = (cast_expression "(int *)(*(int **)(param_3 + 0x138))[param_4 % uVar1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "(*(int **)(param_3 + 0x138))[param_4 % uVar1]" (parenthesized_expression "(*(int **)(param_3 + 0x138))" ( (pointer_expression "*(int **)(param_3 + 0x138)" * (cast_expression "(int **)(param_3 + 0x138)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 0x138)" ( (binary_expression "param_3 + 0x138" identifier + number_literal) )))) )) [ (binary_expression "param_4 % uVar1" identifier % identifier) ]))) ;) (expression_statement "piVar3 = *(int **)(param_3 + 0x138);" (assignment_expression "piVar3 = *(int **)(param_3 + 0x138)" identifier = (pointer_expression "*(int **)(param_3 + 0x138)" * (cast_expression "(int **)(param_3 + 0x138)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 0x138)" ( (binary_expression "param_3 + 0x138" identifier + number_literal) ))))) ;) (if_statement "if (piVar6 != (int *)0x0) {\n    uVar4 = ((int *)*piVar6)[1];\n    piVar2 = (int *)*piVar6;\n    do {\n      piVar5 = piVar2;\n      if (uVar4 == param_4) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    } while (param_4 % uVar1 == uVar4 % uVar1);\n  }" if (parenthesized_expression "(piVar6 != (int *)0x0)" ( (binary_expression "piVar6 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar4 = ((int *)*piVar6)[1];\n    piVar2 = (int *)*piVar6;\n    do {\n      piVar5 = piVar2;\n      if (uVar4 == param_4) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    } while (param_4 % uVar1 == uVar4 % uVar1);\n  }" { (expression_statement "uVar4 = ((int *)*piVar6)[1];" (assignment_expression "uVar4 = ((int *)*piVar6)[1]" identifier = (subscript_expression "((int *)*piVar6)[1]" (parenthesized_expression "((int *)*piVar6)" ( (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier)) )) [ number_literal ])) ;) (expression_statement "piVar2 = (int *)*piVar6;" (assignment_expression "piVar2 = (int *)*piVar6" identifier = (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) ;) (do_statement "do {\n      piVar5 = piVar2;\n      if (uVar4 == param_4) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    } while (param_4 % uVar1 == uVar4 % uVar1);" do (compound_statement "{\n      piVar5 = piVar2;\n      if (uVar4 == param_4) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    }" { (expression_statement "piVar5 = piVar2;" (assignment_expression "piVar5 = piVar2" identifier = identifier) ;) (if_statement "if (uVar4 == param_4) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }" if (parenthesized_expression "(uVar4 == param_4)" ( (binary_expression "uVar4 == param_4" identifier == identifier) )) (compound_statement "{\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }" { (expression_statement "piVar3 = (int *)*piVar6;" (assignment_expression "piVar3 = (int *)*piVar6" identifier = (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) ;) (if_statement "if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }" if (parenthesized_expression "(piVar3 != (int *)0x0)" ( (binary_expression "piVar3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          return piVar3[2];\n        }" { (return_statement "return piVar3[2];" return (subscript_expression "piVar3[2]" identifier [ number_literal ]) ;) })) (break_statement "break;" break ;) })) (expression_statement "piVar2 = (int *)*piVar5;" (assignment_expression "piVar2 = (int *)*piVar5" identifier = (cast_expression "(int *)*piVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar5" * identifier))) ;) (expression_statement "piVar3 = piVar2;" (assignment_expression "piVar3 = piVar2" identifier = identifier) ;) (if_statement "if (piVar2 == (int *)0x0) break;" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "uVar4 = piVar2[1];" (assignment_expression "uVar4 = piVar2[1]" identifier = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (expression_statement "piVar3 = (int *)(uVar4 / uVar1);" (assignment_expression "piVar3 = (int *)(uVar4 / uVar1)" identifier = (cast_expression "(int *)(uVar4 / uVar1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar4 / uVar1)" ( (binary_expression "uVar4 / uVar1" identifier / identifier) )))) ;) (expression_statement "piVar6 = piVar5;" (assignment_expression "piVar6 = piVar5" identifier = identifier) ;) }) while (parenthesized_expression "(param_4 % uVar1 == uVar4 % uVar1)" ( (binary_expression "param_4 % uVar1 == uVar4 % uVar1" (binary_expression "param_4 % uVar1" identifier % identifier) == (binary_expression "uVar4 % uVar1" identifier % identifier)) )) ;) })) comment (expression_statement "FUN_00069d00("../../gold/symtab.cc",0x983,"get_copy_source",piVar3);" (call_expression "FUN_00069d00("../../gold/symtab.cc",0x983,"get_copy_source",piVar3)" identifier (argument_list "("../../gold/symtab.cc",0x983,"get_copy_source",piVar3)" ( (string_literal ""../../gold/symtab.cc"" " string_content ") , number_literal , (string_literal ""get_copy_source"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* DWARF original prototype: Dynobj * get_copy_source(Symbol_table * this, Symbol * sym) */\n\nDynobj * __thiscall gold::Symbol_table::get_copy_source(Symbol_table *this,Symbol *sym)\n\n{\n  uint uVar1;\n  _Hash_node_base *p_Var2;\n  uint uVar3;\n  Symbol *pSVar4;\n  __bucket_type p_Var5;\n  __bucket_type p_Var6;\n  \n  if ((sym->field_0x2b & 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/symtab.cc",0x980,"get_copy_source");\n  }\n  uVar1 = (this->copied_symbol_dynobjs_)._M_h._M_bucket_count;\n  uVar3 = (uint)sym % uVar1;\n  p_Var6 = (this->copied_symbol_dynobjs_)._M_h._M_buckets[uVar3];\n  if (p_Var6 != (__bucket_type)0x0) {\n    pSVar4 = (Symbol *)p_Var6->_M_nxt[1]._M_nxt;\n    p_Var2 = p_Var6->_M_nxt;\n    do {\n      p_Var5 = p_Var2;\n      if (pSVar4 == sym) {\n        if (p_Var6->_M_nxt != (_Hash_node_base *)0x0) {\n          return (Dynobj *)p_Var6->_M_nxt[2]._M_nxt;\n        }\n        break;\n      }\n      p_Var2 = p_Var5->_M_nxt;\n      if (p_Var2 == (_Hash_node_base *)0x0) break;\n      pSVar4 = (Symbol *)p_Var2[1]._M_nxt;\n      p_Var6 = p_Var5;\n    } while (uVar3 == (uint)pSVar4 % uVar1);\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/symtab.cc",0x983,"get_copy_source");\n}\n\n" comment comment (ERROR "Dynobj * __thiscall gold::Symbol_table::get_copy_source(Symbol_table *this,Symbol *sym)" (binary_expression "Dynobj * __thiscall gold::Symbol_table::get_copy_source(Symbol_table *this,Symbol *sym" (binary_expression "Dynobj * __thiscall gold::Symbol_table::get_copy_source(Symbol_table *this" (binary_expression "Dynobj * __thiscall" identifier * identifier) (ERROR "gold::Symbol_table::get_copy_source(Symbol_table" identifier : : identifier : : identifier ( identifier) * identifier) (ERROR ",Symbol" , identifier) * identifier) )) (compound_statement "{\n  uint uVar1;\n  _Hash_node_base *p_Var2;\n  uint uVar3;\n  Symbol *pSVar4;\n  __bucket_type p_Var5;\n  __bucket_type p_Var6;\n  \n  if ((sym->field_0x2b & 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/symtab.cc",0x980,"get_copy_source");\n  }\n  uVar1 = (this->copied_symbol_dynobjs_)._M_h._M_bucket_count;\n  uVar3 = (uint)sym % uVar1;\n  p_Var6 = (this->copied_symbol_dynobjs_)._M_h._M_buckets[uVar3];\n  if (p_Var6 != (__bucket_type)0x0) {\n    pSVar4 = (Symbol *)p_Var6->_M_nxt[1]._M_nxt;\n    p_Var2 = p_Var6->_M_nxt;\n    do {\n      p_Var5 = p_Var2;\n      if (pSVar4 == sym) {\n        if (p_Var6->_M_nxt != (_Hash_node_base *)0x0) {\n          return (Dynobj *)p_Var6->_M_nxt[2]._M_nxt;\n        }\n        break;\n      }\n      p_Var2 = p_Var5->_M_nxt;\n      if (p_Var2 == (_Hash_node_base *)0x0) break;\n      pSVar4 = (Symbol *)p_Var2[1]._M_nxt;\n      p_Var6 = p_Var5;\n    } while (uVar3 == (uint)pSVar4 % uVar1);\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/symtab.cc",0x983,"get_copy_source");\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "_Hash_node_base *p_Var2;" type_identifier (pointer_declarator "*p_Var2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "Symbol *pSVar4;" type_identifier (pointer_declarator "*pSVar4" * identifier) ;) (declaration "__bucket_type p_Var5;" type_identifier identifier ;) (declaration "__bucket_type p_Var6;" type_identifier identifier ;) (if_statement "if ((sym->field_0x2b & 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/symtab.cc",0x980,"get_copy_source");\n  }" if (parenthesized_expression "((sym->field_0x2b & 8) == 0)" ( (binary_expression "(sym->field_0x2b & 8) == 0" (parenthesized_expression "(sym->field_0x2b & 8)" ( (binary_expression "sym->field_0x2b & 8" (field_expression "sym->field_0x2b" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/symtab.cc",0x980,"get_copy_source");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/symtab.cc",0x980,"get_copy_source");" (call_expression "do_gold_unreachable("../../gold/symtab.cc",0x980,"get_copy_source")" identifier (argument_list "("../../gold/symtab.cc",0x980,"get_copy_source")" ( (string_literal ""../../gold/symtab.cc"" " string_content ") , number_literal , (string_literal ""get_copy_source"" " string_content ") ))) ;) })) (expression_statement "uVar1 = (this->copied_symbol_dynobjs_)._M_h._M_bucket_count;" (assignment_expression "uVar1 = (this->copied_symbol_dynobjs_)._M_h._M_bucket_count" identifier = (field_expression "(this->copied_symbol_dynobjs_)._M_h._M_bucket_count" (field_expression "(this->copied_symbol_dynobjs_)._M_h" (parenthesized_expression "(this->copied_symbol_dynobjs_)" ( (field_expression "this->copied_symbol_dynobjs_" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "uVar3 = (uint)sym % uVar1;" (assignment_expression "uVar3 = (uint)sym % uVar1" identifier = (binary_expression "(uint)sym % uVar1" (cast_expression "(uint)sym" ( (type_descriptor "uint" type_identifier) ) identifier) % identifier)) ;) (expression_statement "p_Var6 = (this->copied_symbol_dynobjs_)._M_h._M_buckets[uVar3];" (assignment_expression "p_Var6 = (this->copied_symbol_dynobjs_)._M_h._M_buckets[uVar3]" identifier = (subscript_expression "(this->copied_symbol_dynobjs_)._M_h._M_buckets[uVar3]" (field_expression "(this->copied_symbol_dynobjs_)._M_h._M_buckets" (field_expression "(this->copied_symbol_dynobjs_)._M_h" (parenthesized_expression "(this->copied_symbol_dynobjs_)" ( (field_expression "this->copied_symbol_dynobjs_" identifier -> field_identifier) )) . field_identifier) . field_identifier) [ identifier ])) ;) (if_statement "if (p_Var6 != (__bucket_type)0x0) {\n    pSVar4 = (Symbol *)p_Var6->_M_nxt[1]._M_nxt;\n    p_Var2 = p_Var6->_M_nxt;\n    do {\n      p_Var5 = p_Var2;\n      if (pSVar4 == sym) {\n        if (p_Var6->_M_nxt != (_Hash_node_base *)0x0) {\n          return (Dynobj *)p_Var6->_M_nxt[2]._M_nxt;\n        }\n        break;\n      }\n      p_Var2 = p_Var5->_M_nxt;\n      if (p_Var2 == (_Hash_node_base *)0x0) break;\n      pSVar4 = (Symbol *)p_Var2[1]._M_nxt;\n      p_Var6 = p_Var5;\n    } while (uVar3 == (uint)pSVar4 % uVar1);\n  }" if (parenthesized_expression "(p_Var6 != (__bucket_type)0x0)" ( (binary_expression "p_Var6 != (__bucket_type)0x0" identifier != (cast_expression "(__bucket_type)0x0" ( (type_descriptor "__bucket_type" type_identifier) ) number_literal)) )) (compound_statement "{\n    pSVar4 = (Symbol *)p_Var6->_M_nxt[1]._M_nxt;\n    p_Var2 = p_Var6->_M_nxt;\n    do {\n      p_Var5 = p_Var2;\n      if (pSVar4 == sym) {\n        if (p_Var6->_M_nxt != (_Hash_node_base *)0x0) {\n          return (Dynobj *)p_Var6->_M_nxt[2]._M_nxt;\n        }\n        break;\n      }\n      p_Var2 = p_Var5->_M_nxt;\n      if (p_Var2 == (_Hash_node_base *)0x0) break;\n      pSVar4 = (Symbol *)p_Var2[1]._M_nxt;\n      p_Var6 = p_Var5;\n    } while (uVar3 == (uint)pSVar4 % uVar1);\n  }" { (expression_statement "pSVar4 = (Symbol *)p_Var6->_M_nxt[1]._M_nxt;" (assignment_expression "pSVar4 = (Symbol *)p_Var6->_M_nxt[1]._M_nxt" identifier = (cast_expression "(Symbol *)p_Var6->_M_nxt[1]._M_nxt" ( (type_descriptor "Symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "p_Var6->_M_nxt[1]._M_nxt" (subscript_expression "p_Var6->_M_nxt[1]" (field_expression "p_Var6->_M_nxt" identifier -> field_identifier) [ number_literal ]) . field_identifier))) ;) (expression_statement "p_Var2 = p_Var6->_M_nxt;" (assignment_expression "p_Var2 = p_Var6->_M_nxt" identifier = (field_expression "p_Var6->_M_nxt" identifier -> field_identifier)) ;) (do_statement "do {\n      p_Var5 = p_Var2;\n      if (pSVar4 == sym) {\n        if (p_Var6->_M_nxt != (_Hash_node_base *)0x0) {\n          return (Dynobj *)p_Var6->_M_nxt[2]._M_nxt;\n        }\n        break;\n      }\n      p_Var2 = p_Var5->_M_nxt;\n      if (p_Var2 == (_Hash_node_base *)0x0) break;\n      pSVar4 = (Symbol *)p_Var2[1]._M_nxt;\n      p_Var6 = p_Var5;\n    } while (uVar3 == (uint)pSVar4 % uVar1);" do (compound_statement "{\n      p_Var5 = p_Var2;\n      if (pSVar4 == sym) {\n        if (p_Var6->_M_nxt != (_Hash_node_base *)0x0) {\n          return (Dynobj *)p_Var6->_M_nxt[2]._M_nxt;\n        }\n        break;\n      }\n      p_Var2 = p_Var5->_M_nxt;\n      if (p_Var2 == (_Hash_node_base *)0x0) break;\n      pSVar4 = (Symbol *)p_Var2[1]._M_nxt;\n      p_Var6 = p_Var5;\n    }" { (expression_statement "p_Var5 = p_Var2;" (assignment_expression "p_Var5 = p_Var2" identifier = identifier) ;) (if_statement "if (pSVar4 == sym) {\n        if (p_Var6->_M_nxt != (_Hash_node_base *)0x0) {\n          return (Dynobj *)p_Var6->_M_nxt[2]._M_nxt;\n        }\n        break;\n      }" if (parenthesized_expression "(pSVar4 == sym)" ( (binary_expression "pSVar4 == sym" identifier == identifier) )) (compound_statement "{\n        if (p_Var6->_M_nxt != (_Hash_node_base *)0x0) {\n          return (Dynobj *)p_Var6->_M_nxt[2]._M_nxt;\n        }\n        break;\n      }" { (if_statement "if (p_Var6->_M_nxt != (_Hash_node_base *)0x0) {\n          return (Dynobj *)p_Var6->_M_nxt[2]._M_nxt;\n        }" if (parenthesized_expression "(p_Var6->_M_nxt != (_Hash_node_base *)0x0)" ( (binary_expression "p_Var6->_M_nxt != (_Hash_node_base *)0x0" (field_expression "p_Var6->_M_nxt" identifier -> field_identifier) != (cast_expression "(_Hash_node_base *)0x0" ( (type_descriptor "_Hash_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          return (Dynobj *)p_Var6->_M_nxt[2]._M_nxt;\n        }" { (return_statement "return (Dynobj *)p_Var6->_M_nxt[2]._M_nxt;" return (cast_expression "(Dynobj *)p_Var6->_M_nxt[2]._M_nxt" ( (type_descriptor "Dynobj *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "p_Var6->_M_nxt[2]._M_nxt" (subscript_expression "p_Var6->_M_nxt[2]" (field_expression "p_Var6->_M_nxt" identifier -> field_identifier) [ number_literal ]) . field_identifier)) ;) })) (break_statement "break;" break ;) })) (expression_statement "p_Var2 = p_Var5->_M_nxt;" (assignment_expression "p_Var2 = p_Var5->_M_nxt" identifier = (field_expression "p_Var5->_M_nxt" identifier -> field_identifier)) ;) (if_statement "if (p_Var2 == (_Hash_node_base *)0x0) break;" if (parenthesized_expression "(p_Var2 == (_Hash_node_base *)0x0)" ( (binary_expression "p_Var2 == (_Hash_node_base *)0x0" identifier == (cast_expression "(_Hash_node_base *)0x0" ( (type_descriptor "_Hash_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "pSVar4 = (Symbol *)p_Var2[1]._M_nxt;" (assignment_expression "pSVar4 = (Symbol *)p_Var2[1]._M_nxt" identifier = (cast_expression "(Symbol *)p_Var2[1]._M_nxt" ( (type_descriptor "Symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "p_Var2[1]._M_nxt" (subscript_expression "p_Var2[1]" identifier [ number_literal ]) . field_identifier))) ;) (expression_statement "p_Var6 = p_Var5;" (assignment_expression "p_Var6 = p_Var5" identifier = identifier) ;) }) while (parenthesized_expression "(uVar3 == (uint)pSVar4 % uVar1)" ( (binary_expression "uVar3 == (uint)pSVar4 % uVar1" identifier == (binary_expression "(uint)pSVar4 % uVar1" (cast_expression "(uint)pSVar4" ( (type_descriptor "uint" type_identifier) ) identifier) % identifier)) )) ;) })) comment (expression_statement "do_gold_unreachable("../../gold/symtab.cc",0x983,"get_copy_source");" (call_expression "do_gold_unreachable("../../gold/symtab.cc",0x983,"get_copy_source")" identifier (argument_list "("../../gold/symtab.cc",0x983,"get_copy_source")" ( (string_literal ""../../gold/symtab.cc"" " string_content ") , number_literal , (string_literal ""get_copy_source"" " string_content ") ))) ;) }))
(translation_unit "int __regparm2 FUN_001779a0(undefined4 param_1,undefined4 param_2,int param_3,uint param_4)\n\n{\n  uint uVar1;\n  int *piVar2;\n  int *piVar3;\n  uint uVar4;\n  int *piVar5;\n  int *piVar6;\n  \n  if ((*(byte *)(param_4 + 0x2b) & 8) == 0) {\n                    \n    FUN_00069d00("../../gold/symtab.cc",0x980,"get_copy_source",param_2);\n  }\n  uVar1 = *(uint *)(param_3 + 0x13c);\n  piVar6 = (int *)(*(int **)(param_3 + 0x138))[param_4 % uVar1];\n  piVar3 = *(int **)(param_3 + 0x138);\n  if (piVar6 != (int *)0x0) {\n    uVar4 = ((int *)*piVar6)[1];\n    piVar2 = (int *)*piVar6;\n    do {\n      piVar5 = piVar2;\n      if (uVar4 == param_4) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    } while (param_4 % uVar1 == uVar4 % uVar1);\n  }\n                    \n  FUN_00069d00("../../gold/symtab.cc",0x983,"get_copy_source",piVar3);\n}\n\n" (function_definition "int __regparm2 FUN_001779a0(undefined4 param_1,undefined4 param_2,int param_3,uint param_4)\n\n{\n  uint uVar1;\n  int *piVar2;\n  int *piVar3;\n  uint uVar4;\n  int *piVar5;\n  int *piVar6;\n  \n  if ((*(byte *)(param_4 + 0x2b) & 8) == 0) {\n                    \n    FUN_00069d00("../../gold/symtab.cc",0x980,"get_copy_source",param_2);\n  }\n  uVar1 = *(uint *)(param_3 + 0x13c);\n  piVar6 = (int *)(*(int **)(param_3 + 0x138))[param_4 % uVar1];\n  piVar3 = *(int **)(param_3 + 0x138);\n  if (piVar6 != (int *)0x0) {\n    uVar4 = ((int *)*piVar6)[1];\n    piVar2 = (int *)*piVar6;\n    do {\n      piVar5 = piVar2;\n      if (uVar4 == param_4) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    } while (param_4 % uVar1 == uVar4 % uVar1);\n  }\n                    \n  FUN_00069d00("../../gold/symtab.cc",0x983,"get_copy_source",piVar3);\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "FUN_001779a0(undefined4 param_1,undefined4 param_2,int param_3,uint param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3,uint param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "uint param_4" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  int *piVar2;\n  int *piVar3;\n  uint uVar4;\n  int *piVar5;\n  int *piVar6;\n  \n  if ((*(byte *)(param_4 + 0x2b) & 8) == 0) {\n                    \n    FUN_00069d00("../../gold/symtab.cc",0x980,"get_copy_source",param_2);\n  }\n  uVar1 = *(uint *)(param_3 + 0x13c);\n  piVar6 = (int *)(*(int **)(param_3 + 0x138))[param_4 % uVar1];\n  piVar3 = *(int **)(param_3 + 0x138);\n  if (piVar6 != (int *)0x0) {\n    uVar4 = ((int *)*piVar6)[1];\n    piVar2 = (int *)*piVar6;\n    do {\n      piVar5 = piVar2;\n      if (uVar4 == param_4) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    } while (param_4 % uVar1 == uVar4 % uVar1);\n  }\n                    \n  FUN_00069d00("../../gold/symtab.cc",0x983,"get_copy_source",piVar3);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (if_statement "if ((*(byte *)(param_4 + 0x2b) & 8) == 0) {\n                    \n    FUN_00069d00("../../gold/symtab.cc",0x980,"get_copy_source",param_2);\n  }" if (parenthesized_expression "((*(byte *)(param_4 + 0x2b) & 8) == 0)" ( (binary_expression "(*(byte *)(param_4 + 0x2b) & 8) == 0" (parenthesized_expression "(*(byte *)(param_4 + 0x2b) & 8)" ( (binary_expression "*(byte *)(param_4 + 0x2b) & 8" (pointer_expression "*(byte *)(param_4 + 0x2b)" * (cast_expression "(byte *)(param_4 + 0x2b)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x2b)" ( (binary_expression "param_4 + 0x2b" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                    \n    FUN_00069d00("../../gold/symtab.cc",0x980,"get_copy_source",param_2);\n  }" { (expression_statement "FUN_00069d00("../../gold/symtab.cc",0x980,"get_copy_source",param_2);" (call_expression "FUN_00069d00("../../gold/symtab.cc",0x980,"get_copy_source",param_2)" identifier (argument_list "("../../gold/symtab.cc",0x980,"get_copy_source",param_2)" ( (string_literal ""../../gold/symtab.cc"" " string_content ") , number_literal , (string_literal ""get_copy_source"" " string_content ") , identifier ))) ;) })) (expression_statement "uVar1 = *(uint *)(param_3 + 0x13c);" (assignment_expression "uVar1 = *(uint *)(param_3 + 0x13c)" identifier = (pointer_expression "*(uint *)(param_3 + 0x13c)" * (cast_expression "(uint *)(param_3 + 0x13c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x13c)" ( (binary_expression "param_3 + 0x13c" identifier + number_literal) ))))) ;) (expression_statement "piVar6 = (int *)(*(int **)(param_3 + 0x138))[param_4 % uVar1];" (assignment_expression "piVar6 = (int *)(*(int **)(param_3 + 0x138))[param_4 % uVar1]" identifier = (cast_expression "(int *)(*(int **)(param_3 + 0x138))[param_4 % uVar1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "(*(int **)(param_3 + 0x138))[param_4 % uVar1]" (parenthesized_expression "(*(int **)(param_3 + 0x138))" ( (pointer_expression "*(int **)(param_3 + 0x138)" * (cast_expression "(int **)(param_3 + 0x138)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 0x138)" ( (binary_expression "param_3 + 0x138" identifier + number_literal) )))) )) [ (binary_expression "param_4 % uVar1" identifier % identifier) ]))) ;) (expression_statement "piVar3 = *(int **)(param_3 + 0x138);" (assignment_expression "piVar3 = *(int **)(param_3 + 0x138)" identifier = (pointer_expression "*(int **)(param_3 + 0x138)" * (cast_expression "(int **)(param_3 + 0x138)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 0x138)" ( (binary_expression "param_3 + 0x138" identifier + number_literal) ))))) ;) (if_statement "if (piVar6 != (int *)0x0) {\n    uVar4 = ((int *)*piVar6)[1];\n    piVar2 = (int *)*piVar6;\n    do {\n      piVar5 = piVar2;\n      if (uVar4 == param_4) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    } while (param_4 % uVar1 == uVar4 % uVar1);\n  }" if (parenthesized_expression "(piVar6 != (int *)0x0)" ( (binary_expression "piVar6 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar4 = ((int *)*piVar6)[1];\n    piVar2 = (int *)*piVar6;\n    do {\n      piVar5 = piVar2;\n      if (uVar4 == param_4) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    } while (param_4 % uVar1 == uVar4 % uVar1);\n  }" { (expression_statement "uVar4 = ((int *)*piVar6)[1];" (assignment_expression "uVar4 = ((int *)*piVar6)[1]" identifier = (subscript_expression "((int *)*piVar6)[1]" (parenthesized_expression "((int *)*piVar6)" ( (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier)) )) [ number_literal ])) ;) (expression_statement "piVar2 = (int *)*piVar6;" (assignment_expression "piVar2 = (int *)*piVar6" identifier = (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) ;) (do_statement "do {\n      piVar5 = piVar2;\n      if (uVar4 == param_4) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    } while (param_4 % uVar1 == uVar4 % uVar1);" do (compound_statement "{\n      piVar5 = piVar2;\n      if (uVar4 == param_4) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    }" { (expression_statement "piVar5 = piVar2;" (assignment_expression "piVar5 = piVar2" identifier = identifier) ;) (if_statement "if (uVar4 == param_4) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }" if (parenthesized_expression "(uVar4 == param_4)" ( (binary_expression "uVar4 == param_4" identifier == identifier) )) (compound_statement "{\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }" { (expression_statement "piVar3 = (int *)*piVar6;" (assignment_expression "piVar3 = (int *)*piVar6" identifier = (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) ;) (if_statement "if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }" if (parenthesized_expression "(piVar3 != (int *)0x0)" ( (binary_expression "piVar3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          return piVar3[2];\n        }" { (return_statement "return piVar3[2];" return (subscript_expression "piVar3[2]" identifier [ number_literal ]) ;) })) (break_statement "break;" break ;) })) (expression_statement "piVar2 = (int *)*piVar5;" (assignment_expression "piVar2 = (int *)*piVar5" identifier = (cast_expression "(int *)*piVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar5" * identifier))) ;) (expression_statement "piVar3 = piVar2;" (assignment_expression "piVar3 = piVar2" identifier = identifier) ;) (if_statement "if (piVar2 == (int *)0x0) break;" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "uVar4 = piVar2[1];" (assignment_expression "uVar4 = piVar2[1]" identifier = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (expression_statement "piVar3 = (int *)(uVar4 / uVar1);" (assignment_expression "piVar3 = (int *)(uVar4 / uVar1)" identifier = (cast_expression "(int *)(uVar4 / uVar1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar4 / uVar1)" ( (binary_expression "uVar4 / uVar1" identifier / identifier) )))) ;) (expression_statement "piVar6 = piVar5;" (assignment_expression "piVar6 = piVar5" identifier = identifier) ;) }) while (parenthesized_expression "(param_4 % uVar1 == uVar4 % uVar1)" ( (binary_expression "param_4 % uVar1 == uVar4 % uVar1" (binary_expression "param_4 % uVar1" identifier % identifier) == (binary_expression "uVar4 % uVar1" identifier % identifier)) )) ;) })) (expression_statement "FUN_00069d00("../../gold/symtab.cc",0x983,"get_copy_source",piVar3);" (call_expression "FUN_00069d00("../../gold/symtab.cc",0x983,"get_copy_source",piVar3)" identifier (argument_list "("../../gold/symtab.cc",0x983,"get_copy_source",piVar3)" ( (string_literal ""../../gold/symtab.cc"" " string_content ") , number_literal , (string_literal ""get_copy_source"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) [ (binary_expression IDENT % IDENT) ]))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) )) [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return (subscript_expression IDENT [ LIT ]) ;) })) (break_statement break ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT / IDENT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT % IDENT) == (binary_expression IDENT % IDENT)) )) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "int __regparm2 FUN_001779a0(undefined4 param_1,undefined4 param_2,int param_3,uint param_4)\n\n{\n  uint uVar1;\n  int *piVar2;\n  int *piVar3;\n  uint uVar4;\n  int *piVar5;\n  int *piVar6;\n  \n  if ((*(byte *)(param_4 + 0x2b) & 8) == 0) {\n                    \n    FUN_00069d00("../../gold/symtab.cc",0x980,"get_copy_source",param_2);\n  }\n  uVar1 = *(uint *)(param_3 + 0x13c);\n  piVar6 = (int *)(*(int **)(param_3 + 0x138))[param_4 % uVar1];\n  piVar3 = *(int **)(param_3 + 0x138);\n  if (piVar6 != (int *)0x0) {\n    uVar4 = ((int *)*piVar6)[1];\n    piVar2 = (int *)*piVar6;\n    do {\n      piVar5 = piVar2;\n      if (uVar4 == param_4) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    } while (param_4 % uVar1 == uVar4 % uVar1);\n  }\n                    \n  FUN_00069d00("../../gold/symtab.cc",0x983,"get_copy_source",piVar3);\n}" (primitive_type "int") (ERROR "__regparm2" (identifier "__regparm2")) (function_declarator "FUN_001779a0(undefined4 param_1,undefined4 param_2,int param_3,uint param_4)" (identifier "FUN_001779a0") (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3,uint param_4)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "uint param_4" (type_identifier "uint") (identifier "param_4")) () ")"))) (compound_statement "{\n  uint uVar1;\n  int *piVar2;\n  int *piVar3;\n  uint uVar4;\n  int *piVar5;\n  int *piVar6;\n  \n  if ((*(byte *)(param_4 + 0x2b) & 8) == 0) {\n                    \n    FUN_00069d00("../../gold/symtab.cc",0x980,"get_copy_source",param_2);\n  }\n  uVar1 = *(uint *)(param_3 + 0x13c);\n  piVar6 = (int *)(*(int **)(param_3 + 0x138))[param_4 % uVar1];\n  piVar3 = *(int **)(param_3 + 0x138);\n  if (piVar6 != (int *)0x0) {\n    uVar4 = ((int *)*piVar6)[1];\n    piVar2 = (int *)*piVar6;\n    do {\n      piVar5 = piVar2;\n      if (uVar4 == param_4) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    } while (param_4 % uVar1 == uVar4 % uVar1);\n  }\n                    \n  FUN_00069d00("../../gold/symtab.cc",0x983,"get_copy_source",piVar3);\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (if_statement "if ((*(byte *)(param_4 + 0x2b) & 8) == 0) {\n                    \n    FUN_00069d00("../../gold/symtab.cc",0x980,"get_copy_source",param_2);\n  }" (if "if") (parenthesized_expression "((*(byte *)(param_4 + 0x2b) & 8) == 0)" (( "(") (binary_expression "(*(byte *)(param_4 + 0x2b) & 8) == 0" (parenthesized_expression "(*(byte *)(param_4 + 0x2b) & 8)" (( "(") (binary_expression "*(byte *)(param_4 + 0x2b) & 8" (pointer_expression "*(byte *)(param_4 + 0x2b)" (* "*") (cast_expression "(byte *)(param_4 + 0x2b)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x2b)" (( "(") (binary_expression "param_4 + 0x2b" (identifier "param_4") (+ "+") (number_literal "0x2b")) () ")")))) (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_00069d00("../../gold/symtab.cc",0x980,"get_copy_source",param_2);\n  }" ({ "{") (expression_statement "FUN_00069d00("../../gold/symtab.cc",0x980,"get_copy_source",param_2);" (call_expression "FUN_00069d00("../../gold/symtab.cc",0x980,"get_copy_source",param_2)" (identifier "FUN_00069d00") (argument_list "("../../gold/symtab.cc",0x980,"get_copy_source",param_2)" (( "(") (string_literal ""../../gold/symtab.cc"" (" """) (string_content "../../gold/symtab.cc") (" """)) (, ",") (number_literal "0x980") (, ",") (string_literal ""get_copy_source"" (" """) (string_content "get_copy_source") (" """)) (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar1 = *(uint *)(param_3 + 0x13c);" (assignment_expression "uVar1 = *(uint *)(param_3 + 0x13c)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(param_3 + 0x13c)" (* "*") (cast_expression "(uint *)(param_3 + 0x13c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x13c)" (( "(") (binary_expression "param_3 + 0x13c" (identifier "param_3") (+ "+") (number_literal "0x13c")) () ")"))))) (; ";")) (expression_statement "piVar6 = (int *)(*(int **)(param_3 + 0x138))[param_4 % uVar1];" (assignment_expression "piVar6 = (int *)(*(int **)(param_3 + 0x138))[param_4 % uVar1]" (identifier "piVar6") (= "=") (cast_expression "(int *)(*(int **)(param_3 + 0x138))[param_4 % uVar1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "(*(int **)(param_3 + 0x138))[param_4 % uVar1]" (parenthesized_expression "(*(int **)(param_3 + 0x138))" (( "(") (pointer_expression "*(int **)(param_3 + 0x138)" (* "*") (cast_expression "(int **)(param_3 + 0x138)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_3 + 0x138)" (( "(") (binary_expression "param_3 + 0x138" (identifier "param_3") (+ "+") (number_literal "0x138")) () ")")))) () ")")) ([ "[") (binary_expression "param_4 % uVar1" (identifier "param_4") (% "%") (identifier "uVar1")) (] "]")))) (; ";")) (expression_statement "piVar3 = *(int **)(param_3 + 0x138);" (assignment_expression "piVar3 = *(int **)(param_3 + 0x138)" (identifier "piVar3") (= "=") (pointer_expression "*(int **)(param_3 + 0x138)" (* "*") (cast_expression "(int **)(param_3 + 0x138)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_3 + 0x138)" (( "(") (binary_expression "param_3 + 0x138" (identifier "param_3") (+ "+") (number_literal "0x138")) () ")"))))) (; ";")) (if_statement "if (piVar6 != (int *)0x0) {\n    uVar4 = ((int *)*piVar6)[1];\n    piVar2 = (int *)*piVar6;\n    do {\n      piVar5 = piVar2;\n      if (uVar4 == param_4) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    } while (param_4 % uVar1 == uVar4 % uVar1);\n  }" (if "if") (parenthesized_expression "(piVar6 != (int *)0x0)" (( "(") (binary_expression "piVar6 != (int *)0x0" (identifier "piVar6") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    uVar4 = ((int *)*piVar6)[1];\n    piVar2 = (int *)*piVar6;\n    do {\n      piVar5 = piVar2;\n      if (uVar4 == param_4) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    } while (param_4 % uVar1 == uVar4 % uVar1);\n  }" ({ "{") (expression_statement "uVar4 = ((int *)*piVar6)[1];" (assignment_expression "uVar4 = ((int *)*piVar6)[1]" (identifier "uVar4") (= "=") (subscript_expression "((int *)*piVar6)[1]" (parenthesized_expression "((int *)*piVar6)" (( "(") (cast_expression "(int *)*piVar6" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar6" (* "*") (identifier "piVar6"))) () ")")) ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "piVar2 = (int *)*piVar6;" (assignment_expression "piVar2 = (int *)*piVar6" (identifier "piVar2") (= "=") (cast_expression "(int *)*piVar6" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar6" (* "*") (identifier "piVar6")))) (; ";")) (do_statement "do {\n      piVar5 = piVar2;\n      if (uVar4 == param_4) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    } while (param_4 % uVar1 == uVar4 % uVar1);" (do "do") (compound_statement "{\n      piVar5 = piVar2;\n      if (uVar4 == param_4) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    }" ({ "{") (expression_statement "piVar5 = piVar2;" (assignment_expression "piVar5 = piVar2" (identifier "piVar5") (= "=") (identifier "piVar2")) (; ";")) (if_statement "if (uVar4 == param_4) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }" (if "if") (parenthesized_expression "(uVar4 == param_4)" (( "(") (binary_expression "uVar4 == param_4" (identifier "uVar4") (== "==") (identifier "param_4")) () ")")) (compound_statement "{\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }" ({ "{") (expression_statement "piVar3 = (int *)*piVar6;" (assignment_expression "piVar3 = (int *)*piVar6" (identifier "piVar3") (= "=") (cast_expression "(int *)*piVar6" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar6" (* "*") (identifier "piVar6")))) (; ";")) (if_statement "if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }" (if "if") (parenthesized_expression "(piVar3 != (int *)0x0)" (( "(") (binary_expression "piVar3 != (int *)0x0" (identifier "piVar3") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          return piVar3[2];\n        }" ({ "{") (return_statement "return piVar3[2];" (return "return") (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]")) (; ";")) (} "}"))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "piVar2 = (int *)*piVar5;" (assignment_expression "piVar2 = (int *)*piVar5" (identifier "piVar2") (= "=") (cast_expression "(int *)*piVar5" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar5" (* "*") (identifier "piVar5")))) (; ";")) (expression_statement "piVar3 = piVar2;" (assignment_expression "piVar3 = piVar2" (identifier "piVar3") (= "=") (identifier "piVar2")) (; ";")) (if_statement "if (piVar2 == (int *)0x0) break;" (if "if") (parenthesized_expression "(piVar2 == (int *)0x0)" (( "(") (binary_expression "piVar2 == (int *)0x0" (identifier "piVar2") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar4 = piVar2[1];" (assignment_expression "uVar4 = piVar2[1]" (identifier "uVar4") (= "=") (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "piVar3 = (int *)(uVar4 / uVar1);" (assignment_expression "piVar3 = (int *)(uVar4 / uVar1)" (identifier "piVar3") (= "=") (cast_expression "(int *)(uVar4 / uVar1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar4 / uVar1)" (( "(") (binary_expression "uVar4 / uVar1" (identifier "uVar4") (/ "/") (identifier "uVar1")) () ")")))) (; ";")) (expression_statement "piVar6 = piVar5;" (assignment_expression "piVar6 = piVar5" (identifier "piVar6") (= "=") (identifier "piVar5")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_4 % uVar1 == uVar4 % uVar1)" (( "(") (binary_expression "param_4 % uVar1 == uVar4 % uVar1" (binary_expression "param_4 % uVar1" (identifier "param_4") (% "%") (identifier "uVar1")) (== "==") (binary_expression "uVar4 % uVar1" (identifier "uVar4") (% "%") (identifier "uVar1"))) () ")")) (; ";")) (} "}"))) (expression_statement "FUN_00069d00("../../gold/symtab.cc",0x983,"get_copy_source",piVar3);" (call_expression "FUN_00069d00("../../gold/symtab.cc",0x983,"get_copy_source",piVar3)" (identifier "FUN_00069d00") (argument_list "("../../gold/symtab.cc",0x983,"get_copy_source",piVar3)" (( "(") (string_literal ""../../gold/symtab.cc"" (" """) (string_content "../../gold/symtab.cc") (" """)) (, ",") (number_literal "0x983") (, ",") (string_literal ""get_copy_source"" (" """) (string_content "get_copy_source") (" """)) (, ",") (identifier "piVar3") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original prototype: Dynobj * get_copy_source(Symbol_table * this, Symbol * sym) */

type_5 * __thiscall gold::Symbol_table::get_copy_source(Symbol_table *this,type_3 *var_5)

{
  type_1 var_2;
  type_2 *var_6;
  type_1 var_7;
  type_3 *var_4;
  type_4 p_Var5;
  type_4 var_3;
  
  if ((var_5->field_0x2b & 8) == 0) {
                    /* WARNING: Subroutine does not return */
    var_1("../../gold/symtab.cc",0x980,"get_copy_source");
  }
  var_2 = (this->copied_symbol_dynobjs_)._M_h._M_bucket_count;
  var_7 = (type_1)var_5 % var_2;
  var_3 = (this->copied_symbol_dynobjs_)._M_h._M_buckets[var_7];
  if (var_3 != (type_4)0x0) {
    var_4 = (type_3 *)var_3->_M_nxt[1]._M_nxt;
    var_6 = var_3->_M_nxt;
    do {
      p_Var5 = var_6;
      if (var_4 == var_5) {
        if (var_3->_M_nxt != (type_2 *)0x0) {
          return (type_5 *)var_3->_M_nxt[2]._M_nxt;
        }
        break;
      }
      var_6 = p_Var5->_M_nxt;
      if (var_6 == (type_2 *)0x0) break;
      var_4 = (type_3 *)var_6[1]._M_nxt;
      var_3 = p_Var5;
    } while (var_7 == (type_1)var_4 % var_2);
  }
                    /* WARNING: Subroutine does not return */
  var_1("../../gold/symtab.cc",0x983,"get_copy_source");
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (parenthesized_expression (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)))))) index: (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (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 (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (parenthesized_expression (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (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 (subscript_expression argument: (identifier) index: (number_literal))))) (break_statement))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (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: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (identifier))))))) (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.ax replaced with injection: get_pc_thunk_ax */

int __regparm2 MASKED(undefined4 param_1,undefined4 param_2,int param_3,uint param_4)

{
  uint uVar1;
  int *piVar2;
  int *piVar3;
  uint uVar4;
  int *piVar5;
  int *piVar6;
  
  if ((*(byte *)(param_4 + 0x2b) & 8) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_00069d00("../../gold/symtab.cc",0x980,"get_copy_source",param_2);
  }
  uVar1 = *(uint *)(param_3 + 0x13c);
  piVar6 = (int *)(*(int **)(param_3 + 0x138))[param_4 % uVar1];
  piVar3 = *(int **)(param_3 + 0x138);
  if (piVar6 != (int *)0x0) {
    uVar4 = ((int *)*piVar6)[1];
    piVar2 = (int *)*piVar6;
    do {
      piVar5 = piVar2;
      if (uVar4 == param_4) {
        piVar3 = (int *)*piVar6;
        if (piVar3 != (int *)0x0) {
          return piVar3[2];
        }
        break;
      }
      piVar2 = (int *)*piVar5;
      piVar3 = piVar2;
      if (piVar2 == (int *)0x0) break;
      uVar4 = piVar2[1];
      piVar3 = (int *)(uVar4 / uVar1);
      piVar6 = piVar5;
    } while (param_4 % uVar1 == uVar4 % uVar1);
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/symtab.cc",0x983,"get_copy_source",piVar3);
}

