
char * umaxtostr(uintmax_t i,char *buf)

{
  bool bVar1;
  char *pcVar2;
  
  pcVar2 = buf + 0x14;
  buf[0x14] = '\0';
  do {
    pcVar2 = pcVar2 + -1;
    *pcVar2 = (char)i + (char)(i / 10) * -10 + '0';
    bVar1 = 9 < i;
    i = i / 10;
  } while (bVar1);
  return pcVar2;
}



char * FUN_001051e5(ulong param_1,long param_2)

{
  bool bVar1;
  char *pcVar2;
  
  pcVar2 = (char *)(param_2 + 0x14);
  *(undefined1 *)(param_2 + 0x14) = 0;
  do {
    pcVar2 = pcVar2 + -1;
    *pcVar2 = (char)param_1 + (char)(param_1 / 10) * -10 + '0';
    bVar1 = 9 < param_1;
    param_1 = param_1 / 10;
  } while (bVar1);
  return pcVar2;
}


LEA RCX,[RSI + 0x14]
MOV byte ptr [RSI + 0x14],0x0
MOV RSI,-0x3333333333333333
JMP 0x001051fc
MOV RDI,RDX
SUB RCX,0x1
MOV RAX,RDI
MUL RSI
SHR RDX,0x3
LEA RAX,[RDX + RDX*0x4]
ADD RAX,RAX
MOV R8,RDI
SUB R8,RAX
MOV RAX,R8
ADD EAX,0x30
MOV byte ptr [RCX],AL
CMP RDI,0x9
JA 0x001051f9
MOV RAX,RCX
RET
(translation_unit "char * FUN_001051e5(ulong param_1,long param_2)\n\n{\n  bool bVar1;\n  char *pcVar2;\n  \n  pcVar2 = (char *)(param_2 + 0x14);\n  *(undefined1 *)(param_2 + 0x14) = 0;\n  do {\n    pcVar2 = pcVar2 + -1;\n    *pcVar2 = (char)param_1 + (char)(param_1 / 10) * -10 + '0';\n    bVar1 = 9 < param_1;\n    param_1 = param_1 / 10;\n  } while (bVar1);\n  return pcVar2;\n}\n\n" (function_definition "char * FUN_001051e5(ulong param_1,long param_2)\n\n{\n  bool bVar1;\n  char *pcVar2;\n  \n  pcVar2 = (char *)(param_2 + 0x14);\n  *(undefined1 *)(param_2 + 0x14) = 0;\n  do {\n    pcVar2 = pcVar2 + -1;\n    *pcVar2 = (char)param_1 + (char)(param_1 / 10) * -10 + '0';\n    bVar1 = 9 < param_1;\n    param_1 = param_1 / 10;\n  } while (bVar1);\n  return pcVar2;\n}" primitive_type (pointer_declarator "* FUN_001051e5(ulong param_1,long param_2)" * (function_declarator "FUN_001051e5(ulong param_1,long param_2)" identifier (parameter_list "(ulong param_1,long param_2)" ( (parameter_declaration "ulong param_1" type_identifier identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) )))) (compound_statement "{\n  bool bVar1;\n  char *pcVar2;\n  \n  pcVar2 = (char *)(param_2 + 0x14);\n  *(undefined1 *)(param_2 + 0x14) = 0;\n  do {\n    pcVar2 = pcVar2 + -1;\n    *pcVar2 = (char)param_1 + (char)(param_1 / 10) * -10 + '0';\n    bVar1 = 9 < param_1;\n    param_1 = param_1 / 10;\n  } while (bVar1);\n  return pcVar2;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (expression_statement "pcVar2 = (char *)(param_2 + 0x14);" (assignment_expression "pcVar2 = (char *)(param_2 + 0x14)" identifier = (cast_expression "(char *)(param_2 + 0x14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) ;) (expression_statement "*(undefined1 *)(param_2 + 0x14) = 0;" (assignment_expression "*(undefined1 *)(param_2 + 0x14) = 0" (pointer_expression "*(undefined1 *)(param_2 + 0x14)" * (cast_expression "(undefined1 *)(param_2 + 0x14)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) = number_literal) ;) (do_statement "do {\n    pcVar2 = pcVar2 + -1;\n    *pcVar2 = (char)param_1 + (char)(param_1 / 10) * -10 + '0';\n    bVar1 = 9 < param_1;\n    param_1 = param_1 / 10;\n  } while (bVar1);" do (compound_statement "{\n    pcVar2 = pcVar2 + -1;\n    *pcVar2 = (char)param_1 + (char)(param_1 / 10) * -10 + '0';\n    bVar1 = 9 < param_1;\n    param_1 = param_1 / 10;\n  }" { (expression_statement "pcVar2 = pcVar2 + -1;" (assignment_expression "pcVar2 = pcVar2 + -1" identifier = (binary_expression "pcVar2 + -1" identifier + number_literal)) ;) (expression_statement "*pcVar2 = (char)param_1 + (char)(param_1 / 10) * -10 + '0';" (assignment_expression "*pcVar2 = (char)param_1 + (char)(param_1 / 10) * -10 + '0'" (pointer_expression "*pcVar2" * identifier) = (binary_expression "(char)param_1 + (char)(param_1 / 10) * -10 + '0'" (binary_expression "(char)param_1 + (char)(param_1 / 10) * -10" (cast_expression "(char)param_1" ( (type_descriptor "char" primitive_type) ) identifier) + (binary_expression "(char)(param_1 / 10) * -10" (cast_expression "(char)(param_1 / 10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(param_1 / 10)" ( (binary_expression "param_1 / 10" identifier / number_literal) ))) * number_literal)) + (char_literal "'0'" ' character '))) ;) (expression_statement "bVar1 = 9 < param_1;" (assignment_expression "bVar1 = 9 < param_1" identifier = (binary_expression "9 < param_1" number_literal < identifier)) ;) (expression_statement "param_1 = param_1 / 10;" (assignment_expression "param_1 = param_1 / 10" identifier = (binary_expression "param_1 / 10" identifier / number_literal)) ;) }) while (parenthesized_expression "(bVar1)" ( identifier )) ;) (return_statement "return pcVar2;" return identifier ;) })))
(translation_unit "char * umaxtostr(uintmax_t i,char *buf)\n\n{\n  bool bVar1;\n  char *pcVar2;\n  \n  pcVar2 = buf + 0x14;\n  buf[0x14] = '\0';\n  do {\n    pcVar2 = pcVar2 + -1;\n    *pcVar2 = (char)i + (char)(i / 10) * -10 + '0';\n    bVar1 = 9 < i;\n    i = i / 10;\n  } while (bVar1);\n  return pcVar2;\n}\n\n" (function_definition "char * umaxtostr(uintmax_t i,char *buf)\n\n{\n  bool bVar1;\n  char *pcVar2;\n  \n  pcVar2 = buf + 0x14;\n  buf[0x14] = '\0';\n  do {\n    pcVar2 = pcVar2 + -1;\n    *pcVar2 = (char)i + (char)(i / 10) * -10 + '0';\n    bVar1 = 9 < i;\n    i = i / 10;\n  } while (bVar1);\n  return pcVar2;\n}" primitive_type (pointer_declarator "* umaxtostr(uintmax_t i,char *buf)" * (function_declarator "umaxtostr(uintmax_t i,char *buf)" identifier (parameter_list "(uintmax_t i,char *buf)" ( (parameter_declaration "uintmax_t i" type_identifier identifier) , (parameter_declaration "char *buf" primitive_type (pointer_declarator "*buf" * identifier)) )))) (compound_statement "{\n  bool bVar1;\n  char *pcVar2;\n  \n  pcVar2 = buf + 0x14;\n  buf[0x14] = '\0';\n  do {\n    pcVar2 = pcVar2 + -1;\n    *pcVar2 = (char)i + (char)(i / 10) * -10 + '0';\n    bVar1 = 9 < i;\n    i = i / 10;\n  } while (bVar1);\n  return pcVar2;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (expression_statement "pcVar2 = buf + 0x14;" (assignment_expression "pcVar2 = buf + 0x14" identifier = (binary_expression "buf + 0x14" identifier + number_literal)) ;) (expression_statement "buf[0x14] = '\0';" (assignment_expression "buf[0x14] = '\0'" (subscript_expression "buf[0x14]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (do_statement "do {\n    pcVar2 = pcVar2 + -1;\n    *pcVar2 = (char)i + (char)(i / 10) * -10 + '0';\n    bVar1 = 9 < i;\n    i = i / 10;\n  } while (bVar1);" do (compound_statement "{\n    pcVar2 = pcVar2 + -1;\n    *pcVar2 = (char)i + (char)(i / 10) * -10 + '0';\n    bVar1 = 9 < i;\n    i = i / 10;\n  }" { (expression_statement "pcVar2 = pcVar2 + -1;" (assignment_expression "pcVar2 = pcVar2 + -1" identifier = (binary_expression "pcVar2 + -1" identifier + number_literal)) ;) (expression_statement "*pcVar2 = (char)i + (char)(i / 10) * -10 + '0';" (assignment_expression "*pcVar2 = (char)i + (char)(i / 10) * -10 + '0'" (pointer_expression "*pcVar2" * identifier) = (binary_expression "(char)i + (char)(i / 10) * -10 + '0'" (binary_expression "(char)i + (char)(i / 10) * -10" (cast_expression "(char)i" ( (type_descriptor "char" primitive_type) ) identifier) + (binary_expression "(char)(i / 10) * -10" (cast_expression "(char)(i / 10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(i / 10)" ( (binary_expression "i / 10" identifier / number_literal) ))) * number_literal)) + (char_literal "'0'" ' character '))) ;) (expression_statement "bVar1 = 9 < i;" (assignment_expression "bVar1 = 9 < i" identifier = (binary_expression "9 < i" number_literal < identifier)) ;) (expression_statement "i = i / 10;" (assignment_expression "i = i / 10" identifier = (binary_expression "i / 10" identifier / number_literal)) ;) }) while (parenthesized_expression "(bVar1)" ( identifier )) ;) (return_statement "return pcVar2;" return identifier ;) })))
(translation_unit "char * FUN_001051e5(ulong param_1,long param_2)\n\n{\n  bool bVar1;\n  char *pcVar2;\n  \n  pcVar2 = (char *)(param_2 + 0x14);\n  *(undefined1 *)(param_2 + 0x14) = 0;\n  do {\n    pcVar2 = pcVar2 + -1;\n    *pcVar2 = (char)param_1 + (char)(param_1 / 10) * -10 + '0';\n    bVar1 = 9 < param_1;\n    param_1 = param_1 / 10;\n  } while (bVar1);\n  return pcVar2;\n}\n\n" (function_definition "char * FUN_001051e5(ulong param_1,long param_2)\n\n{\n  bool bVar1;\n  char *pcVar2;\n  \n  pcVar2 = (char *)(param_2 + 0x14);\n  *(undefined1 *)(param_2 + 0x14) = 0;\n  do {\n    pcVar2 = pcVar2 + -1;\n    *pcVar2 = (char)param_1 + (char)(param_1 / 10) * -10 + '0';\n    bVar1 = 9 < param_1;\n    param_1 = param_1 / 10;\n  } while (bVar1);\n  return pcVar2;\n}" primitive_type (pointer_declarator "* FUN_001051e5(ulong param_1,long param_2)" * (function_declarator "FUN_001051e5(ulong param_1,long param_2)" identifier (parameter_list "(ulong param_1,long param_2)" ( (parameter_declaration "ulong param_1" type_identifier identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) )))) (compound_statement "{\n  bool bVar1;\n  char *pcVar2;\n  \n  pcVar2 = (char *)(param_2 + 0x14);\n  *(undefined1 *)(param_2 + 0x14) = 0;\n  do {\n    pcVar2 = pcVar2 + -1;\n    *pcVar2 = (char)param_1 + (char)(param_1 / 10) * -10 + '0';\n    bVar1 = 9 < param_1;\n    param_1 = param_1 / 10;\n  } while (bVar1);\n  return pcVar2;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (expression_statement "pcVar2 = (char *)(param_2 + 0x14);" (assignment_expression "pcVar2 = (char *)(param_2 + 0x14)" identifier = (cast_expression "(char *)(param_2 + 0x14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) ;) (expression_statement "*(undefined1 *)(param_2 + 0x14) = 0;" (assignment_expression "*(undefined1 *)(param_2 + 0x14) = 0" (pointer_expression "*(undefined1 *)(param_2 + 0x14)" * (cast_expression "(undefined1 *)(param_2 + 0x14)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) = number_literal) ;) (do_statement "do {\n    pcVar2 = pcVar2 + -1;\n    *pcVar2 = (char)param_1 + (char)(param_1 / 10) * -10 + '0';\n    bVar1 = 9 < param_1;\n    param_1 = param_1 / 10;\n  } while (bVar1);" do (compound_statement "{\n    pcVar2 = pcVar2 + -1;\n    *pcVar2 = (char)param_1 + (char)(param_1 / 10) * -10 + '0';\n    bVar1 = 9 < param_1;\n    param_1 = param_1 / 10;\n  }" { (expression_statement "pcVar2 = pcVar2 + -1;" (assignment_expression "pcVar2 = pcVar2 + -1" identifier = (binary_expression "pcVar2 + -1" identifier + number_literal)) ;) (expression_statement "*pcVar2 = (char)param_1 + (char)(param_1 / 10) * -10 + '0';" (assignment_expression "*pcVar2 = (char)param_1 + (char)(param_1 / 10) * -10 + '0'" (pointer_expression "*pcVar2" * identifier) = (binary_expression "(char)param_1 + (char)(param_1 / 10) * -10 + '0'" (binary_expression "(char)param_1 + (char)(param_1 / 10) * -10" (cast_expression "(char)param_1" ( (type_descriptor "char" primitive_type) ) identifier) + (binary_expression "(char)(param_1 / 10) * -10" (cast_expression "(char)(param_1 / 10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(param_1 / 10)" ( (binary_expression "param_1 / 10" identifier / number_literal) ))) * number_literal)) + (char_literal "'0'" ' character '))) ;) (expression_statement "bVar1 = 9 < param_1;" (assignment_expression "bVar1 = 9 < param_1" identifier = (binary_expression "9 < param_1" number_literal < identifier)) ;) (expression_statement "param_1 = param_1 / 10;" (assignment_expression "param_1 = param_1 / 10" identifier = (binary_expression "param_1 / 10" identifier / number_literal)) ;) }) while (parenthesized_expression "(bVar1)" ( identifier )) ;) (return_statement "return pcVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT / LIT) ))) * LIT)) + (char_literal ' character '))) ;) (expression_statement (assignment_expression IDENT = (binary_expression LIT < IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT / LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (return_statement return IDENT ;) })))
(function_definition "char * FUN_001051e5(ulong param_1,long param_2)\n\n{\n  bool bVar1;\n  char *pcVar2;\n  \n  pcVar2 = (char *)(param_2 + 0x14);\n  *(undefined1 *)(param_2 + 0x14) = 0;\n  do {\n    pcVar2 = pcVar2 + -1;\n    *pcVar2 = (char)param_1 + (char)(param_1 / 10) * -10 + '0';\n    bVar1 = 9 < param_1;\n    param_1 = param_1 / 10;\n  } while (bVar1);\n  return pcVar2;\n}" (primitive_type "char") (pointer_declarator "* FUN_001051e5(ulong param_1,long param_2)" (* "*") (function_declarator "FUN_001051e5(ulong param_1,long param_2)" (identifier "FUN_001051e5") (parameter_list "(ulong param_1,long param_2)" (( "(") (parameter_declaration "ulong param_1" (type_identifier "ulong") (identifier "param_1")) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) () ")")))) (compound_statement "{\n  bool bVar1;\n  char *pcVar2;\n  \n  pcVar2 = (char *)(param_2 + 0x14);\n  *(undefined1 *)(param_2 + 0x14) = 0;\n  do {\n    pcVar2 = pcVar2 + -1;\n    *pcVar2 = (char)param_1 + (char)(param_1 / 10) * -10 + '0';\n    bVar1 = 9 < param_1;\n    param_1 = param_1 / 10;\n  } while (bVar1);\n  return pcVar2;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (expression_statement "pcVar2 = (char *)(param_2 + 0x14);" (assignment_expression "pcVar2 = (char *)(param_2 + 0x14)" (identifier "pcVar2") (= "=") (cast_expression "(char *)(param_2 + 0x14)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")")))) (; ";")) (expression_statement "*(undefined1 *)(param_2 + 0x14) = 0;" (assignment_expression "*(undefined1 *)(param_2 + 0x14) = 0" (pointer_expression "*(undefined1 *)(param_2 + 0x14)" (* "*") (cast_expression "(undefined1 *)(param_2 + 0x14)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n    pcVar2 = pcVar2 + -1;\n    *pcVar2 = (char)param_1 + (char)(param_1 / 10) * -10 + '0';\n    bVar1 = 9 < param_1;\n    param_1 = param_1 / 10;\n  } while (bVar1);" (do "do") (compound_statement "{\n    pcVar2 = pcVar2 + -1;\n    *pcVar2 = (char)param_1 + (char)(param_1 / 10) * -10 + '0';\n    bVar1 = 9 < param_1;\n    param_1 = param_1 / 10;\n  }" ({ "{") (expression_statement "pcVar2 = pcVar2 + -1;" (assignment_expression "pcVar2 = pcVar2 + -1" (identifier "pcVar2") (= "=") (binary_expression "pcVar2 + -1" (identifier "pcVar2") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "*pcVar2 = (char)param_1 + (char)(param_1 / 10) * -10 + '0';" (assignment_expression "*pcVar2 = (char)param_1 + (char)(param_1 / 10) * -10 + '0'" (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2")) (= "=") (binary_expression "(char)param_1 + (char)(param_1 / 10) * -10 + '0'" (binary_expression "(char)param_1 + (char)(param_1 / 10) * -10" (cast_expression "(char)param_1" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "param_1")) (+ "+") (binary_expression "(char)(param_1 / 10) * -10" (cast_expression "(char)(param_1 / 10)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(param_1 / 10)" (( "(") (binary_expression "param_1 / 10" (identifier "param_1") (/ "/") (number_literal "10")) () ")"))) (* "*") (number_literal "-10"))) (+ "+") (char_literal "'0'" (' "'") (character "0") (' "'")))) (; ";")) (expression_statement "bVar1 = 9 < param_1;" (assignment_expression "bVar1 = 9 < param_1" (identifier "bVar1") (= "=") (binary_expression "9 < param_1" (number_literal "9") (< "<") (identifier "param_1"))) (; ";")) (expression_statement "param_1 = param_1 / 10;" (assignment_expression "param_1 = param_1 / 10" (identifier "param_1") (= "=") (binary_expression "param_1 / 10" (identifier "param_1") (/ "/") (number_literal "10"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (; ";")) (return_statement "return pcVar2;" (return "return") (identifier "pcVar2") (; ";")) (} "}")))

char * function_1(type_1 var_3,char *var_1)

{
  bool bVar1;
  char *var_2;
  
  var_2 = var_1 + 0x14;
  var_1[0x14] = '\0';
  do {
    var_2 = var_2 + -1;
    *var_2 = (char)var_3 + (char)(var_3 / 10) * -10 + '0';
    bVar1 = 9 < var_3;
    var_3 = var_3 / 10;
  } while (bVar1);
  return var_2;
}


(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (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: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal))) right: (char_literal (character))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (number_literal) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (identifier))) (return_statement (identifier)))))

char * MASKED(ulong param_1,long param_2)

{
  bool bVar1;
  char *pcVar2;
  
  pcVar2 = (char *)(param_2 + 0x14);
  *(undefined1 *)(param_2 + 0x14) = 0;
  do {
    pcVar2 = pcVar2 + -1;
    *pcVar2 = (char)param_1 + (char)(param_1 / 10) * -10 + '0';
    bVar1 = 9 < param_1;
    param_1 = param_1 / 10;
  } while (bVar1);
  return pcVar2;
}

