
/* std::ios_base::_M_init() */

void __thiscall std::ios_base::_M_init(ios_base *this)

{
  locale local_20 [16];
  
  *(undefined8 *)(this + 8) = 6;
  *(undefined8 *)(this + 0x10) = 0;
  *(undefined4 *)(this + 0x18) = 0x1002;
  locale::locale(local_20);
  locale::operator=((locale *)(this + 0xd0),local_20);
  locale::~locale(local_20);
  return;
}



void FUN_00324660(long param_1)

{
  undefined1 local_20 [16];
  
  *(undefined8 *)(param_1 + 8) = 6;
  *(undefined8 *)(param_1 + 0x10) = 0;
  *(undefined4 *)(param_1 + 0x18) = 0x1002;
  FUN_00324400(local_20);
  FUN_002dd120(param_1 + 0xd0,local_20);
  FUN_002dd1b0(local_20);
  return;
}


PUSH RBP
PUSH RBX
MOV RBX,RDI
SUB RSP,0x18
MOV qword ptr [RDI + 0x8],0x6
MOV qword ptr [RDI + 0x10],0x0
LEA RBP,[RSP + 0x8]
MOV dword ptr [RDI + 0x18],0x1002
MOV RDI,RBP
CALL 0x00324400
LEA RDI,[RBX + 0xd0]
MOV RSI,RBP
CALL 0x002dd120
MOV RDI,RBP
CALL 0x002dd1b0
ADD RSP,0x18
POP RBX
POP RBP
RET
(translation_unit "void FUN_00324660(long param_1)\n\n{\n  undefined1 local_20 [16];\n  \n  *(undefined8 *)(param_1 + 8) = 6;\n  *(undefined8 *)(param_1 + 0x10) = 0;\n  *(undefined4 *)(param_1 + 0x18) = 0x1002;\n  FUN_00324400(local_20);\n  FUN_002dd120(param_1 + 0xd0,local_20);\n  FUN_002dd1b0(local_20);\n  return;\n}\n\n" (function_definition "void FUN_00324660(long param_1)\n\n{\n  undefined1 local_20 [16];\n  \n  *(undefined8 *)(param_1 + 8) = 6;\n  *(undefined8 *)(param_1 + 0x10) = 0;\n  *(undefined4 *)(param_1 + 0x18) = 0x1002;\n  FUN_00324400(local_20);\n  FUN_002dd120(param_1 + 0xd0,local_20);\n  FUN_002dd1b0(local_20);\n  return;\n}" primitive_type (function_declarator "FUN_00324660(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  undefined1 local_20 [16];\n  \n  *(undefined8 *)(param_1 + 8) = 6;\n  *(undefined8 *)(param_1 + 0x10) = 0;\n  *(undefined4 *)(param_1 + 0x18) = 0x1002;\n  FUN_00324400(local_20);\n  FUN_002dd120(param_1 + 0xd0,local_20);\n  FUN_002dd1b0(local_20);\n  return;\n}" { (declaration "undefined1 local_20 [16];" type_identifier (array_declarator "local_20 [16]" identifier [ number_literal ]) ;) (expression_statement "*(undefined8 *)(param_1 + 8) = 6;" (assignment_expression "*(undefined8 *)(param_1 + 8) = 6" (pointer_expression "*(undefined8 *)(param_1 + 8)" * (cast_expression "(undefined8 *)(param_1 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(param_1 + 0x10) = 0;" (assignment_expression "*(undefined8 *)(param_1 + 0x10) = 0" (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x18) = 0x1002;" (assignment_expression "*(undefined4 *)(param_1 + 0x18) = 0x1002" (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00324400(local_20);" (call_expression "FUN_00324400(local_20)" identifier (argument_list "(local_20)" ( identifier ))) ;) (expression_statement "FUN_002dd120(param_1 + 0xd0,local_20);" (call_expression "FUN_002dd120(param_1 + 0xd0,local_20)" identifier (argument_list "(param_1 + 0xd0,local_20)" ( (binary_expression "param_1 + 0xd0" identifier + number_literal) , identifier ))) ;) (expression_statement "FUN_002dd1b0(local_20);" (call_expression "FUN_002dd1b0(local_20)" identifier (argument_list "(local_20)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::ios_base::_M_init() */\n\nvoid __thiscall std::ios_base::_M_init(ios_base *this)\n\n{\n  locale local_20 [16];\n  \n  *(undefined8 *)(this + 8) = 6;\n  *(undefined8 *)(this + 0x10) = 0;\n  *(undefined4 *)(this + 0x18) = 0x1002;\n  locale::locale(local_20);\n  locale::operator=((locale *)(this + 0xd0),local_20);\n  locale::~locale(local_20);\n  return;\n}\n\n" comment (function_definition "void __thiscall std::ios_base::_M_init(ios_base *this)\n\n{\n  locale local_20 [16];\n  \n  *(undefined8 *)(this + 8) = 6;\n  *(undefined8 *)(this + 0x10) = 0;\n  *(undefined4 *)(this + 0x18) = 0x1002;\n  locale::locale(local_20);\n  locale::operator=((locale *)(this + 0xd0),local_20);\n  locale::~locale(local_20);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::ios_base::" identifier : : identifier : :) (function_declarator "_M_init(ios_base *this)" identifier (parameter_list "(ios_base *this)" ( (parameter_declaration "ios_base *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  locale local_20 [16];\n  \n  *(undefined8 *)(this + 8) = 6;\n  *(undefined8 *)(this + 0x10) = 0;\n  *(undefined4 *)(this + 0x18) = 0x1002;\n  locale::locale(local_20);\n  locale::operator=((locale *)(this + 0xd0),local_20);\n  locale::~locale(local_20);\n  return;\n}" { (declaration "locale local_20 [16];" type_identifier (array_declarator "local_20 [16]" identifier [ number_literal ]) ;) (expression_statement "*(undefined8 *)(this + 8) = 6;" (assignment_expression "*(undefined8 *)(this + 8) = 6" (pointer_expression "*(undefined8 *)(this + 8)" * (cast_expression "(undefined8 *)(this + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(this + 0x10) = 0;" (assignment_expression "*(undefined8 *)(this + 0x10) = 0" (pointer_expression "*(undefined8 *)(this + 0x10)" * (cast_expression "(undefined8 *)(this + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x18) = 0x1002;" (assignment_expression "*(undefined4 *)(this + 0x18) = 0x1002" (pointer_expression "*(undefined4 *)(this + 0x18)" * (cast_expression "(undefined4 *)(this + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x18)" ( (binary_expression "this + 0x18" identifier + number_literal) )))) = number_literal) ;) (labeled_statement "locale::locale(local_20);" statement_identifier : (ERROR ":" :) (expression_statement "locale(local_20);" (call_expression "locale(local_20)" identifier (argument_list "(local_20)" ( identifier ))) ;)) (labeled_statement "locale::operator=((locale *)(this + 0xd0),local_20);" statement_identifier : (ERROR ":" :) (expression_statement "operator=((locale *)(this + 0xd0),local_20);" (assignment_expression "operator=((locale *)(this + 0xd0),local_20)" identifier = (parenthesized_expression "((locale *)(this + 0xd0),local_20)" ( (comma_expression "(locale *)(this + 0xd0),local_20" (cast_expression "(locale *)(this + 0xd0)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xd0)" ( (binary_expression "this + 0xd0" identifier + number_literal) ))) , identifier) ))) ;)) (labeled_statement "locale::~locale(local_20);" statement_identifier : (ERROR ":" :) (expression_statement "~locale(local_20);" (unary_expression "~locale(local_20)" ~ (call_expression "locale(local_20)" identifier (argument_list "(local_20)" ( identifier )))) ;)) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00324660(long param_1)\n\n{\n  undefined1 local_20 [16];\n  \n  *(undefined8 *)(param_1 + 8) = 6;\n  *(undefined8 *)(param_1 + 0x10) = 0;\n  *(undefined4 *)(param_1 + 0x18) = 0x1002;\n  FUN_00324400(local_20);\n  FUN_002dd120(param_1 + 0xd0,local_20);\n  FUN_002dd1b0(local_20);\n  return;\n}\n\n" (function_definition "void FUN_00324660(long param_1)\n\n{\n  undefined1 local_20 [16];\n  \n  *(undefined8 *)(param_1 + 8) = 6;\n  *(undefined8 *)(param_1 + 0x10) = 0;\n  *(undefined4 *)(param_1 + 0x18) = 0x1002;\n  FUN_00324400(local_20);\n  FUN_002dd120(param_1 + 0xd0,local_20);\n  FUN_002dd1b0(local_20);\n  return;\n}" primitive_type (function_declarator "FUN_00324660(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  undefined1 local_20 [16];\n  \n  *(undefined8 *)(param_1 + 8) = 6;\n  *(undefined8 *)(param_1 + 0x10) = 0;\n  *(undefined4 *)(param_1 + 0x18) = 0x1002;\n  FUN_00324400(local_20);\n  FUN_002dd120(param_1 + 0xd0,local_20);\n  FUN_002dd1b0(local_20);\n  return;\n}" { (declaration "undefined1 local_20 [16];" type_identifier (array_declarator "local_20 [16]" identifier [ number_literal ]) ;) (expression_statement "*(undefined8 *)(param_1 + 8) = 6;" (assignment_expression "*(undefined8 *)(param_1 + 8) = 6" (pointer_expression "*(undefined8 *)(param_1 + 8)" * (cast_expression "(undefined8 *)(param_1 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(param_1 + 0x10) = 0;" (assignment_expression "*(undefined8 *)(param_1 + 0x10) = 0" (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x18) = 0x1002;" (assignment_expression "*(undefined4 *)(param_1 + 0x18) = 0x1002" (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00324400(local_20);" (call_expression "FUN_00324400(local_20)" identifier (argument_list "(local_20)" ( identifier ))) ;) (expression_statement "FUN_002dd120(param_1 + 0xd0,local_20);" (call_expression "FUN_002dd120(param_1 + 0xd0,local_20)" identifier (argument_list "(param_1 + 0xd0,local_20)" ( (binary_expression "param_1 + 0xd0" identifier + number_literal) , identifier ))) ;) (expression_statement "FUN_002dd1b0(local_20);" (call_expression "FUN_002dd1b0(local_20)" identifier (argument_list "(local_20)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (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) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00324660(long param_1)\n\n{\n  undefined1 local_20 [16];\n  \n  *(undefined8 *)(param_1 + 8) = 6;\n  *(undefined8 *)(param_1 + 0x10) = 0;\n  *(undefined4 *)(param_1 + 0x18) = 0x1002;\n  FUN_00324400(local_20);\n  FUN_002dd120(param_1 + 0xd0,local_20);\n  FUN_002dd1b0(local_20);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00324660(long param_1)" (identifier "FUN_00324660") (parameter_list "(long param_1)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined1 local_20 [16];\n  \n  *(undefined8 *)(param_1 + 8) = 6;\n  *(undefined8 *)(param_1 + 0x10) = 0;\n  *(undefined4 *)(param_1 + 0x18) = 0x1002;\n  FUN_00324400(local_20);\n  FUN_002dd120(param_1 + 0xd0,local_20);\n  FUN_002dd1b0(local_20);\n  return;\n}" ({ "{") (declaration "undefined1 local_20 [16];" (type_identifier "undefined1") (array_declarator "local_20 [16]" (identifier "local_20") ([ "[") (number_literal "16") (] "]")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 8) = 6;" (assignment_expression "*(undefined8 *)(param_1 + 8) = 6" (pointer_expression "*(undefined8 *)(param_1 + 8)" (* "*") (cast_expression "(undefined8 *)(param_1 + 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "6")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x10) = 0;" (assignment_expression "*(undefined8 *)(param_1 + 0x10) = 0" (pointer_expression "*(undefined8 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x18) = 0x1002;" (assignment_expression "*(undefined4 *)(param_1 + 0x18) = 0x1002" (pointer_expression "*(undefined4 *)(param_1 + 0x18)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (number_literal "0x1002")) (; ";")) (expression_statement "FUN_00324400(local_20);" (call_expression "FUN_00324400(local_20)" (identifier "FUN_00324400") (argument_list "(local_20)" (( "(") (identifier "local_20") () ")"))) (; ";")) (expression_statement "FUN_002dd120(param_1 + 0xd0,local_20);" (call_expression "FUN_002dd120(param_1 + 0xd0,local_20)" (identifier "FUN_002dd120") (argument_list "(param_1 + 0xd0,local_20)" (( "(") (binary_expression "param_1 + 0xd0" (identifier "param_1") (+ "+") (number_literal "0xd0")) (, ",") (identifier "local_20") () ")"))) (; ";")) (expression_statement "FUN_002dd1b0(local_20);" (call_expression "FUN_002dd1b0(local_20)" (identifier "FUN_002dd1b0") (argument_list "(local_20)" (( "(") (identifier "local_20") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::ios_base::_M_init() */

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

{
  type_2 local_20 [16];
  
  *(type_3 *)(var_1 + 8) = 6;
  *(type_3 *)(var_1 + 0x10) = 0;
  *(type_4 *)(var_1 + 0x18) = 0x1002;
  locale::type_2(local_20);
  locale::operator=((type_2 *)(var_1 + 0xd0),local_20);
  locale::~type_2(local_20);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (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: (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: (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: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement))))

void MASKED(long param_1)

{
  undefined1 local_20 [16];
  
  *(undefined8 *)(param_1 + 8) = 6;
  *(undefined8 *)(param_1 + 0x10) = 0;
  *(undefined4 *)(param_1 + 0x18) = 0x1002;
  FUN_00324400(local_20);
  FUN_002dd120(param_1 + 0xd0,local_20);
  FUN_002dd1b0(local_20);
  return;
}

