
/* std::ctype<char>::do_toupper(char*, char const*) const */

void __thiscall std::ctype<char>::do_toupper(ctype<char> *this,char *param_1,char *param_2)

{
  byte *pbVar1;
  
  if (param_1 < param_2) {
    do {
      pbVar1 = (byte *)param_1 + 1;
      *param_1 = (byte)*(undefined4 *)(*(int *)(this + 0x10) + (uint)(byte)*param_1 * 4);
      param_1 = (char *)pbVar1;
    } while ((byte *)param_2 != pbVar1);
  }
  return;
}



void FUN_001e7250(int param_1,byte *param_2,byte *param_3)

{
  byte *pbVar1;
  
  if (param_2 < param_3) {
    do {
      pbVar1 = param_2 + 1;
      *param_2 = (byte)*(undefined4 *)(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4);
      param_2 = pbVar1;
    } while (param_3 != pbVar1);
  }
  return;
}


PUSH ESI
PUSH EBX
MOV EDX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [ESP + 0x14]
MOV ESI,dword ptr [ESP + 0xc]
CMP EDX,EAX
JNC 0x001e727b
LEA ESI,[ESI]
MOVZX EBX,byte ptr [EDX]
MOV ECX,dword ptr [ESI + 0x10]
ADD EDX,0x1
MOV ECX,dword ptr [ECX + EBX*0x4]
MOV byte ptr [EDX + -0x1],CL
CMP EAX,EDX
JNZ 0x001e7268
POP EBX
POP ESI
RET
(translation_unit "void FUN_001e7250(int param_1,byte *param_2,byte *param_3)\n\n{\n  byte *pbVar1;\n  \n  if (param_2 < param_3) {\n    do {\n      pbVar1 = param_2 + 1;\n      *param_2 = (byte)*(undefined4 *)(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4);\n      param_2 = pbVar1;\n    } while (param_3 != pbVar1);\n  }\n  return;\n}\n\n" (function_definition "void FUN_001e7250(int param_1,byte *param_2,byte *param_3)\n\n{\n  byte *pbVar1;\n  \n  if (param_2 < param_3) {\n    do {\n      pbVar1 = param_2 + 1;\n      *param_2 = (byte)*(undefined4 *)(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4);\n      param_2 = pbVar1;\n    } while (param_3 != pbVar1);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001e7250(int param_1,byte *param_2,byte *param_3)" identifier (parameter_list "(int param_1,byte *param_2,byte *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "byte *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  byte *pbVar1;\n  \n  if (param_2 < param_3) {\n    do {\n      pbVar1 = param_2 + 1;\n      *param_2 = (byte)*(undefined4 *)(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4);\n      param_2 = pbVar1;\n    } while (param_3 != pbVar1);\n  }\n  return;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (if_statement "if (param_2 < param_3) {\n    do {\n      pbVar1 = param_2 + 1;\n      *param_2 = (byte)*(undefined4 *)(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4);\n      param_2 = pbVar1;\n    } while (param_3 != pbVar1);\n  }" if (parenthesized_expression "(param_2 < param_3)" ( (binary_expression "param_2 < param_3" identifier < identifier) )) (compound_statement "{\n    do {\n      pbVar1 = param_2 + 1;\n      *param_2 = (byte)*(undefined4 *)(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4);\n      param_2 = pbVar1;\n    } while (param_3 != pbVar1);\n  }" { (do_statement "do {\n      pbVar1 = param_2 + 1;\n      *param_2 = (byte)*(undefined4 *)(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4);\n      param_2 = pbVar1;\n    } while (param_3 != pbVar1);" do (compound_statement "{\n      pbVar1 = param_2 + 1;\n      *param_2 = (byte)*(undefined4 *)(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4);\n      param_2 = pbVar1;\n    }" { (expression_statement "pbVar1 = param_2 + 1;" (assignment_expression "pbVar1 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "*param_2 = (byte)*(undefined4 *)(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4);" (assignment_expression "*param_2 = (byte)*(undefined4 *)(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4)" (pointer_expression "*param_2" * identifier) = (binary_expression "(byte)*(undefined4 *)(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4)" (parenthesized_expression "(byte)" ( identifier )) * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4)" ( (binary_expression "*(int *)(param_1 + 0x10) + (uint)*param_2 * 4" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) + (binary_expression "(uint)*param_2 * 4" (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)) ))))) ;) (expression_statement "param_2 = pbVar1;" (assignment_expression "param_2 = pbVar1" identifier = identifier) ;) }) while (parenthesized_expression "(param_3 != pbVar1)" ( (binary_expression "param_3 != pbVar1" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* std::ctype<char>::do_toupper(char*, char const*) const */\n\nvoid __thiscall std::ctype<char>::do_toupper(ctype<char> *this,char *param_1,char *param_2)\n\n{\n  byte *pbVar1;\n  \n  if (param_1 < param_2) {\n    do {\n      pbVar1 = (byte *)param_1 + 1;\n      *param_1 = (byte)*(undefined4 *)(*(int *)(this + 0x10) + (uint)(byte)*param_1 * 4);\n      param_1 = (char *)pbVar1;\n    } while ((byte *)param_2 != pbVar1);\n  }\n  return;\n}\n\n" comment (function_definition "void __thiscall std::ctype<char>::do_toupper(ctype<char> *this,char *param_1,char *param_2)\n\n{\n  byte *pbVar1;\n  \n  if (param_1 < param_2) {\n    do {\n      pbVar1 = (byte *)param_1 + 1;\n      *param_1 = (byte)*(undefined4 *)(*(int *)(this + 0x10) + (uint)(byte)*param_1 * 4);\n      param_1 = (char *)pbVar1;\n    } while ((byte *)param_2 != pbVar1);\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::ctype<char>::" identifier : : identifier < primitive_type > : :) (function_declarator "do_toupper(ctype<char> *this,char *param_1,char *param_2)" identifier (parameter_list "(ctype<char> *this,char *param_1,char *param_2)" ( (parameter_declaration "ctype<char> *this" type_identifier (ERROR "<char>" < primitive_type >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  byte *pbVar1;\n  \n  if (param_1 < param_2) {\n    do {\n      pbVar1 = (byte *)param_1 + 1;\n      *param_1 = (byte)*(undefined4 *)(*(int *)(this + 0x10) + (uint)(byte)*param_1 * 4);\n      param_1 = (char *)pbVar1;\n    } while ((byte *)param_2 != pbVar1);\n  }\n  return;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (if_statement "if (param_1 < param_2) {\n    do {\n      pbVar1 = (byte *)param_1 + 1;\n      *param_1 = (byte)*(undefined4 *)(*(int *)(this + 0x10) + (uint)(byte)*param_1 * 4);\n      param_1 = (char *)pbVar1;\n    } while ((byte *)param_2 != pbVar1);\n  }" if (parenthesized_expression "(param_1 < param_2)" ( (binary_expression "param_1 < param_2" identifier < identifier) )) (compound_statement "{\n    do {\n      pbVar1 = (byte *)param_1 + 1;\n      *param_1 = (byte)*(undefined4 *)(*(int *)(this + 0x10) + (uint)(byte)*param_1 * 4);\n      param_1 = (char *)pbVar1;\n    } while ((byte *)param_2 != pbVar1);\n  }" { (do_statement "do {\n      pbVar1 = (byte *)param_1 + 1;\n      *param_1 = (byte)*(undefined4 *)(*(int *)(this + 0x10) + (uint)(byte)*param_1 * 4);\n      param_1 = (char *)pbVar1;\n    } while ((byte *)param_2 != pbVar1);" do (compound_statement "{\n      pbVar1 = (byte *)param_1 + 1;\n      *param_1 = (byte)*(undefined4 *)(*(int *)(this + 0x10) + (uint)(byte)*param_1 * 4);\n      param_1 = (char *)pbVar1;\n    }" { (expression_statement "pbVar1 = (byte *)param_1 + 1;" (assignment_expression "pbVar1 = (byte *)param_1 + 1" identifier = (binary_expression "(byte *)param_1 + 1" (cast_expression "(byte *)param_1" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) + number_literal)) ;) (expression_statement "*param_1 = (byte)*(undefined4 *)(*(int *)(this + 0x10) + (uint)(byte)*param_1 * 4);" (assignment_expression "*param_1 = (byte)*(undefined4 *)(*(int *)(this + 0x10) + (uint)(byte)*param_1 * 4)" (pointer_expression "*param_1" * identifier) = (binary_expression "(byte)*(undefined4 *)(*(int *)(this + 0x10) + (uint)(byte)*param_1 * 4)" (parenthesized_expression "(byte)" ( identifier )) * (cast_expression "(undefined4 *)(*(int *)(this + 0x10) + (uint)(byte)*param_1 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(this + 0x10) + (uint)(byte)*param_1 * 4)" ( (binary_expression "*(int *)(this + 0x10) + (uint)(byte)*param_1 * 4" (pointer_expression "*(int *)(this + 0x10)" * (cast_expression "(int *)(this + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) + (binary_expression "(uint)(byte)*param_1 * 4" (binary_expression "(uint)(byte)*param_1" (call_expression "(uint)(byte)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(byte)" ( identifier ))) * identifier) * number_literal)) ))))) ;) (expression_statement "param_1 = (char *)pbVar1;" (assignment_expression "param_1 = (char *)pbVar1" identifier = (cast_expression "(char *)pbVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) }) while (parenthesized_expression "((byte *)param_2 != pbVar1)" ( (binary_expression "(byte *)param_2 != pbVar1" (cast_expression "(byte *)param_2" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001e7250(int param_1,byte *param_2,byte *param_3)\n\n{\n  byte *pbVar1;\n  \n  if (param_2 < param_3) {\n    do {\n      pbVar1 = param_2 + 1;\n      *param_2 = (byte)*(undefined4 *)(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4);\n      param_2 = pbVar1;\n    } while (param_3 != pbVar1);\n  }\n  return;\n}\n\n" (function_definition "void FUN_001e7250(int param_1,byte *param_2,byte *param_3)\n\n{\n  byte *pbVar1;\n  \n  if (param_2 < param_3) {\n    do {\n      pbVar1 = param_2 + 1;\n      *param_2 = (byte)*(undefined4 *)(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4);\n      param_2 = pbVar1;\n    } while (param_3 != pbVar1);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001e7250(int param_1,byte *param_2,byte *param_3)" identifier (parameter_list "(int param_1,byte *param_2,byte *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "byte *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  byte *pbVar1;\n  \n  if (param_2 < param_3) {\n    do {\n      pbVar1 = param_2 + 1;\n      *param_2 = (byte)*(undefined4 *)(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4);\n      param_2 = pbVar1;\n    } while (param_3 != pbVar1);\n  }\n  return;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (if_statement "if (param_2 < param_3) {\n    do {\n      pbVar1 = param_2 + 1;\n      *param_2 = (byte)*(undefined4 *)(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4);\n      param_2 = pbVar1;\n    } while (param_3 != pbVar1);\n  }" if (parenthesized_expression "(param_2 < param_3)" ( (binary_expression "param_2 < param_3" identifier < identifier) )) (compound_statement "{\n    do {\n      pbVar1 = param_2 + 1;\n      *param_2 = (byte)*(undefined4 *)(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4);\n      param_2 = pbVar1;\n    } while (param_3 != pbVar1);\n  }" { (do_statement "do {\n      pbVar1 = param_2 + 1;\n      *param_2 = (byte)*(undefined4 *)(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4);\n      param_2 = pbVar1;\n    } while (param_3 != pbVar1);" do (compound_statement "{\n      pbVar1 = param_2 + 1;\n      *param_2 = (byte)*(undefined4 *)(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4);\n      param_2 = pbVar1;\n    }" { (expression_statement "pbVar1 = param_2 + 1;" (assignment_expression "pbVar1 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "*param_2 = (byte)*(undefined4 *)(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4);" (assignment_expression "*param_2 = (byte)*(undefined4 *)(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4)" (pointer_expression "*param_2" * identifier) = (binary_expression "(byte)*(undefined4 *)(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4)" (parenthesized_expression "(byte)" ( identifier )) * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4)" ( (binary_expression "*(int *)(param_1 + 0x10) + (uint)*param_2 * 4" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) + (binary_expression "(uint)*param_2 * 4" (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)) ))))) ;) (expression_statement "param_2 = pbVar1;" (assignment_expression "param_2 = pbVar1" identifier = identifier) ;) }) while (parenthesized_expression "(param_3 != pbVar1)" ( (binary_expression "param_3 != pbVar1" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (parenthesized_expression ( IDENT )) * (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) )))) + (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_001e7250(int param_1,byte *param_2,byte *param_3)\n\n{\n  byte *pbVar1;\n  \n  if (param_2 < param_3) {\n    do {\n      pbVar1 = param_2 + 1;\n      *param_2 = (byte)*(undefined4 *)(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4);\n      param_2 = pbVar1;\n    } while (param_3 != pbVar1);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001e7250(int param_1,byte *param_2,byte *param_3)" (identifier "FUN_001e7250") (parameter_list "(int param_1,byte *param_2,byte *param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "byte *param_2" (type_identifier "byte") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "byte *param_3" (type_identifier "byte") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  byte *pbVar1;\n  \n  if (param_2 < param_3) {\n    do {\n      pbVar1 = param_2 + 1;\n      *param_2 = (byte)*(undefined4 *)(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4);\n      param_2 = pbVar1;\n    } while (param_3 != pbVar1);\n  }\n  return;\n}" ({ "{") (declaration "byte *pbVar1;" (type_identifier "byte") (pointer_declarator "*pbVar1" (* "*") (identifier "pbVar1")) (; ";")) (if_statement "if (param_2 < param_3) {\n    do {\n      pbVar1 = param_2 + 1;\n      *param_2 = (byte)*(undefined4 *)(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4);\n      param_2 = pbVar1;\n    } while (param_3 != pbVar1);\n  }" (if "if") (parenthesized_expression "(param_2 < param_3)" (( "(") (binary_expression "param_2 < param_3" (identifier "param_2") (< "<") (identifier "param_3")) () ")")) (compound_statement "{\n    do {\n      pbVar1 = param_2 + 1;\n      *param_2 = (byte)*(undefined4 *)(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4);\n      param_2 = pbVar1;\n    } while (param_3 != pbVar1);\n  }" ({ "{") (do_statement "do {\n      pbVar1 = param_2 + 1;\n      *param_2 = (byte)*(undefined4 *)(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4);\n      param_2 = pbVar1;\n    } while (param_3 != pbVar1);" (do "do") (compound_statement "{\n      pbVar1 = param_2 + 1;\n      *param_2 = (byte)*(undefined4 *)(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4);\n      param_2 = pbVar1;\n    }" ({ "{") (expression_statement "pbVar1 = param_2 + 1;" (assignment_expression "pbVar1 = param_2 + 1" (identifier "pbVar1") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*param_2 = (byte)*(undefined4 *)(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4);" (assignment_expression "*param_2 = (byte)*(undefined4 *)(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4)" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (binary_expression "(byte)*(undefined4 *)(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4)" (( "(") (binary_expression "*(int *)(param_1 + 0x10) + (uint)*param_2 * 4" (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (binary_expression "(uint)*param_2 * 4" (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "param_2")) (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "param_2 = pbVar1;" (assignment_expression "param_2 = pbVar1" (identifier "param_2") (= "=") (identifier "pbVar1")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_3 != pbVar1)" (( "(") (binary_expression "param_3 != pbVar1" (identifier "param_3") (!= "!=") (identifier "pbVar1")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::ctype<char>::do_toupper(char*, char const*) const */

void __thiscall std::type_1<char>::function_1(type_1<char> *var_3,char *var_1,char *var_2)

{
  type_2 *var_4;
  
  if (var_1 < var_2) {
    do {
      var_4 = (type_2 *)var_1 + 1;
      *var_1 = (type_2)*(type_3 *)(*(int *)(var_3 + 0x10) + (uint)(type_2)*var_1 * 4);
      var_1 = (char *)var_4;
    } while ((type_2 *)var_2 != var_4);
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (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: (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: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (return_statement))))

void MASKED(int param_1,byte *param_2,byte *param_3)

{
  byte *pbVar1;
  
  if (param_2 < param_3) {
    do {
      pbVar1 = param_2 + 1;
      *param_2 = (byte)*(undefined4 *)(*(int *)(param_1 + 0x10) + (uint)*param_2 * 4);
      param_2 = pbVar1;
    } while (param_3 != pbVar1);
  }
  return;
}

