
/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */
/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */
/* WARNING: Struct "Output_section_headers": ignoring overlapping field "layout_" */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Struct "Output_reduced_debug_abbrev_section": ignoring overlapping field "data_" */
/* WARNING: Struct "Output_reduced_debug_info_section": ignoring overlapping field "data_" */
/* DWARF original prototype: bool add_global_plt(Output_data_got<32,_false> * this, Symbol * gsym,
   uint got_type) */

bool __thiscall
gold::Output_data_got<32,_false>::add_global_plt
          (Output_data_got<32,_false> *this,Symbol *gsym,uint got_type)

{
  Got_entry got_entry;
  Got_entry got_entry_00;
  uint uVar1;
  Got_offset_list *pGVar2;
  uint uVar3;
  Got_offset_list *pGVar4;
  int iVar5;
  undefined4 in_stack_ffffffd4;
  
  pGVar4 = &gsym->got_offsets_;
  iVar5 = 0x43a1d0;
  if (pGVar4 == (Got_offset_list *)0x0) {
    got_entry_00._0_12_ = ZEXT412(0x43a1d0);
    got_entry_00.addend_._4_4_ = in_stack_ffffffd4;
    uVar1 = add_got_entry(this,got_entry_00);
    if ((gsym->got_offsets_).got_type_ != 0xffffffff) goto LAB_001a6a14;
  }
  else {
    uVar1 = (gsym->got_offsets_).got_type_;
    pGVar2 = pGVar4;
    while (got_type != uVar1) {
      pGVar2 = pGVar2->got_next_;
      if (pGVar2 == (Got_offset_list *)0x0) goto LAB_001a6944;
      uVar1 = pGVar2->got_type_;
    }
    if (pGVar2->got_offset_ != 0xffffffff) {
      return false;
    }
LAB_001a6944:
    got_entry._0_12_ = ZEXT412(0x43a1d0);
    got_entry.addend_._4_4_ = in_stack_ffffffd4;
    uVar1 = add_got_entry(this,got_entry);
    uVar3 = (gsym->got_offsets_).got_type_;
    if (uVar3 != 0xffffffff) {
      while( true ) {
        if (got_type == uVar3) {
          pGVar4->got_offset_ = uVar1;
          return true;
        }
        pGVar4 = pGVar4->got_next_;
        if (pGVar4 == (Got_offset_list *)0x0) break;
        uVar3 = pGVar4->got_type_;
      }
LAB_001a6a14:
      pGVar4 = (Got_offset_list *)(**(code **)(iVar5 + -0x7e94))(0xc);
      pGVar2 = (gsym->got_offsets_).got_next_;
      pGVar4->got_type_ = got_type;
      pGVar4->got_offset_ = uVar1;
      (gsym->got_offsets_).got_next_ = pGVar4;
      pGVar4->got_next_ = pGVar2;
      return true;
    }
  }
  (gsym->got_offsets_).got_type_ = got_type;
  (gsym->got_offsets_).got_offset_ = uVar1;
  return true;
}



/* gold::Output_data_got<32, false>::add_global_plt(gold::Symbol*, unsigned int) */

undefined4 __thiscall
gold::Output_data_got<32,false>::add_global_plt
          (Output_data_got<32,false> *this,Symbol *param_1,uint param_2)

{
  uint uVar1;
  Symbol *pSVar2;
  uint *puVar3;
  uint uVar4;
  Symbol *pSVar5;
  
  pSVar5 = param_1 + 0x1c;
  if (pSVar5 == (Symbol *)0x0) {
    uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0);
    if (*(int *)(param_1 + 0x1c) != -1) goto LAB_001a6a14;
  }
  else {
    uVar1 = *(uint *)(param_1 + 0x1c);
    pSVar2 = pSVar5;
    while (param_2 != uVar1) {
      pSVar2 = *(Symbol **)(pSVar2 + 8);
      if (pSVar2 == (Symbol *)0x0) goto LAB_001a6944;
      uVar1 = *(uint *)pSVar2;
    }
    if (*(int *)(pSVar2 + 4) != -1) {
      return 0;
    }
LAB_001a6944:
    uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0);
    uVar4 = *(uint *)(param_1 + 0x1c);
    if (uVar4 != 0xffffffff) {
      while( true ) {
        if (param_2 == uVar4) {
          *(uint *)(pSVar5 + 4) = uVar1;
          return 1;
        }
        pSVar5 = *(Symbol **)(pSVar5 + 8);
        if (pSVar5 == (Symbol *)0x0) break;
        uVar4 = *(uint *)pSVar5;
      }
LAB_001a6a14:
      puVar3 = (uint *)(*(code *)PTR_operator_new_0043233c)(0xc);
      uVar4 = *(uint *)(param_1 + 0x24);
      *puVar3 = param_2;
      puVar3[1] = uVar1;
      *(uint **)(param_1 + 0x24) = puVar3;
      puVar3[2] = uVar4;
      return 1;
    }
  }
  *(uint *)(param_1 + 0x1c) = param_2;
  *(uint *)(param_1 + 0x20) = uVar1;
  return 1;
}


lui gp,0x29
addiu gp,gp,0x38ec
addu gp,gp,t9
addiu sp,sp,-0x48
sw s1,0x38(sp)
addiu s1,a1,0x1c
sw gp,0x18(sp)
sw s0,0x34(sp)
or s0,a2,zero
sw ra,0x44(sp)
sw s3,0x40(sp)
beq s1,zero,0x001a6a60
_sw s2,0x3c(sp)
lw v0,0x1c(a1)
beq a2,v0,0x001a69c8
_or t0,a0,zero
b 0x001a6938
_or v0,s1,zero
lw v1,0x0(v0)
beq s0,v1,0x001a69cc
_nop
lw v0,0x8(v0)
bne v0,zero,0x001a692c
_nop
or v0,zero,zero
lw t9,-0x5760(gp)
or v1,zero,zero
sw a1,0x20(sp)
sw v0,0x28(sp)
li s2,-0x1
sw v1,0x2c(sp)
li a3,-0x1
lw v0,0x28(sp)
or a2,a1,zero
sw a1,0x4c(sp)
or a0,t0,zero
sw s2,0x24(sp)
sw v0,0x10(sp)
lw v0,0x2c(sp)
bal 0x001a652c
_sw v0,0x14(sp)
lw a1,0x4c(sp)
or s3,v0,zero
lw v1,0x1c(a1)
beq v1,s2,0x001a6aac
_lw gp,0x18(sp)
bne s0,v1,0x001a6a08
_lw ra,0x44(sp)
li v1,0x1
lw s2,0x3c(sp)
lw s0,0x34(sp)
or v0,v1,zero
sw s3,0x4(s1)
lw s3,0x40(sp)
lw s1,0x38(sp)
jr ra
_addiu sp,sp,0x48
or v0,s1,zero
lw a0,0x4(v0)
li v0,-0x1
beq a0,v0,0x001a6944
_or v1,zero,zero
lw ra,0x44(sp)
or v0,v1,zero
lw s3,0x40(sp)
lw s2,0x3c(sp)
lw s1,0x38(sp)
lw s0,0x34(sp)
jr ra
_addiu sp,sp,0x48
lw v0,0x0(s1)
beq s0,v0,0x001a69a4
_lw ra,0x44(sp)
lw s1,0x8(s1)
bne s1,zero,0x001a69fc
_nop
lw t9,-0x7e94(gp)
li a0,0xc
jalr t9
_sw a1,0x4c(sp)
li v1,0x1
lw a1,0x4c(sp)
lw ra,0x44(sp)
lw s2,0x3c(sp)
lw s1,0x38(sp)
lw a0,0x24(a1)
sw s0,0x0(v0)
sw s3,0x4(v0)
sw v0,0x24(a1)
sw a0,0x8(v0)
or v0,v1,zero
lw s3,0x40(sp)
lw s0,0x34(sp)
jr ra
_addiu sp,sp,0x48
or v0,zero,zero
lw t9,-0x5760(gp)
or v1,zero,zero
sw a1,0x4c(sp)
sw v0,0x28(sp)
li a3,-0x1
sw v1,0x2c(sp)
or a2,a1,zero
lw v0,0x28(sp)
li s1,-0x1
sw v0,0x10(sp)
lw v0,0x2c(sp)
bal 0x001a652c
_sw v0,0x14(sp)
lw a1,0x4c(sp)
or s3,v0,zero
lw v1,0x1c(a1)
bne v1,s1,0x001a6a14
_lw gp,0x18(sp)
lw ra,0x44(sp)
li v1,0x1
lw s2,0x3c(sp)
lw s1,0x38(sp)
or v0,v1,zero
sw s0,0x1c(a1)
sw s3,0x20(a1)
lw s0,0x34(sp)
lw s3,0x40(sp)
jr ra
_addiu sp,sp,0x48
(translation_unit "/* gold::Output_data_got<32, false>::add_global_plt(gold::Symbol*, unsigned int) */\n\nundefined4 __thiscall\ngold::Output_data_got<32,false>::add_global_plt\n          (Output_data_got<32,false> *this,Symbol *param_1,uint param_2)\n\n{\n  uint uVar1;\n  Symbol *pSVar2;\n  uint *puVar3;\n  uint uVar4;\n  Symbol *pSVar5;\n  \n  pSVar5 = param_1 + 0x1c;\n  if (pSVar5 == (Symbol *)0x0) {\n    uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0);\n    if (*(int *)(param_1 + 0x1c) != -1) goto LAB_001a6a14;\n  }\n  else {\n    uVar1 = *(uint *)(param_1 + 0x1c);\n    pSVar2 = pSVar5;\n    while (param_2 != uVar1) {\n      pSVar2 = *(Symbol **)(pSVar2 + 8);\n      if (pSVar2 == (Symbol *)0x0) goto LAB_001a6944;\n      uVar1 = *(uint *)pSVar2;\n    }\n    if (*(int *)(pSVar2 + 4) != -1) {\n      return 0;\n    }\nLAB_001a6944:\n    uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0);\n    uVar4 = *(uint *)(param_1 + 0x1c);\n    if (uVar4 != 0xffffffff) {\n      while( true ) {\n        if (param_2 == uVar4) {\n          *(uint *)(pSVar5 + 4) = uVar1;\n          return 1;\n        }\n        pSVar5 = *(Symbol **)(pSVar5 + 8);\n        if (pSVar5 == (Symbol *)0x0) break;\n        uVar4 = *(uint *)pSVar5;\n      }\nLAB_001a6a14:\n      puVar3 = (uint *)(*(code *)PTR_operator_new_0043233c)(0xc);\n      uVar4 = *(uint *)(param_1 + 0x24);\n      *puVar3 = param_2;\n      puVar3[1] = uVar1;\n      *(uint **)(param_1 + 0x24) = puVar3;\n      puVar3[2] = uVar4;\n      return 1;\n    }\n  }\n  *(uint *)(param_1 + 0x1c) = param_2;\n  *(uint *)(param_1 + 0x20) = uVar1;\n  return 1;\n}\n\n" comment (declaration "undefined4 __thiscall\ngold::Output_data_got<32,false>::add_global_plt\n          (Output_data_got<32,false> *this,Symbol *param_1,uint param_2)\n\n{\n  uint uVar1;" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "false>::add_global_plt\n          (Output_data_got<32,false> *this,Symbol *param_1,uint param_2)\n\n{\n  uint" identifier > : : (function_declarator "add_global_plt\n          (Output_data_got<32,false> *this,Symbol *param_1,uint param_2)" identifier (parameter_list "(Output_data_got<32,false> *this,Symbol *param_1,uint param_2)" ( (parameter_declaration "Output_data_got" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Symbol *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) { identifier) identifier ;) (declaration "Symbol *pSVar2;" type_identifier (pointer_declarator "*pSVar2" * identifier) ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "Symbol *pSVar5;" type_identifier (pointer_declarator "*pSVar5" * identifier) ;) (expression_statement "pSVar5 = param_1 + 0x1c;" (assignment_expression "pSVar5 = param_1 + 0x1c" identifier = (binary_expression "param_1 + 0x1c" identifier + number_literal)) ;) (if_statement "if (pSVar5 == (Symbol *)0x0) {\n    uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0);\n    if (*(int *)(param_1 + 0x1c) != -1) goto LAB_001a6a14;\n  }\n  else {\n    uVar1 = *(uint *)(param_1 + 0x1c);\n    pSVar2 = pSVar5;\n    while (param_2 != uVar1) {\n      pSVar2 = *(Symbol **)(pSVar2 + 8);\n      if (pSVar2 == (Symbol *)0x0) goto LAB_001a6944;\n      uVar1 = *(uint *)pSVar2;\n    }\n    if (*(int *)(pSVar2 + 4) != -1) {\n      return 0;\n    }\nLAB_001a6944:\n    uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0);\n    uVar4 = *(uint *)(param_1 + 0x1c);\n    if (uVar4 != 0xffffffff) {\n      while( true ) {\n        if (param_2 == uVar4) {\n          *(uint *)(pSVar5 + 4) = uVar1;\n          return 1;\n        }\n        pSVar5 = *(Symbol **)(pSVar5 + 8);\n        if (pSVar5 == (Symbol *)0x0) break;\n        uVar4 = *(uint *)pSVar5;\n      }\nLAB_001a6a14:\n      puVar3 = (uint *)(*(code *)PTR_operator_new_0043233c)(0xc);\n      uVar4 = *(uint *)(param_1 + 0x24);\n      *puVar3 = param_2;\n      puVar3[1] = uVar1;\n      *(uint **)(param_1 + 0x24) = puVar3;\n      puVar3[2] = uVar4;\n      return 1;\n    }\n  }" if (parenthesized_expression "(pSVar5 == (Symbol *)0x0)" ( (binary_expression "pSVar5 == (Symbol *)0x0" identifier == (cast_expression "(Symbol *)0x0" ( (type_descriptor "Symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0);\n    if (*(int *)(param_1 + 0x1c) != -1) goto LAB_001a6a14;\n  }" { (expression_statement "uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0);" (assignment_expression "uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0)" identifier = (call_expression "add_got_entry(this,param_1,param_1,0xffffffff,0,0)" identifier (argument_list "(this,param_1,param_1,0xffffffff,0,0)" ( identifier , identifier , identifier , number_literal , number_literal , number_literal )))) ;) (if_statement "if (*(int *)(param_1 + 0x1c) != -1) goto LAB_001a6a14;" if (parenthesized_expression "(*(int *)(param_1 + 0x1c) != -1)" ( (binary_expression "*(int *)(param_1 + 0x1c) != -1" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) != number_literal) )) (goto_statement "goto LAB_001a6a14;" goto statement_identifier ;)) }) (else_clause "else {\n    uVar1 = *(uint *)(param_1 + 0x1c);\n    pSVar2 = pSVar5;\n    while (param_2 != uVar1) {\n      pSVar2 = *(Symbol **)(pSVar2 + 8);\n      if (pSVar2 == (Symbol *)0x0) goto LAB_001a6944;\n      uVar1 = *(uint *)pSVar2;\n    }\n    if (*(int *)(pSVar2 + 4) != -1) {\n      return 0;\n    }\nLAB_001a6944:\n    uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0);\n    uVar4 = *(uint *)(param_1 + 0x1c);\n    if (uVar4 != 0xffffffff) {\n      while( true ) {\n        if (param_2 == uVar4) {\n          *(uint *)(pSVar5 + 4) = uVar1;\n          return 1;\n        }\n        pSVar5 = *(Symbol **)(pSVar5 + 8);\n        if (pSVar5 == (Symbol *)0x0) break;\n        uVar4 = *(uint *)pSVar5;\n      }\nLAB_001a6a14:\n      puVar3 = (uint *)(*(code *)PTR_operator_new_0043233c)(0xc);\n      uVar4 = *(uint *)(param_1 + 0x24);\n      *puVar3 = param_2;\n      puVar3[1] = uVar1;\n      *(uint **)(param_1 + 0x24) = puVar3;\n      puVar3[2] = uVar4;\n      return 1;\n    }\n  }" else (compound_statement "{\n    uVar1 = *(uint *)(param_1 + 0x1c);\n    pSVar2 = pSVar5;\n    while (param_2 != uVar1) {\n      pSVar2 = *(Symbol **)(pSVar2 + 8);\n      if (pSVar2 == (Symbol *)0x0) goto LAB_001a6944;\n      uVar1 = *(uint *)pSVar2;\n    }\n    if (*(int *)(pSVar2 + 4) != -1) {\n      return 0;\n    }\nLAB_001a6944:\n    uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0);\n    uVar4 = *(uint *)(param_1 + 0x1c);\n    if (uVar4 != 0xffffffff) {\n      while( true ) {\n        if (param_2 == uVar4) {\n          *(uint *)(pSVar5 + 4) = uVar1;\n          return 1;\n        }\n        pSVar5 = *(Symbol **)(pSVar5 + 8);\n        if (pSVar5 == (Symbol *)0x0) break;\n        uVar4 = *(uint *)pSVar5;\n      }\nLAB_001a6a14:\n      puVar3 = (uint *)(*(code *)PTR_operator_new_0043233c)(0xc);\n      uVar4 = *(uint *)(param_1 + 0x24);\n      *puVar3 = param_2;\n      puVar3[1] = uVar1;\n      *(uint **)(param_1 + 0x24) = puVar3;\n      puVar3[2] = uVar4;\n      return 1;\n    }\n  }" { (expression_statement "uVar1 = *(uint *)(param_1 + 0x1c);" (assignment_expression "uVar1 = *(uint *)(param_1 + 0x1c)" identifier = (pointer_expression "*(uint *)(param_1 + 0x1c)" * (cast_expression "(uint *)(param_1 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "pSVar2 = pSVar5;" (assignment_expression "pSVar2 = pSVar5" identifier = identifier) ;) (while_statement "while (param_2 != uVar1) {\n      pSVar2 = *(Symbol **)(pSVar2 + 8);\n      if (pSVar2 == (Symbol *)0x0) goto LAB_001a6944;\n      uVar1 = *(uint *)pSVar2;\n    }" while (parenthesized_expression "(param_2 != uVar1)" ( (binary_expression "param_2 != uVar1" identifier != identifier) )) (compound_statement "{\n      pSVar2 = *(Symbol **)(pSVar2 + 8);\n      if (pSVar2 == (Symbol *)0x0) goto LAB_001a6944;\n      uVar1 = *(uint *)pSVar2;\n    }" { (expression_statement "pSVar2 = *(Symbol **)(pSVar2 + 8);" (assignment_expression "pSVar2 = *(Symbol **)(pSVar2 + 8)" identifier = (pointer_expression "*(Symbol **)(pSVar2 + 8)" * (cast_expression "(Symbol **)(pSVar2 + 8)" ( (type_descriptor "Symbol **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pSVar2 + 8)" ( (binary_expression "pSVar2 + 8" identifier + number_literal) ))))) ;) (if_statement "if (pSVar2 == (Symbol *)0x0) goto LAB_001a6944;" if (parenthesized_expression "(pSVar2 == (Symbol *)0x0)" ( (binary_expression "pSVar2 == (Symbol *)0x0" identifier == (cast_expression "(Symbol *)0x0" ( (type_descriptor "Symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_001a6944;" goto statement_identifier ;)) (expression_statement "uVar1 = *(uint *)pSVar2;" (assignment_expression "uVar1 = *(uint *)pSVar2" identifier = (pointer_expression "*(uint *)pSVar2" * (cast_expression "(uint *)pSVar2" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) })) (if_statement "if (*(int *)(pSVar2 + 4) != -1) {\n      return 0;\n    }" if (parenthesized_expression "(*(int *)(pSVar2 + 4) != -1)" ( (binary_expression "*(int *)(pSVar2 + 4) != -1" (pointer_expression "*(int *)(pSVar2 + 4)" * (cast_expression "(int *)(pSVar2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pSVar2 + 4)" ( (binary_expression "pSVar2 + 4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (labeled_statement "LAB_001a6944:\n    uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0);" statement_identifier : (expression_statement "uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0);" (assignment_expression "uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0)" identifier = (call_expression "add_got_entry(this,param_1,param_1,0xffffffff,0,0)" identifier (argument_list "(this,param_1,param_1,0xffffffff,0,0)" ( identifier , identifier , identifier , number_literal , number_literal , number_literal )))) ;)) (expression_statement "uVar4 = *(uint *)(param_1 + 0x1c);" (assignment_expression "uVar4 = *(uint *)(param_1 + 0x1c)" identifier = (pointer_expression "*(uint *)(param_1 + 0x1c)" * (cast_expression "(uint *)(param_1 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (uVar4 != 0xffffffff) {\n      while( true ) {\n        if (param_2 == uVar4) {\n          *(uint *)(pSVar5 + 4) = uVar1;\n          return 1;\n        }\n        pSVar5 = *(Symbol **)(pSVar5 + 8);\n        if (pSVar5 == (Symbol *)0x0) break;\n        uVar4 = *(uint *)pSVar5;\n      }\nLAB_001a6a14:\n      puVar3 = (uint *)(*(code *)PTR_operator_new_0043233c)(0xc);\n      uVar4 = *(uint *)(param_1 + 0x24);\n      *puVar3 = param_2;\n      puVar3[1] = uVar1;\n      *(uint **)(param_1 + 0x24) = puVar3;\n      puVar3[2] = uVar4;\n      return 1;\n    }" if (parenthesized_expression "(uVar4 != 0xffffffff)" ( (binary_expression "uVar4 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\n      while( true ) {\n        if (param_2 == uVar4) {\n          *(uint *)(pSVar5 + 4) = uVar1;\n          return 1;\n        }\n        pSVar5 = *(Symbol **)(pSVar5 + 8);\n        if (pSVar5 == (Symbol *)0x0) break;\n        uVar4 = *(uint *)pSVar5;\n      }\nLAB_001a6a14:\n      puVar3 = (uint *)(*(code *)PTR_operator_new_0043233c)(0xc);\n      uVar4 = *(uint *)(param_1 + 0x24);\n      *puVar3 = param_2;\n      puVar3[1] = uVar1;\n      *(uint **)(param_1 + 0x24) = puVar3;\n      puVar3[2] = uVar4;\n      return 1;\n    }" { (while_statement "while( true ) {\n        if (param_2 == uVar4) {\n          *(uint *)(pSVar5 + 4) = uVar1;\n          return 1;\n        }\n        pSVar5 = *(Symbol **)(pSVar5 + 8);\n        if (pSVar5 == (Symbol *)0x0) break;\n        uVar4 = *(uint *)pSVar5;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        if (param_2 == uVar4) {\n          *(uint *)(pSVar5 + 4) = uVar1;\n          return 1;\n        }\n        pSVar5 = *(Symbol **)(pSVar5 + 8);\n        if (pSVar5 == (Symbol *)0x0) break;\n        uVar4 = *(uint *)pSVar5;\n      }" { (if_statement "if (param_2 == uVar4) {\n          *(uint *)(pSVar5 + 4) = uVar1;\n          return 1;\n        }" if (parenthesized_expression "(param_2 == uVar4)" ( (binary_expression "param_2 == uVar4" identifier == identifier) )) (compound_statement "{\n          *(uint *)(pSVar5 + 4) = uVar1;\n          return 1;\n        }" { (expression_statement "*(uint *)(pSVar5 + 4) = uVar1;" (assignment_expression "*(uint *)(pSVar5 + 4) = uVar1" (pointer_expression "*(uint *)(pSVar5 + 4)" * (cast_expression "(uint *)(pSVar5 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pSVar5 + 4)" ( (binary_expression "pSVar5 + 4" identifier + number_literal) )))) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "pSVar5 = *(Symbol **)(pSVar5 + 8);" (assignment_expression "pSVar5 = *(Symbol **)(pSVar5 + 8)" identifier = (pointer_expression "*(Symbol **)(pSVar5 + 8)" * (cast_expression "(Symbol **)(pSVar5 + 8)" ( (type_descriptor "Symbol **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pSVar5 + 8)" ( (binary_expression "pSVar5 + 8" identifier + number_literal) ))))) ;) (if_statement "if (pSVar5 == (Symbol *)0x0) break;" if (parenthesized_expression "(pSVar5 == (Symbol *)0x0)" ( (binary_expression "pSVar5 == (Symbol *)0x0" identifier == (cast_expression "(Symbol *)0x0" ( (type_descriptor "Symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "uVar4 = *(uint *)pSVar5;" (assignment_expression "uVar4 = *(uint *)pSVar5" identifier = (pointer_expression "*(uint *)pSVar5" * (cast_expression "(uint *)pSVar5" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) })) (labeled_statement "LAB_001a6a14:\n      puVar3 = (uint *)(*(code *)PTR_operator_new_0043233c)(0xc);" statement_identifier : (expression_statement "puVar3 = (uint *)(*(code *)PTR_operator_new_0043233c)(0xc);" (assignment_expression "puVar3 = (uint *)(*(code *)PTR_operator_new_0043233c)(0xc)" identifier = (cast_expression "(uint *)(*(code *)PTR_operator_new_0043233c)(0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_operator_new_0043233c)(0xc)" (parenthesized_expression "(*(code *)PTR_operator_new_0043233c)" ( (pointer_expression "*(code *)PTR_operator_new_0043233c" * (cast_expression "(code *)PTR_operator_new_0043233c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xc)" ( number_literal ))))) ;)) (expression_statement "uVar4 = *(uint *)(param_1 + 0x24);" (assignment_expression "uVar4 = *(uint *)(param_1 + 0x24)" identifier = (pointer_expression "*(uint *)(param_1 + 0x24)" * (cast_expression "(uint *)(param_1 + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "*puVar3 = param_2;" (assignment_expression "*puVar3 = param_2" (pointer_expression "*puVar3" * identifier) = identifier) ;) (expression_statement "puVar3[1] = uVar1;" (assignment_expression "puVar3[1] = uVar1" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(uint **)(param_1 + 0x24) = puVar3;" (assignment_expression "*(uint **)(param_1 + 0x24) = puVar3" (pointer_expression "*(uint **)(param_1 + 0x24)" * (cast_expression "(uint **)(param_1 + 0x24)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar3[2] = uVar4;" (assignment_expression "puVar3[2] = uVar4" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) }))) (expression_statement "*(uint *)(param_1 + 0x1c) = param_2;" (assignment_expression "*(uint *)(param_1 + 0x1c) = param_2" (pointer_expression "*(uint *)(param_1 + 0x1c)" * (cast_expression "(uint *)(param_1 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(param_1 + 0x20) = uVar1;" (assignment_expression "*(uint *)(param_1 + 0x20) = uVar1" (pointer_expression "*(uint *)(param_1 + 0x20)" * (cast_expression "(uint *)(param_1 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) = identifier) ;) (return_statement "return 1;" return number_literal ;) (ERROR "}" }))
(translation_unit "/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */\n/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */\n/* WARNING: Struct "Output_section_headers": ignoring overlapping field "layout_" */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* WARNING: Struct "Output_reduced_debug_abbrev_section": ignoring overlapping field "data_" */\n/* WARNING: Struct "Output_reduced_debug_info_section": ignoring overlapping field "data_" */\n/* DWARF original prototype: bool add_global_plt(Output_data_got<32,_false> * this, Symbol * gsym,\n   uint got_type) */\n\nbool __thiscall\ngold::Output_data_got<32,_false>::add_global_plt\n          (Output_data_got<32,_false> *this,Symbol *gsym,uint got_type)\n\n{\n  Got_entry got_entry;\n  Got_entry got_entry_00;\n  uint uVar1;\n  Got_offset_list *pGVar2;\n  uint uVar3;\n  Got_offset_list *pGVar4;\n  int iVar5;\n  undefined4 in_stack_ffffffd4;\n  \n  pGVar4 = &gsym->got_offsets_;\n  iVar5 = 0x43a1d0;\n  if (pGVar4 == (Got_offset_list *)0x0) {\n    got_entry_00._0_12_ = ZEXT412(0x43a1d0);\n    got_entry_00.addend_._4_4_ = in_stack_ffffffd4;\n    uVar1 = add_got_entry(this,got_entry_00);\n    if ((gsym->got_offsets_).got_type_ != 0xffffffff) goto LAB_001a6a14;\n  }\n  else {\n    uVar1 = (gsym->got_offsets_).got_type_;\n    pGVar2 = pGVar4;\n    while (got_type != uVar1) {\n      pGVar2 = pGVar2->got_next_;\n      if (pGVar2 == (Got_offset_list *)0x0) goto LAB_001a6944;\n      uVar1 = pGVar2->got_type_;\n    }\n    if (pGVar2->got_offset_ != 0xffffffff) {\n      return false;\n    }\nLAB_001a6944:\n    got_entry._0_12_ = ZEXT412(0x43a1d0);\n    got_entry.addend_._4_4_ = in_stack_ffffffd4;\n    uVar1 = add_got_entry(this,got_entry);\n    uVar3 = (gsym->got_offsets_).got_type_;\n    if (uVar3 != 0xffffffff) {\n      while( true ) {\n        if (got_type == uVar3) {\n          pGVar4->got_offset_ = uVar1;\n          return true;\n        }\n        pGVar4 = pGVar4->got_next_;\n        if (pGVar4 == (Got_offset_list *)0x0) break;\n        uVar3 = pGVar4->got_type_;\n      }\nLAB_001a6a14:\n      pGVar4 = (Got_offset_list *)(**(code **)(iVar5 + -0x7e94))(0xc);\n      pGVar2 = (gsym->got_offsets_).got_next_;\n      pGVar4->got_type_ = got_type;\n      pGVar4->got_offset_ = uVar1;\n      (gsym->got_offsets_).got_next_ = pGVar4;\n      pGVar4->got_next_ = pGVar2;\n      return true;\n    }\n  }\n  (gsym->got_offsets_).got_type_ = got_type;\n  (gsym->got_offsets_).got_offset_ = uVar1;\n  return true;\n}\n\n" comment comment comment comment comment comment comment (declaration "bool __thiscall\ngold::Output_data_got<32,_false>::add_global_plt\n          (Output_data_got<32,_false> *this,Symbol *gsym,uint got_type)\n\n{\n  Got_entry got_entry;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_false>::add_global_plt\n          (Output_data_got<32,_false> *this,Symbol *gsym,uint got_type)\n\n{\n  Got_entry" identifier > : : (function_declarator "add_global_plt\n          (Output_data_got<32,_false> *this,Symbol *gsym,uint got_type)" identifier (parameter_list "(Output_data_got<32,_false> *this,Symbol *gsym,uint got_type)" ( (parameter_declaration "Output_data_got" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Symbol *gsym" type_identifier (pointer_declarator "*gsym" * identifier)) , (parameter_declaration "uint got_type" type_identifier identifier) ))) { identifier) identifier ;) (declaration "Got_entry got_entry_00;" type_identifier identifier ;) (declaration "uint uVar1;" type_identifier identifier ;) (declaration "Got_offset_list *pGVar2;" type_identifier (pointer_declarator "*pGVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "Got_offset_list *pGVar4;" type_identifier (pointer_declarator "*pGVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 in_stack_ffffffd4;" type_identifier identifier ;) (expression_statement "pGVar4 = &gsym->got_offsets_;" (assignment_expression "pGVar4 = &gsym->got_offsets_" identifier = (pointer_expression "&gsym->got_offsets_" & (field_expression "gsym->got_offsets_" identifier -> field_identifier))) ;) (expression_statement "iVar5 = 0x43a1d0;" (assignment_expression "iVar5 = 0x43a1d0" identifier = number_literal) ;) (if_statement "if (pGVar4 == (Got_offset_list *)0x0) {\n    got_entry_00._0_12_ = ZEXT412(0x43a1d0);\n    got_entry_00.addend_._4_4_ = in_stack_ffffffd4;\n    uVar1 = add_got_entry(this,got_entry_00);\n    if ((gsym->got_offsets_).got_type_ != 0xffffffff) goto LAB_001a6a14;\n  }\n  else {\n    uVar1 = (gsym->got_offsets_).got_type_;\n    pGVar2 = pGVar4;\n    while (got_type != uVar1) {\n      pGVar2 = pGVar2->got_next_;\n      if (pGVar2 == (Got_offset_list *)0x0) goto LAB_001a6944;\n      uVar1 = pGVar2->got_type_;\n    }\n    if (pGVar2->got_offset_ != 0xffffffff) {\n      return false;\n    }\nLAB_001a6944:\n    got_entry._0_12_ = ZEXT412(0x43a1d0);\n    got_entry.addend_._4_4_ = in_stack_ffffffd4;\n    uVar1 = add_got_entry(this,got_entry);\n    uVar3 = (gsym->got_offsets_).got_type_;\n    if (uVar3 != 0xffffffff) {\n      while( true ) {\n        if (got_type == uVar3) {\n          pGVar4->got_offset_ = uVar1;\n          return true;\n        }\n        pGVar4 = pGVar4->got_next_;\n        if (pGVar4 == (Got_offset_list *)0x0) break;\n        uVar3 = pGVar4->got_type_;\n      }\nLAB_001a6a14:\n      pGVar4 = (Got_offset_list *)(**(code **)(iVar5 + -0x7e94))(0xc);\n      pGVar2 = (gsym->got_offsets_).got_next_;\n      pGVar4->got_type_ = got_type;\n      pGVar4->got_offset_ = uVar1;\n      (gsym->got_offsets_).got_next_ = pGVar4;\n      pGVar4->got_next_ = pGVar2;\n      return true;\n    }\n  }" if (parenthesized_expression "(pGVar4 == (Got_offset_list *)0x0)" ( (binary_expression "pGVar4 == (Got_offset_list *)0x0" identifier == (cast_expression "(Got_offset_list *)0x0" ( (type_descriptor "Got_offset_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    got_entry_00._0_12_ = ZEXT412(0x43a1d0);\n    got_entry_00.addend_._4_4_ = in_stack_ffffffd4;\n    uVar1 = add_got_entry(this,got_entry_00);\n    if ((gsym->got_offsets_).got_type_ != 0xffffffff) goto LAB_001a6a14;\n  }" { (expression_statement "got_entry_00._0_12_ = ZEXT412(0x43a1d0);" (assignment_expression "got_entry_00._0_12_ = ZEXT412(0x43a1d0)" (field_expression "got_entry_00._0_12_" identifier . field_identifier) = (call_expression "ZEXT412(0x43a1d0)" identifier (argument_list "(0x43a1d0)" ( number_literal )))) ;) (expression_statement "got_entry_00.addend_._4_4_ = in_stack_ffffffd4;" (assignment_expression "got_entry_00.addend_._4_4_ = in_stack_ffffffd4" (field_expression "got_entry_00.addend_._4_4_" (field_expression "got_entry_00.addend_" identifier . field_identifier) . field_identifier) = identifier) ;) (expression_statement "uVar1 = add_got_entry(this,got_entry_00);" (assignment_expression "uVar1 = add_got_entry(this,got_entry_00)" identifier = (call_expression "add_got_entry(this,got_entry_00)" identifier (argument_list "(this,got_entry_00)" ( identifier , identifier )))) ;) (if_statement "if ((gsym->got_offsets_).got_type_ != 0xffffffff) goto LAB_001a6a14;" if (parenthesized_expression "((gsym->got_offsets_).got_type_ != 0xffffffff)" ( (binary_expression "(gsym->got_offsets_).got_type_ != 0xffffffff" (field_expression "(gsym->got_offsets_).got_type_" (parenthesized_expression "(gsym->got_offsets_)" ( (field_expression "gsym->got_offsets_" identifier -> field_identifier) )) . field_identifier) != number_literal) )) (goto_statement "goto LAB_001a6a14;" goto statement_identifier ;)) }) (else_clause "else {\n    uVar1 = (gsym->got_offsets_).got_type_;\n    pGVar2 = pGVar4;\n    while (got_type != uVar1) {\n      pGVar2 = pGVar2->got_next_;\n      if (pGVar2 == (Got_offset_list *)0x0) goto LAB_001a6944;\n      uVar1 = pGVar2->got_type_;\n    }\n    if (pGVar2->got_offset_ != 0xffffffff) {\n      return false;\n    }\nLAB_001a6944:\n    got_entry._0_12_ = ZEXT412(0x43a1d0);\n    got_entry.addend_._4_4_ = in_stack_ffffffd4;\n    uVar1 = add_got_entry(this,got_entry);\n    uVar3 = (gsym->got_offsets_).got_type_;\n    if (uVar3 != 0xffffffff) {\n      while( true ) {\n        if (got_type == uVar3) {\n          pGVar4->got_offset_ = uVar1;\n          return true;\n        }\n        pGVar4 = pGVar4->got_next_;\n        if (pGVar4 == (Got_offset_list *)0x0) break;\n        uVar3 = pGVar4->got_type_;\n      }\nLAB_001a6a14:\n      pGVar4 = (Got_offset_list *)(**(code **)(iVar5 + -0x7e94))(0xc);\n      pGVar2 = (gsym->got_offsets_).got_next_;\n      pGVar4->got_type_ = got_type;\n      pGVar4->got_offset_ = uVar1;\n      (gsym->got_offsets_).got_next_ = pGVar4;\n      pGVar4->got_next_ = pGVar2;\n      return true;\n    }\n  }" else (compound_statement "{\n    uVar1 = (gsym->got_offsets_).got_type_;\n    pGVar2 = pGVar4;\n    while (got_type != uVar1) {\n      pGVar2 = pGVar2->got_next_;\n      if (pGVar2 == (Got_offset_list *)0x0) goto LAB_001a6944;\n      uVar1 = pGVar2->got_type_;\n    }\n    if (pGVar2->got_offset_ != 0xffffffff) {\n      return false;\n    }\nLAB_001a6944:\n    got_entry._0_12_ = ZEXT412(0x43a1d0);\n    got_entry.addend_._4_4_ = in_stack_ffffffd4;\n    uVar1 = add_got_entry(this,got_entry);\n    uVar3 = (gsym->got_offsets_).got_type_;\n    if (uVar3 != 0xffffffff) {\n      while( true ) {\n        if (got_type == uVar3) {\n          pGVar4->got_offset_ = uVar1;\n          return true;\n        }\n        pGVar4 = pGVar4->got_next_;\n        if (pGVar4 == (Got_offset_list *)0x0) break;\n        uVar3 = pGVar4->got_type_;\n      }\nLAB_001a6a14:\n      pGVar4 = (Got_offset_list *)(**(code **)(iVar5 + -0x7e94))(0xc);\n      pGVar2 = (gsym->got_offsets_).got_next_;\n      pGVar4->got_type_ = got_type;\n      pGVar4->got_offset_ = uVar1;\n      (gsym->got_offsets_).got_next_ = pGVar4;\n      pGVar4->got_next_ = pGVar2;\n      return true;\n    }\n  }" { (expression_statement "uVar1 = (gsym->got_offsets_).got_type_;" (assignment_expression "uVar1 = (gsym->got_offsets_).got_type_" identifier = (field_expression "(gsym->got_offsets_).got_type_" (parenthesized_expression "(gsym->got_offsets_)" ( (field_expression "gsym->got_offsets_" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "pGVar2 = pGVar4;" (assignment_expression "pGVar2 = pGVar4" identifier = identifier) ;) (while_statement "while (got_type != uVar1) {\n      pGVar2 = pGVar2->got_next_;\n      if (pGVar2 == (Got_offset_list *)0x0) goto LAB_001a6944;\n      uVar1 = pGVar2->got_type_;\n    }" while (parenthesized_expression "(got_type != uVar1)" ( (binary_expression "got_type != uVar1" identifier != identifier) )) (compound_statement "{\n      pGVar2 = pGVar2->got_next_;\n      if (pGVar2 == (Got_offset_list *)0x0) goto LAB_001a6944;\n      uVar1 = pGVar2->got_type_;\n    }" { (expression_statement "pGVar2 = pGVar2->got_next_;" (assignment_expression "pGVar2 = pGVar2->got_next_" identifier = (field_expression "pGVar2->got_next_" identifier -> field_identifier)) ;) (if_statement "if (pGVar2 == (Got_offset_list *)0x0) goto LAB_001a6944;" if (parenthesized_expression "(pGVar2 == (Got_offset_list *)0x0)" ( (binary_expression "pGVar2 == (Got_offset_list *)0x0" identifier == (cast_expression "(Got_offset_list *)0x0" ( (type_descriptor "Got_offset_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_001a6944;" goto statement_identifier ;)) (expression_statement "uVar1 = pGVar2->got_type_;" (assignment_expression "uVar1 = pGVar2->got_type_" identifier = (field_expression "pGVar2->got_type_" identifier -> field_identifier)) ;) })) (if_statement "if (pGVar2->got_offset_ != 0xffffffff) {\n      return false;\n    }" if (parenthesized_expression "(pGVar2->got_offset_ != 0xffffffff)" ( (binary_expression "pGVar2->got_offset_ != 0xffffffff" (field_expression "pGVar2->got_offset_" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n      return false;\n    }" { (return_statement "return false;" return false ;) })) (labeled_statement "LAB_001a6944:\n    got_entry._0_12_ = ZEXT412(0x43a1d0);" statement_identifier : (expression_statement "got_entry._0_12_ = ZEXT412(0x43a1d0);" (assignment_expression "got_entry._0_12_ = ZEXT412(0x43a1d0)" (field_expression "got_entry._0_12_" identifier . field_identifier) = (call_expression "ZEXT412(0x43a1d0)" identifier (argument_list "(0x43a1d0)" ( number_literal )))) ;)) (expression_statement "got_entry.addend_._4_4_ = in_stack_ffffffd4;" (assignment_expression "got_entry.addend_._4_4_ = in_stack_ffffffd4" (field_expression "got_entry.addend_._4_4_" (field_expression "got_entry.addend_" identifier . field_identifier) . field_identifier) = identifier) ;) (expression_statement "uVar1 = add_got_entry(this,got_entry);" (assignment_expression "uVar1 = add_got_entry(this,got_entry)" identifier = (call_expression "add_got_entry(this,got_entry)" identifier (argument_list "(this,got_entry)" ( identifier , identifier )))) ;) (expression_statement "uVar3 = (gsym->got_offsets_).got_type_;" (assignment_expression "uVar3 = (gsym->got_offsets_).got_type_" identifier = (field_expression "(gsym->got_offsets_).got_type_" (parenthesized_expression "(gsym->got_offsets_)" ( (field_expression "gsym->got_offsets_" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (uVar3 != 0xffffffff) {\n      while( true ) {\n        if (got_type == uVar3) {\n          pGVar4->got_offset_ = uVar1;\n          return true;\n        }\n        pGVar4 = pGVar4->got_next_;\n        if (pGVar4 == (Got_offset_list *)0x0) break;\n        uVar3 = pGVar4->got_type_;\n      }\nLAB_001a6a14:\n      pGVar4 = (Got_offset_list *)(**(code **)(iVar5 + -0x7e94))(0xc);\n      pGVar2 = (gsym->got_offsets_).got_next_;\n      pGVar4->got_type_ = got_type;\n      pGVar4->got_offset_ = uVar1;\n      (gsym->got_offsets_).got_next_ = pGVar4;\n      pGVar4->got_next_ = pGVar2;\n      return true;\n    }" if (parenthesized_expression "(uVar3 != 0xffffffff)" ( (binary_expression "uVar3 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\n      while( true ) {\n        if (got_type == uVar3) {\n          pGVar4->got_offset_ = uVar1;\n          return true;\n        }\n        pGVar4 = pGVar4->got_next_;\n        if (pGVar4 == (Got_offset_list *)0x0) break;\n        uVar3 = pGVar4->got_type_;\n      }\nLAB_001a6a14:\n      pGVar4 = (Got_offset_list *)(**(code **)(iVar5 + -0x7e94))(0xc);\n      pGVar2 = (gsym->got_offsets_).got_next_;\n      pGVar4->got_type_ = got_type;\n      pGVar4->got_offset_ = uVar1;\n      (gsym->got_offsets_).got_next_ = pGVar4;\n      pGVar4->got_next_ = pGVar2;\n      return true;\n    }" { (while_statement "while( true ) {\n        if (got_type == uVar3) {\n          pGVar4->got_offset_ = uVar1;\n          return true;\n        }\n        pGVar4 = pGVar4->got_next_;\n        if (pGVar4 == (Got_offset_list *)0x0) break;\n        uVar3 = pGVar4->got_type_;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        if (got_type == uVar3) {\n          pGVar4->got_offset_ = uVar1;\n          return true;\n        }\n        pGVar4 = pGVar4->got_next_;\n        if (pGVar4 == (Got_offset_list *)0x0) break;\n        uVar3 = pGVar4->got_type_;\n      }" { (if_statement "if (got_type == uVar3) {\n          pGVar4->got_offset_ = uVar1;\n          return true;\n        }" if (parenthesized_expression "(got_type == uVar3)" ( (binary_expression "got_type == uVar3" identifier == identifier) )) (compound_statement "{\n          pGVar4->got_offset_ = uVar1;\n          return true;\n        }" { (expression_statement "pGVar4->got_offset_ = uVar1;" (assignment_expression "pGVar4->got_offset_ = uVar1" (field_expression "pGVar4->got_offset_" identifier -> field_identifier) = identifier) ;) (return_statement "return true;" return true ;) })) (expression_statement "pGVar4 = pGVar4->got_next_;" (assignment_expression "pGVar4 = pGVar4->got_next_" identifier = (field_expression "pGVar4->got_next_" identifier -> field_identifier)) ;) (if_statement "if (pGVar4 == (Got_offset_list *)0x0) break;" if (parenthesized_expression "(pGVar4 == (Got_offset_list *)0x0)" ( (binary_expression "pGVar4 == (Got_offset_list *)0x0" identifier == (cast_expression "(Got_offset_list *)0x0" ( (type_descriptor "Got_offset_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "uVar3 = pGVar4->got_type_;" (assignment_expression "uVar3 = pGVar4->got_type_" identifier = (field_expression "pGVar4->got_type_" identifier -> field_identifier)) ;) })) (labeled_statement "LAB_001a6a14:\n      pGVar4 = (Got_offset_list *)(**(code **)(iVar5 + -0x7e94))(0xc);" statement_identifier : (expression_statement "pGVar4 = (Got_offset_list *)(**(code **)(iVar5 + -0x7e94))(0xc);" (assignment_expression "pGVar4 = (Got_offset_list *)(**(code **)(iVar5 + -0x7e94))(0xc)" identifier = (cast_expression "(Got_offset_list *)(**(code **)(iVar5 + -0x7e94))(0xc)" ( (type_descriptor "Got_offset_list *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(iVar5 + -0x7e94))(0xc)" (parenthesized_expression "(**(code **)(iVar5 + -0x7e94))" ( (pointer_expression "**(code **)(iVar5 + -0x7e94)" * (pointer_expression "*(code **)(iVar5 + -0x7e94)" * (cast_expression "(code **)(iVar5 + -0x7e94)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + -0x7e94)" ( (binary_expression "iVar5 + -0x7e94" identifier + number_literal) ))))) )) (argument_list "(0xc)" ( number_literal ))))) ;)) (expression_statement "pGVar2 = (gsym->got_offsets_).got_next_;" (assignment_expression "pGVar2 = (gsym->got_offsets_).got_next_" identifier = (field_expression "(gsym->got_offsets_).got_next_" (parenthesized_expression "(gsym->got_offsets_)" ( (field_expression "gsym->got_offsets_" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "pGVar4->got_type_ = got_type;" (assignment_expression "pGVar4->got_type_ = got_type" (field_expression "pGVar4->got_type_" identifier -> field_identifier) = identifier) ;) (expression_statement "pGVar4->got_offset_ = uVar1;" (assignment_expression "pGVar4->got_offset_ = uVar1" (field_expression "pGVar4->got_offset_" identifier -> field_identifier) = identifier) ;) (expression_statement "(gsym->got_offsets_).got_next_ = pGVar4;" (assignment_expression "(gsym->got_offsets_).got_next_ = pGVar4" (field_expression "(gsym->got_offsets_).got_next_" (parenthesized_expression "(gsym->got_offsets_)" ( (field_expression "gsym->got_offsets_" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "pGVar4->got_next_ = pGVar2;" (assignment_expression "pGVar4->got_next_ = pGVar2" (field_expression "pGVar4->got_next_" identifier -> field_identifier) = identifier) ;) (return_statement "return true;" return true ;) })) }))) (expression_statement "(gsym->got_offsets_).got_type_ = got_type;" (assignment_expression "(gsym->got_offsets_).got_type_ = got_type" (field_expression "(gsym->got_offsets_).got_type_" (parenthesized_expression "(gsym->got_offsets_)" ( (field_expression "gsym->got_offsets_" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(gsym->got_offsets_).got_offset_ = uVar1;" (assignment_expression "(gsym->got_offsets_).got_offset_ = uVar1" (field_expression "(gsym->got_offsets_).got_offset_" (parenthesized_expression "(gsym->got_offsets_)" ( (field_expression "gsym->got_offsets_" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (return_statement "return true;" return true ;) (ERROR "}" }))
(translation_unit "undefined4 __thiscall\ngold::Output_data_got<32,false>::add_global_plt\n          (Output_data_got<32,false> *this,Symbol *param_1,uint param_2)\n\n{\n  uint uVar1;\n  Symbol *pSVar2;\n  uint *puVar3;\n  uint uVar4;\n  Symbol *pSVar5;\n  \n  pSVar5 = param_1 + 0x1c;\n  if (pSVar5 == (Symbol *)0x0) {\n    uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0);\n    if (*(int *)(param_1 + 0x1c) != -1) goto LAB_001a6a14;\n  }\n  else {\n    uVar1 = *(uint *)(param_1 + 0x1c);\n    pSVar2 = pSVar5;\n    while (param_2 != uVar1) {\n      pSVar2 = *(Symbol **)(pSVar2 + 8);\n      if (pSVar2 == (Symbol *)0x0) goto LAB_001a6944;\n      uVar1 = *(uint *)pSVar2;\n    }\n    if (*(int *)(pSVar2 + 4) != -1) {\n      return 0;\n    }\nLAB_001a6944:\n    uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0);\n    uVar4 = *(uint *)(param_1 + 0x1c);\n    if (uVar4 != 0xffffffff) {\n      while( true ) {\n        if (param_2 == uVar4) {\n          *(uint *)(pSVar5 + 4) = uVar1;\n          return 1;\n        }\n        pSVar5 = *(Symbol **)(pSVar5 + 8);\n        if (pSVar5 == (Symbol *)0x0) break;\n        uVar4 = *(uint *)pSVar5;\n      }\nLAB_001a6a14:\n      puVar3 = (uint *)(*(code *)PTR_operator_new_0043233c)(0xc);\n      uVar4 = *(uint *)(param_1 + 0x24);\n      *puVar3 = param_2;\n      puVar3[1] = uVar1;\n      *(uint **)(param_1 + 0x24) = puVar3;\n      puVar3[2] = uVar4;\n      return 1;\n    }\n  }\n  *(uint *)(param_1 + 0x1c) = param_2;\n  *(uint *)(param_1 + 0x20) = uVar1;\n  return 1;\n}\n\n" (declaration "undefined4 __thiscall\ngold::Output_data_got<32,false>::add_global_plt\n          (Output_data_got<32,false> *this,Symbol *param_1,uint param_2)\n\n{\n  uint uVar1;" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "false>::add_global_plt\n          (Output_data_got<32,false> *this,Symbol *param_1,uint param_2)\n\n{\n  uint" identifier > : : (function_declarator "add_global_plt\n          (Output_data_got<32,false> *this,Symbol *param_1,uint param_2)" identifier (parameter_list "(Output_data_got<32,false> *this,Symbol *param_1,uint param_2)" ( (parameter_declaration "Output_data_got" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Symbol *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) { identifier) identifier ;) (declaration "Symbol *pSVar2;" type_identifier (pointer_declarator "*pSVar2" * identifier) ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "Symbol *pSVar5;" type_identifier (pointer_declarator "*pSVar5" * identifier) ;) (expression_statement "pSVar5 = param_1 + 0x1c;" (assignment_expression "pSVar5 = param_1 + 0x1c" identifier = (binary_expression "param_1 + 0x1c" identifier + number_literal)) ;) (if_statement "if (pSVar5 == (Symbol *)0x0) {\n    uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0);\n    if (*(int *)(param_1 + 0x1c) != -1) goto LAB_001a6a14;\n  }\n  else {\n    uVar1 = *(uint *)(param_1 + 0x1c);\n    pSVar2 = pSVar5;\n    while (param_2 != uVar1) {\n      pSVar2 = *(Symbol **)(pSVar2 + 8);\n      if (pSVar2 == (Symbol *)0x0) goto LAB_001a6944;\n      uVar1 = *(uint *)pSVar2;\n    }\n    if (*(int *)(pSVar2 + 4) != -1) {\n      return 0;\n    }\nLAB_001a6944:\n    uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0);\n    uVar4 = *(uint *)(param_1 + 0x1c);\n    if (uVar4 != 0xffffffff) {\n      while( true ) {\n        if (param_2 == uVar4) {\n          *(uint *)(pSVar5 + 4) = uVar1;\n          return 1;\n        }\n        pSVar5 = *(Symbol **)(pSVar5 + 8);\n        if (pSVar5 == (Symbol *)0x0) break;\n        uVar4 = *(uint *)pSVar5;\n      }\nLAB_001a6a14:\n      puVar3 = (uint *)(*(code *)PTR_operator_new_0043233c)(0xc);\n      uVar4 = *(uint *)(param_1 + 0x24);\n      *puVar3 = param_2;\n      puVar3[1] = uVar1;\n      *(uint **)(param_1 + 0x24) = puVar3;\n      puVar3[2] = uVar4;\n      return 1;\n    }\n  }" if (parenthesized_expression "(pSVar5 == (Symbol *)0x0)" ( (binary_expression "pSVar5 == (Symbol *)0x0" identifier == (cast_expression "(Symbol *)0x0" ( (type_descriptor "Symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0);\n    if (*(int *)(param_1 + 0x1c) != -1) goto LAB_001a6a14;\n  }" { (expression_statement "uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0);" (assignment_expression "uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0)" identifier = (call_expression "add_got_entry(this,param_1,param_1,0xffffffff,0,0)" identifier (argument_list "(this,param_1,param_1,0xffffffff,0,0)" ( identifier , identifier , identifier , number_literal , number_literal , number_literal )))) ;) (if_statement "if (*(int *)(param_1 + 0x1c) != -1) goto LAB_001a6a14;" if (parenthesized_expression "(*(int *)(param_1 + 0x1c) != -1)" ( (binary_expression "*(int *)(param_1 + 0x1c) != -1" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) != number_literal) )) (goto_statement "goto LAB_001a6a14;" goto statement_identifier ;)) }) (else_clause "else {\n    uVar1 = *(uint *)(param_1 + 0x1c);\n    pSVar2 = pSVar5;\n    while (param_2 != uVar1) {\n      pSVar2 = *(Symbol **)(pSVar2 + 8);\n      if (pSVar2 == (Symbol *)0x0) goto LAB_001a6944;\n      uVar1 = *(uint *)pSVar2;\n    }\n    if (*(int *)(pSVar2 + 4) != -1) {\n      return 0;\n    }\nLAB_001a6944:\n    uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0);\n    uVar4 = *(uint *)(param_1 + 0x1c);\n    if (uVar4 != 0xffffffff) {\n      while( true ) {\n        if (param_2 == uVar4) {\n          *(uint *)(pSVar5 + 4) = uVar1;\n          return 1;\n        }\n        pSVar5 = *(Symbol **)(pSVar5 + 8);\n        if (pSVar5 == (Symbol *)0x0) break;\n        uVar4 = *(uint *)pSVar5;\n      }\nLAB_001a6a14:\n      puVar3 = (uint *)(*(code *)PTR_operator_new_0043233c)(0xc);\n      uVar4 = *(uint *)(param_1 + 0x24);\n      *puVar3 = param_2;\n      puVar3[1] = uVar1;\n      *(uint **)(param_1 + 0x24) = puVar3;\n      puVar3[2] = uVar4;\n      return 1;\n    }\n  }" else (compound_statement "{\n    uVar1 = *(uint *)(param_1 + 0x1c);\n    pSVar2 = pSVar5;\n    while (param_2 != uVar1) {\n      pSVar2 = *(Symbol **)(pSVar2 + 8);\n      if (pSVar2 == (Symbol *)0x0) goto LAB_001a6944;\n      uVar1 = *(uint *)pSVar2;\n    }\n    if (*(int *)(pSVar2 + 4) != -1) {\n      return 0;\n    }\nLAB_001a6944:\n    uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0);\n    uVar4 = *(uint *)(param_1 + 0x1c);\n    if (uVar4 != 0xffffffff) {\n      while( true ) {\n        if (param_2 == uVar4) {\n          *(uint *)(pSVar5 + 4) = uVar1;\n          return 1;\n        }\n        pSVar5 = *(Symbol **)(pSVar5 + 8);\n        if (pSVar5 == (Symbol *)0x0) break;\n        uVar4 = *(uint *)pSVar5;\n      }\nLAB_001a6a14:\n      puVar3 = (uint *)(*(code *)PTR_operator_new_0043233c)(0xc);\n      uVar4 = *(uint *)(param_1 + 0x24);\n      *puVar3 = param_2;\n      puVar3[1] = uVar1;\n      *(uint **)(param_1 + 0x24) = puVar3;\n      puVar3[2] = uVar4;\n      return 1;\n    }\n  }" { (expression_statement "uVar1 = *(uint *)(param_1 + 0x1c);" (assignment_expression "uVar1 = *(uint *)(param_1 + 0x1c)" identifier = (pointer_expression "*(uint *)(param_1 + 0x1c)" * (cast_expression "(uint *)(param_1 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "pSVar2 = pSVar5;" (assignment_expression "pSVar2 = pSVar5" identifier = identifier) ;) (while_statement "while (param_2 != uVar1) {\n      pSVar2 = *(Symbol **)(pSVar2 + 8);\n      if (pSVar2 == (Symbol *)0x0) goto LAB_001a6944;\n      uVar1 = *(uint *)pSVar2;\n    }" while (parenthesized_expression "(param_2 != uVar1)" ( (binary_expression "param_2 != uVar1" identifier != identifier) )) (compound_statement "{\n      pSVar2 = *(Symbol **)(pSVar2 + 8);\n      if (pSVar2 == (Symbol *)0x0) goto LAB_001a6944;\n      uVar1 = *(uint *)pSVar2;\n    }" { (expression_statement "pSVar2 = *(Symbol **)(pSVar2 + 8);" (assignment_expression "pSVar2 = *(Symbol **)(pSVar2 + 8)" identifier = (pointer_expression "*(Symbol **)(pSVar2 + 8)" * (cast_expression "(Symbol **)(pSVar2 + 8)" ( (type_descriptor "Symbol **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pSVar2 + 8)" ( (binary_expression "pSVar2 + 8" identifier + number_literal) ))))) ;) (if_statement "if (pSVar2 == (Symbol *)0x0) goto LAB_001a6944;" if (parenthesized_expression "(pSVar2 == (Symbol *)0x0)" ( (binary_expression "pSVar2 == (Symbol *)0x0" identifier == (cast_expression "(Symbol *)0x0" ( (type_descriptor "Symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_001a6944;" goto statement_identifier ;)) (expression_statement "uVar1 = *(uint *)pSVar2;" (assignment_expression "uVar1 = *(uint *)pSVar2" identifier = (pointer_expression "*(uint *)pSVar2" * (cast_expression "(uint *)pSVar2" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) })) (if_statement "if (*(int *)(pSVar2 + 4) != -1) {\n      return 0;\n    }" if (parenthesized_expression "(*(int *)(pSVar2 + 4) != -1)" ( (binary_expression "*(int *)(pSVar2 + 4) != -1" (pointer_expression "*(int *)(pSVar2 + 4)" * (cast_expression "(int *)(pSVar2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pSVar2 + 4)" ( (binary_expression "pSVar2 + 4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (labeled_statement "LAB_001a6944:\n    uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0);" statement_identifier : (expression_statement "uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0);" (assignment_expression "uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0)" identifier = (call_expression "add_got_entry(this,param_1,param_1,0xffffffff,0,0)" identifier (argument_list "(this,param_1,param_1,0xffffffff,0,0)" ( identifier , identifier , identifier , number_literal , number_literal , number_literal )))) ;)) (expression_statement "uVar4 = *(uint *)(param_1 + 0x1c);" (assignment_expression "uVar4 = *(uint *)(param_1 + 0x1c)" identifier = (pointer_expression "*(uint *)(param_1 + 0x1c)" * (cast_expression "(uint *)(param_1 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (uVar4 != 0xffffffff) {\n      while( true ) {\n        if (param_2 == uVar4) {\n          *(uint *)(pSVar5 + 4) = uVar1;\n          return 1;\n        }\n        pSVar5 = *(Symbol **)(pSVar5 + 8);\n        if (pSVar5 == (Symbol *)0x0) break;\n        uVar4 = *(uint *)pSVar5;\n      }\nLAB_001a6a14:\n      puVar3 = (uint *)(*(code *)PTR_operator_new_0043233c)(0xc);\n      uVar4 = *(uint *)(param_1 + 0x24);\n      *puVar3 = param_2;\n      puVar3[1] = uVar1;\n      *(uint **)(param_1 + 0x24) = puVar3;\n      puVar3[2] = uVar4;\n      return 1;\n    }" if (parenthesized_expression "(uVar4 != 0xffffffff)" ( (binary_expression "uVar4 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\n      while( true ) {\n        if (param_2 == uVar4) {\n          *(uint *)(pSVar5 + 4) = uVar1;\n          return 1;\n        }\n        pSVar5 = *(Symbol **)(pSVar5 + 8);\n        if (pSVar5 == (Symbol *)0x0) break;\n        uVar4 = *(uint *)pSVar5;\n      }\nLAB_001a6a14:\n      puVar3 = (uint *)(*(code *)PTR_operator_new_0043233c)(0xc);\n      uVar4 = *(uint *)(param_1 + 0x24);\n      *puVar3 = param_2;\n      puVar3[1] = uVar1;\n      *(uint **)(param_1 + 0x24) = puVar3;\n      puVar3[2] = uVar4;\n      return 1;\n    }" { (while_statement "while( true ) {\n        if (param_2 == uVar4) {\n          *(uint *)(pSVar5 + 4) = uVar1;\n          return 1;\n        }\n        pSVar5 = *(Symbol **)(pSVar5 + 8);\n        if (pSVar5 == (Symbol *)0x0) break;\n        uVar4 = *(uint *)pSVar5;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        if (param_2 == uVar4) {\n          *(uint *)(pSVar5 + 4) = uVar1;\n          return 1;\n        }\n        pSVar5 = *(Symbol **)(pSVar5 + 8);\n        if (pSVar5 == (Symbol *)0x0) break;\n        uVar4 = *(uint *)pSVar5;\n      }" { (if_statement "if (param_2 == uVar4) {\n          *(uint *)(pSVar5 + 4) = uVar1;\n          return 1;\n        }" if (parenthesized_expression "(param_2 == uVar4)" ( (binary_expression "param_2 == uVar4" identifier == identifier) )) (compound_statement "{\n          *(uint *)(pSVar5 + 4) = uVar1;\n          return 1;\n        }" { (expression_statement "*(uint *)(pSVar5 + 4) = uVar1;" (assignment_expression "*(uint *)(pSVar5 + 4) = uVar1" (pointer_expression "*(uint *)(pSVar5 + 4)" * (cast_expression "(uint *)(pSVar5 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pSVar5 + 4)" ( (binary_expression "pSVar5 + 4" identifier + number_literal) )))) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "pSVar5 = *(Symbol **)(pSVar5 + 8);" (assignment_expression "pSVar5 = *(Symbol **)(pSVar5 + 8)" identifier = (pointer_expression "*(Symbol **)(pSVar5 + 8)" * (cast_expression "(Symbol **)(pSVar5 + 8)" ( (type_descriptor "Symbol **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pSVar5 + 8)" ( (binary_expression "pSVar5 + 8" identifier + number_literal) ))))) ;) (if_statement "if (pSVar5 == (Symbol *)0x0) break;" if (parenthesized_expression "(pSVar5 == (Symbol *)0x0)" ( (binary_expression "pSVar5 == (Symbol *)0x0" identifier == (cast_expression "(Symbol *)0x0" ( (type_descriptor "Symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "uVar4 = *(uint *)pSVar5;" (assignment_expression "uVar4 = *(uint *)pSVar5" identifier = (pointer_expression "*(uint *)pSVar5" * (cast_expression "(uint *)pSVar5" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) })) (labeled_statement "LAB_001a6a14:\n      puVar3 = (uint *)(*(code *)PTR_operator_new_0043233c)(0xc);" statement_identifier : (expression_statement "puVar3 = (uint *)(*(code *)PTR_operator_new_0043233c)(0xc);" (assignment_expression "puVar3 = (uint *)(*(code *)PTR_operator_new_0043233c)(0xc)" identifier = (cast_expression "(uint *)(*(code *)PTR_operator_new_0043233c)(0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_operator_new_0043233c)(0xc)" (parenthesized_expression "(*(code *)PTR_operator_new_0043233c)" ( (pointer_expression "*(code *)PTR_operator_new_0043233c" * (cast_expression "(code *)PTR_operator_new_0043233c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xc)" ( number_literal ))))) ;)) (expression_statement "uVar4 = *(uint *)(param_1 + 0x24);" (assignment_expression "uVar4 = *(uint *)(param_1 + 0x24)" identifier = (pointer_expression "*(uint *)(param_1 + 0x24)" * (cast_expression "(uint *)(param_1 + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "*puVar3 = param_2;" (assignment_expression "*puVar3 = param_2" (pointer_expression "*puVar3" * identifier) = identifier) ;) (expression_statement "puVar3[1] = uVar1;" (assignment_expression "puVar3[1] = uVar1" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(uint **)(param_1 + 0x24) = puVar3;" (assignment_expression "*(uint **)(param_1 + 0x24) = puVar3" (pointer_expression "*(uint **)(param_1 + 0x24)" * (cast_expression "(uint **)(param_1 + 0x24)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar3[2] = uVar4;" (assignment_expression "puVar3[2] = uVar4" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) }))) (expression_statement "*(uint *)(param_1 + 0x1c) = param_2;" (assignment_expression "*(uint *)(param_1 + 0x1c) = param_2" (pointer_expression "*(uint *)(param_1 + 0x1c)" * (cast_expression "(uint *)(param_1 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(param_1 + 0x20) = uVar1;" (assignment_expression "*(uint *)(param_1 + 0x20) = uVar1" (pointer_expression "*(uint *)(param_1 + 0x20)" * (cast_expression "(uint *)(param_1 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) = identifier) ;) (return_statement "return 1;" return number_literal ;) (ERROR "}" }))
(translation_unit (declaration TYPE (ms_call_modifier __thiscall) (ERROR IDENT : :) IDENT (ERROR < LIT) , (ERROR IDENT > : : (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) (ERROR < LIT) , (parameter_declaration TYPE (ERROR >) (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) { IDENT) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (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 = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , LIT , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (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 = IDENT) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (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)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (return_statement return LIT ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , LIT , LIT , LIT )))) ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return LIT ;) })) (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)) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) })) (labeled_statement statement_identifier : (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 ( LIT ))))) ;)) (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 (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return LIT ;) })) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return LIT ;) (ERROR }))
(declaration "undefined4 __thiscall\ngold::Output_data_got<32,false>::add_global_plt\n          (Output_data_got<32,false> *this,Symbol *param_1,uint param_2)\n\n{\n  uint uVar1;" (type_identifier "undefined4") (ms_call_modifier "__thiscall" (__thiscall "__thiscall")) (ERROR "gold::" (identifier "gold") (: ":") (: ":")) (identifier "Output_data_got") (ERROR "<32" (< "<") (number_literal "32")) (, ",") (ERROR "false>::add_global_plt\n          (Output_data_got<32,false> *this,Symbol *param_1,uint param_2)\n\n{\n  uint" (identifier "false") (> ">") (: ":") (: ":") (function_declarator "add_global_plt\n          (Output_data_got<32,false> *this,Symbol *param_1,uint param_2)" (identifier "add_global_plt") (parameter_list "(Output_data_got<32,false> *this,Symbol *param_1,uint param_2)" (( "(") (parameter_declaration "Output_data_got" (type_identifier "Output_data_got")) (ERROR "<32" (< "<") (number_literal "32")) (, ",") (parameter_declaration "false> *this" (type_identifier "false") (ERROR ">" (> ">")) (pointer_declarator "*this" (* "*") (identifier "this"))) (, ",") (parameter_declaration "Symbol *param_1" (type_identifier "Symbol") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) ({ "{") (identifier "uint")) (identifier "uVar1") (; ";")) (declaration "Symbol *pSVar2;" (type_identifier "Symbol") (pointer_declarator "*pSVar2" (* "*") (identifier "pSVar2")) (; ";")) (declaration "uint *puVar3;" (type_identifier "uint") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "Symbol *pSVar5;" (type_identifier "Symbol") (pointer_declarator "*pSVar5" (* "*") (identifier "pSVar5")) (; ";")) (expression_statement "pSVar5 = param_1 + 0x1c;" (assignment_expression "pSVar5 = param_1 + 0x1c" (identifier "pSVar5") (= "=") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c"))) (; ";")) (if_statement "if (pSVar5 == (Symbol *)0x0) {\n    uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0);\n    if (*(int *)(param_1 + 0x1c) != -1) goto LAB_001a6a14;\n  }\n  else {\n    uVar1 = *(uint *)(param_1 + 0x1c);\n    pSVar2 = pSVar5;\n    while (param_2 != uVar1) {\n      pSVar2 = *(Symbol **)(pSVar2 + 8);\n      if (pSVar2 == (Symbol *)0x0) goto LAB_001a6944;\n      uVar1 = *(uint *)pSVar2;\n    }\n    if (*(int *)(pSVar2 + 4) != -1) {\n      return 0;\n    }\nLAB_001a6944:\n    uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0);\n    uVar4 = *(uint *)(param_1 + 0x1c);\n    if (uVar4 != 0xffffffff) {\n      while( true ) {\n        if (param_2 == uVar4) {\n          *(uint *)(pSVar5 + 4) = uVar1;\n          return 1;\n        }\n        pSVar5 = *(Symbol **)(pSVar5 + 8);\n        if (pSVar5 == (Symbol *)0x0) break;\n        uVar4 = *(uint *)pSVar5;\n      }\nLAB_001a6a14:\n      puVar3 = (uint *)(*(code *)PTR_operator_new_0043233c)(0xc);\n      uVar4 = *(uint *)(param_1 + 0x24);\n      *puVar3 = param_2;\n      puVar3[1] = uVar1;\n      *(uint **)(param_1 + 0x24) = puVar3;\n      puVar3[2] = uVar4;\n      return 1;\n    }\n  }" (if "if") (parenthesized_expression "(pSVar5 == (Symbol *)0x0)" (( "(") (binary_expression "pSVar5 == (Symbol *)0x0" (identifier "pSVar5") (== "==") (cast_expression "(Symbol *)0x0" (( "(") (type_descriptor "Symbol *" (type_identifier "Symbol") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0);\n    if (*(int *)(param_1 + 0x1c) != -1) goto LAB_001a6a14;\n  }" ({ "{") (expression_statement "uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0);" (assignment_expression "uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0)" (identifier "uVar1") (= "=") (call_expression "add_got_entry(this,param_1,param_1,0xffffffff,0,0)" (identifier "add_got_entry") (argument_list "(this,param_1,param_1,0xffffffff,0,0)" (( "(") (identifier "this") (, ",") (identifier "param_1") (, ",") (identifier "param_1") (, ",") (number_literal "0xffffffff") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (*(int *)(param_1 + 0x1c) != -1) goto LAB_001a6a14;" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x1c) != -1)" (( "(") (binary_expression "*(int *)(param_1 + 0x1c) != -1" (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (!= "!=") (number_literal "-1")) () ")")) (goto_statement "goto LAB_001a6a14;" (goto "goto") (statement_identifier "LAB_001a6a14") (; ";"))) (} "}")) (else_clause "else {\n    uVar1 = *(uint *)(param_1 + 0x1c);\n    pSVar2 = pSVar5;\n    while (param_2 != uVar1) {\n      pSVar2 = *(Symbol **)(pSVar2 + 8);\n      if (pSVar2 == (Symbol *)0x0) goto LAB_001a6944;\n      uVar1 = *(uint *)pSVar2;\n    }\n    if (*(int *)(pSVar2 + 4) != -1) {\n      return 0;\n    }\nLAB_001a6944:\n    uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0);\n    uVar4 = *(uint *)(param_1 + 0x1c);\n    if (uVar4 != 0xffffffff) {\n      while( true ) {\n        if (param_2 == uVar4) {\n          *(uint *)(pSVar5 + 4) = uVar1;\n          return 1;\n        }\n        pSVar5 = *(Symbol **)(pSVar5 + 8);\n        if (pSVar5 == (Symbol *)0x0) break;\n        uVar4 = *(uint *)pSVar5;\n      }\nLAB_001a6a14:\n      puVar3 = (uint *)(*(code *)PTR_operator_new_0043233c)(0xc);\n      uVar4 = *(uint *)(param_1 + 0x24);\n      *puVar3 = param_2;\n      puVar3[1] = uVar1;\n      *(uint **)(param_1 + 0x24) = puVar3;\n      puVar3[2] = uVar4;\n      return 1;\n    }\n  }" (else "else") (compound_statement "{\n    uVar1 = *(uint *)(param_1 + 0x1c);\n    pSVar2 = pSVar5;\n    while (param_2 != uVar1) {\n      pSVar2 = *(Symbol **)(pSVar2 + 8);\n      if (pSVar2 == (Symbol *)0x0) goto LAB_001a6944;\n      uVar1 = *(uint *)pSVar2;\n    }\n    if (*(int *)(pSVar2 + 4) != -1) {\n      return 0;\n    }\nLAB_001a6944:\n    uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0);\n    uVar4 = *(uint *)(param_1 + 0x1c);\n    if (uVar4 != 0xffffffff) {\n      while( true ) {\n        if (param_2 == uVar4) {\n          *(uint *)(pSVar5 + 4) = uVar1;\n          return 1;\n        }\n        pSVar5 = *(Symbol **)(pSVar5 + 8);\n        if (pSVar5 == (Symbol *)0x0) break;\n        uVar4 = *(uint *)pSVar5;\n      }\nLAB_001a6a14:\n      puVar3 = (uint *)(*(code *)PTR_operator_new_0043233c)(0xc);\n      uVar4 = *(uint *)(param_1 + 0x24);\n      *puVar3 = param_2;\n      puVar3[1] = uVar1;\n      *(uint **)(param_1 + 0x24) = puVar3;\n      puVar3[2] = uVar4;\n      return 1;\n    }\n  }" ({ "{") (expression_statement "uVar1 = *(uint *)(param_1 + 0x1c);" (assignment_expression "uVar1 = *(uint *)(param_1 + 0x1c)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(param_1 + 0x1c)" (* "*") (cast_expression "(uint *)(param_1 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "pSVar2 = pSVar5;" (assignment_expression "pSVar2 = pSVar5" (identifier "pSVar2") (= "=") (identifier "pSVar5")) (; ";")) (while_statement "while (param_2 != uVar1) {\n      pSVar2 = *(Symbol **)(pSVar2 + 8);\n      if (pSVar2 == (Symbol *)0x0) goto LAB_001a6944;\n      uVar1 = *(uint *)pSVar2;\n    }" (while "while") (parenthesized_expression "(param_2 != uVar1)" (( "(") (binary_expression "param_2 != uVar1" (identifier "param_2") (!= "!=") (identifier "uVar1")) () ")")) (compound_statement "{\n      pSVar2 = *(Symbol **)(pSVar2 + 8);\n      if (pSVar2 == (Symbol *)0x0) goto LAB_001a6944;\n      uVar1 = *(uint *)pSVar2;\n    }" ({ "{") (expression_statement "pSVar2 = *(Symbol **)(pSVar2 + 8);" (assignment_expression "pSVar2 = *(Symbol **)(pSVar2 + 8)" (identifier "pSVar2") (= "=") (pointer_expression "*(Symbol **)(pSVar2 + 8)" (* "*") (cast_expression "(Symbol **)(pSVar2 + 8)" (( "(") (type_descriptor "Symbol **" (type_identifier "Symbol") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pSVar2 + 8)" (( "(") (binary_expression "pSVar2 + 8" (identifier "pSVar2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (pSVar2 == (Symbol *)0x0) goto LAB_001a6944;" (if "if") (parenthesized_expression "(pSVar2 == (Symbol *)0x0)" (( "(") (binary_expression "pSVar2 == (Symbol *)0x0" (identifier "pSVar2") (== "==") (cast_expression "(Symbol *)0x0" (( "(") (type_descriptor "Symbol *" (type_identifier "Symbol") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_001a6944;" (goto "goto") (statement_identifier "LAB_001a6944") (; ";"))) (expression_statement "uVar1 = *(uint *)pSVar2;" (assignment_expression "uVar1 = *(uint *)pSVar2" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)pSVar2" (* "*") (cast_expression "(uint *)pSVar2" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "pSVar2")))) (; ";")) (} "}"))) (if_statement "if (*(int *)(pSVar2 + 4) != -1) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(*(int *)(pSVar2 + 4) != -1)" (( "(") (binary_expression "*(int *)(pSVar2 + 4) != -1" (pointer_expression "*(int *)(pSVar2 + 4)" (* "*") (cast_expression "(int *)(pSVar2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pSVar2 + 4)" (( "(") (binary_expression "pSVar2 + 4" (identifier "pSVar2") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (labeled_statement "LAB_001a6944:\n    uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0);" (statement_identifier "LAB_001a6944") (: ":") (expression_statement "uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0);" (assignment_expression "uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0)" (identifier "uVar1") (= "=") (call_expression "add_got_entry(this,param_1,param_1,0xffffffff,0,0)" (identifier "add_got_entry") (argument_list "(this,param_1,param_1,0xffffffff,0,0)" (( "(") (identifier "this") (, ",") (identifier "param_1") (, ",") (identifier "param_1") (, ",") (number_literal "0xffffffff") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";"))) (expression_statement "uVar4 = *(uint *)(param_1 + 0x1c);" (assignment_expression "uVar4 = *(uint *)(param_1 + 0x1c)" (identifier "uVar4") (= "=") (pointer_expression "*(uint *)(param_1 + 0x1c)" (* "*") (cast_expression "(uint *)(param_1 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (if_statement "if (uVar4 != 0xffffffff) {\n      while( true ) {\n        if (param_2 == uVar4) {\n          *(uint *)(pSVar5 + 4) = uVar1;\n          return 1;\n        }\n        pSVar5 = *(Symbol **)(pSVar5 + 8);\n        if (pSVar5 == (Symbol *)0x0) break;\n        uVar4 = *(uint *)pSVar5;\n      }\nLAB_001a6a14:\n      puVar3 = (uint *)(*(code *)PTR_operator_new_0043233c)(0xc);\n      uVar4 = *(uint *)(param_1 + 0x24);\n      *puVar3 = param_2;\n      puVar3[1] = uVar1;\n      *(uint **)(param_1 + 0x24) = puVar3;\n      puVar3[2] = uVar4;\n      return 1;\n    }" (if "if") (parenthesized_expression "(uVar4 != 0xffffffff)" (( "(") (binary_expression "uVar4 != 0xffffffff" (identifier "uVar4") (!= "!=") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n      while( true ) {\n        if (param_2 == uVar4) {\n          *(uint *)(pSVar5 + 4) = uVar1;\n          return 1;\n        }\n        pSVar5 = *(Symbol **)(pSVar5 + 8);\n        if (pSVar5 == (Symbol *)0x0) break;\n        uVar4 = *(uint *)pSVar5;\n      }\nLAB_001a6a14:\n      puVar3 = (uint *)(*(code *)PTR_operator_new_0043233c)(0xc);\n      uVar4 = *(uint *)(param_1 + 0x24);\n      *puVar3 = param_2;\n      puVar3[1] = uVar1;\n      *(uint **)(param_1 + 0x24) = puVar3;\n      puVar3[2] = uVar4;\n      return 1;\n    }" ({ "{") (while_statement "while( true ) {\n        if (param_2 == uVar4) {\n          *(uint *)(pSVar5 + 4) = uVar1;\n          return 1;\n        }\n        pSVar5 = *(Symbol **)(pSVar5 + 8);\n        if (pSVar5 == (Symbol *)0x0) break;\n        uVar4 = *(uint *)pSVar5;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        if (param_2 == uVar4) {\n          *(uint *)(pSVar5 + 4) = uVar1;\n          return 1;\n        }\n        pSVar5 = *(Symbol **)(pSVar5 + 8);\n        if (pSVar5 == (Symbol *)0x0) break;\n        uVar4 = *(uint *)pSVar5;\n      }" ({ "{") (if_statement "if (param_2 == uVar4) {\n          *(uint *)(pSVar5 + 4) = uVar1;\n          return 1;\n        }" (if "if") (parenthesized_expression "(param_2 == uVar4)" (( "(") (binary_expression "param_2 == uVar4" (identifier "param_2") (== "==") (identifier "uVar4")) () ")")) (compound_statement "{\n          *(uint *)(pSVar5 + 4) = uVar1;\n          return 1;\n        }" ({ "{") (expression_statement "*(uint *)(pSVar5 + 4) = uVar1;" (assignment_expression "*(uint *)(pSVar5 + 4) = uVar1" (pointer_expression "*(uint *)(pSVar5 + 4)" (* "*") (cast_expression "(uint *)(pSVar5 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pSVar5 + 4)" (( "(") (binary_expression "pSVar5 + 4" (identifier "pSVar5") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "pSVar5 = *(Symbol **)(pSVar5 + 8);" (assignment_expression "pSVar5 = *(Symbol **)(pSVar5 + 8)" (identifier "pSVar5") (= "=") (pointer_expression "*(Symbol **)(pSVar5 + 8)" (* "*") (cast_expression "(Symbol **)(pSVar5 + 8)" (( "(") (type_descriptor "Symbol **" (type_identifier "Symbol") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pSVar5 + 8)" (( "(") (binary_expression "pSVar5 + 8" (identifier "pSVar5") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (pSVar5 == (Symbol *)0x0) break;" (if "if") (parenthesized_expression "(pSVar5 == (Symbol *)0x0)" (( "(") (binary_expression "pSVar5 == (Symbol *)0x0" (identifier "pSVar5") (== "==") (cast_expression "(Symbol *)0x0" (( "(") (type_descriptor "Symbol *" (type_identifier "Symbol") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar4 = *(uint *)pSVar5;" (assignment_expression "uVar4 = *(uint *)pSVar5" (identifier "uVar4") (= "=") (pointer_expression "*(uint *)pSVar5" (* "*") (cast_expression "(uint *)pSVar5" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "pSVar5")))) (; ";")) (} "}"))) (labeled_statement "LAB_001a6a14:\n      puVar3 = (uint *)(*(code *)PTR_operator_new_0043233c)(0xc);" (statement_identifier "LAB_001a6a14") (: ":") (expression_statement "puVar3 = (uint *)(*(code *)PTR_operator_new_0043233c)(0xc);" (assignment_expression "puVar3 = (uint *)(*(code *)PTR_operator_new_0043233c)(0xc)" (identifier "puVar3") (= "=") (cast_expression "(uint *)(*(code *)PTR_operator_new_0043233c)(0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_operator_new_0043233c)(0xc)" (parenthesized_expression "(*(code *)PTR_operator_new_0043233c)" (( "(") (pointer_expression "*(code *)PTR_operator_new_0043233c" (* "*") (cast_expression "(code *)PTR_operator_new_0043233c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_operator_new_0043233c"))) () ")")) (argument_list "(0xc)" (( "(") (number_literal "0xc") () ")"))))) (; ";"))) (expression_statement "uVar4 = *(uint *)(param_1 + 0x24);" (assignment_expression "uVar4 = *(uint *)(param_1 + 0x24)" (identifier "uVar4") (= "=") (pointer_expression "*(uint *)(param_1 + 0x24)" (* "*") (cast_expression "(uint *)(param_1 + 0x24)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (expression_statement "*puVar3 = param_2;" (assignment_expression "*puVar3 = param_2" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "puVar3[1] = uVar1;" (assignment_expression "puVar3[1] = uVar1" (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "*(uint **)(param_1 + 0x24) = puVar3;" (assignment_expression "*(uint **)(param_1 + 0x24) = puVar3" (pointer_expression "*(uint **)(param_1 + 0x24)" (* "*") (cast_expression "(uint **)(param_1 + 0x24)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (identifier "puVar3")) (; ";")) (expression_statement "puVar3[2] = uVar4;" (assignment_expression "puVar3[2] = uVar4" (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar4")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (} "}")))) (expression_statement "*(uint *)(param_1 + 0x1c) = param_2;" (assignment_expression "*(uint *)(param_1 + 0x1c) = param_2" (pointer_expression "*(uint *)(param_1 + 0x1c)" (* "*") (cast_expression "(uint *)(param_1 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(uint *)(param_1 + 0x20) = uVar1;" (assignment_expression "*(uint *)(param_1 + 0x20) = uVar1" (pointer_expression "*(uint *)(param_1 + 0x20)" (* "*") (cast_expression "(uint *)(param_1 + 0x20)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (ERROR "}" (} "}"))
(translation_unit (declaration type: (type_identifier) declarator: (ms_call_modifier) (ERROR (identifier)) declarator: (identifier) (ERROR (number_literal)) (ERROR (identifier) (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier)) (ERROR (number_literal)) (parameter_declaration type: (type_identifier) (ERROR) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) (identifier)) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (number_literal) (number_literal) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (compound_statement (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: (identifier))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (number_literal) (number_literal) (number_literal)))))) (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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_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: (identifier))) (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) 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 (number_literal))))))) (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: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement (number_literal))))))) (expression_statement (assignment_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: (identifier))) (expression_statement (assignment_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: (identifier))) (return_statement (number_literal)) (ERROR))

/* gold::Output_data_got<32, false>::MASKED(gold::Symbol*, unsigned int) */

undefined4 __thiscall
gold::Output_data_got<32,false>::MASKED
          (Output_data_got<32,false> *this,Symbol *param_1,uint param_2)

{
  uint uVar1;
  Symbol *pSVar2;
  uint *puVar3;
  uint uVar4;
  Symbol *pSVar5;
  
  pSVar5 = param_1 + 0x1c;
  if (pSVar5 == (Symbol *)0x0) {
    uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0);
    if (*(int *)(param_1 + 0x1c) != -1) goto LAB_001a6a14;
  }
  else {
    uVar1 = *(uint *)(param_1 + 0x1c);
    pSVar2 = pSVar5;
    while (param_2 != uVar1) {
      pSVar2 = *(Symbol **)(pSVar2 + 8);
      if (pSVar2 == (Symbol *)0x0) goto LAB_001a6944;
      uVar1 = *(uint *)pSVar2;
    }
    if (*(int *)(pSVar2 + 4) != -1) {
      return 0;
    }
LAB_001a6944:
    uVar1 = add_got_entry(this,param_1,param_1,0xffffffff,0,0);
    uVar4 = *(uint *)(param_1 + 0x1c);
    if (uVar4 != 0xffffffff) {
      while( true ) {
        if (param_2 == uVar4) {
          *(uint *)(pSVar5 + 4) = uVar1;
          return 1;
        }
        pSVar5 = *(Symbol **)(pSVar5 + 8);
        if (pSVar5 == (Symbol *)0x0) break;
        uVar4 = *(uint *)pSVar5;
      }
LAB_001a6a14:
      puVar3 = (uint *)(*(code *)PTR_operator_new_0043233c)(0xc);
      uVar4 = *(uint *)(param_1 + 0x24);
      *puVar3 = param_2;
      puVar3[1] = uVar1;
      *(uint **)(param_1 + 0x24) = puVar3;
      puVar3[2] = uVar4;
      return 1;
    }
  }
  *(uint *)(param_1 + 0x1c) = param_2;
  *(uint *)(param_1 + 0x20) = uVar1;
  return 1;
}

