
/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */
/* std::numpunct<char>::thousands_sep() const */

uint __thiscall std::numpunct<char>::thousands_sep(numpunct<char> *this)

{
  uint uVar1;
  
  if (*(code **)(*(int *)this + 0xc) == (code *)PTR_do_thousands_sep_0033ed50) {
    return (uint)*(byte *)(*(int *)(this + 8) + 0x25);
  }
                    /* WARNING: Could not recover jumptable at 0x001bfdd8. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  uVar1 = (**(code **)(*(int *)this + 0xc))();
  return uVar1;
}



/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

uint FUN_001bfdb0(int *param_1)

{
  uint uVar1;
  
  if (*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0033ed50) {
    return (uint)*(byte *)(param_1[2] + 0x25);
  }
                    /* WARNING: Could not recover jumptable at 0x001bfdd8. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  uVar1 = (**(code **)(*param_1 + 0xc))();
  return uVar1;
}


CALL 0x00058c46
ADD ECX,0x17f24b
MOV EAX,dword ptr [ESP + 0x4]
MOV EDX,dword ptr [EAX]
MOV EDX,dword ptr [EDX + 0xc]
CMP EDX,dword ptr [ECX + 0xfffffd50]
JNZ 0x001bfdd8
MOV EAX,dword ptr [EAX + 0x8]
MOVZX EAX,byte ptr [EAX + 0x25]
RET
JMP EDX
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nuint FUN_001bfdb0(int *param_1)\n\n{\n  uint uVar1;\n  \n  if (*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0033ed50) {\n    return (uint)*(byte *)(param_1[2] + 0x25);\n  }\n                    /* WARNING: Could not recover jumptable at 0x001bfdd8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  uVar1 = (**(code **)(*param_1 + 0xc))();\n  return uVar1;\n}\n\n" comment (function_definition "uint FUN_001bfdb0(int *param_1)\n\n{\n  uint uVar1;\n  \n  if (*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0033ed50) {\n    return (uint)*(byte *)(param_1[2] + 0x25);\n  }\n                    /* WARNING: Could not recover jumptable at 0x001bfdd8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  uVar1 = (**(code **)(*param_1 + 0xc))();\n  return uVar1;\n}" type_identifier (function_declarator "FUN_001bfdb0(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  \n  if (*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0033ed50) {\n    return (uint)*(byte *)(param_1[2] + 0x25);\n  }\n                    /* WARNING: Could not recover jumptable at 0x001bfdd8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  uVar1 = (**(code **)(*param_1 + 0xc))();\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (if_statement "if (*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0033ed50) {\n    return (uint)*(byte *)(param_1[2] + 0x25);\n  }" if (parenthesized_expression "(*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0033ed50)" ( (binary_expression "*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0033ed50" (pointer_expression "*(code **)(*param_1 + 0xc)" * (cast_expression "(code **)(*param_1 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0xc)" ( (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))) == (cast_expression "(code *)PTR_FUN_0033ed50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    return (uint)*(byte *)(param_1[2] + 0x25);\n  }" { (return_statement "return (uint)*(byte *)(param_1[2] + 0x25);" return (binary_expression "(uint)*(byte *)(param_1[2] + 0x25)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_1[2] + 0x25)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[2] + 0x25)" ( (binary_expression "param_1[2] + 0x25" (subscript_expression "param_1[2]" identifier [ number_literal ]) + number_literal) )))) ;) })) comment comment (expression_statement "uVar1 = (**(code **)(*param_1 + 0xc))();" (assignment_expression "uVar1 = (**(code **)(*param_1 + 0xc))()" identifier = (call_expression "(**(code **)(*param_1 + 0xc))()" (parenthesized_expression "(**(code **)(*param_1 + 0xc))" ( (pointer_expression "**(code **)(*param_1 + 0xc)" * (pointer_expression "*(code **)(*param_1 + 0xc)" * (cast_expression "(code **)(*param_1 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0xc)" ( (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n/* std::numpunct<char>::thousands_sep() const */\n\nuint __thiscall std::numpunct<char>::thousands_sep(numpunct<char> *this)\n\n{\n  uint uVar1;\n  \n  if (*(code **)(*(int *)this + 0xc) == (code *)PTR_do_thousands_sep_0033ed50) {\n    return (uint)*(byte *)(*(int *)(this + 8) + 0x25);\n  }\n                    /* WARNING: Could not recover jumptable at 0x001bfdd8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  uVar1 = (**(code **)(*(int *)this + 0xc))();\n  return uVar1;\n}\n\n" comment comment (function_definition "uint __thiscall std::numpunct<char>::thousands_sep(numpunct<char> *this)\n\n{\n  uint uVar1;\n  \n  if (*(code **)(*(int *)this + 0xc) == (code *)PTR_do_thousands_sep_0033ed50) {\n    return (uint)*(byte *)(*(int *)(this + 8) + 0x25);\n  }\n                    /* WARNING: Could not recover jumptable at 0x001bfdd8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  uVar1 = (**(code **)(*(int *)this + 0xc))();\n  return uVar1;\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::numpunct<char>::" identifier : : identifier < primitive_type > : :) (function_declarator "thousands_sep(numpunct<char> *this)" identifier (parameter_list "(numpunct<char> *this)" ( (parameter_declaration "numpunct<char> *this" type_identifier (ERROR "<char>" < primitive_type >) (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  \n  if (*(code **)(*(int *)this + 0xc) == (code *)PTR_do_thousands_sep_0033ed50) {\n    return (uint)*(byte *)(*(int *)(this + 8) + 0x25);\n  }\n                    /* WARNING: Could not recover jumptable at 0x001bfdd8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  uVar1 = (**(code **)(*(int *)this + 0xc))();\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (if_statement "if (*(code **)(*(int *)this + 0xc) == (code *)PTR_do_thousands_sep_0033ed50) {\n    return (uint)*(byte *)(*(int *)(this + 8) + 0x25);\n  }" if (parenthesized_expression "(*(code **)(*(int *)this + 0xc) == (code *)PTR_do_thousands_sep_0033ed50)" ( (binary_expression "*(code **)(*(int *)this + 0xc) == (code *)PTR_do_thousands_sep_0033ed50" (pointer_expression "*(code **)(*(int *)this + 0xc)" * (cast_expression "(code **)(*(int *)this + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)this + 0xc)" ( (binary_expression "*(int *)this + 0xc" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) == (cast_expression "(code *)PTR_do_thousands_sep_0033ed50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    return (uint)*(byte *)(*(int *)(this + 8) + 0x25);\n  }" { (return_statement "return (uint)*(byte *)(*(int *)(this + 8) + 0x25);" return (binary_expression "(uint)*(byte *)(*(int *)(this + 8) + 0x25)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(*(int *)(this + 8) + 0x25)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(this + 8) + 0x25)" ( (binary_expression "*(int *)(this + 8) + 0x25" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) + number_literal) )))) ;) })) comment comment (expression_statement "uVar1 = (**(code **)(*(int *)this + 0xc))();" (assignment_expression "uVar1 = (**(code **)(*(int *)this + 0xc))()" identifier = (call_expression "(**(code **)(*(int *)this + 0xc))()" (parenthesized_expression "(**(code **)(*(int *)this + 0xc))" ( (pointer_expression "**(code **)(*(int *)this + 0xc)" * (pointer_expression "*(code **)(*(int *)this + 0xc)" * (cast_expression "(code **)(*(int *)this + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)this + 0xc)" ( (binary_expression "*(int *)this + 0xc" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "uint FUN_001bfdb0(int *param_1)\n\n{\n  uint uVar1;\n  \n  if (*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0033ed50) {\n    return (uint)*(byte *)(param_1[2] + 0x25);\n  }\n                    \n                    \n  uVar1 = (**(code **)(*param_1 + 0xc))();\n  return uVar1;\n}\n\n" (function_definition "uint FUN_001bfdb0(int *param_1)\n\n{\n  uint uVar1;\n  \n  if (*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0033ed50) {\n    return (uint)*(byte *)(param_1[2] + 0x25);\n  }\n                    \n                    \n  uVar1 = (**(code **)(*param_1 + 0xc))();\n  return uVar1;\n}" type_identifier (function_declarator "FUN_001bfdb0(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  \n  if (*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0033ed50) {\n    return (uint)*(byte *)(param_1[2] + 0x25);\n  }\n                    \n                    \n  uVar1 = (**(code **)(*param_1 + 0xc))();\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (if_statement "if (*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0033ed50) {\n    return (uint)*(byte *)(param_1[2] + 0x25);\n  }" if (parenthesized_expression "(*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0033ed50)" ( (binary_expression "*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0033ed50" (pointer_expression "*(code **)(*param_1 + 0xc)" * (cast_expression "(code **)(*param_1 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0xc)" ( (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))) == (cast_expression "(code *)PTR_FUN_0033ed50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    return (uint)*(byte *)(param_1[2] + 0x25);\n  }" { (return_statement "return (uint)*(byte *)(param_1[2] + 0x25);" return (binary_expression "(uint)*(byte *)(param_1[2] + 0x25)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_1[2] + 0x25)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[2] + 0x25)" ( (binary_expression "param_1[2] + 0x25" (subscript_expression "param_1[2]" identifier [ number_literal ]) + number_literal) )))) ;) })) (expression_statement "uVar1 = (**(code **)(*param_1 + 0xc))();" (assignment_expression "uVar1 = (**(code **)(*param_1 + 0xc))()" identifier = (call_expression "(**(code **)(*param_1 + 0xc))()" (parenthesized_expression "(**(code **)(*param_1 + 0xc))" ( (pointer_expression "**(code **)(*param_1 + 0xc)" * (pointer_expression "*(code **)(*param_1 + 0xc)" * (cast_expression "(code **)(*param_1 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0xc)" ( (binary_expression "*param_1 + 0xc" (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 TYPE (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 "uint FUN_001bfdb0(int *param_1)\n\n{\n  uint uVar1;\n  \n  if (*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0033ed50) {\n    return (uint)*(byte *)(param_1[2] + 0x25);\n  }\n                    \n                    \n  uVar1 = (**(code **)(*param_1 + 0xc))();\n  return uVar1;\n}" (type_identifier "uint") (function_declarator "FUN_001bfdb0(int *param_1)" (identifier "FUN_001bfdb0") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  \n  if (*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0033ed50) {\n    return (uint)*(byte *)(param_1[2] + 0x25);\n  }\n                    \n                    \n  uVar1 = (**(code **)(*param_1 + 0xc))();\n  return uVar1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (if_statement "if (*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0033ed50) {\n    return (uint)*(byte *)(param_1[2] + 0x25);\n  }" (if "if") (parenthesized_expression "(*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0033ed50)" (( "(") (binary_expression "*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0033ed50" (pointer_expression "*(code **)(*param_1 + 0xc)" (* "*") (cast_expression "(code **)(*param_1 + 0xc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0xc)" (( "(") (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0xc")) () ")")))) (== "==") (cast_expression "(code *)PTR_FUN_0033ed50" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_0033ed50"))) () ")")) (compound_statement "{\n    return (uint)*(byte *)(param_1[2] + 0x25);\n  }" ({ "{") (return_statement "return (uint)*(byte *)(param_1[2] + 0x25);" (return "return") (binary_expression "(uint)*(byte *)(param_1[2] + 0x25)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(param_1[2] + 0x25)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[2] + 0x25)" (( "(") (binary_expression "param_1[2] + 0x25" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (+ "+") (number_literal "0x25")) () ")")))) (; ";")) (} "}"))) (expression_statement "uVar1 = (**(code **)(*param_1 + 0xc))();" (assignment_expression "uVar1 = (**(code **)(*param_1 + 0xc))()" (identifier "uVar1") (= "=") (call_expression "(**(code **)(*param_1 + 0xc))()" (parenthesized_expression "(**(code **)(*param_1 + 0xc))" (( "(") (pointer_expression "**(code **)(*param_1 + 0xc)" (* "*") (pointer_expression "*(code **)(*param_1 + 0xc)" (* "*") (cast_expression "(code **)(*param_1 + 0xc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0xc)" (( "(") (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0xc")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */
/* std::numpunct<char>::thousands_sep() const */

type_1 __thiscall std::type_2<char>::function_1(type_2<char> *var_1)

{
  type_1 uVar1;
  
  if (*(type_3 **)(*(int *)var_1 + 0xc) == (type_3 *)PTR_do_thousands_sep_0033ed50) {
    return (type_1)*(type_4 *)(*(int *)(var_1 + 8) + 0x25);
  }
                    /* WARNING: Could not recover jumptable at 0x001bfdd8. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  uVar1 = (**(type_3 **)(*(int *)var_1 + 0xc))();
  return uVar1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) 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)))))

/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

uint MASKED(int *param_1)

{
  uint uVar1;
  
  if (*(code **)(*param_1 + 0xc) == (code *)PTR_FUN_0033ed50) {
    return (uint)*(byte *)(param_1[2] + 0x25);
  }
                    /* WARNING: Could not recover jumptable at 0x001bfdd8. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  uVar1 = (**(code **)(*param_1 + 0xc))();
  return uVar1;
}

