
/* std::ostream::TEMPNAMEPLACEHOLDERVALUE(short) */

void __thiscall std::ostream::operator<<(ostream *this,short param_1)

{
  undefined2 in_register_00000014;
  
  if (((*(uint *)(this + *(int *)(*(int *)this + -0xc) + 0xc) & 0x4a) != 0x40) &&
     ((*(uint *)(this + *(int *)(*(int *)this + -0xc) + 0xc) & 0x4a) != 8)) {
    _M_insert<long>(this,CONCAT22(in_register_00000014,param_1));
    return;
  }
  _M_insert<long>(this,(uint)(ushort)param_1);
  return;
}



void FUN_002c7618(ostream *param_1,uint param_2)

{
  if (((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 0x40) &&
     ((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 8)) {
    std::ostream::_M_insert<long>(param_1,param_2);
    return;
  }
  std::ostream::_M_insert<long>(param_1,param_2 & 0xffff);
  return;
}


lui gp,0x17
addiu gp,gp,0x2bb8
addu gp,gp,t9
lw v0,0x0(a0)
li a2,0x40
or v1,a0,zero
lw t9,-0x42a4(gp)
lw v0,-0xc(v0)
addu v0,a0,v0
lw v0,0xc(v0)
andi v0,v0,0x4a
beq v0,a2,0x002c7658
_or a3,a1,zero
li a2,0x8
bne v0,a2,0x002c7664
_nop
andi a1,a3,0xffff
b 0x002c7370
_or a0,v1,zero
b 0x002c7370
_nop
(translation_unit "void FUN_002c7618(ostream *param_1,uint param_2)\n\n{\n  if (((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 0x40) &&\n     ((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 8)) {\n    std::ostream::_M_insert<long>(param_1,param_2);\n    return;\n  }\n  std::ostream::_M_insert<long>(param_1,param_2 & 0xffff);\n  return;\n}\n\n" (function_definition "void FUN_002c7618(ostream *param_1,uint param_2)\n\n{\n  if (((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 0x40) &&\n     ((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 8)) {\n    std::ostream::_M_insert<long>(param_1,param_2);\n    return;\n  }\n  std::ostream::_M_insert<long>(param_1,param_2 & 0xffff);\n  return;\n}" primitive_type (function_declarator "FUN_002c7618(ostream *param_1,uint param_2)" identifier (parameter_list "(ostream *param_1,uint param_2)" ( (parameter_declaration "ostream *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  if (((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 0x40) &&\n     ((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 8)) {\n    std::ostream::_M_insert<long>(param_1,param_2);\n    return;\n  }\n  std::ostream::_M_insert<long>(param_1,param_2 & 0xffff);\n  return;\n}" { (if_statement "if (((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 0x40) &&\n     ((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 8)) {\n    std::ostream::_M_insert<long>(param_1,param_2);\n    return;\n  }" if (parenthesized_expression "(((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 0x40) &&\n     ((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 8))" ( (binary_expression "((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 0x40) &&\n     ((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 8)" (parenthesized_expression "((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 0x40)" ( (binary_expression "(*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 0x40" (parenthesized_expression "(*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a)" ( (binary_expression "*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a" (pointer_expression "*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc)" * (cast_expression "(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc)" ( (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc" (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) )))) & number_literal) )) != number_literal) )) && (parenthesized_expression "((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 8)" ( (binary_expression "(*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 8" (parenthesized_expression "(*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a)" ( (binary_expression "*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a" (pointer_expression "*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc)" * (cast_expression "(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc)" ( (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc" (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) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    std::ostream::_M_insert<long>(param_1,param_2);\n    return;\n  }" { (labeled_statement "std::ostream::_M_insert<long>(param_1,param_2);" statement_identifier : (ERROR ":" :) (labeled_statement "ostream::_M_insert<long>(param_1,param_2);" statement_identifier : (ERROR ":" :) (expression_statement "_M_insert<long>(param_1,param_2);" (binary_expression "_M_insert<long>(param_1,param_2)" (binary_expression "_M_insert<long" identifier < identifier) > (parenthesized_expression "(param_1,param_2)" ( (comma_expression "param_1,param_2" identifier , identifier) ))) ;))) (return_statement "return;" return ;) })) (labeled_statement "std::ostream::_M_insert<long>(param_1,param_2 & 0xffff);" statement_identifier : (ERROR ":" :) (labeled_statement "ostream::_M_insert<long>(param_1,param_2 & 0xffff);" statement_identifier : (ERROR ":" :) (expression_statement "_M_insert<long>(param_1,param_2 & 0xffff);" (binary_expression "_M_insert<long>(param_1,param_2 & 0xffff)" (binary_expression "_M_insert<long" identifier < identifier) > (parenthesized_expression "(param_1,param_2 & 0xffff)" ( (comma_expression "param_1,param_2 & 0xffff" identifier , (binary_expression "param_2 & 0xffff" identifier & number_literal)) ))) ;))) (return_statement "return;" return ;) })))
(translation_unit "/* std::ostream::TEMPNAMEPLACEHOLDERVALUE(short) */\n\nvoid __thiscall std::ostream::operator<<(ostream *this,short param_1)\n\n{\n  undefined2 in_register_00000014;\n  \n  if (((*(uint *)(this + *(int *)(*(int *)this + -0xc) + 0xc) & 0x4a) != 0x40) &&\n     ((*(uint *)(this + *(int *)(*(int *)this + -0xc) + 0xc) & 0x4a) != 8)) {\n    _M_insert<long>(this,CONCAT22(in_register_00000014,param_1));\n    return;\n  }\n  _M_insert<long>(this,(uint)(ushort)param_1);\n  return;\n}\n\n" comment (declaration "void __thiscall std::ostream::operator<<(ostream *this,short param_1)\n\n{\n  undefined2 in_register_00000014;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::ostream::operator<<(ostream" identifier : : identifier : : identifier << ( identifier) (pointer_declarator "*this" * identifier) , (ERROR "short param_1)\n\n{\n  undefined2" identifier identifier ) { identifier) identifier ;) (if_statement "if (((*(uint *)(this + *(int *)(*(int *)this + -0xc) + 0xc) & 0x4a) != 0x40) &&\n     ((*(uint *)(this + *(int *)(*(int *)this + -0xc) + 0xc) & 0x4a) != 8)) {\n    _M_insert<long>(this,CONCAT22(in_register_00000014,param_1));\n    return;\n  }" if (parenthesized_expression "(((*(uint *)(this + *(int *)(*(int *)this + -0xc) + 0xc) & 0x4a) != 0x40) &&\n     ((*(uint *)(this + *(int *)(*(int *)this + -0xc) + 0xc) & 0x4a) != 8))" ( (binary_expression "((*(uint *)(this + *(int *)(*(int *)this + -0xc) + 0xc) & 0x4a) != 0x40) &&\n     ((*(uint *)(this + *(int *)(*(int *)this + -0xc) + 0xc) & 0x4a) != 8)" (parenthesized_expression "((*(uint *)(this + *(int *)(*(int *)this + -0xc) + 0xc) & 0x4a) != 0x40)" ( (binary_expression "(*(uint *)(this + *(int *)(*(int *)this + -0xc) + 0xc) & 0x4a) != 0x40" (parenthesized_expression "(*(uint *)(this + *(int *)(*(int *)this + -0xc) + 0xc) & 0x4a)" ( (binary_expression "*(uint *)(this + *(int *)(*(int *)this + -0xc) + 0xc) & 0x4a" (pointer_expression "*(uint *)(this + *(int *)(*(int *)this + -0xc) + 0xc)" * (cast_expression "(uint *)(this + *(int *)(*(int *)this + -0xc) + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + *(int *)(*(int *)this + -0xc) + 0xc)" ( (binary_expression "this + *(int *)(*(int *)this + -0xc) + 0xc" (binary_expression "this + *(int *)(*(int *)this + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)this + -0xc)" * (cast_expression "(int *)(*(int *)this + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)this + -0xc)" ( (binary_expression "*(int *)this + -0xc" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) + number_literal) )))) & number_literal) )) != number_literal) )) && (parenthesized_expression "((*(uint *)(this + *(int *)(*(int *)this + -0xc) + 0xc) & 0x4a) != 8)" ( (binary_expression "(*(uint *)(this + *(int *)(*(int *)this + -0xc) + 0xc) & 0x4a) != 8" (parenthesized_expression "(*(uint *)(this + *(int *)(*(int *)this + -0xc) + 0xc) & 0x4a)" ( (binary_expression "*(uint *)(this + *(int *)(*(int *)this + -0xc) + 0xc) & 0x4a" (pointer_expression "*(uint *)(this + *(int *)(*(int *)this + -0xc) + 0xc)" * (cast_expression "(uint *)(this + *(int *)(*(int *)this + -0xc) + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + *(int *)(*(int *)this + -0xc) + 0xc)" ( (binary_expression "this + *(int *)(*(int *)this + -0xc) + 0xc" (binary_expression "this + *(int *)(*(int *)this + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)this + -0xc)" * (cast_expression "(int *)(*(int *)this + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)this + -0xc)" ( (binary_expression "*(int *)this + -0xc" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    _M_insert<long>(this,CONCAT22(in_register_00000014,param_1));\n    return;\n  }" { (expression_statement "_M_insert<long>(this,CONCAT22(in_register_00000014,param_1));" (binary_expression "_M_insert<long>(this,CONCAT22(in_register_00000014,param_1))" (binary_expression "_M_insert<long" identifier < identifier) > (parenthesized_expression "(this,CONCAT22(in_register_00000014,param_1))" ( (comma_expression "this,CONCAT22(in_register_00000014,param_1)" identifier , (call_expression "CONCAT22(in_register_00000014,param_1)" identifier (argument_list "(in_register_00000014,param_1)" ( identifier , identifier )))) ))) ;) (return_statement "return;" return ;) })) (expression_statement "_M_insert<long>(this,(uint)(ushort)param_1);" (update_expression "_M_insert<long>(this,(uint)(ushort)param_1)" (binary_expression "_M_insert<long>(this,(uint)(ushort)param_1)" (binary_expression "_M_insert<long" identifier < identifier) > (parenthesized_expression "(this,(uint)(ushort)param_1)" ( (comma_expression "this,(uint)(ushort)param_1" identifier , (cast_expression "(uint)(ushort)param_1" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(ushort)param_1" ( (type_descriptor "ushort" type_identifier) ) identifier))) ))) --) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_002c7618(ostream *param_1,uint param_2)\n\n{\n  if (((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 0x40) &&\n     ((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 8)) {\n    std::ostream::_M_insert<long>(param_1,param_2);\n    return;\n  }\n  std::ostream::_M_insert<long>(param_1,param_2 & 0xffff);\n  return;\n}\n\n" (function_definition "void FUN_002c7618(ostream *param_1,uint param_2)\n\n{\n  if (((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 0x40) &&\n     ((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 8)) {\n    std::ostream::_M_insert<long>(param_1,param_2);\n    return;\n  }\n  std::ostream::_M_insert<long>(param_1,param_2 & 0xffff);\n  return;\n}" primitive_type (function_declarator "FUN_002c7618(ostream *param_1,uint param_2)" identifier (parameter_list "(ostream *param_1,uint param_2)" ( (parameter_declaration "ostream *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  if (((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 0x40) &&\n     ((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 8)) {\n    std::ostream::_M_insert<long>(param_1,param_2);\n    return;\n  }\n  std::ostream::_M_insert<long>(param_1,param_2 & 0xffff);\n  return;\n}" { (if_statement "if (((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 0x40) &&\n     ((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 8)) {\n    std::ostream::_M_insert<long>(param_1,param_2);\n    return;\n  }" if (parenthesized_expression "(((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 0x40) &&\n     ((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 8))" ( (binary_expression "((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 0x40) &&\n     ((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 8)" (parenthesized_expression "((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 0x40)" ( (binary_expression "(*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 0x40" (parenthesized_expression "(*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a)" ( (binary_expression "*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a" (pointer_expression "*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc)" * (cast_expression "(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc)" ( (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc" (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) )))) & number_literal) )) != number_literal) )) && (parenthesized_expression "((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 8)" ( (binary_expression "(*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 8" (parenthesized_expression "(*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a)" ( (binary_expression "*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a" (pointer_expression "*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc)" * (cast_expression "(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc)" ( (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc" (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) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    std::ostream::_M_insert<long>(param_1,param_2);\n    return;\n  }" { (labeled_statement "std::ostream::_M_insert<long>(param_1,param_2);" statement_identifier : (ERROR ":" :) (labeled_statement "ostream::_M_insert<long>(param_1,param_2);" statement_identifier : (ERROR ":" :) (expression_statement "_M_insert<long>(param_1,param_2);" (binary_expression "_M_insert<long>(param_1,param_2)" (binary_expression "_M_insert<long" identifier < identifier) > (parenthesized_expression "(param_1,param_2)" ( (comma_expression "param_1,param_2" identifier , identifier) ))) ;))) (return_statement "return;" return ;) })) (labeled_statement "std::ostream::_M_insert<long>(param_1,param_2 & 0xffff);" statement_identifier : (ERROR ":" :) (labeled_statement "ostream::_M_insert<long>(param_1,param_2 & 0xffff);" statement_identifier : (ERROR ":" :) (expression_statement "_M_insert<long>(param_1,param_2 & 0xffff);" (binary_expression "_M_insert<long>(param_1,param_2 & 0xffff)" (binary_expression "_M_insert<long" identifier < identifier) > (parenthesized_expression "(param_1,param_2 & 0xffff)" ( (comma_expression "param_1,param_2 & 0xffff" identifier , (binary_expression "param_2 & 0xffff" identifier & number_literal)) ))) ;))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + LIT) ))))) + LIT) )))) & LIT) )) != LIT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + LIT) ))))) + LIT) )))) & LIT) )) != LIT) ))) )) (compound_statement { (labeled_statement statement_identifier : (ERROR :) (labeled_statement statement_identifier : (ERROR :) (expression_statement (binary_expression (binary_expression IDENT < IDENT) > (parenthesized_expression ( (comma_expression IDENT , IDENT) ))) ;))) (return_statement return ;) })) (labeled_statement statement_identifier : (ERROR :) (labeled_statement statement_identifier : (ERROR :) (expression_statement (binary_expression (binary_expression IDENT < IDENT) > (parenthesized_expression ( (comma_expression IDENT , (binary_expression IDENT & LIT)) ))) ;))) (return_statement return ;) })))
(function_definition "void FUN_002c7618(ostream *param_1,uint param_2)\n\n{\n  if (((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 0x40) &&\n     ((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 8)) {\n    std::ostream::_M_insert<long>(param_1,param_2);\n    return;\n  }\n  std::ostream::_M_insert<long>(param_1,param_2 & 0xffff);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002c7618(ostream *param_1,uint param_2)" (identifier "FUN_002c7618") (parameter_list "(ostream *param_1,uint param_2)" (( "(") (parameter_declaration "ostream *param_1" (type_identifier "ostream") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  if (((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 0x40) &&\n     ((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 8)) {\n    std::ostream::_M_insert<long>(param_1,param_2);\n    return;\n  }\n  std::ostream::_M_insert<long>(param_1,param_2 & 0xffff);\n  return;\n}" ({ "{") (if_statement "if (((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 0x40) &&\n     ((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 8)) {\n    std::ostream::_M_insert<long>(param_1,param_2);\n    return;\n  }" (if "if") (parenthesized_expression "(((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 0x40) &&\n     ((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 8))" (( "(") (binary_expression "((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 0x40) &&\n     ((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 8)" (parenthesized_expression "((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 0x40)" (( "(") (binary_expression "(*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 0x40" (parenthesized_expression "(*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a)" (( "(") (binary_expression "*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a" (pointer_expression "*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc)" (* "*") (cast_expression "(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc)" (( "(") (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc" (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc)" (identifier "param_1") (+ "+") (pointer_expression "*(int *)(*(int *)param_1 + -0xc)" (* "*") (cast_expression "(int *)(*(int *)param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (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 "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1"))) (+ "+") (number_literal "-0xc")) () ")"))))) (+ "+") (number_literal "0xc")) () ")")))) (& "&") (number_literal "0x4a")) () ")")) (!= "!=") (number_literal "0x40")) () ")")) (&& "&&") (parenthesized_expression "((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 8)" (( "(") (binary_expression "(*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 8" (parenthesized_expression "(*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a)" (( "(") (binary_expression "*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a" (pointer_expression "*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc)" (* "*") (cast_expression "(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc)" (( "(") (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc" (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc)" (identifier "param_1") (+ "+") (pointer_expression "*(int *)(*(int *)param_1 + -0xc)" (* "*") (cast_expression "(int *)(*(int *)param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (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 "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1"))) (+ "+") (number_literal "-0xc")) () ")"))))) (+ "+") (number_literal "0xc")) () ")")))) (& "&") (number_literal "0x4a")) () ")")) (!= "!=") (number_literal "8")) () ")"))) () ")")) (compound_statement "{\n    std::ostream::_M_insert<long>(param_1,param_2);\n    return;\n  }" ({ "{") (labeled_statement "std::ostream::_M_insert<long>(param_1,param_2);" (statement_identifier "std") (: ":") (ERROR ":" (: ":")) (labeled_statement "ostream::_M_insert<long>(param_1,param_2);" (statement_identifier "ostream") (: ":") (ERROR ":" (: ":")) (expression_statement "_M_insert<long>(param_1,param_2);" (binary_expression "_M_insert<long>(param_1,param_2)" (binary_expression "_M_insert<long" (identifier "_M_insert") (< "<") (identifier "long")) (> ">") (parenthesized_expression "(param_1,param_2)" (( "(") (comma_expression "param_1,param_2" (identifier "param_1") (, ",") (identifier "param_2")) () ")"))) (; ";")))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (labeled_statement "std::ostream::_M_insert<long>(param_1,param_2 & 0xffff);" (statement_identifier "std") (: ":") (ERROR ":" (: ":")) (labeled_statement "ostream::_M_insert<long>(param_1,param_2 & 0xffff);" (statement_identifier "ostream") (: ":") (ERROR ":" (: ":")) (expression_statement "_M_insert<long>(param_1,param_2 & 0xffff);" (binary_expression "_M_insert<long>(param_1,param_2 & 0xffff)" (binary_expression "_M_insert<long" (identifier "_M_insert") (< "<") (identifier "long")) (> ">") (parenthesized_expression "(param_1,param_2 & 0xffff)" (( "(") (comma_expression "param_1,param_2 & 0xffff" (identifier "param_1") (, ",") (binary_expression "param_2 & 0xffff" (identifier "param_2") (& "&") (number_literal "0xffff"))) () ")"))) (; ";")))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (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: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal)))))) right: (number_literal))))) right: (number_literal))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (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: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal)))))) right: (number_literal))))) right: (number_literal))) right: (number_literal))))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (ERROR) (labeled_statement label: (statement_identifier) (ERROR) (expression_statement (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (parenthesized_expression (comma_expression left: (identifier) right: (identifier))))))) (return_statement))) (labeled_statement label: (statement_identifier) (ERROR) (labeled_statement label: (statement_identifier) (ERROR) (expression_statement (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (parenthesized_expression (comma_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))))) (return_statement))))

void MASKED(ostream *param_1,uint param_2)

{
  if (((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 0x40) &&
     ((*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0xc) & 0x4a) != 8)) {
    std::ostream::_M_insert<long>(param_1,param_2);
    return;
  }
  std::ostream::_M_insert<long>(param_1,param_2 & 0xffff);
  return;
}

