
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* 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)

{
  int *piVar1;
  wostream *pwVar2;
  wchar_t local_10 [2];
  
  local_10[1] = 0x1bc6b7;
  piVar1 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80);
  if (piVar1 != (int *)0x0) {
    local_10[0] = (**(code **)(*piVar1 + 0x28))(piVar1,(int)param_2);
    pwVar2 = __ostream_insert<wchar_t,std::char_traits<wchar_t>>(param_1,local_10,1);
    return pwVar2;
  }
                    /* WARNING: Subroutine does not return */
  __throw_bad_cast();
}



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

void FUN_001bc6b0(int *param_1,char param_2)

{
  int *piVar1;
  undefined4 local_10;
  undefined4 uStack_c;
  
  uStack_c = 0x1bc6b7;
  piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x80);
  if (piVar1 != (int *)0x0) {
    local_10 = (**(code **)(*piVar1 + 0x28))(piVar1,(int)param_2);
    FUN_001bc2c0(param_1,&local_10,1);
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_001f1cf0();
}


PUSH ESI
PUSH EBX
CALL 0x00035680
ADD EBX,0x182949
SUB ESP,0x14
MOV ESI,dword ptr [ESP + 0x20]
MOVSX EDX,byte ptr [ESP + 0x24]
MOV EAX,dword ptr [ESI]
MOV EAX,dword ptr [EAX + -0xc]
MOV EAX,dword ptr [ESI + EAX*0x1 + 0x80]
TEST EAX,EAX
JZ 0x001bc6fd
SUB ESP,0x8
MOV ECX,dword ptr [EAX]
PUSH EDX
PUSH EAX
CALL dword ptr [ECX + 0x28]
MOV dword ptr [ESP + 0x1c],EAX
ADD ESP,0xc
PUSH 0x1
LEA EAX,[ESP + 0x14]
PUSH EAX
PUSH ESI
CALL 0x001bc2c0
ADD ESP,0x24
POP EBX
POP ESI
RET
CALL 0x001f1cf0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_001bc6b0(int *param_1,char param_2)\n\n{\n  int *piVar1;\n  undefined4 local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x1bc6b7;\n  piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x80);\n  if (piVar1 != (int *)0x0) {\n    local_10 = (**(code **)(*piVar1 + 0x28))(piVar1,(int)param_2);\n    FUN_001bc2c0(param_1,&local_10,1);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001f1cf0();\n}\n\n" comment (function_definition "void FUN_001bc6b0(int *param_1,char param_2)\n\n{\n  int *piVar1;\n  undefined4 local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x1bc6b7;\n  piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x80);\n  if (piVar1 != (int *)0x0) {\n    local_10 = (**(code **)(*piVar1 + 0x28))(piVar1,(int)param_2);\n    FUN_001bc2c0(param_1,&local_10,1);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001f1cf0();\n}" primitive_type (function_declarator "FUN_001bc6b0(int *param_1,char param_2)" identifier (parameter_list "(int *param_1,char param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char param_2" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  undefined4 local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x1bc6b7;\n  piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x80);\n  if (piVar1 != (int *)0x0) {\n    local_10 = (**(code **)(*piVar1 + 0x28))(piVar1,(int)param_2);\n    FUN_001bc2c0(param_1,&local_10,1);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001f1cf0();\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 local_10;" type_identifier identifier ;) (declaration "undefined4 uStack_c;" type_identifier identifier ;) (expression_statement "uStack_c = 0x1bc6b7;" (assignment_expression "uStack_c = 0x1bc6b7" identifier = number_literal) ;) (expression_statement "piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x80);" (assignment_expression "piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x80)" identifier = (pointer_expression "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x80)" * (cast_expression "(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x80)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x80)" ( (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x80" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if (piVar1 != (int *)0x0) {\n    local_10 = (**(code **)(*piVar1 + 0x28))(piVar1,(int)param_2);\n    FUN_001bc2c0(param_1,&local_10,1);\n    return;\n  }" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_10 = (**(code **)(*piVar1 + 0x28))(piVar1,(int)param_2);\n    FUN_001bc2c0(param_1,&local_10,1);\n    return;\n  }" { (expression_statement "local_10 = (**(code **)(*piVar1 + 0x28))(piVar1,(int)param_2);" (assignment_expression "local_10 = (**(code **)(*piVar1 + 0x28))(piVar1,(int)param_2)" identifier = (call_expression "(**(code **)(*piVar1 + 0x28))(piVar1,(int)param_2)" (parenthesized_expression "(**(code **)(*piVar1 + 0x28))" ( (pointer_expression "**(code **)(*piVar1 + 0x28)" * (pointer_expression "*(code **)(*piVar1 + 0x28)" * (cast_expression "(code **)(*piVar1 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x28)" ( (binary_expression "*piVar1 + 0x28" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1,(int)param_2)" ( identifier , (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) )))) ;) (expression_statement "FUN_001bc2c0(param_1,&local_10,1);" (call_expression "FUN_001bc2c0(param_1,&local_10,1)" identifier (argument_list "(param_1,&local_10,1)" ( identifier , (pointer_expression "&local_10" & identifier) , number_literal ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_001f1cf0();" (call_expression "FUN_001f1cf0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* 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  int *piVar1;\n  wostream *pwVar2;\n  wchar_t local_10 [2];\n  \n  local_10[1] = 0x1bc6b7;\n  piVar1 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80);\n  if (piVar1 != (int *)0x0) {\n    local_10[0] = (**(code **)(*piVar1 + 0x28))(piVar1,(int)param_2);\n    pwVar2 = __ostream_insert<wchar_t,std::char_traits<wchar_t>>(param_1,local_10,1);\n    return pwVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __throw_bad_cast();\n}\n\n" comment 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  int *piVar1;\n  wostream *pwVar2;\n  wchar_t local_10 [2];\n  \n  local_10[1] = 0x1bc6b7;\n  piVar1 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80);\n  if (piVar1 != (int *)0x0) {\n    local_10[0] = (**(code **)(*piVar1 + 0x28))(piVar1,(int)param_2);\n    pwVar2 = __ostream_insert<wchar_t,std::char_traits<wchar_t>>(param_1,local_10,1);\n    return pwVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __throw_bad_cast();\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "wostream *pwVar2;" type_identifier (pointer_declarator "*pwVar2" * identifier) ;) (declaration "wchar_t local_10 [2];" type_identifier (array_declarator "local_10 [2]" identifier [ number_literal ]) ;) (expression_statement "local_10[1] = 0x1bc6b7;" (assignment_expression "local_10[1] = 0x1bc6b7" (subscript_expression "local_10[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar1 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80);" (assignment_expression "piVar1 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80)" identifier = (pointer_expression "*(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80)" * (cast_expression "(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80)" ( (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80" (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)param_1 + -0xc)" * (cast_expression "(int *)(*(int *)param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_1 + -0xc)" ( (binary_expression "*(int *)param_1 + -0xc" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if (piVar1 != (int *)0x0) {\n    local_10[0] = (**(code **)(*piVar1 + 0x28))(piVar1,(int)param_2);\n    pwVar2 = __ostream_insert<wchar_t,std::char_traits<wchar_t>>(param_1,local_10,1);\n    return pwVar2;\n  }" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_10[0] = (**(code **)(*piVar1 + 0x28))(piVar1,(int)param_2);\n    pwVar2 = __ostream_insert<wchar_t,std::char_traits<wchar_t>>(param_1,local_10,1);\n    return pwVar2;\n  }" { (expression_statement "local_10[0] = (**(code **)(*piVar1 + 0x28))(piVar1,(int)param_2);" (assignment_expression "local_10[0] = (**(code **)(*piVar1 + 0x28))(piVar1,(int)param_2)" (subscript_expression "local_10[0]" identifier [ number_literal ]) = (call_expression "(**(code **)(*piVar1 + 0x28))(piVar1,(int)param_2)" (parenthesized_expression "(**(code **)(*piVar1 + 0x28))" ( (pointer_expression "**(code **)(*piVar1 + 0x28)" * (pointer_expression "*(code **)(*piVar1 + 0x28)" * (cast_expression "(code **)(*piVar1 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x28)" ( (binary_expression "*piVar1 + 0x28" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1,(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_10,1);" (binary_expression "char_traits<wchar_t>>(param_1,local_10,1)" identifier < (binary_expression "wchar_t>>(param_1,local_10,1)" identifier >> (parenthesized_expression "(param_1,local_10,1)" ( (comma_expression "param_1,local_10,1" identifier , (comma_expression "local_10,1" 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_001bc6b0(int *param_1,char param_2)\n\n{\n  int *piVar1;\n  undefined4 local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x1bc6b7;\n  piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x80);\n  if (piVar1 != (int *)0x0) {\n    local_10 = (**(code **)(*piVar1 + 0x28))(piVar1,(int)param_2);\n    FUN_001bc2c0(param_1,&local_10,1);\n    return;\n  }\n                    \n  FUN_001f1cf0();\n}\n\n" (function_definition "void FUN_001bc6b0(int *param_1,char param_2)\n\n{\n  int *piVar1;\n  undefined4 local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x1bc6b7;\n  piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x80);\n  if (piVar1 != (int *)0x0) {\n    local_10 = (**(code **)(*piVar1 + 0x28))(piVar1,(int)param_2);\n    FUN_001bc2c0(param_1,&local_10,1);\n    return;\n  }\n                    \n  FUN_001f1cf0();\n}" primitive_type (function_declarator "FUN_001bc6b0(int *param_1,char param_2)" identifier (parameter_list "(int *param_1,char param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char param_2" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  undefined4 local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x1bc6b7;\n  piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x80);\n  if (piVar1 != (int *)0x0) {\n    local_10 = (**(code **)(*piVar1 + 0x28))(piVar1,(int)param_2);\n    FUN_001bc2c0(param_1,&local_10,1);\n    return;\n  }\n                    \n  FUN_001f1cf0();\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 local_10;" type_identifier identifier ;) (declaration "undefined4 uStack_c;" type_identifier identifier ;) (expression_statement "uStack_c = 0x1bc6b7;" (assignment_expression "uStack_c = 0x1bc6b7" identifier = number_literal) ;) (expression_statement "piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x80);" (assignment_expression "piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x80)" identifier = (pointer_expression "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x80)" * (cast_expression "(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x80)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x80)" ( (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x80" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if (piVar1 != (int *)0x0) {\n    local_10 = (**(code **)(*piVar1 + 0x28))(piVar1,(int)param_2);\n    FUN_001bc2c0(param_1,&local_10,1);\n    return;\n  }" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_10 = (**(code **)(*piVar1 + 0x28))(piVar1,(int)param_2);\n    FUN_001bc2c0(param_1,&local_10,1);\n    return;\n  }" { (expression_statement "local_10 = (**(code **)(*piVar1 + 0x28))(piVar1,(int)param_2);" (assignment_expression "local_10 = (**(code **)(*piVar1 + 0x28))(piVar1,(int)param_2)" identifier = (call_expression "(**(code **)(*piVar1 + 0x28))(piVar1,(int)param_2)" (parenthesized_expression "(**(code **)(*piVar1 + 0x28))" ( (pointer_expression "**(code **)(*piVar1 + 0x28)" * (pointer_expression "*(code **)(*piVar1 + 0x28)" * (cast_expression "(code **)(*piVar1 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x28)" ( (binary_expression "*piVar1 + 0x28" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1,(int)param_2)" ( identifier , (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) )))) ;) (expression_statement "FUN_001bc2c0(param_1,&local_10,1);" (call_expression "FUN_001bc2c0(param_1,&local_10,1)" identifier (argument_list "(param_1,&local_10,1)" ( identifier , (pointer_expression "&local_10" & identifier) , number_literal ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_001f1cf0();" (call_expression "FUN_001f1cf0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (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_001bc6b0(int *param_1,char param_2)\n\n{\n  int *piVar1;\n  undefined4 local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x1bc6b7;\n  piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x80);\n  if (piVar1 != (int *)0x0) {\n    local_10 = (**(code **)(*piVar1 + 0x28))(piVar1,(int)param_2);\n    FUN_001bc2c0(param_1,&local_10,1);\n    return;\n  }\n                    \n  FUN_001f1cf0();\n}" (primitive_type "void") (function_declarator "FUN_001bc6b0(int *param_1,char param_2)" (identifier "FUN_001bc6b0") (parameter_list "(int *param_1,char param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "char param_2" (primitive_type "char") (identifier "param_2")) () ")"))) (compound_statement "{\n  int *piVar1;\n  undefined4 local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x1bc6b7;\n  piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x80);\n  if (piVar1 != (int *)0x0) {\n    local_10 = (**(code **)(*piVar1 + 0x28))(piVar1,(int)param_2);\n    FUN_001bc2c0(param_1,&local_10,1);\n    return;\n  }\n                    \n  FUN_001f1cf0();\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "undefined4 local_10;" (type_identifier "undefined4") (identifier "local_10") (; ";")) (declaration "undefined4 uStack_c;" (type_identifier "undefined4") (identifier "uStack_c") (; ";")) (expression_statement "uStack_c = 0x1bc6b7;" (assignment_expression "uStack_c = 0x1bc6b7" (identifier "uStack_c") (= "=") (number_literal "0x1bc6b7")) (; ";")) (expression_statement "piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x80);" (assignment_expression "piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x80)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x80)" (* "*") (cast_expression "(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x80)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x80)" (( "(") (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x80" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(*param_1 + -0xc)" (* "*") (cast_expression "(int *)(*param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0xc)" (( "(") (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0xc")) () ")"))))) (+ "+") (number_literal "0x80")) () ")"))))) (; ";")) (if_statement "if (piVar1 != (int *)0x0) {\n    local_10 = (**(code **)(*piVar1 + 0x28))(piVar1,(int)param_2);\n    FUN_001bc2c0(param_1,&local_10,1);\n    return;\n  }" (if "if") (parenthesized_expression "(piVar1 != (int *)0x0)" (( "(") (binary_expression "piVar1 != (int *)0x0" (identifier "piVar1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    local_10 = (**(code **)(*piVar1 + 0x28))(piVar1,(int)param_2);\n    FUN_001bc2c0(param_1,&local_10,1);\n    return;\n  }" ({ "{") (expression_statement "local_10 = (**(code **)(*piVar1 + 0x28))(piVar1,(int)param_2);" (assignment_expression "local_10 = (**(code **)(*piVar1 + 0x28))(piVar1,(int)param_2)" (identifier "local_10") (= "=") (call_expression "(**(code **)(*piVar1 + 0x28))(piVar1,(int)param_2)" (parenthesized_expression "(**(code **)(*piVar1 + 0x28))" (( "(") (pointer_expression "**(code **)(*piVar1 + 0x28)" (* "*") (pointer_expression "*(code **)(*piVar1 + 0x28)" (* "*") (cast_expression "(code **)(*piVar1 + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 0x28)" (( "(") (binary_expression "*piVar1 + 0x28" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "(piVar1,(int)param_2)" (( "(") (identifier "piVar1") (, ",") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) () ")")))) (; ";")) (expression_statement "FUN_001bc2c0(param_1,&local_10,1);" (call_expression "FUN_001bc2c0(param_1,&local_10,1)" (identifier "FUN_001bc2c0") (argument_list "(param_1,&local_10,1)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&local_10" (& "&") (identifier "local_10")) (, ",") (number_literal "1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_001f1cf0();" (call_expression "FUN_001f1cf0()" (identifier "FUN_001f1cf0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* 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)

{
  int *var_2;
  type_1 *pwVar2;
  type_2 local_10 [2];
  
  local_10[1] = 0x1bc6b7;
  var_2 = *(int **)(var_1 + *(int *)(*(int *)var_1 + -0xc) + 0x80);
  if (var_2 != (int *)0x0) {
    local_10[0] = (**(type_3 **)(*var_2 + 0x28))(var_2,(int)param_2);
    pwVar2 = __ostream_insert<type_2,std::var_3<type_2>>(var_1,local_10,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: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) 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: (primitive_type) 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))))))

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

void MASKED(int *param_1,char param_2)

{
  int *piVar1;
  undefined4 local_10;
  undefined4 uStack_c;
  
  uStack_c = 0x1bc6b7;
  piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x80);
  if (piVar1 != (int *)0x0) {
    local_10 = (**(code **)(*piVar1 + 0x28))(piVar1,(int)param_2);
    FUN_001bc2c0(param_1,&local_10,1);
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_001f1cf0();
}

