
/* std::moneypunct<char, true>::thousands_sep() const */

ulong __thiscall std::moneypunct<char,true>::thousands_sep(moneypunct<char,true> *this)

{
  ulong uVar1;
  
  if (*(code **)(*(long *)this + 0x18) == (code *)PTR_do_thousands_sep_003bdcd0) {
    return (ulong)*(byte *)(*(long *)(this + 0x10) + 0x22);
  }
                    /* WARNING: Could not recover jumptable at 0x00286de0. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  uVar1 = (**(code **)(*(long *)this + 0x18))();
  return uVar1;
}



ulong FUN_00286dc0(long *param_1)

{
  ulong uVar1;
  
  if (*(code **)(*param_1 + 0x18) == (code *)PTR_FUN_003bdcd0) {
    return (ulong)*(byte *)(param_1[2] + 0x22);
  }
                    /* WARNING: Could not recover jumptable at 0x00286de0. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  uVar1 = (**(code **)(*param_1 + 0x18))();
  return uVar1;
}


MOV RAX,qword ptr [RDI]
MOV RAX,qword ptr [RAX + 0x18]
CMP RAX,qword ptr [0x003bdcd0]
JNZ 0x00286de0
MOV RAX,qword ptr [RDI + 0x10]
MOVZX EAX,byte ptr [RAX + 0x22]
RET
JMP RAX
(translation_unit "ulong FUN_00286dc0(long *param_1)\n\n{\n  ulong uVar1;\n  \n  if (*(code **)(*param_1 + 0x18) == (code *)PTR_FUN_003bdcd0) {\n    return (ulong)*(byte *)(param_1[2] + 0x22);\n  }\n                    /* WARNING: Could not recover jumptable at 0x00286de0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  uVar1 = (**(code **)(*param_1 + 0x18))();\n  return uVar1;\n}\n\n" (function_definition "ulong FUN_00286dc0(long *param_1)\n\n{\n  ulong uVar1;\n  \n  if (*(code **)(*param_1 + 0x18) == (code *)PTR_FUN_003bdcd0) {\n    return (ulong)*(byte *)(param_1[2] + 0x22);\n  }\n                    /* WARNING: Could not recover jumptable at 0x00286de0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  uVar1 = (**(code **)(*param_1 + 0x18))();\n  return uVar1;\n}" type_identifier (function_declarator "FUN_00286dc0(long *param_1)" identifier (parameter_list "(long *param_1)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  ulong uVar1;\n  \n  if (*(code **)(*param_1 + 0x18) == (code *)PTR_FUN_003bdcd0) {\n    return (ulong)*(byte *)(param_1[2] + 0x22);\n  }\n                    /* WARNING: Could not recover jumptable at 0x00286de0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  uVar1 = (**(code **)(*param_1 + 0x18))();\n  return uVar1;\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (if_statement "if (*(code **)(*param_1 + 0x18) == (code *)PTR_FUN_003bdcd0) {\n    return (ulong)*(byte *)(param_1[2] + 0x22);\n  }" if (parenthesized_expression "(*(code **)(*param_1 + 0x18) == (code *)PTR_FUN_003bdcd0)" ( (binary_expression "*(code **)(*param_1 + 0x18) == (code *)PTR_FUN_003bdcd0" (pointer_expression "*(code **)(*param_1 + 0x18)" * (cast_expression "(code **)(*param_1 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x18)" ( (binary_expression "*param_1 + 0x18" (pointer_expression "*param_1" * identifier) + number_literal) )))) == (cast_expression "(code *)PTR_FUN_003bdcd0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    return (ulong)*(byte *)(param_1[2] + 0x22);\n  }" { (return_statement "return (ulong)*(byte *)(param_1[2] + 0x22);" return (binary_expression "(ulong)*(byte *)(param_1[2] + 0x22)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(byte *)(param_1[2] + 0x22)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[2] + 0x22)" ( (binary_expression "param_1[2] + 0x22" (subscript_expression "param_1[2]" identifier [ number_literal ]) + number_literal) )))) ;) })) comment comment (expression_statement "uVar1 = (**(code **)(*param_1 + 0x18))();" (assignment_expression "uVar1 = (**(code **)(*param_1 + 0x18))()" identifier = (call_expression "(**(code **)(*param_1 + 0x18))()" (parenthesized_expression "(**(code **)(*param_1 + 0x18))" ( (pointer_expression "**(code **)(*param_1 + 0x18)" * (pointer_expression "*(code **)(*param_1 + 0x18)" * (cast_expression "(code **)(*param_1 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x18)" ( (binary_expression "*param_1 + 0x18" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* std::moneypunct<char, true>::thousands_sep() const */\n\nulong __thiscall std::moneypunct<char,true>::thousands_sep(moneypunct<char,true> *this)\n\n{\n  ulong uVar1;\n  \n  if (*(code **)(*(long *)this + 0x18) == (code *)PTR_do_thousands_sep_003bdcd0) {\n    return (ulong)*(byte *)(*(long *)(this + 0x10) + 0x22);\n  }\n                    /* WARNING: Could not recover jumptable at 0x00286de0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  uVar1 = (**(code **)(*(long *)this + 0x18))();\n  return uVar1;\n}\n\n" comment (declaration "ulong __thiscall std::moneypunct<char,true>::thousands_sep(moneypunct<char,true> *this)\n\n{\n  ulong uVar1;" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::" identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "true>::thousands_sep(moneypunct<char,true> *this)\n\n{\n  ulong" identifier > : : (function_declarator "thousands_sep(moneypunct<char,true> *this)" identifier (parameter_list "(moneypunct<char,true> *this)" ( (parameter_declaration "moneypunct" type_identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) ))) { identifier) identifier ;) (if_statement "if (*(code **)(*(long *)this + 0x18) == (code *)PTR_do_thousands_sep_003bdcd0) {\n    return (ulong)*(byte *)(*(long *)(this + 0x10) + 0x22);\n  }" if (parenthesized_expression "(*(code **)(*(long *)this + 0x18) == (code *)PTR_do_thousands_sep_003bdcd0)" ( (binary_expression "*(code **)(*(long *)this + 0x18) == (code *)PTR_do_thousands_sep_003bdcd0" (pointer_expression "*(code **)(*(long *)this + 0x18)" * (cast_expression "(code **)(*(long *)this + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)this + 0x18)" ( (binary_expression "*(long *)this + 0x18" (pointer_expression "*(long *)this" * (cast_expression "(long *)this" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) == (cast_expression "(code *)PTR_do_thousands_sep_003bdcd0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    return (ulong)*(byte *)(*(long *)(this + 0x10) + 0x22);\n  }" { (return_statement "return (ulong)*(byte *)(*(long *)(this + 0x10) + 0x22);" return (binary_expression "(ulong)*(byte *)(*(long *)(this + 0x10) + 0x22)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(byte *)(*(long *)(this + 0x10) + 0x22)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(this + 0x10) + 0x22)" ( (binary_expression "*(long *)(this + 0x10) + 0x22" (pointer_expression "*(long *)(this + 0x10)" * (cast_expression "(long *)(this + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) + number_literal) )))) ;) })) comment comment (expression_statement "uVar1 = (**(code **)(*(long *)this + 0x18))();" (assignment_expression "uVar1 = (**(code **)(*(long *)this + 0x18))()" identifier = (call_expression "(**(code **)(*(long *)this + 0x18))()" (parenthesized_expression "(**(code **)(*(long *)this + 0x18))" ( (pointer_expression "**(code **)(*(long *)this + 0x18)" * (pointer_expression "*(code **)(*(long *)this + 0x18)" * (cast_expression "(code **)(*(long *)this + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)this + 0x18)" ( (binary_expression "*(long *)this + 0x18" (pointer_expression "*(long *)this" * (cast_expression "(long *)this" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) (ERROR "}" }))
(translation_unit "ulong FUN_00286dc0(long *param_1)\n\n{\n  ulong uVar1;\n  \n  if (*(code **)(*param_1 + 0x18) == (code *)PTR_FUN_003bdcd0) {\n    return (ulong)*(byte *)(param_1[2] + 0x22);\n  }\n                    \n                    \n  uVar1 = (**(code **)(*param_1 + 0x18))();\n  return uVar1;\n}\n\n" (function_definition "ulong FUN_00286dc0(long *param_1)\n\n{\n  ulong uVar1;\n  \n  if (*(code **)(*param_1 + 0x18) == (code *)PTR_FUN_003bdcd0) {\n    return (ulong)*(byte *)(param_1[2] + 0x22);\n  }\n                    \n                    \n  uVar1 = (**(code **)(*param_1 + 0x18))();\n  return uVar1;\n}" type_identifier (function_declarator "FUN_00286dc0(long *param_1)" identifier (parameter_list "(long *param_1)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  ulong uVar1;\n  \n  if (*(code **)(*param_1 + 0x18) == (code *)PTR_FUN_003bdcd0) {\n    return (ulong)*(byte *)(param_1[2] + 0x22);\n  }\n                    \n                    \n  uVar1 = (**(code **)(*param_1 + 0x18))();\n  return uVar1;\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (if_statement "if (*(code **)(*param_1 + 0x18) == (code *)PTR_FUN_003bdcd0) {\n    return (ulong)*(byte *)(param_1[2] + 0x22);\n  }" if (parenthesized_expression "(*(code **)(*param_1 + 0x18) == (code *)PTR_FUN_003bdcd0)" ( (binary_expression "*(code **)(*param_1 + 0x18) == (code *)PTR_FUN_003bdcd0" (pointer_expression "*(code **)(*param_1 + 0x18)" * (cast_expression "(code **)(*param_1 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x18)" ( (binary_expression "*param_1 + 0x18" (pointer_expression "*param_1" * identifier) + number_literal) )))) == (cast_expression "(code *)PTR_FUN_003bdcd0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    return (ulong)*(byte *)(param_1[2] + 0x22);\n  }" { (return_statement "return (ulong)*(byte *)(param_1[2] + 0x22);" return (binary_expression "(ulong)*(byte *)(param_1[2] + 0x22)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(byte *)(param_1[2] + 0x22)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[2] + 0x22)" ( (binary_expression "param_1[2] + 0x22" (subscript_expression "param_1[2]" identifier [ number_literal ]) + number_literal) )))) ;) })) (expression_statement "uVar1 = (**(code **)(*param_1 + 0x18))();" (assignment_expression "uVar1 = (**(code **)(*param_1 + 0x18))()" identifier = (call_expression "(**(code **)(*param_1 + 0x18))()" (parenthesized_expression "(**(code **)(*param_1 + 0x18))" ( (pointer_expression "**(code **)(*param_1 + 0x18)" * (pointer_expression "*(code **)(*param_1 + 0x18)" * (cast_expression "(code **)(*param_1 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x18)" ( (binary_expression "*param_1 + 0x18" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (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 (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) ;) })) (expression_statement (assignment_expression IDENT = (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 IDENT ;) })))
(function_definition "ulong FUN_00286dc0(long *param_1)\n\n{\n  ulong uVar1;\n  \n  if (*(code **)(*param_1 + 0x18) == (code *)PTR_FUN_003bdcd0) {\n    return (ulong)*(byte *)(param_1[2] + 0x22);\n  }\n                    \n                    \n  uVar1 = (**(code **)(*param_1 + 0x18))();\n  return uVar1;\n}" (type_identifier "ulong") (function_declarator "FUN_00286dc0(long *param_1)" (identifier "FUN_00286dc0") (parameter_list "(long *param_1)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  ulong uVar1;\n  \n  if (*(code **)(*param_1 + 0x18) == (code *)PTR_FUN_003bdcd0) {\n    return (ulong)*(byte *)(param_1[2] + 0x22);\n  }\n                    \n                    \n  uVar1 = (**(code **)(*param_1 + 0x18))();\n  return uVar1;\n}" ({ "{") (declaration "ulong uVar1;" (type_identifier "ulong") (identifier "uVar1") (; ";")) (if_statement "if (*(code **)(*param_1 + 0x18) == (code *)PTR_FUN_003bdcd0) {\n    return (ulong)*(byte *)(param_1[2] + 0x22);\n  }" (if "if") (parenthesized_expression "(*(code **)(*param_1 + 0x18) == (code *)PTR_FUN_003bdcd0)" (( "(") (binary_expression "*(code **)(*param_1 + 0x18) == (code *)PTR_FUN_003bdcd0" (pointer_expression "*(code **)(*param_1 + 0x18)" (* "*") (cast_expression "(code **)(*param_1 + 0x18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0x18)" (( "(") (binary_expression "*param_1 + 0x18" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x18")) () ")")))) (== "==") (cast_expression "(code *)PTR_FUN_003bdcd0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_003bdcd0"))) () ")")) (compound_statement "{\n    return (ulong)*(byte *)(param_1[2] + 0x22);\n  }" ({ "{") (return_statement "return (ulong)*(byte *)(param_1[2] + 0x22);" (return "return") (binary_expression "(ulong)*(byte *)(param_1[2] + 0x22)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (cast_expression "(byte *)(param_1[2] + 0x22)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[2] + 0x22)" (( "(") (binary_expression "param_1[2] + 0x22" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (+ "+") (number_literal "0x22")) () ")")))) (; ";")) (} "}"))) (expression_statement "uVar1 = (**(code **)(*param_1 + 0x18))();" (assignment_expression "uVar1 = (**(code **)(*param_1 + 0x18))()" (identifier "uVar1") (= "=") (call_expression "(**(code **)(*param_1 + 0x18))()" (parenthesized_expression "(**(code **)(*param_1 + 0x18))" (( "(") (pointer_expression "**(code **)(*param_1 + 0x18)" (* "*") (pointer_expression "*(code **)(*param_1 + 0x18)" (* "*") (cast_expression "(code **)(*param_1 + 0x18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0x18)" (( "(") (binary_expression "*param_1 + 0x18" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

/* std::moneypunct<char, true>::thousands_sep() const */

type_1 __thiscall std::moneypunct<char,true>::thousands_sep(moneypunct<char,true> *var_1)

{
  type_1 uVar1;
  
  if (*(type_2 **)(*(long *)var_1 + 0x18) == (type_2 *)PTR_do_thousands_sep_003bdcd0) {
    return (type_1)*(type_3 *)(*(long *)(var_1 + 0x10) + 0x22);
  }
                    /* WARNING: Could not recover jumptable at 0x00286de0. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  uVar1 = (**(type_2 **)(*(long *)var_1 + 0x18))();
  return uVar1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (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 (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (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 (identifier)))))

ulong MASKED(long *param_1)

{
  ulong uVar1;
  
  if (*(code **)(*param_1 + 0x18) == (code *)PTR_FUN_003bdcd0) {
    return (ulong)*(byte *)(param_1[2] + 0x22);
  }
                    /* WARNING: Could not recover jumptable at 0x00286de0. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  uVar1 = (**(code **)(*param_1 + 0x18))();
  return uVar1;
}

