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

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

{
  int iVar1;
  
  if (*(code **)(*(int *)this + 0xc) == (code *)PTR_do_thousands_sep_004337a8) {
    return (int)*(char *)(*(int *)(this + 8) + 0x12);
  }
                    /* WARNING: Could not recover jumptable at 0x002cdc50. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  iVar1 = (**(code **)(*(int *)this + 0xc))();
  return iVar1;
}



int FUN_002cdc24(int *param_1)

{
  int iVar1;
  
  if (*(code **)(*param_1 + 0xc) == (code *)PTR_do_thousands_sep_004337a8) {
    return (int)*(char *)(param_1[2] + 0x12);
  }
                    /* WARNING: Could not recover jumptable at 0x002cdc50. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  iVar1 = (**(code **)(*param_1 + 0xc))();
  return iVar1;
}


lui gp,0x17
addiu gp,gp,-0x3a54
addu gp,gp,t9
lw a1,0x0(a0)
lw v1,-0x6a28(gp)
lw t9,0xc(a1)
bne t9,v1,0x002cdc50
_nop
lw v0,0x8(a0)
jr ra
_lb v0,0x12(v0)
jr t9
_nop
(translation_unit "int FUN_002cdc24(int *param_1)\n\n{\n  int iVar1;\n  \n  if (*(code **)(*param_1 + 0xc) == (code *)PTR_do_thousands_sep_004337a8) {\n    return (int)*(char *)(param_1[2] + 0x12);\n  }\n                    /* WARNING: Could not recover jumptable at 0x002cdc50. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  iVar1 = (**(code **)(*param_1 + 0xc))();\n  return iVar1;\n}\n\n" (function_definition "int FUN_002cdc24(int *param_1)\n\n{\n  int iVar1;\n  \n  if (*(code **)(*param_1 + 0xc) == (code *)PTR_do_thousands_sep_004337a8) {\n    return (int)*(char *)(param_1[2] + 0x12);\n  }\n                    /* WARNING: Could not recover jumptable at 0x002cdc50. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  iVar1 = (**(code **)(*param_1 + 0xc))();\n  return iVar1;\n}" primitive_type (function_declarator "FUN_002cdc24(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (*(code **)(*param_1 + 0xc) == (code *)PTR_do_thousands_sep_004337a8) {\n    return (int)*(char *)(param_1[2] + 0x12);\n  }\n                    /* WARNING: Could not recover jumptable at 0x002cdc50. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  iVar1 = (**(code **)(*param_1 + 0xc))();\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (*(code **)(*param_1 + 0xc) == (code *)PTR_do_thousands_sep_004337a8) {\n    return (int)*(char *)(param_1[2] + 0x12);\n  }" if (parenthesized_expression "(*(code **)(*param_1 + 0xc) == (code *)PTR_do_thousands_sep_004337a8)" ( (binary_expression "*(code **)(*param_1 + 0xc) == (code *)PTR_do_thousands_sep_004337a8" (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_do_thousands_sep_004337a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    return (int)*(char *)(param_1[2] + 0x12);\n  }" { (return_statement "return (int)*(char *)(param_1[2] + 0x12);" return (cast_expression "(int)*(char *)(param_1[2] + 0x12)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(char *)(param_1[2] + 0x12)" * (cast_expression "(char *)(param_1[2] + 0x12)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[2] + 0x12)" ( (binary_expression "param_1[2] + 0x12" (subscript_expression "param_1[2]" identifier [ number_literal ]) + number_literal) ))))) ;) })) comment comment (expression_statement "iVar1 = (**(code **)(*param_1 + 0xc))();" (assignment_expression "iVar1 = (**(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 iVar1;" return identifier ;) })))
(translation_unit "/* std::moneypunct<char, true>::thousands_sep() const */\n\nint __thiscall std::moneypunct<char,true>::thousands_sep(moneypunct<char,true> *this)\n\n{\n  int iVar1;\n  \n  if (*(code **)(*(int *)this + 0xc) == (code *)PTR_do_thousands_sep_004337a8) {\n    return (int)*(char *)(*(int *)(this + 8) + 0x12);\n  }\n                    /* WARNING: Could not recover jumptable at 0x002cdc50. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  iVar1 = (**(code **)(*(int *)this + 0xc))();\n  return iVar1;\n}\n\n" comment (declaration "int __thiscall std::moneypunct<char,true>::thousands_sep(moneypunct<char,true> *this)\n\n{\n  int iVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::" identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "true>::thousands_sep(moneypunct<char,true> *this)\n\n{\n  int" 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)) ))) { primitive_type) identifier ;) (if_statement "if (*(code **)(*(int *)this + 0xc) == (code *)PTR_do_thousands_sep_004337a8) {\n    return (int)*(char *)(*(int *)(this + 8) + 0x12);\n  }" if (parenthesized_expression "(*(code **)(*(int *)this + 0xc) == (code *)PTR_do_thousands_sep_004337a8)" ( (binary_expression "*(code **)(*(int *)this + 0xc) == (code *)PTR_do_thousands_sep_004337a8" (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_004337a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    return (int)*(char *)(*(int *)(this + 8) + 0x12);\n  }" { (return_statement "return (int)*(char *)(*(int *)(this + 8) + 0x12);" return (cast_expression "(int)*(char *)(*(int *)(this + 8) + 0x12)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(char *)(*(int *)(this + 8) + 0x12)" * (cast_expression "(char *)(*(int *)(this + 8) + 0x12)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(this + 8) + 0x12)" ( (binary_expression "*(int *)(this + 8) + 0x12" (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 "iVar1 = (**(code **)(*(int *)this + 0xc))();" (assignment_expression "iVar1 = (**(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 iVar1;" return identifier ;) (ERROR "}" }))
(translation_unit "int FUN_002cdc24(int *param_1)\n\n{\n  int iVar1;\n  \n  if (*(code **)(*param_1 + 0xc) == (code *)PTR_do_thousands_sep_004337a8) {\n    return (int)*(char *)(param_1[2] + 0x12);\n  }\n                    \n                    \n  iVar1 = (**(code **)(*param_1 + 0xc))();\n  return iVar1;\n}\n\n" (function_definition "int FUN_002cdc24(int *param_1)\n\n{\n  int iVar1;\n  \n  if (*(code **)(*param_1 + 0xc) == (code *)PTR_do_thousands_sep_004337a8) {\n    return (int)*(char *)(param_1[2] + 0x12);\n  }\n                    \n                    \n  iVar1 = (**(code **)(*param_1 + 0xc))();\n  return iVar1;\n}" primitive_type (function_declarator "FUN_002cdc24(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (*(code **)(*param_1 + 0xc) == (code *)PTR_do_thousands_sep_004337a8) {\n    return (int)*(char *)(param_1[2] + 0x12);\n  }\n                    \n                    \n  iVar1 = (**(code **)(*param_1 + 0xc))();\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (*(code **)(*param_1 + 0xc) == (code *)PTR_do_thousands_sep_004337a8) {\n    return (int)*(char *)(param_1[2] + 0x12);\n  }" if (parenthesized_expression "(*(code **)(*param_1 + 0xc) == (code *)PTR_do_thousands_sep_004337a8)" ( (binary_expression "*(code **)(*param_1 + 0xc) == (code *)PTR_do_thousands_sep_004337a8" (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_do_thousands_sep_004337a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    return (int)*(char *)(param_1[2] + 0x12);\n  }" { (return_statement "return (int)*(char *)(param_1[2] + 0x12);" return (cast_expression "(int)*(char *)(param_1[2] + 0x12)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(char *)(param_1[2] + 0x12)" * (cast_expression "(char *)(param_1[2] + 0x12)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[2] + 0x12)" ( (binary_expression "param_1[2] + 0x12" (subscript_expression "param_1[2]" identifier [ number_literal ]) + number_literal) ))))) ;) })) (expression_statement "iVar1 = (**(code **)(*param_1 + 0xc))();" (assignment_expression "iVar1 = (**(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 iVar1;" 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 (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (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 "int FUN_002cdc24(int *param_1)\n\n{\n  int iVar1;\n  \n  if (*(code **)(*param_1 + 0xc) == (code *)PTR_do_thousands_sep_004337a8) {\n    return (int)*(char *)(param_1[2] + 0x12);\n  }\n                    \n                    \n  iVar1 = (**(code **)(*param_1 + 0xc))();\n  return iVar1;\n}" (primitive_type "int") (function_declarator "FUN_002cdc24(int *param_1)" (identifier "FUN_002cdc24") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if (*(code **)(*param_1 + 0xc) == (code *)PTR_do_thousands_sep_004337a8) {\n    return (int)*(char *)(param_1[2] + 0x12);\n  }\n                    \n                    \n  iVar1 = (**(code **)(*param_1 + 0xc))();\n  return iVar1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if (*(code **)(*param_1 + 0xc) == (code *)PTR_do_thousands_sep_004337a8) {\n    return (int)*(char *)(param_1[2] + 0x12);\n  }" (if "if") (parenthesized_expression "(*(code **)(*param_1 + 0xc) == (code *)PTR_do_thousands_sep_004337a8)" (( "(") (binary_expression "*(code **)(*param_1 + 0xc) == (code *)PTR_do_thousands_sep_004337a8" (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_do_thousands_sep_004337a8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_do_thousands_sep_004337a8"))) () ")")) (compound_statement "{\n    return (int)*(char *)(param_1[2] + 0x12);\n  }" ({ "{") (return_statement "return (int)*(char *)(param_1[2] + 0x12);" (return "return") (cast_expression "(int)*(char *)(param_1[2] + 0x12)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*(char *)(param_1[2] + 0x12)" (* "*") (cast_expression "(char *)(param_1[2] + 0x12)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[2] + 0x12)" (( "(") (binary_expression "param_1[2] + 0x12" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (+ "+") (number_literal "0x12")) () ")"))))) (; ";")) (} "}"))) (expression_statement "iVar1 = (**(code **)(*param_1 + 0xc))();" (assignment_expression "iVar1 = (**(code **)(*param_1 + 0xc))()" (identifier "iVar1") (= "=") (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 iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}")))

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

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

{
  int iVar1;
  
  if (*(type_1 **)(*(int *)var_1 + 0xc) == (type_1 *)PTR_do_thousands_sep_004337a8) {
    return (int)*(char *)(*(int *)(var_1 + 8) + 0x12);
  }
                    /* WARNING: Could not recover jumptable at 0x002cdc50. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  iVar1 = (**(type_1 **)(*(int *)var_1 + 0xc))();
  return iVar1;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) 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 (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) 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)))))

int MASKED(int *param_1)

{
  int iVar1;
  
  if (*(code **)(*param_1 + 0xc) == (code *)PTR_do_thousands_sep_004337a8) {
    return (int)*(char *)(param_1[2] + 0x12);
  }
                    /* WARNING: Could not recover jumptable at 0x002cdc50. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  iVar1 = (**(code **)(*param_1 + 0xc))();
  return iVar1;
}

