
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void initialize(Dwp_index * this) */

void __thiscall gold::Dwp_output_file::Dwp_index::initialize(Dwp_index *this)

{
  uint uVar1;
  uint64_t *__s;
  uint32_t *__s_00;
  
  this->capacity_ = 0x10;
  __s = (uint64_t *)operator_new__(0x80);
  uVar1 = this->capacity_;
  this->hash_table_ = __s;
  memset(__s,0,uVar1 * 8);
  if (uVar1 < 0x20000000) {
    __s_00 = (uint32_t *)operator_new__(uVar1 << 2);
    this->index_table_ = __s_00;
    memset(__s_00,0,this->capacity_ << 2);
    return;
  }
                    /* WARNING: Subroutine does not return */
  __cxa_throw_bad_array_new_length();
}



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

void FUN_00035ec0(uint *param_1)

{
  uint uVar1;
  void *pvVar2;
  undefined4 uVar3;
  size_t __n;
  undefined4 uVar4;
  
  uVar4 = 0x35ecc;
  *param_1 = 0x10;
  pvVar2 = (void *)FUN_001e5180(0x80);
  uVar1 = *param_1;
  param_1[2] = (uint)pvVar2;
  __n = uVar1 * 8;
  uVar3 = 0;
  memset(pvVar2,0,__n);
  if (uVar1 < 0x20000000) {
    pvVar2 = (void *)FUN_001e5180(uVar1 << 2,uVar3,__n,uVar4);
    param_1[3] = (uint)pvVar2;
    memset(pvVar2,0,*param_1 << 2);
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_001e6740();
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x10]
CALL 0x00035840
ADD EBX,0x359134
MOV dword ptr [ESI],0x10
SUB ESP,0xc
PUSH 0x80
CALL 0x001e5180
MOV EDI,dword ptr [ESI]
ADD ESP,0xc
MOV dword ptr [ESI + 0x8],EAX
LEA EDX,[EDI*0x8 + 0x0]
PUSH EDX
PUSH 0x0
PUSH EAX
CALL 0x000292f0
ADD ESP,0x10
CMP EDI,0x1fffffff
JA 0x00029b50
SUB ESP,0xc
SHL EDI,0x2
PUSH EDI
CALL 0x001e5180
MOV EDX,dword ptr [ESI]
ADD ESP,0xc
MOV dword ptr [ESI + 0xc],EAX
SHL EDX,0x2
PUSH EDX
PUSH 0x0
PUSH EAX
CALL 0x000292f0
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00035ec0(uint *param_1)\n\n{\n  uint uVar1;\n  void *pvVar2;\n  undefined4 uVar3;\n  size_t __n;\n  undefined4 uVar4;\n  \n  uVar4 = 0x35ecc;\n  *param_1 = 0x10;\n  pvVar2 = (void *)FUN_001e5180(0x80);\n  uVar1 = *param_1;\n  param_1[2] = (uint)pvVar2;\n  __n = uVar1 * 8;\n  uVar3 = 0;\n  memset(pvVar2,0,__n);\n  if (uVar1 < 0x20000000) {\n    pvVar2 = (void *)FUN_001e5180(uVar1 << 2,uVar3,__n,uVar4);\n    param_1[3] = (uint)pvVar2;\n    memset(pvVar2,0,*param_1 << 2);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001e6740();\n}\n\n" comment (function_definition "void FUN_00035ec0(uint *param_1)\n\n{\n  uint uVar1;\n  void *pvVar2;\n  undefined4 uVar3;\n  size_t __n;\n  undefined4 uVar4;\n  \n  uVar4 = 0x35ecc;\n  *param_1 = 0x10;\n  pvVar2 = (void *)FUN_001e5180(0x80);\n  uVar1 = *param_1;\n  param_1[2] = (uint)pvVar2;\n  __n = uVar1 * 8;\n  uVar3 = 0;\n  memset(pvVar2,0,__n);\n  if (uVar1 < 0x20000000) {\n    pvVar2 = (void *)FUN_001e5180(uVar1 << 2,uVar3,__n,uVar4);\n    param_1[3] = (uint)pvVar2;\n    memset(pvVar2,0,*param_1 << 2);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001e6740();\n}" primitive_type (function_declarator "FUN_00035ec0(uint *param_1)" identifier (parameter_list "(uint *param_1)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  void *pvVar2;\n  undefined4 uVar3;\n  size_t __n;\n  undefined4 uVar4;\n  \n  uVar4 = 0x35ecc;\n  *param_1 = 0x10;\n  pvVar2 = (void *)FUN_001e5180(0x80);\n  uVar1 = *param_1;\n  param_1[2] = (uint)pvVar2;\n  __n = uVar1 * 8;\n  uVar3 = 0;\n  memset(pvVar2,0,__n);\n  if (uVar1 < 0x20000000) {\n    pvVar2 = (void *)FUN_001e5180(uVar1 << 2,uVar3,__n,uVar4);\n    param_1[3] = (uint)pvVar2;\n    memset(pvVar2,0,*param_1 << 2);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001e6740();\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "void *pvVar2;" primitive_type (pointer_declarator "*pvVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (expression_statement "uVar4 = 0x35ecc;" (assignment_expression "uVar4 = 0x35ecc" identifier = number_literal) ;) (expression_statement "*param_1 = 0x10;" (assignment_expression "*param_1 = 0x10" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "pvVar2 = (void *)FUN_001e5180(0x80);" (assignment_expression "pvVar2 = (void *)FUN_001e5180(0x80)" identifier = (cast_expression "(void *)FUN_001e5180(0x80)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e5180(0x80)" identifier (argument_list "(0x80)" ( number_literal ))))) ;) (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "param_1[2] = (uint)pvVar2;" (assignment_expression "param_1[2] = (uint)pvVar2" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(uint)pvVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "__n = uVar1 * 8;" (assignment_expression "__n = uVar1 * 8" identifier = (binary_expression "uVar1 * 8" identifier * number_literal)) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "memset(pvVar2,0,__n);" (call_expression "memset(pvVar2,0,__n)" identifier (argument_list "(pvVar2,0,__n)" ( identifier , number_literal , identifier ))) ;) (if_statement "if (uVar1 < 0x20000000) {\n    pvVar2 = (void *)FUN_001e5180(uVar1 << 2,uVar3,__n,uVar4);\n    param_1[3] = (uint)pvVar2;\n    memset(pvVar2,0,*param_1 << 2);\n    return;\n  }" if (parenthesized_expression "(uVar1 < 0x20000000)" ( (binary_expression "uVar1 < 0x20000000" identifier < number_literal) )) (compound_statement "{\n    pvVar2 = (void *)FUN_001e5180(uVar1 << 2,uVar3,__n,uVar4);\n    param_1[3] = (uint)pvVar2;\n    memset(pvVar2,0,*param_1 << 2);\n    return;\n  }" { (expression_statement "pvVar2 = (void *)FUN_001e5180(uVar1 << 2,uVar3,__n,uVar4);" (assignment_expression "pvVar2 = (void *)FUN_001e5180(uVar1 << 2,uVar3,__n,uVar4)" identifier = (cast_expression "(void *)FUN_001e5180(uVar1 << 2,uVar3,__n,uVar4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e5180(uVar1 << 2,uVar3,__n,uVar4)" identifier (argument_list "(uVar1 << 2,uVar3,__n,uVar4)" ( (binary_expression "uVar1 << 2" identifier << number_literal) , identifier , identifier , identifier ))))) ;) (expression_statement "param_1[3] = (uint)pvVar2;" (assignment_expression "param_1[3] = (uint)pvVar2" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (cast_expression "(uint)pvVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "memset(pvVar2,0,*param_1 << 2);" (call_expression "memset(pvVar2,0,*param_1 << 2)" identifier (argument_list "(pvVar2,0,*param_1 << 2)" ( identifier , number_literal , (binary_expression "*param_1 << 2" (pointer_expression "*param_1" * identifier) << number_literal) ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_001e6740();" (call_expression "FUN_001e6740()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void initialize(Dwp_index * this) */\n\nvoid __thiscall gold::Dwp_output_file::Dwp_index::initialize(Dwp_index *this)\n\n{\n  uint uVar1;\n  uint64_t *__s;\n  uint32_t *__s_00;\n  \n  this->capacity_ = 0x10;\n  __s = (uint64_t *)operator_new__(0x80);\n  uVar1 = this->capacity_;\n  this->hash_table_ = __s;\n  memset(__s,0,uVar1 * 8);\n  if (uVar1 < 0x20000000) {\n    __s_00 = (uint32_t *)operator_new__(uVar1 << 2);\n    this->index_table_ = __s_00;\n    memset(__s_00,0,this->capacity_ << 2);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __cxa_throw_bad_array_new_length();\n}\n\n" comment comment (function_definition "void __thiscall gold::Dwp_output_file::Dwp_index::initialize(Dwp_index *this)\n\n{\n  uint uVar1;\n  uint64_t *__s;\n  uint32_t *__s_00;\n  \n  this->capacity_ = 0x10;\n  __s = (uint64_t *)operator_new__(0x80);\n  uVar1 = this->capacity_;\n  this->hash_table_ = __s;\n  memset(__s,0,uVar1 * 8);\n  if (uVar1 < 0x20000000) {\n    __s_00 = (uint32_t *)operator_new__(uVar1 << 2);\n    this->index_table_ = __s_00;\n    memset(__s_00,0,this->capacity_ << 2);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __cxa_throw_bad_array_new_length();\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Dwp_output_file::Dwp_index::" identifier : : identifier : : identifier : :) (function_declarator "initialize(Dwp_index *this)" identifier (parameter_list "(Dwp_index *this)" ( (parameter_declaration "Dwp_index *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  uint64_t *__s;\n  uint32_t *__s_00;\n  \n  this->capacity_ = 0x10;\n  __s = (uint64_t *)operator_new__(0x80);\n  uVar1 = this->capacity_;\n  this->hash_table_ = __s;\n  memset(__s,0,uVar1 * 8);\n  if (uVar1 < 0x20000000) {\n    __s_00 = (uint32_t *)operator_new__(uVar1 << 2);\n    this->index_table_ = __s_00;\n    memset(__s_00,0,this->capacity_ << 2);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __cxa_throw_bad_array_new_length();\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint64_t *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "uint32_t *__s_00;" primitive_type (pointer_declarator "*__s_00" * identifier) ;) (expression_statement "this->capacity_ = 0x10;" (assignment_expression "this->capacity_ = 0x10" (field_expression "this->capacity_" identifier -> field_identifier) = number_literal) ;) (expression_statement "__s = (uint64_t *)operator_new__(0x80);" (assignment_expression "__s = (uint64_t *)operator_new__(0x80)" identifier = (cast_expression "(uint64_t *)operator_new__(0x80)" ( (type_descriptor "uint64_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new__(0x80)" identifier (argument_list "(0x80)" ( number_literal ))))) ;) (expression_statement "uVar1 = this->capacity_;" (assignment_expression "uVar1 = this->capacity_" identifier = (field_expression "this->capacity_" identifier -> field_identifier)) ;) (expression_statement "this->hash_table_ = __s;" (assignment_expression "this->hash_table_ = __s" (field_expression "this->hash_table_" identifier -> field_identifier) = identifier) ;) (expression_statement "memset(__s,0,uVar1 * 8);" (call_expression "memset(__s,0,uVar1 * 8)" identifier (argument_list "(__s,0,uVar1 * 8)" ( identifier , number_literal , (binary_expression "uVar1 * 8" identifier * number_literal) ))) ;) (if_statement "if (uVar1 < 0x20000000) {\n    __s_00 = (uint32_t *)operator_new__(uVar1 << 2);\n    this->index_table_ = __s_00;\n    memset(__s_00,0,this->capacity_ << 2);\n    return;\n  }" if (parenthesized_expression "(uVar1 < 0x20000000)" ( (binary_expression "uVar1 < 0x20000000" identifier < number_literal) )) (compound_statement "{\n    __s_00 = (uint32_t *)operator_new__(uVar1 << 2);\n    this->index_table_ = __s_00;\n    memset(__s_00,0,this->capacity_ << 2);\n    return;\n  }" { (expression_statement "__s_00 = (uint32_t *)operator_new__(uVar1 << 2);" (assignment_expression "__s_00 = (uint32_t *)operator_new__(uVar1 << 2)" identifier = (cast_expression "(uint32_t *)operator_new__(uVar1 << 2)" ( (type_descriptor "uint32_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new__(uVar1 << 2)" identifier (argument_list "(uVar1 << 2)" ( (binary_expression "uVar1 << 2" identifier << number_literal) ))))) ;) (expression_statement "this->index_table_ = __s_00;" (assignment_expression "this->index_table_ = __s_00" (field_expression "this->index_table_" identifier -> field_identifier) = identifier) ;) (expression_statement "memset(__s_00,0,this->capacity_ << 2);" (call_expression "memset(__s_00,0,this->capacity_ << 2)" identifier (argument_list "(__s_00,0,this->capacity_ << 2)" ( identifier , number_literal , (binary_expression "this->capacity_ << 2" (field_expression "this->capacity_" identifier -> field_identifier) << number_literal) ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "__cxa_throw_bad_array_new_length();" (call_expression "__cxa_throw_bad_array_new_length()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void FUN_00035ec0(uint *param_1)\n\n{\n  uint uVar1;\n  void *pvVar2;\n  undefined4 uVar3;\n  size_t __n;\n  undefined4 uVar4;\n  \n  uVar4 = 0x35ecc;\n  *param_1 = 0x10;\n  pvVar2 = (void *)FUN_001e5180(0x80);\n  uVar1 = *param_1;\n  param_1[2] = (uint)pvVar2;\n  __n = uVar1 * 8;\n  uVar3 = 0;\n  memset(pvVar2,0,__n);\n  if (uVar1 < 0x20000000) {\n    pvVar2 = (void *)FUN_001e5180(uVar1 << 2,uVar3,__n,uVar4);\n    param_1[3] = (uint)pvVar2;\n    memset(pvVar2,0,*param_1 << 2);\n    return;\n  }\n                    \n  FUN_001e6740();\n}\n\n" (function_definition "void FUN_00035ec0(uint *param_1)\n\n{\n  uint uVar1;\n  void *pvVar2;\n  undefined4 uVar3;\n  size_t __n;\n  undefined4 uVar4;\n  \n  uVar4 = 0x35ecc;\n  *param_1 = 0x10;\n  pvVar2 = (void *)FUN_001e5180(0x80);\n  uVar1 = *param_1;\n  param_1[2] = (uint)pvVar2;\n  __n = uVar1 * 8;\n  uVar3 = 0;\n  memset(pvVar2,0,__n);\n  if (uVar1 < 0x20000000) {\n    pvVar2 = (void *)FUN_001e5180(uVar1 << 2,uVar3,__n,uVar4);\n    param_1[3] = (uint)pvVar2;\n    memset(pvVar2,0,*param_1 << 2);\n    return;\n  }\n                    \n  FUN_001e6740();\n}" primitive_type (function_declarator "FUN_00035ec0(uint *param_1)" identifier (parameter_list "(uint *param_1)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  void *pvVar2;\n  undefined4 uVar3;\n  size_t __n;\n  undefined4 uVar4;\n  \n  uVar4 = 0x35ecc;\n  *param_1 = 0x10;\n  pvVar2 = (void *)FUN_001e5180(0x80);\n  uVar1 = *param_1;\n  param_1[2] = (uint)pvVar2;\n  __n = uVar1 * 8;\n  uVar3 = 0;\n  memset(pvVar2,0,__n);\n  if (uVar1 < 0x20000000) {\n    pvVar2 = (void *)FUN_001e5180(uVar1 << 2,uVar3,__n,uVar4);\n    param_1[3] = (uint)pvVar2;\n    memset(pvVar2,0,*param_1 << 2);\n    return;\n  }\n                    \n  FUN_001e6740();\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "void *pvVar2;" primitive_type (pointer_declarator "*pvVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (expression_statement "uVar4 = 0x35ecc;" (assignment_expression "uVar4 = 0x35ecc" identifier = number_literal) ;) (expression_statement "*param_1 = 0x10;" (assignment_expression "*param_1 = 0x10" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "pvVar2 = (void *)FUN_001e5180(0x80);" (assignment_expression "pvVar2 = (void *)FUN_001e5180(0x80)" identifier = (cast_expression "(void *)FUN_001e5180(0x80)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e5180(0x80)" identifier (argument_list "(0x80)" ( number_literal ))))) ;) (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "param_1[2] = (uint)pvVar2;" (assignment_expression "param_1[2] = (uint)pvVar2" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(uint)pvVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "__n = uVar1 * 8;" (assignment_expression "__n = uVar1 * 8" identifier = (binary_expression "uVar1 * 8" identifier * number_literal)) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "memset(pvVar2,0,__n);" (call_expression "memset(pvVar2,0,__n)" identifier (argument_list "(pvVar2,0,__n)" ( identifier , number_literal , identifier ))) ;) (if_statement "if (uVar1 < 0x20000000) {\n    pvVar2 = (void *)FUN_001e5180(uVar1 << 2,uVar3,__n,uVar4);\n    param_1[3] = (uint)pvVar2;\n    memset(pvVar2,0,*param_1 << 2);\n    return;\n  }" if (parenthesized_expression "(uVar1 < 0x20000000)" ( (binary_expression "uVar1 < 0x20000000" identifier < number_literal) )) (compound_statement "{\n    pvVar2 = (void *)FUN_001e5180(uVar1 << 2,uVar3,__n,uVar4);\n    param_1[3] = (uint)pvVar2;\n    memset(pvVar2,0,*param_1 << 2);\n    return;\n  }" { (expression_statement "pvVar2 = (void *)FUN_001e5180(uVar1 << 2,uVar3,__n,uVar4);" (assignment_expression "pvVar2 = (void *)FUN_001e5180(uVar1 << 2,uVar3,__n,uVar4)" identifier = (cast_expression "(void *)FUN_001e5180(uVar1 << 2,uVar3,__n,uVar4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e5180(uVar1 << 2,uVar3,__n,uVar4)" identifier (argument_list "(uVar1 << 2,uVar3,__n,uVar4)" ( (binary_expression "uVar1 << 2" identifier << number_literal) , identifier , identifier , identifier ))))) ;) (expression_statement "param_1[3] = (uint)pvVar2;" (assignment_expression "param_1[3] = (uint)pvVar2" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (cast_expression "(uint)pvVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "memset(pvVar2,0,*param_1 << 2);" (call_expression "memset(pvVar2,0,*param_1 << 2)" identifier (argument_list "(pvVar2,0,*param_1 << 2)" ( identifier , number_literal , (binary_expression "*param_1 << 2" (pointer_expression "*param_1" * identifier) << number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_001e6740();" (call_expression "FUN_001e6740()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT << LIT) , IDENT , IDENT , IDENT ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , (binary_expression (pointer_expression * IDENT) << LIT) ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_00035ec0(uint *param_1)\n\n{\n  uint uVar1;\n  void *pvVar2;\n  undefined4 uVar3;\n  size_t __n;\n  undefined4 uVar4;\n  \n  uVar4 = 0x35ecc;\n  *param_1 = 0x10;\n  pvVar2 = (void *)FUN_001e5180(0x80);\n  uVar1 = *param_1;\n  param_1[2] = (uint)pvVar2;\n  __n = uVar1 * 8;\n  uVar3 = 0;\n  memset(pvVar2,0,__n);\n  if (uVar1 < 0x20000000) {\n    pvVar2 = (void *)FUN_001e5180(uVar1 << 2,uVar3,__n,uVar4);\n    param_1[3] = (uint)pvVar2;\n    memset(pvVar2,0,*param_1 << 2);\n    return;\n  }\n                    \n  FUN_001e6740();\n}" (primitive_type "void") (function_declarator "FUN_00035ec0(uint *param_1)" (identifier "FUN_00035ec0") (parameter_list "(uint *param_1)" (( "(") (parameter_declaration "uint *param_1" (type_identifier "uint") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  void *pvVar2;\n  undefined4 uVar3;\n  size_t __n;\n  undefined4 uVar4;\n  \n  uVar4 = 0x35ecc;\n  *param_1 = 0x10;\n  pvVar2 = (void *)FUN_001e5180(0x80);\n  uVar1 = *param_1;\n  param_1[2] = (uint)pvVar2;\n  __n = uVar1 * 8;\n  uVar3 = 0;\n  memset(pvVar2,0,__n);\n  if (uVar1 < 0x20000000) {\n    pvVar2 = (void *)FUN_001e5180(uVar1 << 2,uVar3,__n,uVar4);\n    param_1[3] = (uint)pvVar2;\n    memset(pvVar2,0,*param_1 << 2);\n    return;\n  }\n                    \n  FUN_001e6740();\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "void *pvVar2;" (primitive_type "void") (pointer_declarator "*pvVar2" (* "*") (identifier "pvVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "size_t __n;" (primitive_type "size_t") (identifier "__n") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (expression_statement "uVar4 = 0x35ecc;" (assignment_expression "uVar4 = 0x35ecc" (identifier "uVar4") (= "=") (number_literal "0x35ecc")) (; ";")) (expression_statement "*param_1 = 0x10;" (assignment_expression "*param_1 = 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0x10")) (; ";")) (expression_statement "pvVar2 = (void *)FUN_001e5180(0x80);" (assignment_expression "pvVar2 = (void *)FUN_001e5180(0x80)" (identifier "pvVar2") (= "=") (cast_expression "(void *)FUN_001e5180(0x80)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001e5180(0x80)" (identifier "FUN_001e5180") (argument_list "(0x80)" (( "(") (number_literal "0x80") () ")"))))) (; ";")) (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" (identifier "uVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "param_1[2] = (uint)pvVar2;" (assignment_expression "param_1[2] = (uint)pvVar2" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(uint)pvVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "pvVar2"))) (; ";")) (expression_statement "__n = uVar1 * 8;" (assignment_expression "__n = uVar1 * 8" (identifier "__n") (= "=") (binary_expression "uVar1 * 8" (identifier "uVar1") (* "*") (number_literal "8"))) (; ";")) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "memset(pvVar2,0,__n);" (call_expression "memset(pvVar2,0,__n)" (identifier "memset") (argument_list "(pvVar2,0,__n)" (( "(") (identifier "pvVar2") (, ",") (number_literal "0") (, ",") (identifier "__n") () ")"))) (; ";")) (if_statement "if (uVar1 < 0x20000000) {\n    pvVar2 = (void *)FUN_001e5180(uVar1 << 2,uVar3,__n,uVar4);\n    param_1[3] = (uint)pvVar2;\n    memset(pvVar2,0,*param_1 << 2);\n    return;\n  }" (if "if") (parenthesized_expression "(uVar1 < 0x20000000)" (( "(") (binary_expression "uVar1 < 0x20000000" (identifier "uVar1") (< "<") (number_literal "0x20000000")) () ")")) (compound_statement "{\n    pvVar2 = (void *)FUN_001e5180(uVar1 << 2,uVar3,__n,uVar4);\n    param_1[3] = (uint)pvVar2;\n    memset(pvVar2,0,*param_1 << 2);\n    return;\n  }" ({ "{") (expression_statement "pvVar2 = (void *)FUN_001e5180(uVar1 << 2,uVar3,__n,uVar4);" (assignment_expression "pvVar2 = (void *)FUN_001e5180(uVar1 << 2,uVar3,__n,uVar4)" (identifier "pvVar2") (= "=") (cast_expression "(void *)FUN_001e5180(uVar1 << 2,uVar3,__n,uVar4)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001e5180(uVar1 << 2,uVar3,__n,uVar4)" (identifier "FUN_001e5180") (argument_list "(uVar1 << 2,uVar3,__n,uVar4)" (( "(") (binary_expression "uVar1 << 2" (identifier "uVar1") (<< "<<") (number_literal "2")) (, ",") (identifier "uVar3") (, ",") (identifier "__n") (, ",") (identifier "uVar4") () ")"))))) (; ";")) (expression_statement "param_1[3] = (uint)pvVar2;" (assignment_expression "param_1[3] = (uint)pvVar2" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(uint)pvVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "pvVar2"))) (; ";")) (expression_statement "memset(pvVar2,0,*param_1 << 2);" (call_expression "memset(pvVar2,0,*param_1 << 2)" (identifier "memset") (argument_list "(pvVar2,0,*param_1 << 2)" (( "(") (identifier "pvVar2") (, ",") (number_literal "0") (, ",") (binary_expression "*param_1 << 2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (<< "<<") (number_literal "2")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_001e6740();" (call_expression "FUN_001e6740()" (identifier "FUN_001e6740") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void initialize(Dwp_index * this) */

void __thiscall gold::Dwp_output_file::type_1::function_1(type_1 *this)

{
  type_2 var_3;
  uint64_t *__s;
  uint32_t *__s_00;
  
  this->capacity_ = 0x10;
  __s = (uint64_t *)var_1(0x80);
  var_3 = this->capacity_;
  this->hash_table_ = __s;
  var_2(__s,0,var_3 * 8);
  if (var_3 < 0x20000000) {
    __s_00 = (uint32_t *)var_1(var_3 << 2);
    this->index_table_ = __s_00;
    var_2(__s_00,0,this->capacity_ << 2);
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_4();
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier) (identifier) (identifier)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

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

void MASKED(uint *param_1)

{
  uint uVar1;
  void *pvVar2;
  undefined4 uVar3;
  size_t __n;
  undefined4 uVar4;
  
  uVar4 = 0x35ecc;
  *param_1 = 0x10;
  pvVar2 = (void *)FUN_001e5180(0x80);
  uVar1 = *param_1;
  param_1[2] = (uint)pvVar2;
  __n = uVar1 * 8;
  uVar3 = 0;
  memset(pvVar2,0,__n);
  if (uVar1 < 0x20000000) {
    pvVar2 = (void *)FUN_001e5180(uVar1 << 2,uVar3,__n,uVar4);
    param_1[3] = (uint)pvVar2;
    memset(pvVar2,0,*param_1 << 2);
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_001e6740();
}

