
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::wios::rdbuf(std::wstreambuf*) */

void std::wios::rdbuf(wstreambuf *param_1)

{
}



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

undefined4 FUN_003d8ad0(int param_1,undefined4 param_2)

{
  undefined4 uVar1;
  
  uVar1 = *(undefined4 *)(param_1 + 0x7c);
  *(undefined4 *)(param_1 + 0x7c) = param_2;
  FUN_003d8970(param_1,0);
  return uVar1;
}


PUSH ESI
PUSH EBX
CALL 0x00050b50
ADD EBX,0x211529
SUB ESP,0xc
MOV EDX,dword ptr [ESP + 0x18]
MOV EAX,dword ptr [ESP + 0x1c]
MOV ESI,dword ptr [EDX + 0x7c]
MOV dword ptr [EDX + 0x7c],EAX
PUSH 0x0
PUSH EDX
CALL 0x003d8970
ADD ESP,0x14
MOV EAX,ESI
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_003d8ad0(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(param_1 + 0x7c);\n  *(undefined4 *)(param_1 + 0x7c) = param_2;\n  FUN_003d8970(param_1,0);\n  return uVar1;\n}\n\n" comment (function_definition "undefined4 FUN_003d8ad0(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(param_1 + 0x7c);\n  *(undefined4 *)(param_1 + 0x7c) = param_2;\n  FUN_003d8970(param_1,0);\n  return uVar1;\n}" type_identifier (function_declarator "FUN_003d8ad0(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(param_1 + 0x7c);\n  *(undefined4 *)(param_1 + 0x7c) = param_2;\n  FUN_003d8970(param_1,0);\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0x7c);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0x7c)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x7c)" * (cast_expression "(undefined4 *)(param_1 + 0x7c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x7c)" ( (binary_expression "param_1 + 0x7c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x7c) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + 0x7c) = param_2" (pointer_expression "*(undefined4 *)(param_1 + 0x7c)" * (cast_expression "(undefined4 *)(param_1 + 0x7c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x7c)" ( (binary_expression "param_1 + 0x7c" identifier + number_literal) )))) = identifier) ;) (expression_statement "FUN_003d8970(param_1,0);" (call_expression "FUN_003d8970(param_1,0)" identifier (argument_list "(param_1,0)" ( identifier , number_literal ))) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::wios::rdbuf(std::wstreambuf*) */\n\nvoid std::wios::rdbuf(wstreambuf *param_1)\n\n{\n}\n\n" comment comment (function_definition "void std::wios::rdbuf(wstreambuf *param_1)\n\n{\n}" primitive_type (ERROR "std::wios::" identifier : : identifier : :) (function_declarator "rdbuf(wstreambuf *param_1)" identifier (parameter_list "(wstreambuf *param_1)" ( (parameter_declaration "wstreambuf *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n}" { })))
(translation_unit "undefined4 FUN_003d8ad0(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(param_1 + 0x7c);\n  *(undefined4 *)(param_1 + 0x7c) = param_2;\n  FUN_003d8970(param_1,0);\n  return uVar1;\n}\n\n" (function_definition "undefined4 FUN_003d8ad0(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(param_1 + 0x7c);\n  *(undefined4 *)(param_1 + 0x7c) = param_2;\n  FUN_003d8970(param_1,0);\n  return uVar1;\n}" type_identifier (function_declarator "FUN_003d8ad0(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(param_1 + 0x7c);\n  *(undefined4 *)(param_1 + 0x7c) = param_2;\n  FUN_003d8970(param_1,0);\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0x7c);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0x7c)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x7c)" * (cast_expression "(undefined4 *)(param_1 + 0x7c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x7c)" ( (binary_expression "param_1 + 0x7c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x7c) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + 0x7c) = param_2" (pointer_expression "*(undefined4 *)(param_1 + 0x7c)" * (cast_expression "(undefined4 *)(param_1 + 0x7c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x7c)" ( (binary_expression "param_1 + 0x7c" identifier + number_literal) )))) = identifier) ;) (expression_statement "FUN_003d8970(param_1,0);" (call_expression "FUN_003d8970(param_1,0)" identifier (argument_list "(param_1,0)" ( identifier , number_literal ))) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_003d8ad0(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(param_1 + 0x7c);\n  *(undefined4 *)(param_1 + 0x7c) = param_2;\n  FUN_003d8970(param_1,0);\n  return uVar1;\n}" (type_identifier "undefined4") (function_declarator "FUN_003d8ad0(int param_1,undefined4 param_2)" (identifier "FUN_003d8ad0") (parameter_list "(int param_1,undefined4 param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(param_1 + 0x7c);\n  *(undefined4 *)(param_1 + 0x7c) = param_2;\n  FUN_003d8970(param_1,0);\n  return uVar1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0x7c);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0x7c)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x7c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x7c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x7c)" (( "(") (binary_expression "param_1 + 0x7c" (identifier "param_1") (+ "+") (number_literal "0x7c")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x7c) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + 0x7c) = param_2" (pointer_expression "*(undefined4 *)(param_1 + 0x7c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x7c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x7c)" (( "(") (binary_expression "param_1 + 0x7c" (identifier "param_1") (+ "+") (number_literal "0x7c")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "FUN_003d8970(param_1,0);" (call_expression "FUN_003d8970(param_1,0)" (identifier "FUN_003d8970") (argument_list "(param_1,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::wios::rdbuf(std::wstreambuf*) */

void std::wios::function_1(type_1 *param_1)

{
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))) (return_statement (identifier)))))

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

undefined4 MASKED(int param_1,undefined4 param_2)

{
  undefined4 uVar1;
  
  uVar1 = *(undefined4 *)(param_1 + 0x7c);
  *(undefined4 *)(param_1 + 0x7c) = param_2;
  FUN_003d8970(param_1,0);
  return uVar1;
}

