
/* std::num_get<wchar_t, std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >
   >::do_get(std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >,
   std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >, std::ios_base&,
   std::_Ios_Iostate&, void*&) const */

void std::num_get<wchar_t,std::istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::do_get(void)

{
  uint uVar1;
  long in_R9;
  undefined8 *in_stack_00000010;
  undefined8 local_20;
  
  uVar1 = *(uint *)(in_R9 + 0x18);
  *(uint *)(in_R9 + 0x18) = uVar1 & 0xffffffb5 | 8;
  _M_extract_int<unsigned_long>();
  *(uint *)(in_R9 + 0x18) = uVar1;
  *in_stack_00000010 = local_20;
  return;
}



void FUN_002cd6b0(void)

{
  uint uVar1;
  long in_R9;
  undefined8 *in_stack_00000010;
  undefined8 local_20;
  
  uVar1 = *(uint *)(in_R9 + 0x18);
  *(uint *)(in_R9 + 0x18) = uVar1 & 0xffffffb5 | 8;
  FUN_002ccd30();
  *(uint *)(in_R9 + 0x18) = uVar1;
  *in_stack_00000010 = local_20;
  return;
}


PUSH R12
PUSH RBP
MOV RBP,R9
PUSH RBX
MOV RBX,RDX
SUB RSP,0x20
MOV R12D,dword ptr [R9 + 0x18]
MOV EAX,R12D
AND EAX,0xffffffb5
OR EAX,0x8
MOV dword ptr [R9 + 0x18],EAX
LEA RAX,[RSP + 0x18]
PUSH RAX
PUSH qword ptr [RSP + 0x48]
CALL 0x002ccd30
MOV RSI,qword ptr [RSP + 0x28]
MOV dword ptr [RBP + 0x18],R12D
MOV RCX,-0x100000000
AND RBX,RCX
MOV RCX,qword ptr [RSP + 0x58]
MOV qword ptr [RSP + 0x18],RDX
MOV EDX,dword ptr [RSP + 0x18]
MOV qword ptr [RSP + 0x10],RAX
MOV qword ptr [RCX],RSI
ADD RSP,0x30
OR RDX,RBX
POP RBX
POP RBP
POP R12
RET
(translation_unit "void FUN_002cd6b0(void)\n\n{\n  uint uVar1;\n  long in_R9;\n  undefined8 *in_stack_00000010;\n  undefined8 local_20;\n  \n  uVar1 = *(uint *)(in_R9 + 0x18);\n  *(uint *)(in_R9 + 0x18) = uVar1 & 0xffffffb5 | 8;\n  FUN_002ccd30();\n  *(uint *)(in_R9 + 0x18) = uVar1;\n  *in_stack_00000010 = local_20;\n  return;\n}\n\n" (function_definition "void FUN_002cd6b0(void)\n\n{\n  uint uVar1;\n  long in_R9;\n  undefined8 *in_stack_00000010;\n  undefined8 local_20;\n  \n  uVar1 = *(uint *)(in_R9 + 0x18);\n  *(uint *)(in_R9 + 0x18) = uVar1 & 0xffffffb5 | 8;\n  FUN_002ccd30();\n  *(uint *)(in_R9 + 0x18) = uVar1;\n  *in_stack_00000010 = local_20;\n  return;\n}" primitive_type (function_declarator "FUN_002cd6b0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint uVar1;\n  long in_R9;\n  undefined8 *in_stack_00000010;\n  undefined8 local_20;\n  \n  uVar1 = *(uint *)(in_R9 + 0x18);\n  *(uint *)(in_R9 + 0x18) = uVar1 & 0xffffffb5 | 8;\n  FUN_002ccd30();\n  *(uint *)(in_R9 + 0x18) = uVar1;\n  *in_stack_00000010 = local_20;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "long in_R9;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 *in_stack_00000010;" type_identifier (pointer_declarator "*in_stack_00000010" * identifier) ;) (declaration "undefined8 local_20;" type_identifier identifier ;) (expression_statement "uVar1 = *(uint *)(in_R9 + 0x18);" (assignment_expression "uVar1 = *(uint *)(in_R9 + 0x18)" identifier = (pointer_expression "*(uint *)(in_R9 + 0x18)" * (cast_expression "(uint *)(in_R9 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_R9 + 0x18)" ( (binary_expression "in_R9 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "*(uint *)(in_R9 + 0x18) = uVar1 & 0xffffffb5 | 8;" (assignment_expression "*(uint *)(in_R9 + 0x18) = uVar1 & 0xffffffb5 | 8" (pointer_expression "*(uint *)(in_R9 + 0x18)" * (cast_expression "(uint *)(in_R9 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_R9 + 0x18)" ( (binary_expression "in_R9 + 0x18" identifier + number_literal) )))) = (binary_expression "uVar1 & 0xffffffb5 | 8" (binary_expression "uVar1 & 0xffffffb5" identifier & number_literal) | number_literal)) ;) (expression_statement "FUN_002ccd30();" (call_expression "FUN_002ccd30()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(uint *)(in_R9 + 0x18) = uVar1;" (assignment_expression "*(uint *)(in_R9 + 0x18) = uVar1" (pointer_expression "*(uint *)(in_R9 + 0x18)" * (cast_expression "(uint *)(in_R9 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_R9 + 0x18)" ( (binary_expression "in_R9 + 0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*in_stack_00000010 = local_20;" (assignment_expression "*in_stack_00000010 = local_20" (pointer_expression "*in_stack_00000010" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::num_get<wchar_t, std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >\n   >::do_get(std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >,\n   std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >, std::ios_base&,\n   std::_Ios_Iostate&, void*&) const */\n\nvoid std::num_get<wchar_t,std::istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::do_get(void)\n\n{\n  uint uVar1;\n  long in_R9;\n  undefined8 *in_stack_00000010;\n  undefined8 local_20;\n  \n  uVar1 = *(uint *)(in_R9 + 0x18);\n  *(uint *)(in_R9 + 0x18) = uVar1 & 0xffffffb5 | 8;\n  _M_extract_int<unsigned_long>();\n  *(uint *)(in_R9 + 0x18) = uVar1;\n  *in_stack_00000010 = local_20;\n  return;\n}\n\n" comment (declaration "void std::num_get<wchar_t,std::istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::do_get(void)\n\n{\n  uint uVar1;" primitive_type (ERROR "std::num_get<" identifier : : identifier <) identifier , (ERROR "std::istreambuf_iterator<" identifier : : identifier <) identifier , (ERROR "std::char_traits<wchar_t>>>::do_get(void)\n\n{\n  uint" identifier : : identifier < identifier >> > : : (function_declarator "do_get(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) { identifier) identifier ;) (declaration "long in_R9;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 *in_stack_00000010;" type_identifier (pointer_declarator "*in_stack_00000010" * identifier) ;) (declaration "undefined8 local_20;" type_identifier identifier ;) (expression_statement "uVar1 = *(uint *)(in_R9 + 0x18);" (assignment_expression "uVar1 = *(uint *)(in_R9 + 0x18)" identifier = (pointer_expression "*(uint *)(in_R9 + 0x18)" * (cast_expression "(uint *)(in_R9 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_R9 + 0x18)" ( (binary_expression "in_R9 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "*(uint *)(in_R9 + 0x18) = uVar1 & 0xffffffb5 | 8;" (assignment_expression "*(uint *)(in_R9 + 0x18) = uVar1 & 0xffffffb5 | 8" (pointer_expression "*(uint *)(in_R9 + 0x18)" * (cast_expression "(uint *)(in_R9 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_R9 + 0x18)" ( (binary_expression "in_R9 + 0x18" identifier + number_literal) )))) = (binary_expression "uVar1 & 0xffffffb5 | 8" (binary_expression "uVar1 & 0xffffffb5" identifier & number_literal) | number_literal)) ;) (ERROR "_M_extract_int<unsigned_long>();\n  *(uint *)(in_R9 + 0x18) = uVar1;\n  *in_stack_00000010 = local_20;\n  return;\n}" (binary_expression "_M_extract_int<unsigned_long" identifier < identifier) > ( (ERROR ");" ) ;) (binary_expression "*(uint *)(in_R9 + 0x18) = uVar1;\n  *in_stack_00000010 = local_20" (assignment_expression "*(uint *)(in_R9 + 0x18) = uVar1" (pointer_expression "*(uint *)(in_R9 + 0x18)" * (cast_expression "(uint *)(in_R9 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_R9 + 0x18)" ( (binary_expression "in_R9 + 0x18" identifier + number_literal) )))) = identifier) (ERROR ";" ;) * (assignment_expression "in_stack_00000010 = local_20" identifier = identifier)) ; return ; }))
(translation_unit "void FUN_002cd6b0(void)\n\n{\n  uint uVar1;\n  long in_R9;\n  undefined8 *in_stack_00000010;\n  undefined8 local_20;\n  \n  uVar1 = *(uint *)(in_R9 + 0x18);\n  *(uint *)(in_R9 + 0x18) = uVar1 & 0xffffffb5 | 8;\n  FUN_002ccd30();\n  *(uint *)(in_R9 + 0x18) = uVar1;\n  *in_stack_00000010 = local_20;\n  return;\n}\n\n" (function_definition "void FUN_002cd6b0(void)\n\n{\n  uint uVar1;\n  long in_R9;\n  undefined8 *in_stack_00000010;\n  undefined8 local_20;\n  \n  uVar1 = *(uint *)(in_R9 + 0x18);\n  *(uint *)(in_R9 + 0x18) = uVar1 & 0xffffffb5 | 8;\n  FUN_002ccd30();\n  *(uint *)(in_R9 + 0x18) = uVar1;\n  *in_stack_00000010 = local_20;\n  return;\n}" primitive_type (function_declarator "FUN_002cd6b0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint uVar1;\n  long in_R9;\n  undefined8 *in_stack_00000010;\n  undefined8 local_20;\n  \n  uVar1 = *(uint *)(in_R9 + 0x18);\n  *(uint *)(in_R9 + 0x18) = uVar1 & 0xffffffb5 | 8;\n  FUN_002ccd30();\n  *(uint *)(in_R9 + 0x18) = uVar1;\n  *in_stack_00000010 = local_20;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "long in_R9;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 *in_stack_00000010;" type_identifier (pointer_declarator "*in_stack_00000010" * identifier) ;) (declaration "undefined8 local_20;" type_identifier identifier ;) (expression_statement "uVar1 = *(uint *)(in_R9 + 0x18);" (assignment_expression "uVar1 = *(uint *)(in_R9 + 0x18)" identifier = (pointer_expression "*(uint *)(in_R9 + 0x18)" * (cast_expression "(uint *)(in_R9 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_R9 + 0x18)" ( (binary_expression "in_R9 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "*(uint *)(in_R9 + 0x18) = uVar1 & 0xffffffb5 | 8;" (assignment_expression "*(uint *)(in_R9 + 0x18) = uVar1 & 0xffffffb5 | 8" (pointer_expression "*(uint *)(in_R9 + 0x18)" * (cast_expression "(uint *)(in_R9 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_R9 + 0x18)" ( (binary_expression "in_R9 + 0x18" identifier + number_literal) )))) = (binary_expression "uVar1 & 0xffffffb5 | 8" (binary_expression "uVar1 & 0xffffffb5" identifier & number_literal) | number_literal)) ;) (expression_statement "FUN_002ccd30();" (call_expression "FUN_002ccd30()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(uint *)(in_R9 + 0x18) = uVar1;" (assignment_expression "*(uint *)(in_R9 + 0x18) = uVar1" (pointer_expression "*(uint *)(in_R9 + 0x18)" * (cast_expression "(uint *)(in_R9 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_R9 + 0x18)" ( (binary_expression "in_R9 + 0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*in_stack_00000010 = local_20;" (assignment_expression "*in_stack_00000010 = local_20" (pointer_expression "*in_stack_00000010" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (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) )))) = (binary_expression (binary_expression IDENT & LIT) | LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_002cd6b0(void)\n\n{\n  uint uVar1;\n  long in_R9;\n  undefined8 *in_stack_00000010;\n  undefined8 local_20;\n  \n  uVar1 = *(uint *)(in_R9 + 0x18);\n  *(uint *)(in_R9 + 0x18) = uVar1 & 0xffffffb5 | 8;\n  FUN_002ccd30();\n  *(uint *)(in_R9 + 0x18) = uVar1;\n  *in_stack_00000010 = local_20;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002cd6b0(void)" (identifier "FUN_002cd6b0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  uint uVar1;\n  long in_R9;\n  undefined8 *in_stack_00000010;\n  undefined8 local_20;\n  \n  uVar1 = *(uint *)(in_R9 + 0x18);\n  *(uint *)(in_R9 + 0x18) = uVar1 & 0xffffffb5 | 8;\n  FUN_002ccd30();\n  *(uint *)(in_R9 + 0x18) = uVar1;\n  *in_stack_00000010 = local_20;\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "long in_R9;" (sized_type_specifier "long" (long "long")) (identifier "in_R9") (; ";")) (declaration "undefined8 *in_stack_00000010;" (type_identifier "undefined8") (pointer_declarator "*in_stack_00000010" (* "*") (identifier "in_stack_00000010")) (; ";")) (declaration "undefined8 local_20;" (type_identifier "undefined8") (identifier "local_20") (; ";")) (expression_statement "uVar1 = *(uint *)(in_R9 + 0x18);" (assignment_expression "uVar1 = *(uint *)(in_R9 + 0x18)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(in_R9 + 0x18)" (* "*") (cast_expression "(uint *)(in_R9 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_R9 + 0x18)" (( "(") (binary_expression "in_R9 + 0x18" (identifier "in_R9") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "*(uint *)(in_R9 + 0x18) = uVar1 & 0xffffffb5 | 8;" (assignment_expression "*(uint *)(in_R9 + 0x18) = uVar1 & 0xffffffb5 | 8" (pointer_expression "*(uint *)(in_R9 + 0x18)" (* "*") (cast_expression "(uint *)(in_R9 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_R9 + 0x18)" (( "(") (binary_expression "in_R9 + 0x18" (identifier "in_R9") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (binary_expression "uVar1 & 0xffffffb5 | 8" (binary_expression "uVar1 & 0xffffffb5" (identifier "uVar1") (& "&") (number_literal "0xffffffb5")) (| "|") (number_literal "8"))) (; ";")) (expression_statement "FUN_002ccd30();" (call_expression "FUN_002ccd30()" (identifier "FUN_002ccd30") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*(uint *)(in_R9 + 0x18) = uVar1;" (assignment_expression "*(uint *)(in_R9 + 0x18) = uVar1" (pointer_expression "*(uint *)(in_R9 + 0x18)" (* "*") (cast_expression "(uint *)(in_R9 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_R9 + 0x18)" (( "(") (binary_expression "in_R9 + 0x18" (identifier "in_R9") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "*in_stack_00000010 = local_20;" (assignment_expression "*in_stack_00000010 = local_20" (pointer_expression "*in_stack_00000010" (* "*") (identifier "in_stack_00000010")) (= "=") (identifier "local_20")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::num_get<wchar_t, std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >
   >::do_get(std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >,
   std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >, std::ios_base&,
   std::_Ios_Iostate&, void*&) const */

void std::num_get<wchar_t,std::istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::do_get(void)

{
  type_2 var_2;
  long var_1;
  type_1 *in_stack_00000010;
  type_1 local_20;
  
  var_2 = *(type_2 *)(var_1 + 0x18);
  *(type_2 *)(var_1 + 0x18) = var_2 & 0xffffffb5 | 8;
  _M_extract_int<unsigned_long>();
  *(type_2 *)(var_1 + 0x18) = var_2;
  *in_stack_00000010 = local_20;
  return;
}


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

void MASKED(void)

{
  uint uVar1;
  long in_R9;
  undefined8 *in_stack_00000010;
  undefined8 local_20;
  
  uVar1 = *(uint *)(in_R9 + 0x18);
  *(uint *)(in_R9 + 0x18) = uVar1 & 0xffffffb5 | 8;
  FUN_002ccd30();
  *(uint *)(in_R9 + 0x18) = uVar1;
  *in_stack_00000010 = local_20;
  return;
}

