
/* void std::wstring::_M_construct<wchar_t const*>(wchar_t const*, wchar_t const*,
   std::forward_iterator_tag) */

void std::wstring::_M_construct<wchar_t_const*>(wstring *param_1,undefined4 *param_2,uint param_3)

{
  undefined4 *puVar1;
  int *piVar2;
  int iVar3;
  uint uVar4;
  undefined *puVar5;
  code *pcVar6;
  code *pcVar7;
  uint local_18 [2];
  
  if (param_2 == (undefined4 *)0x0) {
    if (param_3 == 0) {
      *(undefined4 *)(param_1 + 4) = 0;
      **(undefined4 **)param_1 = 0;
      return;
    }
    puVar1 = (undefined4 *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0xa00);
    puVar5 = PTR___throw_logic_error_004c12d8;
    (*(code *)PTR___throw_logic_error_004c12d8)();
    uVar4 = param_2[1];
    *puVar1 = puVar1 + 2;
    if (param_3 <= uVar4) {
      _M_construct<wchar_t_const*>();
      return;
    }
    pcVar6 = *(code **)(puVar5 + 0x187fb4);
    iVar3 = *(int *)(puVar5 + 0x187034) + -0x3a74;
    piVar2 = (int *)(*(int *)(puVar5 + 0x1877a8) + -0xe00);
    (*pcVar6)();
    uVar4 = *(uint *)(iVar3 + 4);
    *piVar2 = (int)(piVar2 + 2);
    if (param_3 <= uVar4) {
      _M_construct<wchar_t_const*>();
      return;
    }
    pcVar7 = *(code **)(pcVar6 + 0x187f40);
    iVar3 = *(int *)(pcVar6 + 0x186fc0) + -0x3a74;
    piVar2 = (int *)(*(int *)(pcVar6 + 0x187734) + -0xe00);
    (*pcVar7)();
    uVar4 = *(uint *)(iVar3 + 4);
    *piVar2 = (int)(piVar2 + 2);
    if (param_3 <= uVar4) {
      _M_construct<wchar_t_const*>();
      return;
    }
    piVar2 = (int *)(*(int *)(pcVar7 + 0x1876b0) + -0xe00);
    (**(code **)(pcVar7 + 0x187ebc))(piVar2,*(int *)(pcVar7 + 0x186f3c) + -0x3a58);
    *piVar2 = (int)(piVar2 + 2);
    _M_construct<wchar_t_const*>();
    return;
  }
  uVar4 = (int)(param_3 - (int)param_2) >> 2;
  local_18[0] = uVar4;
  if (uVar4 < 4) {
    puVar1 = *(undefined4 **)param_1;
    if (uVar4 == 1) {
      *puVar1 = *param_2;
    }
    else if (uVar4 != 0) goto LAB_0033a214;
    *(uint *)(param_1 + 4) = uVar4;
    puVar1[uVar4] = 0;
    return;
  }
  puVar1 = (undefined4 *)_M_create(param_1,local_18,0);
  *(undefined4 **)param_1 = puVar1;
  *(uint *)(param_1 + 8) = local_18[0];
LAB_0033a214:
  (*(code *)PTR_wmemcpy_004c5c44)(puVar1,param_2,uVar4);
  *(uint *)(param_1 + 4) = local_18[0];
  *(undefined4 *)(*(int *)param_1 + local_18[0] * 4) = 0;
  return;
}



/* void std::wstring::_M_construct<wchar_t const*>(wchar_t const*, wchar_t const*,
   std::forward_iterator_tag) */

void std::wstring::_M_construct<wchar_t_const*>(wstring *param_1,undefined4 *param_2,uint param_3)

{
  undefined4 *puVar1;
  int *piVar2;
  int iVar3;
  uint uVar4;
  undefined *puVar5;
  code *pcVar6;
  code *pcVar7;
  uint local_18 [2];
  
  if (param_2 == (undefined4 *)0x0) {
    if (param_3 == 0) {
      *(undefined4 *)(param_1 + 4) = 0;
      **(undefined4 **)param_1 = 0;
      return;
    }
    puVar1 = (undefined4 *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0xa00);
    puVar5 = PTR___throw_logic_error_004c12d8;
    (*(code *)PTR___throw_logic_error_004c12d8)();
    uVar4 = param_2[1];
    *puVar1 = puVar1 + 2;
    if (param_3 <= uVar4) {
      _M_construct<wchar_t_const*>();
      return;
    }
    pcVar6 = *(code **)(puVar5 + 0x187fb4);
    iVar3 = *(int *)(puVar5 + 0x187034) + -0x3a74;
    piVar2 = (int *)(*(int *)(puVar5 + 0x1877a8) + -0xe00);
    (*pcVar6)();
    uVar4 = *(uint *)(iVar3 + 4);
    *piVar2 = (int)(piVar2 + 2);
    if (param_3 <= uVar4) {
      _M_construct<wchar_t_const*>();
      return;
    }
    pcVar7 = *(code **)(pcVar6 + 0x187f40);
    iVar3 = *(int *)(pcVar6 + 0x186fc0) + -0x3a74;
    piVar2 = (int *)(*(int *)(pcVar6 + 0x187734) + -0xe00);
    (*pcVar7)();
    uVar4 = *(uint *)(iVar3 + 4);
    *piVar2 = (int)(piVar2 + 2);
    if (param_3 <= uVar4) {
      _M_construct<wchar_t_const*>();
      return;
    }
    piVar2 = (int *)(*(int *)(pcVar7 + 0x1876b0) + -0xe00);
    (**(code **)(pcVar7 + 0x187ebc))(piVar2,*(int *)(pcVar7 + 0x186f3c) + -0x3a58);
    *piVar2 = (int)(piVar2 + 2);
    _M_construct<wchar_t_const*>();
    return;
  }
  uVar4 = (int)(param_3 - (int)param_2) >> 2;
  local_18[0] = uVar4;
  if (uVar4 < 4) {
    puVar1 = *(undefined4 **)param_1;
    if (uVar4 == 1) {
      *puVar1 = *param_2;
    }
    else if (uVar4 != 0) goto LAB_0033a214;
    *(uint *)(param_1 + 4) = uVar4;
    puVar1[uVar4] = 0;
    return;
  }
  puVar1 = (undefined4 *)_M_create(param_1,local_18,0);
  *(undefined4 **)param_1 = puVar1;
  *(uint *)(param_1 + 8) = local_18[0];
LAB_0033a214:
  (*(code *)PTR_wmemcpy_004c5c44)(puVar1,param_2,uVar4);
  *(uint *)(param_1 + 4) = local_18[0];
  *(undefined4 *)(*(int *)param_1 + local_18[0] * 4) = 0;
  return;
}


lui gp,0x19
addiu gp,gp,-0xf2c
addu gp,gp,t9
addiu sp,sp,-0x30
sw gp,0x10(sp)
sw s1,0x24(sp)
or s1,a0,zero
sw ra,0x2c(sp)
sw s2,0x28(sp)
sw s0,0x20(sp)
beq a1,zero,0x0033a254
_sw a3,0x3c(sp)
subu a2,a2,a1
or s2,a1,zero
sra s0,a2,0x2
sltiu v0,s0,0x4
beq v0,zero,0x0033a1f0
_sw s0,0x18(sp)
li v1,0x1
bne s0,v1,0x0033a288
_lw v0,0x0(a0)
lw v1,0x0(a1)
sw v1,0x0(v0)
sll a0,s0,0x2
lw ra,0x2c(sp)
lw s2,0x28(sp)
addu v0,v0,a0
sw s0,0x4(s1)
lw s1,0x24(sp)
lw s0,0x20(sp)
sw zero,0x0(v0)
jr ra
_addiu sp,sp,0x30
lw t9,-0x3fe8(gp)
or a2,zero,zero
bal 0x00335edc
_addiu a1,sp,0x18
lw v1,0x18(sp)
lw gp,0x10(sp)
sw v0,0x0(s1)
sw v1,0x8(s1)
lw t9,-0x35fc(gp)
or a2,s0,zero
or a1,s2,zero
jalr t9
_or a0,v0,zero
lw s0,0x18(sp)
lw v0,0x0(s1)
lw ra,0x2c(sp)
sll a0,s0,0x2
lw s2,0x28(sp)
sw s0,0x4(s1)
addu v0,v0,a0
lw s1,0x24(sp)
lw s0,0x20(sp)
sw zero,0x0(v0)
jr ra
_addiu sp,sp,0x30
bne a2,zero,0x0033a298
_or s0,zero,zero
lw v0,0x0(a0)
lw ra,0x2c(sp)
sll a0,s0,0x2
lw s2,0x28(sp)
sw s0,0x4(s1)
addu v0,v0,a0
lw s1,0x24(sp)
lw s0,0x20(sp)
sw zero,0x0(v0)
jr ra
_addiu sp,sp,0x30
beq s0,zero,0x0033a1cc
_sll a0,s0,0x2
b 0x0033a214
_lw t9,-0x35fc(gp)
lw a0,-0x7fc4(gp)
lw t9,-0x7f68(gp)
jalr t9
_addiu a0,a0,-0xa00
(translation_unit "/* void std::wstring::_M_construct<wchar_t const*>(wchar_t const*, wchar_t const*,\n   std::forward_iterator_tag) */\n\nvoid std::wstring::_M_construct<wchar_t_const*>(wstring *param_1,undefined4 *param_2,uint param_3)\n\n{\n  undefined4 *puVar1;\n  int *piVar2;\n  int iVar3;\n  uint uVar4;\n  undefined *puVar5;\n  code *pcVar6;\n  code *pcVar7;\n  uint local_18 [2];\n  \n  if (param_2 == (undefined4 *)0x0) {\n    if (param_3 == 0) {\n      *(undefined4 *)(param_1 + 4) = 0;\n      **(undefined4 **)param_1 = 0;\n      return;\n    }\n    puVar1 = (undefined4 *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0xa00);\n    puVar5 = PTR___throw_logic_error_004c12d8;\n    (*(code *)PTR___throw_logic_error_004c12d8)();\n    uVar4 = param_2[1];\n    *puVar1 = puVar1 + 2;\n    if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }\n    pcVar6 = *(code **)(puVar5 + 0x187fb4);\n    iVar3 = *(int *)(puVar5 + 0x187034) + -0x3a74;\n    piVar2 = (int *)(*(int *)(puVar5 + 0x1877a8) + -0xe00);\n    (*pcVar6)();\n    uVar4 = *(uint *)(iVar3 + 4);\n    *piVar2 = (int)(piVar2 + 2);\n    if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }\n    pcVar7 = *(code **)(pcVar6 + 0x187f40);\n    iVar3 = *(int *)(pcVar6 + 0x186fc0) + -0x3a74;\n    piVar2 = (int *)(*(int *)(pcVar6 + 0x187734) + -0xe00);\n    (*pcVar7)();\n    uVar4 = *(uint *)(iVar3 + 4);\n    *piVar2 = (int)(piVar2 + 2);\n    if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }\n    piVar2 = (int *)(*(int *)(pcVar7 + 0x1876b0) + -0xe00);\n    (**(code **)(pcVar7 + 0x187ebc))(piVar2,*(int *)(pcVar7 + 0x186f3c) + -0x3a58);\n    *piVar2 = (int)(piVar2 + 2);\n    _M_construct<wchar_t_const*>();\n    return;\n  }\n  uVar4 = (int)(param_3 - (int)param_2) >> 2;\n  local_18[0] = uVar4;\n  if (uVar4 < 4) {\n    puVar1 = *(undefined4 **)param_1;\n    if (uVar4 == 1) {\n      *puVar1 = *param_2;\n    }\n    else if (uVar4 != 0) goto LAB_0033a214;\n    *(uint *)(param_1 + 4) = uVar4;\n    puVar1[uVar4] = 0;\n    return;\n  }\n  puVar1 = (undefined4 *)_M_create(param_1,local_18,0);\n  *(undefined4 **)param_1 = puVar1;\n  *(uint *)(param_1 + 8) = local_18[0];\nLAB_0033a214:\n  (*(code *)PTR_wmemcpy_004c5c44)(puVar1,param_2,uVar4);\n  *(uint *)(param_1 + 4) = local_18[0];\n  *(undefined4 *)(*(int *)param_1 + local_18[0] * 4) = 0;\n  return;\n}\n\n" comment (declaration "void std::wstring::_M_construct<wchar_t_const*>(wstring *param_1,undefined4 *param_2,uint param_3)\n\n{\n  undefined4 *puVar1;" primitive_type (ERROR "std::wstring::_M_construct<wchar_t_const*>(wstring" identifier : : identifier : : identifier < identifier * > ( identifier) (pointer_declarator "*param_1" * identifier) , (ERROR "undefined4" identifier) (pointer_declarator "*param_2" * identifier) , (ERROR "uint param_3)\n\n{\n  undefined4" identifier identifier ) { identifier) (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "code *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (declaration "code *pcVar7;" type_identifier (pointer_declarator "*pcVar7" * identifier) ;) (declaration "uint local_18 [2];" type_identifier (array_declarator "local_18 [2]" identifier [ number_literal ]) ;) (if_statement "if (param_2 == (undefined4 *)0x0) {\n    if (param_3 == 0) {\n      *(undefined4 *)(param_1 + 4) = 0;\n      **(undefined4 **)param_1 = 0;\n      return;\n    }\n    puVar1 = (undefined4 *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0xa00);\n    puVar5 = PTR___throw_logic_error_004c12d8;\n    (*(code *)PTR___throw_logic_error_004c12d8)();\n    uVar4 = param_2[1];\n    *puVar1 = puVar1 + 2;\n    if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }\n    pcVar6 = *(code **)(puVar5 + 0x187fb4);\n    iVar3 = *(int *)(puVar5 + 0x187034) + -0x3a74;\n    piVar2 = (int *)(*(int *)(puVar5 + 0x1877a8) + -0xe00);\n    (*pcVar6)();\n    uVar4 = *(uint *)(iVar3 + 4);\n    *piVar2 = (int)(piVar2 + 2);\n    if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }\n    pcVar7 = *(code **)(pcVar6 + 0x187f40);\n    iVar3 = *(int *)(pcVar6 + 0x186fc0) + -0x3a74;\n    piVar2 = (int *)(*(int *)(pcVar6 + 0x187734) + -0xe00);\n    (*pcVar7)();\n    uVar4 = *(uint *)(iVar3 + 4);\n    *piVar2 = (int)(piVar2 + 2);\n    if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }\n    piVar2 = (int *)(*(int *)(pcVar7 + 0x1876b0) + -0xe00);\n    (**(code **)(pcVar7 + 0x187ebc))(piVar2,*(int *)(pcVar7 + 0x186f3c) + -0x3a58);\n    *piVar2 = (int)(piVar2 + 2);\n    _M_construct<wchar_t_const*>();\n    return;\n  }" if (parenthesized_expression "(param_2 == (undefined4 *)0x0)" ( (binary_expression "param_2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (param_3 == 0) {\n      *(undefined4 *)(param_1 + 4) = 0;\n      **(undefined4 **)param_1 = 0;\n      return;\n    }\n    puVar1 = (undefined4 *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0xa00);\n    puVar5 = PTR___throw_logic_error_004c12d8;\n    (*(code *)PTR___throw_logic_error_004c12d8)();\n    uVar4 = param_2[1];\n    *puVar1 = puVar1 + 2;\n    if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }\n    pcVar6 = *(code **)(puVar5 + 0x187fb4);\n    iVar3 = *(int *)(puVar5 + 0x187034) + -0x3a74;\n    piVar2 = (int *)(*(int *)(puVar5 + 0x1877a8) + -0xe00);\n    (*pcVar6)();\n    uVar4 = *(uint *)(iVar3 + 4);\n    *piVar2 = (int)(piVar2 + 2);\n    if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }\n    pcVar7 = *(code **)(pcVar6 + 0x187f40);\n    iVar3 = *(int *)(pcVar6 + 0x186fc0) + -0x3a74;\n    piVar2 = (int *)(*(int *)(pcVar6 + 0x187734) + -0xe00);\n    (*pcVar7)();\n    uVar4 = *(uint *)(iVar3 + 4);\n    *piVar2 = (int)(piVar2 + 2);\n    if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }\n    piVar2 = (int *)(*(int *)(pcVar7 + 0x1876b0) + -0xe00);\n    (**(code **)(pcVar7 + 0x187ebc))(piVar2,*(int *)(pcVar7 + 0x186f3c) + -0x3a58);\n    *piVar2 = (int)(piVar2 + 2);\n    _M_construct<wchar_t_const*>();\n    return;\n  }" { (if_statement "if (param_3 == 0) {\n      *(undefined4 *)(param_1 + 4) = 0;\n      **(undefined4 **)param_1 = 0;\n      return;\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      *(undefined4 *)(param_1 + 4) = 0;\n      **(undefined4 **)param_1 = 0;\n      return;\n    }" { (expression_statement "*(undefined4 *)(param_1 + 4) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 4) = 0" (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "**(undefined4 **)param_1 = 0;" (assignment_expression "**(undefined4 **)param_1 = 0" (pointer_expression "**(undefined4 **)param_1" * (pointer_expression "*(undefined4 **)param_1" * (cast_expression "(undefined4 **)param_1" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "puVar1 = (undefined4 *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0xa00);" (assignment_expression "puVar1 = (undefined4 *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0xa00)" identifier = (cast_expression "(undefined4 *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0xa00)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ral_options14Struct_no_crefE_004c127c + -0xa00)" ( (binary_expression "PTR_s_ral_options14Struct_no_crefE_004c127c + -0xa00" identifier + number_literal) )))) ;) (expression_statement "puVar5 = PTR___throw_logic_error_004c12d8;" (assignment_expression "puVar5 = PTR___throw_logic_error_004c12d8" identifier = identifier) ;) (expression_statement "(*(code *)PTR___throw_logic_error_004c12d8)();" (call_expression "(*(code *)PTR___throw_logic_error_004c12d8)()" (parenthesized_expression "(*(code *)PTR___throw_logic_error_004c12d8)" ( (pointer_expression "*(code *)PTR___throw_logic_error_004c12d8" * (cast_expression "(code *)PTR___throw_logic_error_004c12d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar4 = param_2[1];" (assignment_expression "uVar4 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "*puVar1 = puVar1 + 2;" (assignment_expression "*puVar1 = puVar1 + 2" (pointer_expression "*puVar1" * identifier) = (binary_expression "puVar1 + 2" identifier + number_literal)) ;) (if_statement "if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }" if (parenthesized_expression "(param_3 <= uVar4)" ( (binary_expression "param_3 <= uVar4" identifier <= identifier) )) (compound_statement "{\n      _M_construct<wchar_t_const*>();\n      return;\n    }" { (expression_statement "_M_construct<wchar_t_const*>();" (binary_expression "_M_construct<wchar_t_const" identifier < identifier) (ERROR "*>()" * > ( )) ;) (return_statement "return;" return ;) })) (expression_statement "pcVar6 = *(code **)(puVar5 + 0x187fb4);" (assignment_expression "pcVar6 = *(code **)(puVar5 + 0x187fb4)" identifier = (pointer_expression "*(code **)(puVar5 + 0x187fb4)" * (cast_expression "(code **)(puVar5 + 0x187fb4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x187fb4)" ( (binary_expression "puVar5 + 0x187fb4" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(puVar5 + 0x187034) + -0x3a74;" (assignment_expression "iVar3 = *(int *)(puVar5 + 0x187034) + -0x3a74" identifier = (binary_expression "*(int *)(puVar5 + 0x187034) + -0x3a74" (pointer_expression "*(int *)(puVar5 + 0x187034)" * (cast_expression "(int *)(puVar5 + 0x187034)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x187034)" ( (binary_expression "puVar5 + 0x187034" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "piVar2 = (int *)(*(int *)(puVar5 + 0x1877a8) + -0xe00);" (assignment_expression "piVar2 = (int *)(*(int *)(puVar5 + 0x1877a8) + -0xe00)" identifier = (cast_expression "(int *)(*(int *)(puVar5 + 0x1877a8) + -0xe00)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar5 + 0x1877a8) + -0xe00)" ( (binary_expression "*(int *)(puVar5 + 0x1877a8) + -0xe00" (pointer_expression "*(int *)(puVar5 + 0x1877a8)" * (cast_expression "(int *)(puVar5 + 0x1877a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x1877a8)" ( (binary_expression "puVar5 + 0x1877a8" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "(*pcVar6)();" (call_expression "(*pcVar6)()" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "uVar4 = *(uint *)(iVar3 + 4);" (assignment_expression "uVar4 = *(uint *)(iVar3 + 4)" identifier = (pointer_expression "*(uint *)(iVar3 + 4)" * (cast_expression "(uint *)(iVar3 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) ))))) ;) (expression_statement "*piVar2 = (int)(piVar2 + 2);" (assignment_expression "*piVar2 = (int)(piVar2 + 2)" (pointer_expression "*piVar2" * identifier) = (cast_expression "(int)(piVar2 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(piVar2 + 2)" ( (binary_expression "piVar2 + 2" identifier + number_literal) )))) ;) (if_statement "if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }" if (parenthesized_expression "(param_3 <= uVar4)" ( (binary_expression "param_3 <= uVar4" identifier <= identifier) )) (compound_statement "{\n      _M_construct<wchar_t_const*>();\n      return;\n    }" { (expression_statement "_M_construct<wchar_t_const*>();" (binary_expression "_M_construct<wchar_t_const" identifier < identifier) (ERROR "*>()" * > ( )) ;) (return_statement "return;" return ;) })) (expression_statement "pcVar7 = *(code **)(pcVar6 + 0x187f40);" (assignment_expression "pcVar7 = *(code **)(pcVar6 + 0x187f40)" identifier = (pointer_expression "*(code **)(pcVar6 + 0x187f40)" * (cast_expression "(code **)(pcVar6 + 0x187f40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar6 + 0x187f40)" ( (binary_expression "pcVar6 + 0x187f40" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(pcVar6 + 0x186fc0) + -0x3a74;" (assignment_expression "iVar3 = *(int *)(pcVar6 + 0x186fc0) + -0x3a74" identifier = (binary_expression "*(int *)(pcVar6 + 0x186fc0) + -0x3a74" (pointer_expression "*(int *)(pcVar6 + 0x186fc0)" * (cast_expression "(int *)(pcVar6 + 0x186fc0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar6 + 0x186fc0)" ( (binary_expression "pcVar6 + 0x186fc0" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "piVar2 = (int *)(*(int *)(pcVar6 + 0x187734) + -0xe00);" (assignment_expression "piVar2 = (int *)(*(int *)(pcVar6 + 0x187734) + -0xe00)" identifier = (cast_expression "(int *)(*(int *)(pcVar6 + 0x187734) + -0xe00)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar6 + 0x187734) + -0xe00)" ( (binary_expression "*(int *)(pcVar6 + 0x187734) + -0xe00" (pointer_expression "*(int *)(pcVar6 + 0x187734)" * (cast_expression "(int *)(pcVar6 + 0x187734)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar6 + 0x187734)" ( (binary_expression "pcVar6 + 0x187734" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "(*pcVar7)();" (call_expression "(*pcVar7)()" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "uVar4 = *(uint *)(iVar3 + 4);" (assignment_expression "uVar4 = *(uint *)(iVar3 + 4)" identifier = (pointer_expression "*(uint *)(iVar3 + 4)" * (cast_expression "(uint *)(iVar3 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) ))))) ;) (expression_statement "*piVar2 = (int)(piVar2 + 2);" (assignment_expression "*piVar2 = (int)(piVar2 + 2)" (pointer_expression "*piVar2" * identifier) = (cast_expression "(int)(piVar2 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(piVar2 + 2)" ( (binary_expression "piVar2 + 2" identifier + number_literal) )))) ;) (if_statement "if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }" if (parenthesized_expression "(param_3 <= uVar4)" ( (binary_expression "param_3 <= uVar4" identifier <= identifier) )) (compound_statement "{\n      _M_construct<wchar_t_const*>();\n      return;\n    }" { (expression_statement "_M_construct<wchar_t_const*>();" (binary_expression "_M_construct<wchar_t_const" identifier < identifier) (ERROR "*>()" * > ( )) ;) (return_statement "return;" return ;) })) (expression_statement "piVar2 = (int *)(*(int *)(pcVar7 + 0x1876b0) + -0xe00);" (assignment_expression "piVar2 = (int *)(*(int *)(pcVar7 + 0x1876b0) + -0xe00)" identifier = (cast_expression "(int *)(*(int *)(pcVar7 + 0x1876b0) + -0xe00)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar7 + 0x1876b0) + -0xe00)" ( (binary_expression "*(int *)(pcVar7 + 0x1876b0) + -0xe00" (pointer_expression "*(int *)(pcVar7 + 0x1876b0)" * (cast_expression "(int *)(pcVar7 + 0x1876b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar7 + 0x1876b0)" ( (binary_expression "pcVar7 + 0x1876b0" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "(**(code **)(pcVar7 + 0x187ebc))(piVar2,*(int *)(pcVar7 + 0x186f3c) + -0x3a58);" (call_expression "(**(code **)(pcVar7 + 0x187ebc))(piVar2,*(int *)(pcVar7 + 0x186f3c) + -0x3a58)" (parenthesized_expression "(**(code **)(pcVar7 + 0x187ebc))" ( (pointer_expression "**(code **)(pcVar7 + 0x187ebc)" * (pointer_expression "*(code **)(pcVar7 + 0x187ebc)" * (cast_expression "(code **)(pcVar7 + 0x187ebc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar7 + 0x187ebc)" ( (binary_expression "pcVar7 + 0x187ebc" identifier + number_literal) ))))) )) (argument_list "(piVar2,*(int *)(pcVar7 + 0x186f3c) + -0x3a58)" ( identifier , (binary_expression "*(int *)(pcVar7 + 0x186f3c) + -0x3a58" (pointer_expression "*(int *)(pcVar7 + 0x186f3c)" * (cast_expression "(int *)(pcVar7 + 0x186f3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar7 + 0x186f3c)" ( (binary_expression "pcVar7 + 0x186f3c" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "*piVar2 = (int)(piVar2 + 2);" (assignment_expression "*piVar2 = (int)(piVar2 + 2)" (pointer_expression "*piVar2" * identifier) = (cast_expression "(int)(piVar2 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(piVar2 + 2)" ( (binary_expression "piVar2 + 2" identifier + number_literal) )))) ;) (expression_statement "_M_construct<wchar_t_const*>();" (binary_expression "_M_construct<wchar_t_const" identifier < identifier) (ERROR "*>()" * > ( )) ;) (return_statement "return;" return ;) })) (expression_statement "uVar4 = (int)(param_3 - (int)param_2) >> 2;" (assignment_expression "uVar4 = (int)(param_3 - (int)param_2) >> 2" identifier = (binary_expression "(int)(param_3 - (int)param_2) >> 2" (cast_expression "(int)(param_3 - (int)param_2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_3 - (int)param_2)" ( (binary_expression "param_3 - (int)param_2" identifier - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) >> number_literal)) ;) (expression_statement "local_18[0] = uVar4;" (assignment_expression "local_18[0] = uVar4" (subscript_expression "local_18[0]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (uVar4 < 4) {\n    puVar1 = *(undefined4 **)param_1;\n    if (uVar4 == 1) {\n      *puVar1 = *param_2;\n    }\n    else if (uVar4 != 0) goto LAB_0033a214;\n    *(uint *)(param_1 + 4) = uVar4;\n    puVar1[uVar4] = 0;\n    return;\n  }" if (parenthesized_expression "(uVar4 < 4)" ( (binary_expression "uVar4 < 4" identifier < number_literal) )) (compound_statement "{\n    puVar1 = *(undefined4 **)param_1;\n    if (uVar4 == 1) {\n      *puVar1 = *param_2;\n    }\n    else if (uVar4 != 0) goto LAB_0033a214;\n    *(uint *)(param_1 + 4) = uVar4;\n    puVar1[uVar4] = 0;\n    return;\n  }" { (expression_statement "puVar1 = *(undefined4 **)param_1;" (assignment_expression "puVar1 = *(undefined4 **)param_1" identifier = (pointer_expression "*(undefined4 **)param_1" * (cast_expression "(undefined4 **)param_1" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if (uVar4 == 1) {\n      *puVar1 = *param_2;\n    }\n    else if (uVar4 != 0) goto LAB_0033a214;" if (parenthesized_expression "(uVar4 == 1)" ( (binary_expression "uVar4 == 1" identifier == number_literal) )) (compound_statement "{\n      *puVar1 = *param_2;\n    }" { (expression_statement "*puVar1 = *param_2;" (assignment_expression "*puVar1 = *param_2" (pointer_expression "*puVar1" * identifier) = (pointer_expression "*param_2" * identifier)) ;) }) (else_clause "else if (uVar4 != 0) goto LAB_0033a214;" else (if_statement "if (uVar4 != 0) goto LAB_0033a214;" if (parenthesized_expression "(uVar4 != 0)" ( (binary_expression "uVar4 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0033a214;" goto statement_identifier ;)))) (expression_statement "*(uint *)(param_1 + 4) = uVar4;" (assignment_expression "*(uint *)(param_1 + 4) = uVar4" (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar1[uVar4] = 0;" (assignment_expression "puVar1[uVar4] = 0" (subscript_expression "puVar1[uVar4]" identifier [ identifier ]) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "puVar1 = (undefined4 *)_M_create(param_1,local_18,0);" (assignment_expression "puVar1 = (undefined4 *)_M_create(param_1,local_18,0)" identifier = (cast_expression "(undefined4 *)_M_create(param_1,local_18,0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "_M_create(param_1,local_18,0)" identifier (argument_list "(param_1,local_18,0)" ( identifier , identifier , number_literal ))))) ;) (expression_statement "*(undefined4 **)param_1 = puVar1;" (assignment_expression "*(undefined4 **)param_1 = puVar1" (pointer_expression "*(undefined4 **)param_1" * (cast_expression "(undefined4 **)param_1" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "*(uint *)(param_1 + 8) = local_18[0];" (assignment_expression "*(uint *)(param_1 + 8) = local_18[0]" (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = (subscript_expression "local_18[0]" identifier [ number_literal ])) ;) (labeled_statement "LAB_0033a214:\n  (*(code *)PTR_wmemcpy_004c5c44)(puVar1,param_2,uVar4);" statement_identifier : (expression_statement "(*(code *)PTR_wmemcpy_004c5c44)(puVar1,param_2,uVar4);" (call_expression "(*(code *)PTR_wmemcpy_004c5c44)(puVar1,param_2,uVar4)" (parenthesized_expression "(*(code *)PTR_wmemcpy_004c5c44)" ( (pointer_expression "*(code *)PTR_wmemcpy_004c5c44" * (cast_expression "(code *)PTR_wmemcpy_004c5c44" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar1,param_2,uVar4)" ( identifier , identifier , identifier ))) ;)) (expression_statement "*(uint *)(param_1 + 4) = local_18[0];" (assignment_expression "*(uint *)(param_1 + 4) = local_18[0]" (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = (subscript_expression "local_18[0]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(*(int *)param_1 + local_18[0] * 4) = 0;" (assignment_expression "*(undefined4 *)(*(int *)param_1 + local_18[0] * 4) = 0" (pointer_expression "*(undefined4 *)(*(int *)param_1 + local_18[0] * 4)" * (cast_expression "(undefined4 *)(*(int *)param_1 + local_18[0] * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_1 + local_18[0] * 4)" ( (binary_expression "*(int *)param_1 + local_18[0] * 4" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + (binary_expression "local_18[0] * 4" (subscript_expression "local_18[0]" identifier [ number_literal ]) * number_literal)) )))) = number_literal) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "/* void std::wstring::_M_construct<wchar_t const*>(wchar_t const*, wchar_t const*,\n   std::forward_iterator_tag) */\n\nvoid std::wstring::_M_construct<wchar_t_const*>(wstring *param_1,undefined4 *param_2,uint param_3)\n\n{\n  undefined4 *puVar1;\n  int *piVar2;\n  int iVar3;\n  uint uVar4;\n  undefined *puVar5;\n  code *pcVar6;\n  code *pcVar7;\n  uint local_18 [2];\n  \n  if (param_2 == (undefined4 *)0x0) {\n    if (param_3 == 0) {\n      *(undefined4 *)(param_1 + 4) = 0;\n      **(undefined4 **)param_1 = 0;\n      return;\n    }\n    puVar1 = (undefined4 *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0xa00);\n    puVar5 = PTR___throw_logic_error_004c12d8;\n    (*(code *)PTR___throw_logic_error_004c12d8)();\n    uVar4 = param_2[1];\n    *puVar1 = puVar1 + 2;\n    if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }\n    pcVar6 = *(code **)(puVar5 + 0x187fb4);\n    iVar3 = *(int *)(puVar5 + 0x187034) + -0x3a74;\n    piVar2 = (int *)(*(int *)(puVar5 + 0x1877a8) + -0xe00);\n    (*pcVar6)();\n    uVar4 = *(uint *)(iVar3 + 4);\n    *piVar2 = (int)(piVar2 + 2);\n    if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }\n    pcVar7 = *(code **)(pcVar6 + 0x187f40);\n    iVar3 = *(int *)(pcVar6 + 0x186fc0) + -0x3a74;\n    piVar2 = (int *)(*(int *)(pcVar6 + 0x187734) + -0xe00);\n    (*pcVar7)();\n    uVar4 = *(uint *)(iVar3 + 4);\n    *piVar2 = (int)(piVar2 + 2);\n    if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }\n    piVar2 = (int *)(*(int *)(pcVar7 + 0x1876b0) + -0xe00);\n    (**(code **)(pcVar7 + 0x187ebc))(piVar2,*(int *)(pcVar7 + 0x186f3c) + -0x3a58);\n    *piVar2 = (int)(piVar2 + 2);\n    _M_construct<wchar_t_const*>();\n    return;\n  }\n  uVar4 = (int)(param_3 - (int)param_2) >> 2;\n  local_18[0] = uVar4;\n  if (uVar4 < 4) {\n    puVar1 = *(undefined4 **)param_1;\n    if (uVar4 == 1) {\n      *puVar1 = *param_2;\n    }\n    else if (uVar4 != 0) goto LAB_0033a214;\n    *(uint *)(param_1 + 4) = uVar4;\n    puVar1[uVar4] = 0;\n    return;\n  }\n  puVar1 = (undefined4 *)_M_create(param_1,local_18,0);\n  *(undefined4 **)param_1 = puVar1;\n  *(uint *)(param_1 + 8) = local_18[0];\nLAB_0033a214:\n  (*(code *)PTR_wmemcpy_004c5c44)(puVar1,param_2,uVar4);\n  *(uint *)(param_1 + 4) = local_18[0];\n  *(undefined4 *)(*(int *)param_1 + local_18[0] * 4) = 0;\n  return;\n}\n\n" comment (declaration "void std::wstring::_M_construct<wchar_t_const*>(wstring *param_1,undefined4 *param_2,uint param_3)\n\n{\n  undefined4 *puVar1;" primitive_type (ERROR "std::wstring::_M_construct<wchar_t_const*>(wstring" identifier : : identifier : : identifier < identifier * > ( identifier) (pointer_declarator "*param_1" * identifier) , (ERROR "undefined4" identifier) (pointer_declarator "*param_2" * identifier) , (ERROR "uint param_3)\n\n{\n  undefined4" identifier identifier ) { identifier) (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "code *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (declaration "code *pcVar7;" type_identifier (pointer_declarator "*pcVar7" * identifier) ;) (declaration "uint local_18 [2];" type_identifier (array_declarator "local_18 [2]" identifier [ number_literal ]) ;) (if_statement "if (param_2 == (undefined4 *)0x0) {\n    if (param_3 == 0) {\n      *(undefined4 *)(param_1 + 4) = 0;\n      **(undefined4 **)param_1 = 0;\n      return;\n    }\n    puVar1 = (undefined4 *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0xa00);\n    puVar5 = PTR___throw_logic_error_004c12d8;\n    (*(code *)PTR___throw_logic_error_004c12d8)();\n    uVar4 = param_2[1];\n    *puVar1 = puVar1 + 2;\n    if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }\n    pcVar6 = *(code **)(puVar5 + 0x187fb4);\n    iVar3 = *(int *)(puVar5 + 0x187034) + -0x3a74;\n    piVar2 = (int *)(*(int *)(puVar5 + 0x1877a8) + -0xe00);\n    (*pcVar6)();\n    uVar4 = *(uint *)(iVar3 + 4);\n    *piVar2 = (int)(piVar2 + 2);\n    if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }\n    pcVar7 = *(code **)(pcVar6 + 0x187f40);\n    iVar3 = *(int *)(pcVar6 + 0x186fc0) + -0x3a74;\n    piVar2 = (int *)(*(int *)(pcVar6 + 0x187734) + -0xe00);\n    (*pcVar7)();\n    uVar4 = *(uint *)(iVar3 + 4);\n    *piVar2 = (int)(piVar2 + 2);\n    if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }\n    piVar2 = (int *)(*(int *)(pcVar7 + 0x1876b0) + -0xe00);\n    (**(code **)(pcVar7 + 0x187ebc))(piVar2,*(int *)(pcVar7 + 0x186f3c) + -0x3a58);\n    *piVar2 = (int)(piVar2 + 2);\n    _M_construct<wchar_t_const*>();\n    return;\n  }" if (parenthesized_expression "(param_2 == (undefined4 *)0x0)" ( (binary_expression "param_2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (param_3 == 0) {\n      *(undefined4 *)(param_1 + 4) = 0;\n      **(undefined4 **)param_1 = 0;\n      return;\n    }\n    puVar1 = (undefined4 *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0xa00);\n    puVar5 = PTR___throw_logic_error_004c12d8;\n    (*(code *)PTR___throw_logic_error_004c12d8)();\n    uVar4 = param_2[1];\n    *puVar1 = puVar1 + 2;\n    if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }\n    pcVar6 = *(code **)(puVar5 + 0x187fb4);\n    iVar3 = *(int *)(puVar5 + 0x187034) + -0x3a74;\n    piVar2 = (int *)(*(int *)(puVar5 + 0x1877a8) + -0xe00);\n    (*pcVar6)();\n    uVar4 = *(uint *)(iVar3 + 4);\n    *piVar2 = (int)(piVar2 + 2);\n    if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }\n    pcVar7 = *(code **)(pcVar6 + 0x187f40);\n    iVar3 = *(int *)(pcVar6 + 0x186fc0) + -0x3a74;\n    piVar2 = (int *)(*(int *)(pcVar6 + 0x187734) + -0xe00);\n    (*pcVar7)();\n    uVar4 = *(uint *)(iVar3 + 4);\n    *piVar2 = (int)(piVar2 + 2);\n    if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }\n    piVar2 = (int *)(*(int *)(pcVar7 + 0x1876b0) + -0xe00);\n    (**(code **)(pcVar7 + 0x187ebc))(piVar2,*(int *)(pcVar7 + 0x186f3c) + -0x3a58);\n    *piVar2 = (int)(piVar2 + 2);\n    _M_construct<wchar_t_const*>();\n    return;\n  }" { (if_statement "if (param_3 == 0) {\n      *(undefined4 *)(param_1 + 4) = 0;\n      **(undefined4 **)param_1 = 0;\n      return;\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      *(undefined4 *)(param_1 + 4) = 0;\n      **(undefined4 **)param_1 = 0;\n      return;\n    }" { (expression_statement "*(undefined4 *)(param_1 + 4) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 4) = 0" (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "**(undefined4 **)param_1 = 0;" (assignment_expression "**(undefined4 **)param_1 = 0" (pointer_expression "**(undefined4 **)param_1" * (pointer_expression "*(undefined4 **)param_1" * (cast_expression "(undefined4 **)param_1" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "puVar1 = (undefined4 *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0xa00);" (assignment_expression "puVar1 = (undefined4 *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0xa00)" identifier = (cast_expression "(undefined4 *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0xa00)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ral_options14Struct_no_crefE_004c127c + -0xa00)" ( (binary_expression "PTR_s_ral_options14Struct_no_crefE_004c127c + -0xa00" identifier + number_literal) )))) ;) (expression_statement "puVar5 = PTR___throw_logic_error_004c12d8;" (assignment_expression "puVar5 = PTR___throw_logic_error_004c12d8" identifier = identifier) ;) (expression_statement "(*(code *)PTR___throw_logic_error_004c12d8)();" (call_expression "(*(code *)PTR___throw_logic_error_004c12d8)()" (parenthesized_expression "(*(code *)PTR___throw_logic_error_004c12d8)" ( (pointer_expression "*(code *)PTR___throw_logic_error_004c12d8" * (cast_expression "(code *)PTR___throw_logic_error_004c12d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar4 = param_2[1];" (assignment_expression "uVar4 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "*puVar1 = puVar1 + 2;" (assignment_expression "*puVar1 = puVar1 + 2" (pointer_expression "*puVar1" * identifier) = (binary_expression "puVar1 + 2" identifier + number_literal)) ;) (if_statement "if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }" if (parenthesized_expression "(param_3 <= uVar4)" ( (binary_expression "param_3 <= uVar4" identifier <= identifier) )) (compound_statement "{\n      _M_construct<wchar_t_const*>();\n      return;\n    }" { (expression_statement "_M_construct<wchar_t_const*>();" (binary_expression "_M_construct<wchar_t_const" identifier < identifier) (ERROR "*>()" * > ( )) ;) (return_statement "return;" return ;) })) (expression_statement "pcVar6 = *(code **)(puVar5 + 0x187fb4);" (assignment_expression "pcVar6 = *(code **)(puVar5 + 0x187fb4)" identifier = (pointer_expression "*(code **)(puVar5 + 0x187fb4)" * (cast_expression "(code **)(puVar5 + 0x187fb4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x187fb4)" ( (binary_expression "puVar5 + 0x187fb4" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(puVar5 + 0x187034) + -0x3a74;" (assignment_expression "iVar3 = *(int *)(puVar5 + 0x187034) + -0x3a74" identifier = (binary_expression "*(int *)(puVar5 + 0x187034) + -0x3a74" (pointer_expression "*(int *)(puVar5 + 0x187034)" * (cast_expression "(int *)(puVar5 + 0x187034)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x187034)" ( (binary_expression "puVar5 + 0x187034" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "piVar2 = (int *)(*(int *)(puVar5 + 0x1877a8) + -0xe00);" (assignment_expression "piVar2 = (int *)(*(int *)(puVar5 + 0x1877a8) + -0xe00)" identifier = (cast_expression "(int *)(*(int *)(puVar5 + 0x1877a8) + -0xe00)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar5 + 0x1877a8) + -0xe00)" ( (binary_expression "*(int *)(puVar5 + 0x1877a8) + -0xe00" (pointer_expression "*(int *)(puVar5 + 0x1877a8)" * (cast_expression "(int *)(puVar5 + 0x1877a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x1877a8)" ( (binary_expression "puVar5 + 0x1877a8" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "(*pcVar6)();" (call_expression "(*pcVar6)()" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "uVar4 = *(uint *)(iVar3 + 4);" (assignment_expression "uVar4 = *(uint *)(iVar3 + 4)" identifier = (pointer_expression "*(uint *)(iVar3 + 4)" * (cast_expression "(uint *)(iVar3 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) ))))) ;) (expression_statement "*piVar2 = (int)(piVar2 + 2);" (assignment_expression "*piVar2 = (int)(piVar2 + 2)" (pointer_expression "*piVar2" * identifier) = (cast_expression "(int)(piVar2 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(piVar2 + 2)" ( (binary_expression "piVar2 + 2" identifier + number_literal) )))) ;) (if_statement "if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }" if (parenthesized_expression "(param_3 <= uVar4)" ( (binary_expression "param_3 <= uVar4" identifier <= identifier) )) (compound_statement "{\n      _M_construct<wchar_t_const*>();\n      return;\n    }" { (expression_statement "_M_construct<wchar_t_const*>();" (binary_expression "_M_construct<wchar_t_const" identifier < identifier) (ERROR "*>()" * > ( )) ;) (return_statement "return;" return ;) })) (expression_statement "pcVar7 = *(code **)(pcVar6 + 0x187f40);" (assignment_expression "pcVar7 = *(code **)(pcVar6 + 0x187f40)" identifier = (pointer_expression "*(code **)(pcVar6 + 0x187f40)" * (cast_expression "(code **)(pcVar6 + 0x187f40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar6 + 0x187f40)" ( (binary_expression "pcVar6 + 0x187f40" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(pcVar6 + 0x186fc0) + -0x3a74;" (assignment_expression "iVar3 = *(int *)(pcVar6 + 0x186fc0) + -0x3a74" identifier = (binary_expression "*(int *)(pcVar6 + 0x186fc0) + -0x3a74" (pointer_expression "*(int *)(pcVar6 + 0x186fc0)" * (cast_expression "(int *)(pcVar6 + 0x186fc0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar6 + 0x186fc0)" ( (binary_expression "pcVar6 + 0x186fc0" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "piVar2 = (int *)(*(int *)(pcVar6 + 0x187734) + -0xe00);" (assignment_expression "piVar2 = (int *)(*(int *)(pcVar6 + 0x187734) + -0xe00)" identifier = (cast_expression "(int *)(*(int *)(pcVar6 + 0x187734) + -0xe00)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar6 + 0x187734) + -0xe00)" ( (binary_expression "*(int *)(pcVar6 + 0x187734) + -0xe00" (pointer_expression "*(int *)(pcVar6 + 0x187734)" * (cast_expression "(int *)(pcVar6 + 0x187734)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar6 + 0x187734)" ( (binary_expression "pcVar6 + 0x187734" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "(*pcVar7)();" (call_expression "(*pcVar7)()" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "uVar4 = *(uint *)(iVar3 + 4);" (assignment_expression "uVar4 = *(uint *)(iVar3 + 4)" identifier = (pointer_expression "*(uint *)(iVar3 + 4)" * (cast_expression "(uint *)(iVar3 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) ))))) ;) (expression_statement "*piVar2 = (int)(piVar2 + 2);" (assignment_expression "*piVar2 = (int)(piVar2 + 2)" (pointer_expression "*piVar2" * identifier) = (cast_expression "(int)(piVar2 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(piVar2 + 2)" ( (binary_expression "piVar2 + 2" identifier + number_literal) )))) ;) (if_statement "if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }" if (parenthesized_expression "(param_3 <= uVar4)" ( (binary_expression "param_3 <= uVar4" identifier <= identifier) )) (compound_statement "{\n      _M_construct<wchar_t_const*>();\n      return;\n    }" { (expression_statement "_M_construct<wchar_t_const*>();" (binary_expression "_M_construct<wchar_t_const" identifier < identifier) (ERROR "*>()" * > ( )) ;) (return_statement "return;" return ;) })) (expression_statement "piVar2 = (int *)(*(int *)(pcVar7 + 0x1876b0) + -0xe00);" (assignment_expression "piVar2 = (int *)(*(int *)(pcVar7 + 0x1876b0) + -0xe00)" identifier = (cast_expression "(int *)(*(int *)(pcVar7 + 0x1876b0) + -0xe00)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar7 + 0x1876b0) + -0xe00)" ( (binary_expression "*(int *)(pcVar7 + 0x1876b0) + -0xe00" (pointer_expression "*(int *)(pcVar7 + 0x1876b0)" * (cast_expression "(int *)(pcVar7 + 0x1876b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar7 + 0x1876b0)" ( (binary_expression "pcVar7 + 0x1876b0" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "(**(code **)(pcVar7 + 0x187ebc))(piVar2,*(int *)(pcVar7 + 0x186f3c) + -0x3a58);" (call_expression "(**(code **)(pcVar7 + 0x187ebc))(piVar2,*(int *)(pcVar7 + 0x186f3c) + -0x3a58)" (parenthesized_expression "(**(code **)(pcVar7 + 0x187ebc))" ( (pointer_expression "**(code **)(pcVar7 + 0x187ebc)" * (pointer_expression "*(code **)(pcVar7 + 0x187ebc)" * (cast_expression "(code **)(pcVar7 + 0x187ebc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar7 + 0x187ebc)" ( (binary_expression "pcVar7 + 0x187ebc" identifier + number_literal) ))))) )) (argument_list "(piVar2,*(int *)(pcVar7 + 0x186f3c) + -0x3a58)" ( identifier , (binary_expression "*(int *)(pcVar7 + 0x186f3c) + -0x3a58" (pointer_expression "*(int *)(pcVar7 + 0x186f3c)" * (cast_expression "(int *)(pcVar7 + 0x186f3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar7 + 0x186f3c)" ( (binary_expression "pcVar7 + 0x186f3c" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "*piVar2 = (int)(piVar2 + 2);" (assignment_expression "*piVar2 = (int)(piVar2 + 2)" (pointer_expression "*piVar2" * identifier) = (cast_expression "(int)(piVar2 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(piVar2 + 2)" ( (binary_expression "piVar2 + 2" identifier + number_literal) )))) ;) (expression_statement "_M_construct<wchar_t_const*>();" (binary_expression "_M_construct<wchar_t_const" identifier < identifier) (ERROR "*>()" * > ( )) ;) (return_statement "return;" return ;) })) (expression_statement "uVar4 = (int)(param_3 - (int)param_2) >> 2;" (assignment_expression "uVar4 = (int)(param_3 - (int)param_2) >> 2" identifier = (binary_expression "(int)(param_3 - (int)param_2) >> 2" (cast_expression "(int)(param_3 - (int)param_2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_3 - (int)param_2)" ( (binary_expression "param_3 - (int)param_2" identifier - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) >> number_literal)) ;) (expression_statement "local_18[0] = uVar4;" (assignment_expression "local_18[0] = uVar4" (subscript_expression "local_18[0]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (uVar4 < 4) {\n    puVar1 = *(undefined4 **)param_1;\n    if (uVar4 == 1) {\n      *puVar1 = *param_2;\n    }\n    else if (uVar4 != 0) goto LAB_0033a214;\n    *(uint *)(param_1 + 4) = uVar4;\n    puVar1[uVar4] = 0;\n    return;\n  }" if (parenthesized_expression "(uVar4 < 4)" ( (binary_expression "uVar4 < 4" identifier < number_literal) )) (compound_statement "{\n    puVar1 = *(undefined4 **)param_1;\n    if (uVar4 == 1) {\n      *puVar1 = *param_2;\n    }\n    else if (uVar4 != 0) goto LAB_0033a214;\n    *(uint *)(param_1 + 4) = uVar4;\n    puVar1[uVar4] = 0;\n    return;\n  }" { (expression_statement "puVar1 = *(undefined4 **)param_1;" (assignment_expression "puVar1 = *(undefined4 **)param_1" identifier = (pointer_expression "*(undefined4 **)param_1" * (cast_expression "(undefined4 **)param_1" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if (uVar4 == 1) {\n      *puVar1 = *param_2;\n    }\n    else if (uVar4 != 0) goto LAB_0033a214;" if (parenthesized_expression "(uVar4 == 1)" ( (binary_expression "uVar4 == 1" identifier == number_literal) )) (compound_statement "{\n      *puVar1 = *param_2;\n    }" { (expression_statement "*puVar1 = *param_2;" (assignment_expression "*puVar1 = *param_2" (pointer_expression "*puVar1" * identifier) = (pointer_expression "*param_2" * identifier)) ;) }) (else_clause "else if (uVar4 != 0) goto LAB_0033a214;" else (if_statement "if (uVar4 != 0) goto LAB_0033a214;" if (parenthesized_expression "(uVar4 != 0)" ( (binary_expression "uVar4 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0033a214;" goto statement_identifier ;)))) (expression_statement "*(uint *)(param_1 + 4) = uVar4;" (assignment_expression "*(uint *)(param_1 + 4) = uVar4" (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar1[uVar4] = 0;" (assignment_expression "puVar1[uVar4] = 0" (subscript_expression "puVar1[uVar4]" identifier [ identifier ]) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "puVar1 = (undefined4 *)_M_create(param_1,local_18,0);" (assignment_expression "puVar1 = (undefined4 *)_M_create(param_1,local_18,0)" identifier = (cast_expression "(undefined4 *)_M_create(param_1,local_18,0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "_M_create(param_1,local_18,0)" identifier (argument_list "(param_1,local_18,0)" ( identifier , identifier , number_literal ))))) ;) (expression_statement "*(undefined4 **)param_1 = puVar1;" (assignment_expression "*(undefined4 **)param_1 = puVar1" (pointer_expression "*(undefined4 **)param_1" * (cast_expression "(undefined4 **)param_1" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "*(uint *)(param_1 + 8) = local_18[0];" (assignment_expression "*(uint *)(param_1 + 8) = local_18[0]" (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = (subscript_expression "local_18[0]" identifier [ number_literal ])) ;) (labeled_statement "LAB_0033a214:\n  (*(code *)PTR_wmemcpy_004c5c44)(puVar1,param_2,uVar4);" statement_identifier : (expression_statement "(*(code *)PTR_wmemcpy_004c5c44)(puVar1,param_2,uVar4);" (call_expression "(*(code *)PTR_wmemcpy_004c5c44)(puVar1,param_2,uVar4)" (parenthesized_expression "(*(code *)PTR_wmemcpy_004c5c44)" ( (pointer_expression "*(code *)PTR_wmemcpy_004c5c44" * (cast_expression "(code *)PTR_wmemcpy_004c5c44" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar1,param_2,uVar4)" ( identifier , identifier , identifier ))) ;)) (expression_statement "*(uint *)(param_1 + 4) = local_18[0];" (assignment_expression "*(uint *)(param_1 + 4) = local_18[0]" (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = (subscript_expression "local_18[0]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(*(int *)param_1 + local_18[0] * 4) = 0;" (assignment_expression "*(undefined4 *)(*(int *)param_1 + local_18[0] * 4) = 0" (pointer_expression "*(undefined4 *)(*(int *)param_1 + local_18[0] * 4)" * (cast_expression "(undefined4 *)(*(int *)param_1 + local_18[0] * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_1 + local_18[0] * 4)" ( (binary_expression "*(int *)param_1 + local_18[0] * 4" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + (binary_expression "local_18[0] * 4" (subscript_expression "local_18[0]" identifier [ number_literal ]) * number_literal)) )))) = number_literal) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void std::wstring::_M_construct<wchar_t_const*>(wstring *param_1,undefined4 *param_2,uint param_3)\n\n{\n  undefined4 *puVar1;\n  int *piVar2;\n  int iVar3;\n  uint uVar4;\n  undefined *puVar5;\n  code *pcVar6;\n  code *pcVar7;\n  uint local_18 [2];\n  \n  if (param_2 == (undefined4 *)0x0) {\n    if (param_3 == 0) {\n      *(undefined4 *)(param_1 + 4) = 0;\n      **(undefined4 **)param_1 = 0;\n      return;\n    }\n    puVar1 = (undefined4 *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0xa00);\n    puVar5 = PTR___throw_logic_error_004c12d8;\n    (*(code *)PTR___throw_logic_error_004c12d8)();\n    uVar4 = param_2[1];\n    *puVar1 = puVar1 + 2;\n    if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }\n    pcVar6 = *(code **)(puVar5 + 0x187fb4);\n    iVar3 = *(int *)(puVar5 + 0x187034) + -0x3a74;\n    piVar2 = (int *)(*(int *)(puVar5 + 0x1877a8) + -0xe00);\n    (*pcVar6)();\n    uVar4 = *(uint *)(iVar3 + 4);\n    *piVar2 = (int)(piVar2 + 2);\n    if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }\n    pcVar7 = *(code **)(pcVar6 + 0x187f40);\n    iVar3 = *(int *)(pcVar6 + 0x186fc0) + -0x3a74;\n    piVar2 = (int *)(*(int *)(pcVar6 + 0x187734) + -0xe00);\n    (*pcVar7)();\n    uVar4 = *(uint *)(iVar3 + 4);\n    *piVar2 = (int)(piVar2 + 2);\n    if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }\n    piVar2 = (int *)(*(int *)(pcVar7 + 0x1876b0) + -0xe00);\n    (**(code **)(pcVar7 + 0x187ebc))(piVar2,*(int *)(pcVar7 + 0x186f3c) + -0x3a58);\n    *piVar2 = (int)(piVar2 + 2);\n    _M_construct<wchar_t_const*>();\n    return;\n  }\n  uVar4 = (int)(param_3 - (int)param_2) >> 2;\n  local_18[0] = uVar4;\n  if (uVar4 < 4) {\n    puVar1 = *(undefined4 **)param_1;\n    if (uVar4 == 1) {\n      *puVar1 = *param_2;\n    }\n    else if (uVar4 != 0) goto LAB_0033a214;\n    *(uint *)(param_1 + 4) = uVar4;\n    puVar1[uVar4] = 0;\n    return;\n  }\n  puVar1 = (undefined4 *)_M_create(param_1,local_18,0);\n  *(undefined4 **)param_1 = puVar1;\n  *(uint *)(param_1 + 8) = local_18[0];\nLAB_0033a214:\n  (*(code *)PTR_wmemcpy_004c5c44)(puVar1,param_2,uVar4);\n  *(uint *)(param_1 + 4) = local_18[0];\n  *(undefined4 *)(*(int *)param_1 + local_18[0] * 4) = 0;\n  return;\n}\n\n" (declaration "void std::wstring::_M_construct<wchar_t_const*>(wstring *param_1,undefined4 *param_2,uint param_3)\n\n{\n  undefined4 *puVar1;" primitive_type (ERROR "std::wstring::_M_construct<wchar_t_const*>(wstring" identifier : : identifier : : identifier < identifier * > ( identifier) (pointer_declarator "*param_1" * identifier) , (ERROR "undefined4" identifier) (pointer_declarator "*param_2" * identifier) , (ERROR "uint param_3)\n\n{\n  undefined4" identifier identifier ) { identifier) (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "code *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (declaration "code *pcVar7;" type_identifier (pointer_declarator "*pcVar7" * identifier) ;) (declaration "uint local_18 [2];" type_identifier (array_declarator "local_18 [2]" identifier [ number_literal ]) ;) (if_statement "if (param_2 == (undefined4 *)0x0) {\n    if (param_3 == 0) {\n      *(undefined4 *)(param_1 + 4) = 0;\n      **(undefined4 **)param_1 = 0;\n      return;\n    }\n    puVar1 = (undefined4 *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0xa00);\n    puVar5 = PTR___throw_logic_error_004c12d8;\n    (*(code *)PTR___throw_logic_error_004c12d8)();\n    uVar4 = param_2[1];\n    *puVar1 = puVar1 + 2;\n    if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }\n    pcVar6 = *(code **)(puVar5 + 0x187fb4);\n    iVar3 = *(int *)(puVar5 + 0x187034) + -0x3a74;\n    piVar2 = (int *)(*(int *)(puVar5 + 0x1877a8) + -0xe00);\n    (*pcVar6)();\n    uVar4 = *(uint *)(iVar3 + 4);\n    *piVar2 = (int)(piVar2 + 2);\n    if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }\n    pcVar7 = *(code **)(pcVar6 + 0x187f40);\n    iVar3 = *(int *)(pcVar6 + 0x186fc0) + -0x3a74;\n    piVar2 = (int *)(*(int *)(pcVar6 + 0x187734) + -0xe00);\n    (*pcVar7)();\n    uVar4 = *(uint *)(iVar3 + 4);\n    *piVar2 = (int)(piVar2 + 2);\n    if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }\n    piVar2 = (int *)(*(int *)(pcVar7 + 0x1876b0) + -0xe00);\n    (**(code **)(pcVar7 + 0x187ebc))(piVar2,*(int *)(pcVar7 + 0x186f3c) + -0x3a58);\n    *piVar2 = (int)(piVar2 + 2);\n    _M_construct<wchar_t_const*>();\n    return;\n  }" if (parenthesized_expression "(param_2 == (undefined4 *)0x0)" ( (binary_expression "param_2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (param_3 == 0) {\n      *(undefined4 *)(param_1 + 4) = 0;\n      **(undefined4 **)param_1 = 0;\n      return;\n    }\n    puVar1 = (undefined4 *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0xa00);\n    puVar5 = PTR___throw_logic_error_004c12d8;\n    (*(code *)PTR___throw_logic_error_004c12d8)();\n    uVar4 = param_2[1];\n    *puVar1 = puVar1 + 2;\n    if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }\n    pcVar6 = *(code **)(puVar5 + 0x187fb4);\n    iVar3 = *(int *)(puVar5 + 0x187034) + -0x3a74;\n    piVar2 = (int *)(*(int *)(puVar5 + 0x1877a8) + -0xe00);\n    (*pcVar6)();\n    uVar4 = *(uint *)(iVar3 + 4);\n    *piVar2 = (int)(piVar2 + 2);\n    if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }\n    pcVar7 = *(code **)(pcVar6 + 0x187f40);\n    iVar3 = *(int *)(pcVar6 + 0x186fc0) + -0x3a74;\n    piVar2 = (int *)(*(int *)(pcVar6 + 0x187734) + -0xe00);\n    (*pcVar7)();\n    uVar4 = *(uint *)(iVar3 + 4);\n    *piVar2 = (int)(piVar2 + 2);\n    if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }\n    piVar2 = (int *)(*(int *)(pcVar7 + 0x1876b0) + -0xe00);\n    (**(code **)(pcVar7 + 0x187ebc))(piVar2,*(int *)(pcVar7 + 0x186f3c) + -0x3a58);\n    *piVar2 = (int)(piVar2 + 2);\n    _M_construct<wchar_t_const*>();\n    return;\n  }" { (if_statement "if (param_3 == 0) {\n      *(undefined4 *)(param_1 + 4) = 0;\n      **(undefined4 **)param_1 = 0;\n      return;\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      *(undefined4 *)(param_1 + 4) = 0;\n      **(undefined4 **)param_1 = 0;\n      return;\n    }" { (expression_statement "*(undefined4 *)(param_1 + 4) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 4) = 0" (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "**(undefined4 **)param_1 = 0;" (assignment_expression "**(undefined4 **)param_1 = 0" (pointer_expression "**(undefined4 **)param_1" * (pointer_expression "*(undefined4 **)param_1" * (cast_expression "(undefined4 **)param_1" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "puVar1 = (undefined4 *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0xa00);" (assignment_expression "puVar1 = (undefined4 *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0xa00)" identifier = (cast_expression "(undefined4 *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0xa00)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ral_options14Struct_no_crefE_004c127c + -0xa00)" ( (binary_expression "PTR_s_ral_options14Struct_no_crefE_004c127c + -0xa00" identifier + number_literal) )))) ;) (expression_statement "puVar5 = PTR___throw_logic_error_004c12d8;" (assignment_expression "puVar5 = PTR___throw_logic_error_004c12d8" identifier = identifier) ;) (expression_statement "(*(code *)PTR___throw_logic_error_004c12d8)();" (call_expression "(*(code *)PTR___throw_logic_error_004c12d8)()" (parenthesized_expression "(*(code *)PTR___throw_logic_error_004c12d8)" ( (pointer_expression "*(code *)PTR___throw_logic_error_004c12d8" * (cast_expression "(code *)PTR___throw_logic_error_004c12d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar4 = param_2[1];" (assignment_expression "uVar4 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "*puVar1 = puVar1 + 2;" (assignment_expression "*puVar1 = puVar1 + 2" (pointer_expression "*puVar1" * identifier) = (binary_expression "puVar1 + 2" identifier + number_literal)) ;) (if_statement "if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }" if (parenthesized_expression "(param_3 <= uVar4)" ( (binary_expression "param_3 <= uVar4" identifier <= identifier) )) (compound_statement "{\n      _M_construct<wchar_t_const*>();\n      return;\n    }" { (expression_statement "_M_construct<wchar_t_const*>();" (binary_expression "_M_construct<wchar_t_const" identifier < identifier) (ERROR "*>()" * > ( )) ;) (return_statement "return;" return ;) })) (expression_statement "pcVar6 = *(code **)(puVar5 + 0x187fb4);" (assignment_expression "pcVar6 = *(code **)(puVar5 + 0x187fb4)" identifier = (pointer_expression "*(code **)(puVar5 + 0x187fb4)" * (cast_expression "(code **)(puVar5 + 0x187fb4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x187fb4)" ( (binary_expression "puVar5 + 0x187fb4" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(puVar5 + 0x187034) + -0x3a74;" (assignment_expression "iVar3 = *(int *)(puVar5 + 0x187034) + -0x3a74" identifier = (binary_expression "*(int *)(puVar5 + 0x187034) + -0x3a74" (pointer_expression "*(int *)(puVar5 + 0x187034)" * (cast_expression "(int *)(puVar5 + 0x187034)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x187034)" ( (binary_expression "puVar5 + 0x187034" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "piVar2 = (int *)(*(int *)(puVar5 + 0x1877a8) + -0xe00);" (assignment_expression "piVar2 = (int *)(*(int *)(puVar5 + 0x1877a8) + -0xe00)" identifier = (cast_expression "(int *)(*(int *)(puVar5 + 0x1877a8) + -0xe00)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar5 + 0x1877a8) + -0xe00)" ( (binary_expression "*(int *)(puVar5 + 0x1877a8) + -0xe00" (pointer_expression "*(int *)(puVar5 + 0x1877a8)" * (cast_expression "(int *)(puVar5 + 0x1877a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x1877a8)" ( (binary_expression "puVar5 + 0x1877a8" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "(*pcVar6)();" (call_expression "(*pcVar6)()" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "uVar4 = *(uint *)(iVar3 + 4);" (assignment_expression "uVar4 = *(uint *)(iVar3 + 4)" identifier = (pointer_expression "*(uint *)(iVar3 + 4)" * (cast_expression "(uint *)(iVar3 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) ))))) ;) (expression_statement "*piVar2 = (int)(piVar2 + 2);" (assignment_expression "*piVar2 = (int)(piVar2 + 2)" (pointer_expression "*piVar2" * identifier) = (cast_expression "(int)(piVar2 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(piVar2 + 2)" ( (binary_expression "piVar2 + 2" identifier + number_literal) )))) ;) (if_statement "if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }" if (parenthesized_expression "(param_3 <= uVar4)" ( (binary_expression "param_3 <= uVar4" identifier <= identifier) )) (compound_statement "{\n      _M_construct<wchar_t_const*>();\n      return;\n    }" { (expression_statement "_M_construct<wchar_t_const*>();" (binary_expression "_M_construct<wchar_t_const" identifier < identifier) (ERROR "*>()" * > ( )) ;) (return_statement "return;" return ;) })) (expression_statement "pcVar7 = *(code **)(pcVar6 + 0x187f40);" (assignment_expression "pcVar7 = *(code **)(pcVar6 + 0x187f40)" identifier = (pointer_expression "*(code **)(pcVar6 + 0x187f40)" * (cast_expression "(code **)(pcVar6 + 0x187f40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar6 + 0x187f40)" ( (binary_expression "pcVar6 + 0x187f40" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(pcVar6 + 0x186fc0) + -0x3a74;" (assignment_expression "iVar3 = *(int *)(pcVar6 + 0x186fc0) + -0x3a74" identifier = (binary_expression "*(int *)(pcVar6 + 0x186fc0) + -0x3a74" (pointer_expression "*(int *)(pcVar6 + 0x186fc0)" * (cast_expression "(int *)(pcVar6 + 0x186fc0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar6 + 0x186fc0)" ( (binary_expression "pcVar6 + 0x186fc0" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "piVar2 = (int *)(*(int *)(pcVar6 + 0x187734) + -0xe00);" (assignment_expression "piVar2 = (int *)(*(int *)(pcVar6 + 0x187734) + -0xe00)" identifier = (cast_expression "(int *)(*(int *)(pcVar6 + 0x187734) + -0xe00)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar6 + 0x187734) + -0xe00)" ( (binary_expression "*(int *)(pcVar6 + 0x187734) + -0xe00" (pointer_expression "*(int *)(pcVar6 + 0x187734)" * (cast_expression "(int *)(pcVar6 + 0x187734)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar6 + 0x187734)" ( (binary_expression "pcVar6 + 0x187734" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "(*pcVar7)();" (call_expression "(*pcVar7)()" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "uVar4 = *(uint *)(iVar3 + 4);" (assignment_expression "uVar4 = *(uint *)(iVar3 + 4)" identifier = (pointer_expression "*(uint *)(iVar3 + 4)" * (cast_expression "(uint *)(iVar3 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) ))))) ;) (expression_statement "*piVar2 = (int)(piVar2 + 2);" (assignment_expression "*piVar2 = (int)(piVar2 + 2)" (pointer_expression "*piVar2" * identifier) = (cast_expression "(int)(piVar2 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(piVar2 + 2)" ( (binary_expression "piVar2 + 2" identifier + number_literal) )))) ;) (if_statement "if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }" if (parenthesized_expression "(param_3 <= uVar4)" ( (binary_expression "param_3 <= uVar4" identifier <= identifier) )) (compound_statement "{\n      _M_construct<wchar_t_const*>();\n      return;\n    }" { (expression_statement "_M_construct<wchar_t_const*>();" (binary_expression "_M_construct<wchar_t_const" identifier < identifier) (ERROR "*>()" * > ( )) ;) (return_statement "return;" return ;) })) (expression_statement "piVar2 = (int *)(*(int *)(pcVar7 + 0x1876b0) + -0xe00);" (assignment_expression "piVar2 = (int *)(*(int *)(pcVar7 + 0x1876b0) + -0xe00)" identifier = (cast_expression "(int *)(*(int *)(pcVar7 + 0x1876b0) + -0xe00)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar7 + 0x1876b0) + -0xe00)" ( (binary_expression "*(int *)(pcVar7 + 0x1876b0) + -0xe00" (pointer_expression "*(int *)(pcVar7 + 0x1876b0)" * (cast_expression "(int *)(pcVar7 + 0x1876b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar7 + 0x1876b0)" ( (binary_expression "pcVar7 + 0x1876b0" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "(**(code **)(pcVar7 + 0x187ebc))(piVar2,*(int *)(pcVar7 + 0x186f3c) + -0x3a58);" (call_expression "(**(code **)(pcVar7 + 0x187ebc))(piVar2,*(int *)(pcVar7 + 0x186f3c) + -0x3a58)" (parenthesized_expression "(**(code **)(pcVar7 + 0x187ebc))" ( (pointer_expression "**(code **)(pcVar7 + 0x187ebc)" * (pointer_expression "*(code **)(pcVar7 + 0x187ebc)" * (cast_expression "(code **)(pcVar7 + 0x187ebc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar7 + 0x187ebc)" ( (binary_expression "pcVar7 + 0x187ebc" identifier + number_literal) ))))) )) (argument_list "(piVar2,*(int *)(pcVar7 + 0x186f3c) + -0x3a58)" ( identifier , (binary_expression "*(int *)(pcVar7 + 0x186f3c) + -0x3a58" (pointer_expression "*(int *)(pcVar7 + 0x186f3c)" * (cast_expression "(int *)(pcVar7 + 0x186f3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar7 + 0x186f3c)" ( (binary_expression "pcVar7 + 0x186f3c" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "*piVar2 = (int)(piVar2 + 2);" (assignment_expression "*piVar2 = (int)(piVar2 + 2)" (pointer_expression "*piVar2" * identifier) = (cast_expression "(int)(piVar2 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(piVar2 + 2)" ( (binary_expression "piVar2 + 2" identifier + number_literal) )))) ;) (expression_statement "_M_construct<wchar_t_const*>();" (binary_expression "_M_construct<wchar_t_const" identifier < identifier) (ERROR "*>()" * > ( )) ;) (return_statement "return;" return ;) })) (expression_statement "uVar4 = (int)(param_3 - (int)param_2) >> 2;" (assignment_expression "uVar4 = (int)(param_3 - (int)param_2) >> 2" identifier = (binary_expression "(int)(param_3 - (int)param_2) >> 2" (cast_expression "(int)(param_3 - (int)param_2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_3 - (int)param_2)" ( (binary_expression "param_3 - (int)param_2" identifier - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) >> number_literal)) ;) (expression_statement "local_18[0] = uVar4;" (assignment_expression "local_18[0] = uVar4" (subscript_expression "local_18[0]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (uVar4 < 4) {\n    puVar1 = *(undefined4 **)param_1;\n    if (uVar4 == 1) {\n      *puVar1 = *param_2;\n    }\n    else if (uVar4 != 0) goto LAB_0033a214;\n    *(uint *)(param_1 + 4) = uVar4;\n    puVar1[uVar4] = 0;\n    return;\n  }" if (parenthesized_expression "(uVar4 < 4)" ( (binary_expression "uVar4 < 4" identifier < number_literal) )) (compound_statement "{\n    puVar1 = *(undefined4 **)param_1;\n    if (uVar4 == 1) {\n      *puVar1 = *param_2;\n    }\n    else if (uVar4 != 0) goto LAB_0033a214;\n    *(uint *)(param_1 + 4) = uVar4;\n    puVar1[uVar4] = 0;\n    return;\n  }" { (expression_statement "puVar1 = *(undefined4 **)param_1;" (assignment_expression "puVar1 = *(undefined4 **)param_1" identifier = (pointer_expression "*(undefined4 **)param_1" * (cast_expression "(undefined4 **)param_1" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if (uVar4 == 1) {\n      *puVar1 = *param_2;\n    }\n    else if (uVar4 != 0) goto LAB_0033a214;" if (parenthesized_expression "(uVar4 == 1)" ( (binary_expression "uVar4 == 1" identifier == number_literal) )) (compound_statement "{\n      *puVar1 = *param_2;\n    }" { (expression_statement "*puVar1 = *param_2;" (assignment_expression "*puVar1 = *param_2" (pointer_expression "*puVar1" * identifier) = (pointer_expression "*param_2" * identifier)) ;) }) (else_clause "else if (uVar4 != 0) goto LAB_0033a214;" else (if_statement "if (uVar4 != 0) goto LAB_0033a214;" if (parenthesized_expression "(uVar4 != 0)" ( (binary_expression "uVar4 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0033a214;" goto statement_identifier ;)))) (expression_statement "*(uint *)(param_1 + 4) = uVar4;" (assignment_expression "*(uint *)(param_1 + 4) = uVar4" (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar1[uVar4] = 0;" (assignment_expression "puVar1[uVar4] = 0" (subscript_expression "puVar1[uVar4]" identifier [ identifier ]) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "puVar1 = (undefined4 *)_M_create(param_1,local_18,0);" (assignment_expression "puVar1 = (undefined4 *)_M_create(param_1,local_18,0)" identifier = (cast_expression "(undefined4 *)_M_create(param_1,local_18,0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "_M_create(param_1,local_18,0)" identifier (argument_list "(param_1,local_18,0)" ( identifier , identifier , number_literal ))))) ;) (expression_statement "*(undefined4 **)param_1 = puVar1;" (assignment_expression "*(undefined4 **)param_1 = puVar1" (pointer_expression "*(undefined4 **)param_1" * (cast_expression "(undefined4 **)param_1" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "*(uint *)(param_1 + 8) = local_18[0];" (assignment_expression "*(uint *)(param_1 + 8) = local_18[0]" (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = (subscript_expression "local_18[0]" identifier [ number_literal ])) ;) (labeled_statement "LAB_0033a214:\n  (*(code *)PTR_wmemcpy_004c5c44)(puVar1,param_2,uVar4);" statement_identifier : (expression_statement "(*(code *)PTR_wmemcpy_004c5c44)(puVar1,param_2,uVar4);" (call_expression "(*(code *)PTR_wmemcpy_004c5c44)(puVar1,param_2,uVar4)" (parenthesized_expression "(*(code *)PTR_wmemcpy_004c5c44)" ( (pointer_expression "*(code *)PTR_wmemcpy_004c5c44" * (cast_expression "(code *)PTR_wmemcpy_004c5c44" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar1,param_2,uVar4)" ( identifier , identifier , identifier ))) ;)) (expression_statement "*(uint *)(param_1 + 4) = local_18[0];" (assignment_expression "*(uint *)(param_1 + 4) = local_18[0]" (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = (subscript_expression "local_18[0]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(*(int *)param_1 + local_18[0] * 4) = 0;" (assignment_expression "*(undefined4 *)(*(int *)param_1 + local_18[0] * 4) = 0" (pointer_expression "*(undefined4 *)(*(int *)param_1 + local_18[0] * 4)" * (cast_expression "(undefined4 *)(*(int *)param_1 + local_18[0] * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_1 + local_18[0] * 4)" ( (binary_expression "*(int *)param_1 + local_18[0] * 4" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + (binary_expression "local_18[0] * 4" (subscript_expression "local_18[0]" identifier [ number_literal ]) * number_literal)) )))) = number_literal) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit (declaration TYPE (ERROR IDENT : : IDENT : : IDENT < IDENT * > ( IDENT) (pointer_declarator * IDENT) , (ERROR IDENT) (pointer_declarator * IDENT) , (ERROR IDENT IDENT ) { IDENT) (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) = LIT) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (binary_expression IDENT < IDENT) (ERROR * > ( )) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (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 *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (binary_expression IDENT < IDENT) (ERROR * > ( )) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (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 *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (binary_expression IDENT < IDENT) (ERROR * > ( )) ;) (return_statement return ;) })) (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 *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (binary_expression IDENT < IDENT) (ERROR * > ( )) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) >> LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)))) (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 (subscript_expression IDENT [ IDENT ]) = LIT) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT , LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (labeled_statement statement_identifier : (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (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 (subscript_expression IDENT [ LIT ]) * LIT)) )))) = LIT) ;) (return_statement return ;) (ERROR }))
(declaration "void std::wstring::_M_construct<wchar_t_const*>(wstring *param_1,undefined4 *param_2,uint param_3)\n\n{\n  undefined4 *puVar1;" (primitive_type "void") (ERROR "std::wstring::_M_construct<wchar_t_const*>(wstring" (identifier "std") (: ":") (: ":") (identifier "wstring") (: ":") (: ":") (identifier "_M_construct") (< "<") (identifier "wchar_t_const") (* "*") (> ">") (( "(") (identifier "wstring")) (pointer_declarator "*param_1" (* "*") (identifier "param_1")) (, ",") (ERROR "undefined4" (identifier "undefined4")) (pointer_declarator "*param_2" (* "*") (identifier "param_2")) (, ",") (ERROR "uint param_3)\n\n{\n  undefined4" (identifier "uint") (identifier "param_3") () ")") ({ "{") (identifier "undefined4")) (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "undefined *puVar5;" (type_identifier "undefined") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "code *pcVar6;" (type_identifier "code") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (declaration "code *pcVar7;" (type_identifier "code") (pointer_declarator "*pcVar7" (* "*") (identifier "pcVar7")) (; ";")) (declaration "uint local_18 [2];" (type_identifier "uint") (array_declarator "local_18 [2]" (identifier "local_18") ([ "[") (number_literal "2") (] "]")) (; ";")) (if_statement "if (param_2 == (undefined4 *)0x0) {\n    if (param_3 == 0) {\n      *(undefined4 *)(param_1 + 4) = 0;\n      **(undefined4 **)param_1 = 0;\n      return;\n    }\n    puVar1 = (undefined4 *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0xa00);\n    puVar5 = PTR___throw_logic_error_004c12d8;\n    (*(code *)PTR___throw_logic_error_004c12d8)();\n    uVar4 = param_2[1];\n    *puVar1 = puVar1 + 2;\n    if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }\n    pcVar6 = *(code **)(puVar5 + 0x187fb4);\n    iVar3 = *(int *)(puVar5 + 0x187034) + -0x3a74;\n    piVar2 = (int *)(*(int *)(puVar5 + 0x1877a8) + -0xe00);\n    (*pcVar6)();\n    uVar4 = *(uint *)(iVar3 + 4);\n    *piVar2 = (int)(piVar2 + 2);\n    if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }\n    pcVar7 = *(code **)(pcVar6 + 0x187f40);\n    iVar3 = *(int *)(pcVar6 + 0x186fc0) + -0x3a74;\n    piVar2 = (int *)(*(int *)(pcVar6 + 0x187734) + -0xe00);\n    (*pcVar7)();\n    uVar4 = *(uint *)(iVar3 + 4);\n    *piVar2 = (int)(piVar2 + 2);\n    if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }\n    piVar2 = (int *)(*(int *)(pcVar7 + 0x1876b0) + -0xe00);\n    (**(code **)(pcVar7 + 0x187ebc))(piVar2,*(int *)(pcVar7 + 0x186f3c) + -0x3a58);\n    *piVar2 = (int)(piVar2 + 2);\n    _M_construct<wchar_t_const*>();\n    return;\n  }" (if "if") (parenthesized_expression "(param_2 == (undefined4 *)0x0)" (( "(") (binary_expression "param_2 == (undefined4 *)0x0" (identifier "param_2") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    if (param_3 == 0) {\n      *(undefined4 *)(param_1 + 4) = 0;\n      **(undefined4 **)param_1 = 0;\n      return;\n    }\n    puVar1 = (undefined4 *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0xa00);\n    puVar5 = PTR___throw_logic_error_004c12d8;\n    (*(code *)PTR___throw_logic_error_004c12d8)();\n    uVar4 = param_2[1];\n    *puVar1 = puVar1 + 2;\n    if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }\n    pcVar6 = *(code **)(puVar5 + 0x187fb4);\n    iVar3 = *(int *)(puVar5 + 0x187034) + -0x3a74;\n    piVar2 = (int *)(*(int *)(puVar5 + 0x1877a8) + -0xe00);\n    (*pcVar6)();\n    uVar4 = *(uint *)(iVar3 + 4);\n    *piVar2 = (int)(piVar2 + 2);\n    if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }\n    pcVar7 = *(code **)(pcVar6 + 0x187f40);\n    iVar3 = *(int *)(pcVar6 + 0x186fc0) + -0x3a74;\n    piVar2 = (int *)(*(int *)(pcVar6 + 0x187734) + -0xe00);\n    (*pcVar7)();\n    uVar4 = *(uint *)(iVar3 + 4);\n    *piVar2 = (int)(piVar2 + 2);\n    if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }\n    piVar2 = (int *)(*(int *)(pcVar7 + 0x1876b0) + -0xe00);\n    (**(code **)(pcVar7 + 0x187ebc))(piVar2,*(int *)(pcVar7 + 0x186f3c) + -0x3a58);\n    *piVar2 = (int)(piVar2 + 2);\n    _M_construct<wchar_t_const*>();\n    return;\n  }" ({ "{") (if_statement "if (param_3 == 0) {\n      *(undefined4 *)(param_1 + 4) = 0;\n      **(undefined4 **)param_1 = 0;\n      return;\n    }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      *(undefined4 *)(param_1 + 4) = 0;\n      **(undefined4 **)param_1 = 0;\n      return;\n    }" ({ "{") (expression_statement "*(undefined4 *)(param_1 + 4) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 4) = 0" (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "**(undefined4 **)param_1 = 0;" (assignment_expression "**(undefined4 **)param_1 = 0" (pointer_expression "**(undefined4 **)param_1" (* "*") (pointer_expression "*(undefined4 **)param_1" (* "*") (cast_expression "(undefined4 **)param_1" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "param_1")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "puVar1 = (undefined4 *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0xa00);" (assignment_expression "puVar1 = (undefined4 *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0xa00)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0xa00)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_ral_options14Struct_no_crefE_004c127c + -0xa00)" (( "(") (binary_expression "PTR_s_ral_options14Struct_no_crefE_004c127c + -0xa00" (identifier "PTR_s_ral_options14Struct_no_crefE_004c127c") (+ "+") (number_literal "-0xa00")) () ")")))) (; ";")) (expression_statement "puVar5 = PTR___throw_logic_error_004c12d8;" (assignment_expression "puVar5 = PTR___throw_logic_error_004c12d8" (identifier "puVar5") (= "=") (identifier "PTR___throw_logic_error_004c12d8")) (; ";")) (expression_statement "(*(code *)PTR___throw_logic_error_004c12d8)();" (call_expression "(*(code *)PTR___throw_logic_error_004c12d8)()" (parenthesized_expression "(*(code *)PTR___throw_logic_error_004c12d8)" (( "(") (pointer_expression "*(code *)PTR___throw_logic_error_004c12d8" (* "*") (cast_expression "(code *)PTR___throw_logic_error_004c12d8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___throw_logic_error_004c12d8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar4 = param_2[1];" (assignment_expression "uVar4 = param_2[1]" (identifier "uVar4") (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*puVar1 = puVar1 + 2;" (assignment_expression "*puVar1 = puVar1 + 2" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (binary_expression "puVar1 + 2" (identifier "puVar1") (+ "+") (number_literal "2"))) (; ";")) (if_statement "if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }" (if "if") (parenthesized_expression "(param_3 <= uVar4)" (( "(") (binary_expression "param_3 <= uVar4" (identifier "param_3") (<= "<=") (identifier "uVar4")) () ")")) (compound_statement "{\n      _M_construct<wchar_t_const*>();\n      return;\n    }" ({ "{") (expression_statement "_M_construct<wchar_t_const*>();" (binary_expression "_M_construct<wchar_t_const" (identifier "_M_construct") (< "<") (identifier "wchar_t_const")) (ERROR "*>()" (* "*") (> ">") (( "(") () ")")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "pcVar6 = *(code **)(puVar5 + 0x187fb4);" (assignment_expression "pcVar6 = *(code **)(puVar5 + 0x187fb4)" (identifier "pcVar6") (= "=") (pointer_expression "*(code **)(puVar5 + 0x187fb4)" (* "*") (cast_expression "(code **)(puVar5 + 0x187fb4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar5 + 0x187fb4)" (( "(") (binary_expression "puVar5 + 0x187fb4" (identifier "puVar5") (+ "+") (number_literal "0x187fb4")) () ")"))))) (; ";")) (expression_statement "iVar3 = *(int *)(puVar5 + 0x187034) + -0x3a74;" (assignment_expression "iVar3 = *(int *)(puVar5 + 0x187034) + -0x3a74" (identifier "iVar3") (= "=") (binary_expression "*(int *)(puVar5 + 0x187034) + -0x3a74" (pointer_expression "*(int *)(puVar5 + 0x187034)" (* "*") (cast_expression "(int *)(puVar5 + 0x187034)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + 0x187034)" (( "(") (binary_expression "puVar5 + 0x187034" (identifier "puVar5") (+ "+") (number_literal "0x187034")) () ")")))) (+ "+") (number_literal "-0x3a74"))) (; ";")) (expression_statement "piVar2 = (int *)(*(int *)(puVar5 + 0x1877a8) + -0xe00);" (assignment_expression "piVar2 = (int *)(*(int *)(puVar5 + 0x1877a8) + -0xe00)" (identifier "piVar2") (= "=") (cast_expression "(int *)(*(int *)(puVar5 + 0x1877a8) + -0xe00)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar5 + 0x1877a8) + -0xe00)" (( "(") (binary_expression "*(int *)(puVar5 + 0x1877a8) + -0xe00" (pointer_expression "*(int *)(puVar5 + 0x1877a8)" (* "*") (cast_expression "(int *)(puVar5 + 0x1877a8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + 0x1877a8)" (( "(") (binary_expression "puVar5 + 0x1877a8" (identifier "puVar5") (+ "+") (number_literal "0x1877a8")) () ")")))) (+ "+") (number_literal "-0xe00")) () ")")))) (; ";")) (expression_statement "(*pcVar6)();" (call_expression "(*pcVar6)()" (parenthesized_expression "(*pcVar6)" (( "(") (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar4 = *(uint *)(iVar3 + 4);" (assignment_expression "uVar4 = *(uint *)(iVar3 + 4)" (identifier "uVar4") (= "=") (pointer_expression "*(uint *)(iVar3 + 4)" (* "*") (cast_expression "(uint *)(iVar3 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 4)" (( "(") (binary_expression "iVar3 + 4" (identifier "iVar3") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "*piVar2 = (int)(piVar2 + 2);" (assignment_expression "*piVar2 = (int)(piVar2 + 2)" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (cast_expression "(int)(piVar2 + 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(piVar2 + 2)" (( "(") (binary_expression "piVar2 + 2" (identifier "piVar2") (+ "+") (number_literal "2")) () ")")))) (; ";")) (if_statement "if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }" (if "if") (parenthesized_expression "(param_3 <= uVar4)" (( "(") (binary_expression "param_3 <= uVar4" (identifier "param_3") (<= "<=") (identifier "uVar4")) () ")")) (compound_statement "{\n      _M_construct<wchar_t_const*>();\n      return;\n    }" ({ "{") (expression_statement "_M_construct<wchar_t_const*>();" (binary_expression "_M_construct<wchar_t_const" (identifier "_M_construct") (< "<") (identifier "wchar_t_const")) (ERROR "*>()" (* "*") (> ">") (( "(") () ")")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "pcVar7 = *(code **)(pcVar6 + 0x187f40);" (assignment_expression "pcVar7 = *(code **)(pcVar6 + 0x187f40)" (identifier "pcVar7") (= "=") (pointer_expression "*(code **)(pcVar6 + 0x187f40)" (* "*") (cast_expression "(code **)(pcVar6 + 0x187f40)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar6 + 0x187f40)" (( "(") (binary_expression "pcVar6 + 0x187f40" (identifier "pcVar6") (+ "+") (number_literal "0x187f40")) () ")"))))) (; ";")) (expression_statement "iVar3 = *(int *)(pcVar6 + 0x186fc0) + -0x3a74;" (assignment_expression "iVar3 = *(int *)(pcVar6 + 0x186fc0) + -0x3a74" (identifier "iVar3") (= "=") (binary_expression "*(int *)(pcVar6 + 0x186fc0) + -0x3a74" (pointer_expression "*(int *)(pcVar6 + 0x186fc0)" (* "*") (cast_expression "(int *)(pcVar6 + 0x186fc0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar6 + 0x186fc0)" (( "(") (binary_expression "pcVar6 + 0x186fc0" (identifier "pcVar6") (+ "+") (number_literal "0x186fc0")) () ")")))) (+ "+") (number_literal "-0x3a74"))) (; ";")) (expression_statement "piVar2 = (int *)(*(int *)(pcVar6 + 0x187734) + -0xe00);" (assignment_expression "piVar2 = (int *)(*(int *)(pcVar6 + 0x187734) + -0xe00)" (identifier "piVar2") (= "=") (cast_expression "(int *)(*(int *)(pcVar6 + 0x187734) + -0xe00)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(pcVar6 + 0x187734) + -0xe00)" (( "(") (binary_expression "*(int *)(pcVar6 + 0x187734) + -0xe00" (pointer_expression "*(int *)(pcVar6 + 0x187734)" (* "*") (cast_expression "(int *)(pcVar6 + 0x187734)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar6 + 0x187734)" (( "(") (binary_expression "pcVar6 + 0x187734" (identifier "pcVar6") (+ "+") (number_literal "0x187734")) () ")")))) (+ "+") (number_literal "-0xe00")) () ")")))) (; ";")) (expression_statement "(*pcVar7)();" (call_expression "(*pcVar7)()" (parenthesized_expression "(*pcVar7)" (( "(") (pointer_expression "*pcVar7" (* "*") (identifier "pcVar7")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar4 = *(uint *)(iVar3 + 4);" (assignment_expression "uVar4 = *(uint *)(iVar3 + 4)" (identifier "uVar4") (= "=") (pointer_expression "*(uint *)(iVar3 + 4)" (* "*") (cast_expression "(uint *)(iVar3 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 4)" (( "(") (binary_expression "iVar3 + 4" (identifier "iVar3") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "*piVar2 = (int)(piVar2 + 2);" (assignment_expression "*piVar2 = (int)(piVar2 + 2)" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (cast_expression "(int)(piVar2 + 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(piVar2 + 2)" (( "(") (binary_expression "piVar2 + 2" (identifier "piVar2") (+ "+") (number_literal "2")) () ")")))) (; ";")) (if_statement "if (param_3 <= uVar4) {\n      _M_construct<wchar_t_const*>();\n      return;\n    }" (if "if") (parenthesized_expression "(param_3 <= uVar4)" (( "(") (binary_expression "param_3 <= uVar4" (identifier "param_3") (<= "<=") (identifier "uVar4")) () ")")) (compound_statement "{\n      _M_construct<wchar_t_const*>();\n      return;\n    }" ({ "{") (expression_statement "_M_construct<wchar_t_const*>();" (binary_expression "_M_construct<wchar_t_const" (identifier "_M_construct") (< "<") (identifier "wchar_t_const")) (ERROR "*>()" (* "*") (> ">") (( "(") () ")")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "piVar2 = (int *)(*(int *)(pcVar7 + 0x1876b0) + -0xe00);" (assignment_expression "piVar2 = (int *)(*(int *)(pcVar7 + 0x1876b0) + -0xe00)" (identifier "piVar2") (= "=") (cast_expression "(int *)(*(int *)(pcVar7 + 0x1876b0) + -0xe00)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(pcVar7 + 0x1876b0) + -0xe00)" (( "(") (binary_expression "*(int *)(pcVar7 + 0x1876b0) + -0xe00" (pointer_expression "*(int *)(pcVar7 + 0x1876b0)" (* "*") (cast_expression "(int *)(pcVar7 + 0x1876b0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar7 + 0x1876b0)" (( "(") (binary_expression "pcVar7 + 0x1876b0" (identifier "pcVar7") (+ "+") (number_literal "0x1876b0")) () ")")))) (+ "+") (number_literal "-0xe00")) () ")")))) (; ";")) (expression_statement "(**(code **)(pcVar7 + 0x187ebc))(piVar2,*(int *)(pcVar7 + 0x186f3c) + -0x3a58);" (call_expression "(**(code **)(pcVar7 + 0x187ebc))(piVar2,*(int *)(pcVar7 + 0x186f3c) + -0x3a58)" (parenthesized_expression "(**(code **)(pcVar7 + 0x187ebc))" (( "(") (pointer_expression "**(code **)(pcVar7 + 0x187ebc)" (* "*") (pointer_expression "*(code **)(pcVar7 + 0x187ebc)" (* "*") (cast_expression "(code **)(pcVar7 + 0x187ebc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar7 + 0x187ebc)" (( "(") (binary_expression "pcVar7 + 0x187ebc" (identifier "pcVar7") (+ "+") (number_literal "0x187ebc")) () ")"))))) () ")")) (argument_list "(piVar2,*(int *)(pcVar7 + 0x186f3c) + -0x3a58)" (( "(") (identifier "piVar2") (, ",") (binary_expression "*(int *)(pcVar7 + 0x186f3c) + -0x3a58" (pointer_expression "*(int *)(pcVar7 + 0x186f3c)" (* "*") (cast_expression "(int *)(pcVar7 + 0x186f3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar7 + 0x186f3c)" (( "(") (binary_expression "pcVar7 + 0x186f3c" (identifier "pcVar7") (+ "+") (number_literal "0x186f3c")) () ")")))) (+ "+") (number_literal "-0x3a58")) () ")"))) (; ";")) (expression_statement "*piVar2 = (int)(piVar2 + 2);" (assignment_expression "*piVar2 = (int)(piVar2 + 2)" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (cast_expression "(int)(piVar2 + 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(piVar2 + 2)" (( "(") (binary_expression "piVar2 + 2" (identifier "piVar2") (+ "+") (number_literal "2")) () ")")))) (; ";")) (expression_statement "_M_construct<wchar_t_const*>();" (binary_expression "_M_construct<wchar_t_const" (identifier "_M_construct") (< "<") (identifier "wchar_t_const")) (ERROR "*>()" (* "*") (> ">") (( "(") () ")")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar4 = (int)(param_3 - (int)param_2) >> 2;" (assignment_expression "uVar4 = (int)(param_3 - (int)param_2) >> 2" (identifier "uVar4") (= "=") (binary_expression "(int)(param_3 - (int)param_2) >> 2" (cast_expression "(int)(param_3 - (int)param_2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(param_3 - (int)param_2)" (( "(") (binary_expression "param_3 - (int)param_2" (identifier "param_3") (- "-") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2"))) () ")"))) (>> ">>") (number_literal "2"))) (; ";")) (expression_statement "local_18[0] = uVar4;" (assignment_expression "local_18[0] = uVar4" (subscript_expression "local_18[0]" (identifier "local_18") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "uVar4")) (; ";")) (if_statement "if (uVar4 < 4) {\n    puVar1 = *(undefined4 **)param_1;\n    if (uVar4 == 1) {\n      *puVar1 = *param_2;\n    }\n    else if (uVar4 != 0) goto LAB_0033a214;\n    *(uint *)(param_1 + 4) = uVar4;\n    puVar1[uVar4] = 0;\n    return;\n  }" (if "if") (parenthesized_expression "(uVar4 < 4)" (( "(") (binary_expression "uVar4 < 4" (identifier "uVar4") (< "<") (number_literal "4")) () ")")) (compound_statement "{\n    puVar1 = *(undefined4 **)param_1;\n    if (uVar4 == 1) {\n      *puVar1 = *param_2;\n    }\n    else if (uVar4 != 0) goto LAB_0033a214;\n    *(uint *)(param_1 + 4) = uVar4;\n    puVar1[uVar4] = 0;\n    return;\n  }" ({ "{") (expression_statement "puVar1 = *(undefined4 **)param_1;" (assignment_expression "puVar1 = *(undefined4 **)param_1" (identifier "puVar1") (= "=") (pointer_expression "*(undefined4 **)param_1" (* "*") (cast_expression "(undefined4 **)param_1" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "param_1")))) (; ";")) (if_statement "if (uVar4 == 1) {\n      *puVar1 = *param_2;\n    }\n    else if (uVar4 != 0) goto LAB_0033a214;" (if "if") (parenthesized_expression "(uVar4 == 1)" (( "(") (binary_expression "uVar4 == 1" (identifier "uVar4") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n      *puVar1 = *param_2;\n    }" ({ "{") (expression_statement "*puVar1 = *param_2;" (assignment_expression "*puVar1 = *param_2" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (} "}")) (else_clause "else if (uVar4 != 0) goto LAB_0033a214;" (else "else") (if_statement "if (uVar4 != 0) goto LAB_0033a214;" (if "if") (parenthesized_expression "(uVar4 != 0)" (( "(") (binary_expression "uVar4 != 0" (identifier "uVar4") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0033a214;" (goto "goto") (statement_identifier "LAB_0033a214") (; ";"))))) (expression_statement "*(uint *)(param_1 + 4) = uVar4;" (assignment_expression "*(uint *)(param_1 + 4) = uVar4" (pointer_expression "*(uint *)(param_1 + 4)" (* "*") (cast_expression "(uint *)(param_1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "puVar1[uVar4] = 0;" (assignment_expression "puVar1[uVar4] = 0" (subscript_expression "puVar1[uVar4]" (identifier "puVar1") ([ "[") (identifier "uVar4") (] "]")) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "puVar1 = (undefined4 *)_M_create(param_1,local_18,0);" (assignment_expression "puVar1 = (undefined4 *)_M_create(param_1,local_18,0)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)_M_create(param_1,local_18,0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "_M_create(param_1,local_18,0)" (identifier "_M_create") (argument_list "(param_1,local_18,0)" (( "(") (identifier "param_1") (, ",") (identifier "local_18") (, ",") (number_literal "0") () ")"))))) (; ";")) (expression_statement "*(undefined4 **)param_1 = puVar1;" (assignment_expression "*(undefined4 **)param_1 = puVar1" (pointer_expression "*(undefined4 **)param_1" (* "*") (cast_expression "(undefined4 **)param_1" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "param_1"))) (= "=") (identifier "puVar1")) (; ";")) (expression_statement "*(uint *)(param_1 + 8) = local_18[0];" (assignment_expression "*(uint *)(param_1 + 8) = local_18[0]" (pointer_expression "*(uint *)(param_1 + 8)" (* "*") (cast_expression "(uint *)(param_1 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (= "=") (subscript_expression "local_18[0]" (identifier "local_18") ([ "[") (number_literal "0") (] "]"))) (; ";")) (labeled_statement "LAB_0033a214:\n  (*(code *)PTR_wmemcpy_004c5c44)(puVar1,param_2,uVar4);" (statement_identifier "LAB_0033a214") (: ":") (expression_statement "(*(code *)PTR_wmemcpy_004c5c44)(puVar1,param_2,uVar4);" (call_expression "(*(code *)PTR_wmemcpy_004c5c44)(puVar1,param_2,uVar4)" (parenthesized_expression "(*(code *)PTR_wmemcpy_004c5c44)" (( "(") (pointer_expression "*(code *)PTR_wmemcpy_004c5c44" (* "*") (cast_expression "(code *)PTR_wmemcpy_004c5c44" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_wmemcpy_004c5c44"))) () ")")) (argument_list "(puVar1,param_2,uVar4)" (( "(") (identifier "puVar1") (, ",") (identifier "param_2") (, ",") (identifier "uVar4") () ")"))) (; ";"))) (expression_statement "*(uint *)(param_1 + 4) = local_18[0];" (assignment_expression "*(uint *)(param_1 + 4) = local_18[0]" (pointer_expression "*(uint *)(param_1 + 4)" (* "*") (cast_expression "(uint *)(param_1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (= "=") (subscript_expression "local_18[0]" (identifier "local_18") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "*(undefined4 *)(*(int *)param_1 + local_18[0] * 4) = 0;" (assignment_expression "*(undefined4 *)(*(int *)param_1 + local_18[0] * 4) = 0" (pointer_expression "*(undefined4 *)(*(int *)param_1 + local_18[0] * 4)" (* "*") (cast_expression "(undefined4 *)(*(int *)param_1 + local_18[0] * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)param_1 + local_18[0] * 4)" (( "(") (binary_expression "*(int *)param_1 + local_18[0] * 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 "local_18[0] * 4" (subscript_expression "local_18[0]" (identifier "local_18") ([ "[") (number_literal "0") (] "]")) (* "*") (number_literal "4"))) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (ERROR "}" (} "}"))
(translation_unit (declaration type: (primitive_type) (ERROR (identifier) (identifier) (identifier) (identifier) (identifier)) declarator: (pointer_declarator declarator: (identifier)) (ERROR (identifier)) declarator: (pointer_declarator declarator: (identifier)) (ERROR (identifier) (identifier) (identifier)) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier)))) right: (number_literal))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (binary_expression left: (identifier) right: (identifier)) (ERROR)) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) 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: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (binary_expression left: (identifier) right: (identifier)) (ERROR)) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) 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: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (binary_expression left: (identifier) right: (identifier)) (ERROR)) (return_statement))) (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: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (binary_expression left: (identifier) right: (identifier)) (ERROR)) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (number_literal))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (subscript_expression argument: (identifier) index: (number_literal)))) (labeled_statement label: (statement_identifier) (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))))) right: (number_literal))) (return_statement) (ERROR))

/* void std::wstring::_M_construct<wchar_t const*>(wchar_t const*, wchar_t const*,
   std::forward_iterator_tag) */

void std::wstring::MASKED(wstring *param_1,undefined4 *param_2,uint param_3)

{
  undefined4 *puVar1;
  int *piVar2;
  int iVar3;
  uint uVar4;
  undefined *puVar5;
  code *pcVar6;
  code *pcVar7;
  uint local_18 [2];
  
  if (param_2 == (undefined4 *)0x0) {
    if (param_3 == 0) {
      *(undefined4 *)(param_1 + 4) = 0;
      **(undefined4 **)param_1 = 0;
      return;
    }
    puVar1 = (undefined4 *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0xa00);
    puVar5 = PTR___throw_logic_error_004c12d8;
    (*(code *)PTR___throw_logic_error_004c12d8)();
    uVar4 = param_2[1];
    *puVar1 = puVar1 + 2;
    if (param_3 <= uVar4) {
      MASKED();
      return;
    }
    pcVar6 = *(code **)(puVar5 + 0x187fb4);
    iVar3 = *(int *)(puVar5 + 0x187034) + -0x3a74;
    piVar2 = (int *)(*(int *)(puVar5 + 0x1877a8) + -0xe00);
    (*pcVar6)();
    uVar4 = *(uint *)(iVar3 + 4);
    *piVar2 = (int)(piVar2 + 2);
    if (param_3 <= uVar4) {
      MASKED();
      return;
    }
    pcVar7 = *(code **)(pcVar6 + 0x187f40);
    iVar3 = *(int *)(pcVar6 + 0x186fc0) + -0x3a74;
    piVar2 = (int *)(*(int *)(pcVar6 + 0x187734) + -0xe00);
    (*pcVar7)();
    uVar4 = *(uint *)(iVar3 + 4);
    *piVar2 = (int)(piVar2 + 2);
    if (param_3 <= uVar4) {
      MASKED();
      return;
    }
    piVar2 = (int *)(*(int *)(pcVar7 + 0x1876b0) + -0xe00);
    (**(code **)(pcVar7 + 0x187ebc))(piVar2,*(int *)(pcVar7 + 0x186f3c) + -0x3a58);
    *piVar2 = (int)(piVar2 + 2);
    MASKED();
    return;
  }
  uVar4 = (int)(param_3 - (int)param_2) >> 2;
  local_18[0] = uVar4;
  if (uVar4 < 4) {
    puVar1 = *(undefined4 **)param_1;
    if (uVar4 == 1) {
      *puVar1 = *param_2;
    }
    else if (uVar4 != 0) goto LAB_0033a214;
    *(uint *)(param_1 + 4) = uVar4;
    puVar1[uVar4] = 0;
    return;
  }
  puVar1 = (undefined4 *)_M_create(param_1,local_18,0);
  *(undefined4 **)param_1 = puVar1;
  *(uint *)(param_1 + 8) = local_18[0];
LAB_0033a214:
  (*(code *)PTR_wmemcpy_004c5c44)(puVar1,param_2,uVar4);
  *(uint *)(param_1 + 4) = local_18[0];
  *(undefined4 *)(*(int *)param_1 + local_18[0] * 4) = 0;
  return;
}

