
char * imaxtostr(intmax_t i,char *buf)

{
  char extraout_v1;
  char extraout_v1_00;
  undefined4 in_a1;
  int in_a2;
  char *pcVar1;
  char *pcVar2;
  undefined4 uVar3;
  longlong lVar4;
  
  lVar4 = CONCAT44(buf,in_a1);
  pcVar1 = (char *)(in_a2 + 0x14);
  *(undefined1 *)(in_a2 + 0x14) = 0;
  if ((int)buf < 0) {
    do {
      pcVar2 = pcVar1;
      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);
      __moddi3(uVar3,(int)lVar4,0,10);
      pcVar2[-1] = '0' - extraout_v1_00;
      lVar4 = __divdi3(uVar3,(int)lVar4,0,10);
      pcVar1 = pcVar2 + -1;
    } while (lVar4 != 0);
    pcVar1 = pcVar2 + -2;
    pcVar2[-2] = '-';
  }
  else {
    do {
      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);
      pcVar1 = pcVar1 + -1;
      __moddi3(uVar3,(int)lVar4,0,10);
      *pcVar1 = extraout_v1 + '0';
      lVar4 = __divdi3(uVar3,(int)lVar4,0,10);
    } while (lVar4 != 0);
  }
  return pcVar1;
}



char * imaxtostr(int param_1,undefined4 param_2,int param_3)

{
  char extraout_v1;
  char extraout_v1_00;
  char *pcVar1;
  char *pcVar2;
  undefined4 uVar3;
  longlong lVar4;
  
  lVar4 = CONCAT44(param_1,param_2);
  pcVar1 = (char *)(param_3 + 0x14);
  *(undefined1 *)(param_3 + 0x14) = 0;
  if (param_1 < 0) {
    do {
      pcVar2 = pcVar1;
      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);
      FUN_000328d0(uVar3,(int)lVar4,0,10);
      pcVar2[-1] = '0' - extraout_v1_00;
      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);
      pcVar1 = pcVar2 + -1;
    } while (lVar4 != 0);
    pcVar1 = pcVar2 + -2;
    pcVar2[-2] = '-';
  }
  else {
    do {
      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);
      pcVar1 = pcVar1 + -1;
      FUN_000328d0(uVar3,(int)lVar4,0,10);
      *pcVar1 = extraout_v1 + '0';
      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);
    } while (lVar4 != 0);
  }
  return pcVar1;
}


lui gp,0x3
addiu gp,gp,-0x23c0
addu gp,gp,t9
addiu sp,sp,-0x30
sw ra,0x2c(sp)
sw s4,0x28(sp)
sw s3,0x24(sp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
sw s0,0x18(sp)
sw gp,0x10(sp)
or s1,a0,zero
or s2,a1,zero
addiu s0,a2,0x14
bltz a0,0x00024660
_sb zero,0x14(a2)
addiu s0,s0,-0x1
lw t9,-0x7e38(gp)
li a3,0xa
or a2,zero,zero
or a0,s1,zero
or a1,s2,zero
bal 0x000328d0
_nop
lw gp,0x10(sp)
addiu v1,v1,0x30
sb v1,0x0(s0)
lw t9,-0x7e34(gp)
li a3,0xa
or a2,zero,zero
or a0,s1,zero
or a1,s2,zero
bal 0x00032420
_nop
lw gp,0x10(sp)
or s2,v1,zero
or v1,v1,v0
bne v1,zero,0x000245e0
_or s1,v0,zero
or v0,s0,zero
lw ra,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x30
b 0x0002466c
_li s4,0x30
or s0,s3,zero
addiu s3,s0,-0x1
lw t9,-0x7e38(gp)
li a3,0xa
or a2,zero,zero
or a0,s1,zero
or a1,s2,zero
bal 0x000328d0
_nop
lw gp,0x10(sp)
subu v1,s4,v1
sb v1,-0x1(s0)
lw t9,-0x7e34(gp)
li a3,0xa
or a2,zero,zero
or a0,s1,zero
or a1,s2,zero
bal 0x00032420
_nop
lw gp,0x10(sp)
or s2,v1,zero
or v1,v1,v0
bne v1,zero,0x00024668
_or s1,v0,zero
addiu s0,s0,-0x2
li v0,0x2d
b 0x0002463c
_sb v0,-0x1(s3)
(translation_unit "char * imaxtostr(int param_1,undefined4 param_2,int param_3)\n\n{\n  char extraout_v1;\n  char extraout_v1_00;\n  char *pcVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  longlong lVar4;\n  \n  lVar4 = CONCAT44(param_1,param_2);\n  pcVar1 = (char *)(param_3 + 0x14);\n  *(undefined1 *)(param_3 + 0x14) = 0;\n  if (param_1 < 0) {\n    do {\n      pcVar2 = pcVar1;\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      pcVar2[-1] = '0' - extraout_v1_00;\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n      pcVar1 = pcVar2 + -1;\n    } while (lVar4 != 0);\n    pcVar1 = pcVar2 + -2;\n    pcVar2[-2] = '-';\n  }\n  else {\n    do {\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      pcVar1 = pcVar1 + -1;\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      *pcVar1 = extraout_v1 + '0';\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n    } while (lVar4 != 0);\n  }\n  return pcVar1;\n}\n\n" (function_definition "char * imaxtostr(int param_1,undefined4 param_2,int param_3)\n\n{\n  char extraout_v1;\n  char extraout_v1_00;\n  char *pcVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  longlong lVar4;\n  \n  lVar4 = CONCAT44(param_1,param_2);\n  pcVar1 = (char *)(param_3 + 0x14);\n  *(undefined1 *)(param_3 + 0x14) = 0;\n  if (param_1 < 0) {\n    do {\n      pcVar2 = pcVar1;\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      pcVar2[-1] = '0' - extraout_v1_00;\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n      pcVar1 = pcVar2 + -1;\n    } while (lVar4 != 0);\n    pcVar1 = pcVar2 + -2;\n    pcVar2[-2] = '-';\n  }\n  else {\n    do {\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      pcVar1 = pcVar1 + -1;\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      *pcVar1 = extraout_v1 + '0';\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n    } while (lVar4 != 0);\n  }\n  return pcVar1;\n}" primitive_type (pointer_declarator "* imaxtostr(int param_1,undefined4 param_2,int param_3)" * (function_declarator "imaxtostr(int param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) )))) (compound_statement "{\n  char extraout_v1;\n  char extraout_v1_00;\n  char *pcVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  longlong lVar4;\n  \n  lVar4 = CONCAT44(param_1,param_2);\n  pcVar1 = (char *)(param_3 + 0x14);\n  *(undefined1 *)(param_3 + 0x14) = 0;\n  if (param_1 < 0) {\n    do {\n      pcVar2 = pcVar1;\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      pcVar2[-1] = '0' - extraout_v1_00;\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n      pcVar1 = pcVar2 + -1;\n    } while (lVar4 != 0);\n    pcVar1 = pcVar2 + -2;\n    pcVar2[-2] = '-';\n  }\n  else {\n    do {\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      pcVar1 = pcVar1 + -1;\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      *pcVar1 = extraout_v1 + '0';\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n    } while (lVar4 != 0);\n  }\n  return pcVar1;\n}" { (declaration "char extraout_v1;" primitive_type identifier ;) (declaration "char extraout_v1_00;" primitive_type identifier ;) (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "longlong lVar4;" type_identifier identifier ;) (expression_statement "lVar4 = CONCAT44(param_1,param_2);" (assignment_expression "lVar4 = CONCAT44(param_1,param_2)" identifier = (call_expression "CONCAT44(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (expression_statement "pcVar1 = (char *)(param_3 + 0x14);" (assignment_expression "pcVar1 = (char *)(param_3 + 0x14)" identifier = (cast_expression "(char *)(param_3 + 0x14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x14)" ( (binary_expression "param_3 + 0x14" identifier + number_literal) )))) ;) (expression_statement "*(undefined1 *)(param_3 + 0x14) = 0;" (assignment_expression "*(undefined1 *)(param_3 + 0x14) = 0" (pointer_expression "*(undefined1 *)(param_3 + 0x14)" * (cast_expression "(undefined1 *)(param_3 + 0x14)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x14)" ( (binary_expression "param_3 + 0x14" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (param_1 < 0) {\n    do {\n      pcVar2 = pcVar1;\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      pcVar2[-1] = '0' - extraout_v1_00;\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n      pcVar1 = pcVar2 + -1;\n    } while (lVar4 != 0);\n    pcVar1 = pcVar2 + -2;\n    pcVar2[-2] = '-';\n  }\n  else {\n    do {\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      pcVar1 = pcVar1 + -1;\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      *pcVar1 = extraout_v1 + '0';\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n    } while (lVar4 != 0);\n  }" if (parenthesized_expression "(param_1 < 0)" ( (binary_expression "param_1 < 0" identifier < number_literal) )) (compound_statement "{\n    do {\n      pcVar2 = pcVar1;\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      pcVar2[-1] = '0' - extraout_v1_00;\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n      pcVar1 = pcVar2 + -1;\n    } while (lVar4 != 0);\n    pcVar1 = pcVar2 + -2;\n    pcVar2[-2] = '-';\n  }" { (do_statement "do {\n      pcVar2 = pcVar1;\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      pcVar2[-1] = '0' - extraout_v1_00;\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n      pcVar1 = pcVar2 + -1;\n    } while (lVar4 != 0);" do (compound_statement "{\n      pcVar2 = pcVar1;\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      pcVar2[-1] = '0' - extraout_v1_00;\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n      pcVar1 = pcVar2 + -1;\n    }" { (expression_statement "pcVar2 = pcVar1;" (assignment_expression "pcVar2 = pcVar1" identifier = identifier) ;) (expression_statement "uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);" (assignment_expression "uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)lVar4 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)lVar4 >> 0x20)" ( (binary_expression "(ulonglong)lVar4 >> 0x20" (cast_expression "(ulonglong)lVar4" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "FUN_000328d0(uVar3,(int)lVar4,0,10);" (call_expression "FUN_000328d0(uVar3,(int)lVar4,0,10)" identifier (argument_list "(uVar3,(int)lVar4,0,10)" ( identifier , (cast_expression "(int)lVar4" ( (type_descriptor "int" primitive_type) ) identifier) , number_literal , number_literal ))) ;) (expression_statement "pcVar2[-1] = '0' - extraout_v1_00;" (assignment_expression "pcVar2[-1] = '0' - extraout_v1_00" (subscript_expression "pcVar2[-1]" identifier [ number_literal ]) = (binary_expression "'0' - extraout_v1_00" (char_literal "'0'" ' character ') - identifier)) ;) (expression_statement "lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);" (assignment_expression "lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10)" identifier = (call_expression "FUN_00032420(uVar3,(int)lVar4,0,10)" identifier (argument_list "(uVar3,(int)lVar4,0,10)" ( identifier , (cast_expression "(int)lVar4" ( (type_descriptor "int" primitive_type) ) identifier) , number_literal , number_literal )))) ;) (expression_statement "pcVar1 = pcVar2 + -1;" (assignment_expression "pcVar1 = pcVar2 + -1" identifier = (binary_expression "pcVar2 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar4 != 0)" ( (binary_expression "lVar4 != 0" identifier != number_literal) )) ;) (expression_statement "pcVar1 = pcVar2 + -2;" (assignment_expression "pcVar1 = pcVar2 + -2" identifier = (binary_expression "pcVar2 + -2" identifier + number_literal)) ;) (expression_statement "pcVar2[-2] = '-';" (assignment_expression "pcVar2[-2] = '-'" (subscript_expression "pcVar2[-2]" identifier [ number_literal ]) = (char_literal "'-'" ' character ')) ;) }) (else_clause "else {\n    do {\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      pcVar1 = pcVar1 + -1;\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      *pcVar1 = extraout_v1 + '0';\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n    } while (lVar4 != 0);\n  }" else (compound_statement "{\n    do {\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      pcVar1 = pcVar1 + -1;\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      *pcVar1 = extraout_v1 + '0';\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n    } while (lVar4 != 0);\n  }" { (do_statement "do {\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      pcVar1 = pcVar1 + -1;\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      *pcVar1 = extraout_v1 + '0';\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n    } while (lVar4 != 0);" do (compound_statement "{\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      pcVar1 = pcVar1 + -1;\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      *pcVar1 = extraout_v1 + '0';\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n    }" { (expression_statement "uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);" (assignment_expression "uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)lVar4 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)lVar4 >> 0x20)" ( (binary_expression "(ulonglong)lVar4 >> 0x20" (cast_expression "(ulonglong)lVar4" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "pcVar1 = pcVar1 + -1;" (assignment_expression "pcVar1 = pcVar1 + -1" identifier = (binary_expression "pcVar1 + -1" identifier + number_literal)) ;) (expression_statement "FUN_000328d0(uVar3,(int)lVar4,0,10);" (call_expression "FUN_000328d0(uVar3,(int)lVar4,0,10)" identifier (argument_list "(uVar3,(int)lVar4,0,10)" ( identifier , (cast_expression "(int)lVar4" ( (type_descriptor "int" primitive_type) ) identifier) , number_literal , number_literal ))) ;) (expression_statement "*pcVar1 = extraout_v1 + '0';" (assignment_expression "*pcVar1 = extraout_v1 + '0'" (pointer_expression "*pcVar1" * identifier) = (binary_expression "extraout_v1 + '0'" identifier + (char_literal "'0'" ' character '))) ;) (expression_statement "lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);" (assignment_expression "lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10)" identifier = (call_expression "FUN_00032420(uVar3,(int)lVar4,0,10)" identifier (argument_list "(uVar3,(int)lVar4,0,10)" ( identifier , (cast_expression "(int)lVar4" ( (type_descriptor "int" primitive_type) ) identifier) , number_literal , number_literal )))) ;) }) while (parenthesized_expression "(lVar4 != 0)" ( (binary_expression "lVar4 != 0" identifier != number_literal) )) ;) }))) (return_statement "return pcVar1;" return identifier ;) })))
(translation_unit "char * imaxtostr(intmax_t i,char *buf)\n\n{\n  char extraout_v1;\n  char extraout_v1_00;\n  undefined4 in_a1;\n  int in_a2;\n  char *pcVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  longlong lVar4;\n  \n  lVar4 = CONCAT44(buf,in_a1);\n  pcVar1 = (char *)(in_a2 + 0x14);\n  *(undefined1 *)(in_a2 + 0x14) = 0;\n  if ((int)buf < 0) {\n    do {\n      pcVar2 = pcVar1;\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      __moddi3(uVar3,(int)lVar4,0,10);\n      pcVar2[-1] = '0' - extraout_v1_00;\n      lVar4 = __divdi3(uVar3,(int)lVar4,0,10);\n      pcVar1 = pcVar2 + -1;\n    } while (lVar4 != 0);\n    pcVar1 = pcVar2 + -2;\n    pcVar2[-2] = '-';\n  }\n  else {\n    do {\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      pcVar1 = pcVar1 + -1;\n      __moddi3(uVar3,(int)lVar4,0,10);\n      *pcVar1 = extraout_v1 + '0';\n      lVar4 = __divdi3(uVar3,(int)lVar4,0,10);\n    } while (lVar4 != 0);\n  }\n  return pcVar1;\n}\n\n" (function_definition "char * imaxtostr(intmax_t i,char *buf)\n\n{\n  char extraout_v1;\n  char extraout_v1_00;\n  undefined4 in_a1;\n  int in_a2;\n  char *pcVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  longlong lVar4;\n  \n  lVar4 = CONCAT44(buf,in_a1);\n  pcVar1 = (char *)(in_a2 + 0x14);\n  *(undefined1 *)(in_a2 + 0x14) = 0;\n  if ((int)buf < 0) {\n    do {\n      pcVar2 = pcVar1;\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      __moddi3(uVar3,(int)lVar4,0,10);\n      pcVar2[-1] = '0' - extraout_v1_00;\n      lVar4 = __divdi3(uVar3,(int)lVar4,0,10);\n      pcVar1 = pcVar2 + -1;\n    } while (lVar4 != 0);\n    pcVar1 = pcVar2 + -2;\n    pcVar2[-2] = '-';\n  }\n  else {\n    do {\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      pcVar1 = pcVar1 + -1;\n      __moddi3(uVar3,(int)lVar4,0,10);\n      *pcVar1 = extraout_v1 + '0';\n      lVar4 = __divdi3(uVar3,(int)lVar4,0,10);\n    } while (lVar4 != 0);\n  }\n  return pcVar1;\n}" primitive_type (pointer_declarator "* imaxtostr(intmax_t i,char *buf)" * (function_declarator "imaxtostr(intmax_t i,char *buf)" identifier (parameter_list "(intmax_t i,char *buf)" ( (parameter_declaration "intmax_t i" type_identifier identifier) , (parameter_declaration "char *buf" primitive_type (pointer_declarator "*buf" * identifier)) )))) (compound_statement "{\n  char extraout_v1;\n  char extraout_v1_00;\n  undefined4 in_a1;\n  int in_a2;\n  char *pcVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  longlong lVar4;\n  \n  lVar4 = CONCAT44(buf,in_a1);\n  pcVar1 = (char *)(in_a2 + 0x14);\n  *(undefined1 *)(in_a2 + 0x14) = 0;\n  if ((int)buf < 0) {\n    do {\n      pcVar2 = pcVar1;\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      __moddi3(uVar3,(int)lVar4,0,10);\n      pcVar2[-1] = '0' - extraout_v1_00;\n      lVar4 = __divdi3(uVar3,(int)lVar4,0,10);\n      pcVar1 = pcVar2 + -1;\n    } while (lVar4 != 0);\n    pcVar1 = pcVar2 + -2;\n    pcVar2[-2] = '-';\n  }\n  else {\n    do {\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      pcVar1 = pcVar1 + -1;\n      __moddi3(uVar3,(int)lVar4,0,10);\n      *pcVar1 = extraout_v1 + '0';\n      lVar4 = __divdi3(uVar3,(int)lVar4,0,10);\n    } while (lVar4 != 0);\n  }\n  return pcVar1;\n}" { (declaration "char extraout_v1;" primitive_type identifier ;) (declaration "char extraout_v1_00;" primitive_type identifier ;) (declaration "undefined4 in_a1;" type_identifier identifier ;) (declaration "int in_a2;" primitive_type identifier ;) (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "longlong lVar4;" type_identifier identifier ;) (expression_statement "lVar4 = CONCAT44(buf,in_a1);" (assignment_expression "lVar4 = CONCAT44(buf,in_a1)" identifier = (call_expression "CONCAT44(buf,in_a1)" identifier (argument_list "(buf,in_a1)" ( identifier , identifier )))) ;) (expression_statement "pcVar1 = (char *)(in_a2 + 0x14);" (assignment_expression "pcVar1 = (char *)(in_a2 + 0x14)" identifier = (cast_expression "(char *)(in_a2 + 0x14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a2 + 0x14)" ( (binary_expression "in_a2 + 0x14" identifier + number_literal) )))) ;) (expression_statement "*(undefined1 *)(in_a2 + 0x14) = 0;" (assignment_expression "*(undefined1 *)(in_a2 + 0x14) = 0" (pointer_expression "*(undefined1 *)(in_a2 + 0x14)" * (cast_expression "(undefined1 *)(in_a2 + 0x14)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a2 + 0x14)" ( (binary_expression "in_a2 + 0x14" identifier + number_literal) )))) = number_literal) ;) (if_statement "if ((int)buf < 0) {\n    do {\n      pcVar2 = pcVar1;\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      __moddi3(uVar3,(int)lVar4,0,10);\n      pcVar2[-1] = '0' - extraout_v1_00;\n      lVar4 = __divdi3(uVar3,(int)lVar4,0,10);\n      pcVar1 = pcVar2 + -1;\n    } while (lVar4 != 0);\n    pcVar1 = pcVar2 + -2;\n    pcVar2[-2] = '-';\n  }\n  else {\n    do {\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      pcVar1 = pcVar1 + -1;\n      __moddi3(uVar3,(int)lVar4,0,10);\n      *pcVar1 = extraout_v1 + '0';\n      lVar4 = __divdi3(uVar3,(int)lVar4,0,10);\n    } while (lVar4 != 0);\n  }" if (parenthesized_expression "((int)buf < 0)" ( (binary_expression "(int)buf < 0" (cast_expression "(int)buf" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    do {\n      pcVar2 = pcVar1;\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      __moddi3(uVar3,(int)lVar4,0,10);\n      pcVar2[-1] = '0' - extraout_v1_00;\n      lVar4 = __divdi3(uVar3,(int)lVar4,0,10);\n      pcVar1 = pcVar2 + -1;\n    } while (lVar4 != 0);\n    pcVar1 = pcVar2 + -2;\n    pcVar2[-2] = '-';\n  }" { (do_statement "do {\n      pcVar2 = pcVar1;\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      __moddi3(uVar3,(int)lVar4,0,10);\n      pcVar2[-1] = '0' - extraout_v1_00;\n      lVar4 = __divdi3(uVar3,(int)lVar4,0,10);\n      pcVar1 = pcVar2 + -1;\n    } while (lVar4 != 0);" do (compound_statement "{\n      pcVar2 = pcVar1;\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      __moddi3(uVar3,(int)lVar4,0,10);\n      pcVar2[-1] = '0' - extraout_v1_00;\n      lVar4 = __divdi3(uVar3,(int)lVar4,0,10);\n      pcVar1 = pcVar2 + -1;\n    }" { (expression_statement "pcVar2 = pcVar1;" (assignment_expression "pcVar2 = pcVar1" identifier = identifier) ;) (expression_statement "uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);" (assignment_expression "uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)lVar4 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)lVar4 >> 0x20)" ( (binary_expression "(ulonglong)lVar4 >> 0x20" (cast_expression "(ulonglong)lVar4" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "__moddi3(uVar3,(int)lVar4,0,10);" (call_expression "__moddi3(uVar3,(int)lVar4,0,10)" identifier (argument_list "(uVar3,(int)lVar4,0,10)" ( identifier , (cast_expression "(int)lVar4" ( (type_descriptor "int" primitive_type) ) identifier) , number_literal , number_literal ))) ;) (expression_statement "pcVar2[-1] = '0' - extraout_v1_00;" (assignment_expression "pcVar2[-1] = '0' - extraout_v1_00" (subscript_expression "pcVar2[-1]" identifier [ number_literal ]) = (binary_expression "'0' - extraout_v1_00" (char_literal "'0'" ' character ') - identifier)) ;) (expression_statement "lVar4 = __divdi3(uVar3,(int)lVar4,0,10);" (assignment_expression "lVar4 = __divdi3(uVar3,(int)lVar4,0,10)" identifier = (call_expression "__divdi3(uVar3,(int)lVar4,0,10)" identifier (argument_list "(uVar3,(int)lVar4,0,10)" ( identifier , (cast_expression "(int)lVar4" ( (type_descriptor "int" primitive_type) ) identifier) , number_literal , number_literal )))) ;) (expression_statement "pcVar1 = pcVar2 + -1;" (assignment_expression "pcVar1 = pcVar2 + -1" identifier = (binary_expression "pcVar2 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar4 != 0)" ( (binary_expression "lVar4 != 0" identifier != number_literal) )) ;) (expression_statement "pcVar1 = pcVar2 + -2;" (assignment_expression "pcVar1 = pcVar2 + -2" identifier = (binary_expression "pcVar2 + -2" identifier + number_literal)) ;) (expression_statement "pcVar2[-2] = '-';" (assignment_expression "pcVar2[-2] = '-'" (subscript_expression "pcVar2[-2]" identifier [ number_literal ]) = (char_literal "'-'" ' character ')) ;) }) (else_clause "else {\n    do {\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      pcVar1 = pcVar1 + -1;\n      __moddi3(uVar3,(int)lVar4,0,10);\n      *pcVar1 = extraout_v1 + '0';\n      lVar4 = __divdi3(uVar3,(int)lVar4,0,10);\n    } while (lVar4 != 0);\n  }" else (compound_statement "{\n    do {\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      pcVar1 = pcVar1 + -1;\n      __moddi3(uVar3,(int)lVar4,0,10);\n      *pcVar1 = extraout_v1 + '0';\n      lVar4 = __divdi3(uVar3,(int)lVar4,0,10);\n    } while (lVar4 != 0);\n  }" { (do_statement "do {\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      pcVar1 = pcVar1 + -1;\n      __moddi3(uVar3,(int)lVar4,0,10);\n      *pcVar1 = extraout_v1 + '0';\n      lVar4 = __divdi3(uVar3,(int)lVar4,0,10);\n    } while (lVar4 != 0);" do (compound_statement "{\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      pcVar1 = pcVar1 + -1;\n      __moddi3(uVar3,(int)lVar4,0,10);\n      *pcVar1 = extraout_v1 + '0';\n      lVar4 = __divdi3(uVar3,(int)lVar4,0,10);\n    }" { (expression_statement "uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);" (assignment_expression "uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)lVar4 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)lVar4 >> 0x20)" ( (binary_expression "(ulonglong)lVar4 >> 0x20" (cast_expression "(ulonglong)lVar4" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "pcVar1 = pcVar1 + -1;" (assignment_expression "pcVar1 = pcVar1 + -1" identifier = (binary_expression "pcVar1 + -1" identifier + number_literal)) ;) (expression_statement "__moddi3(uVar3,(int)lVar4,0,10);" (call_expression "__moddi3(uVar3,(int)lVar4,0,10)" identifier (argument_list "(uVar3,(int)lVar4,0,10)" ( identifier , (cast_expression "(int)lVar4" ( (type_descriptor "int" primitive_type) ) identifier) , number_literal , number_literal ))) ;) (expression_statement "*pcVar1 = extraout_v1 + '0';" (assignment_expression "*pcVar1 = extraout_v1 + '0'" (pointer_expression "*pcVar1" * identifier) = (binary_expression "extraout_v1 + '0'" identifier + (char_literal "'0'" ' character '))) ;) (expression_statement "lVar4 = __divdi3(uVar3,(int)lVar4,0,10);" (assignment_expression "lVar4 = __divdi3(uVar3,(int)lVar4,0,10)" identifier = (call_expression "__divdi3(uVar3,(int)lVar4,0,10)" identifier (argument_list "(uVar3,(int)lVar4,0,10)" ( identifier , (cast_expression "(int)lVar4" ( (type_descriptor "int" primitive_type) ) identifier) , number_literal , number_literal )))) ;) }) while (parenthesized_expression "(lVar4 != 0)" ( (binary_expression "lVar4 != 0" identifier != number_literal) )) ;) }))) (return_statement "return pcVar1;" return identifier ;) })))
(translation_unit "char * imaxtostr(int param_1,undefined4 param_2,int param_3)\n\n{\n  char extraout_v1;\n  char extraout_v1_00;\n  char *pcVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  longlong lVar4;\n  \n  lVar4 = CONCAT44(param_1,param_2);\n  pcVar1 = (char *)(param_3 + 0x14);\n  *(undefined1 *)(param_3 + 0x14) = 0;\n  if (param_1 < 0) {\n    do {\n      pcVar2 = pcVar1;\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      pcVar2[-1] = '0' - extraout_v1_00;\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n      pcVar1 = pcVar2 + -1;\n    } while (lVar4 != 0);\n    pcVar1 = pcVar2 + -2;\n    pcVar2[-2] = '-';\n  }\n  else {\n    do {\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      pcVar1 = pcVar1 + -1;\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      *pcVar1 = extraout_v1 + '0';\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n    } while (lVar4 != 0);\n  }\n  return pcVar1;\n}\n\n" (function_definition "char * imaxtostr(int param_1,undefined4 param_2,int param_3)\n\n{\n  char extraout_v1;\n  char extraout_v1_00;\n  char *pcVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  longlong lVar4;\n  \n  lVar4 = CONCAT44(param_1,param_2);\n  pcVar1 = (char *)(param_3 + 0x14);\n  *(undefined1 *)(param_3 + 0x14) = 0;\n  if (param_1 < 0) {\n    do {\n      pcVar2 = pcVar1;\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      pcVar2[-1] = '0' - extraout_v1_00;\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n      pcVar1 = pcVar2 + -1;\n    } while (lVar4 != 0);\n    pcVar1 = pcVar2 + -2;\n    pcVar2[-2] = '-';\n  }\n  else {\n    do {\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      pcVar1 = pcVar1 + -1;\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      *pcVar1 = extraout_v1 + '0';\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n    } while (lVar4 != 0);\n  }\n  return pcVar1;\n}" primitive_type (pointer_declarator "* imaxtostr(int param_1,undefined4 param_2,int param_3)" * (function_declarator "imaxtostr(int param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) )))) (compound_statement "{\n  char extraout_v1;\n  char extraout_v1_00;\n  char *pcVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  longlong lVar4;\n  \n  lVar4 = CONCAT44(param_1,param_2);\n  pcVar1 = (char *)(param_3 + 0x14);\n  *(undefined1 *)(param_3 + 0x14) = 0;\n  if (param_1 < 0) {\n    do {\n      pcVar2 = pcVar1;\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      pcVar2[-1] = '0' - extraout_v1_00;\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n      pcVar1 = pcVar2 + -1;\n    } while (lVar4 != 0);\n    pcVar1 = pcVar2 + -2;\n    pcVar2[-2] = '-';\n  }\n  else {\n    do {\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      pcVar1 = pcVar1 + -1;\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      *pcVar1 = extraout_v1 + '0';\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n    } while (lVar4 != 0);\n  }\n  return pcVar1;\n}" { (declaration "char extraout_v1;" primitive_type identifier ;) (declaration "char extraout_v1_00;" primitive_type identifier ;) (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "longlong lVar4;" type_identifier identifier ;) (expression_statement "lVar4 = CONCAT44(param_1,param_2);" (assignment_expression "lVar4 = CONCAT44(param_1,param_2)" identifier = (call_expression "CONCAT44(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (expression_statement "pcVar1 = (char *)(param_3 + 0x14);" (assignment_expression "pcVar1 = (char *)(param_3 + 0x14)" identifier = (cast_expression "(char *)(param_3 + 0x14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x14)" ( (binary_expression "param_3 + 0x14" identifier + number_literal) )))) ;) (expression_statement "*(undefined1 *)(param_3 + 0x14) = 0;" (assignment_expression "*(undefined1 *)(param_3 + 0x14) = 0" (pointer_expression "*(undefined1 *)(param_3 + 0x14)" * (cast_expression "(undefined1 *)(param_3 + 0x14)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x14)" ( (binary_expression "param_3 + 0x14" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (param_1 < 0) {\n    do {\n      pcVar2 = pcVar1;\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      pcVar2[-1] = '0' - extraout_v1_00;\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n      pcVar1 = pcVar2 + -1;\n    } while (lVar4 != 0);\n    pcVar1 = pcVar2 + -2;\n    pcVar2[-2] = '-';\n  }\n  else {\n    do {\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      pcVar1 = pcVar1 + -1;\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      *pcVar1 = extraout_v1 + '0';\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n    } while (lVar4 != 0);\n  }" if (parenthesized_expression "(param_1 < 0)" ( (binary_expression "param_1 < 0" identifier < number_literal) )) (compound_statement "{\n    do {\n      pcVar2 = pcVar1;\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      pcVar2[-1] = '0' - extraout_v1_00;\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n      pcVar1 = pcVar2 + -1;\n    } while (lVar4 != 0);\n    pcVar1 = pcVar2 + -2;\n    pcVar2[-2] = '-';\n  }" { (do_statement "do {\n      pcVar2 = pcVar1;\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      pcVar2[-1] = '0' - extraout_v1_00;\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n      pcVar1 = pcVar2 + -1;\n    } while (lVar4 != 0);" do (compound_statement "{\n      pcVar2 = pcVar1;\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      pcVar2[-1] = '0' - extraout_v1_00;\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n      pcVar1 = pcVar2 + -1;\n    }" { (expression_statement "pcVar2 = pcVar1;" (assignment_expression "pcVar2 = pcVar1" identifier = identifier) ;) (expression_statement "uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);" (assignment_expression "uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)lVar4 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)lVar4 >> 0x20)" ( (binary_expression "(ulonglong)lVar4 >> 0x20" (cast_expression "(ulonglong)lVar4" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "FUN_000328d0(uVar3,(int)lVar4,0,10);" (call_expression "FUN_000328d0(uVar3,(int)lVar4,0,10)" identifier (argument_list "(uVar3,(int)lVar4,0,10)" ( identifier , (cast_expression "(int)lVar4" ( (type_descriptor "int" primitive_type) ) identifier) , number_literal , number_literal ))) ;) (expression_statement "pcVar2[-1] = '0' - extraout_v1_00;" (assignment_expression "pcVar2[-1] = '0' - extraout_v1_00" (subscript_expression "pcVar2[-1]" identifier [ number_literal ]) = (binary_expression "'0' - extraout_v1_00" (char_literal "'0'" ' character ') - identifier)) ;) (expression_statement "lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);" (assignment_expression "lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10)" identifier = (call_expression "FUN_00032420(uVar3,(int)lVar4,0,10)" identifier (argument_list "(uVar3,(int)lVar4,0,10)" ( identifier , (cast_expression "(int)lVar4" ( (type_descriptor "int" primitive_type) ) identifier) , number_literal , number_literal )))) ;) (expression_statement "pcVar1 = pcVar2 + -1;" (assignment_expression "pcVar1 = pcVar2 + -1" identifier = (binary_expression "pcVar2 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar4 != 0)" ( (binary_expression "lVar4 != 0" identifier != number_literal) )) ;) (expression_statement "pcVar1 = pcVar2 + -2;" (assignment_expression "pcVar1 = pcVar2 + -2" identifier = (binary_expression "pcVar2 + -2" identifier + number_literal)) ;) (expression_statement "pcVar2[-2] = '-';" (assignment_expression "pcVar2[-2] = '-'" (subscript_expression "pcVar2[-2]" identifier [ number_literal ]) = (char_literal "'-'" ' character ')) ;) }) (else_clause "else {\n    do {\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      pcVar1 = pcVar1 + -1;\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      *pcVar1 = extraout_v1 + '0';\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n    } while (lVar4 != 0);\n  }" else (compound_statement "{\n    do {\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      pcVar1 = pcVar1 + -1;\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      *pcVar1 = extraout_v1 + '0';\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n    } while (lVar4 != 0);\n  }" { (do_statement "do {\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      pcVar1 = pcVar1 + -1;\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      *pcVar1 = extraout_v1 + '0';\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n    } while (lVar4 != 0);" do (compound_statement "{\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      pcVar1 = pcVar1 + -1;\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      *pcVar1 = extraout_v1 + '0';\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n    }" { (expression_statement "uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);" (assignment_expression "uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)lVar4 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)lVar4 >> 0x20)" ( (binary_expression "(ulonglong)lVar4 >> 0x20" (cast_expression "(ulonglong)lVar4" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "pcVar1 = pcVar1 + -1;" (assignment_expression "pcVar1 = pcVar1 + -1" identifier = (binary_expression "pcVar1 + -1" identifier + number_literal)) ;) (expression_statement "FUN_000328d0(uVar3,(int)lVar4,0,10);" (call_expression "FUN_000328d0(uVar3,(int)lVar4,0,10)" identifier (argument_list "(uVar3,(int)lVar4,0,10)" ( identifier , (cast_expression "(int)lVar4" ( (type_descriptor "int" primitive_type) ) identifier) , number_literal , number_literal ))) ;) (expression_statement "*pcVar1 = extraout_v1 + '0';" (assignment_expression "*pcVar1 = extraout_v1 + '0'" (pointer_expression "*pcVar1" * identifier) = (binary_expression "extraout_v1 + '0'" identifier + (char_literal "'0'" ' character '))) ;) (expression_statement "lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);" (assignment_expression "lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10)" identifier = (call_expression "FUN_00032420(uVar3,(int)lVar4,0,10)" identifier (argument_list "(uVar3,(int)lVar4,0,10)" ( identifier , (cast_expression "(int)lVar4" ( (type_descriptor "int" primitive_type) ) identifier) , number_literal , number_literal )))) ;) }) while (parenthesized_expression "(lVar4 != 0)" ( (binary_expression "lVar4 != 0" identifier != number_literal) )) ;) }))) (return_statement "return pcVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , 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) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE) ) IDENT) , LIT , LIT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (char_literal ' character ') - IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE) ) IDENT) , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' character ')) ;) }) (else_clause else (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE) ) IDENT) , LIT , LIT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + (char_literal ' character '))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE) ) IDENT) , LIT , LIT )))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) }))) (return_statement return IDENT ;) })))
(function_definition "char * imaxtostr(int param_1,undefined4 param_2,int param_3)\n\n{\n  char extraout_v1;\n  char extraout_v1_00;\n  char *pcVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  longlong lVar4;\n  \n  lVar4 = CONCAT44(param_1,param_2);\n  pcVar1 = (char *)(param_3 + 0x14);\n  *(undefined1 *)(param_3 + 0x14) = 0;\n  if (param_1 < 0) {\n    do {\n      pcVar2 = pcVar1;\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      pcVar2[-1] = '0' - extraout_v1_00;\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n      pcVar1 = pcVar2 + -1;\n    } while (lVar4 != 0);\n    pcVar1 = pcVar2 + -2;\n    pcVar2[-2] = '-';\n  }\n  else {\n    do {\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      pcVar1 = pcVar1 + -1;\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      *pcVar1 = extraout_v1 + '0';\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n    } while (lVar4 != 0);\n  }\n  return pcVar1;\n}" (primitive_type "char") (pointer_declarator "* imaxtostr(int param_1,undefined4 param_2,int param_3)" (* "*") (function_declarator "imaxtostr(int param_1,undefined4 param_2,int param_3)" (identifier "imaxtostr") (parameter_list "(int param_1,undefined4 param_2,int param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")")))) (compound_statement "{\n  char extraout_v1;\n  char extraout_v1_00;\n  char *pcVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  longlong lVar4;\n  \n  lVar4 = CONCAT44(param_1,param_2);\n  pcVar1 = (char *)(param_3 + 0x14);\n  *(undefined1 *)(param_3 + 0x14) = 0;\n  if (param_1 < 0) {\n    do {\n      pcVar2 = pcVar1;\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      pcVar2[-1] = '0' - extraout_v1_00;\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n      pcVar1 = pcVar2 + -1;\n    } while (lVar4 != 0);\n    pcVar1 = pcVar2 + -2;\n    pcVar2[-2] = '-';\n  }\n  else {\n    do {\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      pcVar1 = pcVar1 + -1;\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      *pcVar1 = extraout_v1 + '0';\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n    } while (lVar4 != 0);\n  }\n  return pcVar1;\n}" ({ "{") (declaration "char extraout_v1;" (primitive_type "char") (identifier "extraout_v1") (; ";")) (declaration "char extraout_v1_00;" (primitive_type "char") (identifier "extraout_v1_00") (; ";")) (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "longlong lVar4;" (type_identifier "longlong") (identifier "lVar4") (; ";")) (expression_statement "lVar4 = CONCAT44(param_1,param_2);" (assignment_expression "lVar4 = CONCAT44(param_1,param_2)" (identifier "lVar4") (= "=") (call_expression "CONCAT44(param_1,param_2)" (identifier "CONCAT44") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (expression_statement "pcVar1 = (char *)(param_3 + 0x14);" (assignment_expression "pcVar1 = (char *)(param_3 + 0x14)" (identifier "pcVar1") (= "=") (cast_expression "(char *)(param_3 + 0x14)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x14)" (( "(") (binary_expression "param_3 + 0x14" (identifier "param_3") (+ "+") (number_literal "0x14")) () ")")))) (; ";")) (expression_statement "*(undefined1 *)(param_3 + 0x14) = 0;" (assignment_expression "*(undefined1 *)(param_3 + 0x14) = 0" (pointer_expression "*(undefined1 *)(param_3 + 0x14)" (* "*") (cast_expression "(undefined1 *)(param_3 + 0x14)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x14)" (( "(") (binary_expression "param_3 + 0x14" (identifier "param_3") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_1 < 0) {\n    do {\n      pcVar2 = pcVar1;\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      pcVar2[-1] = '0' - extraout_v1_00;\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n      pcVar1 = pcVar2 + -1;\n    } while (lVar4 != 0);\n    pcVar1 = pcVar2 + -2;\n    pcVar2[-2] = '-';\n  }\n  else {\n    do {\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      pcVar1 = pcVar1 + -1;\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      *pcVar1 = extraout_v1 + '0';\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n    } while (lVar4 != 0);\n  }" (if "if") (parenthesized_expression "(param_1 < 0)" (( "(") (binary_expression "param_1 < 0" (identifier "param_1") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    do {\n      pcVar2 = pcVar1;\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      pcVar2[-1] = '0' - extraout_v1_00;\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n      pcVar1 = pcVar2 + -1;\n    } while (lVar4 != 0);\n    pcVar1 = pcVar2 + -2;\n    pcVar2[-2] = '-';\n  }" ({ "{") (do_statement "do {\n      pcVar2 = pcVar1;\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      pcVar2[-1] = '0' - extraout_v1_00;\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n      pcVar1 = pcVar2 + -1;\n    } while (lVar4 != 0);" (do "do") (compound_statement "{\n      pcVar2 = pcVar1;\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      pcVar2[-1] = '0' - extraout_v1_00;\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n      pcVar1 = pcVar2 + -1;\n    }" ({ "{") (expression_statement "pcVar2 = pcVar1;" (assignment_expression "pcVar2 = pcVar1" (identifier "pcVar2") (= "=") (identifier "pcVar1")) (; ";")) (expression_statement "uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);" (assignment_expression "uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20)" (identifier "uVar3") (= "=") (call_expression "(undefined4)((ulonglong)lVar4 >> 0x20)" (parenthesized_expression "(undefined4)" (( "(") (identifier "undefined4") () ")")) (argument_list "((ulonglong)lVar4 >> 0x20)" (( "(") (binary_expression "(ulonglong)lVar4 >> 0x20" (cast_expression "(ulonglong)lVar4" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "lVar4")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "FUN_000328d0(uVar3,(int)lVar4,0,10);" (call_expression "FUN_000328d0(uVar3,(int)lVar4,0,10)" (identifier "FUN_000328d0") (argument_list "(uVar3,(int)lVar4,0,10)" (( "(") (identifier "uVar3") (, ",") (cast_expression "(int)lVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "lVar4")) (, ",") (number_literal "0") (, ",") (number_literal "10") () ")"))) (; ";")) (expression_statement "pcVar2[-1] = '0' - extraout_v1_00;" (assignment_expression "pcVar2[-1] = '0' - extraout_v1_00" (subscript_expression "pcVar2[-1]" (identifier "pcVar2") ([ "[") (number_literal "-1") (] "]")) (= "=") (binary_expression "'0' - extraout_v1_00" (char_literal "'0'" (' "'") (character "0") (' "'")) (- "-") (identifier "extraout_v1_00"))) (; ";")) (expression_statement "lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);" (assignment_expression "lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10)" (identifier "lVar4") (= "=") (call_expression "FUN_00032420(uVar3,(int)lVar4,0,10)" (identifier "FUN_00032420") (argument_list "(uVar3,(int)lVar4,0,10)" (( "(") (identifier "uVar3") (, ",") (cast_expression "(int)lVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "lVar4")) (, ",") (number_literal "0") (, ",") (number_literal "10") () ")")))) (; ";")) (expression_statement "pcVar1 = pcVar2 + -1;" (assignment_expression "pcVar1 = pcVar2 + -1" (identifier "pcVar1") (= "=") (binary_expression "pcVar2 + -1" (identifier "pcVar2") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(lVar4 != 0)" (( "(") (binary_expression "lVar4 != 0" (identifier "lVar4") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "pcVar1 = pcVar2 + -2;" (assignment_expression "pcVar1 = pcVar2 + -2" (identifier "pcVar1") (= "=") (binary_expression "pcVar2 + -2" (identifier "pcVar2") (+ "+") (number_literal "-2"))) (; ";")) (expression_statement "pcVar2[-2] = '-';" (assignment_expression "pcVar2[-2] = '-'" (subscript_expression "pcVar2[-2]" (identifier "pcVar2") ([ "[") (number_literal "-2") (] "]")) (= "=") (char_literal "'-'" (' "'") (character "-") (' "'"))) (; ";")) (} "}")) (else_clause "else {\n    do {\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      pcVar1 = pcVar1 + -1;\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      *pcVar1 = extraout_v1 + '0';\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n    } while (lVar4 != 0);\n  }" (else "else") (compound_statement "{\n    do {\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      pcVar1 = pcVar1 + -1;\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      *pcVar1 = extraout_v1 + '0';\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n    } while (lVar4 != 0);\n  }" ({ "{") (do_statement "do {\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      pcVar1 = pcVar1 + -1;\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      *pcVar1 = extraout_v1 + '0';\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n    } while (lVar4 != 0);" (do "do") (compound_statement "{\n      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);\n      pcVar1 = pcVar1 + -1;\n      FUN_000328d0(uVar3,(int)lVar4,0,10);\n      *pcVar1 = extraout_v1 + '0';\n      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);\n    }" ({ "{") (expression_statement "uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);" (assignment_expression "uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20)" (identifier "uVar3") (= "=") (call_expression "(undefined4)((ulonglong)lVar4 >> 0x20)" (parenthesized_expression "(undefined4)" (( "(") (identifier "undefined4") () ")")) (argument_list "((ulonglong)lVar4 >> 0x20)" (( "(") (binary_expression "(ulonglong)lVar4 >> 0x20" (cast_expression "(ulonglong)lVar4" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "lVar4")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "pcVar1 = pcVar1 + -1;" (assignment_expression "pcVar1 = pcVar1 + -1" (identifier "pcVar1") (= "=") (binary_expression "pcVar1 + -1" (identifier "pcVar1") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "FUN_000328d0(uVar3,(int)lVar4,0,10);" (call_expression "FUN_000328d0(uVar3,(int)lVar4,0,10)" (identifier "FUN_000328d0") (argument_list "(uVar3,(int)lVar4,0,10)" (( "(") (identifier "uVar3") (, ",") (cast_expression "(int)lVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "lVar4")) (, ",") (number_literal "0") (, ",") (number_literal "10") () ")"))) (; ";")) (expression_statement "*pcVar1 = extraout_v1 + '0';" (assignment_expression "*pcVar1 = extraout_v1 + '0'" (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) (= "=") (binary_expression "extraout_v1 + '0'" (identifier "extraout_v1") (+ "+") (char_literal "'0'" (' "'") (character "0") (' "'")))) (; ";")) (expression_statement "lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);" (assignment_expression "lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10)" (identifier "lVar4") (= "=") (call_expression "FUN_00032420(uVar3,(int)lVar4,0,10)" (identifier "FUN_00032420") (argument_list "(uVar3,(int)lVar4,0,10)" (( "(") (identifier "uVar3") (, ",") (cast_expression "(int)lVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "lVar4")) (, ",") (number_literal "0") (, ",") (number_literal "10") () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(lVar4 != 0)" (( "(") (binary_expression "lVar4 != 0" (identifier "lVar4") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}")))) (return_statement "return pcVar1;" (return "return") (identifier "pcVar1") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (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))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) (number_literal) (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (char_literal (character)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) (number_literal) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (character))))) alternative: (else_clause (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) (number_literal) (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (char_literal (character))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) (number_literal) (number_literal)))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (return_statement (identifier)))))

char * MASKED(int param_1,undefined4 param_2,int param_3)

{
  char extraout_v1;
  char extraout_v1_00;
  char *pcVar1;
  char *pcVar2;
  undefined4 uVar3;
  longlong lVar4;
  
  lVar4 = CONCAT44(param_1,param_2);
  pcVar1 = (char *)(param_3 + 0x14);
  *(undefined1 *)(param_3 + 0x14) = 0;
  if (param_1 < 0) {
    do {
      pcVar2 = pcVar1;
      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);
      FUN_000328d0(uVar3,(int)lVar4,0,10);
      pcVar2[-1] = '0' - extraout_v1_00;
      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);
      pcVar1 = pcVar2 + -1;
    } while (lVar4 != 0);
    pcVar1 = pcVar2 + -2;
    pcVar2[-2] = '-';
  }
  else {
    do {
      uVar3 = (undefined4)((ulonglong)lVar4 >> 0x20);
      pcVar1 = pcVar1 + -1;
      FUN_000328d0(uVar3,(int)lVar4,0,10);
      *pcVar1 = extraout_v1 + '0';
      lVar4 = FUN_00032420(uVar3,(int)lVar4,0,10);
    } while (lVar4 != 0);
  }
  return pcVar1;
}

