
/* std::wfilebuf::_M_create_pback() */

void __thiscall std::wfilebuf::_M_create_pback(wfilebuf *this)

{
  if (this[0x74] == (wfilebuf)0x0) {
    this[0x74] = (wfilebuf)0x1;
    *(undefined4 *)(this + 0x6c) = *(undefined4 *)(this + 8);
    *(undefined4 *)(this + 0x70) = *(undefined4 *)(this + 0xc);
    *(wfilebuf **)(this + 4) = this + 0x68;
    *(wfilebuf **)(this + 8) = this + 0x68;
    *(wfilebuf **)(this + 0xc) = this + 0x6c;
  }
  return;
}



void FUN_001aebd0(int param_1)

{
  if (*(char *)(param_1 + 0x74) == '\0') {
    *(undefined1 *)(param_1 + 0x74) = 1;
    *(undefined4 *)(param_1 + 0x6c) = *(undefined4 *)(param_1 + 8);
    *(undefined4 *)(param_1 + 0x70) = *(undefined4 *)(param_1 + 0xc);
    *(int *)(param_1 + 4) = param_1 + 0x68;
    *(int *)(param_1 + 8) = param_1 + 0x68;
    *(int *)(param_1 + 0xc) = param_1 + 0x6c;
  }
  return;
}


MOV EAX,dword ptr [ESP + 0x4]
CMP byte ptr [EAX + 0x74],0x0
JNZ 0x001aebf9
MOV EDX,dword ptr [EAX + 0x8]
MOV byte ptr [EAX + 0x74],0x1
MOV dword ptr [EAX + 0x6c],EDX
MOV EDX,dword ptr [EAX + 0xc]
MOV dword ptr [EAX + 0x70],EDX
LEA EDX,[EAX + 0x68]
MOV dword ptr [EAX + 0x4],EDX
MOV dword ptr [EAX + 0x8],EDX
LEA EDX,[EAX + 0x6c]
MOV dword ptr [EAX + 0xc],EDX
RET
(translation_unit "void FUN_001aebd0(int param_1)\n\n{\n  if (*(char *)(param_1 + 0x74) == '\0') {\n    *(undefined1 *)(param_1 + 0x74) = 1;\n    *(undefined4 *)(param_1 + 0x6c) = *(undefined4 *)(param_1 + 8);\n    *(undefined4 *)(param_1 + 0x70) = *(undefined4 *)(param_1 + 0xc);\n    *(int *)(param_1 + 4) = param_1 + 0x68;\n    *(int *)(param_1 + 8) = param_1 + 0x68;\n    *(int *)(param_1 + 0xc) = param_1 + 0x6c;\n  }\n  return;\n}\n\n" (function_definition "void FUN_001aebd0(int param_1)\n\n{\n  if (*(char *)(param_1 + 0x74) == '\0') {\n    *(undefined1 *)(param_1 + 0x74) = 1;\n    *(undefined4 *)(param_1 + 0x6c) = *(undefined4 *)(param_1 + 8);\n    *(undefined4 *)(param_1 + 0x70) = *(undefined4 *)(param_1 + 0xc);\n    *(int *)(param_1 + 4) = param_1 + 0x68;\n    *(int *)(param_1 + 8) = param_1 + 0x68;\n    *(int *)(param_1 + 0xc) = param_1 + 0x6c;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001aebd0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (*(char *)(param_1 + 0x74) == '\0') {\n    *(undefined1 *)(param_1 + 0x74) = 1;\n    *(undefined4 *)(param_1 + 0x6c) = *(undefined4 *)(param_1 + 8);\n    *(undefined4 *)(param_1 + 0x70) = *(undefined4 *)(param_1 + 0xc);\n    *(int *)(param_1 + 4) = param_1 + 0x68;\n    *(int *)(param_1 + 8) = param_1 + 0x68;\n    *(int *)(param_1 + 0xc) = param_1 + 0x6c;\n  }\n  return;\n}" { (if_statement "if (*(char *)(param_1 + 0x74) == '\0') {\n    *(undefined1 *)(param_1 + 0x74) = 1;\n    *(undefined4 *)(param_1 + 0x6c) = *(undefined4 *)(param_1 + 8);\n    *(undefined4 *)(param_1 + 0x70) = *(undefined4 *)(param_1 + 0xc);\n    *(int *)(param_1 + 4) = param_1 + 0x68;\n    *(int *)(param_1 + 8) = param_1 + 0x68;\n    *(int *)(param_1 + 0xc) = param_1 + 0x6c;\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x74) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x74) == '\0'" (pointer_expression "*(char *)(param_1 + 0x74)" * (cast_expression "(char *)(param_1 + 0x74)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x74)" ( (binary_expression "param_1 + 0x74" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    *(undefined1 *)(param_1 + 0x74) = 1;\n    *(undefined4 *)(param_1 + 0x6c) = *(undefined4 *)(param_1 + 8);\n    *(undefined4 *)(param_1 + 0x70) = *(undefined4 *)(param_1 + 0xc);\n    *(int *)(param_1 + 4) = param_1 + 0x68;\n    *(int *)(param_1 + 8) = param_1 + 0x68;\n    *(int *)(param_1 + 0xc) = param_1 + 0x6c;\n  }" { (expression_statement "*(undefined1 *)(param_1 + 0x74) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x74) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x74)" * (cast_expression "(undefined1 *)(param_1 + 0x74)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x74)" ( (binary_expression "param_1 + 0x74" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x6c) = *(undefined4 *)(param_1 + 8);" (assignment_expression "*(undefined4 *)(param_1 + 0x6c) = *(undefined4 *)(param_1 + 8)" (pointer_expression "*(undefined4 *)(param_1 + 0x6c)" * (cast_expression "(undefined4 *)(param_1 + 0x6c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x6c)" ( (binary_expression "param_1 + 0x6c" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x70) = *(undefined4 *)(param_1 + 0xc);" (assignment_expression "*(undefined4 *)(param_1 + 0x70) = *(undefined4 *)(param_1 + 0xc)" (pointer_expression "*(undefined4 *)(param_1 + 0x70)" * (cast_expression "(undefined4 *)(param_1 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x70)" ( (binary_expression "param_1 + 0x70" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(param_1 + 4) = param_1 + 0x68;" (assignment_expression "*(int *)(param_1 + 4) = param_1 + 0x68" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = (binary_expression "param_1 + 0x68" identifier + number_literal)) ;) (expression_statement "*(int *)(param_1 + 8) = param_1 + 0x68;" (assignment_expression "*(int *)(param_1 + 8) = param_1 + 0x68" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = (binary_expression "param_1 + 0x68" identifier + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0xc) = param_1 + 0x6c;" (assignment_expression "*(int *)(param_1 + 0xc) = param_1 + 0x6c" (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" identifier + number_literal) )))) = (binary_expression "param_1 + 0x6c" identifier + number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* std::wfilebuf::_M_create_pback() */\n\nvoid __thiscall std::wfilebuf::_M_create_pback(wfilebuf *this)\n\n{\n  if (this[0x74] == (wfilebuf)0x0) {\n    this[0x74] = (wfilebuf)0x1;\n    *(undefined4 *)(this + 0x6c) = *(undefined4 *)(this + 8);\n    *(undefined4 *)(this + 0x70) = *(undefined4 *)(this + 0xc);\n    *(wfilebuf **)(this + 4) = this + 0x68;\n    *(wfilebuf **)(this + 8) = this + 0x68;\n    *(wfilebuf **)(this + 0xc) = this + 0x6c;\n  }\n  return;\n}\n\n" comment (function_definition "void __thiscall std::wfilebuf::_M_create_pback(wfilebuf *this)\n\n{\n  if (this[0x74] == (wfilebuf)0x0) {\n    this[0x74] = (wfilebuf)0x1;\n    *(undefined4 *)(this + 0x6c) = *(undefined4 *)(this + 8);\n    *(undefined4 *)(this + 0x70) = *(undefined4 *)(this + 0xc);\n    *(wfilebuf **)(this + 4) = this + 0x68;\n    *(wfilebuf **)(this + 8) = this + 0x68;\n    *(wfilebuf **)(this + 0xc) = this + 0x6c;\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wfilebuf::" identifier : : identifier : :) (function_declarator "_M_create_pback(wfilebuf *this)" identifier (parameter_list "(wfilebuf *this)" ( (parameter_declaration "wfilebuf *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  if (this[0x74] == (wfilebuf)0x0) {\n    this[0x74] = (wfilebuf)0x1;\n    *(undefined4 *)(this + 0x6c) = *(undefined4 *)(this + 8);\n    *(undefined4 *)(this + 0x70) = *(undefined4 *)(this + 0xc);\n    *(wfilebuf **)(this + 4) = this + 0x68;\n    *(wfilebuf **)(this + 8) = this + 0x68;\n    *(wfilebuf **)(this + 0xc) = this + 0x6c;\n  }\n  return;\n}" { (if_statement "if (this[0x74] == (wfilebuf)0x0) {\n    this[0x74] = (wfilebuf)0x1;\n    *(undefined4 *)(this + 0x6c) = *(undefined4 *)(this + 8);\n    *(undefined4 *)(this + 0x70) = *(undefined4 *)(this + 0xc);\n    *(wfilebuf **)(this + 4) = this + 0x68;\n    *(wfilebuf **)(this + 8) = this + 0x68;\n    *(wfilebuf **)(this + 0xc) = this + 0x6c;\n  }" if (parenthesized_expression "(this[0x74] == (wfilebuf)0x0)" ( (binary_expression "this[0x74] == (wfilebuf)0x0" (subscript_expression "this[0x74]" identifier [ number_literal ]) == (cast_expression "(wfilebuf)0x0" ( (type_descriptor "wfilebuf" type_identifier) ) number_literal)) )) (compound_statement "{\n    this[0x74] = (wfilebuf)0x1;\n    *(undefined4 *)(this + 0x6c) = *(undefined4 *)(this + 8);\n    *(undefined4 *)(this + 0x70) = *(undefined4 *)(this + 0xc);\n    *(wfilebuf **)(this + 4) = this + 0x68;\n    *(wfilebuf **)(this + 8) = this + 0x68;\n    *(wfilebuf **)(this + 0xc) = this + 0x6c;\n  }" { (expression_statement "this[0x74] = (wfilebuf)0x1;" (assignment_expression "this[0x74] = (wfilebuf)0x1" (subscript_expression "this[0x74]" identifier [ number_literal ]) = (cast_expression "(wfilebuf)0x1" ( (type_descriptor "wfilebuf" type_identifier) ) number_literal)) ;) (expression_statement "*(undefined4 *)(this + 0x6c) = *(undefined4 *)(this + 8);" (assignment_expression "*(undefined4 *)(this + 0x6c) = *(undefined4 *)(this + 8)" (pointer_expression "*(undefined4 *)(this + 0x6c)" * (cast_expression "(undefined4 *)(this + 0x6c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x6c)" ( (binary_expression "this + 0x6c" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(this + 8)" * (cast_expression "(undefined4 *)(this + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(this + 0x70) = *(undefined4 *)(this + 0xc);" (assignment_expression "*(undefined4 *)(this + 0x70) = *(undefined4 *)(this + 0xc)" (pointer_expression "*(undefined4 *)(this + 0x70)" * (cast_expression "(undefined4 *)(this + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x70)" ( (binary_expression "this + 0x70" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(this + 0xc)" * (cast_expression "(undefined4 *)(this + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) ))))) ;) (expression_statement "*(wfilebuf **)(this + 4) = this + 0x68;" (assignment_expression "*(wfilebuf **)(this + 4) = this + 0x68" (pointer_expression "*(wfilebuf **)(this + 4)" * (cast_expression "(wfilebuf **)(this + 4)" ( (type_descriptor "wfilebuf **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = (binary_expression "this + 0x68" identifier + number_literal)) ;) (expression_statement "*(wfilebuf **)(this + 8) = this + 0x68;" (assignment_expression "*(wfilebuf **)(this + 8) = this + 0x68" (pointer_expression "*(wfilebuf **)(this + 8)" * (cast_expression "(wfilebuf **)(this + 8)" ( (type_descriptor "wfilebuf **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = (binary_expression "this + 0x68" identifier + number_literal)) ;) (expression_statement "*(wfilebuf **)(this + 0xc) = this + 0x6c;" (assignment_expression "*(wfilebuf **)(this + 0xc) = this + 0x6c" (pointer_expression "*(wfilebuf **)(this + 0xc)" * (cast_expression "(wfilebuf **)(this + 0xc)" ( (type_descriptor "wfilebuf **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) )))) = (binary_expression "this + 0x6c" identifier + number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001aebd0(int param_1)\n\n{\n  if (*(char *)(param_1 + 0x74) == '\0') {\n    *(undefined1 *)(param_1 + 0x74) = 1;\n    *(undefined4 *)(param_1 + 0x6c) = *(undefined4 *)(param_1 + 8);\n    *(undefined4 *)(param_1 + 0x70) = *(undefined4 *)(param_1 + 0xc);\n    *(int *)(param_1 + 4) = param_1 + 0x68;\n    *(int *)(param_1 + 8) = param_1 + 0x68;\n    *(int *)(param_1 + 0xc) = param_1 + 0x6c;\n  }\n  return;\n}\n\n" (function_definition "void FUN_001aebd0(int param_1)\n\n{\n  if (*(char *)(param_1 + 0x74) == '\0') {\n    *(undefined1 *)(param_1 + 0x74) = 1;\n    *(undefined4 *)(param_1 + 0x6c) = *(undefined4 *)(param_1 + 8);\n    *(undefined4 *)(param_1 + 0x70) = *(undefined4 *)(param_1 + 0xc);\n    *(int *)(param_1 + 4) = param_1 + 0x68;\n    *(int *)(param_1 + 8) = param_1 + 0x68;\n    *(int *)(param_1 + 0xc) = param_1 + 0x6c;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001aebd0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (*(char *)(param_1 + 0x74) == '\0') {\n    *(undefined1 *)(param_1 + 0x74) = 1;\n    *(undefined4 *)(param_1 + 0x6c) = *(undefined4 *)(param_1 + 8);\n    *(undefined4 *)(param_1 + 0x70) = *(undefined4 *)(param_1 + 0xc);\n    *(int *)(param_1 + 4) = param_1 + 0x68;\n    *(int *)(param_1 + 8) = param_1 + 0x68;\n    *(int *)(param_1 + 0xc) = param_1 + 0x6c;\n  }\n  return;\n}" { (if_statement "if (*(char *)(param_1 + 0x74) == '\0') {\n    *(undefined1 *)(param_1 + 0x74) = 1;\n    *(undefined4 *)(param_1 + 0x6c) = *(undefined4 *)(param_1 + 8);\n    *(undefined4 *)(param_1 + 0x70) = *(undefined4 *)(param_1 + 0xc);\n    *(int *)(param_1 + 4) = param_1 + 0x68;\n    *(int *)(param_1 + 8) = param_1 + 0x68;\n    *(int *)(param_1 + 0xc) = param_1 + 0x6c;\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x74) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x74) == '\0'" (pointer_expression "*(char *)(param_1 + 0x74)" * (cast_expression "(char *)(param_1 + 0x74)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x74)" ( (binary_expression "param_1 + 0x74" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    *(undefined1 *)(param_1 + 0x74) = 1;\n    *(undefined4 *)(param_1 + 0x6c) = *(undefined4 *)(param_1 + 8);\n    *(undefined4 *)(param_1 + 0x70) = *(undefined4 *)(param_1 + 0xc);\n    *(int *)(param_1 + 4) = param_1 + 0x68;\n    *(int *)(param_1 + 8) = param_1 + 0x68;\n    *(int *)(param_1 + 0xc) = param_1 + 0x6c;\n  }" { (expression_statement "*(undefined1 *)(param_1 + 0x74) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x74) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x74)" * (cast_expression "(undefined1 *)(param_1 + 0x74)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x74)" ( (binary_expression "param_1 + 0x74" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x6c) = *(undefined4 *)(param_1 + 8);" (assignment_expression "*(undefined4 *)(param_1 + 0x6c) = *(undefined4 *)(param_1 + 8)" (pointer_expression "*(undefined4 *)(param_1 + 0x6c)" * (cast_expression "(undefined4 *)(param_1 + 0x6c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x6c)" ( (binary_expression "param_1 + 0x6c" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x70) = *(undefined4 *)(param_1 + 0xc);" (assignment_expression "*(undefined4 *)(param_1 + 0x70) = *(undefined4 *)(param_1 + 0xc)" (pointer_expression "*(undefined4 *)(param_1 + 0x70)" * (cast_expression "(undefined4 *)(param_1 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x70)" ( (binary_expression "param_1 + 0x70" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(param_1 + 4) = param_1 + 0x68;" (assignment_expression "*(int *)(param_1 + 4) = param_1 + 0x68" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = (binary_expression "param_1 + 0x68" identifier + number_literal)) ;) (expression_statement "*(int *)(param_1 + 8) = param_1 + 0x68;" (assignment_expression "*(int *)(param_1 + 8) = param_1 + 0x68" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = (binary_expression "param_1 + 0x68" identifier + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0xc) = param_1 + 0x6c;" (assignment_expression "*(int *)(param_1 + 0xc) = param_1 + 0x6c" (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" identifier + number_literal) )))) = (binary_expression "param_1 + 0x6c" identifier + number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (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) )))) = (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) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) })) (return_statement return ;) })))
(function_definition "void FUN_001aebd0(int param_1)\n\n{\n  if (*(char *)(param_1 + 0x74) == '\0') {\n    *(undefined1 *)(param_1 + 0x74) = 1;\n    *(undefined4 *)(param_1 + 0x6c) = *(undefined4 *)(param_1 + 8);\n    *(undefined4 *)(param_1 + 0x70) = *(undefined4 *)(param_1 + 0xc);\n    *(int *)(param_1 + 4) = param_1 + 0x68;\n    *(int *)(param_1 + 8) = param_1 + 0x68;\n    *(int *)(param_1 + 0xc) = param_1 + 0x6c;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001aebd0(int param_1)" (identifier "FUN_001aebd0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  if (*(char *)(param_1 + 0x74) == '\0') {\n    *(undefined1 *)(param_1 + 0x74) = 1;\n    *(undefined4 *)(param_1 + 0x6c) = *(undefined4 *)(param_1 + 8);\n    *(undefined4 *)(param_1 + 0x70) = *(undefined4 *)(param_1 + 0xc);\n    *(int *)(param_1 + 4) = param_1 + 0x68;\n    *(int *)(param_1 + 8) = param_1 + 0x68;\n    *(int *)(param_1 + 0xc) = param_1 + 0x6c;\n  }\n  return;\n}" ({ "{") (if_statement "if (*(char *)(param_1 + 0x74) == '\0') {\n    *(undefined1 *)(param_1 + 0x74) = 1;\n    *(undefined4 *)(param_1 + 0x6c) = *(undefined4 *)(param_1 + 8);\n    *(undefined4 *)(param_1 + 0x70) = *(undefined4 *)(param_1 + 0xc);\n    *(int *)(param_1 + 4) = param_1 + 0x68;\n    *(int *)(param_1 + 8) = param_1 + 0x68;\n    *(int *)(param_1 + 0xc) = param_1 + 0x6c;\n  }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 0x74) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + 0x74) == '\0'" (pointer_expression "*(char *)(param_1 + 0x74)" (* "*") (cast_expression "(char *)(param_1 + 0x74)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x74)" (( "(") (binary_expression "param_1 + 0x74" (identifier "param_1") (+ "+") (number_literal "0x74")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    *(undefined1 *)(param_1 + 0x74) = 1;\n    *(undefined4 *)(param_1 + 0x6c) = *(undefined4 *)(param_1 + 8);\n    *(undefined4 *)(param_1 + 0x70) = *(undefined4 *)(param_1 + 0xc);\n    *(int *)(param_1 + 4) = param_1 + 0x68;\n    *(int *)(param_1 + 8) = param_1 + 0x68;\n    *(int *)(param_1 + 0xc) = param_1 + 0x6c;\n  }" ({ "{") (expression_statement "*(undefined1 *)(param_1 + 0x74) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x74) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x74)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x74)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x74)" (( "(") (binary_expression "param_1 + 0x74" (identifier "param_1") (+ "+") (number_literal "0x74")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x6c) = *(undefined4 *)(param_1 + 8);" (assignment_expression "*(undefined4 *)(param_1 + 0x6c) = *(undefined4 *)(param_1 + 8)" (pointer_expression "*(undefined4 *)(param_1 + 0x6c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x6c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x6c)" (( "(") (binary_expression "param_1 + 0x6c" (identifier "param_1") (+ "+") (number_literal "0x6c")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x70) = *(undefined4 *)(param_1 + 0xc);" (assignment_expression "*(undefined4 *)(param_1 + 0x70) = *(undefined4 *)(param_1 + 0xc)" (pointer_expression "*(undefined4 *)(param_1 + 0x70)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x70)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x70)" (( "(") (binary_expression "param_1 + 0x70" (identifier "param_1") (+ "+") (number_literal "0x70")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "*(int *)(param_1 + 4) = param_1 + 0x68;" (assignment_expression "*(int *)(param_1 + 4) = param_1 + 0x68" (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (= "=") (binary_expression "param_1 + 0x68" (identifier "param_1") (+ "+") (number_literal "0x68"))) (; ";")) (expression_statement "*(int *)(param_1 + 8) = param_1 + 0x68;" (assignment_expression "*(int *)(param_1 + 8) = param_1 + 0x68" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (= "=") (binary_expression "param_1 + 0x68" (identifier "param_1") (+ "+") (number_literal "0x68"))) (; ";")) (expression_statement "*(int *)(param_1 + 0xc) = param_1 + 0x6c;" (assignment_expression "*(int *)(param_1 + 0xc) = param_1 + 0x6c" (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" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (binary_expression "param_1 + 0x6c" (identifier "param_1") (+ "+") (number_literal "0x6c"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::wfilebuf::_M_create_pback() */

void __thiscall std::type_1::function_1(type_1 *var_1)

{
  if (var_1[0x74] == (type_1)0x0) {
    var_1[0x74] = (type_1)0x1;
    *(type_2 *)(var_1 + 0x6c) = *(type_2 *)(var_1 + 8);
    *(type_2 *)(var_1 + 0x70) = *(type_2 *)(var_1 + 0xc);
    *(type_1 **)(var_1 + 4) = var_1 + 0x68;
    *(type_1 **)(var_1 + 8) = var_1 + 0x68;
    *(type_1 **)(var_1 + 0xc) = var_1 + 0x6c;
  }
  return;
}


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

void MASKED(int param_1)

{
  if (*(char *)(param_1 + 0x74) == '\0') {
    *(undefined1 *)(param_1 + 0x74) = 1;
    *(undefined4 *)(param_1 + 0x6c) = *(undefined4 *)(param_1 + 8);
    *(undefined4 *)(param_1 + 0x70) = *(undefined4 *)(param_1 + 0xc);
    *(int *)(param_1 + 4) = param_1 + 0x68;
    *(int *)(param_1 + 8) = param_1 + 0x68;
    *(int *)(param_1 + 0xc) = param_1 + 0x6c;
  }
  return;
}

