
/* DWARF original prototype: void set_version_map(Sized_dynobj<64,_true> * this, Version_map *
   version_map, uint ndx, char * name) */

void __thiscall
gold::Sized_dynobj<64,_true>::set_version_map
          (Sized_dynobj<64,_true> *this,Version_map *version_map,uint ndx,char *name)

{
  pointer ppcVar1;
  undefined4 uVar2;
  uint uVar3;
  pointer ppcVar4;
  uint uVar5;
  
  ppcVar1 = (version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.
            _M_start;
  ppcVar4 = (version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.
            _M_finish;
  uVar3 = (int)ppcVar4 - (int)ppcVar1 >> 2;
  if (uVar3 <= ndx) {
    uVar5 = ndx + 1;
    if (uVar3 < uVar5) {
      std::vector<char_const*,_std::allocator<char_const*>_>::_M_default_append
                (version_map,uVar5 - uVar3);
      ppcVar1 = (version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl
                ._M_start;
    }
    else if ((uVar5 < uVar3) && (ppcVar4 != ppcVar1 + uVar5)) {
      (version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl._M_finish
           = ppcVar1 + uVar5;
    }
  }
  ppcVar1 = ppcVar1 + ndx;
  if (*ppcVar1 != (char *)0x0) {
    uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0xd34);
    (*(code *)PTR_error_004c1a54)(this,uVar2,ndx);
    ppcVar1 = (version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.
              _M_start + ndx;
  }
  *ppcVar1 = name;
  return;
}



/* gold::Sized_dynobj<64, true>::set_version_map(std::vector<char const*, std::allocator<char
   const*> >*, unsigned int, char const*) const */

void __thiscall
gold::Sized_dynobj<64,true>::set_version_map
          (Sized_dynobj<64,true> *this,vector *param_1,uint param_2,char *param_3)

{
  int iVar1;
  int *piVar2;
  undefined4 uVar3;
  uint uVar4;
  uint uVar5;
  int iVar6;
  
  iVar1 = *(int *)param_1;
  uVar4 = *(int *)(param_1 + 4) - iVar1 >> 2;
  if (uVar4 <= param_2) {
    uVar5 = param_2 + 1;
    if (uVar4 < uVar5) {
      std::vector<char_const*,std::allocator<char_const*>>::_M_default_append
                ((vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4);
      iVar1 = *(int *)param_1;
    }
    else if ((uVar5 < uVar4) && (iVar6 = iVar1 + uVar5 * 4, *(int *)(param_1 + 4) != iVar6)) {
      *(int *)(param_1 + 4) = iVar6;
    }
  }
  piVar2 = (int *)(iVar1 + param_2 * 4);
  if (*piVar2 != 0) {
    uVar3 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0xd34);
    (*(code *)PTR_error_004c1a54)(this,uVar3,param_2);
    piVar2 = (int *)(*(int *)param_1 + param_2 * 4);
  }
  *piVar2 = (int)param_3;
  return;
}


lui gp,0x36
addiu gp,gp,-0xd34
addu gp,gp,t9
addiu sp,sp,-0x30
lw v0,0x0(a1)
sw s3,0x28(sp)
or s3,a0,zero
lw a0,0x4(a1)
sw s0,0x1c(sp)
or s0,a1,zero
sw gp,0x10(sp)
subu v1,a0,v0
sw s2,0x24(sp)
sw ra,0x2c(sp)
or s2,a3,zero
sra v1,v1,0x2
sltu a1,a2,v1
beq a1,zero,0x0016a024
_sw s1,0x20(sp)
sll s1,a2,0x2
sw a2,0x38(sp)
addu v0,v0,s1
lw v1,0x0(v0)
beq v1,zero,0x0016a004
_lw a0,-0x77f0(gp)
lw t9,-0x3610(gp)
jalr t9
_addiu a0,a0,-0xd34
or a0,s3,zero
lw gp,0x10(sp)
or a1,v0,zero
lw t9,-0x77ec(gp)
jalr t9
_lw a2,0x38(sp)
lw v0,0x0(s0)
addu v0,v0,s1
lw ra,0x2c(sp)
lw s3,0x28(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
sw s2,0x0(v0)
lw s2,0x24(sp)
jr ra
_addiu sp,sp,0x30
addiu a1,a2,0x1
sltu a3,v1,a1
bne a3,zero,0x0016a058
_lw t9,-0x5bfc(gp)
sltu v1,a1,v1
beq v1,zero,0x00169fc4
_sll s1,a2,0x2
sll a1,a1,0x2
addu a1,v0,a1
beq a0,a1,0x00169fc4
_nop
b 0x00169fc4
_sw a1,0x4(s0)
subu a1,a1,v1
sw a2,0x38(sp)
bal 0x001688e8
_or a0,s0,zero
lw gp,0x10(sp)
lw v0,0x0(s0)
b 0x00169fc0
_lw a2,0x38(sp)
(translation_unit "/* gold::Sized_dynobj<64, true>::set_version_map(std::vector<char const*, std::allocator<char\n   const*> >*, unsigned int, char const*) const */\n\nvoid __thiscall\ngold::Sized_dynobj<64,true>::set_version_map\n          (Sized_dynobj<64,true> *this,vector *param_1,uint param_2,char *param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  int iVar6;\n  \n  iVar1 = *(int *)param_1;\n  uVar4 = *(int *)(param_1 + 4) - iVar1 >> 2;\n  if (uVar4 <= param_2) {\n    uVar5 = param_2 + 1;\n    if (uVar4 < uVar5) {\n      std::vector<char_const*,std::allocator<char_const*>>::_M_default_append\n                ((vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4);\n      iVar1 = *(int *)param_1;\n    }\n    else if ((uVar5 < uVar4) && (iVar6 = iVar1 + uVar5 * 4, *(int *)(param_1 + 4) != iVar6)) {\n      *(int *)(param_1 + 4) = iVar6;\n    }\n  }\n  piVar2 = (int *)(iVar1 + param_2 * 4);\n  if (*piVar2 != 0) {\n    uVar3 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0xd34);\n    (*(code *)PTR_error_004c1a54)(this,uVar3,param_2);\n    piVar2 = (int *)(*(int *)param_1 + param_2 * 4);\n  }\n  *piVar2 = (int)param_3;\n  return;\n}\n\n" comment (declaration "void __thiscall\ngold::Sized_dynobj<64,true>::set_version_map\n          (Sized_dynobj<64,true> *this,vector *param_1,uint param_2,char *param_3)\n\n{\n  int iVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "true>::set_version_map\n          (Sized_dynobj<64,true> *this,vector *param_1,uint param_2,char *param_3)\n\n{\n  int" identifier > : : (function_declarator "set_version_map\n          (Sized_dynobj<64,true> *this,vector *param_1,uint param_2,char *param_3)" identifier (parameter_list "(Sized_dynobj<64,true> *this,vector *param_1,uint param_2,char *param_3)" ( (parameter_declaration "Sized_dynobj" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "vector *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) { primitive_type) identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)param_1;" (assignment_expression "iVar1 = *(int *)param_1" identifier = (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar4 = *(int *)(param_1 + 4) - iVar1 >> 2;" (assignment_expression "uVar4 = *(int *)(param_1 + 4) - iVar1 >> 2" identifier = (binary_expression "*(int *)(param_1 + 4) - iVar1 >> 2" (binary_expression "*(int *)(param_1 + 4) - iVar1" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) - identifier) >> number_literal)) ;) (if_statement "if (uVar4 <= param_2) {\n    uVar5 = param_2 + 1;\n    if (uVar4 < uVar5) {\n      std::vector<char_const*,std::allocator<char_const*>>::_M_default_append\n                ((vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4);\n      iVar1 = *(int *)param_1;\n    }\n    else if ((uVar5 < uVar4) && (iVar6 = iVar1 + uVar5 * 4, *(int *)(param_1 + 4) != iVar6)) {\n      *(int *)(param_1 + 4) = iVar6;\n    }\n  }" if (parenthesized_expression "(uVar4 <= param_2)" ( (binary_expression "uVar4 <= param_2" identifier <= identifier) )) (compound_statement "{\n    uVar5 = param_2 + 1;\n    if (uVar4 < uVar5) {\n      std::vector<char_const*,std::allocator<char_const*>>::_M_default_append\n                ((vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4);\n      iVar1 = *(int *)param_1;\n    }\n    else if ((uVar5 < uVar4) && (iVar6 = iVar1 + uVar5 * 4, *(int *)(param_1 + 4) != iVar6)) {\n      *(int *)(param_1 + 4) = iVar6;\n    }\n  }" { (expression_statement "uVar5 = param_2 + 1;" (assignment_expression "uVar5 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (if_statement "if (uVar4 < uVar5) {\n      std::vector<char_const*,std::allocator<char_const*>>::_M_default_append\n                ((vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4);\n      iVar1 = *(int *)param_1;\n    }\n    else if ((uVar5 < uVar4) && (iVar6 = iVar1 + uVar5 * 4, *(int *)(param_1 + 4) != iVar6)) {\n      *(int *)(param_1 + 4) = iVar6;\n    }" if (parenthesized_expression "(uVar4 < uVar5)" ( (binary_expression "uVar4 < uVar5" identifier < identifier) )) (compound_statement "{\n      std::vector<char_const*,std::allocator<char_const*>>::_M_default_append\n                ((vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4);\n      iVar1 = *(int *)param_1;\n    }" { (labeled_statement "std::vector<char_const*,std::allocator<char_const*>>::_M_default_append\n                ((vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4);" statement_identifier (ERROR "::vector<char_const*,std:" : : (comma_expression "vector<char_const*,std" (binary_expression "vector<char_const" identifier < identifier) (ERROR "*" *) , identifier) :) : (expression_statement "allocator<char_const*>>::_M_default_append\n                ((vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4);" (binary_expression "allocator<char_const*>>::_M_default_append\n                ((vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4)" identifier < (binary_expression "char_const*>>::_M_default_append\n                ((vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4)" identifier * (ERROR ">>::" >> : :) (call_expression "_M_default_append\n                ((vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4)" identifier (argument_list "((vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4)" ( (parenthesized_expression "(vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4)" ( (ERROR "vector<char_const*,std::" (comma_expression "vector<char_const*,std" (binary_expression "vector<char_const" identifier < identifier) (ERROR "*" *) , identifier) : :) (comma_expression "allocator<char_const*>> *)param_1,uVar5 - uVar4" (binary_expression "allocator<char_const*>> *)param_1" identifier < (binary_expression "char_const*>> *)param_1" identifier * (ERROR ">>" >>) (pointer_expression "*)param_1" * (ERROR ")" )) identifier))) , (binary_expression "uVar5 - uVar4" identifier - identifier)) )) ))))) ;)) (expression_statement "iVar1 = *(int *)param_1;" (assignment_expression "iVar1 = *(int *)param_1" identifier = (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) }) (else_clause "else if ((uVar5 < uVar4) && (iVar6 = iVar1 + uVar5 * 4, *(int *)(param_1 + 4) != iVar6)) {\n      *(int *)(param_1 + 4) = iVar6;\n    }" else (if_statement "if ((uVar5 < uVar4) && (iVar6 = iVar1 + uVar5 * 4, *(int *)(param_1 + 4) != iVar6)) {\n      *(int *)(param_1 + 4) = iVar6;\n    }" if (parenthesized_expression "((uVar5 < uVar4) && (iVar6 = iVar1 + uVar5 * 4, *(int *)(param_1 + 4) != iVar6))" ( (binary_expression "(uVar5 < uVar4) && (iVar6 = iVar1 + uVar5 * 4, *(int *)(param_1 + 4) != iVar6)" (parenthesized_expression "(uVar5 < uVar4)" ( (binary_expression "uVar5 < uVar4" identifier < identifier) )) && (parenthesized_expression "(iVar6 = iVar1 + uVar5 * 4, *(int *)(param_1 + 4) != iVar6)" ( (comma_expression "iVar6 = iVar1 + uVar5 * 4, *(int *)(param_1 + 4) != iVar6" (assignment_expression "iVar6 = iVar1 + uVar5 * 4" identifier = (binary_expression "iVar1 + uVar5 * 4" identifier + (binary_expression "uVar5 * 4" identifier * number_literal))) , (binary_expression "*(int *)(param_1 + 4) != iVar6" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) != identifier)) ))) )) (compound_statement "{\n      *(int *)(param_1 + 4) = iVar6;\n    }" { (expression_statement "*(int *)(param_1 + 4) = iVar6;" (assignment_expression "*(int *)(param_1 + 4) = iVar6" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = identifier) ;) })))) })) (expression_statement "piVar2 = (int *)(iVar1 + param_2 * 4);" (assignment_expression "piVar2 = (int *)(iVar1 + param_2 * 4)" identifier = (cast_expression "(int *)(iVar1 + param_2 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + param_2 * 4)" ( (binary_expression "iVar1 + param_2 * 4" identifier + (binary_expression "param_2 * 4" identifier * number_literal)) )))) ;) (if_statement "if (*piVar2 != 0) {\n    uVar3 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0xd34);\n    (*(code *)PTR_error_004c1a54)(this,uVar3,param_2);\n    piVar2 = (int *)(*(int *)param_1 + param_2 * 4);\n  }" if (parenthesized_expression "(*piVar2 != 0)" ( (binary_expression "*piVar2 != 0" (pointer_expression "*piVar2" * identifier) != number_literal) )) (compound_statement "{\n    uVar3 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0xd34);\n    (*(code *)PTR_error_004c1a54)(this,uVar3,param_2);\n    piVar2 = (int *)(*(int *)param_1 + param_2 * 4);\n  }" { (expression_statement "uVar3 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0xd34);" (assignment_expression "uVar3 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0xd34)" identifier = (call_expression "(*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0xd34)" (parenthesized_expression "(*(code *)PTR_gettext_004c5c30)" ( (pointer_expression "*(code *)PTR_gettext_004c5c30" * (cast_expression "(code *)PTR_gettext_004c5c30" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s__s_004c1a50 + -0xd34)" ( (binary_expression "PTR_s__s_004c1a50 + -0xd34" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR_error_004c1a54)(this,uVar3,param_2);" (call_expression "(*(code *)PTR_error_004c1a54)(this,uVar3,param_2)" (parenthesized_expression "(*(code *)PTR_error_004c1a54)" ( (pointer_expression "*(code *)PTR_error_004c1a54" * (cast_expression "(code *)PTR_error_004c1a54" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(this,uVar3,param_2)" ( identifier , identifier , identifier ))) ;) (expression_statement "piVar2 = (int *)(*(int *)param_1 + param_2 * 4);" (assignment_expression "piVar2 = (int *)(*(int *)param_1 + param_2 * 4)" identifier = (cast_expression "(int *)(*(int *)param_1 + param_2 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_1 + param_2 * 4)" ( (binary_expression "*(int *)param_1 + param_2 * 4" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + (binary_expression "param_2 * 4" identifier * number_literal)) )))) ;) })) (expression_statement "*piVar2 = (int)param_3;" (assignment_expression "*piVar2 = (int)param_3" (pointer_expression "*piVar2" * identifier) = (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "/* DWARF original prototype: void set_version_map(Sized_dynobj<64,_true> * this, Version_map *\n   version_map, uint ndx, char * name) */\n\nvoid __thiscall\ngold::Sized_dynobj<64,_true>::set_version_map\n          (Sized_dynobj<64,_true> *this,Version_map *version_map,uint ndx,char *name)\n\n{\n  pointer ppcVar1;\n  undefined4 uVar2;\n  uint uVar3;\n  pointer ppcVar4;\n  uint uVar5;\n  \n  ppcVar1 = (version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n            _M_start;\n  ppcVar4 = (version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n            _M_finish;\n  uVar3 = (int)ppcVar4 - (int)ppcVar1 >> 2;\n  if (uVar3 <= ndx) {\n    uVar5 = ndx + 1;\n    if (uVar3 < uVar5) {\n      std::vector<char_const*,_std::allocator<char_const*>_>::_M_default_append\n                (version_map,uVar5 - uVar3);\n      ppcVar1 = (version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl\n                ._M_start;\n    }\n    else if ((uVar5 < uVar3) && (ppcVar4 != ppcVar1 + uVar5)) {\n      (version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl._M_finish\n           = ppcVar1 + uVar5;\n    }\n  }\n  ppcVar1 = ppcVar1 + ndx;\n  if (*ppcVar1 != (char *)0x0) {\n    uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0xd34);\n    (*(code *)PTR_error_004c1a54)(this,uVar2,ndx);\n    ppcVar1 = (version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n              _M_start + ndx;\n  }\n  *ppcVar1 = name;\n  return;\n}\n\n" comment (declaration "void __thiscall\ngold::Sized_dynobj<64,_true>::set_version_map\n          (Sized_dynobj<64,_true> *this,Version_map *version_map,uint ndx,char *name)\n\n{\n  pointer ppcVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_true>::set_version_map\n          (Sized_dynobj<64,_true> *this,Version_map *version_map,uint ndx,char *name)\n\n{\n  pointer" identifier > : : (function_declarator "set_version_map\n          (Sized_dynobj<64,_true> *this,Version_map *version_map,uint ndx,char *name)" identifier (parameter_list "(Sized_dynobj<64,_true> *this,Version_map *version_map,uint ndx,char *name)" ( (parameter_declaration "Sized_dynobj" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Version_map *version_map" type_identifier (pointer_declarator "*version_map" * identifier)) , (parameter_declaration "uint ndx" type_identifier identifier) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) ))) { identifier) identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "pointer ppcVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (expression_statement "ppcVar1 = (version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n            _M_start;" (assignment_expression "ppcVar1 = (version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n            _M_start" identifier = (field_expression "(version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n            _M_start" (field_expression "(version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl" (parenthesized_expression "(version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)" ( (ERROR "version_map->super__Vector_base<char_const*,_std::" (comma_expression "version_map->super__Vector_base<char_const*,_std" (binary_expression "version_map->super__Vector_base<char_const" (field_expression "version_map->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "*" *) , identifier) : :) (binary_expression "allocator<char_const*>_>" (binary_expression "allocator<char_const*>_" (binary_expression "allocator<char_const" identifier < identifier) (ERROR "*" *) > identifier) > identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "ppcVar4 = (version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n            _M_finish;" (assignment_expression "ppcVar4 = (version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n            _M_finish" identifier = (field_expression "(version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n            _M_finish" (field_expression "(version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl" (parenthesized_expression "(version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)" ( (ERROR "version_map->super__Vector_base<char_const*,_std::" (comma_expression "version_map->super__Vector_base<char_const*,_std" (binary_expression "version_map->super__Vector_base<char_const" (field_expression "version_map->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "*" *) , identifier) : :) (binary_expression "allocator<char_const*>_>" (binary_expression "allocator<char_const*>_" (binary_expression "allocator<char_const" identifier < identifier) (ERROR "*" *) > identifier) > identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "uVar3 = (int)ppcVar4 - (int)ppcVar1 >> 2;" (assignment_expression "uVar3 = (int)ppcVar4 - (int)ppcVar1 >> 2" identifier = (binary_expression "(int)ppcVar4 - (int)ppcVar1 >> 2" (binary_expression "(int)ppcVar4 - (int)ppcVar1" (cast_expression "(int)ppcVar4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)ppcVar1" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) ;) (if_statement "if (uVar3 <= ndx) {\n    uVar5 = ndx + 1;\n    if (uVar3 < uVar5) {\n      std::vector<char_const*,_std::allocator<char_const*>_>::_M_default_append\n                (version_map,uVar5 - uVar3);\n      ppcVar1 = (version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl\n                ._M_start;\n    }\n    else if ((uVar5 < uVar3) && (ppcVar4 != ppcVar1 + uVar5)) {\n      (version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl._M_finish\n           = ppcVar1 + uVar5;\n    }\n  }" if (parenthesized_expression "(uVar3 <= ndx)" ( (binary_expression "uVar3 <= ndx" identifier <= identifier) )) (compound_statement "{\n    uVar5 = ndx + 1;\n    if (uVar3 < uVar5) {\n      std::vector<char_const*,_std::allocator<char_const*>_>::_M_default_append\n                (version_map,uVar5 - uVar3);\n      ppcVar1 = (version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl\n                ._M_start;\n    }\n    else if ((uVar5 < uVar3) && (ppcVar4 != ppcVar1 + uVar5)) {\n      (version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl._M_finish\n           = ppcVar1 + uVar5;\n    }\n  }" { (expression_statement "uVar5 = ndx + 1;" (assignment_expression "uVar5 = ndx + 1" identifier = (binary_expression "ndx + 1" identifier + number_literal)) ;) (if_statement "if (uVar3 < uVar5) {\n      std::vector<char_const*,_std::allocator<char_const*>_>::_M_default_append\n                (version_map,uVar5 - uVar3);\n      ppcVar1 = (version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl\n                ._M_start;\n    }\n    else if ((uVar5 < uVar3) && (ppcVar4 != ppcVar1 + uVar5)) {\n      (version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl._M_finish\n           = ppcVar1 + uVar5;\n    }" if (parenthesized_expression "(uVar3 < uVar5)" ( (binary_expression "uVar3 < uVar5" identifier < identifier) )) (compound_statement "{\n      std::vector<char_const*,_std::allocator<char_const*>_>::_M_default_append\n                (version_map,uVar5 - uVar3);\n      ppcVar1 = (version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl\n                ._M_start;\n    }" { (labeled_statement "std::vector<char_const*,_std::allocator<char_const*>_>::_M_default_append\n                (version_map,uVar5 - uVar3);" statement_identifier (ERROR "::vector<char_const*,_std::allocator<char_const*>_>:" : : (comma_expression "vector<char_const*,_std" (binary_expression "vector<char_const" identifier < identifier) (ERROR "*" *) , identifier) : : (binary_expression "allocator<char_const*>_" (binary_expression "allocator<char_const" identifier < identifier) (ERROR "*" *) > identifier) > :) : (expression_statement "_M_default_append\n                (version_map,uVar5 - uVar3);" (call_expression "_M_default_append\n                (version_map,uVar5 - uVar3)" identifier (argument_list "(version_map,uVar5 - uVar3)" ( identifier , (binary_expression "uVar5 - uVar3" identifier - identifier) ))) ;)) (expression_statement "ppcVar1 = (version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl\n                ._M_start;" (assignment_expression "ppcVar1 = (version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl\n                ._M_start" identifier = (field_expression "(version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl\n                ._M_start" (field_expression "(version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl" (parenthesized_expression "(version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)" ( (ERROR "version_map->super__Vector_base<char_const*,_std::" (comma_expression "version_map->super__Vector_base<char_const*,_std" (binary_expression "version_map->super__Vector_base<char_const" (field_expression "version_map->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "*" *) , identifier) : :) (binary_expression "allocator<char_const*>_>" (binary_expression "allocator<char_const*>_" (binary_expression "allocator<char_const" identifier < identifier) (ERROR "*" *) > identifier) > identifier) )) . field_identifier) . field_identifier)) ;) }) (else_clause "else if ((uVar5 < uVar3) && (ppcVar4 != ppcVar1 + uVar5)) {\n      (version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl._M_finish\n           = ppcVar1 + uVar5;\n    }" else (if_statement "if ((uVar5 < uVar3) && (ppcVar4 != ppcVar1 + uVar5)) {\n      (version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl._M_finish\n           = ppcVar1 + uVar5;\n    }" if (parenthesized_expression "((uVar5 < uVar3) && (ppcVar4 != ppcVar1 + uVar5))" ( (binary_expression "(uVar5 < uVar3) && (ppcVar4 != ppcVar1 + uVar5)" (parenthesized_expression "(uVar5 < uVar3)" ( (binary_expression "uVar5 < uVar3" identifier < identifier) )) && (parenthesized_expression "(ppcVar4 != ppcVar1 + uVar5)" ( (binary_expression "ppcVar4 != ppcVar1 + uVar5" identifier != (binary_expression "ppcVar1 + uVar5" identifier + identifier)) ))) )) (compound_statement "{\n      (version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl._M_finish\n           = ppcVar1 + uVar5;\n    }" { (expression_statement "(version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl._M_finish\n           = ppcVar1 + uVar5;" (assignment_expression "(version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl._M_finish\n           = ppcVar1 + uVar5" (field_expression "(version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl._M_finish" (field_expression "(version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl" (parenthesized_expression "(version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)" ( (ERROR "version_map->super__Vector_base<char_const*,_std::" (comma_expression "version_map->super__Vector_base<char_const*,_std" (binary_expression "version_map->super__Vector_base<char_const" (field_expression "version_map->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "*" *) , identifier) : :) (binary_expression "allocator<char_const*>_>" (binary_expression "allocator<char_const*>_" (binary_expression "allocator<char_const" identifier < identifier) (ERROR "*" *) > identifier) > identifier) )) . field_identifier) . field_identifier) = (binary_expression "ppcVar1 + uVar5" identifier + identifier)) ;) })))) })) (expression_statement "ppcVar1 = ppcVar1 + ndx;" (assignment_expression "ppcVar1 = ppcVar1 + ndx" identifier = (binary_expression "ppcVar1 + ndx" identifier + identifier)) ;) (if_statement "if (*ppcVar1 != (char *)0x0) {\n    uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0xd34);\n    (*(code *)PTR_error_004c1a54)(this,uVar2,ndx);\n    ppcVar1 = (version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n              _M_start + ndx;\n  }" if (parenthesized_expression "(*ppcVar1 != (char *)0x0)" ( (binary_expression "*ppcVar1 != (char *)0x0" (pointer_expression "*ppcVar1" * identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0xd34);\n    (*(code *)PTR_error_004c1a54)(this,uVar2,ndx);\n    ppcVar1 = (version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n              _M_start + ndx;\n  }" { (expression_statement "uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0xd34);" (assignment_expression "uVar2 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0xd34)" identifier = (call_expression "(*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0xd34)" (parenthesized_expression "(*(code *)PTR_gettext_004c5c30)" ( (pointer_expression "*(code *)PTR_gettext_004c5c30" * (cast_expression "(code *)PTR_gettext_004c5c30" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s__s_004c1a50 + -0xd34)" ( (binary_expression "PTR_s__s_004c1a50 + -0xd34" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR_error_004c1a54)(this,uVar2,ndx);" (call_expression "(*(code *)PTR_error_004c1a54)(this,uVar2,ndx)" (parenthesized_expression "(*(code *)PTR_error_004c1a54)" ( (pointer_expression "*(code *)PTR_error_004c1a54" * (cast_expression "(code *)PTR_error_004c1a54" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(this,uVar2,ndx)" ( identifier , identifier , identifier ))) ;) (expression_statement "ppcVar1 = (version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n              _M_start + ndx;" (assignment_expression "ppcVar1 = (version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n              _M_start + ndx" identifier = (binary_expression "(version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n              _M_start + ndx" (field_expression "(version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n              _M_start" (field_expression "(version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl" (parenthesized_expression "(version_map->super__Vector_base<char_const*,_std::allocator<char_const*>_>)" ( (ERROR "version_map->super__Vector_base<char_const*,_std::" (comma_expression "version_map->super__Vector_base<char_const*,_std" (binary_expression "version_map->super__Vector_base<char_const" (field_expression "version_map->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "*" *) , identifier) : :) (binary_expression "allocator<char_const*>_>" (binary_expression "allocator<char_const*>_" (binary_expression "allocator<char_const" identifier < identifier) (ERROR "*" *) > identifier) > identifier) )) . field_identifier) . field_identifier) + identifier)) ;) })) (expression_statement "*ppcVar1 = name;" (assignment_expression "*ppcVar1 = name" (pointer_expression "*ppcVar1" * identifier) = identifier) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void __thiscall\ngold::Sized_dynobj<64,true>::set_version_map\n          (Sized_dynobj<64,true> *this,vector *param_1,uint param_2,char *param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  int iVar6;\n  \n  iVar1 = *(int *)param_1;\n  uVar4 = *(int *)(param_1 + 4) - iVar1 >> 2;\n  if (uVar4 <= param_2) {\n    uVar5 = param_2 + 1;\n    if (uVar4 < uVar5) {\n      std::vector<char_const*,std::allocator<char_const*>>::_M_default_append\n                ((vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4);\n      iVar1 = *(int *)param_1;\n    }\n    else if ((uVar5 < uVar4) && (iVar6 = iVar1 + uVar5 * 4, *(int *)(param_1 + 4) != iVar6)) {\n      *(int *)(param_1 + 4) = iVar6;\n    }\n  }\n  piVar2 = (int *)(iVar1 + param_2 * 4);\n  if (*piVar2 != 0) {\n    uVar3 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0xd34);\n    (*(code *)PTR_error_004c1a54)(this,uVar3,param_2);\n    piVar2 = (int *)(*(int *)param_1 + param_2 * 4);\n  }\n  *piVar2 = (int)param_3;\n  return;\n}\n\n" (declaration "void __thiscall\ngold::Sized_dynobj<64,true>::set_version_map\n          (Sized_dynobj<64,true> *this,vector *param_1,uint param_2,char *param_3)\n\n{\n  int iVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "true>::set_version_map\n          (Sized_dynobj<64,true> *this,vector *param_1,uint param_2,char *param_3)\n\n{\n  int" identifier > : : (function_declarator "set_version_map\n          (Sized_dynobj<64,true> *this,vector *param_1,uint param_2,char *param_3)" identifier (parameter_list "(Sized_dynobj<64,true> *this,vector *param_1,uint param_2,char *param_3)" ( (parameter_declaration "Sized_dynobj" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "vector *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) { primitive_type) identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)param_1;" (assignment_expression "iVar1 = *(int *)param_1" identifier = (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar4 = *(int *)(param_1 + 4) - iVar1 >> 2;" (assignment_expression "uVar4 = *(int *)(param_1 + 4) - iVar1 >> 2" identifier = (binary_expression "*(int *)(param_1 + 4) - iVar1 >> 2" (binary_expression "*(int *)(param_1 + 4) - iVar1" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) - identifier) >> number_literal)) ;) (if_statement "if (uVar4 <= param_2) {\n    uVar5 = param_2 + 1;\n    if (uVar4 < uVar5) {\n      std::vector<char_const*,std::allocator<char_const*>>::_M_default_append\n                ((vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4);\n      iVar1 = *(int *)param_1;\n    }\n    else if ((uVar5 < uVar4) && (iVar6 = iVar1 + uVar5 * 4, *(int *)(param_1 + 4) != iVar6)) {\n      *(int *)(param_1 + 4) = iVar6;\n    }\n  }" if (parenthesized_expression "(uVar4 <= param_2)" ( (binary_expression "uVar4 <= param_2" identifier <= identifier) )) (compound_statement "{\n    uVar5 = param_2 + 1;\n    if (uVar4 < uVar5) {\n      std::vector<char_const*,std::allocator<char_const*>>::_M_default_append\n                ((vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4);\n      iVar1 = *(int *)param_1;\n    }\n    else if ((uVar5 < uVar4) && (iVar6 = iVar1 + uVar5 * 4, *(int *)(param_1 + 4) != iVar6)) {\n      *(int *)(param_1 + 4) = iVar6;\n    }\n  }" { (expression_statement "uVar5 = param_2 + 1;" (assignment_expression "uVar5 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (if_statement "if (uVar4 < uVar5) {\n      std::vector<char_const*,std::allocator<char_const*>>::_M_default_append\n                ((vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4);\n      iVar1 = *(int *)param_1;\n    }\n    else if ((uVar5 < uVar4) && (iVar6 = iVar1 + uVar5 * 4, *(int *)(param_1 + 4) != iVar6)) {\n      *(int *)(param_1 + 4) = iVar6;\n    }" if (parenthesized_expression "(uVar4 < uVar5)" ( (binary_expression "uVar4 < uVar5" identifier < identifier) )) (compound_statement "{\n      std::vector<char_const*,std::allocator<char_const*>>::_M_default_append\n                ((vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4);\n      iVar1 = *(int *)param_1;\n    }" { (labeled_statement "std::vector<char_const*,std::allocator<char_const*>>::_M_default_append\n                ((vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4);" statement_identifier (ERROR "::vector<char_const*,std:" : : (comma_expression "vector<char_const*,std" (binary_expression "vector<char_const" identifier < identifier) (ERROR "*" *) , identifier) :) : (expression_statement "allocator<char_const*>>::_M_default_append\n                ((vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4);" (binary_expression "allocator<char_const*>>::_M_default_append\n                ((vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4)" identifier < (binary_expression "char_const*>>::_M_default_append\n                ((vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4)" identifier * (ERROR ">>::" >> : :) (call_expression "_M_default_append\n                ((vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4)" identifier (argument_list "((vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4)" ( (parenthesized_expression "(vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4)" ( (ERROR "vector<char_const*,std::" (comma_expression "vector<char_const*,std" (binary_expression "vector<char_const" identifier < identifier) (ERROR "*" *) , identifier) : :) (comma_expression "allocator<char_const*>> *)param_1,uVar5 - uVar4" (binary_expression "allocator<char_const*>> *)param_1" identifier < (binary_expression "char_const*>> *)param_1" identifier * (ERROR ">>" >>) (pointer_expression "*)param_1" * (ERROR ")" )) identifier))) , (binary_expression "uVar5 - uVar4" identifier - identifier)) )) ))))) ;)) (expression_statement "iVar1 = *(int *)param_1;" (assignment_expression "iVar1 = *(int *)param_1" identifier = (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) }) (else_clause "else if ((uVar5 < uVar4) && (iVar6 = iVar1 + uVar5 * 4, *(int *)(param_1 + 4) != iVar6)) {\n      *(int *)(param_1 + 4) = iVar6;\n    }" else (if_statement "if ((uVar5 < uVar4) && (iVar6 = iVar1 + uVar5 * 4, *(int *)(param_1 + 4) != iVar6)) {\n      *(int *)(param_1 + 4) = iVar6;\n    }" if (parenthesized_expression "((uVar5 < uVar4) && (iVar6 = iVar1 + uVar5 * 4, *(int *)(param_1 + 4) != iVar6))" ( (binary_expression "(uVar5 < uVar4) && (iVar6 = iVar1 + uVar5 * 4, *(int *)(param_1 + 4) != iVar6)" (parenthesized_expression "(uVar5 < uVar4)" ( (binary_expression "uVar5 < uVar4" identifier < identifier) )) && (parenthesized_expression "(iVar6 = iVar1 + uVar5 * 4, *(int *)(param_1 + 4) != iVar6)" ( (comma_expression "iVar6 = iVar1 + uVar5 * 4, *(int *)(param_1 + 4) != iVar6" (assignment_expression "iVar6 = iVar1 + uVar5 * 4" identifier = (binary_expression "iVar1 + uVar5 * 4" identifier + (binary_expression "uVar5 * 4" identifier * number_literal))) , (binary_expression "*(int *)(param_1 + 4) != iVar6" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) != identifier)) ))) )) (compound_statement "{\n      *(int *)(param_1 + 4) = iVar6;\n    }" { (expression_statement "*(int *)(param_1 + 4) = iVar6;" (assignment_expression "*(int *)(param_1 + 4) = iVar6" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = identifier) ;) })))) })) (expression_statement "piVar2 = (int *)(iVar1 + param_2 * 4);" (assignment_expression "piVar2 = (int *)(iVar1 + param_2 * 4)" identifier = (cast_expression "(int *)(iVar1 + param_2 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + param_2 * 4)" ( (binary_expression "iVar1 + param_2 * 4" identifier + (binary_expression "param_2 * 4" identifier * number_literal)) )))) ;) (if_statement "if (*piVar2 != 0) {\n    uVar3 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0xd34);\n    (*(code *)PTR_error_004c1a54)(this,uVar3,param_2);\n    piVar2 = (int *)(*(int *)param_1 + param_2 * 4);\n  }" if (parenthesized_expression "(*piVar2 != 0)" ( (binary_expression "*piVar2 != 0" (pointer_expression "*piVar2" * identifier) != number_literal) )) (compound_statement "{\n    uVar3 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0xd34);\n    (*(code *)PTR_error_004c1a54)(this,uVar3,param_2);\n    piVar2 = (int *)(*(int *)param_1 + param_2 * 4);\n  }" { (expression_statement "uVar3 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0xd34);" (assignment_expression "uVar3 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0xd34)" identifier = (call_expression "(*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0xd34)" (parenthesized_expression "(*(code *)PTR_gettext_004c5c30)" ( (pointer_expression "*(code *)PTR_gettext_004c5c30" * (cast_expression "(code *)PTR_gettext_004c5c30" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s__s_004c1a50 + -0xd34)" ( (binary_expression "PTR_s__s_004c1a50 + -0xd34" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR_error_004c1a54)(this,uVar3,param_2);" (call_expression "(*(code *)PTR_error_004c1a54)(this,uVar3,param_2)" (parenthesized_expression "(*(code *)PTR_error_004c1a54)" ( (pointer_expression "*(code *)PTR_error_004c1a54" * (cast_expression "(code *)PTR_error_004c1a54" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(this,uVar3,param_2)" ( identifier , identifier , identifier ))) ;) (expression_statement "piVar2 = (int *)(*(int *)param_1 + param_2 * 4);" (assignment_expression "piVar2 = (int *)(*(int *)param_1 + param_2 * 4)" identifier = (cast_expression "(int *)(*(int *)param_1 + param_2 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_1 + param_2 * 4)" ( (binary_expression "*(int *)param_1 + param_2 * 4" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + (binary_expression "param_2 * 4" identifier * number_literal)) )))) ;) })) (expression_statement "*piVar2 = (int)param_3;" (assignment_expression "*piVar2 = (int)param_3" (pointer_expression "*piVar2" * identifier) = (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (return_statement "return;" return ;) (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) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) { TYPE) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - IDENT) >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (labeled_statement statement_identifier (ERROR : : (comma_expression (binary_expression IDENT < IDENT) (ERROR *) , IDENT) :) : (expression_statement (binary_expression IDENT < (binary_expression IDENT * (ERROR >> : :) (call_expression IDENT (argument_list ( (parenthesized_expression ( (ERROR (comma_expression (binary_expression IDENT < IDENT) (ERROR *) , IDENT) : :) (comma_expression (binary_expression IDENT < (binary_expression IDENT * (ERROR >>) (pointer_expression * (ERROR )) IDENT))) , (binary_expression IDENT - IDENT)) )) ))))) ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT)) ))) )) (compound_statement { (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 IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + (binary_expression IDENT * LIT)) )))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (return_statement return ;) (ERROR }))
(declaration "void __thiscall\ngold::Sized_dynobj<64,true>::set_version_map\n          (Sized_dynobj<64,true> *this,vector *param_1,uint param_2,char *param_3)\n\n{\n  int iVar1;" (primitive_type "void") (ms_call_modifier "__thiscall" (__thiscall "__thiscall")) (ERROR "gold::" (identifier "gold") (: ":") (: ":")) (identifier "Sized_dynobj") (ERROR "<64" (< "<") (number_literal "64")) (, ",") (ERROR "true>::set_version_map\n          (Sized_dynobj<64,true> *this,vector *param_1,uint param_2,char *param_3)\n\n{\n  int" (identifier "true") (> ">") (: ":") (: ":") (function_declarator "set_version_map\n          (Sized_dynobj<64,true> *this,vector *param_1,uint param_2,char *param_3)" (identifier "set_version_map") (parameter_list "(Sized_dynobj<64,true> *this,vector *param_1,uint param_2,char *param_3)" (( "(") (parameter_declaration "Sized_dynobj" (type_identifier "Sized_dynobj")) (ERROR "<64" (< "<") (number_literal "64")) (, ",") (parameter_declaration "true> *this" (type_identifier "true") (ERROR ">" (> ">")) (pointer_declarator "*this" (* "*") (identifier "this"))) (, ",") (parameter_declaration "vector *param_1" (type_identifier "vector") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "char *param_3" (primitive_type "char") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) ({ "{") (primitive_type "int")) (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (expression_statement "iVar1 = *(int *)param_1;" (assignment_expression "iVar1 = *(int *)param_1" (identifier "iVar1") (= "=") (pointer_expression "*(int *)param_1" (* "*") (cast_expression "(int *)param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1")))) (; ";")) (expression_statement "uVar4 = *(int *)(param_1 + 4) - iVar1 >> 2;" (assignment_expression "uVar4 = *(int *)(param_1 + 4) - iVar1 >> 2" (identifier "uVar4") (= "=") (binary_expression "*(int *)(param_1 + 4) - iVar1 >> 2" (binary_expression "*(int *)(param_1 + 4) - iVar1" (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (- "-") (identifier "iVar1")) (>> ">>") (number_literal "2"))) (; ";")) (if_statement "if (uVar4 <= param_2) {\n    uVar5 = param_2 + 1;\n    if (uVar4 < uVar5) {\n      std::vector<char_const*,std::allocator<char_const*>>::_M_default_append\n                ((vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4);\n      iVar1 = *(int *)param_1;\n    }\n    else if ((uVar5 < uVar4) && (iVar6 = iVar1 + uVar5 * 4, *(int *)(param_1 + 4) != iVar6)) {\n      *(int *)(param_1 + 4) = iVar6;\n    }\n  }" (if "if") (parenthesized_expression "(uVar4 <= param_2)" (( "(") (binary_expression "uVar4 <= param_2" (identifier "uVar4") (<= "<=") (identifier "param_2")) () ")")) (compound_statement "{\n    uVar5 = param_2 + 1;\n    if (uVar4 < uVar5) {\n      std::vector<char_const*,std::allocator<char_const*>>::_M_default_append\n                ((vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4);\n      iVar1 = *(int *)param_1;\n    }\n    else if ((uVar5 < uVar4) && (iVar6 = iVar1 + uVar5 * 4, *(int *)(param_1 + 4) != iVar6)) {\n      *(int *)(param_1 + 4) = iVar6;\n    }\n  }" ({ "{") (expression_statement "uVar5 = param_2 + 1;" (assignment_expression "uVar5 = param_2 + 1" (identifier "uVar5") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (uVar4 < uVar5) {\n      std::vector<char_const*,std::allocator<char_const*>>::_M_default_append\n                ((vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4);\n      iVar1 = *(int *)param_1;\n    }\n    else if ((uVar5 < uVar4) && (iVar6 = iVar1 + uVar5 * 4, *(int *)(param_1 + 4) != iVar6)) {\n      *(int *)(param_1 + 4) = iVar6;\n    }" (if "if") (parenthesized_expression "(uVar4 < uVar5)" (( "(") (binary_expression "uVar4 < uVar5" (identifier "uVar4") (< "<") (identifier "uVar5")) () ")")) (compound_statement "{\n      std::vector<char_const*,std::allocator<char_const*>>::_M_default_append\n                ((vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4);\n      iVar1 = *(int *)param_1;\n    }" ({ "{") (labeled_statement "std::vector<char_const*,std::allocator<char_const*>>::_M_default_append\n                ((vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4);" (statement_identifier "std") (ERROR "::vector<char_const*,std:" (: ":") (: ":") (comma_expression "vector<char_const*,std" (binary_expression "vector<char_const" (identifier "vector") (< "<") (identifier "char_const")) (ERROR "*" (* "*")) (, ",") (identifier "std")) (: ":")) (: ":") (expression_statement "allocator<char_const*>>::_M_default_append\n                ((vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4);" (binary_expression "allocator<char_const*>>::_M_default_append\n                ((vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4)" (identifier "allocator") (< "<") (binary_expression "char_const*>>::_M_default_append\n                ((vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4)" (identifier "char_const") (* "*") (ERROR ">>::" (>> ">>") (: ":") (: ":")) (call_expression "_M_default_append\n                ((vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4)" (identifier "_M_default_append") (argument_list "((vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4)" (( "(") (parenthesized_expression "(vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4)" (( "(") (ERROR "vector<char_const*,std::" (comma_expression "vector<char_const*,std" (binary_expression "vector<char_const" (identifier "vector") (< "<") (identifier "char_const")) (ERROR "*" (* "*")) (, ",") (identifier "std")) (: ":") (: ":")) (comma_expression "allocator<char_const*>> *)param_1,uVar5 - uVar4" (binary_expression "allocator<char_const*>> *)param_1" (identifier "allocator") (< "<") (binary_expression "char_const*>> *)param_1" (identifier "char_const") (* "*") (ERROR ">>" (>> ">>")) (pointer_expression "*)param_1" (* "*") (ERROR ")" () ")")) (identifier "param_1")))) (, ",") (binary_expression "uVar5 - uVar4" (identifier "uVar5") (- "-") (identifier "uVar4"))) () ")")) () ""))))) (; ";"))) (expression_statement "iVar1 = *(int *)param_1;" (assignment_expression "iVar1 = *(int *)param_1" (identifier "iVar1") (= "=") (pointer_expression "*(int *)param_1" (* "*") (cast_expression "(int *)param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1")))) (; ";")) (} "}")) (else_clause "else if ((uVar5 < uVar4) && (iVar6 = iVar1 + uVar5 * 4, *(int *)(param_1 + 4) != iVar6)) {\n      *(int *)(param_1 + 4) = iVar6;\n    }" (else "else") (if_statement "if ((uVar5 < uVar4) && (iVar6 = iVar1 + uVar5 * 4, *(int *)(param_1 + 4) != iVar6)) {\n      *(int *)(param_1 + 4) = iVar6;\n    }" (if "if") (parenthesized_expression "((uVar5 < uVar4) && (iVar6 = iVar1 + uVar5 * 4, *(int *)(param_1 + 4) != iVar6))" (( "(") (binary_expression "(uVar5 < uVar4) && (iVar6 = iVar1 + uVar5 * 4, *(int *)(param_1 + 4) != iVar6)" (parenthesized_expression "(uVar5 < uVar4)" (( "(") (binary_expression "uVar5 < uVar4" (identifier "uVar5") (< "<") (identifier "uVar4")) () ")")) (&& "&&") (parenthesized_expression "(iVar6 = iVar1 + uVar5 * 4, *(int *)(param_1 + 4) != iVar6)" (( "(") (comma_expression "iVar6 = iVar1 + uVar5 * 4, *(int *)(param_1 + 4) != iVar6" (assignment_expression "iVar6 = iVar1 + uVar5 * 4" (identifier "iVar6") (= "=") (binary_expression "iVar1 + uVar5 * 4" (identifier "iVar1") (+ "+") (binary_expression "uVar5 * 4" (identifier "uVar5") (* "*") (number_literal "4")))) (, ",") (binary_expression "*(int *)(param_1 + 4) != iVar6" (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (identifier "iVar6"))) () ")"))) () ")")) (compound_statement "{\n      *(int *)(param_1 + 4) = iVar6;\n    }" ({ "{") (expression_statement "*(int *)(param_1 + 4) = iVar6;" (assignment_expression "*(int *)(param_1 + 4) = iVar6" (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "iVar6")) (; ";")) (} "}"))))) (} "}"))) (expression_statement "piVar2 = (int *)(iVar1 + param_2 * 4);" (assignment_expression "piVar2 = (int *)(iVar1 + param_2 * 4)" (identifier "piVar2") (= "=") (cast_expression "(int *)(iVar1 + param_2 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + param_2 * 4)" (( "(") (binary_expression "iVar1 + param_2 * 4" (identifier "iVar1") (+ "+") (binary_expression "param_2 * 4" (identifier "param_2") (* "*") (number_literal "4"))) () ")")))) (; ";")) (if_statement "if (*piVar2 != 0) {\n    uVar3 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0xd34);\n    (*(code *)PTR_error_004c1a54)(this,uVar3,param_2);\n    piVar2 = (int *)(*(int *)param_1 + param_2 * 4);\n  }" (if "if") (parenthesized_expression "(*piVar2 != 0)" (( "(") (binary_expression "*piVar2 != 0" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar3 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0xd34);\n    (*(code *)PTR_error_004c1a54)(this,uVar3,param_2);\n    piVar2 = (int *)(*(int *)param_1 + param_2 * 4);\n  }" ({ "{") (expression_statement "uVar3 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0xd34);" (assignment_expression "uVar3 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0xd34)" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0xd34)" (parenthesized_expression "(*(code *)PTR_gettext_004c5c30)" (( "(") (pointer_expression "*(code *)PTR_gettext_004c5c30" (* "*") (cast_expression "(code *)PTR_gettext_004c5c30" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_gettext_004c5c30"))) () ")")) (argument_list "(PTR_s__s_004c1a50 + -0xd34)" (( "(") (binary_expression "PTR_s__s_004c1a50 + -0xd34" (identifier "PTR_s__s_004c1a50") (+ "+") (number_literal "-0xd34")) () ")")))) (; ";")) (expression_statement "(*(code *)PTR_error_004c1a54)(this,uVar3,param_2);" (call_expression "(*(code *)PTR_error_004c1a54)(this,uVar3,param_2)" (parenthesized_expression "(*(code *)PTR_error_004c1a54)" (( "(") (pointer_expression "*(code *)PTR_error_004c1a54" (* "*") (cast_expression "(code *)PTR_error_004c1a54" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_error_004c1a54"))) () ")")) (argument_list "(this,uVar3,param_2)" (( "(") (identifier "this") (, ",") (identifier "uVar3") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "piVar2 = (int *)(*(int *)param_1 + param_2 * 4);" (assignment_expression "piVar2 = (int *)(*(int *)param_1 + param_2 * 4)" (identifier "piVar2") (= "=") (cast_expression "(int *)(*(int *)param_1 + param_2 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)param_1 + param_2 * 4)" (( "(") (binary_expression "*(int *)param_1 + param_2 * 4" (pointer_expression "*(int *)param_1" (* "*") (cast_expression "(int *)param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1"))) (+ "+") (binary_expression "param_2 * 4" (identifier "param_2") (* "*") (number_literal "4"))) () ")")))) (; ";")) (} "}"))) (expression_statement "*piVar2 = (int)param_3;" (assignment_expression "*piVar2 = (int)param_3" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (ERROR "}" (} "}"))
(translation_unit (declaration type: (primitive_type) 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)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) (primitive_type)) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (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: (identifier)) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (ERROR (comma_expression left: (binary_expression left: (identifier) right: (identifier)) (ERROR) right: (identifier))) (expression_statement (binary_expression left: (identifier) right: (binary_expression left: (identifier) (ERROR) right: (call_expression function: (identifier) arguments: (argument_list (parenthesized_expression (ERROR (comma_expression left: (binary_expression left: (identifier) right: (identifier)) (ERROR) right: (identifier))) (comma_expression left: (binary_expression left: (identifier) right: (binary_expression left: (identifier) (ERROR) right: (pointer_expression (ERROR) argument: (identifier)))) right: (binary_expression left: (identifier) right: (identifier)))) (MISSING ")"))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier)))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) right: (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: (identifier)))))) consequence: (compound_statement (expression_statement (assignment_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: (identifier))))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (return_statement) (ERROR))

/* gold::Sized_dynobj<64, true>::MASKED(std::vector<char const*, std::allocator<char
   const*> >*, unsigned int, char const*) const */

void __thiscall
gold::Sized_dynobj<64,true>::MASKED
          (Sized_dynobj<64,true> *this,vector *param_1,uint param_2,char *param_3)

{
  int iVar1;
  int *piVar2;
  undefined4 uVar3;
  uint uVar4;
  uint uVar5;
  int iVar6;
  
  iVar1 = *(int *)param_1;
  uVar4 = *(int *)(param_1 + 4) - iVar1 >> 2;
  if (uVar4 <= param_2) {
    uVar5 = param_2 + 1;
    if (uVar4 < uVar5) {
      std::vector<char_const*,std::allocator<char_const*>>::_M_default_append
                ((vector<char_const*,std::allocator<char_const*>> *)param_1,uVar5 - uVar4);
      iVar1 = *(int *)param_1;
    }
    else if ((uVar5 < uVar4) && (iVar6 = iVar1 + uVar5 * 4, *(int *)(param_1 + 4) != iVar6)) {
      *(int *)(param_1 + 4) = iVar6;
    }
  }
  piVar2 = (int *)(iVar1 + param_2 * 4);
  if (*piVar2 != 0) {
    uVar3 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0xd34);
    (*(code *)PTR_error_004c1a54)(this,uVar3,param_2);
    piVar2 = (int *)(*(int *)param_1 + param_2 * 4);
  }
  *piVar2 = (int)param_3;
  return;
}

