
/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */
/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */
/* DWARF original prototype: void record_version(Versions * this, Symbol_table * symtab, Stringpool
   * dynpool, Symbol * sym) */

void __thiscall
gold::Versions::record_version(Versions *this,Symbol_table *symtab,Stringpool *dynpool,Symbol *sym)

{
  Dynobj *pDVar1;
  char *pcVar2;
  undefined4 uVar3;
  Key version_key;
  
  if (this->is_finalized_ != false) {
    uVar3 = 0x5f7;
    goto LAB_002621f0;
  }
  pcVar2 = sym->version_;
  if (pcVar2 == (char *)0x0) {
    do {
      uVar3 = 0x5f8;
LAB_002621f0:
      (*(code *)PTR_do_gold_unreachable_004323c4)
                (PTR_s__0043226c + 0x13e0,uVar3,PTR_s__0043226c + 0x1a84);
    } while( true );
  }
  if (*pcVar2 == '\0') {
    return;
  }
  pcVar2 = (char *)(*(code *)PTR_add_00432e80)(dynpool,pcVar2,0,&version_key);
  if ((((*(uint *)&sym->field_0x28 & 0xe000) != 0) ||
      (-1 < (int)((sym->u1_).output_segment)->output_lists_[3].
                 super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl
                 ._M_end_of_storage)) && (-1 < (int)(*(uint *)&sym->field_0x28 << 0x1b))) {
    add_def(this,dynpool,sym,pcVar2,version_key);
    return;
  }
  pDVar1 = get_dynobj_for_sym(this,symtab,sym);
  add_need(this,dynpool,(pDVar1->soname_)._M_dataplus._M_p,pcVar2,version_key);
  return;
}



/* gold::Versions::record_version(gold::Symbol_table const*, gold::Stringpool_template<char>*,
   gold::Symbol const*) */

void __thiscall
gold::Versions::record_version
          (Versions *this,Symbol_table *param_1,Stringpool_template *param_2,Symbol *param_3)

{
  int iVar1;
  char *pcVar2;
  undefined4 uVar3;
  uint local_20 [2];
  
  if (this[0x34] == (Versions)0x0) {
    pcVar2 = *(char **)(param_3 + 4);
    if (pcVar2 != (char *)0x0) {
      if (*pcVar2 == '\0') {
        return;
      }
      pcVar2 = (char *)(*(code *)PTR_add_00432e80)(param_2,pcVar2,0,local_20);
      if ((((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||
          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))) &&
         (-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b))) {
        add_def(this,param_2,param_3,pcVar2,local_20[0]);
        return;
      }
      iVar1 = get_dynobj_for_sym(this,param_1,param_3);
      add_need(this,param_2,*(char **)(iVar1 + 0x38),pcVar2,local_20[0]);
      return;
    }
    uVar3 = 0x5f8;
  }
  else {
    uVar3 = 0x5f7;
  }
  (*(code *)PTR_do_gold_unreachable_004323c4)
            (PTR_DAT_0043226c + 0x13e0,uVar3,PTR_DAT_0043226c + 0x1a84);
  return;
}


lui gp,0x1e
addiu gp,gp,-0x7ecc
addu gp,gp,t9
addiu sp,sp,-0x40
lbu v0,0x34(a0)
sw gp,0x18(sp)
sw ra,0x3c(sp)
sw s4,0x38(sp)
sw s3,0x34(sp)
sw s2,0x30(sp)
sw s1,0x2c(sp)
bne v0,zero,0x002621ec
_sw s0,0x28(sp)
or s3,a1,zero
lw a1,0x4(a3)
beq a1,zero,0x00262208
_or s0,a3,zero
lb v0,0x0(a1)
bne v0,zero,0x00262108
_lw ra,0x3c(sp)
lw s4,0x38(sp)
lw s3,0x34(sp)
lw s2,0x30(sp)
lw s1,0x2c(sp)
lw s0,0x28(sp)
jr ra
_addiu sp,sp,0x40
lw t9,-0x7350(gp)
or s2,a2,zero
addiu a3,sp,0x20
or a2,zero,zero
or s1,a0,zero
jalr t9
_or a0,s2,zero
lw v1,0x28(s0)
or s4,v0,zero
andi v0,v1,0xe000
bne v0,zero,0x002621a0
_lw gp,0x18(sp)
lw v0,0x8(s0)
lw v0,0x2c(v0)
bgez v0,0x002621a4
_ext v1,v1,0x4,0x1
lw t9,-0x4a18(gp)
or a2,s0,zero
or a1,s3,zero
bal 0x0026027c
_or a0,s1,zero
or a3,s4,zero
lw gp,0x18(sp)
or a1,s2,zero
lw a2,0x38(v0)
or a0,s1,zero
lw v0,0x20(sp)
lw t9,-0x49f0(gp)
bal 0x00261ed0
_sw v0,0x10(sp)
lw ra,0x3c(sp)
lw s4,0x38(sp)
lw s3,0x34(sp)
lw s2,0x30(sp)
lw s1,0x2c(sp)
lw s0,0x28(sp)
jr ra
_addiu sp,sp,0x40
ext v1,v1,0x4,0x1
bne v1,zero,0x0026214c
_lw t9,-0x4a18(gp)
lw v0,0x20(sp)
or a3,s4,zero
lw t9,-0x49ec(gp)
or a2,s0,zero
or a1,s2,zero
sw v0,0x10(sp)
bal 0x00261a54
_or a0,s1,zero
lw ra,0x3c(sp)
lw s4,0x38(sp)
lw s3,0x34(sp)
lw s2,0x30(sp)
lw s1,0x2c(sp)
lw s0,0x28(sp)
jr ra
_addiu sp,sp,0x40
li a1,0x5f7
lw a2,-0x7f64(gp)
lw a0,-0x7f64(gp)
lw t9,-0x7e0c(gp)
addiu a2,a2,0x1a84
jalr t9
_addiu a0,a0,0x13e0
b 0x002621f0
_li a1,0x5f8
(translation_unit "/* gold::Versions::record_version(gold::Symbol_table const*, gold::Stringpool_template<char>*,\n   gold::Symbol const*) */\n\nvoid __thiscall\ngold::Versions::record_version\n          (Versions *this,Symbol_table *param_1,Stringpool_template *param_2,Symbol *param_3)\n\n{\n  int iVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  uint local_20 [2];\n  \n  if (this[0x34] == (Versions)0x0) {\n    pcVar2 = *(char **)(param_3 + 4);\n    if (pcVar2 != (char *)0x0) {\n      if (*pcVar2 == '\0') {\n        return;\n      }\n      pcVar2 = (char *)(*(code *)PTR_add_00432e80)(param_2,pcVar2,0,local_20);\n      if ((((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))) &&\n         (-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b))) {\n        add_def(this,param_2,param_3,pcVar2,local_20[0]);\n        return;\n      }\n      iVar1 = get_dynobj_for_sym(this,param_1,param_3);\n      add_need(this,param_2,*(char **)(iVar1 + 0x38),pcVar2,local_20[0]);\n      return;\n    }\n    uVar3 = 0x5f8;\n  }\n  else {\n    uVar3 = 0x5f7;\n  }\n  (*(code *)PTR_do_gold_unreachable_004323c4)\n            (PTR_DAT_0043226c + 0x13e0,uVar3,PTR_DAT_0043226c + 0x1a84);\n  return;\n}\n\n" comment (function_definition "void __thiscall\ngold::Versions::record_version\n          (Versions *this,Symbol_table *param_1,Stringpool_template *param_2,Symbol *param_3)\n\n{\n  int iVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  uint local_20 [2];\n  \n  if (this[0x34] == (Versions)0x0) {\n    pcVar2 = *(char **)(param_3 + 4);\n    if (pcVar2 != (char *)0x0) {\n      if (*pcVar2 == '\0') {\n        return;\n      }\n      pcVar2 = (char *)(*(code *)PTR_add_00432e80)(param_2,pcVar2,0,local_20);\n      if ((((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))) &&\n         (-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b))) {\n        add_def(this,param_2,param_3,pcVar2,local_20[0]);\n        return;\n      }\n      iVar1 = get_dynobj_for_sym(this,param_1,param_3);\n      add_need(this,param_2,*(char **)(iVar1 + 0x38),pcVar2,local_20[0]);\n      return;\n    }\n    uVar3 = 0x5f8;\n  }\n  else {\n    uVar3 = 0x5f7;\n  }\n  (*(code *)PTR_do_gold_unreachable_004323c4)\n            (PTR_DAT_0043226c + 0x13e0,uVar3,PTR_DAT_0043226c + 0x1a84);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Versions::" identifier : : identifier : :) (function_declarator "record_version\n          (Versions *this,Symbol_table *param_1,Stringpool_template *param_2,Symbol *param_3)" identifier (parameter_list "(Versions *this,Symbol_table *param_1,Stringpool_template *param_2,Symbol *param_3)" ( (parameter_declaration "Versions *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Symbol_table *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "Stringpool_template *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "Symbol *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  uint local_20 [2];\n  \n  if (this[0x34] == (Versions)0x0) {\n    pcVar2 = *(char **)(param_3 + 4);\n    if (pcVar2 != (char *)0x0) {\n      if (*pcVar2 == '\0') {\n        return;\n      }\n      pcVar2 = (char *)(*(code *)PTR_add_00432e80)(param_2,pcVar2,0,local_20);\n      if ((((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))) &&\n         (-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b))) {\n        add_def(this,param_2,param_3,pcVar2,local_20[0]);\n        return;\n      }\n      iVar1 = get_dynobj_for_sym(this,param_1,param_3);\n      add_need(this,param_2,*(char **)(iVar1 + 0x38),pcVar2,local_20[0]);\n      return;\n    }\n    uVar3 = 0x5f8;\n  }\n  else {\n    uVar3 = 0x5f7;\n  }\n  (*(code *)PTR_do_gold_unreachable_004323c4)\n            (PTR_DAT_0043226c + 0x13e0,uVar3,PTR_DAT_0043226c + 0x1a84);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint local_20 [2];" type_identifier (array_declarator "local_20 [2]" identifier [ number_literal ]) ;) (if_statement "if (this[0x34] == (Versions)0x0) {\n    pcVar2 = *(char **)(param_3 + 4);\n    if (pcVar2 != (char *)0x0) {\n      if (*pcVar2 == '\0') {\n        return;\n      }\n      pcVar2 = (char *)(*(code *)PTR_add_00432e80)(param_2,pcVar2,0,local_20);\n      if ((((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))) &&\n         (-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b))) {\n        add_def(this,param_2,param_3,pcVar2,local_20[0]);\n        return;\n      }\n      iVar1 = get_dynobj_for_sym(this,param_1,param_3);\n      add_need(this,param_2,*(char **)(iVar1 + 0x38),pcVar2,local_20[0]);\n      return;\n    }\n    uVar3 = 0x5f8;\n  }\n  else {\n    uVar3 = 0x5f7;\n  }" if (parenthesized_expression "(this[0x34] == (Versions)0x0)" ( (binary_expression "this[0x34] == (Versions)0x0" (subscript_expression "this[0x34]" identifier [ number_literal ]) == (cast_expression "(Versions)0x0" ( (type_descriptor "Versions" type_identifier) ) number_literal)) )) (compound_statement "{\n    pcVar2 = *(char **)(param_3 + 4);\n    if (pcVar2 != (char *)0x0) {\n      if (*pcVar2 == '\0') {\n        return;\n      }\n      pcVar2 = (char *)(*(code *)PTR_add_00432e80)(param_2,pcVar2,0,local_20);\n      if ((((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))) &&\n         (-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b))) {\n        add_def(this,param_2,param_3,pcVar2,local_20[0]);\n        return;\n      }\n      iVar1 = get_dynobj_for_sym(this,param_1,param_3);\n      add_need(this,param_2,*(char **)(iVar1 + 0x38),pcVar2,local_20[0]);\n      return;\n    }\n    uVar3 = 0x5f8;\n  }" { (expression_statement "pcVar2 = *(char **)(param_3 + 4);" (assignment_expression "pcVar2 = *(char **)(param_3 + 4)" identifier = (pointer_expression "*(char **)(param_3 + 4)" * (cast_expression "(char **)(param_3 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) ))))) ;) (if_statement "if (pcVar2 != (char *)0x0) {\n      if (*pcVar2 == '\0') {\n        return;\n      }\n      pcVar2 = (char *)(*(code *)PTR_add_00432e80)(param_2,pcVar2,0,local_20);\n      if ((((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))) &&\n         (-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b))) {\n        add_def(this,param_2,param_3,pcVar2,local_20[0]);\n        return;\n      }\n      iVar1 = get_dynobj_for_sym(this,param_1,param_3);\n      add_need(this,param_2,*(char **)(iVar1 + 0x38),pcVar2,local_20[0]);\n      return;\n    }" if (parenthesized_expression "(pcVar2 != (char *)0x0)" ( (binary_expression "pcVar2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (*pcVar2 == '\0') {\n        return;\n      }\n      pcVar2 = (char *)(*(code *)PTR_add_00432e80)(param_2,pcVar2,0,local_20);\n      if ((((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))) &&\n         (-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b))) {\n        add_def(this,param_2,param_3,pcVar2,local_20[0]);\n        return;\n      }\n      iVar1 = get_dynobj_for_sym(this,param_1,param_3);\n      add_need(this,param_2,*(char **)(iVar1 + 0x38),pcVar2,local_20[0]);\n      return;\n    }" { (if_statement "if (*pcVar2 == '\0') {\n        return;\n      }" if (parenthesized_expression "(*pcVar2 == '\0')" ( (binary_expression "*pcVar2 == '\0'" (pointer_expression "*pcVar2" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (expression_statement "pcVar2 = (char *)(*(code *)PTR_add_00432e80)(param_2,pcVar2,0,local_20);" (assignment_expression "pcVar2 = (char *)(*(code *)PTR_add_00432e80)(param_2,pcVar2,0,local_20)" identifier = (cast_expression "(char *)(*(code *)PTR_add_00432e80)(param_2,pcVar2,0,local_20)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_add_00432e80)(param_2,pcVar2,0,local_20)" (parenthesized_expression "(*(code *)PTR_add_00432e80)" ( (pointer_expression "*(code *)PTR_add_00432e80" * (cast_expression "(code *)PTR_add_00432e80" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,pcVar2,0,local_20)" ( identifier , identifier , number_literal , identifier ))))) ;) (if_statement "if ((((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))) &&\n         (-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b))) {\n        add_def(this,param_2,param_3,pcVar2,local_20[0]);\n        return;\n      }" if (parenthesized_expression "((((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))) &&\n         (-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b)))" ( (binary_expression "(((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))) &&\n         (-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b))" (parenthesized_expression "(((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c)))" ( (binary_expression "((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))" (parenthesized_expression "((*(uint *)(param_3 + 0x28) & 0xe000) != 0)" ( (binary_expression "(*(uint *)(param_3 + 0x28) & 0xe000) != 0" (parenthesized_expression "(*(uint *)(param_3 + 0x28) & 0xe000)" ( (binary_expression "*(uint *)(param_3 + 0x28) & 0xe000" (pointer_expression "*(uint *)(param_3 + 0x28)" * (cast_expression "(uint *)(param_3 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x28)" ( (binary_expression "param_3 + 0x28" identifier + number_literal) )))) & number_literal) )) != number_literal) )) || (parenthesized_expression "(-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))" ( (binary_expression "-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c)" number_literal < (pointer_expression "*(int *)(*(int *)(param_3 + 8) + 0x2c)" * (cast_expression "(int *)(*(int *)(param_3 + 8) + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_3 + 8) + 0x2c)" ( (binary_expression "*(int *)(param_3 + 8) + 0x2c" (pointer_expression "*(int *)(param_3 + 8)" * (cast_expression "(int *)(param_3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) + number_literal) ))))) ))) )) && (parenthesized_expression "(-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b))" ( (binary_expression "-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b)" number_literal < (cast_expression "(int)(*(uint *)(param_3 + 0x28) << 0x1b)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(*(uint *)(param_3 + 0x28) << 0x1b)" ( (binary_expression "*(uint *)(param_3 + 0x28) << 0x1b" (pointer_expression "*(uint *)(param_3 + 0x28)" * (cast_expression "(uint *)(param_3 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x28)" ( (binary_expression "param_3 + 0x28" identifier + number_literal) )))) << number_literal) )))) ))) )) (compound_statement "{\n        add_def(this,param_2,param_3,pcVar2,local_20[0]);\n        return;\n      }" { (expression_statement "add_def(this,param_2,param_3,pcVar2,local_20[0]);" (call_expression "add_def(this,param_2,param_3,pcVar2,local_20[0])" identifier (argument_list "(this,param_2,param_3,pcVar2,local_20[0])" ( identifier , identifier , identifier , identifier , (subscript_expression "local_20[0]" identifier [ number_literal ]) ))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar1 = get_dynobj_for_sym(this,param_1,param_3);" (assignment_expression "iVar1 = get_dynobj_for_sym(this,param_1,param_3)" identifier = (call_expression "get_dynobj_for_sym(this,param_1,param_3)" identifier (argument_list "(this,param_1,param_3)" ( identifier , identifier , identifier )))) ;) (expression_statement "add_need(this,param_2,*(char **)(iVar1 + 0x38),pcVar2,local_20[0]);" (call_expression "add_need(this,param_2,*(char **)(iVar1 + 0x38),pcVar2,local_20[0])" identifier (argument_list "(this,param_2,*(char **)(iVar1 + 0x38),pcVar2,local_20[0])" ( identifier , identifier , (pointer_expression "*(char **)(iVar1 + 0x38)" * (cast_expression "(char **)(iVar1 + 0x38)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x38)" ( (binary_expression "iVar1 + 0x38" identifier + number_literal) )))) , identifier , (subscript_expression "local_20[0]" identifier [ number_literal ]) ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar3 = 0x5f8;" (assignment_expression "uVar3 = 0x5f8" identifier = number_literal) ;) }) (else_clause "else {\n    uVar3 = 0x5f7;\n  }" else (compound_statement "{\n    uVar3 = 0x5f7;\n  }" { (expression_statement "uVar3 = 0x5f7;" (assignment_expression "uVar3 = 0x5f7" identifier = number_literal) ;) }))) (expression_statement "(*(code *)PTR_do_gold_unreachable_004323c4)\n            (PTR_DAT_0043226c + 0x13e0,uVar3,PTR_DAT_0043226c + 0x1a84);" (call_expression "(*(code *)PTR_do_gold_unreachable_004323c4)\n            (PTR_DAT_0043226c + 0x13e0,uVar3,PTR_DAT_0043226c + 0x1a84)" (parenthesized_expression "(*(code *)PTR_do_gold_unreachable_004323c4)" ( (pointer_expression "*(code *)PTR_do_gold_unreachable_004323c4" * (cast_expression "(code *)PTR_do_gold_unreachable_004323c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_0043226c + 0x13e0,uVar3,PTR_DAT_0043226c + 0x1a84)" ( (binary_expression "PTR_DAT_0043226c + 0x13e0" identifier + number_literal) , identifier , (binary_expression "PTR_DAT_0043226c + 0x1a84" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */\n/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */\n/* DWARF original prototype: void record_version(Versions * this, Symbol_table * symtab, Stringpool\n   * dynpool, Symbol * sym) */\n\nvoid __thiscall\ngold::Versions::record_version(Versions *this,Symbol_table *symtab,Stringpool *dynpool,Symbol *sym)\n\n{\n  Dynobj *pDVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  Key version_key;\n  \n  if (this->is_finalized_ != false) {\n    uVar3 = 0x5f7;\n    goto LAB_002621f0;\n  }\n  pcVar2 = sym->version_;\n  if (pcVar2 == (char *)0x0) {\n    do {\n      uVar3 = 0x5f8;\nLAB_002621f0:\n      (*(code *)PTR_do_gold_unreachable_004323c4)\n                (PTR_s__0043226c + 0x13e0,uVar3,PTR_s__0043226c + 0x1a84);\n    } while( true );\n  }\n  if (*pcVar2 == '\0') {\n    return;\n  }\n  pcVar2 = (char *)(*(code *)PTR_add_00432e80)(dynpool,pcVar2,0,&version_key);\n  if ((((*(uint *)&sym->field_0x28 & 0xe000) != 0) ||\n      (-1 < (int)((sym->u1_).output_segment)->output_lists_[3].\n                 super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl\n                 ._M_end_of_storage)) && (-1 < (int)(*(uint *)&sym->field_0x28 << 0x1b))) {\n    add_def(this,dynpool,sym,pcVar2,version_key);\n    return;\n  }\n  pDVar1 = get_dynobj_for_sym(this,symtab,sym);\n  add_need(this,dynpool,(pDVar1->soname_)._M_dataplus._M_p,pcVar2,version_key);\n  return;\n}\n\n" comment comment comment (function_definition "void __thiscall\ngold::Versions::record_version(Versions *this,Symbol_table *symtab,Stringpool *dynpool,Symbol *sym)\n\n{\n  Dynobj *pDVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  Key version_key;\n  \n  if (this->is_finalized_ != false) {\n    uVar3 = 0x5f7;\n    goto LAB_002621f0;\n  }\n  pcVar2 = sym->version_;\n  if (pcVar2 == (char *)0x0) {\n    do {\n      uVar3 = 0x5f8;\nLAB_002621f0:\n      (*(code *)PTR_do_gold_unreachable_004323c4)\n                (PTR_s__0043226c + 0x13e0,uVar3,PTR_s__0043226c + 0x1a84);\n    } while( true );\n  }\n  if (*pcVar2 == '\0') {\n    return;\n  }\n  pcVar2 = (char *)(*(code *)PTR_add_00432e80)(dynpool,pcVar2,0,&version_key);\n  if ((((*(uint *)&sym->field_0x28 & 0xe000) != 0) ||\n      (-1 < (int)((sym->u1_).output_segment)->output_lists_[3].\n                 super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl\n                 ._M_end_of_storage)) && (-1 < (int)(*(uint *)&sym->field_0x28 << 0x1b))) {\n    add_def(this,dynpool,sym,pcVar2,version_key);\n    return;\n  }\n  pDVar1 = get_dynobj_for_sym(this,symtab,sym);\n  add_need(this,dynpool,(pDVar1->soname_)._M_dataplus._M_p,pcVar2,version_key);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Versions::" identifier : : identifier : :) (function_declarator "record_version(Versions *this,Symbol_table *symtab,Stringpool *dynpool,Symbol *sym)" identifier (parameter_list "(Versions *this,Symbol_table *symtab,Stringpool *dynpool,Symbol *sym)" ( (parameter_declaration "Versions *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Symbol_table *symtab" type_identifier (pointer_declarator "*symtab" * identifier)) , (parameter_declaration "Stringpool *dynpool" type_identifier (pointer_declarator "*dynpool" * identifier)) , (parameter_declaration "Symbol *sym" type_identifier (pointer_declarator "*sym" * identifier)) ))) (compound_statement "{\n  Dynobj *pDVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  Key version_key;\n  \n  if (this->is_finalized_ != false) {\n    uVar3 = 0x5f7;\n    goto LAB_002621f0;\n  }\n  pcVar2 = sym->version_;\n  if (pcVar2 == (char *)0x0) {\n    do {\n      uVar3 = 0x5f8;\nLAB_002621f0:\n      (*(code *)PTR_do_gold_unreachable_004323c4)\n                (PTR_s__0043226c + 0x13e0,uVar3,PTR_s__0043226c + 0x1a84);\n    } while( true );\n  }\n  if (*pcVar2 == '\0') {\n    return;\n  }\n  pcVar2 = (char *)(*(code *)PTR_add_00432e80)(dynpool,pcVar2,0,&version_key);\n  if ((((*(uint *)&sym->field_0x28 & 0xe000) != 0) ||\n      (-1 < (int)((sym->u1_).output_segment)->output_lists_[3].\n                 super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl\n                 ._M_end_of_storage)) && (-1 < (int)(*(uint *)&sym->field_0x28 << 0x1b))) {\n    add_def(this,dynpool,sym,pcVar2,version_key);\n    return;\n  }\n  pDVar1 = get_dynobj_for_sym(this,symtab,sym);\n  add_need(this,dynpool,(pDVar1->soname_)._M_dataplus._M_p,pcVar2,version_key);\n  return;\n}" { (declaration "Dynobj *pDVar1;" type_identifier (pointer_declarator "*pDVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "Key version_key;" type_identifier identifier ;) (if_statement "if (this->is_finalized_ != false) {\n    uVar3 = 0x5f7;\n    goto LAB_002621f0;\n  }" if (parenthesized_expression "(this->is_finalized_ != false)" ( (binary_expression "this->is_finalized_ != false" (field_expression "this->is_finalized_" identifier -> field_identifier) != false) )) (compound_statement "{\n    uVar3 = 0x5f7;\n    goto LAB_002621f0;\n  }" { (expression_statement "uVar3 = 0x5f7;" (assignment_expression "uVar3 = 0x5f7" identifier = number_literal) ;) (goto_statement "goto LAB_002621f0;" goto statement_identifier ;) })) (expression_statement "pcVar2 = sym->version_;" (assignment_expression "pcVar2 = sym->version_" identifier = (field_expression "sym->version_" identifier -> field_identifier)) ;) (if_statement "if (pcVar2 == (char *)0x0) {\n    do {\n      uVar3 = 0x5f8;\nLAB_002621f0:\n      (*(code *)PTR_do_gold_unreachable_004323c4)\n                (PTR_s__0043226c + 0x13e0,uVar3,PTR_s__0043226c + 0x1a84);\n    } while( true );\n  }" if (parenthesized_expression "(pcVar2 == (char *)0x0)" ( (binary_expression "pcVar2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      uVar3 = 0x5f8;\nLAB_002621f0:\n      (*(code *)PTR_do_gold_unreachable_004323c4)\n                (PTR_s__0043226c + 0x13e0,uVar3,PTR_s__0043226c + 0x1a84);\n    } while( true );\n  }" { (do_statement "do {\n      uVar3 = 0x5f8;\nLAB_002621f0:\n      (*(code *)PTR_do_gold_unreachable_004323c4)\n                (PTR_s__0043226c + 0x13e0,uVar3,PTR_s__0043226c + 0x1a84);\n    } while( true );" do (compound_statement "{\n      uVar3 = 0x5f8;\nLAB_002621f0:\n      (*(code *)PTR_do_gold_unreachable_004323c4)\n                (PTR_s__0043226c + 0x13e0,uVar3,PTR_s__0043226c + 0x1a84);\n    }" { (expression_statement "uVar3 = 0x5f8;" (assignment_expression "uVar3 = 0x5f8" identifier = number_literal) ;) (labeled_statement "LAB_002621f0:\n      (*(code *)PTR_do_gold_unreachable_004323c4)\n                (PTR_s__0043226c + 0x13e0,uVar3,PTR_s__0043226c + 0x1a84);" statement_identifier : (expression_statement "(*(code *)PTR_do_gold_unreachable_004323c4)\n                (PTR_s__0043226c + 0x13e0,uVar3,PTR_s__0043226c + 0x1a84);" (call_expression "(*(code *)PTR_do_gold_unreachable_004323c4)\n                (PTR_s__0043226c + 0x13e0,uVar3,PTR_s__0043226c + 0x1a84)" (parenthesized_expression "(*(code *)PTR_do_gold_unreachable_004323c4)" ( (pointer_expression "*(code *)PTR_do_gold_unreachable_004323c4" * (cast_expression "(code *)PTR_do_gold_unreachable_004323c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s__0043226c + 0x13e0,uVar3,PTR_s__0043226c + 0x1a84)" ( (binary_expression "PTR_s__0043226c + 0x13e0" identifier + number_literal) , identifier , (binary_expression "PTR_s__0043226c + 0x1a84" identifier + number_literal) ))) ;)) }) while (parenthesized_expression "( true )" ( true )) ;) })) (if_statement "if (*pcVar2 == '\0') {\n    return;\n  }" if (parenthesized_expression "(*pcVar2 == '\0')" ( (binary_expression "*pcVar2 == '\0'" (pointer_expression "*pcVar2" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "pcVar2 = (char *)(*(code *)PTR_add_00432e80)(dynpool,pcVar2,0,&version_key);" (assignment_expression "pcVar2 = (char *)(*(code *)PTR_add_00432e80)(dynpool,pcVar2,0,&version_key)" identifier = (cast_expression "(char *)(*(code *)PTR_add_00432e80)(dynpool,pcVar2,0,&version_key)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_add_00432e80)(dynpool,pcVar2,0,&version_key)" (parenthesized_expression "(*(code *)PTR_add_00432e80)" ( (pointer_expression "*(code *)PTR_add_00432e80" * (cast_expression "(code *)PTR_add_00432e80" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(dynpool,pcVar2,0,&version_key)" ( identifier , identifier , number_literal , (pointer_expression "&version_key" & identifier) ))))) ;) (if_statement "if ((((*(uint *)&sym->field_0x28 & 0xe000) != 0) ||\n      (-1 < (int)((sym->u1_).output_segment)->output_lists_[3].\n                 super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl\n                 ._M_end_of_storage)) && (-1 < (int)(*(uint *)&sym->field_0x28 << 0x1b))) {\n    add_def(this,dynpool,sym,pcVar2,version_key);\n    return;\n  }" if (parenthesized_expression "((((*(uint *)&sym->field_0x28 & 0xe000) != 0) ||\n      (-1 < (int)((sym->u1_).output_segment)->output_lists_[3].\n                 super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl\n                 ._M_end_of_storage)) && (-1 < (int)(*(uint *)&sym->field_0x28 << 0x1b)))" ( (binary_expression "(((*(uint *)&sym->field_0x28 & 0xe000) != 0) ||\n      (-1 < (int)((sym->u1_).output_segment)->output_lists_[3].\n                 super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl\n                 ._M_end_of_storage)) && (-1 < (int)(*(uint *)&sym->field_0x28 << 0x1b))" (parenthesized_expression "(((*(uint *)&sym->field_0x28 & 0xe000) != 0) ||\n      (-1 < (int)((sym->u1_).output_segment)->output_lists_[3].\n                 super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl\n                 ._M_end_of_storage))" ( (binary_expression "((*(uint *)&sym->field_0x28 & 0xe000) != 0) ||\n      (-1 < (int)((sym->u1_).output_segment)->output_lists_[3].\n                 super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl\n                 ._M_end_of_storage)" (parenthesized_expression "((*(uint *)&sym->field_0x28 & 0xe000) != 0)" ( (binary_expression "(*(uint *)&sym->field_0x28 & 0xe000) != 0" (parenthesized_expression "(*(uint *)&sym->field_0x28 & 0xe000)" ( (binary_expression "*(uint *)&sym->field_0x28 & 0xe000" (pointer_expression "*(uint *)&sym->field_0x28" * (cast_expression "(uint *)&sym->field_0x28" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&sym->field_0x28" & (field_expression "sym->field_0x28" identifier -> field_identifier)))) & number_literal) )) != number_literal) )) || (parenthesized_expression "(-1 < (int)((sym->u1_).output_segment)->output_lists_[3].\n                 super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl\n                 ._M_end_of_storage)" ( (field_expression "-1 < (int)((sym->u1_).output_segment)->output_lists_[3].\n                 super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl\n                 ._M_end_of_storage" (field_expression "-1 < (int)((sym->u1_).output_segment)->output_lists_[3].\n                 super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl" (binary_expression "-1 < (int)((sym->u1_).output_segment)->output_lists_[3].\n                 super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_" (binary_expression "-1 < (int)((sym->u1_).output_segment)->output_lists_[3].\n                 super__Vector_base<gold::Output_data*,_std::allocator<gold" (binary_expression "-1 < (int)((sym->u1_).output_segment)->output_lists_[3].\n                 super__Vector_base<gold::Output_data*,_std" (binary_expression "-1 < (int)((sym->u1_).output_segment)->output_lists_[3].\n                 super__Vector_base<gold" (binary_expression "-1 < (int)((sym->u1_).output_segment)->output_lists_[3].\n                 super__Vector_base" number_literal < (cast_expression "(int)((sym->u1_).output_segment)->output_lists_[3].\n                 super__Vector_base" ( (type_descriptor "int" primitive_type) ) (field_expression "((sym->u1_).output_segment)->output_lists_[3].\n                 super__Vector_base" (subscript_expression "((sym->u1_).output_segment)->output_lists_[3]" (field_expression "((sym->u1_).output_segment)->output_lists_" (parenthesized_expression "((sym->u1_).output_segment)" ( (field_expression "(sym->u1_).output_segment" (parenthesized_expression "(sym->u1_)" ( (field_expression "sym->u1_" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier) [ number_literal ]) . field_identifier))) < identifier) (ERROR "::Output_data" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_data" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ))) )) && (parenthesized_expression "(-1 < (int)(*(uint *)&sym->field_0x28 << 0x1b))" ( (binary_expression "-1 < (int)(*(uint *)&sym->field_0x28 << 0x1b)" number_literal < (cast_expression "(int)(*(uint *)&sym->field_0x28 << 0x1b)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(*(uint *)&sym->field_0x28 << 0x1b)" ( (binary_expression "*(uint *)&sym->field_0x28 << 0x1b" (pointer_expression "*(uint *)&sym->field_0x28" * (cast_expression "(uint *)&sym->field_0x28" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&sym->field_0x28" & (field_expression "sym->field_0x28" identifier -> field_identifier)))) << number_literal) )))) ))) )) (compound_statement "{\n    add_def(this,dynpool,sym,pcVar2,version_key);\n    return;\n  }" { (expression_statement "add_def(this,dynpool,sym,pcVar2,version_key);" (call_expression "add_def(this,dynpool,sym,pcVar2,version_key)" identifier (argument_list "(this,dynpool,sym,pcVar2,version_key)" ( identifier , identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "pDVar1 = get_dynobj_for_sym(this,symtab,sym);" (assignment_expression "pDVar1 = get_dynobj_for_sym(this,symtab,sym)" identifier = (call_expression "get_dynobj_for_sym(this,symtab,sym)" identifier (argument_list "(this,symtab,sym)" ( identifier , identifier , identifier )))) ;) (expression_statement "add_need(this,dynpool,(pDVar1->soname_)._M_dataplus._M_p,pcVar2,version_key);" (call_expression "add_need(this,dynpool,(pDVar1->soname_)._M_dataplus._M_p,pcVar2,version_key)" identifier (argument_list "(this,dynpool,(pDVar1->soname_)._M_dataplus._M_p,pcVar2,version_key)" ( identifier , identifier , (field_expression "(pDVar1->soname_)._M_dataplus._M_p" (field_expression "(pDVar1->soname_)._M_dataplus" (parenthesized_expression "(pDVar1->soname_)" ( (field_expression "pDVar1->soname_" identifier -> field_identifier) )) . field_identifier) . field_identifier) , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __thiscall\ngold::Versions::record_version\n          (Versions *this,Symbol_table *param_1,Stringpool_template *param_2,Symbol *param_3)\n\n{\n  int iVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  uint local_20 [2];\n  \n  if (this[0x34] == (Versions)0x0) {\n    pcVar2 = *(char **)(param_3 + 4);\n    if (pcVar2 != (char *)0x0) {\n      if (*pcVar2 == '\0') {\n        return;\n      }\n      pcVar2 = (char *)(*(code *)PTR_add_00432e80)(param_2,pcVar2,0,local_20);\n      if ((((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))) &&\n         (-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b))) {\n        add_def(this,param_2,param_3,pcVar2,local_20[0]);\n        return;\n      }\n      iVar1 = get_dynobj_for_sym(this,param_1,param_3);\n      add_need(this,param_2,*(char **)(iVar1 + 0x38),pcVar2,local_20[0]);\n      return;\n    }\n    uVar3 = 0x5f8;\n  }\n  else {\n    uVar3 = 0x5f7;\n  }\n  (*(code *)PTR_do_gold_unreachable_004323c4)\n            (PTR_DAT_0043226c + 0x13e0,uVar3,PTR_DAT_0043226c + 0x1a84);\n  return;\n}\n\n" (function_definition "void __thiscall\ngold::Versions::record_version\n          (Versions *this,Symbol_table *param_1,Stringpool_template *param_2,Symbol *param_3)\n\n{\n  int iVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  uint local_20 [2];\n  \n  if (this[0x34] == (Versions)0x0) {\n    pcVar2 = *(char **)(param_3 + 4);\n    if (pcVar2 != (char *)0x0) {\n      if (*pcVar2 == '\0') {\n        return;\n      }\n      pcVar2 = (char *)(*(code *)PTR_add_00432e80)(param_2,pcVar2,0,local_20);\n      if ((((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))) &&\n         (-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b))) {\n        add_def(this,param_2,param_3,pcVar2,local_20[0]);\n        return;\n      }\n      iVar1 = get_dynobj_for_sym(this,param_1,param_3);\n      add_need(this,param_2,*(char **)(iVar1 + 0x38),pcVar2,local_20[0]);\n      return;\n    }\n    uVar3 = 0x5f8;\n  }\n  else {\n    uVar3 = 0x5f7;\n  }\n  (*(code *)PTR_do_gold_unreachable_004323c4)\n            (PTR_DAT_0043226c + 0x13e0,uVar3,PTR_DAT_0043226c + 0x1a84);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Versions::" identifier : : identifier : :) (function_declarator "record_version\n          (Versions *this,Symbol_table *param_1,Stringpool_template *param_2,Symbol *param_3)" identifier (parameter_list "(Versions *this,Symbol_table *param_1,Stringpool_template *param_2,Symbol *param_3)" ( (parameter_declaration "Versions *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Symbol_table *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "Stringpool_template *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "Symbol *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  uint local_20 [2];\n  \n  if (this[0x34] == (Versions)0x0) {\n    pcVar2 = *(char **)(param_3 + 4);\n    if (pcVar2 != (char *)0x0) {\n      if (*pcVar2 == '\0') {\n        return;\n      }\n      pcVar2 = (char *)(*(code *)PTR_add_00432e80)(param_2,pcVar2,0,local_20);\n      if ((((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))) &&\n         (-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b))) {\n        add_def(this,param_2,param_3,pcVar2,local_20[0]);\n        return;\n      }\n      iVar1 = get_dynobj_for_sym(this,param_1,param_3);\n      add_need(this,param_2,*(char **)(iVar1 + 0x38),pcVar2,local_20[0]);\n      return;\n    }\n    uVar3 = 0x5f8;\n  }\n  else {\n    uVar3 = 0x5f7;\n  }\n  (*(code *)PTR_do_gold_unreachable_004323c4)\n            (PTR_DAT_0043226c + 0x13e0,uVar3,PTR_DAT_0043226c + 0x1a84);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint local_20 [2];" type_identifier (array_declarator "local_20 [2]" identifier [ number_literal ]) ;) (if_statement "if (this[0x34] == (Versions)0x0) {\n    pcVar2 = *(char **)(param_3 + 4);\n    if (pcVar2 != (char *)0x0) {\n      if (*pcVar2 == '\0') {\n        return;\n      }\n      pcVar2 = (char *)(*(code *)PTR_add_00432e80)(param_2,pcVar2,0,local_20);\n      if ((((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))) &&\n         (-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b))) {\n        add_def(this,param_2,param_3,pcVar2,local_20[0]);\n        return;\n      }\n      iVar1 = get_dynobj_for_sym(this,param_1,param_3);\n      add_need(this,param_2,*(char **)(iVar1 + 0x38),pcVar2,local_20[0]);\n      return;\n    }\n    uVar3 = 0x5f8;\n  }\n  else {\n    uVar3 = 0x5f7;\n  }" if (parenthesized_expression "(this[0x34] == (Versions)0x0)" ( (binary_expression "this[0x34] == (Versions)0x0" (subscript_expression "this[0x34]" identifier [ number_literal ]) == (cast_expression "(Versions)0x0" ( (type_descriptor "Versions" type_identifier) ) number_literal)) )) (compound_statement "{\n    pcVar2 = *(char **)(param_3 + 4);\n    if (pcVar2 != (char *)0x0) {\n      if (*pcVar2 == '\0') {\n        return;\n      }\n      pcVar2 = (char *)(*(code *)PTR_add_00432e80)(param_2,pcVar2,0,local_20);\n      if ((((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))) &&\n         (-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b))) {\n        add_def(this,param_2,param_3,pcVar2,local_20[0]);\n        return;\n      }\n      iVar1 = get_dynobj_for_sym(this,param_1,param_3);\n      add_need(this,param_2,*(char **)(iVar1 + 0x38),pcVar2,local_20[0]);\n      return;\n    }\n    uVar3 = 0x5f8;\n  }" { (expression_statement "pcVar2 = *(char **)(param_3 + 4);" (assignment_expression "pcVar2 = *(char **)(param_3 + 4)" identifier = (pointer_expression "*(char **)(param_3 + 4)" * (cast_expression "(char **)(param_3 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) ))))) ;) (if_statement "if (pcVar2 != (char *)0x0) {\n      if (*pcVar2 == '\0') {\n        return;\n      }\n      pcVar2 = (char *)(*(code *)PTR_add_00432e80)(param_2,pcVar2,0,local_20);\n      if ((((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))) &&\n         (-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b))) {\n        add_def(this,param_2,param_3,pcVar2,local_20[0]);\n        return;\n      }\n      iVar1 = get_dynobj_for_sym(this,param_1,param_3);\n      add_need(this,param_2,*(char **)(iVar1 + 0x38),pcVar2,local_20[0]);\n      return;\n    }" if (parenthesized_expression "(pcVar2 != (char *)0x0)" ( (binary_expression "pcVar2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (*pcVar2 == '\0') {\n        return;\n      }\n      pcVar2 = (char *)(*(code *)PTR_add_00432e80)(param_2,pcVar2,0,local_20);\n      if ((((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))) &&\n         (-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b))) {\n        add_def(this,param_2,param_3,pcVar2,local_20[0]);\n        return;\n      }\n      iVar1 = get_dynobj_for_sym(this,param_1,param_3);\n      add_need(this,param_2,*(char **)(iVar1 + 0x38),pcVar2,local_20[0]);\n      return;\n    }" { (if_statement "if (*pcVar2 == '\0') {\n        return;\n      }" if (parenthesized_expression "(*pcVar2 == '\0')" ( (binary_expression "*pcVar2 == '\0'" (pointer_expression "*pcVar2" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (expression_statement "pcVar2 = (char *)(*(code *)PTR_add_00432e80)(param_2,pcVar2,0,local_20);" (assignment_expression "pcVar2 = (char *)(*(code *)PTR_add_00432e80)(param_2,pcVar2,0,local_20)" identifier = (cast_expression "(char *)(*(code *)PTR_add_00432e80)(param_2,pcVar2,0,local_20)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_add_00432e80)(param_2,pcVar2,0,local_20)" (parenthesized_expression "(*(code *)PTR_add_00432e80)" ( (pointer_expression "*(code *)PTR_add_00432e80" * (cast_expression "(code *)PTR_add_00432e80" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,pcVar2,0,local_20)" ( identifier , identifier , number_literal , identifier ))))) ;) (if_statement "if ((((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))) &&\n         (-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b))) {\n        add_def(this,param_2,param_3,pcVar2,local_20[0]);\n        return;\n      }" if (parenthesized_expression "((((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))) &&\n         (-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b)))" ( (binary_expression "(((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))) &&\n         (-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b))" (parenthesized_expression "(((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c)))" ( (binary_expression "((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))" (parenthesized_expression "((*(uint *)(param_3 + 0x28) & 0xe000) != 0)" ( (binary_expression "(*(uint *)(param_3 + 0x28) & 0xe000) != 0" (parenthesized_expression "(*(uint *)(param_3 + 0x28) & 0xe000)" ( (binary_expression "*(uint *)(param_3 + 0x28) & 0xe000" (pointer_expression "*(uint *)(param_3 + 0x28)" * (cast_expression "(uint *)(param_3 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x28)" ( (binary_expression "param_3 + 0x28" identifier + number_literal) )))) & number_literal) )) != number_literal) )) || (parenthesized_expression "(-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))" ( (binary_expression "-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c)" number_literal < (pointer_expression "*(int *)(*(int *)(param_3 + 8) + 0x2c)" * (cast_expression "(int *)(*(int *)(param_3 + 8) + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_3 + 8) + 0x2c)" ( (binary_expression "*(int *)(param_3 + 8) + 0x2c" (pointer_expression "*(int *)(param_3 + 8)" * (cast_expression "(int *)(param_3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) + number_literal) ))))) ))) )) && (parenthesized_expression "(-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b))" ( (binary_expression "-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b)" number_literal < (cast_expression "(int)(*(uint *)(param_3 + 0x28) << 0x1b)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(*(uint *)(param_3 + 0x28) << 0x1b)" ( (binary_expression "*(uint *)(param_3 + 0x28) << 0x1b" (pointer_expression "*(uint *)(param_3 + 0x28)" * (cast_expression "(uint *)(param_3 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x28)" ( (binary_expression "param_3 + 0x28" identifier + number_literal) )))) << number_literal) )))) ))) )) (compound_statement "{\n        add_def(this,param_2,param_3,pcVar2,local_20[0]);\n        return;\n      }" { (expression_statement "add_def(this,param_2,param_3,pcVar2,local_20[0]);" (call_expression "add_def(this,param_2,param_3,pcVar2,local_20[0])" identifier (argument_list "(this,param_2,param_3,pcVar2,local_20[0])" ( identifier , identifier , identifier , identifier , (subscript_expression "local_20[0]" identifier [ number_literal ]) ))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar1 = get_dynobj_for_sym(this,param_1,param_3);" (assignment_expression "iVar1 = get_dynobj_for_sym(this,param_1,param_3)" identifier = (call_expression "get_dynobj_for_sym(this,param_1,param_3)" identifier (argument_list "(this,param_1,param_3)" ( identifier , identifier , identifier )))) ;) (expression_statement "add_need(this,param_2,*(char **)(iVar1 + 0x38),pcVar2,local_20[0]);" (call_expression "add_need(this,param_2,*(char **)(iVar1 + 0x38),pcVar2,local_20[0])" identifier (argument_list "(this,param_2,*(char **)(iVar1 + 0x38),pcVar2,local_20[0])" ( identifier , identifier , (pointer_expression "*(char **)(iVar1 + 0x38)" * (cast_expression "(char **)(iVar1 + 0x38)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x38)" ( (binary_expression "iVar1 + 0x38" identifier + number_literal) )))) , identifier , (subscript_expression "local_20[0]" identifier [ number_literal ]) ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar3 = 0x5f8;" (assignment_expression "uVar3 = 0x5f8" identifier = number_literal) ;) }) (else_clause "else {\n    uVar3 = 0x5f7;\n  }" else (compound_statement "{\n    uVar3 = 0x5f7;\n  }" { (expression_statement "uVar3 = 0x5f7;" (assignment_expression "uVar3 = 0x5f7" identifier = number_literal) ;) }))) (expression_statement "(*(code *)PTR_do_gold_unreachable_004323c4)\n            (PTR_DAT_0043226c + 0x13e0,uVar3,PTR_DAT_0043226c + 0x1a84);" (call_expression "(*(code *)PTR_do_gold_unreachable_004323c4)\n            (PTR_DAT_0043226c + 0x13e0,uVar3,PTR_DAT_0043226c + 0x1a84)" (parenthesized_expression "(*(code *)PTR_do_gold_unreachable_004323c4)" ( (pointer_expression "*(code *)PTR_do_gold_unreachable_004323c4" * (cast_expression "(code *)PTR_do_gold_unreachable_004323c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_0043226c + 0x13e0,uVar3,PTR_DAT_0043226c + 0x1a84)" ( (binary_expression "PTR_DAT_0043226c + 0x13e0" identifier + number_literal) , identifier , (binary_expression "PTR_DAT_0043226c + 0x1a84" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ms_call_modifier __thiscall) (ERROR IDENT : : IDENT : :) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (cast_expression ( (type_descriptor TYPE) ) LIT)) )) (compound_statement { (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 { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , LIT , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (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) )) || (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ))) )) && (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) << LIT) )))) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , (subscript_expression IDENT [ LIT ]) ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , (subscript_expression IDENT [ LIT ]) ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT , (binary_expression IDENT + LIT) ))) ;) (return_statement return ;) })))
(function_definition "void __thiscall\ngold::Versions::record_version\n          (Versions *this,Symbol_table *param_1,Stringpool_template *param_2,Symbol *param_3)\n\n{\n  int iVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  uint local_20 [2];\n  \n  if (this[0x34] == (Versions)0x0) {\n    pcVar2 = *(char **)(param_3 + 4);\n    if (pcVar2 != (char *)0x0) {\n      if (*pcVar2 == '\0') {\n        return;\n      }\n      pcVar2 = (char *)(*(code *)PTR_add_00432e80)(param_2,pcVar2,0,local_20);\n      if ((((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))) &&\n         (-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b))) {\n        add_def(this,param_2,param_3,pcVar2,local_20[0]);\n        return;\n      }\n      iVar1 = get_dynobj_for_sym(this,param_1,param_3);\n      add_need(this,param_2,*(char **)(iVar1 + 0x38),pcVar2,local_20[0]);\n      return;\n    }\n    uVar3 = 0x5f8;\n  }\n  else {\n    uVar3 = 0x5f7;\n  }\n  (*(code *)PTR_do_gold_unreachable_004323c4)\n            (PTR_DAT_0043226c + 0x13e0,uVar3,PTR_DAT_0043226c + 0x1a84);\n  return;\n}" (primitive_type "void") (ms_call_modifier "__thiscall" (__thiscall "__thiscall")) (ERROR "gold::Versions::" (identifier "gold") (: ":") (: ":") (identifier "Versions") (: ":") (: ":")) (function_declarator "record_version\n          (Versions *this,Symbol_table *param_1,Stringpool_template *param_2,Symbol *param_3)" (identifier "record_version") (parameter_list "(Versions *this,Symbol_table *param_1,Stringpool_template *param_2,Symbol *param_3)" (( "(") (parameter_declaration "Versions *this" (type_identifier "Versions") (pointer_declarator "*this" (* "*") (identifier "this"))) (, ",") (parameter_declaration "Symbol_table *param_1" (type_identifier "Symbol_table") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "Stringpool_template *param_2" (type_identifier "Stringpool_template") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "Symbol *param_3" (type_identifier "Symbol") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  uint local_20 [2];\n  \n  if (this[0x34] == (Versions)0x0) {\n    pcVar2 = *(char **)(param_3 + 4);\n    if (pcVar2 != (char *)0x0) {\n      if (*pcVar2 == '\0') {\n        return;\n      }\n      pcVar2 = (char *)(*(code *)PTR_add_00432e80)(param_2,pcVar2,0,local_20);\n      if ((((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))) &&\n         (-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b))) {\n        add_def(this,param_2,param_3,pcVar2,local_20[0]);\n        return;\n      }\n      iVar1 = get_dynobj_for_sym(this,param_1,param_3);\n      add_need(this,param_2,*(char **)(iVar1 + 0x38),pcVar2,local_20[0]);\n      return;\n    }\n    uVar3 = 0x5f8;\n  }\n  else {\n    uVar3 = 0x5f7;\n  }\n  (*(code *)PTR_do_gold_unreachable_004323c4)\n            (PTR_DAT_0043226c + 0x13e0,uVar3,PTR_DAT_0043226c + 0x1a84);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "uint local_20 [2];" (type_identifier "uint") (array_declarator "local_20 [2]" (identifier "local_20") ([ "[") (number_literal "2") (] "]")) (; ";")) (if_statement "if (this[0x34] == (Versions)0x0) {\n    pcVar2 = *(char **)(param_3 + 4);\n    if (pcVar2 != (char *)0x0) {\n      if (*pcVar2 == '\0') {\n        return;\n      }\n      pcVar2 = (char *)(*(code *)PTR_add_00432e80)(param_2,pcVar2,0,local_20);\n      if ((((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))) &&\n         (-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b))) {\n        add_def(this,param_2,param_3,pcVar2,local_20[0]);\n        return;\n      }\n      iVar1 = get_dynobj_for_sym(this,param_1,param_3);\n      add_need(this,param_2,*(char **)(iVar1 + 0x38),pcVar2,local_20[0]);\n      return;\n    }\n    uVar3 = 0x5f8;\n  }\n  else {\n    uVar3 = 0x5f7;\n  }" (if "if") (parenthesized_expression "(this[0x34] == (Versions)0x0)" (( "(") (binary_expression "this[0x34] == (Versions)0x0" (subscript_expression "this[0x34]" (identifier "this") ([ "[") (number_literal "0x34") (] "]")) (== "==") (cast_expression "(Versions)0x0" (( "(") (type_descriptor "Versions" (type_identifier "Versions")) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    pcVar2 = *(char **)(param_3 + 4);\n    if (pcVar2 != (char *)0x0) {\n      if (*pcVar2 == '\0') {\n        return;\n      }\n      pcVar2 = (char *)(*(code *)PTR_add_00432e80)(param_2,pcVar2,0,local_20);\n      if ((((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))) &&\n         (-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b))) {\n        add_def(this,param_2,param_3,pcVar2,local_20[0]);\n        return;\n      }\n      iVar1 = get_dynobj_for_sym(this,param_1,param_3);\n      add_need(this,param_2,*(char **)(iVar1 + 0x38),pcVar2,local_20[0]);\n      return;\n    }\n    uVar3 = 0x5f8;\n  }" ({ "{") (expression_statement "pcVar2 = *(char **)(param_3 + 4);" (assignment_expression "pcVar2 = *(char **)(param_3 + 4)" (identifier "pcVar2") (= "=") (pointer_expression "*(char **)(param_3 + 4)" (* "*") (cast_expression "(char **)(param_3 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_3 + 4)" (( "(") (binary_expression "param_3 + 4" (identifier "param_3") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (pcVar2 != (char *)0x0) {\n      if (*pcVar2 == '\0') {\n        return;\n      }\n      pcVar2 = (char *)(*(code *)PTR_add_00432e80)(param_2,pcVar2,0,local_20);\n      if ((((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))) &&\n         (-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b))) {\n        add_def(this,param_2,param_3,pcVar2,local_20[0]);\n        return;\n      }\n      iVar1 = get_dynobj_for_sym(this,param_1,param_3);\n      add_need(this,param_2,*(char **)(iVar1 + 0x38),pcVar2,local_20[0]);\n      return;\n    }" (if "if") (parenthesized_expression "(pcVar2 != (char *)0x0)" (( "(") (binary_expression "pcVar2 != (char *)0x0" (identifier "pcVar2") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      if (*pcVar2 == '\0') {\n        return;\n      }\n      pcVar2 = (char *)(*(code *)PTR_add_00432e80)(param_2,pcVar2,0,local_20);\n      if ((((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))) &&\n         (-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b))) {\n        add_def(this,param_2,param_3,pcVar2,local_20[0]);\n        return;\n      }\n      iVar1 = get_dynobj_for_sym(this,param_1,param_3);\n      add_need(this,param_2,*(char **)(iVar1 + 0x38),pcVar2,local_20[0]);\n      return;\n    }" ({ "{") (if_statement "if (*pcVar2 == '\0') {\n        return;\n      }" (if "if") (parenthesized_expression "(*pcVar2 == '\0')" (( "(") (binary_expression "*pcVar2 == '\0'" (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "pcVar2 = (char *)(*(code *)PTR_add_00432e80)(param_2,pcVar2,0,local_20);" (assignment_expression "pcVar2 = (char *)(*(code *)PTR_add_00432e80)(param_2,pcVar2,0,local_20)" (identifier "pcVar2") (= "=") (cast_expression "(char *)(*(code *)PTR_add_00432e80)(param_2,pcVar2,0,local_20)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_add_00432e80)(param_2,pcVar2,0,local_20)" (parenthesized_expression "(*(code *)PTR_add_00432e80)" (( "(") (pointer_expression "*(code *)PTR_add_00432e80" (* "*") (cast_expression "(code *)PTR_add_00432e80" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_add_00432e80"))) () ")")) (argument_list "(param_2,pcVar2,0,local_20)" (( "(") (identifier "param_2") (, ",") (identifier "pcVar2") (, ",") (number_literal "0") (, ",") (identifier "local_20") () ")"))))) (; ";")) (if_statement "if ((((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))) &&\n         (-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b))) {\n        add_def(this,param_2,param_3,pcVar2,local_20[0]);\n        return;\n      }" (if "if") (parenthesized_expression "((((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))) &&\n         (-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b)))" (( "(") (binary_expression "(((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))) &&\n         (-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b))" (parenthesized_expression "(((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c)))" (( "(") (binary_expression "((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||\n          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))" (parenthesized_expression "((*(uint *)(param_3 + 0x28) & 0xe000) != 0)" (( "(") (binary_expression "(*(uint *)(param_3 + 0x28) & 0xe000) != 0" (parenthesized_expression "(*(uint *)(param_3 + 0x28) & 0xe000)" (( "(") (binary_expression "*(uint *)(param_3 + 0x28) & 0xe000" (pointer_expression "*(uint *)(param_3 + 0x28)" (* "*") (cast_expression "(uint *)(param_3 + 0x28)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x28)" (( "(") (binary_expression "param_3 + 0x28" (identifier "param_3") (+ "+") (number_literal "0x28")) () ")")))) (& "&") (number_literal "0xe000")) () ")")) (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))" (( "(") (binary_expression "-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c)" (number_literal "-1") (< "<") (pointer_expression "*(int *)(*(int *)(param_3 + 8) + 0x2c)" (* "*") (cast_expression "(int *)(*(int *)(param_3 + 8) + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_3 + 8) + 0x2c)" (( "(") (binary_expression "*(int *)(param_3 + 8) + 0x2c" (pointer_expression "*(int *)(param_3 + 8)" (* "*") (cast_expression "(int *)(param_3 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 8)" (( "(") (binary_expression "param_3 + 8" (identifier "param_3") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x2c")) () ")"))))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b))" (( "(") (binary_expression "-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b)" (number_literal "-1") (< "<") (cast_expression "(int)(*(uint *)(param_3 + 0x28) << 0x1b)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(*(uint *)(param_3 + 0x28) << 0x1b)" (( "(") (binary_expression "*(uint *)(param_3 + 0x28) << 0x1b" (pointer_expression "*(uint *)(param_3 + 0x28)" (* "*") (cast_expression "(uint *)(param_3 + 0x28)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x28)" (( "(") (binary_expression "param_3 + 0x28" (identifier "param_3") (+ "+") (number_literal "0x28")) () ")")))) (<< "<<") (number_literal "0x1b")) () ")")))) () ")"))) () ")")) (compound_statement "{\n        add_def(this,param_2,param_3,pcVar2,local_20[0]);\n        return;\n      }" ({ "{") (expression_statement "add_def(this,param_2,param_3,pcVar2,local_20[0]);" (call_expression "add_def(this,param_2,param_3,pcVar2,local_20[0])" (identifier "add_def") (argument_list "(this,param_2,param_3,pcVar2,local_20[0])" (( "(") (identifier "this") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "pcVar2") (, ",") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar1 = get_dynobj_for_sym(this,param_1,param_3);" (assignment_expression "iVar1 = get_dynobj_for_sym(this,param_1,param_3)" (identifier "iVar1") (= "=") (call_expression "get_dynobj_for_sym(this,param_1,param_3)" (identifier "get_dynobj_for_sym") (argument_list "(this,param_1,param_3)" (( "(") (identifier "this") (, ",") (identifier "param_1") (, ",") (identifier "param_3") () ")")))) (; ";")) (expression_statement "add_need(this,param_2,*(char **)(iVar1 + 0x38),pcVar2,local_20[0]);" (call_expression "add_need(this,param_2,*(char **)(iVar1 + 0x38),pcVar2,local_20[0])" (identifier "add_need") (argument_list "(this,param_2,*(char **)(iVar1 + 0x38),pcVar2,local_20[0])" (( "(") (identifier "this") (, ",") (identifier "param_2") (, ",") (pointer_expression "*(char **)(iVar1 + 0x38)" (* "*") (cast_expression "(char **)(iVar1 + 0x38)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar1 + 0x38)" (( "(") (binary_expression "iVar1 + 0x38" (identifier "iVar1") (+ "+") (number_literal "0x38")) () ")")))) (, ",") (identifier "pcVar2") (, ",") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar3 = 0x5f8;" (assignment_expression "uVar3 = 0x5f8" (identifier "uVar3") (= "=") (number_literal "0x5f8")) (; ";")) (} "}")) (else_clause "else {\n    uVar3 = 0x5f7;\n  }" (else "else") (compound_statement "{\n    uVar3 = 0x5f7;\n  }" ({ "{") (expression_statement "uVar3 = 0x5f7;" (assignment_expression "uVar3 = 0x5f7" (identifier "uVar3") (= "=") (number_literal "0x5f7")) (; ";")) (} "}")))) (expression_statement "(*(code *)PTR_do_gold_unreachable_004323c4)\n            (PTR_DAT_0043226c + 0x13e0,uVar3,PTR_DAT_0043226c + 0x1a84);" (call_expression "(*(code *)PTR_do_gold_unreachable_004323c4)\n            (PTR_DAT_0043226c + 0x13e0,uVar3,PTR_DAT_0043226c + 0x1a84)" (parenthesized_expression "(*(code *)PTR_do_gold_unreachable_004323c4)" (( "(") (pointer_expression "*(code *)PTR_do_gold_unreachable_004323c4" (* "*") (cast_expression "(code *)PTR_do_gold_unreachable_004323c4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_do_gold_unreachable_004323c4"))) () ")")) (argument_list "(PTR_DAT_0043226c + 0x13e0,uVar3,PTR_DAT_0043226c + 0x1a84)" (( "(") (binary_expression "PTR_DAT_0043226c + 0x13e0" (identifier "PTR_DAT_0043226c") (+ "+") (number_literal "0x13e0")) (, ",") (identifier "uVar3") (, ",") (binary_expression "PTR_DAT_0043226c + 0x1a84" (identifier "PTR_DAT_0043226c") (+ "+") (number_literal "0x1a84")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) (ms_call_modifier) (ERROR (identifier) (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (number_literal)))) consequence: (compound_statement (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 (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier) (number_literal) (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (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))) right: (parenthesized_expression (binary_expression left: (number_literal) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))))))) right: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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)))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier) (subscript_expression argument: (identifier) index: (number_literal))))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (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))))) (identifier) (subscript_expression argument: (identifier) index: (number_literal))))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier) (binary_expression left: (identifier) right: (number_literal))))) (return_statement))))

/* gold::Versions::MASKED(gold::Symbol_table const*, gold::Stringpool_template<char>*,
   gold::Symbol const*) */

void __thiscall
gold::Versions::MASKED
          (Versions *this,Symbol_table *param_1,Stringpool_template *param_2,Symbol *param_3)

{
  int iVar1;
  char *pcVar2;
  undefined4 uVar3;
  uint local_20 [2];
  
  if (this[0x34] == (Versions)0x0) {
    pcVar2 = *(char **)(param_3 + 4);
    if (pcVar2 != (char *)0x0) {
      if (*pcVar2 == '\0') {
        return;
      }
      pcVar2 = (char *)(*(code *)PTR_add_00432e80)(param_2,pcVar2,0,local_20);
      if ((((*(uint *)(param_3 + 0x28) & 0xe000) != 0) ||
          (-1 < *(int *)(*(int *)(param_3 + 8) + 0x2c))) &&
         (-1 < (int)(*(uint *)(param_3 + 0x28) << 0x1b))) {
        add_def(this,param_2,param_3,pcVar2,local_20[0]);
        return;
      }
      iVar1 = get_dynobj_for_sym(this,param_1,param_3);
      add_need(this,param_2,*(char **)(iVar1 + 0x38),pcVar2,local_20[0]);
      return;
    }
    uVar3 = 0x5f8;
  }
  else {
    uVar3 = 0x5f7;
  }
  (*(code *)PTR_do_gold_unreachable_004323c4)
            (PTR_DAT_0043226c + 0x13e0,uVar3,PTR_DAT_0043226c + 0x1a84);
  return;
}

