
/* std::num_put<wchar_t, std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >
   >::put(std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >, std::ios_base&, wchar_t,
   long long) const */

void std::num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::put
               (long *param_1)

{
  if (*(code **)(*param_1 + 0x28) == (code *)PTR_do_put_004b9de0) {
    _M_insert_int<long_long>();
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x00389528. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(*param_1 + 0x28))();
  return;
}



void FUN_00389510(long *param_1)

{
  if (*(code **)(*param_1 + 0x28) == (code *)PTR_thunk_FUN_00389270_004b9de0) {
    FUN_00389270();
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x00389528. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(*param_1 + 0x28))();
  return;
}


MOV RAX,qword ptr [RDI]
MOV RAX,qword ptr [RAX + 0x28]
CMP RAX,qword ptr [0x004b9de0]
JNZ 0x00389528
JMP 0x00389270
JMP RAX
(translation_unit "void FUN_00389510(long *param_1)\n\n{\n  if (*(code **)(*param_1 + 0x28) == (code *)PTR_thunk_FUN_00389270_004b9de0) {\n    FUN_00389270();\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x00389528. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(*param_1 + 0x28))();\n  return;\n}\n\n" (function_definition "void FUN_00389510(long *param_1)\n\n{\n  if (*(code **)(*param_1 + 0x28) == (code *)PTR_thunk_FUN_00389270_004b9de0) {\n    FUN_00389270();\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x00389528. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(*param_1 + 0x28))();\n  return;\n}" primitive_type (function_declarator "FUN_00389510(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  if (*(code **)(*param_1 + 0x28) == (code *)PTR_thunk_FUN_00389270_004b9de0) {\n    FUN_00389270();\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x00389528. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(*param_1 + 0x28))();\n  return;\n}" { (if_statement "if (*(code **)(*param_1 + 0x28) == (code *)PTR_thunk_FUN_00389270_004b9de0) {\n    FUN_00389270();\n    return;\n  }" if (parenthesized_expression "(*(code **)(*param_1 + 0x28) == (code *)PTR_thunk_FUN_00389270_004b9de0)" ( (binary_expression "*(code **)(*param_1 + 0x28) == (code *)PTR_thunk_FUN_00389270_004b9de0" (pointer_expression "*(code **)(*param_1 + 0x28)" * (cast_expression "(code **)(*param_1 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x28)" ( (binary_expression "*param_1 + 0x28" (pointer_expression "*param_1" * identifier) + number_literal) )))) == (cast_expression "(code *)PTR_thunk_FUN_00389270_004b9de0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    FUN_00389270();\n    return;\n  }" { (expression_statement "FUN_00389270();" (call_expression "FUN_00389270()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) comment comment (expression_statement "(**(code **)(*param_1 + 0x28))();" (call_expression "(**(code **)(*param_1 + 0x28))()" (parenthesized_expression "(**(code **)(*param_1 + 0x28))" ( (pointer_expression "**(code **)(*param_1 + 0x28)" * (pointer_expression "*(code **)(*param_1 + 0x28)" * (cast_expression "(code **)(*param_1 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x28)" ( (binary_expression "*param_1 + 0x28" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::num_put<wchar_t, std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >\n   >::put(std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >, std::ios_base&, wchar_t,\n   long long) const */\n\nvoid std::num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::put\n               (long *param_1)\n\n{\n  if (*(code **)(*param_1 + 0x28) == (code *)PTR_do_put_004b9de0) {\n    _M_insert_int<long_long>();\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x00389528. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(*param_1 + 0x28))();\n  return;\n}\n\n" comment (declaration "void std::num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::put\n               (long *param_1)\n\n{\n  if (*(code **)(*param_1 + 0x28) == (code *)PTR_do_put_004b9de0) {\n    _M_insert_int<long_long>();" primitive_type (ERROR "std::num_put<" identifier : : identifier <) identifier , (ERROR "std::ostreambuf_iterator<" identifier : : identifier <) identifier , (ERROR "std::char_traits<wchar_t>>>::put\n               (long *param_1)\n\n{\n  if (*(code **)(*param_1 + 0x28) == (code *)PTR_do_put_004b9de0) {\n    _M_insert_int<" identifier : : identifier < identifier >> > : : (function_declarator "put\n               (long *param_1)\n\n{\n  if (*(code **)(*param_1 + 0x28) == (code *)PTR_do_put_004b9de0)" (function_declarator "put\n               (long *param_1)" identifier (parameter_list "(long *param_1)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) ))) (ERROR "{\n  if" { if) (parameter_list "(*(code **)(*param_1 + 0x28) == (code *)PTR_do_put_004b9de0)" ( (parameter_declaration "*(code **)(*param_1 + 0x28) == (code *)" type_identifier (abstract_pointer_declarator "*(code **)(*param_1 + 0x28) == (code *)" * (abstract_function_declarator "(code **)(*param_1 + 0x28) == (code *)" (abstract_function_declarator "(code **)(*param_1 + 0x28)" (abstract_function_declarator "(code **)" (parameter_list "(code **)" ( (parameter_declaration "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ))) (parameter_list "(*param_1 + 0x28)" ( (ERROR "*" *) (parameter_declaration "param_1" type_identifier) (ERROR "+ 0x28" + number_literal) ))) (ERROR "==" ==) (parameter_list "(code *)" ( (parameter_declaration "code *" type_identifier (abstract_pointer_declarator "*" *)) ))))) (ERROR "PTR_do_put_004b9de0" identifier) ))) { identifier <) identifier (ERROR ">()" > ( )) ;) (return_statement "return;" return ;) (ERROR "}" }) comment comment (expression_statement "(**(code **)(*param_1 + 0x28))();" (call_expression "(**(code **)(*param_1 + 0x28))()" (parenthesized_expression "(**(code **)(*param_1 + 0x28))" ( (pointer_expression "**(code **)(*param_1 + 0x28)" * (pointer_expression "*(code **)(*param_1 + 0x28)" * (cast_expression "(code **)(*param_1 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x28)" ( (binary_expression "*param_1 + 0x28" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_00389510(long *param_1)\n\n{\n  if (*(code **)(*param_1 + 0x28) == (code *)PTR_thunk_FUN_00389270_004b9de0) {\n    FUN_00389270();\n    return;\n  }\n                    \n                    \n  (**(code **)(*param_1 + 0x28))();\n  return;\n}\n\n" (function_definition "void FUN_00389510(long *param_1)\n\n{\n  if (*(code **)(*param_1 + 0x28) == (code *)PTR_thunk_FUN_00389270_004b9de0) {\n    FUN_00389270();\n    return;\n  }\n                    \n                    \n  (**(code **)(*param_1 + 0x28))();\n  return;\n}" primitive_type (function_declarator "FUN_00389510(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  if (*(code **)(*param_1 + 0x28) == (code *)PTR_thunk_FUN_00389270_004b9de0) {\n    FUN_00389270();\n    return;\n  }\n                    \n                    \n  (**(code **)(*param_1 + 0x28))();\n  return;\n}" { (if_statement "if (*(code **)(*param_1 + 0x28) == (code *)PTR_thunk_FUN_00389270_004b9de0) {\n    FUN_00389270();\n    return;\n  }" if (parenthesized_expression "(*(code **)(*param_1 + 0x28) == (code *)PTR_thunk_FUN_00389270_004b9de0)" ( (binary_expression "*(code **)(*param_1 + 0x28) == (code *)PTR_thunk_FUN_00389270_004b9de0" (pointer_expression "*(code **)(*param_1 + 0x28)" * (cast_expression "(code **)(*param_1 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x28)" ( (binary_expression "*param_1 + 0x28" (pointer_expression "*param_1" * identifier) + number_literal) )))) == (cast_expression "(code *)PTR_thunk_FUN_00389270_004b9de0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    FUN_00389270();\n    return;\n  }" { (expression_statement "FUN_00389270();" (call_expression "FUN_00389270()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "(**(code **)(*param_1 + 0x28))();" (call_expression "(**(code **)(*param_1 + 0x28))()" (parenthesized_expression "(**(code **)(*param_1 + 0x28))" ( (pointer_expression "**(code **)(*param_1 + 0x28)" * (pointer_expression "*(code **)(*param_1 + 0x28)" * (cast_expression "(code **)(*param_1 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x28)" ( (binary_expression "*param_1 + 0x28" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (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 { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (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 ;) })))
(function_definition "void FUN_00389510(long *param_1)\n\n{\n  if (*(code **)(*param_1 + 0x28) == (code *)PTR_thunk_FUN_00389270_004b9de0) {\n    FUN_00389270();\n    return;\n  }\n                    \n                    \n  (**(code **)(*param_1 + 0x28))();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00389510(long *param_1)" (identifier "FUN_00389510") (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  if (*(code **)(*param_1 + 0x28) == (code *)PTR_thunk_FUN_00389270_004b9de0) {\n    FUN_00389270();\n    return;\n  }\n                    \n                    \n  (**(code **)(*param_1 + 0x28))();\n  return;\n}" ({ "{") (if_statement "if (*(code **)(*param_1 + 0x28) == (code *)PTR_thunk_FUN_00389270_004b9de0) {\n    FUN_00389270();\n    return;\n  }" (if "if") (parenthesized_expression "(*(code **)(*param_1 + 0x28) == (code *)PTR_thunk_FUN_00389270_004b9de0)" (( "(") (binary_expression "*(code **)(*param_1 + 0x28) == (code *)PTR_thunk_FUN_00389270_004b9de0" (pointer_expression "*(code **)(*param_1 + 0x28)" (* "*") (cast_expression "(code **)(*param_1 + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0x28)" (( "(") (binary_expression "*param_1 + 0x28" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x28")) () ")")))) (== "==") (cast_expression "(code *)PTR_thunk_FUN_00389270_004b9de0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_thunk_FUN_00389270_004b9de0"))) () ")")) (compound_statement "{\n    FUN_00389270();\n    return;\n  }" ({ "{") (expression_statement "FUN_00389270();" (call_expression "FUN_00389270()" (identifier "FUN_00389270") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(**(code **)(*param_1 + 0x28))();" (call_expression "(**(code **)(*param_1 + 0x28))()" (parenthesized_expression "(**(code **)(*param_1 + 0x28))" (( "(") (pointer_expression "**(code **)(*param_1 + 0x28)" (* "*") (pointer_expression "*(code **)(*param_1 + 0x28)" (* "*") (cast_expression "(code **)(*param_1 + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0x28)" (( "(") (binary_expression "*param_1 + 0x28" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::num_put<wchar_t, std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >
   >::put(std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >, std::ios_base&, wchar_t,
   long long) const */

void std::num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::put
               (long *param_1)

{
  if (*(type_1 **)(*param_1 + 0x28) == (type_1 *)PTR_do_put_004b9de0) {
    _M_insert_int<long_long>();
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x00389528. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(type_1 **)(*param_1 + 0x28))();
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (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 (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))) (expression_statement (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))))

void MASKED(long *param_1)

{
  if (*(code **)(*param_1 + 0x28) == (code *)PTR_thunk_FUN_00389270_004b9de0) {
    FUN_00389270();
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x00389528. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(*param_1 + 0x28))();
  return;
}

