
/* std::__facet_shims::(anonymous namespace)::collate_shim<char>::do_transform(char const*, char
   const*) const */

char * std::__facet_shims::(anonymous_namespace)::collate_shim<char>::do_transform
                 (char *param_1,char *param_2)

{
  allocator local_49;
  char *local_48;
  ulong local_40;
  code *local_28;
  
  local_28 = (code *)0x0;
                    /* try { // try from 00314a0e to 00314a31 has its CatchHandler @ 00314a57 */
  __collate_transform<char>(*(undefined8 *)(param_2 + 0x18),&local_48);
  if (local_28 != (code *)0x0) {
    std::string::string((string *)param_1,local_48,local_40,&local_49);
    if (local_28 != (code *)0x0) {
      (*local_28)(&local_48);
    }
    return param_1;
  }
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 00314a52 to 00314a56 has its CatchHandler @ 00314a57 */
  __throw_logic_error("uninitialized __any_string");
}



undefined8 FUN_003149f0(undefined8 param_1,long param_2)

{
  undefined1 local_49;
  undefined8 local_48;
  undefined8 local_40;
  code *local_28;
  
  local_28 = (code *)0x0;
                    /* try { // try from 00314a0e to 00314a31 has its CatchHandler @ 00314a57 */
  FUN_00311db0(*(undefined8 *)(param_2 + 0x18),&local_48);
  if (local_28 != (code *)0x0) {
    FUN_0030f2e0(param_1,local_48,local_40,&local_49);
    if (local_28 != (code *)0x0) {
      (*local_28)(&local_48);
    }
    return param_1;
  }
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 00314a52 to 00314a56 has its CatchHandler @ 00314a57 */
  FUN_003194e0("uninitialized __any_string");
}


PUSH RBP
PUSH RBX
MOV RBX,RDI
SUB RSP,0x48
MOV RDI,qword ptr [RSI + 0x18]
MOV qword ptr [RSP + 0x30],0x0
LEA RBP,[RSP + 0x10]
MOV RSI,RBP
CALL 0x00311db0
CMP qword ptr [RSP + 0x30],0x0
JZ 0x00314a4b
MOV RDX,qword ptr [RSP + 0x18]
MOV RSI,qword ptr [RSP + 0x10]
LEA RCX,[RSP + 0xf]
MOV RDI,RBX
CALL 0x0030f2e0
MOV RAX,qword ptr [RSP + 0x30]
TEST RAX,RAX
JZ 0x00314a41
MOV RDI,RBP
CALL RAX
ADD RSP,0x48
MOV RAX,RBX
POP RBX
POP RBP
RET
LEA RDI,[0x391f44]
CALL 0x003194e0
(translation_unit "undefined8 FUN_003149f0(undefined8 param_1,long param_2)\n\n{\n  undefined1 local_49;\n  undefined8 local_48;\n  undefined8 local_40;\n  code *local_28;\n  \n  local_28 = (code *)0x0;\n                    /* try { // try from 00314a0e to 00314a31 has its CatchHandler @ 00314a57 */\n  FUN_00311db0(*(undefined8 *)(param_2 + 0x18),&local_48);\n  if (local_28 != (code *)0x0) {\n    FUN_0030f2e0(param_1,local_48,local_40,&local_49);\n    if (local_28 != (code *)0x0) {\n      (*local_28)(&local_48);\n    }\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00314a52 to 00314a56 has its CatchHandler @ 00314a57 */\n  FUN_003194e0("uninitialized __any_string");\n}\n\n" (function_definition "undefined8 FUN_003149f0(undefined8 param_1,long param_2)\n\n{\n  undefined1 local_49;\n  undefined8 local_48;\n  undefined8 local_40;\n  code *local_28;\n  \n  local_28 = (code *)0x0;\n                    /* try { // try from 00314a0e to 00314a31 has its CatchHandler @ 00314a57 */\n  FUN_00311db0(*(undefined8 *)(param_2 + 0x18),&local_48);\n  if (local_28 != (code *)0x0) {\n    FUN_0030f2e0(param_1,local_48,local_40,&local_49);\n    if (local_28 != (code *)0x0) {\n      (*local_28)(&local_48);\n    }\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00314a52 to 00314a56 has its CatchHandler @ 00314a57 */\n  FUN_003194e0("uninitialized __any_string");\n}" type_identifier (function_declarator "FUN_003149f0(undefined8 param_1,long param_2)" identifier (parameter_list "(undefined8 param_1,long param_2)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  undefined1 local_49;\n  undefined8 local_48;\n  undefined8 local_40;\n  code *local_28;\n  \n  local_28 = (code *)0x0;\n                    /* try { // try from 00314a0e to 00314a31 has its CatchHandler @ 00314a57 */\n  FUN_00311db0(*(undefined8 *)(param_2 + 0x18),&local_48);\n  if (local_28 != (code *)0x0) {\n    FUN_0030f2e0(param_1,local_48,local_40,&local_49);\n    if (local_28 != (code *)0x0) {\n      (*local_28)(&local_48);\n    }\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00314a52 to 00314a56 has its CatchHandler @ 00314a57 */\n  FUN_003194e0("uninitialized __any_string");\n}" { (declaration "undefined1 local_49;" type_identifier identifier ;) (declaration "undefined8 local_48;" type_identifier identifier ;) (declaration "undefined8 local_40;" type_identifier identifier ;) (declaration "code *local_28;" type_identifier (pointer_declarator "*local_28" * identifier) ;) (expression_statement "local_28 = (code *)0x0;" (assignment_expression "local_28 = (code *)0x0" identifier = (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) comment (expression_statement "FUN_00311db0(*(undefined8 *)(param_2 + 0x18),&local_48);" (call_expression "FUN_00311db0(*(undefined8 *)(param_2 + 0x18),&local_48)" identifier (argument_list "(*(undefined8 *)(param_2 + 0x18),&local_48)" ( (pointer_expression "*(undefined8 *)(param_2 + 0x18)" * (cast_expression "(undefined8 *)(param_2 + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) , (pointer_expression "&local_48" & identifier) ))) ;) (if_statement "if (local_28 != (code *)0x0) {\n    FUN_0030f2e0(param_1,local_48,local_40,&local_49);\n    if (local_28 != (code *)0x0) {\n      (*local_28)(&local_48);\n    }\n    return param_1;\n  }" if (parenthesized_expression "(local_28 != (code *)0x0)" ( (binary_expression "local_28 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    FUN_0030f2e0(param_1,local_48,local_40,&local_49);\n    if (local_28 != (code *)0x0) {\n      (*local_28)(&local_48);\n    }\n    return param_1;\n  }" { (expression_statement "FUN_0030f2e0(param_1,local_48,local_40,&local_49);" (call_expression "FUN_0030f2e0(param_1,local_48,local_40,&local_49)" identifier (argument_list "(param_1,local_48,local_40,&local_49)" ( identifier , identifier , identifier , (pointer_expression "&local_49" & identifier) ))) ;) (if_statement "if (local_28 != (code *)0x0) {\n      (*local_28)(&local_48);\n    }" if (parenthesized_expression "(local_28 != (code *)0x0)" ( (binary_expression "local_28 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*local_28)(&local_48);\n    }" { (expression_statement "(*local_28)(&local_48);" (call_expression "(*local_28)(&local_48)" (parenthesized_expression "(*local_28)" ( (pointer_expression "*local_28" * identifier) )) (argument_list "(&local_48)" ( (pointer_expression "&local_48" & identifier) ))) ;) })) (return_statement "return param_1;" return identifier ;) })) comment comment (expression_statement "FUN_003194e0("uninitialized __any_string");" (call_expression "FUN_003194e0("uninitialized __any_string")" identifier (argument_list "("uninitialized __any_string")" ( (string_literal ""uninitialized __any_string"" " string_content ") ))) ;) })))
(translation_unit "/* std::__facet_shims::(anonymous namespace)::collate_shim<char>::do_transform(char const*, char\n   const*) const */\n\nchar * std::__facet_shims::(anonymous_namespace)::collate_shim<char>::do_transform\n                 (char *param_1,char *param_2)\n\n{\n  allocator local_49;\n  char *local_48;\n  ulong local_40;\n  code *local_28;\n  \n  local_28 = (code *)0x0;\n                    /* try { // try from 00314a0e to 00314a31 has its CatchHandler @ 00314a57 */\n  __collate_transform<char>(*(undefined8 *)(param_2 + 0x18),&local_48);\n  if (local_28 != (code *)0x0) {\n    std::string::string((string *)param_1,local_48,local_40,&local_49);\n    if (local_28 != (code *)0x0) {\n      (*local_28)(&local_48);\n    }\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00314a52 to 00314a56 has its CatchHandler @ 00314a57 */\n  __throw_logic_error("uninitialized __any_string");\n}\n\n" comment (function_definition "char * std::__facet_shims::(anonymous_namespace)::collate_shim<char>::do_transform\n                 (char *param_1,char *param_2)\n\n{\n  allocator local_49;\n  char *local_48;\n  ulong local_40;\n  code *local_28;\n  \n  local_28 = (code *)0x0;\n                    /* try { // try from 00314a0e to 00314a31 has its CatchHandler @ 00314a57 */\n  __collate_transform<char>(*(undefined8 *)(param_2 + 0x18),&local_48);\n  if (local_28 != (code *)0x0) {\n    std::string::string((string *)param_1,local_48,local_40,&local_49);\n    if (local_28 != (code *)0x0) {\n      (*local_28)(&local_48);\n    }\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00314a52 to 00314a56 has its CatchHandler @ 00314a57 */\n  __throw_logic_error("uninitialized __any_string");\n}" primitive_type (function_declarator "* std::__facet_shims::(anonymous_namespace)::collate_shim<char>::do_transform\n                 (char *param_1,char *param_2)" (pointer_declarator "* std::__facet_shims::(anonymous_namespace" * (ERROR "std::__facet_shims::(" identifier : : identifier : : () identifier) (ERROR ")::collate_shim<char>::do_transform" ) : : identifier < primitive_type > : : identifier) (parameter_list "(char *param_1,char *param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  allocator local_49;\n  char *local_48;\n  ulong local_40;\n  code *local_28;\n  \n  local_28 = (code *)0x0;\n                    /* try { // try from 00314a0e to 00314a31 has its CatchHandler @ 00314a57 */\n  __collate_transform<char>(*(undefined8 *)(param_2 + 0x18),&local_48);\n  if (local_28 != (code *)0x0) {\n    std::string::string((string *)param_1,local_48,local_40,&local_49);\n    if (local_28 != (code *)0x0) {\n      (*local_28)(&local_48);\n    }\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00314a52 to 00314a56 has its CatchHandler @ 00314a57 */\n  __throw_logic_error("uninitialized __any_string");\n}" { (declaration "allocator local_49;" type_identifier identifier ;) (declaration "char *local_48;" primitive_type (pointer_declarator "*local_48" * identifier) ;) (declaration "ulong local_40;" type_identifier identifier ;) (declaration "code *local_28;" type_identifier (pointer_declarator "*local_28" * identifier) ;) (expression_statement "local_28 = (code *)0x0;" (assignment_expression "local_28 = (code *)0x0" identifier = (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) comment (expression_statement "__collate_transform<char>(*(undefined8 *)(param_2 + 0x18),&local_48);" (binary_expression "__collate_transform<char>(*(undefined8 *)(param_2 + 0x18),&local_48)" (binary_expression "__collate_transform<char" identifier < identifier) > (parenthesized_expression "(*(undefined8 *)(param_2 + 0x18),&local_48)" ( (comma_expression "*(undefined8 *)(param_2 + 0x18),&local_48" (pointer_expression "*(undefined8 *)(param_2 + 0x18)" * (cast_expression "(undefined8 *)(param_2 + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) , (pointer_expression "&local_48" & identifier)) ))) ;) (if_statement "if (local_28 != (code *)0x0) {\n    std::string::string((string *)param_1,local_48,local_40,&local_49);\n    if (local_28 != (code *)0x0) {\n      (*local_28)(&local_48);\n    }\n    return param_1;\n  }" if (parenthesized_expression "(local_28 != (code *)0x0)" ( (binary_expression "local_28 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    std::string::string((string *)param_1,local_48,local_40,&local_49);\n    if (local_28 != (code *)0x0) {\n      (*local_28)(&local_48);\n    }\n    return param_1;\n  }" { (labeled_statement "std::string::string((string *)param_1,local_48,local_40,&local_49);" statement_identifier : (ERROR ":" :) (labeled_statement "string::string((string *)param_1,local_48,local_40,&local_49);" statement_identifier : (ERROR ":" :) (expression_statement "string((string *)param_1,local_48,local_40,&local_49);" (call_expression "string((string *)param_1,local_48,local_40,&local_49)" identifier (argument_list "((string *)param_1,local_48,local_40,&local_49)" ( (cast_expression "(string *)param_1" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier , identifier , (pointer_expression "&local_49" & identifier) ))) ;))) (if_statement "if (local_28 != (code *)0x0) {\n      (*local_28)(&local_48);\n    }" if (parenthesized_expression "(local_28 != (code *)0x0)" ( (binary_expression "local_28 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*local_28)(&local_48);\n    }" { (expression_statement "(*local_28)(&local_48);" (call_expression "(*local_28)(&local_48)" (parenthesized_expression "(*local_28)" ( (pointer_expression "*local_28" * identifier) )) (argument_list "(&local_48)" ( (pointer_expression "&local_48" & identifier) ))) ;) })) (return_statement "return param_1;" return identifier ;) })) comment comment (expression_statement "__throw_logic_error("uninitialized __any_string");" (call_expression "__throw_logic_error("uninitialized __any_string")" identifier (argument_list "("uninitialized __any_string")" ( (string_literal ""uninitialized __any_string"" " string_content ") ))) ;) })))
(translation_unit "undefined8 FUN_003149f0(undefined8 param_1,long param_2)\n\n{\n  undefined1 local_49;\n  undefined8 local_48;\n  undefined8 local_40;\n  code *local_28;\n  \n  local_28 = (code *)0x0;\n                    \n  FUN_00311db0(*(undefined8 *)(param_2 + 0x18),&local_48);\n  if (local_28 != (code *)0x0) {\n    FUN_0030f2e0(param_1,local_48,local_40,&local_49);\n    if (local_28 != (code *)0x0) {\n      (*local_28)(&local_48);\n    }\n    return param_1;\n  }\n                    \n                    \n  FUN_003194e0("uninitialized __any_string");\n}\n\n" (function_definition "undefined8 FUN_003149f0(undefined8 param_1,long param_2)\n\n{\n  undefined1 local_49;\n  undefined8 local_48;\n  undefined8 local_40;\n  code *local_28;\n  \n  local_28 = (code *)0x0;\n                    \n  FUN_00311db0(*(undefined8 *)(param_2 + 0x18),&local_48);\n  if (local_28 != (code *)0x0) {\n    FUN_0030f2e0(param_1,local_48,local_40,&local_49);\n    if (local_28 != (code *)0x0) {\n      (*local_28)(&local_48);\n    }\n    return param_1;\n  }\n                    \n                    \n  FUN_003194e0("uninitialized __any_string");\n}" type_identifier (function_declarator "FUN_003149f0(undefined8 param_1,long param_2)" identifier (parameter_list "(undefined8 param_1,long param_2)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  undefined1 local_49;\n  undefined8 local_48;\n  undefined8 local_40;\n  code *local_28;\n  \n  local_28 = (code *)0x0;\n                    \n  FUN_00311db0(*(undefined8 *)(param_2 + 0x18),&local_48);\n  if (local_28 != (code *)0x0) {\n    FUN_0030f2e0(param_1,local_48,local_40,&local_49);\n    if (local_28 != (code *)0x0) {\n      (*local_28)(&local_48);\n    }\n    return param_1;\n  }\n                    \n                    \n  FUN_003194e0("uninitialized __any_string");\n}" { (declaration "undefined1 local_49;" type_identifier identifier ;) (declaration "undefined8 local_48;" type_identifier identifier ;) (declaration "undefined8 local_40;" type_identifier identifier ;) (declaration "code *local_28;" type_identifier (pointer_declarator "*local_28" * identifier) ;) (expression_statement "local_28 = (code *)0x0;" (assignment_expression "local_28 = (code *)0x0" identifier = (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "FUN_00311db0(*(undefined8 *)(param_2 + 0x18),&local_48);" (call_expression "FUN_00311db0(*(undefined8 *)(param_2 + 0x18),&local_48)" identifier (argument_list "(*(undefined8 *)(param_2 + 0x18),&local_48)" ( (pointer_expression "*(undefined8 *)(param_2 + 0x18)" * (cast_expression "(undefined8 *)(param_2 + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) , (pointer_expression "&local_48" & identifier) ))) ;) (if_statement "if (local_28 != (code *)0x0) {\n    FUN_0030f2e0(param_1,local_48,local_40,&local_49);\n    if (local_28 != (code *)0x0) {\n      (*local_28)(&local_48);\n    }\n    return param_1;\n  }" if (parenthesized_expression "(local_28 != (code *)0x0)" ( (binary_expression "local_28 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    FUN_0030f2e0(param_1,local_48,local_40,&local_49);\n    if (local_28 != (code *)0x0) {\n      (*local_28)(&local_48);\n    }\n    return param_1;\n  }" { (expression_statement "FUN_0030f2e0(param_1,local_48,local_40,&local_49);" (call_expression "FUN_0030f2e0(param_1,local_48,local_40,&local_49)" identifier (argument_list "(param_1,local_48,local_40,&local_49)" ( identifier , identifier , identifier , (pointer_expression "&local_49" & identifier) ))) ;) (if_statement "if (local_28 != (code *)0x0) {\n      (*local_28)(&local_48);\n    }" if (parenthesized_expression "(local_28 != (code *)0x0)" ( (binary_expression "local_28 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*local_28)(&local_48);\n    }" { (expression_statement "(*local_28)(&local_48);" (call_expression "(*local_28)(&local_48)" (parenthesized_expression "(*local_28)" ( (pointer_expression "*local_28" * identifier) )) (argument_list "(&local_48)" ( (pointer_expression "&local_48" & identifier) ))) ;) })) (return_statement "return param_1;" return identifier ;) })) (expression_statement "FUN_003194e0("uninitialized __any_string");" (call_expression "FUN_003194e0("uninitialized __any_string")" identifier (argument_list "("uninitialized __any_string")" ( (string_literal ""uninitialized __any_string"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression & IDENT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , (pointer_expression & IDENT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) ))) ;) })) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) })))
(function_definition "undefined8 FUN_003149f0(undefined8 param_1,long param_2)\n\n{\n  undefined1 local_49;\n  undefined8 local_48;\n  undefined8 local_40;\n  code *local_28;\n  \n  local_28 = (code *)0x0;\n                    \n  FUN_00311db0(*(undefined8 *)(param_2 + 0x18),&local_48);\n  if (local_28 != (code *)0x0) {\n    FUN_0030f2e0(param_1,local_48,local_40,&local_49);\n    if (local_28 != (code *)0x0) {\n      (*local_28)(&local_48);\n    }\n    return param_1;\n  }\n                    \n                    \n  FUN_003194e0("uninitialized __any_string");\n}" (type_identifier "undefined8") (function_declarator "FUN_003149f0(undefined8 param_1,long param_2)" (identifier "FUN_003149f0") (parameter_list "(undefined8 param_1,long param_2)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined1 local_49;\n  undefined8 local_48;\n  undefined8 local_40;\n  code *local_28;\n  \n  local_28 = (code *)0x0;\n                    \n  FUN_00311db0(*(undefined8 *)(param_2 + 0x18),&local_48);\n  if (local_28 != (code *)0x0) {\n    FUN_0030f2e0(param_1,local_48,local_40,&local_49);\n    if (local_28 != (code *)0x0) {\n      (*local_28)(&local_48);\n    }\n    return param_1;\n  }\n                    \n                    \n  FUN_003194e0("uninitialized __any_string");\n}" ({ "{") (declaration "undefined1 local_49;" (type_identifier "undefined1") (identifier "local_49") (; ";")) (declaration "undefined8 local_48;" (type_identifier "undefined8") (identifier "local_48") (; ";")) (declaration "undefined8 local_40;" (type_identifier "undefined8") (identifier "local_40") (; ";")) (declaration "code *local_28;" (type_identifier "code") (pointer_declarator "*local_28" (* "*") (identifier "local_28")) (; ";")) (expression_statement "local_28 = (code *)0x0;" (assignment_expression "local_28 = (code *)0x0" (identifier "local_28") (= "=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "FUN_00311db0(*(undefined8 *)(param_2 + 0x18),&local_48);" (call_expression "FUN_00311db0(*(undefined8 *)(param_2 + 0x18),&local_48)" (identifier "FUN_00311db0") (argument_list "(*(undefined8 *)(param_2 + 0x18),&local_48)" (( "(") (pointer_expression "*(undefined8 *)(param_2 + 0x18)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x18)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (pointer_expression "&local_48" (& "&") (identifier "local_48")) () ")"))) (; ";")) (if_statement "if (local_28 != (code *)0x0) {\n    FUN_0030f2e0(param_1,local_48,local_40,&local_49);\n    if (local_28 != (code *)0x0) {\n      (*local_28)(&local_48);\n    }\n    return param_1;\n  }" (if "if") (parenthesized_expression "(local_28 != (code *)0x0)" (( "(") (binary_expression "local_28 != (code *)0x0" (identifier "local_28") (!= "!=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    FUN_0030f2e0(param_1,local_48,local_40,&local_49);\n    if (local_28 != (code *)0x0) {\n      (*local_28)(&local_48);\n    }\n    return param_1;\n  }" ({ "{") (expression_statement "FUN_0030f2e0(param_1,local_48,local_40,&local_49);" (call_expression "FUN_0030f2e0(param_1,local_48,local_40,&local_49)" (identifier "FUN_0030f2e0") (argument_list "(param_1,local_48,local_40,&local_49)" (( "(") (identifier "param_1") (, ",") (identifier "local_48") (, ",") (identifier "local_40") (, ",") (pointer_expression "&local_49" (& "&") (identifier "local_49")) () ")"))) (; ";")) (if_statement "if (local_28 != (code *)0x0) {\n      (*local_28)(&local_48);\n    }" (if "if") (parenthesized_expression "(local_28 != (code *)0x0)" (( "(") (binary_expression "local_28 != (code *)0x0" (identifier "local_28") (!= "!=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      (*local_28)(&local_48);\n    }" ({ "{") (expression_statement "(*local_28)(&local_48);" (call_expression "(*local_28)(&local_48)" (parenthesized_expression "(*local_28)" (( "(") (pointer_expression "*local_28" (* "*") (identifier "local_28")) () ")")) (argument_list "(&local_48)" (( "(") (pointer_expression "&local_48" (& "&") (identifier "local_48")) () ")"))) (; ";")) (} "}"))) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "FUN_003194e0("uninitialized __any_string");" (call_expression "FUN_003194e0("uninitialized __any_string")" (identifier "FUN_003194e0") (argument_list "("uninitialized __any_string")" (( "(") (string_literal ""uninitialized __any_string"" (" """) (string_content "uninitialized __any_string") (" """)) () ")"))) (; ";")) (} "}")))

/* std::__facet_shims::(anonymous namespace)::collate_shim<char>::do_transform(char const*, char
   const*) const */

char * std::__facet_shims::(anonymous_namespace)::collate_shim<char>::do_transform
                 (char *param_1,char *var_3)

{
  type_1 local_49;
  char *local_48;
  type_2 local_40;
  type_3 *var_4;
  
  var_4 = (type_3 *)0x0;
                    /* try { // try from 00314a0e to 00314a31 has its CatchHandler @ 00314a57 */
  var_1<var_2>(*(type_4 *)(var_3 + 0x18),&local_48);
  if (var_4 != (type_3 *)0x0) {
    std::string::var_5((var_5 *)param_1,local_48,local_40,&local_49);
    if (var_4 != (type_3 *)0x0) {
      (*var_4)(&local_48);
    }
    return param_1;
  }
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 00314a52 to 00314a56 has its CatchHandler @ 00314a57 */
  var_6("uninitialized __any_string");
}


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

undefined8 MASKED(undefined8 param_1,long param_2)

{
  undefined1 local_49;
  undefined8 local_48;
  undefined8 local_40;
  code *local_28;
  
  local_28 = (code *)0x0;
                    /* try { // try from 00314a0e to 00314a31 has its CatchHandler @ 00314a57 */
  FUN_00311db0(*(undefined8 *)(param_2 + 0x18),&local_48);
  if (local_28 != (code *)0x0) {
    FUN_0030f2e0(param_1,local_48,local_40,&local_49);
    if (local_28 != (code *)0x0) {
      (*local_28)(&local_48);
    }
    return param_1;
  }
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 00314a52 to 00314a56 has its CatchHandler @ 00314a57 */
  FUN_003194e0("uninitialized __any_string");
}

