
/* std::moneypunct<char, false>::do_curr_symbol() const */

int * std::moneypunct<char,false>::do_curr_symbol(void)

{
  int iVar1;
  int *in_a0;
  int in_a1;
  int iVar2;
  
  iVar2 = *(int *)(*(int *)(in_a1 + 8) + 0x14);
  *in_a0 = (int)(in_a0 + 2);
  if (iVar2 == 0) {
    iVar1 = -1;
  }
  else {
    iVar1 = (*(code *)PTR_strlen_004c5b9c)(iVar2);
    iVar1 = iVar2 + iVar1;
  }
  (*(code *)PTR__M_construct<char_const*>_004c1b68)(in_a0,iVar2,iVar1,0);
  return in_a0;
}



/* std::moneypunct<char, false>::do_curr_symbol() const */

int * std::moneypunct<char,false>::do_curr_symbol(void)

{
  int iVar1;
  int *in_a0;
  int in_a1;
  int iVar2;
  
  iVar2 = *(int *)(*(int *)(in_a1 + 8) + 0x14);
  *in_a0 = (int)(in_a0 + 2);
  if (iVar2 == 0) {
    iVar1 = -1;
  }
  else {
    iVar1 = (*(code *)PTR_strlen_004c5b9c)(iVar2);
    iVar1 = iVar2 + iVar1;
  }
  (*(code *)PTR__M_construct<char_const*>_004c1b68)(in_a0,iVar2,iVar1,0);
  return in_a0;
}


lui gp,0x11
addiu gp,gp,-0x74b0
addu gp,gp,t9
addiu sp,sp,-0x28
lw v1,0x8(a1)
addiu v0,a0,0x8
sw s0,0x1c(sp)
or s0,a0,zero
sw gp,0x10(sp)
sw ra,0x24(sp)
sw s1,0x20(sp)
lw s1,0x14(v1)
beq s1,zero,0x003c076c
_sw v0,0x0(a0)
lw t9,-0x36a4(gp)
jalr t9
_or a0,s1,zero
lw gp,0x10(sp)
addu a2,s1,v0
or a3,zero,zero
lw t9,-0x76d8(gp)
or a1,s1,zero
sll a3,a3,0x18
jalr t9
_or a0,s0,zero
or v0,s0,zero
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
b 0x003c073c
_li a2,-0x1
(translation_unit "/* std::moneypunct<char, false>::do_curr_symbol() const */\n\nint * std::moneypunct<char,false>::do_curr_symbol(void)\n\n{\n  int iVar1;\n  int *in_a0;\n  int in_a1;\n  int iVar2;\n  \n  iVar2 = *(int *)(*(int *)(in_a1 + 8) + 0x14);\n  *in_a0 = (int)(in_a0 + 2);\n  if (iVar2 == 0) {\n    iVar1 = -1;\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(iVar2);\n    iVar1 = iVar2 + iVar1;\n  }\n  (*(code *)PTR__M_construct<char_const*>_004c1b68)(in_a0,iVar2,iVar1,0);\n  return in_a0;\n}\n\n" comment (declaration "int * std::moneypunct<char,false>::do_curr_symbol(void)\n\n{\n  int iVar1;" primitive_type (pointer_declarator "* std::moneypunct" * (ERROR "std::" identifier : :) identifier) (ERROR "<char" < primitive_type) , (ERROR "false>::do_curr_symbol(void)\n\n{\n  int" identifier > : : (function_declarator "do_curr_symbol(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) { primitive_type) identifier ;) (declaration "int *in_a0;" primitive_type (pointer_declarator "*in_a0" * identifier) ;) (declaration "int in_a1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar2 = *(int *)(*(int *)(in_a1 + 8) + 0x14);" (assignment_expression "iVar2 = *(int *)(*(int *)(in_a1 + 8) + 0x14)" identifier = (pointer_expression "*(int *)(*(int *)(in_a1 + 8) + 0x14)" * (cast_expression "(int *)(*(int *)(in_a1 + 8) + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(in_a1 + 8) + 0x14)" ( (binary_expression "*(int *)(in_a1 + 8) + 0x14" (pointer_expression "*(int *)(in_a1 + 8)" * (cast_expression "(int *)(in_a1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a1 + 8)" ( (binary_expression "in_a1 + 8" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "*in_a0 = (int)(in_a0 + 2);" (assignment_expression "*in_a0 = (int)(in_a0 + 2)" (pointer_expression "*in_a0" * identifier) = (cast_expression "(int)(in_a0 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(in_a0 + 2)" ( (binary_expression "in_a0 + 2" identifier + number_literal) )))) ;) (if_statement "if (iVar2 == 0) {\n    iVar1 = -1;\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(iVar2);\n    iVar1 = iVar2 + iVar1;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar1 = -1;\n  }" { (expression_statement "iVar1 = -1;" (assignment_expression "iVar1 = -1" identifier = number_literal) ;) }) (else_clause "else {\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(iVar2);\n    iVar1 = iVar2 + iVar1;\n  }" else (compound_statement "{\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(iVar2);\n    iVar1 = iVar2 + iVar1;\n  }" { (expression_statement "iVar1 = (*(code *)PTR_strlen_004c5b9c)(iVar2);" (assignment_expression "iVar1 = (*(code *)PTR_strlen_004c5b9c)(iVar2)" identifier = (call_expression "(*(code *)PTR_strlen_004c5b9c)(iVar2)" (parenthesized_expression "(*(code *)PTR_strlen_004c5b9c)" ( (pointer_expression "*(code *)PTR_strlen_004c5b9c" * (cast_expression "(code *)PTR_strlen_004c5b9c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2)" ( identifier )))) ;) (expression_statement "iVar1 = iVar2 + iVar1;" (assignment_expression "iVar1 = iVar2 + iVar1" identifier = (binary_expression "iVar2 + iVar1" identifier + identifier)) ;) }))) (expression_statement "(*(code *)PTR__M_construct<char_const*>_004c1b68)(in_a0,iVar2,iVar1,0);" (call_expression "(*(code *)PTR__M_construct<char_const*>_004c1b68)(in_a0,iVar2,iVar1,0)" (parenthesized_expression "(*(code *)PTR__M_construct<char_const*>_004c1b68)" ( (binary_expression "*(code *)PTR__M_construct<char_const*>_004c1b68" (binary_expression "*(code *)PTR__M_construct<char_const" (pointer_expression "*(code *)PTR__M_construct" * (cast_expression "(code *)PTR__M_construct" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) < identifier) (ERROR "*" *) > identifier) )) (argument_list "(in_a0,iVar2,iVar1,0)" ( identifier , identifier , identifier , number_literal ))) ;) (return_statement "return in_a0;" return identifier ;) (ERROR "}" }))
(translation_unit "/* std::moneypunct<char, false>::do_curr_symbol() const */\n\nint * std::moneypunct<char,false>::do_curr_symbol(void)\n\n{\n  int iVar1;\n  int *in_a0;\n  int in_a1;\n  int iVar2;\n  \n  iVar2 = *(int *)(*(int *)(in_a1 + 8) + 0x14);\n  *in_a0 = (int)(in_a0 + 2);\n  if (iVar2 == 0) {\n    iVar1 = -1;\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(iVar2);\n    iVar1 = iVar2 + iVar1;\n  }\n  (*(code *)PTR__M_construct<char_const*>_004c1b68)(in_a0,iVar2,iVar1,0);\n  return in_a0;\n}\n\n" comment (declaration "int * std::moneypunct<char,false>::do_curr_symbol(void)\n\n{\n  int iVar1;" primitive_type (pointer_declarator "* std::moneypunct" * (ERROR "std::" identifier : :) identifier) (ERROR "<char" < primitive_type) , (ERROR "false>::do_curr_symbol(void)\n\n{\n  int" identifier > : : (function_declarator "do_curr_symbol(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) { primitive_type) identifier ;) (declaration "int *in_a0;" primitive_type (pointer_declarator "*in_a0" * identifier) ;) (declaration "int in_a1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar2 = *(int *)(*(int *)(in_a1 + 8) + 0x14);" (assignment_expression "iVar2 = *(int *)(*(int *)(in_a1 + 8) + 0x14)" identifier = (pointer_expression "*(int *)(*(int *)(in_a1 + 8) + 0x14)" * (cast_expression "(int *)(*(int *)(in_a1 + 8) + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(in_a1 + 8) + 0x14)" ( (binary_expression "*(int *)(in_a1 + 8) + 0x14" (pointer_expression "*(int *)(in_a1 + 8)" * (cast_expression "(int *)(in_a1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a1 + 8)" ( (binary_expression "in_a1 + 8" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "*in_a0 = (int)(in_a0 + 2);" (assignment_expression "*in_a0 = (int)(in_a0 + 2)" (pointer_expression "*in_a0" * identifier) = (cast_expression "(int)(in_a0 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(in_a0 + 2)" ( (binary_expression "in_a0 + 2" identifier + number_literal) )))) ;) (if_statement "if (iVar2 == 0) {\n    iVar1 = -1;\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(iVar2);\n    iVar1 = iVar2 + iVar1;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar1 = -1;\n  }" { (expression_statement "iVar1 = -1;" (assignment_expression "iVar1 = -1" identifier = number_literal) ;) }) (else_clause "else {\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(iVar2);\n    iVar1 = iVar2 + iVar1;\n  }" else (compound_statement "{\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(iVar2);\n    iVar1 = iVar2 + iVar1;\n  }" { (expression_statement "iVar1 = (*(code *)PTR_strlen_004c5b9c)(iVar2);" (assignment_expression "iVar1 = (*(code *)PTR_strlen_004c5b9c)(iVar2)" identifier = (call_expression "(*(code *)PTR_strlen_004c5b9c)(iVar2)" (parenthesized_expression "(*(code *)PTR_strlen_004c5b9c)" ( (pointer_expression "*(code *)PTR_strlen_004c5b9c" * (cast_expression "(code *)PTR_strlen_004c5b9c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2)" ( identifier )))) ;) (expression_statement "iVar1 = iVar2 + iVar1;" (assignment_expression "iVar1 = iVar2 + iVar1" identifier = (binary_expression "iVar2 + iVar1" identifier + identifier)) ;) }))) (expression_statement "(*(code *)PTR__M_construct<char_const*>_004c1b68)(in_a0,iVar2,iVar1,0);" (call_expression "(*(code *)PTR__M_construct<char_const*>_004c1b68)(in_a0,iVar2,iVar1,0)" (parenthesized_expression "(*(code *)PTR__M_construct<char_const*>_004c1b68)" ( (binary_expression "*(code *)PTR__M_construct<char_const*>_004c1b68" (binary_expression "*(code *)PTR__M_construct<char_const" (pointer_expression "*(code *)PTR__M_construct" * (cast_expression "(code *)PTR__M_construct" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) < identifier) (ERROR "*" *) > identifier) )) (argument_list "(in_a0,iVar2,iVar1,0)" ( identifier , identifier , identifier , number_literal ))) ;) (return_statement "return in_a0;" return identifier ;) (ERROR "}" }))
(translation_unit "int * std::moneypunct<char,false>::do_curr_symbol(void)\n\n{\n  int iVar1;\n  int *in_a0;\n  int in_a1;\n  int iVar2;\n  \n  iVar2 = *(int *)(*(int *)(in_a1 + 8) + 0x14);\n  *in_a0 = (int)(in_a0 + 2);\n  if (iVar2 == 0) {\n    iVar1 = -1;\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(iVar2);\n    iVar1 = iVar2 + iVar1;\n  }\n  (*(code *)PTR__M_construct<char_const*>_004c1b68)(in_a0,iVar2,iVar1,0);\n  return in_a0;\n}\n\n" (declaration "int * std::moneypunct<char,false>::do_curr_symbol(void)\n\n{\n  int iVar1;" primitive_type (pointer_declarator "* std::moneypunct" * (ERROR "std::" identifier : :) identifier) (ERROR "<char" < primitive_type) , (ERROR "false>::do_curr_symbol(void)\n\n{\n  int" identifier > : : (function_declarator "do_curr_symbol(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) { primitive_type) identifier ;) (declaration "int *in_a0;" primitive_type (pointer_declarator "*in_a0" * identifier) ;) (declaration "int in_a1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar2 = *(int *)(*(int *)(in_a1 + 8) + 0x14);" (assignment_expression "iVar2 = *(int *)(*(int *)(in_a1 + 8) + 0x14)" identifier = (pointer_expression "*(int *)(*(int *)(in_a1 + 8) + 0x14)" * (cast_expression "(int *)(*(int *)(in_a1 + 8) + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(in_a1 + 8) + 0x14)" ( (binary_expression "*(int *)(in_a1 + 8) + 0x14" (pointer_expression "*(int *)(in_a1 + 8)" * (cast_expression "(int *)(in_a1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a1 + 8)" ( (binary_expression "in_a1 + 8" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "*in_a0 = (int)(in_a0 + 2);" (assignment_expression "*in_a0 = (int)(in_a0 + 2)" (pointer_expression "*in_a0" * identifier) = (cast_expression "(int)(in_a0 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(in_a0 + 2)" ( (binary_expression "in_a0 + 2" identifier + number_literal) )))) ;) (if_statement "if (iVar2 == 0) {\n    iVar1 = -1;\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(iVar2);\n    iVar1 = iVar2 + iVar1;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar1 = -1;\n  }" { (expression_statement "iVar1 = -1;" (assignment_expression "iVar1 = -1" identifier = number_literal) ;) }) (else_clause "else {\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(iVar2);\n    iVar1 = iVar2 + iVar1;\n  }" else (compound_statement "{\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(iVar2);\n    iVar1 = iVar2 + iVar1;\n  }" { (expression_statement "iVar1 = (*(code *)PTR_strlen_004c5b9c)(iVar2);" (assignment_expression "iVar1 = (*(code *)PTR_strlen_004c5b9c)(iVar2)" identifier = (call_expression "(*(code *)PTR_strlen_004c5b9c)(iVar2)" (parenthesized_expression "(*(code *)PTR_strlen_004c5b9c)" ( (pointer_expression "*(code *)PTR_strlen_004c5b9c" * (cast_expression "(code *)PTR_strlen_004c5b9c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2)" ( identifier )))) ;) (expression_statement "iVar1 = iVar2 + iVar1;" (assignment_expression "iVar1 = iVar2 + iVar1" identifier = (binary_expression "iVar2 + iVar1" identifier + identifier)) ;) }))) (expression_statement "(*(code *)PTR__M_construct<char_const*>_004c1b68)(in_a0,iVar2,iVar1,0);" (call_expression "(*(code *)PTR__M_construct<char_const*>_004c1b68)(in_a0,iVar2,iVar1,0)" (parenthesized_expression "(*(code *)PTR__M_construct<char_const*>_004c1b68)" ( (binary_expression "*(code *)PTR__M_construct<char_const*>_004c1b68" (binary_expression "*(code *)PTR__M_construct<char_const" (pointer_expression "*(code *)PTR__M_construct" * (cast_expression "(code *)PTR__M_construct" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) < identifier) (ERROR "*" *) > identifier) )) (argument_list "(in_a0,iVar2,iVar1,0)" ( identifier , identifier , identifier , number_literal ))) ;) (return_statement "return in_a0;" return identifier ;) (ERROR "}" }))
(translation_unit (declaration TYPE (pointer_declarator * (ERROR IDENT : :) IDENT) (ERROR < TYPE) , (ERROR IDENT > : : (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) { TYPE) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) }))) (expression_statement (call_expression (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) < IDENT) (ERROR *) > IDENT) )) (argument_list ( IDENT , IDENT , IDENT , LIT ))) ;) (return_statement return IDENT ;) (ERROR }))
(declaration "int * std::moneypunct<char,false>::do_curr_symbol(void)\n\n{\n  int iVar1;" (primitive_type "int") (pointer_declarator "* std::moneypunct" (* "*") (ERROR "std::" (identifier "std") (: ":") (: ":")) (identifier "moneypunct")) (ERROR "<char" (< "<") (primitive_type "char")) (, ",") (ERROR "false>::do_curr_symbol(void)\n\n{\n  int" (identifier "false") (> ">") (: ":") (: ":") (function_declarator "do_curr_symbol(void)" (identifier "do_curr_symbol") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) ({ "{") (primitive_type "int")) (identifier "iVar1") (; ";")) (declaration "int *in_a0;" (primitive_type "int") (pointer_declarator "*in_a0" (* "*") (identifier "in_a0")) (; ";")) (declaration "int in_a1;" (primitive_type "int") (identifier "in_a1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "iVar2 = *(int *)(*(int *)(in_a1 + 8) + 0x14);" (assignment_expression "iVar2 = *(int *)(*(int *)(in_a1 + 8) + 0x14)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(*(int *)(in_a1 + 8) + 0x14)" (* "*") (cast_expression "(int *)(*(int *)(in_a1 + 8) + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(in_a1 + 8) + 0x14)" (( "(") (binary_expression "*(int *)(in_a1 + 8) + 0x14" (pointer_expression "*(int *)(in_a1 + 8)" (* "*") (cast_expression "(int *)(in_a1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a1 + 8)" (( "(") (binary_expression "in_a1 + 8" (identifier "in_a1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "*in_a0 = (int)(in_a0 + 2);" (assignment_expression "*in_a0 = (int)(in_a0 + 2)" (pointer_expression "*in_a0" (* "*") (identifier "in_a0")) (= "=") (cast_expression "(int)(in_a0 + 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(in_a0 + 2)" (( "(") (binary_expression "in_a0 + 2" (identifier "in_a0") (+ "+") (number_literal "2")) () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n    iVar1 = -1;\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(iVar2);\n    iVar1 = iVar2 + iVar1;\n  }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = -1;\n  }" ({ "{") (expression_statement "iVar1 = -1;" (assignment_expression "iVar1 = -1" (identifier "iVar1") (= "=") (number_literal "-1")) (; ";")) (} "}")) (else_clause "else {\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(iVar2);\n    iVar1 = iVar2 + iVar1;\n  }" (else "else") (compound_statement "{\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(iVar2);\n    iVar1 = iVar2 + iVar1;\n  }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR_strlen_004c5b9c)(iVar2);" (assignment_expression "iVar1 = (*(code *)PTR_strlen_004c5b9c)(iVar2)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_strlen_004c5b9c)(iVar2)" (parenthesized_expression "(*(code *)PTR_strlen_004c5b9c)" (( "(") (pointer_expression "*(code *)PTR_strlen_004c5b9c" (* "*") (cast_expression "(code *)PTR_strlen_004c5b9c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_004c5b9c"))) () ")")) (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")")))) (; ";")) (expression_statement "iVar1 = iVar2 + iVar1;" (assignment_expression "iVar1 = iVar2 + iVar1" (identifier "iVar1") (= "=") (binary_expression "iVar2 + iVar1" (identifier "iVar2") (+ "+") (identifier "iVar1"))) (; ";")) (} "}")))) (expression_statement "(*(code *)PTR__M_construct<char_const*>_004c1b68)(in_a0,iVar2,iVar1,0);" (call_expression "(*(code *)PTR__M_construct<char_const*>_004c1b68)(in_a0,iVar2,iVar1,0)" (parenthesized_expression "(*(code *)PTR__M_construct<char_const*>_004c1b68)" (( "(") (binary_expression "*(code *)PTR__M_construct<char_const*>_004c1b68" (binary_expression "*(code *)PTR__M_construct<char_const" (pointer_expression "*(code *)PTR__M_construct" (* "*") (cast_expression "(code *)PTR__M_construct" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__M_construct"))) (< "<") (identifier "char_const")) (ERROR "*" (* "*")) (> ">") (identifier "_004c1b68")) () ")")) (argument_list "(in_a0,iVar2,iVar1,0)" (( "(") (identifier "in_a0") (, ",") (identifier "iVar2") (, ",") (identifier "iVar1") (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return in_a0;" (return "return") (identifier "in_a0") (; ";")) (ERROR "}" (} "}"))

/* std::moneypunct<char, false>::do_curr_symbol() const */

int * std::moneypunct<char,false>::do_curr_symbol(void)

{
  int var_4;
  int *var_2;
  int var_1;
  int var_3;
  
  var_3 = *(int *)(*(int *)(var_1 + 8) + 0x14);
  *var_2 = (int)(var_2 + 2);
  if (var_3 == 0) {
    var_4 = -1;
  }
  else {
    var_4 = (*(type_1 *)PTR_strlen_004c5b9c)(var_3);
    var_4 = var_3 + var_4;
  }
  (*(type_1 *)PTR__M_construct<var_5*>var_6)(var_2,var_3,var_4,0);
  return var_2;
}


(translation_unit (declaration type: (primitive_type) declarator: (pointer_declarator (ERROR (identifier)) declarator: (identifier)) (ERROR (primitive_type)) (ERROR (identifier) (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) (primitive_type)) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))))) (expression_statement (call_expression function: (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (identifier)) (ERROR) right: (identifier))) arguments: (argument_list (identifier) (identifier) (identifier) (number_literal)))) (return_statement (identifier)) (ERROR))

/* std::moneypunct<char, false>::MASKED() const */

int * std::moneypunct<char,false>::MASKED(void)

{
  int iVar1;
  int *in_a0;
  int in_a1;
  int iVar2;
  
  iVar2 = *(int *)(*(int *)(in_a1 + 8) + 0x14);
  *in_a0 = (int)(in_a0 + 2);
  if (iVar2 == 0) {
    iVar1 = -1;
  }
  else {
    iVar1 = (*(code *)PTR_strlen_004c5b9c)(iVar2);
    iVar1 = iVar2 + iVar1;
  }
  (*(code *)PTR__M_construct<char_const*>_004c1b68)(in_a0,iVar2,iVar1,0);
  return in_a0;
}

