
/* void std::__facet_shims::__messages_get<wchar_t>(std::integral_constant<bool, true>,
   std::locale::facet const*, std::__facet_shims::__any_string&, int, int, int, wchar_t const*,
   unsigned long) */

void std::__facet_shims::__messages_get<wchar_t>
               (long *param_1,long *param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5
               ,long param_6,long param_7)

{
  undefined1 *local_78 [2];
  undefined1 local_68 [16];
  undefined1 *local_58;
  long local_50;
  undefined1 auStack_48 [24];
  
  local_78[0] = local_68;
  std::wstring::_M_construct<wchar_t_const*>(local_78,param_6,param_6 + param_7 * 4);
                    /* try { // try from 002da6b1 to 002da6b3 has its CatchHandler @ 002da720 */
  (**(code **)(*param_1 + 0x18))(&local_58,param_1,param_3,param_4,param_5,local_78);
  if ((code *)param_2[4] != (code *)0x0) {
                    /* try { // try from 002da6c0 to 002da6df has its CatchHandler @ 002da725 */
    (*(code *)param_2[4])(param_2);
  }
  *param_2 = (long)(param_2 + 2);
  std::wstring::_M_construct<wchar_t*>(param_2,local_58,local_58 + local_50 * 4);
  param_2[4] = (long)(anonymous_namespace)::__destroy_string<wchar_t>;
  if (local_58 != auStack_48) {
    operator_delete(local_58);
  }
  if (local_78[0] != local_68) {
    operator_delete(local_78[0]);
  }
  return;
}



void FUN_002da650(long *param_1,long *param_2,undefined4 param_3,undefined4 param_4,
                 undefined4 param_5,long param_6,long param_7)

{
  undefined1 *local_78 [2];
  undefined1 local_68 [16];
  undefined1 *local_58;
  long local_50;
  undefined1 auStack_48 [24];
  
  local_78[0] = local_68;
  FUN_002a8fc0(local_78,param_6,param_6 + param_7 * 4);
                    /* try { // try from 002da6b1 to 002da6b3 has its CatchHandler @ 002da720 */
  (**(code **)(*param_1 + 0x18))(&local_58,param_1,param_3,param_4,param_5,local_78);
  if ((code *)param_2[4] != (code *)0x0) {
                    /* try { // try from 002da6c0 to 002da6df has its CatchHandler @ 002da725 */
    (*(code *)param_2[4])(param_2);
  }
  *param_2 = (long)(param_2 + 2);
  FUN_002a8e80(param_2,local_58,local_58 + local_50 * 4);
  param_2[4] = (long)FUN_002d7f90;
  if (local_58 != auStack_48) {
    FUN_002a2980();
  }
  if (local_78[0] != local_68) {
    FUN_002a2980();
  }
  return;
}


PUSH R15
MOV R15D,ECX
PUSH R14
MOV R14D,EDX
PUSH R13
MOV R13,RDI
PUSH R12
PUSH RBP
MOV RBP,RSI
MOV RSI,R9
PUSH RBX
SUB RSP,0x58
LEA RBX,[RSP + 0x10]
MOV dword ptr [RSP + 0xc],R8D
LEA R12,[RSP + 0x30]
LEA RAX,[RBX + 0x10]
MOV RDI,RBX
MOV qword ptr [RSP + 0x10],RAX
MOV RAX,qword ptr [RSP + 0x90]
LEA RDX,[R9 + RAX*0x4]
CALL 0x002a8fc0
MOV RAX,qword ptr [R13]
MOV R9,RBX
MOV ECX,R15D
MOV R8D,dword ptr [RSP + 0xc]
MOV EDX,R14D
MOV RSI,R13
MOV RDI,R12
CALL qword ptr [RAX + 0x18]
MOV RAX,qword ptr [RBP + 0x20]
TEST RAX,RAX
JZ 0x002da6c2
MOV RDI,RBP
CALL RAX
LEA RAX,[RBP + 0x10]
MOV RSI,qword ptr [RSP + 0x30]
MOV RDI,RBP
MOV qword ptr [RBP],RAX
MOV RAX,qword ptr [RSP + 0x38]
LEA RDX,[RSI + RAX*0x4]
CALL 0x002a8e80
MOV RDI,qword ptr [RSP + 0x30]
LEA RAX,[0x2d7f90]
ADD R12,0x10
MOV qword ptr [RBP + 0x20],RAX
CMP RDI,R12
JZ 0x002da6fe
CALL 0x002a2980
MOV RDI,qword ptr [RSP + 0x10]
ADD RBX,0x10
CMP RDI,RBX
JZ 0x002da711
CALL 0x002a2980
ADD RSP,0x58
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
(translation_unit "void FUN_002da650(long *param_1,long *param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,long param_6,long param_7)\n\n{\n  undefined1 *local_78 [2];\n  undefined1 local_68 [16];\n  undefined1 *local_58;\n  long local_50;\n  undefined1 auStack_48 [24];\n  \n  local_78[0] = local_68;\n  FUN_002a8fc0(local_78,param_6,param_6 + param_7 * 4);\n                    /* try { // try from 002da6b1 to 002da6b3 has its CatchHandler @ 002da720 */\n  (**(code **)(*param_1 + 0x18))(&local_58,param_1,param_3,param_4,param_5,local_78);\n  if ((code *)param_2[4] != (code *)0x0) {\n                    /* try { // try from 002da6c0 to 002da6df has its CatchHandler @ 002da725 */\n    (*(code *)param_2[4])(param_2);\n  }\n  *param_2 = (long)(param_2 + 2);\n  FUN_002a8e80(param_2,local_58,local_58 + local_50 * 4);\n  param_2[4] = (long)FUN_002d7f90;\n  if (local_58 != auStack_48) {\n    FUN_002a2980();\n  }\n  if (local_78[0] != local_68) {\n    FUN_002a2980();\n  }\n  return;\n}\n\n" (function_definition "void FUN_002da650(long *param_1,long *param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,long param_6,long param_7)\n\n{\n  undefined1 *local_78 [2];\n  undefined1 local_68 [16];\n  undefined1 *local_58;\n  long local_50;\n  undefined1 auStack_48 [24];\n  \n  local_78[0] = local_68;\n  FUN_002a8fc0(local_78,param_6,param_6 + param_7 * 4);\n                    /* try { // try from 002da6b1 to 002da6b3 has its CatchHandler @ 002da720 */\n  (**(code **)(*param_1 + 0x18))(&local_58,param_1,param_3,param_4,param_5,local_78);\n  if ((code *)param_2[4] != (code *)0x0) {\n                    /* try { // try from 002da6c0 to 002da6df has its CatchHandler @ 002da725 */\n    (*(code *)param_2[4])(param_2);\n  }\n  *param_2 = (long)(param_2 + 2);\n  FUN_002a8e80(param_2,local_58,local_58 + local_50 * 4);\n  param_2[4] = (long)FUN_002d7f90;\n  if (local_58 != auStack_48) {\n    FUN_002a2980();\n  }\n  if (local_78[0] != local_68) {\n    FUN_002a2980();\n  }\n  return;\n}" primitive_type (function_declarator "FUN_002da650(long *param_1,long *param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,long param_6,long param_7)" identifier (parameter_list "(long *param_1,long *param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,long param_6,long param_7)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "long param_6" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_7" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  undefined1 *local_78 [2];\n  undefined1 local_68 [16];\n  undefined1 *local_58;\n  long local_50;\n  undefined1 auStack_48 [24];\n  \n  local_78[0] = local_68;\n  FUN_002a8fc0(local_78,param_6,param_6 + param_7 * 4);\n                    /* try { // try from 002da6b1 to 002da6b3 has its CatchHandler @ 002da720 */\n  (**(code **)(*param_1 + 0x18))(&local_58,param_1,param_3,param_4,param_5,local_78);\n  if ((code *)param_2[4] != (code *)0x0) {\n                    /* try { // try from 002da6c0 to 002da6df has its CatchHandler @ 002da725 */\n    (*(code *)param_2[4])(param_2);\n  }\n  *param_2 = (long)(param_2 + 2);\n  FUN_002a8e80(param_2,local_58,local_58 + local_50 * 4);\n  param_2[4] = (long)FUN_002d7f90;\n  if (local_58 != auStack_48) {\n    FUN_002a2980();\n  }\n  if (local_78[0] != local_68) {\n    FUN_002a2980();\n  }\n  return;\n}" { (declaration "undefined1 *local_78 [2];" type_identifier (pointer_declarator "*local_78 [2]" * (array_declarator "local_78 [2]" identifier [ number_literal ])) ;) (declaration "undefined1 local_68 [16];" type_identifier (array_declarator "local_68 [16]" identifier [ number_literal ]) ;) (declaration "undefined1 *local_58;" type_identifier (pointer_declarator "*local_58" * identifier) ;) (declaration "long local_50;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined1 auStack_48 [24];" type_identifier (array_declarator "auStack_48 [24]" identifier [ number_literal ]) ;) (expression_statement "local_78[0] = local_68;" (assignment_expression "local_78[0] = local_68" (subscript_expression "local_78[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_002a8fc0(local_78,param_6,param_6 + param_7 * 4);" (call_expression "FUN_002a8fc0(local_78,param_6,param_6 + param_7 * 4)" identifier (argument_list "(local_78,param_6,param_6 + param_7 * 4)" ( identifier , identifier , (binary_expression "param_6 + param_7 * 4" identifier + (binary_expression "param_7 * 4" identifier * number_literal)) ))) ;) comment (expression_statement "(**(code **)(*param_1 + 0x18))(&local_58,param_1,param_3,param_4,param_5,local_78);" (call_expression "(**(code **)(*param_1 + 0x18))(&local_58,param_1,param_3,param_4,param_5,local_78)" (parenthesized_expression "(**(code **)(*param_1 + 0x18))" ( (pointer_expression "**(code **)(*param_1 + 0x18)" * (pointer_expression "*(code **)(*param_1 + 0x18)" * (cast_expression "(code **)(*param_1 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x18)" ( (binary_expression "*param_1 + 0x18" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(&local_58,param_1,param_3,param_4,param_5,local_78)" ( (pointer_expression "&local_58" & identifier) , identifier , identifier , identifier , identifier , identifier ))) ;) (if_statement "if ((code *)param_2[4] != (code *)0x0) {\n                    /* try { // try from 002da6c0 to 002da6df has its CatchHandler @ 002da725 */\n    (*(code *)param_2[4])(param_2);\n  }" if (parenthesized_expression "((code *)param_2[4] != (code *)0x0)" ( (binary_expression "(code *)param_2[4] != (code *)0x0" (cast_expression "(code *)param_2[4]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[4]" identifier [ number_literal ])) != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* try { // try from 002da6c0 to 002da6df has its CatchHandler @ 002da725 */\n    (*(code *)param_2[4])(param_2);\n  }" { comment (expression_statement "(*(code *)param_2[4])(param_2);" (call_expression "(*(code *)param_2[4])(param_2)" (parenthesized_expression "(*(code *)param_2[4])" ( (pointer_expression "*(code *)param_2[4]" * (cast_expression "(code *)param_2[4]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[4]" identifier [ number_literal ]))) )) (argument_list "(param_2)" ( identifier ))) ;) })) (expression_statement "*param_2 = (long)(param_2 + 2);" (assignment_expression "*param_2 = (long)(param_2 + 2)" (pointer_expression "*param_2" * identifier) = (cast_expression "(long)(param_2 + 2)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(param_2 + 2)" ( (binary_expression "param_2 + 2" identifier + number_literal) )))) ;) (expression_statement "FUN_002a8e80(param_2,local_58,local_58 + local_50 * 4);" (call_expression "FUN_002a8e80(param_2,local_58,local_58 + local_50 * 4)" identifier (argument_list "(param_2,local_58,local_58 + local_50 * 4)" ( identifier , identifier , (binary_expression "local_58 + local_50 * 4" identifier + (binary_expression "local_50 * 4" identifier * number_literal)) ))) ;) (expression_statement "param_2[4] = (long)FUN_002d7f90;" (assignment_expression "param_2[4] = (long)FUN_002d7f90" (subscript_expression "param_2[4]" identifier [ number_literal ]) = (cast_expression "(long)FUN_002d7f90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (if_statement "if (local_58 != auStack_48) {\n    FUN_002a2980();\n  }" if (parenthesized_expression "(local_58 != auStack_48)" ( (binary_expression "local_58 != auStack_48" identifier != identifier) )) (compound_statement "{\n    FUN_002a2980();\n  }" { (expression_statement "FUN_002a2980();" (call_expression "FUN_002a2980()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (local_78[0] != local_68) {\n    FUN_002a2980();\n  }" if (parenthesized_expression "(local_78[0] != local_68)" ( (binary_expression "local_78[0] != local_68" (subscript_expression "local_78[0]" identifier [ number_literal ]) != identifier) )) (compound_statement "{\n    FUN_002a2980();\n  }" { (expression_statement "FUN_002a2980();" (call_expression "FUN_002a2980()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* void std::__facet_shims::__messages_get<wchar_t>(std::integral_constant<bool, true>,\n   std::locale::facet const*, std::__facet_shims::__any_string&, int, int, int, wchar_t const*,\n   unsigned long) */\n\nvoid std::__facet_shims::__messages_get<wchar_t>\n               (long *param_1,long *param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5\n               ,long param_6,long param_7)\n\n{\n  undefined1 *local_78 [2];\n  undefined1 local_68 [16];\n  undefined1 *local_58;\n  long local_50;\n  undefined1 auStack_48 [24];\n  \n  local_78[0] = local_68;\n  std::wstring::_M_construct<wchar_t_const*>(local_78,param_6,param_6 + param_7 * 4);\n                    /* try { // try from 002da6b1 to 002da6b3 has its CatchHandler @ 002da720 */\n  (**(code **)(*param_1 + 0x18))(&local_58,param_1,param_3,param_4,param_5,local_78);\n  if ((code *)param_2[4] != (code *)0x0) {\n                    /* try { // try from 002da6c0 to 002da6df has its CatchHandler @ 002da725 */\n    (*(code *)param_2[4])(param_2);\n  }\n  *param_2 = (long)(param_2 + 2);\n  std::wstring::_M_construct<wchar_t*>(param_2,local_58,local_58 + local_50 * 4);\n  param_2[4] = (long)(anonymous_namespace)::__destroy_string<wchar_t>;\n  if (local_58 != auStack_48) {\n    operator_delete(local_58);\n  }\n  if (local_78[0] != local_68) {\n    operator_delete(local_78[0]);\n  }\n  return;\n}\n\n" comment (function_definition "void std::__facet_shims::__messages_get<wchar_t>\n               (long *param_1,long *param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5\n               ,long param_6,long param_7)\n\n{\n  undefined1 *local_78 [2];\n  undefined1 local_68 [16];\n  undefined1 *local_58;\n  long local_50;\n  undefined1 auStack_48 [24];\n  \n  local_78[0] = local_68;\n  std::wstring::_M_construct<wchar_t_const*>(local_78,param_6,param_6 + param_7 * 4);\n                    /* try { // try from 002da6b1 to 002da6b3 has its CatchHandler @ 002da720 */\n  (**(code **)(*param_1 + 0x18))(&local_58,param_1,param_3,param_4,param_5,local_78);\n  if ((code *)param_2[4] != (code *)0x0) {\n                    /* try { // try from 002da6c0 to 002da6df has its CatchHandler @ 002da725 */\n    (*(code *)param_2[4])(param_2);\n  }\n  *param_2 = (long)(param_2 + 2);\n  std::wstring::_M_construct<wchar_t*>(param_2,local_58,local_58 + local_50 * 4);\n  param_2[4] = (long)(anonymous_namespace)::__destroy_string<wchar_t>;\n  if (local_58 != auStack_48) {\n    operator_delete(local_58);\n  }\n  if (local_78[0] != local_68) {\n    operator_delete(local_78[0]);\n  }\n  return;\n}" primitive_type (ERROR "std::__facet_shims::__messages_get<" identifier : : identifier : : identifier <) (function_declarator "wchar_t>\n               (long *param_1,long *param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5\n               ,long param_6,long param_7)" identifier (ERROR ">" >) (parameter_list "(long *param_1,long *param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5\n               ,long param_6,long param_7)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "long param_6" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_7" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  undefined1 *local_78 [2];\n  undefined1 local_68 [16];\n  undefined1 *local_58;\n  long local_50;\n  undefined1 auStack_48 [24];\n  \n  local_78[0] = local_68;\n  std::wstring::_M_construct<wchar_t_const*>(local_78,param_6,param_6 + param_7 * 4);\n                    /* try { // try from 002da6b1 to 002da6b3 has its CatchHandler @ 002da720 */\n  (**(code **)(*param_1 + 0x18))(&local_58,param_1,param_3,param_4,param_5,local_78);\n  if ((code *)param_2[4] != (code *)0x0) {\n                    /* try { // try from 002da6c0 to 002da6df has its CatchHandler @ 002da725 */\n    (*(code *)param_2[4])(param_2);\n  }\n  *param_2 = (long)(param_2 + 2);\n  std::wstring::_M_construct<wchar_t*>(param_2,local_58,local_58 + local_50 * 4);\n  param_2[4] = (long)(anonymous_namespace)::__destroy_string<wchar_t>;\n  if (local_58 != auStack_48) {\n    operator_delete(local_58);\n  }\n  if (local_78[0] != local_68) {\n    operator_delete(local_78[0]);\n  }\n  return;\n}" { (declaration "undefined1 *local_78 [2];" type_identifier (pointer_declarator "*local_78 [2]" * (array_declarator "local_78 [2]" identifier [ number_literal ])) ;) (declaration "undefined1 local_68 [16];" type_identifier (array_declarator "local_68 [16]" identifier [ number_literal ]) ;) (declaration "undefined1 *local_58;" type_identifier (pointer_declarator "*local_58" * identifier) ;) (declaration "long local_50;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined1 auStack_48 [24];" type_identifier (array_declarator "auStack_48 [24]" identifier [ number_literal ]) ;) (expression_statement "local_78[0] = local_68;" (assignment_expression "local_78[0] = local_68" (subscript_expression "local_78[0]" identifier [ number_literal ]) = identifier) ;) (labeled_statement "std::wstring::_M_construct<wchar_t_const*>(local_78,param_6,param_6 + param_7 * 4);" statement_identifier : (ERROR ":" :) (labeled_statement "wstring::_M_construct<wchar_t_const*>(local_78,param_6,param_6 + param_7 * 4);" statement_identifier : (ERROR ":" :) (expression_statement "_M_construct<wchar_t_const*>(local_78,param_6,param_6 + param_7 * 4);" (binary_expression "_M_construct<wchar_t_const*>(local_78,param_6,param_6 + param_7 * 4)" (binary_expression "_M_construct<wchar_t_const" identifier < identifier) (ERROR "*" *) > (parenthesized_expression "(local_78,param_6,param_6 + param_7 * 4)" ( (comma_expression "local_78,param_6,param_6 + param_7 * 4" identifier , (comma_expression "param_6,param_6 + param_7 * 4" identifier , (binary_expression "param_6 + param_7 * 4" identifier + (binary_expression "param_7 * 4" identifier * number_literal)))) ))) ;))) comment (expression_statement "(**(code **)(*param_1 + 0x18))(&local_58,param_1,param_3,param_4,param_5,local_78);" (call_expression "(**(code **)(*param_1 + 0x18))(&local_58,param_1,param_3,param_4,param_5,local_78)" (parenthesized_expression "(**(code **)(*param_1 + 0x18))" ( (pointer_expression "**(code **)(*param_1 + 0x18)" * (pointer_expression "*(code **)(*param_1 + 0x18)" * (cast_expression "(code **)(*param_1 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x18)" ( (binary_expression "*param_1 + 0x18" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(&local_58,param_1,param_3,param_4,param_5,local_78)" ( (pointer_expression "&local_58" & identifier) , identifier , identifier , identifier , identifier , identifier ))) ;) (if_statement "if ((code *)param_2[4] != (code *)0x0) {\n                    /* try { // try from 002da6c0 to 002da6df has its CatchHandler @ 002da725 */\n    (*(code *)param_2[4])(param_2);\n  }" if (parenthesized_expression "((code *)param_2[4] != (code *)0x0)" ( (binary_expression "(code *)param_2[4] != (code *)0x0" (cast_expression "(code *)param_2[4]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[4]" identifier [ number_literal ])) != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* try { // try from 002da6c0 to 002da6df has its CatchHandler @ 002da725 */\n    (*(code *)param_2[4])(param_2);\n  }" { comment (expression_statement "(*(code *)param_2[4])(param_2);" (call_expression "(*(code *)param_2[4])(param_2)" (parenthesized_expression "(*(code *)param_2[4])" ( (pointer_expression "*(code *)param_2[4]" * (cast_expression "(code *)param_2[4]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[4]" identifier [ number_literal ]))) )) (argument_list "(param_2)" ( identifier ))) ;) })) (expression_statement "*param_2 = (long)(param_2 + 2);" (assignment_expression "*param_2 = (long)(param_2 + 2)" (pointer_expression "*param_2" * identifier) = (cast_expression "(long)(param_2 + 2)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(param_2 + 2)" ( (binary_expression "param_2 + 2" identifier + number_literal) )))) ;) (labeled_statement "std::wstring::_M_construct<wchar_t*>(param_2,local_58,local_58 + local_50 * 4);" statement_identifier : (ERROR ":" :) (labeled_statement "wstring::_M_construct<wchar_t*>(param_2,local_58,local_58 + local_50 * 4);" statement_identifier : (ERROR ":" :) (expression_statement "_M_construct<wchar_t*>(param_2,local_58,local_58 + local_50 * 4);" (binary_expression "_M_construct<wchar_t*>(param_2,local_58,local_58 + local_50 * 4)" (binary_expression "_M_construct<wchar_t" identifier < identifier) (ERROR "*" *) > (parenthesized_expression "(param_2,local_58,local_58 + local_50 * 4)" ( (comma_expression "param_2,local_58,local_58 + local_50 * 4" identifier , (comma_expression "local_58,local_58 + local_50 * 4" identifier , (binary_expression "local_58 + local_50 * 4" identifier + (binary_expression "local_50 * 4" identifier * number_literal)))) ))) ;))) (expression_statement "param_2[4] = (long)(anonymous_namespace)::__destroy_string<wchar_t>;" (binary_expression "param_2[4] = (long)(anonymous_namespace)::__destroy_string<wchar_t>" (binary_expression "param_2[4] = (long)(anonymous_namespace)::__destroy_string<wchar_t" (assignment_expression "param_2[4] = (long)(anonymous_namespace)" (subscript_expression "param_2[4]" identifier [ number_literal ]) = (cast_expression "(long)(anonymous_namespace)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(anonymous_namespace)" ( identifier )))) (ERROR "::__destroy_string" : : identifier) < identifier) > identifier) ;) (if_statement "if (local_58 != auStack_48) {\n    operator_delete(local_58);\n  }" if (parenthesized_expression "(local_58 != auStack_48)" ( (binary_expression "local_58 != auStack_48" identifier != identifier) )) (compound_statement "{\n    operator_delete(local_58);\n  }" { (expression_statement "operator_delete(local_58);" (call_expression "operator_delete(local_58)" identifier (argument_list "(local_58)" ( identifier ))) ;) })) (if_statement "if (local_78[0] != local_68) {\n    operator_delete(local_78[0]);\n  }" if (parenthesized_expression "(local_78[0] != local_68)" ( (binary_expression "local_78[0] != local_68" (subscript_expression "local_78[0]" identifier [ number_literal ]) != identifier) )) (compound_statement "{\n    operator_delete(local_78[0]);\n  }" { (expression_statement "operator_delete(local_78[0]);" (call_expression "operator_delete(local_78[0])" identifier (argument_list "(local_78[0])" ( (subscript_expression "local_78[0]" identifier [ number_literal ]) ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_002da650(long *param_1,long *param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,long param_6,long param_7)\n\n{\n  undefined1 *local_78 [2];\n  undefined1 local_68 [16];\n  undefined1 *local_58;\n  long local_50;\n  undefined1 auStack_48 [24];\n  \n  local_78[0] = local_68;\n  FUN_002a8fc0(local_78,param_6,param_6 + param_7 * 4);\n                    \n  (**(code **)(*param_1 + 0x18))(&local_58,param_1,param_3,param_4,param_5,local_78);\n  if ((code *)param_2[4] != (code *)0x0) {\n                    \n    (*(code *)param_2[4])(param_2);\n  }\n  *param_2 = (long)(param_2 + 2);\n  FUN_002a8e80(param_2,local_58,local_58 + local_50 * 4);\n  param_2[4] = (long)FUN_002d7f90;\n  if (local_58 != auStack_48) {\n    FUN_002a2980();\n  }\n  if (local_78[0] != local_68) {\n    FUN_002a2980();\n  }\n  return;\n}\n\n" (function_definition "void FUN_002da650(long *param_1,long *param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,long param_6,long param_7)\n\n{\n  undefined1 *local_78 [2];\n  undefined1 local_68 [16];\n  undefined1 *local_58;\n  long local_50;\n  undefined1 auStack_48 [24];\n  \n  local_78[0] = local_68;\n  FUN_002a8fc0(local_78,param_6,param_6 + param_7 * 4);\n                    \n  (**(code **)(*param_1 + 0x18))(&local_58,param_1,param_3,param_4,param_5,local_78);\n  if ((code *)param_2[4] != (code *)0x0) {\n                    \n    (*(code *)param_2[4])(param_2);\n  }\n  *param_2 = (long)(param_2 + 2);\n  FUN_002a8e80(param_2,local_58,local_58 + local_50 * 4);\n  param_2[4] = (long)FUN_002d7f90;\n  if (local_58 != auStack_48) {\n    FUN_002a2980();\n  }\n  if (local_78[0] != local_68) {\n    FUN_002a2980();\n  }\n  return;\n}" primitive_type (function_declarator "FUN_002da650(long *param_1,long *param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,long param_6,long param_7)" identifier (parameter_list "(long *param_1,long *param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,long param_6,long param_7)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "long param_6" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_7" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  undefined1 *local_78 [2];\n  undefined1 local_68 [16];\n  undefined1 *local_58;\n  long local_50;\n  undefined1 auStack_48 [24];\n  \n  local_78[0] = local_68;\n  FUN_002a8fc0(local_78,param_6,param_6 + param_7 * 4);\n                    \n  (**(code **)(*param_1 + 0x18))(&local_58,param_1,param_3,param_4,param_5,local_78);\n  if ((code *)param_2[4] != (code *)0x0) {\n                    \n    (*(code *)param_2[4])(param_2);\n  }\n  *param_2 = (long)(param_2 + 2);\n  FUN_002a8e80(param_2,local_58,local_58 + local_50 * 4);\n  param_2[4] = (long)FUN_002d7f90;\n  if (local_58 != auStack_48) {\n    FUN_002a2980();\n  }\n  if (local_78[0] != local_68) {\n    FUN_002a2980();\n  }\n  return;\n}" { (declaration "undefined1 *local_78 [2];" type_identifier (pointer_declarator "*local_78 [2]" * (array_declarator "local_78 [2]" identifier [ number_literal ])) ;) (declaration "undefined1 local_68 [16];" type_identifier (array_declarator "local_68 [16]" identifier [ number_literal ]) ;) (declaration "undefined1 *local_58;" type_identifier (pointer_declarator "*local_58" * identifier) ;) (declaration "long local_50;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined1 auStack_48 [24];" type_identifier (array_declarator "auStack_48 [24]" identifier [ number_literal ]) ;) (expression_statement "local_78[0] = local_68;" (assignment_expression "local_78[0] = local_68" (subscript_expression "local_78[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_002a8fc0(local_78,param_6,param_6 + param_7 * 4);" (call_expression "FUN_002a8fc0(local_78,param_6,param_6 + param_7 * 4)" identifier (argument_list "(local_78,param_6,param_6 + param_7 * 4)" ( identifier , identifier , (binary_expression "param_6 + param_7 * 4" identifier + (binary_expression "param_7 * 4" identifier * number_literal)) ))) ;) (expression_statement "(**(code **)(*param_1 + 0x18))(&local_58,param_1,param_3,param_4,param_5,local_78);" (call_expression "(**(code **)(*param_1 + 0x18))(&local_58,param_1,param_3,param_4,param_5,local_78)" (parenthesized_expression "(**(code **)(*param_1 + 0x18))" ( (pointer_expression "**(code **)(*param_1 + 0x18)" * (pointer_expression "*(code **)(*param_1 + 0x18)" * (cast_expression "(code **)(*param_1 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x18)" ( (binary_expression "*param_1 + 0x18" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(&local_58,param_1,param_3,param_4,param_5,local_78)" ( (pointer_expression "&local_58" & identifier) , identifier , identifier , identifier , identifier , identifier ))) ;) (if_statement "if ((code *)param_2[4] != (code *)0x0) {\n                    \n    (*(code *)param_2[4])(param_2);\n  }" if (parenthesized_expression "((code *)param_2[4] != (code *)0x0)" ( (binary_expression "(code *)param_2[4] != (code *)0x0" (cast_expression "(code *)param_2[4]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[4]" identifier [ number_literal ])) != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n    (*(code *)param_2[4])(param_2);\n  }" { (expression_statement "(*(code *)param_2[4])(param_2);" (call_expression "(*(code *)param_2[4])(param_2)" (parenthesized_expression "(*(code *)param_2[4])" ( (pointer_expression "*(code *)param_2[4]" * (cast_expression "(code *)param_2[4]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[4]" identifier [ number_literal ]))) )) (argument_list "(param_2)" ( identifier ))) ;) })) (expression_statement "*param_2 = (long)(param_2 + 2);" (assignment_expression "*param_2 = (long)(param_2 + 2)" (pointer_expression "*param_2" * identifier) = (cast_expression "(long)(param_2 + 2)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(param_2 + 2)" ( (binary_expression "param_2 + 2" identifier + number_literal) )))) ;) (expression_statement "FUN_002a8e80(param_2,local_58,local_58 + local_50 * 4);" (call_expression "FUN_002a8e80(param_2,local_58,local_58 + local_50 * 4)" identifier (argument_list "(param_2,local_58,local_58 + local_50 * 4)" ( identifier , identifier , (binary_expression "local_58 + local_50 * 4" identifier + (binary_expression "local_50 * 4" identifier * number_literal)) ))) ;) (expression_statement "param_2[4] = (long)FUN_002d7f90;" (assignment_expression "param_2[4] = (long)FUN_002d7f90" (subscript_expression "param_2[4]" identifier [ number_literal ]) = (cast_expression "(long)FUN_002d7f90" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (if_statement "if (local_58 != auStack_48) {\n    FUN_002a2980();\n  }" if (parenthesized_expression "(local_58 != auStack_48)" ( (binary_expression "local_58 != auStack_48" identifier != identifier) )) (compound_statement "{\n    FUN_002a2980();\n  }" { (expression_statement "FUN_002a2980();" (call_expression "FUN_002a2980()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (local_78[0] != local_68) {\n    FUN_002a2980();\n  }" if (parenthesized_expression "(local_78[0] != local_68)" ( (binary_expression "local_78[0] != local_68" (subscript_expression "local_78[0]" identifier [ number_literal ]) != identifier) )) (compound_statement "{\n    FUN_002a2980();\n  }" { (expression_statement "FUN_002a2980();" (call_expression "FUN_002a2980()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * (array_declarator IDENT [ LIT ])) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression IDENT + (binary_expression IDENT * 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 (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT , IDENT , IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression IDENT + (binary_expression IDENT * LIT)) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_002da650(long *param_1,long *param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,long param_6,long param_7)\n\n{\n  undefined1 *local_78 [2];\n  undefined1 local_68 [16];\n  undefined1 *local_58;\n  long local_50;\n  undefined1 auStack_48 [24];\n  \n  local_78[0] = local_68;\n  FUN_002a8fc0(local_78,param_6,param_6 + param_7 * 4);\n                    \n  (**(code **)(*param_1 + 0x18))(&local_58,param_1,param_3,param_4,param_5,local_78);\n  if ((code *)param_2[4] != (code *)0x0) {\n                    \n    (*(code *)param_2[4])(param_2);\n  }\n  *param_2 = (long)(param_2 + 2);\n  FUN_002a8e80(param_2,local_58,local_58 + local_50 * 4);\n  param_2[4] = (long)FUN_002d7f90;\n  if (local_58 != auStack_48) {\n    FUN_002a2980();\n  }\n  if (local_78[0] != local_68) {\n    FUN_002a2980();\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002da650(long *param_1,long *param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,long param_6,long param_7)" (identifier "FUN_002da650") (parameter_list "(long *param_1,long *param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,long param_6,long param_7)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "long *param_2" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "long param_6" (sized_type_specifier "long" (long "long")) (identifier "param_6")) (, ",") (parameter_declaration "long param_7" (sized_type_specifier "long" (long "long")) (identifier "param_7")) () ")"))) (compound_statement "{\n  undefined1 *local_78 [2];\n  undefined1 local_68 [16];\n  undefined1 *local_58;\n  long local_50;\n  undefined1 auStack_48 [24];\n  \n  local_78[0] = local_68;\n  FUN_002a8fc0(local_78,param_6,param_6 + param_7 * 4);\n                    \n  (**(code **)(*param_1 + 0x18))(&local_58,param_1,param_3,param_4,param_5,local_78);\n  if ((code *)param_2[4] != (code *)0x0) {\n                    \n    (*(code *)param_2[4])(param_2);\n  }\n  *param_2 = (long)(param_2 + 2);\n  FUN_002a8e80(param_2,local_58,local_58 + local_50 * 4);\n  param_2[4] = (long)FUN_002d7f90;\n  if (local_58 != auStack_48) {\n    FUN_002a2980();\n  }\n  if (local_78[0] != local_68) {\n    FUN_002a2980();\n  }\n  return;\n}" ({ "{") (declaration "undefined1 *local_78 [2];" (type_identifier "undefined1") (pointer_declarator "*local_78 [2]" (* "*") (array_declarator "local_78 [2]" (identifier "local_78") ([ "[") (number_literal "2") (] "]"))) (; ";")) (declaration "undefined1 local_68 [16];" (type_identifier "undefined1") (array_declarator "local_68 [16]" (identifier "local_68") ([ "[") (number_literal "16") (] "]")) (; ";")) (declaration "undefined1 *local_58;" (type_identifier "undefined1") (pointer_declarator "*local_58" (* "*") (identifier "local_58")) (; ";")) (declaration "long local_50;" (sized_type_specifier "long" (long "long")) (identifier "local_50") (; ";")) (declaration "undefined1 auStack_48 [24];" (type_identifier "undefined1") (array_declarator "auStack_48 [24]" (identifier "auStack_48") ([ "[") (number_literal "24") (] "]")) (; ";")) (expression_statement "local_78[0] = local_68;" (assignment_expression "local_78[0] = local_68" (subscript_expression "local_78[0]" (identifier "local_78") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "local_68")) (; ";")) (expression_statement "FUN_002a8fc0(local_78,param_6,param_6 + param_7 * 4);" (call_expression "FUN_002a8fc0(local_78,param_6,param_6 + param_7 * 4)" (identifier "FUN_002a8fc0") (argument_list "(local_78,param_6,param_6 + param_7 * 4)" (( "(") (identifier "local_78") (, ",") (identifier "param_6") (, ",") (binary_expression "param_6 + param_7 * 4" (identifier "param_6") (+ "+") (binary_expression "param_7 * 4" (identifier "param_7") (* "*") (number_literal "4"))) () ")"))) (; ";")) (expression_statement "(**(code **)(*param_1 + 0x18))(&local_58,param_1,param_3,param_4,param_5,local_78);" (call_expression "(**(code **)(*param_1 + 0x18))(&local_58,param_1,param_3,param_4,param_5,local_78)" (parenthesized_expression "(**(code **)(*param_1 + 0x18))" (( "(") (pointer_expression "**(code **)(*param_1 + 0x18)" (* "*") (pointer_expression "*(code **)(*param_1 + 0x18)" (* "*") (cast_expression "(code **)(*param_1 + 0x18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0x18)" (( "(") (binary_expression "*param_1 + 0x18" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (argument_list "(&local_58,param_1,param_3,param_4,param_5,local_78)" (( "(") (pointer_expression "&local_58" (& "&") (identifier "local_58")) (, ",") (identifier "param_1") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "local_78") () ")"))) (; ";")) (if_statement "if ((code *)param_2[4] != (code *)0x0) {\n                    \n    (*(code *)param_2[4])(param_2);\n  }" (if "if") (parenthesized_expression "((code *)param_2[4] != (code *)0x0)" (( "(") (binary_expression "(code *)param_2[4] != (code *)0x0" (cast_expression "(code *)param_2[4]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]"))) (!= "!=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n    (*(code *)param_2[4])(param_2);\n  }" ({ "{") (expression_statement "(*(code *)param_2[4])(param_2);" (call_expression "(*(code *)param_2[4])(param_2)" (parenthesized_expression "(*(code *)param_2[4])" (( "(") (pointer_expression "*(code *)param_2[4]" (* "*") (cast_expression "(code *)param_2[4]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]")))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (expression_statement "*param_2 = (long)(param_2 + 2);" (assignment_expression "*param_2 = (long)(param_2 + 2)" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (cast_expression "(long)(param_2 + 2)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (parenthesized_expression "(param_2 + 2)" (( "(") (binary_expression "param_2 + 2" (identifier "param_2") (+ "+") (number_literal "2")) () ")")))) (; ";")) (expression_statement "FUN_002a8e80(param_2,local_58,local_58 + local_50 * 4);" (call_expression "FUN_002a8e80(param_2,local_58,local_58 + local_50 * 4)" (identifier "FUN_002a8e80") (argument_list "(param_2,local_58,local_58 + local_50 * 4)" (( "(") (identifier "param_2") (, ",") (identifier "local_58") (, ",") (binary_expression "local_58 + local_50 * 4" (identifier "local_58") (+ "+") (binary_expression "local_50 * 4" (identifier "local_50") (* "*") (number_literal "4"))) () ")"))) (; ";")) (expression_statement "param_2[4] = (long)FUN_002d7f90;" (assignment_expression "param_2[4] = (long)FUN_002d7f90" (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]")) (= "=") (cast_expression "(long)FUN_002d7f90" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "FUN_002d7f90"))) (; ";")) (if_statement "if (local_58 != auStack_48) {\n    FUN_002a2980();\n  }" (if "if") (parenthesized_expression "(local_58 != auStack_48)" (( "(") (binary_expression "local_58 != auStack_48" (identifier "local_58") (!= "!=") (identifier "auStack_48")) () ")")) (compound_statement "{\n    FUN_002a2980();\n  }" ({ "{") (expression_statement "FUN_002a2980();" (call_expression "FUN_002a2980()" (identifier "FUN_002a2980") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_78[0] != local_68) {\n    FUN_002a2980();\n  }" (if "if") (parenthesized_expression "(local_78[0] != local_68)" (( "(") (binary_expression "local_78[0] != local_68" (subscript_expression "local_78[0]" (identifier "local_78") ([ "[") (number_literal "0") (] "]")) (!= "!=") (identifier "local_68")) () ")")) (compound_statement "{\n    FUN_002a2980();\n  }" ({ "{") (expression_statement "FUN_002a2980();" (call_expression "FUN_002a2980()" (identifier "FUN_002a2980") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* void std::__facet_shims::__messages_get<wchar_t>(std::integral_constant<bool, true>,
   std::locale::facet const*, std::__facet_shims::__any_string&, int, int, int, wchar_t const*,
   unsigned long) */

void std::__facet_shims::__messages_get<function_1>
               (long *param_1,long *var_5,type_1 param_3,type_1 param_4,type_1 param_5
               ,long var_3,long var_4)

{
  type_2 *local_78 [2];
  type_2 var_11 [16];
  type_2 *var_6;
  long var_7;
  type_2 var_9 [24];
  
  local_78[0] = var_11;
  std::wstring::var_1<var_2*>(local_78,var_3,var_3 + var_4 * 4);
                    /* try { // try from 002da6b1 to 002da6b3 has its CatchHandler @ 002da720 */
  (**(type_3 **)(*param_1 + 0x18))(&var_6,param_1,param_3,param_4,param_5,local_78);
  if ((type_3 *)var_5[4] != (type_3 *)0x0) {
                    /* try { // try from 002da6c0 to 002da6df has its CatchHandler @ 002da725 */
    (*(type_3 *)var_5[4])(var_5);
  }
  *var_5 = (long)(var_5 + 2);
  std::wstring::var_1<function_1*>(var_5,var_6,var_6 + var_7 * 4);
  var_5[4] = (long)(anonymous_namespace)::__destroy_string<function_1>var_8;
  if (var_6 != var_9) {
    var_10(var_6);
  }
  if (local_78[0] != var_11) {
    var_10(local_78[0]);
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (array_declarator declarator: (identifier) size: (number_literal)))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (binary_expression left: (identifier) right: (binary_expression left: (identifier) 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: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (identifier) (identifier) (identifier) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) arguments: (argument_list (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (return_statement))))

void MASKED(long *param_1,long *param_2,undefined4 param_3,undefined4 param_4,
                 undefined4 param_5,long param_6,long param_7)

{
  undefined1 *local_78 [2];
  undefined1 local_68 [16];
  undefined1 *local_58;
  long local_50;
  undefined1 auStack_48 [24];
  
  local_78[0] = local_68;
  FUN_002a8fc0(local_78,param_6,param_6 + param_7 * 4);
                    /* try { // try from 002da6b1 to 002da6b3 has its CatchHandler @ 002da720 */
  (**(code **)(*param_1 + 0x18))(&local_58,param_1,param_3,param_4,param_5,local_78);
  if ((code *)param_2[4] != (code *)0x0) {
                    /* try { // try from 002da6c0 to 002da6df has its CatchHandler @ 002da725 */
    (*(code *)param_2[4])(param_2);
  }
  *param_2 = (long)(param_2 + 2);
  FUN_002a8e80(param_2,local_58,local_58 + local_50 * 4);
  param_2[4] = (long)FUN_002d7f90;
  if (local_58 != auStack_48) {
    FUN_002a2980();
  }
  if (local_78[0] != local_68) {
    FUN_002a2980();
  }
  return;
}

