
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* std::wostream& std::TEMPNAMEPLACEHOLDERVALUE(std::wostream&, char) */

wostream * std::operator<<(wostream *param_1,char param_2)

{
  long *plVar1;
  wostream *pwVar2;
  wchar_t local_c;
  
  plVar1 = *(long **)(param_1 + *(long *)(*(long *)param_1 + -0x18) + 0xf0);
  if (plVar1 != (long *)0x0) {
    local_c = (**(code **)(*plVar1 + 0x50))(plVar1,(int)param_2);
    pwVar2 = __ostream_insert<wchar_t,std::char_traits<wchar_t>>(param_1,&local_c,1);
    return pwVar2;
  }
                    /* WARNING: Subroutine does not return */
  __throw_bad_cast();
}



void FUN_002e8a00(long *param_1,char param_2)

{
  long *plVar1;
  undefined4 local_c;
  
  plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0);
  if (plVar1 != (long *)0x0) {
    local_c = (**(code **)(*plVar1 + 0x50))(plVar1,(int)param_2);
    FUN_002e8620(param_1,&local_c,1);
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00319460();
}


PUSH RBX
MOV RBX,RDI
SUB RSP,0x10
MOV RAX,qword ptr [RDI]
MOV RAX,qword ptr [RAX + -0x18]
MOV RDI,qword ptr [RDI + RAX*0x1 + 0xf0]
TEST RDI,RDI
JZ 0x002e8a42
MOV RAX,qword ptr [RDI]
MOVSX ESI,SIL
CALL qword ptr [RAX + 0x50]
LEA RSI,[RSP + 0xc]
MOV RDI,RBX
MOV EDX,0x1
MOV dword ptr [RSP + 0xc],EAX
CALL 0x002e8620
ADD RSP,0x10
POP RBX
RET
CALL 0x00319460
(translation_unit "void FUN_002e8a00(long *param_1,char param_2)\n\n{\n  long *plVar1;\n  undefined4 local_c;\n  \n  plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0);\n  if (plVar1 != (long *)0x0) {\n    local_c = (**(code **)(*plVar1 + 0x50))(plVar1,(int)param_2);\n    FUN_002e8620(param_1,&local_c,1);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00319460();\n}\n\n" (function_definition "void FUN_002e8a00(long *param_1,char param_2)\n\n{\n  long *plVar1;\n  undefined4 local_c;\n  \n  plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0);\n  if (plVar1 != (long *)0x0) {\n    local_c = (**(code **)(*plVar1 + 0x50))(plVar1,(int)param_2);\n    FUN_002e8620(param_1,&local_c,1);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00319460();\n}" primitive_type (function_declarator "FUN_002e8a00(long *param_1,char param_2)" identifier (parameter_list "(long *param_1,char param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char param_2" primitive_type identifier) ))) (compound_statement "{\n  long *plVar1;\n  undefined4 local_c;\n  \n  plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0);\n  if (plVar1 != (long *)0x0) {\n    local_c = (**(code **)(*plVar1 + 0x50))(plVar1,(int)param_2);\n    FUN_002e8620(param_1,&local_c,1);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00319460();\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "undefined4 local_c;" type_identifier identifier ;) (expression_statement "plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0);" (assignment_expression "plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0)" identifier = (pointer_expression "*(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0)" * (cast_expression "(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0)" ( (binary_expression "(long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0" (binary_expression "(long)param_1 + *(long *)(*param_1 + -0x18)" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (pointer_expression "*(long *)(*param_1 + -0x18)" * (cast_expression "(long *)(*param_1 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0x18)" ( (binary_expression "*param_1 + -0x18" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if (plVar1 != (long *)0x0) {\n    local_c = (**(code **)(*plVar1 + 0x50))(plVar1,(int)param_2);\n    FUN_002e8620(param_1,&local_c,1);\n    return;\n  }" if (parenthesized_expression "(plVar1 != (long *)0x0)" ( (binary_expression "plVar1 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_c = (**(code **)(*plVar1 + 0x50))(plVar1,(int)param_2);\n    FUN_002e8620(param_1,&local_c,1);\n    return;\n  }" { (expression_statement "local_c = (**(code **)(*plVar1 + 0x50))(plVar1,(int)param_2);" (assignment_expression "local_c = (**(code **)(*plVar1 + 0x50))(plVar1,(int)param_2)" identifier = (call_expression "(**(code **)(*plVar1 + 0x50))(plVar1,(int)param_2)" (parenthesized_expression "(**(code **)(*plVar1 + 0x50))" ( (pointer_expression "**(code **)(*plVar1 + 0x50)" * (pointer_expression "*(code **)(*plVar1 + 0x50)" * (cast_expression "(code **)(*plVar1 + 0x50)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x50)" ( (binary_expression "*plVar1 + 0x50" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1,(int)param_2)" ( identifier , (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) )))) ;) (expression_statement "FUN_002e8620(param_1,&local_c,1);" (call_expression "FUN_002e8620(param_1,&local_c,1)" identifier (argument_list "(param_1,&local_c,1)" ( identifier , (pointer_expression "&local_c" & identifier) , number_literal ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_00319460();" (call_expression "FUN_00319460()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* std::wostream& std::TEMPNAMEPLACEHOLDERVALUE(std::wostream&, char) */\n\nwostream * std::operator<<(wostream *param_1,char param_2)\n\n{\n  long *plVar1;\n  wostream *pwVar2;\n  wchar_t local_c;\n  \n  plVar1 = *(long **)(param_1 + *(long *)(*(long *)param_1 + -0x18) + 0xf0);\n  if (plVar1 != (long *)0x0) {\n    local_c = (**(code **)(*plVar1 + 0x50))(plVar1,(int)param_2);\n    pwVar2 = __ostream_insert<wchar_t,std::char_traits<wchar_t>>(param_1,&local_c,1);\n    return pwVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __throw_bad_cast();\n}\n\n" comment comment (ERROR "wostream * std::operator<<(wostream *param_1,char param_2)" (binary_expression "wostream * std::operator<<(wostream *param_1,char param_2)" (binary_expression "wostream * std" identifier * identifier) (ERROR "::operator" : : identifier) << (parenthesized_expression "(wostream *param_1,char param_2)" ( (comma_expression "wostream *param_1,char param_2" (binary_expression "wostream *param_1" identifier * identifier) , (ERROR "char" identifier) identifier) )))) (compound_statement "{\n  long *plVar1;\n  wostream *pwVar2;\n  wchar_t local_c;\n  \n  plVar1 = *(long **)(param_1 + *(long *)(*(long *)param_1 + -0x18) + 0xf0);\n  if (plVar1 != (long *)0x0) {\n    local_c = (**(code **)(*plVar1 + 0x50))(plVar1,(int)param_2);\n    pwVar2 = __ostream_insert<wchar_t,std::char_traits<wchar_t>>(param_1,&local_c,1);\n    return pwVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __throw_bad_cast();\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "wostream *pwVar2;" type_identifier (pointer_declarator "*pwVar2" * identifier) ;) (declaration "wchar_t local_c;" type_identifier identifier ;) (expression_statement "plVar1 = *(long **)(param_1 + *(long *)(*(long *)param_1 + -0x18) + 0xf0);" (assignment_expression "plVar1 = *(long **)(param_1 + *(long *)(*(long *)param_1 + -0x18) + 0xf0)" identifier = (pointer_expression "*(long **)(param_1 + *(long *)(*(long *)param_1 + -0x18) + 0xf0)" * (cast_expression "(long **)(param_1 + *(long *)(*(long *)param_1 + -0x18) + 0xf0)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + *(long *)(*(long *)param_1 + -0x18) + 0xf0)" ( (binary_expression "param_1 + *(long *)(*(long *)param_1 + -0x18) + 0xf0" (binary_expression "param_1 + *(long *)(*(long *)param_1 + -0x18)" identifier + (pointer_expression "*(long *)(*(long *)param_1 + -0x18)" * (cast_expression "(long *)(*(long *)param_1 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)param_1 + -0x18)" ( (binary_expression "*(long *)param_1 + -0x18" (pointer_expression "*(long *)param_1" * (cast_expression "(long *)param_1" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if (plVar1 != (long *)0x0) {\n    local_c = (**(code **)(*plVar1 + 0x50))(plVar1,(int)param_2);\n    pwVar2 = __ostream_insert<wchar_t,std::char_traits<wchar_t>>(param_1,&local_c,1);\n    return pwVar2;\n  }" if (parenthesized_expression "(plVar1 != (long *)0x0)" ( (binary_expression "plVar1 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_c = (**(code **)(*plVar1 + 0x50))(plVar1,(int)param_2);\n    pwVar2 = __ostream_insert<wchar_t,std::char_traits<wchar_t>>(param_1,&local_c,1);\n    return pwVar2;\n  }" { (expression_statement "local_c = (**(code **)(*plVar1 + 0x50))(plVar1,(int)param_2);" (assignment_expression "local_c = (**(code **)(*plVar1 + 0x50))(plVar1,(int)param_2)" identifier = (call_expression "(**(code **)(*plVar1 + 0x50))(plVar1,(int)param_2)" (parenthesized_expression "(**(code **)(*plVar1 + 0x50))" ( (pointer_expression "**(code **)(*plVar1 + 0x50)" * (pointer_expression "*(code **)(*plVar1 + 0x50)" * (cast_expression "(code **)(*plVar1 + 0x50)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x50)" ( (binary_expression "*plVar1 + 0x50" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1,(int)param_2)" ( identifier , (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) )))) ;) (ERROR "pwVar2 = __ostream_insert<wchar_t,std::" (comma_expression "pwVar2 = __ostream_insert<wchar_t,std" (assignment_expression "pwVar2 = __ostream_insert<wchar_t" identifier = (binary_expression "__ostream_insert<wchar_t" identifier < identifier)) , identifier) : :) (expression_statement "char_traits<wchar_t>>(param_1,&local_c,1);" (binary_expression "char_traits<wchar_t>>(param_1,&local_c,1)" identifier < (binary_expression "wchar_t>>(param_1,&local_c,1)" identifier >> (parenthesized_expression "(param_1,&local_c,1)" ( (comma_expression "param_1,&local_c,1" identifier , (comma_expression "&local_c,1" (pointer_expression "&local_c" & identifier) , number_literal)) )))) ;) (return_statement "return pwVar2;" return identifier ;) })) comment (expression_statement "__throw_bad_cast();" (call_expression "__throw_bad_cast()" identifier (argument_list "()" ( ))) ;) }))
(translation_unit "void FUN_002e8a00(long *param_1,char param_2)\n\n{\n  long *plVar1;\n  undefined4 local_c;\n  \n  plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0);\n  if (plVar1 != (long *)0x0) {\n    local_c = (**(code **)(*plVar1 + 0x50))(plVar1,(int)param_2);\n    FUN_002e8620(param_1,&local_c,1);\n    return;\n  }\n                    \n  FUN_00319460();\n}\n\n" (function_definition "void FUN_002e8a00(long *param_1,char param_2)\n\n{\n  long *plVar1;\n  undefined4 local_c;\n  \n  plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0);\n  if (plVar1 != (long *)0x0) {\n    local_c = (**(code **)(*plVar1 + 0x50))(plVar1,(int)param_2);\n    FUN_002e8620(param_1,&local_c,1);\n    return;\n  }\n                    \n  FUN_00319460();\n}" primitive_type (function_declarator "FUN_002e8a00(long *param_1,char param_2)" identifier (parameter_list "(long *param_1,char param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char param_2" primitive_type identifier) ))) (compound_statement "{\n  long *plVar1;\n  undefined4 local_c;\n  \n  plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0);\n  if (plVar1 != (long *)0x0) {\n    local_c = (**(code **)(*plVar1 + 0x50))(plVar1,(int)param_2);\n    FUN_002e8620(param_1,&local_c,1);\n    return;\n  }\n                    \n  FUN_00319460();\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "undefined4 local_c;" type_identifier identifier ;) (expression_statement "plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0);" (assignment_expression "plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0)" identifier = (pointer_expression "*(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0)" * (cast_expression "(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0)" ( (binary_expression "(long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0" (binary_expression "(long)param_1 + *(long *)(*param_1 + -0x18)" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (pointer_expression "*(long *)(*param_1 + -0x18)" * (cast_expression "(long *)(*param_1 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0x18)" ( (binary_expression "*param_1 + -0x18" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if (plVar1 != (long *)0x0) {\n    local_c = (**(code **)(*plVar1 + 0x50))(plVar1,(int)param_2);\n    FUN_002e8620(param_1,&local_c,1);\n    return;\n  }" if (parenthesized_expression "(plVar1 != (long *)0x0)" ( (binary_expression "plVar1 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_c = (**(code **)(*plVar1 + 0x50))(plVar1,(int)param_2);\n    FUN_002e8620(param_1,&local_c,1);\n    return;\n  }" { (expression_statement "local_c = (**(code **)(*plVar1 + 0x50))(plVar1,(int)param_2);" (assignment_expression "local_c = (**(code **)(*plVar1 + 0x50))(plVar1,(int)param_2)" identifier = (call_expression "(**(code **)(*plVar1 + 0x50))(plVar1,(int)param_2)" (parenthesized_expression "(**(code **)(*plVar1 + 0x50))" ( (pointer_expression "**(code **)(*plVar1 + 0x50)" * (pointer_expression "*(code **)(*plVar1 + 0x50)" * (cast_expression "(code **)(*plVar1 + 0x50)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x50)" ( (binary_expression "*plVar1 + 0x50" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1,(int)param_2)" ( identifier , (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) )))) ;) (expression_statement "FUN_002e8620(param_1,&local_c,1);" (call_expression "FUN_002e8620(param_1,&local_c,1)" identifier (argument_list "(param_1,&local_c,1)" ( identifier , (pointer_expression "&local_c" & identifier) , number_literal ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00319460();" (call_expression "FUN_00319460()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (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 ( IDENT , (cast_expression ( (type_descriptor TYPE) ) IDENT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , LIT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_002e8a00(long *param_1,char param_2)\n\n{\n  long *plVar1;\n  undefined4 local_c;\n  \n  plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0);\n  if (plVar1 != (long *)0x0) {\n    local_c = (**(code **)(*plVar1 + 0x50))(plVar1,(int)param_2);\n    FUN_002e8620(param_1,&local_c,1);\n    return;\n  }\n                    \n  FUN_00319460();\n}" (primitive_type "void") (function_declarator "FUN_002e8a00(long *param_1,char param_2)" (identifier "FUN_002e8a00") (parameter_list "(long *param_1,char param_2)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "char param_2" (primitive_type "char") (identifier "param_2")) () ")"))) (compound_statement "{\n  long *plVar1;\n  undefined4 local_c;\n  \n  plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0);\n  if (plVar1 != (long *)0x0) {\n    local_c = (**(code **)(*plVar1 + 0x50))(plVar1,(int)param_2);\n    FUN_002e8620(param_1,&local_c,1);\n    return;\n  }\n                    \n  FUN_00319460();\n}" ({ "{") (declaration "long *plVar1;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar1" (* "*") (identifier "plVar1")) (; ";")) (declaration "undefined4 local_c;" (type_identifier "undefined4") (identifier "local_c") (; ";")) (expression_statement "plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0);" (assignment_expression "plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0)" (identifier "plVar1") (= "=") (pointer_expression "*(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0)" (* "*") (cast_expression "(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0)" (( "(") (binary_expression "(long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0" (binary_expression "(long)param_1 + *(long *)(*param_1 + -0x18)" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(long *)(*param_1 + -0x18)" (* "*") (cast_expression "(long *)(*param_1 + -0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0x18)" (( "(") (binary_expression "*param_1 + -0x18" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0x18")) () ")"))))) (+ "+") (number_literal "0xf0")) () ")"))))) (; ";")) (if_statement "if (plVar1 != (long *)0x0) {\n    local_c = (**(code **)(*plVar1 + 0x50))(plVar1,(int)param_2);\n    FUN_002e8620(param_1,&local_c,1);\n    return;\n  }" (if "if") (parenthesized_expression "(plVar1 != (long *)0x0)" (( "(") (binary_expression "plVar1 != (long *)0x0" (identifier "plVar1") (!= "!=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    local_c = (**(code **)(*plVar1 + 0x50))(plVar1,(int)param_2);\n    FUN_002e8620(param_1,&local_c,1);\n    return;\n  }" ({ "{") (expression_statement "local_c = (**(code **)(*plVar1 + 0x50))(plVar1,(int)param_2);" (assignment_expression "local_c = (**(code **)(*plVar1 + 0x50))(plVar1,(int)param_2)" (identifier "local_c") (= "=") (call_expression "(**(code **)(*plVar1 + 0x50))(plVar1,(int)param_2)" (parenthesized_expression "(**(code **)(*plVar1 + 0x50))" (( "(") (pointer_expression "**(code **)(*plVar1 + 0x50)" (* "*") (pointer_expression "*(code **)(*plVar1 + 0x50)" (* "*") (cast_expression "(code **)(*plVar1 + 0x50)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar1 + 0x50)" (( "(") (binary_expression "*plVar1 + 0x50" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (+ "+") (number_literal "0x50")) () ")"))))) () ")")) (argument_list "(plVar1,(int)param_2)" (( "(") (identifier "plVar1") (, ",") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) () ")")))) (; ";")) (expression_statement "FUN_002e8620(param_1,&local_c,1);" (call_expression "FUN_002e8620(param_1,&local_c,1)" (identifier "FUN_002e8620") (argument_list "(param_1,&local_c,1)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&local_c" (& "&") (identifier "local_c")) (, ",") (number_literal "1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00319460();" (call_expression "FUN_00319460()" (identifier "FUN_00319460") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* std::wostream& std::TEMPNAMEPLACEHOLDERVALUE(std::wostream&, char) */

type_1 * std::operator<<(type_1 *var_1,char param_2)

{
  long *var_2;
  type_1 *pwVar2;
  type_2 local_c;
  
  var_2 = *(long **)(var_1 + *(long *)(*(long *)var_1 + -0x18) + 0xf0);
  if (var_2 != (long *)0x0) {
    local_c = (**(type_3 **)(*var_2 + 0x50))(var_2,(int)param_2);
    pwVar2 = __ostream_insert<type_2,std::var_3<type_2>>(var_1,&local_c,1);
    return pwVar2;
  }
                    /* WARNING: Subroutine does not return */
  var_4();
}


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

void MASKED(long *param_1,char param_2)

{
  long *plVar1;
  undefined4 local_c;
  
  plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0);
  if (plVar1 != (long *)0x0) {
    local_c = (**(code **)(*plVar1 + 0x50))(plVar1,(int)param_2);
    FUN_002e8620(param_1,&local_c,1);
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00319460();
}

