
/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */
/* std::streambuf::pubsetbuf(char*, int) */

void std::streambuf::pubsetbuf(char *param_1,int param_2)

{
  if (*(code **)(*(int *)param_1 + 0xc) == (code *)PTR_setbuf_0038eeec) {
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x001f22a0. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(*(int *)param_1 + 0xc))();
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

void FUN_001f2280(int *param_1)

{
  if (*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0038eeec) {
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x001f22a0. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(*param_1 + 0xc))();
  return;
}


CALL 0x000650b8
ADD ECX,0x19cd7b
MOV EAX,dword ptr [ESP + 0x4]
MOV EDX,dword ptr [EAX]
MOV EDX,dword ptr [EDX + 0xc]
CMP EDX,dword ptr [ECX + 0xfffffeec]
JNZ 0x001f22a0
RET
JMP EDX
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nvoid FUN_001f2280(int *param_1)\n\n{\n  if (*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0038eeec) {\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x001f22a0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(*param_1 + 0xc))();\n  return;\n}\n\n" comment (function_definition "void FUN_001f2280(int *param_1)\n\n{\n  if (*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0038eeec) {\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x001f22a0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(*param_1 + 0xc))();\n  return;\n}" primitive_type (function_declarator "FUN_001f2280(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  if (*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0038eeec) {\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x001f22a0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(*param_1 + 0xc))();\n  return;\n}" { (if_statement "if (*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0038eeec) {\n    return;\n  }" if (parenthesized_expression "(*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0038eeec)" ( (binary_expression "*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0038eeec" (pointer_expression "*(code **)(*param_1 + 0xc)" * (cast_expression "(code **)(*param_1 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0xc)" ( (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))) == (cast_expression "(code *)PTR_FUN_0038eeec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment comment (expression_statement "(**(code **)(*param_1 + 0xc))();" (call_expression "(**(code **)(*param_1 + 0xc))()" (parenthesized_expression "(**(code **)(*param_1 + 0xc))" ( (pointer_expression "**(code **)(*param_1 + 0xc)" * (pointer_expression "*(code **)(*param_1 + 0xc)" * (cast_expression "(code **)(*param_1 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0xc)" ( (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n/* std::streambuf::pubsetbuf(char*, int) */\n\nvoid std::streambuf::pubsetbuf(char *param_1,int param_2)\n\n{\n  if (*(code **)(*(int *)param_1 + 0xc) == (code *)PTR_setbuf_0038eeec) {\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x001f22a0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(*(int *)param_1 + 0xc))();\n  return;\n}\n\n" comment comment (function_definition "void std::streambuf::pubsetbuf(char *param_1,int param_2)\n\n{\n  if (*(code **)(*(int *)param_1 + 0xc) == (code *)PTR_setbuf_0038eeec) {\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x001f22a0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(*(int *)param_1 + 0xc))();\n  return;\n}" primitive_type (ERROR "std::streambuf::" identifier : : identifier : :) (function_declarator "pubsetbuf(char *param_1,int param_2)" identifier (parameter_list "(char *param_1,int param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if (*(code **)(*(int *)param_1 + 0xc) == (code *)PTR_setbuf_0038eeec) {\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x001f22a0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(*(int *)param_1 + 0xc))();\n  return;\n}" { (if_statement "if (*(code **)(*(int *)param_1 + 0xc) == (code *)PTR_setbuf_0038eeec) {\n    return;\n  }" if (parenthesized_expression "(*(code **)(*(int *)param_1 + 0xc) == (code *)PTR_setbuf_0038eeec)" ( (binary_expression "*(code **)(*(int *)param_1 + 0xc) == (code *)PTR_setbuf_0038eeec" (pointer_expression "*(code **)(*(int *)param_1 + 0xc)" * (cast_expression "(code **)(*(int *)param_1 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (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) )))) == (cast_expression "(code *)PTR_setbuf_0038eeec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment comment (expression_statement "(**(code **)(*(int *)param_1 + 0xc))();" (call_expression "(**(code **)(*(int *)param_1 + 0xc))()" (parenthesized_expression "(**(code **)(*(int *)param_1 + 0xc))" ( (pointer_expression "**(code **)(*(int *)param_1 + 0xc)" * (pointer_expression "*(code **)(*(int *)param_1 + 0xc)" * (cast_expression "(code **)(*(int *)param_1 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (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) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001f2280(int *param_1)\n\n{\n  if (*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0038eeec) {\n    return;\n  }\n                    \n                    \n  (**(code **)(*param_1 + 0xc))();\n  return;\n}\n\n" (function_definition "void FUN_001f2280(int *param_1)\n\n{\n  if (*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0038eeec) {\n    return;\n  }\n                    \n                    \n  (**(code **)(*param_1 + 0xc))();\n  return;\n}" primitive_type (function_declarator "FUN_001f2280(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  if (*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0038eeec) {\n    return;\n  }\n                    \n                    \n  (**(code **)(*param_1 + 0xc))();\n  return;\n}" { (if_statement "if (*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0038eeec) {\n    return;\n  }" if (parenthesized_expression "(*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0038eeec)" ( (binary_expression "*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0038eeec" (pointer_expression "*(code **)(*param_1 + 0xc)" * (cast_expression "(code **)(*param_1 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0xc)" ( (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))) == (cast_expression "(code *)PTR_FUN_0038eeec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "(**(code **)(*param_1 + 0xc))();" (call_expression "(**(code **)(*param_1 + 0xc))()" (parenthesized_expression "(**(code **)(*param_1 + 0xc))" ( (pointer_expression "**(code **)(*param_1 + 0xc)" * (pointer_expression "*(code **)(*param_1 + 0xc)" * (cast_expression "(code **)(*param_1 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0xc)" ( (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_001f2280(int *param_1)\n\n{\n  if (*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0038eeec) {\n    return;\n  }\n                    \n                    \n  (**(code **)(*param_1 + 0xc))();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001f2280(int *param_1)" (identifier "FUN_001f2280") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  if (*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0038eeec) {\n    return;\n  }\n                    \n                    \n  (**(code **)(*param_1 + 0xc))();\n  return;\n}" ({ "{") (if_statement "if (*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0038eeec) {\n    return;\n  }" (if "if") (parenthesized_expression "(*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0038eeec)" (( "(") (binary_expression "*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0038eeec" (pointer_expression "*(code **)(*param_1 + 0xc)" (* "*") (cast_expression "(code **)(*param_1 + 0xc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0xc)" (( "(") (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0xc")) () ")")))) (== "==") (cast_expression "(code *)PTR_FUN_0038eeec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_0038eeec"))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(**(code **)(*param_1 + 0xc))();" (call_expression "(**(code **)(*param_1 + 0xc))()" (parenthesized_expression "(**(code **)(*param_1 + 0xc))" (( "(") (pointer_expression "**(code **)(*param_1 + 0xc)" (* "*") (pointer_expression "*(code **)(*param_1 + 0xc)" (* "*") (cast_expression "(code **)(*param_1 + 0xc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0xc)" (( "(") (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0xc")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */
/* std::streambuf::pubsetbuf(char*, int) */

void std::streambuf::function_1(char *param_1,int param_2)

{
  if (*(type_1 **)(*(int *)param_1 + 0xc) == (type_1 *)PTR_setbuf_0038eeec) {
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x001f22a0. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(type_1 **)(*(int *)param_1 + 0xc))();
  return;
}


(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))))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (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))))) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) consequence: (compound_statement (return_statement))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

void MASKED(int *param_1)

{
  if (*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0038eeec) {
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x001f22a0. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(*param_1 + 0xc))();
  return;
}

