
void uint64_decimal(uint64 x,char *buffer)

{
  undefined *puVar1;
  int iVar2;
  uint uVar3;
  char *pcVar4;
  uint in_a1;
  int *in_a2;
  int iVar5;
  char *pcVar6;
  char *pcVar7;
  uint uVar8;
  int iVar9;
  int iVar10;
  char acStack_3c [12];
  char buf [20];
  
  puVar1 = PTR___stack_chk_guard_000b2f04;
  iVar2 = *(int *)PTR___stack_chk_guard_000b2f04;
  uVar3 = ((uint)buffer % 10) * 6 + in_a1 % 10;
  uVar8 = ((uint)buffer % 10) * 0x19999999 + in_a1 / 10 + uVar3 / 10;
  pcVar6 = buf;
  pcVar7 = (char *)((uint)buffer / 10);
  do {
    pcVar6[0x13] = (char)(uVar3 % 10) + '0';
    if (buffer < (char *)0xa) {
      iVar5 = 0;
      if (uVar8 == 0) {
        pcVar7 = buf + (int)(pcVar6 + (0x13 - (int)buf));
        iVar9 = 0x14 - (int)(pcVar6 + (0x13 - (int)buf));
        iVar5 = iVar9;
        iVar10 = (*(code *)PTR_memcpy_000b2f08)();
        *(undefined1 *)(iVar10 + iVar9) = 0;
        if (iVar2 == *(int *)puVar1) {
          return;
        }
        (*(code *)PTR___stack_chk_fail_000b2ed8)();
        *in_a2 = (int)pcVar7;
        in_a2[1] = iVar5;
        return;
      }
      iVar10 = 0;
      pcVar4 = (char *)0x0;
      pcVar7 = (char *)0x0;
    }
    else {
      pcVar4 = (char *)((uint)pcVar7 / 10);
      iVar10 = ((uint)pcVar7 % 10) * 0x19999999;
      iVar5 = ((uint)pcVar7 % 10) * 6;
    }
    pcVar6 = pcVar6 + -1;
    uVar3 = uVar8 % 10 + iVar5;
    uVar8 = uVar8 / 10 + iVar10 + uVar3 / 10;
    buffer = pcVar7;
    pcVar7 = pcVar4;
  } while (acStack_3c != pcVar6);
  (*(code *)PTR___assert_fail_000b2d2c)
            (PTR_s_acket_from_server___s_000b23a8 + -0x13b8,
             PTR_s_acket_from_server___s_000b23a8 + -0x13c0,0x29,
             PTR_s_acket_from_server___s_000b23a8 + -0x13a0);
  return;
}



int * uint64_decimal(uint param_1,uint param_2,int *param_3)

{
  undefined *puVar1;
  uint uVar2;
  int *piVar3;
  uint uVar4;
  char *pcVar5;
  int iVar6;
  char *pcVar7;
  uint uVar8;
  uint uVar9;
  int iVar10;
  int iVar11;
  char acStack_3c [12];
  char acStack_28 [20];
  int *local_14;
  
  puVar1 = PTR___stack_chk_guard_000b2f04;
  local_14 = *(int **)PTR___stack_chk_guard_000b2f04;
  uVar2 = (param_1 % 10) * 6 + param_2 % 10;
  uVar9 = (param_1 % 10) * 0x19999999 + param_2 / 10 + uVar2 / 10;
  pcVar7 = acStack_28;
  uVar8 = param_1 / 10;
  do {
    pcVar7[0x13] = (char)(uVar2 % 10) + '0';
    if (param_1 < 10) {
      iVar6 = 0;
      if (uVar9 == 0) {
        pcVar5 = acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28));
        iVar10 = 0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28));
        iVar6 = iVar10;
        iVar11 = (*(code *)PTR_memcpy_000b2f08)();
        *(undefined1 *)(iVar11 + iVar10) = 0;
        if (local_14 == *(int **)puVar1) {
          return *(int **)puVar1;
        }
        (*(code *)PTR___stack_chk_fail_000b2ed8)();
        *param_3 = (int)pcVar5;
        param_3[1] = iVar6;
        return param_3;
      }
      iVar11 = 0;
      uVar4 = 0;
      uVar8 = 0;
    }
    else {
      uVar4 = uVar8 / 10;
      iVar11 = (uVar8 % 10) * 0x19999999;
      iVar6 = (uVar8 % 10) * 6;
    }
    pcVar7 = pcVar7 + -1;
    uVar2 = uVar9 % 10 + iVar6;
    uVar9 = uVar9 / 10 + iVar11 + uVar2 / 10;
    param_1 = uVar8;
    uVar8 = uVar4;
  } while (acStack_3c != pcVar7);
  piVar3 = (int *)(*(code *)PTR___assert_fail_000b2d2c)
                            (PTR_s_acket_from_server___s_000b23a8 + -0x13b8,
                             PTR_s_acket_from_server___s_000b23a8 + -0x13c0,0x29,
                             PTR_s_acket_from_server___s_000b23a8 + -0x13a0);
  return piVar3;
}


lui gp,0xa
addiu gp,gp,-0x3da4
addu gp,gp,t9
lui t4,0xcccc
addiu sp,sp,-0x40
ori t4,t4,0xcccd
multu a0,t4
sw s0,0x34(sp)
or t0,a0,zero
lw s0,-0x746c(gp)
lui t7,0x1999
sw a0,0x40(sp)
li t5,0x13
mfhi t3
sw a1,0x44(sp)
multu a1,t4
sw gp,0x10(sp)
lw v0,0x0(s0)
ori t7,t7,0x9999
sw ra,0x3c(sp)
or t1,a2,zero
sw s1,0x38(sp)
addiu t6,sp,0x4
mfhi a3
sw v0,0x2c(sp)
srl t3,t3,0x3
sll t2,t3,0x2
addu t2,t2,t3
srl a0,a3,0x3
sll t2,t2,0x1
sll v0,a0,0x2
subu t2,t0,t2
addu v0,v0,a0
sll v1,t2,0x1
sll v0,v0,0x1
srl a3,a3,0x3
subu a0,a1,v0
addu v0,v1,t2
mul v1,t2,t7
sll v0,v0,0x1
addiu a1,sp,0x18
addu v0,v0,a0
subu t5,t5,a1
multu v0,t4
addu t2,v1,a3
or a3,a1,zero
mfhi v1
srl a0,v1,0x3
sll v1,a0,0x2
addu t2,t2,a0
addu v1,v1,a0
sll v1,v1,0x1
b 0x0001e24c
_subu v0,v0,v1
beq t2,zero,0x0001e2bc
_or a2,zero,zero
or t8,zero,zero
or t3,zero,zero
or t0,zero,zero
multu t2,t4
addiu a3,a3,-0x1
mfhi v1
srl v0,v1,0x3
sll a0,v0,0x2
addu v1,v0,t8
addu v0,a0,v0
sll v0,v0,0x1
subu v0,t2,v0
addu v0,v0,a2
multu v0,t4
mfhi a2
srl a2,a2,0x3
sll a0,a2,0x2
addu t2,v1,a2
addu v1,a0,a2
sll v1,v1,0x1
beq t6,a3,0x0001e298
_subu v0,v0,v1
addiu v0,v0,0x30
sltiu t0,t0,0xa
addu v1,t5,a3
bne t0,zero,0x0001e1ec
_sb v0,0x13(a3)
multu t3,t4
or t0,t3,zero
mfhi v1
srl v1,v1,0x3
sll v0,v1,0x2
addu v0,v0,v1
sll v0,v0,0x1
subu v0,t3,v0
or t3,v1,zero
sll a2,v0,0x1
mul t8,v0,t7
addu v0,a2,v0
b 0x0001e200
_sll a2,v0,0x1
lw a3,-0x7fc8(gp)
li a2,0x29
lw a1,-0x7fc8(gp)
lw a0,-0x7fc8(gp)
lw t9,-0x7644(gp)
addiu a3,a3,-0x13a0
addiu a1,a1,-0x13c0
jalr t9
_addiu a0,a0,-0x13b8
li s1,0x14
lw t9,-0x7468(gp)
addu a1,a1,v1
subu s1,s1,v1
or a0,t1,zero
jalr t9
_or a2,s1,zero
addu t1,v0,s1
lw gp,0x10(sp)
lw v1,0x2c(sp)
sb zero,0x0(t1)
lw v0,0x0(s0)
bne v1,v0,0x0001e304
_lw ra,0x3c(sp)
lw s1,0x38(sp)
lw s0,0x34(sp)
jr ra
_addiu sp,sp,0x40
lw t9,-0x7498(gp)
jalr t9
_nop
(translation_unit "int * uint64_decimal(uint param_1,uint param_2,int *param_3)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int *piVar3;\n  uint uVar4;\n  char *pcVar5;\n  int iVar6;\n  char *pcVar7;\n  uint uVar8;\n  uint uVar9;\n  int iVar10;\n  int iVar11;\n  char acStack_3c [12];\n  char acStack_28 [20];\n  int *local_14;\n  \n  puVar1 = PTR___stack_chk_guard_000b2f04;\n  local_14 = *(int **)PTR___stack_chk_guard_000b2f04;\n  uVar2 = (param_1 % 10) * 6 + param_2 % 10;\n  uVar9 = (param_1 % 10) * 0x19999999 + param_2 / 10 + uVar2 / 10;\n  pcVar7 = acStack_28;\n  uVar8 = param_1 / 10;\n  do {\n    pcVar7[0x13] = (char)(uVar2 % 10) + '0';\n    if (param_1 < 10) {\n      iVar6 = 0;\n      if (uVar9 == 0) {\n        pcVar5 = acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar10 = 0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar6 = iVar10;\n        iVar11 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar11 + iVar10) = 0;\n        if (local_14 == *(int **)puVar1) {\n          return *(int **)puVar1;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *param_3 = (int)pcVar5;\n        param_3[1] = iVar6;\n        return param_3;\n      }\n      iVar11 = 0;\n      uVar4 = 0;\n      uVar8 = 0;\n    }\n    else {\n      uVar4 = uVar8 / 10;\n      iVar11 = (uVar8 % 10) * 0x19999999;\n      iVar6 = (uVar8 % 10) * 6;\n    }\n    pcVar7 = pcVar7 + -1;\n    uVar2 = uVar9 % 10 + iVar6;\n    uVar9 = uVar9 / 10 + iVar11 + uVar2 / 10;\n    param_1 = uVar8;\n    uVar8 = uVar4;\n  } while (acStack_3c != pcVar7);\n  piVar3 = (int *)(*(code *)PTR___assert_fail_000b2d2c)\n                            (PTR_s_acket_from_server___s_000b23a8 + -0x13b8,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13c0,0x29,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13a0);\n  return piVar3;\n}\n\n" (function_definition "int * uint64_decimal(uint param_1,uint param_2,int *param_3)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int *piVar3;\n  uint uVar4;\n  char *pcVar5;\n  int iVar6;\n  char *pcVar7;\n  uint uVar8;\n  uint uVar9;\n  int iVar10;\n  int iVar11;\n  char acStack_3c [12];\n  char acStack_28 [20];\n  int *local_14;\n  \n  puVar1 = PTR___stack_chk_guard_000b2f04;\n  local_14 = *(int **)PTR___stack_chk_guard_000b2f04;\n  uVar2 = (param_1 % 10) * 6 + param_2 % 10;\n  uVar9 = (param_1 % 10) * 0x19999999 + param_2 / 10 + uVar2 / 10;\n  pcVar7 = acStack_28;\n  uVar8 = param_1 / 10;\n  do {\n    pcVar7[0x13] = (char)(uVar2 % 10) + '0';\n    if (param_1 < 10) {\n      iVar6 = 0;\n      if (uVar9 == 0) {\n        pcVar5 = acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar10 = 0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar6 = iVar10;\n        iVar11 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar11 + iVar10) = 0;\n        if (local_14 == *(int **)puVar1) {\n          return *(int **)puVar1;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *param_3 = (int)pcVar5;\n        param_3[1] = iVar6;\n        return param_3;\n      }\n      iVar11 = 0;\n      uVar4 = 0;\n      uVar8 = 0;\n    }\n    else {\n      uVar4 = uVar8 / 10;\n      iVar11 = (uVar8 % 10) * 0x19999999;\n      iVar6 = (uVar8 % 10) * 6;\n    }\n    pcVar7 = pcVar7 + -1;\n    uVar2 = uVar9 % 10 + iVar6;\n    uVar9 = uVar9 / 10 + iVar11 + uVar2 / 10;\n    param_1 = uVar8;\n    uVar8 = uVar4;\n  } while (acStack_3c != pcVar7);\n  piVar3 = (int *)(*(code *)PTR___assert_fail_000b2d2c)\n                            (PTR_s_acket_from_server___s_000b23a8 + -0x13b8,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13c0,0x29,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13a0);\n  return piVar3;\n}" primitive_type (pointer_declarator "* uint64_decimal(uint param_1,uint param_2,int *param_3)" * (function_declarator "uint64_decimal(uint param_1,uint param_2,int *param_3)" identifier (parameter_list "(uint param_1,uint param_2,int *param_3)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  int *piVar3;\n  uint uVar4;\n  char *pcVar5;\n  int iVar6;\n  char *pcVar7;\n  uint uVar8;\n  uint uVar9;\n  int iVar10;\n  int iVar11;\n  char acStack_3c [12];\n  char acStack_28 [20];\n  int *local_14;\n  \n  puVar1 = PTR___stack_chk_guard_000b2f04;\n  local_14 = *(int **)PTR___stack_chk_guard_000b2f04;\n  uVar2 = (param_1 % 10) * 6 + param_2 % 10;\n  uVar9 = (param_1 % 10) * 0x19999999 + param_2 / 10 + uVar2 / 10;\n  pcVar7 = acStack_28;\n  uVar8 = param_1 / 10;\n  do {\n    pcVar7[0x13] = (char)(uVar2 % 10) + '0';\n    if (param_1 < 10) {\n      iVar6 = 0;\n      if (uVar9 == 0) {\n        pcVar5 = acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar10 = 0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar6 = iVar10;\n        iVar11 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar11 + iVar10) = 0;\n        if (local_14 == *(int **)puVar1) {\n          return *(int **)puVar1;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *param_3 = (int)pcVar5;\n        param_3[1] = iVar6;\n        return param_3;\n      }\n      iVar11 = 0;\n      uVar4 = 0;\n      uVar8 = 0;\n    }\n    else {\n      uVar4 = uVar8 / 10;\n      iVar11 = (uVar8 % 10) * 0x19999999;\n      iVar6 = (uVar8 % 10) * 6;\n    }\n    pcVar7 = pcVar7 + -1;\n    uVar2 = uVar9 % 10 + iVar6;\n    uVar9 = uVar9 / 10 + iVar11 + uVar2 / 10;\n    param_1 = uVar8;\n    uVar8 = uVar4;\n  } while (acStack_3c != pcVar7);\n  piVar3 = (int *)(*(code *)PTR___assert_fail_000b2d2c)\n                            (PTR_s_acket_from_server___s_000b23a8 + -0x13b8,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13c0,0x29,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13a0);\n  return piVar3;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "char acStack_3c [12];" primitive_type (array_declarator "acStack_3c [12]" identifier [ number_literal ]) ;) (declaration "char acStack_28 [20];" primitive_type (array_declarator "acStack_28 [20]" identifier [ number_literal ]) ;) (declaration "int *local_14;" primitive_type (pointer_declarator "*local_14" * identifier) ;) (expression_statement "puVar1 = PTR___stack_chk_guard_000b2f04;" (assignment_expression "puVar1 = PTR___stack_chk_guard_000b2f04" identifier = identifier) ;) (expression_statement "local_14 = *(int **)PTR___stack_chk_guard_000b2f04;" (assignment_expression "local_14 = *(int **)PTR___stack_chk_guard_000b2f04" identifier = (pointer_expression "*(int **)PTR___stack_chk_guard_000b2f04" * (cast_expression "(int **)PTR___stack_chk_guard_000b2f04" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "uVar2 = (param_1 % 10) * 6 + param_2 % 10;" (assignment_expression "uVar2 = (param_1 % 10) * 6 + param_2 % 10" identifier = (binary_expression "(param_1 % 10) * 6 + param_2 % 10" (binary_expression "(param_1 % 10) * 6" (parenthesized_expression "(param_1 % 10)" ( (binary_expression "param_1 % 10" identifier % number_literal) )) * number_literal) + (binary_expression "param_2 % 10" identifier % number_literal))) ;) (expression_statement "uVar9 = (param_1 % 10) * 0x19999999 + param_2 / 10 + uVar2 / 10;" (assignment_expression "uVar9 = (param_1 % 10) * 0x19999999 + param_2 / 10 + uVar2 / 10" identifier = (binary_expression "(param_1 % 10) * 0x19999999 + param_2 / 10 + uVar2 / 10" (binary_expression "(param_1 % 10) * 0x19999999 + param_2 / 10" (binary_expression "(param_1 % 10) * 0x19999999" (parenthesized_expression "(param_1 % 10)" ( (binary_expression "param_1 % 10" identifier % number_literal) )) * number_literal) + (binary_expression "param_2 / 10" identifier / number_literal)) + (binary_expression "uVar2 / 10" identifier / number_literal))) ;) (expression_statement "pcVar7 = acStack_28;" (assignment_expression "pcVar7 = acStack_28" identifier = identifier) ;) (expression_statement "uVar8 = param_1 / 10;" (assignment_expression "uVar8 = param_1 / 10" identifier = (binary_expression "param_1 / 10" identifier / number_literal)) ;) (do_statement "do {\n    pcVar7[0x13] = (char)(uVar2 % 10) + '0';\n    if (param_1 < 10) {\n      iVar6 = 0;\n      if (uVar9 == 0) {\n        pcVar5 = acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar10 = 0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar6 = iVar10;\n        iVar11 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar11 + iVar10) = 0;\n        if (local_14 == *(int **)puVar1) {\n          return *(int **)puVar1;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *param_3 = (int)pcVar5;\n        param_3[1] = iVar6;\n        return param_3;\n      }\n      iVar11 = 0;\n      uVar4 = 0;\n      uVar8 = 0;\n    }\n    else {\n      uVar4 = uVar8 / 10;\n      iVar11 = (uVar8 % 10) * 0x19999999;\n      iVar6 = (uVar8 % 10) * 6;\n    }\n    pcVar7 = pcVar7 + -1;\n    uVar2 = uVar9 % 10 + iVar6;\n    uVar9 = uVar9 / 10 + iVar11 + uVar2 / 10;\n    param_1 = uVar8;\n    uVar8 = uVar4;\n  } while (acStack_3c != pcVar7);" do (compound_statement "{\n    pcVar7[0x13] = (char)(uVar2 % 10) + '0';\n    if (param_1 < 10) {\n      iVar6 = 0;\n      if (uVar9 == 0) {\n        pcVar5 = acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar10 = 0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar6 = iVar10;\n        iVar11 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar11 + iVar10) = 0;\n        if (local_14 == *(int **)puVar1) {\n          return *(int **)puVar1;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *param_3 = (int)pcVar5;\n        param_3[1] = iVar6;\n        return param_3;\n      }\n      iVar11 = 0;\n      uVar4 = 0;\n      uVar8 = 0;\n    }\n    else {\n      uVar4 = uVar8 / 10;\n      iVar11 = (uVar8 % 10) * 0x19999999;\n      iVar6 = (uVar8 % 10) * 6;\n    }\n    pcVar7 = pcVar7 + -1;\n    uVar2 = uVar9 % 10 + iVar6;\n    uVar9 = uVar9 / 10 + iVar11 + uVar2 / 10;\n    param_1 = uVar8;\n    uVar8 = uVar4;\n  }" { (expression_statement "pcVar7[0x13] = (char)(uVar2 % 10) + '0';" (assignment_expression "pcVar7[0x13] = (char)(uVar2 % 10) + '0'" (subscript_expression "pcVar7[0x13]" identifier [ number_literal ]) = (binary_expression "(char)(uVar2 % 10) + '0'" (cast_expression "(char)(uVar2 % 10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar2 % 10)" ( (binary_expression "uVar2 % 10" identifier % number_literal) ))) + (char_literal "'0'" ' character '))) ;) (if_statement "if (param_1 < 10) {\n      iVar6 = 0;\n      if (uVar9 == 0) {\n        pcVar5 = acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar10 = 0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar6 = iVar10;\n        iVar11 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar11 + iVar10) = 0;\n        if (local_14 == *(int **)puVar1) {\n          return *(int **)puVar1;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *param_3 = (int)pcVar5;\n        param_3[1] = iVar6;\n        return param_3;\n      }\n      iVar11 = 0;\n      uVar4 = 0;\n      uVar8 = 0;\n    }\n    else {\n      uVar4 = uVar8 / 10;\n      iVar11 = (uVar8 % 10) * 0x19999999;\n      iVar6 = (uVar8 % 10) * 6;\n    }" if (parenthesized_expression "(param_1 < 10)" ( (binary_expression "param_1 < 10" identifier < number_literal) )) (compound_statement "{\n      iVar6 = 0;\n      if (uVar9 == 0) {\n        pcVar5 = acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar10 = 0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar6 = iVar10;\n        iVar11 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar11 + iVar10) = 0;\n        if (local_14 == *(int **)puVar1) {\n          return *(int **)puVar1;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *param_3 = (int)pcVar5;\n        param_3[1] = iVar6;\n        return param_3;\n      }\n      iVar11 = 0;\n      uVar4 = 0;\n      uVar8 = 0;\n    }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (if_statement "if (uVar9 == 0) {\n        pcVar5 = acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar10 = 0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar6 = iVar10;\n        iVar11 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar11 + iVar10) = 0;\n        if (local_14 == *(int **)puVar1) {\n          return *(int **)puVar1;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *param_3 = (int)pcVar5;\n        param_3[1] = iVar6;\n        return param_3;\n      }" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (compound_statement "{\n        pcVar5 = acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar10 = 0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar6 = iVar10;\n        iVar11 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar11 + iVar10) = 0;\n        if (local_14 == *(int **)puVar1) {\n          return *(int **)puVar1;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *param_3 = (int)pcVar5;\n        param_3[1] = iVar6;\n        return param_3;\n      }" { (expression_statement "pcVar5 = acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28));" (assignment_expression "pcVar5 = acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28))" identifier = (binary_expression "acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28))" identifier + (cast_expression "(int)(pcVar7 + (0x13 - (int)acStack_28))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pcVar7 + (0x13 - (int)acStack_28))" ( (binary_expression "pcVar7 + (0x13 - (int)acStack_28)" identifier + (parenthesized_expression "(0x13 - (int)acStack_28)" ( (binary_expression "0x13 - (int)acStack_28" number_literal - (cast_expression "(int)acStack_28" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))))) ;) (expression_statement "iVar10 = 0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28));" (assignment_expression "iVar10 = 0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28))" identifier = (binary_expression "0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28))" number_literal - (cast_expression "(int)(pcVar7 + (0x13 - (int)acStack_28))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pcVar7 + (0x13 - (int)acStack_28))" ( (binary_expression "pcVar7 + (0x13 - (int)acStack_28)" identifier + (parenthesized_expression "(0x13 - (int)acStack_28)" ( (binary_expression "0x13 - (int)acStack_28" number_literal - (cast_expression "(int)acStack_28" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))))) ;) (expression_statement "iVar6 = iVar10;" (assignment_expression "iVar6 = iVar10" identifier = identifier) ;) (expression_statement "iVar11 = (*(code *)PTR_memcpy_000b2f08)();" (assignment_expression "iVar11 = (*(code *)PTR_memcpy_000b2f08)()" identifier = (call_expression "(*(code *)PTR_memcpy_000b2f08)()" (parenthesized_expression "(*(code *)PTR_memcpy_000b2f08)" ( (pointer_expression "*(code *)PTR_memcpy_000b2f08" * (cast_expression "(code *)PTR_memcpy_000b2f08" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "*(undefined1 *)(iVar11 + iVar10) = 0;" (assignment_expression "*(undefined1 *)(iVar11 + iVar10) = 0" (pointer_expression "*(undefined1 *)(iVar11 + iVar10)" * (cast_expression "(undefined1 *)(iVar11 + iVar10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + iVar10)" ( (binary_expression "iVar11 + iVar10" identifier + identifier) )))) = number_literal) ;) (if_statement "if (local_14 == *(int **)puVar1) {\n          return *(int **)puVar1;\n        }" if (parenthesized_expression "(local_14 == *(int **)puVar1)" ( (binary_expression "local_14 == *(int **)puVar1" identifier == (pointer_expression "*(int **)puVar1" * (cast_expression "(int **)puVar1" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n          return *(int **)puVar1;\n        }" { (return_statement "return *(int **)puVar1;" return (pointer_expression "*(int **)puVar1" * (cast_expression "(int **)puVar1" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ;) })) (expression_statement "(*(code *)PTR___stack_chk_fail_000b2ed8)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b2ed8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b2ed8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000b2ed8" * (cast_expression "(code *)PTR___stack_chk_fail_000b2ed8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "*param_3 = (int)pcVar5;" (assignment_expression "*param_3 = (int)pcVar5" (pointer_expression "*param_3" * identifier) = (cast_expression "(int)pcVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_3[1] = iVar6;" (assignment_expression "param_3[1] = iVar6" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return param_3;" return identifier ;) })) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      uVar4 = uVar8 / 10;\n      iVar11 = (uVar8 % 10) * 0x19999999;\n      iVar6 = (uVar8 % 10) * 6;\n    }" else (compound_statement "{\n      uVar4 = uVar8 / 10;\n      iVar11 = (uVar8 % 10) * 0x19999999;\n      iVar6 = (uVar8 % 10) * 6;\n    }" { (expression_statement "uVar4 = uVar8 / 10;" (assignment_expression "uVar4 = uVar8 / 10" identifier = (binary_expression "uVar8 / 10" identifier / number_literal)) ;) (expression_statement "iVar11 = (uVar8 % 10) * 0x19999999;" (assignment_expression "iVar11 = (uVar8 % 10) * 0x19999999" identifier = (binary_expression "(uVar8 % 10) * 0x19999999" (parenthesized_expression "(uVar8 % 10)" ( (binary_expression "uVar8 % 10" identifier % number_literal) )) * number_literal)) ;) (expression_statement "iVar6 = (uVar8 % 10) * 6;" (assignment_expression "iVar6 = (uVar8 % 10) * 6" identifier = (binary_expression "(uVar8 % 10) * 6" (parenthesized_expression "(uVar8 % 10)" ( (binary_expression "uVar8 % 10" identifier % number_literal) )) * number_literal)) ;) }))) (expression_statement "pcVar7 = pcVar7 + -1;" (assignment_expression "pcVar7 = pcVar7 + -1" identifier = (binary_expression "pcVar7 + -1" identifier + number_literal)) ;) (expression_statement "uVar2 = uVar9 % 10 + iVar6;" (assignment_expression "uVar2 = uVar9 % 10 + iVar6" identifier = (binary_expression "uVar9 % 10 + iVar6" (binary_expression "uVar9 % 10" identifier % number_literal) + identifier)) ;) (expression_statement "uVar9 = uVar9 / 10 + iVar11 + uVar2 / 10;" (assignment_expression "uVar9 = uVar9 / 10 + iVar11 + uVar2 / 10" identifier = (binary_expression "uVar9 / 10 + iVar11 + uVar2 / 10" (binary_expression "uVar9 / 10 + iVar11" (binary_expression "uVar9 / 10" identifier / number_literal) + identifier) + (binary_expression "uVar2 / 10" identifier / number_literal))) ;) (expression_statement "param_1 = uVar8;" (assignment_expression "param_1 = uVar8" identifier = identifier) ;) (expression_statement "uVar8 = uVar4;" (assignment_expression "uVar8 = uVar4" identifier = identifier) ;) }) while (parenthesized_expression "(acStack_3c != pcVar7)" ( (binary_expression "acStack_3c != pcVar7" identifier != identifier) )) ;) (expression_statement "piVar3 = (int *)(*(code *)PTR___assert_fail_000b2d2c)\n                            (PTR_s_acket_from_server___s_000b23a8 + -0x13b8,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13c0,0x29,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13a0);" (assignment_expression "piVar3 = (int *)(*(code *)PTR___assert_fail_000b2d2c)\n                            (PTR_s_acket_from_server___s_000b23a8 + -0x13b8,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13c0,0x29,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13a0)" identifier = (cast_expression "(int *)(*(code *)PTR___assert_fail_000b2d2c)\n                            (PTR_s_acket_from_server___s_000b23a8 + -0x13b8,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13c0,0x29,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13a0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___assert_fail_000b2d2c)\n                            (PTR_s_acket_from_server___s_000b23a8 + -0x13b8,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13c0,0x29,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13a0)" (parenthesized_expression "(*(code *)PTR___assert_fail_000b2d2c)" ( (pointer_expression "*(code *)PTR___assert_fail_000b2d2c" * (cast_expression "(code *)PTR___assert_fail_000b2d2c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_acket_from_server___s_000b23a8 + -0x13b8,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13c0,0x29,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13a0)" ( (binary_expression "PTR_s_acket_from_server___s_000b23a8 + -0x13b8" identifier + number_literal) , (binary_expression "PTR_s_acket_from_server___s_000b23a8 + -0x13c0" identifier + number_literal) , number_literal , (binary_expression "PTR_s_acket_from_server___s_000b23a8 + -0x13a0" identifier + number_literal) ))))) ;) (return_statement "return piVar3;" return identifier ;) })))
(translation_unit "void uint64_decimal(uint64 x,char *buffer)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  uint uVar3;\n  char *pcVar4;\n  uint in_a1;\n  int *in_a2;\n  int iVar5;\n  char *pcVar6;\n  char *pcVar7;\n  uint uVar8;\n  int iVar9;\n  int iVar10;\n  char acStack_3c [12];\n  char buf [20];\n  \n  puVar1 = PTR___stack_chk_guard_000b2f04;\n  iVar2 = *(int *)PTR___stack_chk_guard_000b2f04;\n  uVar3 = ((uint)buffer % 10) * 6 + in_a1 % 10;\n  uVar8 = ((uint)buffer % 10) * 0x19999999 + in_a1 / 10 + uVar3 / 10;\n  pcVar6 = buf;\n  pcVar7 = (char *)((uint)buffer / 10);\n  do {\n    pcVar6[0x13] = (char)(uVar3 % 10) + '0';\n    if (buffer < (char *)0xa) {\n      iVar5 = 0;\n      if (uVar8 == 0) {\n        pcVar7 = buf + (int)(pcVar6 + (0x13 - (int)buf));\n        iVar9 = 0x14 - (int)(pcVar6 + (0x13 - (int)buf));\n        iVar5 = iVar9;\n        iVar10 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar10 + iVar9) = 0;\n        if (iVar2 == *(int *)puVar1) {\n          return;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *in_a2 = (int)pcVar7;\n        in_a2[1] = iVar5;\n        return;\n      }\n      iVar10 = 0;\n      pcVar4 = (char *)0x0;\n      pcVar7 = (char *)0x0;\n    }\n    else {\n      pcVar4 = (char *)((uint)pcVar7 / 10);\n      iVar10 = ((uint)pcVar7 % 10) * 0x19999999;\n      iVar5 = ((uint)pcVar7 % 10) * 6;\n    }\n    pcVar6 = pcVar6 + -1;\n    uVar3 = uVar8 % 10 + iVar5;\n    uVar8 = uVar8 / 10 + iVar10 + uVar3 / 10;\n    buffer = pcVar7;\n    pcVar7 = pcVar4;\n  } while (acStack_3c != pcVar6);\n  (*(code *)PTR___assert_fail_000b2d2c)\n            (PTR_s_acket_from_server___s_000b23a8 + -0x13b8,\n             PTR_s_acket_from_server___s_000b23a8 + -0x13c0,0x29,\n             PTR_s_acket_from_server___s_000b23a8 + -0x13a0);\n  return;\n}\n\n" (function_definition "void uint64_decimal(uint64 x,char *buffer)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  uint uVar3;\n  char *pcVar4;\n  uint in_a1;\n  int *in_a2;\n  int iVar5;\n  char *pcVar6;\n  char *pcVar7;\n  uint uVar8;\n  int iVar9;\n  int iVar10;\n  char acStack_3c [12];\n  char buf [20];\n  \n  puVar1 = PTR___stack_chk_guard_000b2f04;\n  iVar2 = *(int *)PTR___stack_chk_guard_000b2f04;\n  uVar3 = ((uint)buffer % 10) * 6 + in_a1 % 10;\n  uVar8 = ((uint)buffer % 10) * 0x19999999 + in_a1 / 10 + uVar3 / 10;\n  pcVar6 = buf;\n  pcVar7 = (char *)((uint)buffer / 10);\n  do {\n    pcVar6[0x13] = (char)(uVar3 % 10) + '0';\n    if (buffer < (char *)0xa) {\n      iVar5 = 0;\n      if (uVar8 == 0) {\n        pcVar7 = buf + (int)(pcVar6 + (0x13 - (int)buf));\n        iVar9 = 0x14 - (int)(pcVar6 + (0x13 - (int)buf));\n        iVar5 = iVar9;\n        iVar10 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar10 + iVar9) = 0;\n        if (iVar2 == *(int *)puVar1) {\n          return;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *in_a2 = (int)pcVar7;\n        in_a2[1] = iVar5;\n        return;\n      }\n      iVar10 = 0;\n      pcVar4 = (char *)0x0;\n      pcVar7 = (char *)0x0;\n    }\n    else {\n      pcVar4 = (char *)((uint)pcVar7 / 10);\n      iVar10 = ((uint)pcVar7 % 10) * 0x19999999;\n      iVar5 = ((uint)pcVar7 % 10) * 6;\n    }\n    pcVar6 = pcVar6 + -1;\n    uVar3 = uVar8 % 10 + iVar5;\n    uVar8 = uVar8 / 10 + iVar10 + uVar3 / 10;\n    buffer = pcVar7;\n    pcVar7 = pcVar4;\n  } while (acStack_3c != pcVar6);\n  (*(code *)PTR___assert_fail_000b2d2c)\n            (PTR_s_acket_from_server___s_000b23a8 + -0x13b8,\n             PTR_s_acket_from_server___s_000b23a8 + -0x13c0,0x29,\n             PTR_s_acket_from_server___s_000b23a8 + -0x13a0);\n  return;\n}" primitive_type (function_declarator "uint64_decimal(uint64 x,char *buffer)" identifier (parameter_list "(uint64 x,char *buffer)" ( (parameter_declaration "uint64 x" type_identifier identifier) , (parameter_declaration "char *buffer" primitive_type (pointer_declarator "*buffer" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  uint uVar3;\n  char *pcVar4;\n  uint in_a1;\n  int *in_a2;\n  int iVar5;\n  char *pcVar6;\n  char *pcVar7;\n  uint uVar8;\n  int iVar9;\n  int iVar10;\n  char acStack_3c [12];\n  char buf [20];\n  \n  puVar1 = PTR___stack_chk_guard_000b2f04;\n  iVar2 = *(int *)PTR___stack_chk_guard_000b2f04;\n  uVar3 = ((uint)buffer % 10) * 6 + in_a1 % 10;\n  uVar8 = ((uint)buffer % 10) * 0x19999999 + in_a1 / 10 + uVar3 / 10;\n  pcVar6 = buf;\n  pcVar7 = (char *)((uint)buffer / 10);\n  do {\n    pcVar6[0x13] = (char)(uVar3 % 10) + '0';\n    if (buffer < (char *)0xa) {\n      iVar5 = 0;\n      if (uVar8 == 0) {\n        pcVar7 = buf + (int)(pcVar6 + (0x13 - (int)buf));\n        iVar9 = 0x14 - (int)(pcVar6 + (0x13 - (int)buf));\n        iVar5 = iVar9;\n        iVar10 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar10 + iVar9) = 0;\n        if (iVar2 == *(int *)puVar1) {\n          return;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *in_a2 = (int)pcVar7;\n        in_a2[1] = iVar5;\n        return;\n      }\n      iVar10 = 0;\n      pcVar4 = (char *)0x0;\n      pcVar7 = (char *)0x0;\n    }\n    else {\n      pcVar4 = (char *)((uint)pcVar7 / 10);\n      iVar10 = ((uint)pcVar7 % 10) * 0x19999999;\n      iVar5 = ((uint)pcVar7 % 10) * 6;\n    }\n    pcVar6 = pcVar6 + -1;\n    uVar3 = uVar8 % 10 + iVar5;\n    uVar8 = uVar8 / 10 + iVar10 + uVar3 / 10;\n    buffer = pcVar7;\n    pcVar7 = pcVar4;\n  } while (acStack_3c != pcVar6);\n  (*(code *)PTR___assert_fail_000b2d2c)\n            (PTR_s_acket_from_server___s_000b23a8 + -0x13b8,\n             PTR_s_acket_from_server___s_000b23a8 + -0x13c0,0x29,\n             PTR_s_acket_from_server___s_000b23a8 + -0x13a0);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "uint in_a1;" type_identifier identifier ;) (declaration "int *in_a2;" primitive_type (pointer_declarator "*in_a2" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "char acStack_3c [12];" primitive_type (array_declarator "acStack_3c [12]" identifier [ number_literal ]) ;) (declaration "char buf [20];" primitive_type (array_declarator "buf [20]" identifier [ number_literal ]) ;) (expression_statement "puVar1 = PTR___stack_chk_guard_000b2f04;" (assignment_expression "puVar1 = PTR___stack_chk_guard_000b2f04" identifier = identifier) ;) (expression_statement "iVar2 = *(int *)PTR___stack_chk_guard_000b2f04;" (assignment_expression "iVar2 = *(int *)PTR___stack_chk_guard_000b2f04" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000b2f04" * (cast_expression "(int *)PTR___stack_chk_guard_000b2f04" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar3 = ((uint)buffer % 10) * 6 + in_a1 % 10;" (assignment_expression "uVar3 = ((uint)buffer % 10) * 6 + in_a1 % 10" identifier = (binary_expression "((uint)buffer % 10) * 6 + in_a1 % 10" (binary_expression "((uint)buffer % 10) * 6" (parenthesized_expression "((uint)buffer % 10)" ( (binary_expression "(uint)buffer % 10" (cast_expression "(uint)buffer" ( (type_descriptor "uint" type_identifier) ) identifier) % number_literal) )) * number_literal) + (binary_expression "in_a1 % 10" identifier % number_literal))) ;) (expression_statement "uVar8 = ((uint)buffer % 10) * 0x19999999 + in_a1 / 10 + uVar3 / 10;" (assignment_expression "uVar8 = ((uint)buffer % 10) * 0x19999999 + in_a1 / 10 + uVar3 / 10" identifier = (binary_expression "((uint)buffer % 10) * 0x19999999 + in_a1 / 10 + uVar3 / 10" (binary_expression "((uint)buffer % 10) * 0x19999999 + in_a1 / 10" (binary_expression "((uint)buffer % 10) * 0x19999999" (parenthesized_expression "((uint)buffer % 10)" ( (binary_expression "(uint)buffer % 10" (cast_expression "(uint)buffer" ( (type_descriptor "uint" type_identifier) ) identifier) % number_literal) )) * number_literal) + (binary_expression "in_a1 / 10" identifier / number_literal)) + (binary_expression "uVar3 / 10" identifier / number_literal))) ;) (expression_statement "pcVar6 = buf;" (assignment_expression "pcVar6 = buf" identifier = identifier) ;) (expression_statement "pcVar7 = (char *)((uint)buffer / 10);" (assignment_expression "pcVar7 = (char *)((uint)buffer / 10)" identifier = (cast_expression "(char *)((uint)buffer / 10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)buffer / 10)" ( (binary_expression "(uint)buffer / 10" (cast_expression "(uint)buffer" ( (type_descriptor "uint" type_identifier) ) identifier) / number_literal) )))) ;) (do_statement "do {\n    pcVar6[0x13] = (char)(uVar3 % 10) + '0';\n    if (buffer < (char *)0xa) {\n      iVar5 = 0;\n      if (uVar8 == 0) {\n        pcVar7 = buf + (int)(pcVar6 + (0x13 - (int)buf));\n        iVar9 = 0x14 - (int)(pcVar6 + (0x13 - (int)buf));\n        iVar5 = iVar9;\n        iVar10 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar10 + iVar9) = 0;\n        if (iVar2 == *(int *)puVar1) {\n          return;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *in_a2 = (int)pcVar7;\n        in_a2[1] = iVar5;\n        return;\n      }\n      iVar10 = 0;\n      pcVar4 = (char *)0x0;\n      pcVar7 = (char *)0x0;\n    }\n    else {\n      pcVar4 = (char *)((uint)pcVar7 / 10);\n      iVar10 = ((uint)pcVar7 % 10) * 0x19999999;\n      iVar5 = ((uint)pcVar7 % 10) * 6;\n    }\n    pcVar6 = pcVar6 + -1;\n    uVar3 = uVar8 % 10 + iVar5;\n    uVar8 = uVar8 / 10 + iVar10 + uVar3 / 10;\n    buffer = pcVar7;\n    pcVar7 = pcVar4;\n  } while (acStack_3c != pcVar6);" do (compound_statement "{\n    pcVar6[0x13] = (char)(uVar3 % 10) + '0';\n    if (buffer < (char *)0xa) {\n      iVar5 = 0;\n      if (uVar8 == 0) {\n        pcVar7 = buf + (int)(pcVar6 + (0x13 - (int)buf));\n        iVar9 = 0x14 - (int)(pcVar6 + (0x13 - (int)buf));\n        iVar5 = iVar9;\n        iVar10 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar10 + iVar9) = 0;\n        if (iVar2 == *(int *)puVar1) {\n          return;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *in_a2 = (int)pcVar7;\n        in_a2[1] = iVar5;\n        return;\n      }\n      iVar10 = 0;\n      pcVar4 = (char *)0x0;\n      pcVar7 = (char *)0x0;\n    }\n    else {\n      pcVar4 = (char *)((uint)pcVar7 / 10);\n      iVar10 = ((uint)pcVar7 % 10) * 0x19999999;\n      iVar5 = ((uint)pcVar7 % 10) * 6;\n    }\n    pcVar6 = pcVar6 + -1;\n    uVar3 = uVar8 % 10 + iVar5;\n    uVar8 = uVar8 / 10 + iVar10 + uVar3 / 10;\n    buffer = pcVar7;\n    pcVar7 = pcVar4;\n  }" { (expression_statement "pcVar6[0x13] = (char)(uVar3 % 10) + '0';" (assignment_expression "pcVar6[0x13] = (char)(uVar3 % 10) + '0'" (subscript_expression "pcVar6[0x13]" identifier [ number_literal ]) = (binary_expression "(char)(uVar3 % 10) + '0'" (cast_expression "(char)(uVar3 % 10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar3 % 10)" ( (binary_expression "uVar3 % 10" identifier % number_literal) ))) + (char_literal "'0'" ' character '))) ;) (if_statement "if (buffer < (char *)0xa) {\n      iVar5 = 0;\n      if (uVar8 == 0) {\n        pcVar7 = buf + (int)(pcVar6 + (0x13 - (int)buf));\n        iVar9 = 0x14 - (int)(pcVar6 + (0x13 - (int)buf));\n        iVar5 = iVar9;\n        iVar10 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar10 + iVar9) = 0;\n        if (iVar2 == *(int *)puVar1) {\n          return;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *in_a2 = (int)pcVar7;\n        in_a2[1] = iVar5;\n        return;\n      }\n      iVar10 = 0;\n      pcVar4 = (char *)0x0;\n      pcVar7 = (char *)0x0;\n    }\n    else {\n      pcVar4 = (char *)((uint)pcVar7 / 10);\n      iVar10 = ((uint)pcVar7 % 10) * 0x19999999;\n      iVar5 = ((uint)pcVar7 % 10) * 6;\n    }" if (parenthesized_expression "(buffer < (char *)0xa)" ( (binary_expression "buffer < (char *)0xa" identifier < (cast_expression "(char *)0xa" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar5 = 0;\n      if (uVar8 == 0) {\n        pcVar7 = buf + (int)(pcVar6 + (0x13 - (int)buf));\n        iVar9 = 0x14 - (int)(pcVar6 + (0x13 - (int)buf));\n        iVar5 = iVar9;\n        iVar10 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar10 + iVar9) = 0;\n        if (iVar2 == *(int *)puVar1) {\n          return;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *in_a2 = (int)pcVar7;\n        in_a2[1] = iVar5;\n        return;\n      }\n      iVar10 = 0;\n      pcVar4 = (char *)0x0;\n      pcVar7 = (char *)0x0;\n    }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (if_statement "if (uVar8 == 0) {\n        pcVar7 = buf + (int)(pcVar6 + (0x13 - (int)buf));\n        iVar9 = 0x14 - (int)(pcVar6 + (0x13 - (int)buf));\n        iVar5 = iVar9;\n        iVar10 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar10 + iVar9) = 0;\n        if (iVar2 == *(int *)puVar1) {\n          return;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *in_a2 = (int)pcVar7;\n        in_a2[1] = iVar5;\n        return;\n      }" if (parenthesized_expression "(uVar8 == 0)" ( (binary_expression "uVar8 == 0" identifier == number_literal) )) (compound_statement "{\n        pcVar7 = buf + (int)(pcVar6 + (0x13 - (int)buf));\n        iVar9 = 0x14 - (int)(pcVar6 + (0x13 - (int)buf));\n        iVar5 = iVar9;\n        iVar10 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar10 + iVar9) = 0;\n        if (iVar2 == *(int *)puVar1) {\n          return;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *in_a2 = (int)pcVar7;\n        in_a2[1] = iVar5;\n        return;\n      }" { (expression_statement "pcVar7 = buf + (int)(pcVar6 + (0x13 - (int)buf));" (assignment_expression "pcVar7 = buf + (int)(pcVar6 + (0x13 - (int)buf))" identifier = (binary_expression "buf + (int)(pcVar6 + (0x13 - (int)buf))" identifier + (cast_expression "(int)(pcVar6 + (0x13 - (int)buf))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pcVar6 + (0x13 - (int)buf))" ( (binary_expression "pcVar6 + (0x13 - (int)buf)" identifier + (parenthesized_expression "(0x13 - (int)buf)" ( (binary_expression "0x13 - (int)buf" number_literal - (cast_expression "(int)buf" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))))) ;) (expression_statement "iVar9 = 0x14 - (int)(pcVar6 + (0x13 - (int)buf));" (assignment_expression "iVar9 = 0x14 - (int)(pcVar6 + (0x13 - (int)buf))" identifier = (binary_expression "0x14 - (int)(pcVar6 + (0x13 - (int)buf))" number_literal - (cast_expression "(int)(pcVar6 + (0x13 - (int)buf))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pcVar6 + (0x13 - (int)buf))" ( (binary_expression "pcVar6 + (0x13 - (int)buf)" identifier + (parenthesized_expression "(0x13 - (int)buf)" ( (binary_expression "0x13 - (int)buf" number_literal - (cast_expression "(int)buf" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))))) ;) (expression_statement "iVar5 = iVar9;" (assignment_expression "iVar5 = iVar9" identifier = identifier) ;) (expression_statement "iVar10 = (*(code *)PTR_memcpy_000b2f08)();" (assignment_expression "iVar10 = (*(code *)PTR_memcpy_000b2f08)()" identifier = (call_expression "(*(code *)PTR_memcpy_000b2f08)()" (parenthesized_expression "(*(code *)PTR_memcpy_000b2f08)" ( (pointer_expression "*(code *)PTR_memcpy_000b2f08" * (cast_expression "(code *)PTR_memcpy_000b2f08" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "*(undefined1 *)(iVar10 + iVar9) = 0;" (assignment_expression "*(undefined1 *)(iVar10 + iVar9) = 0" (pointer_expression "*(undefined1 *)(iVar10 + iVar9)" * (cast_expression "(undefined1 *)(iVar10 + iVar9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + iVar9)" ( (binary_expression "iVar10 + iVar9" identifier + identifier) )))) = number_literal) ;) (if_statement "if (iVar2 == *(int *)puVar1) {\n          return;\n        }" if (parenthesized_expression "(iVar2 == *(int *)puVar1)" ( (binary_expression "iVar2 == *(int *)puVar1" identifier == (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR___stack_chk_fail_000b2ed8)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b2ed8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b2ed8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000b2ed8" * (cast_expression "(code *)PTR___stack_chk_fail_000b2ed8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "*in_a2 = (int)pcVar7;" (assignment_expression "*in_a2 = (int)pcVar7" (pointer_expression "*in_a2" * identifier) = (cast_expression "(int)pcVar7" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "in_a2[1] = iVar5;" (assignment_expression "in_a2[1] = iVar5" (subscript_expression "in_a2[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "pcVar4 = (char *)0x0;" (assignment_expression "pcVar4 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar7 = (char *)0x0;" (assignment_expression "pcVar7 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      pcVar4 = (char *)((uint)pcVar7 / 10);\n      iVar10 = ((uint)pcVar7 % 10) * 0x19999999;\n      iVar5 = ((uint)pcVar7 % 10) * 6;\n    }" else (compound_statement "{\n      pcVar4 = (char *)((uint)pcVar7 / 10);\n      iVar10 = ((uint)pcVar7 % 10) * 0x19999999;\n      iVar5 = ((uint)pcVar7 % 10) * 6;\n    }" { (expression_statement "pcVar4 = (char *)((uint)pcVar7 / 10);" (assignment_expression "pcVar4 = (char *)((uint)pcVar7 / 10)" identifier = (cast_expression "(char *)((uint)pcVar7 / 10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)pcVar7 / 10)" ( (binary_expression "(uint)pcVar7 / 10" (cast_expression "(uint)pcVar7" ( (type_descriptor "uint" type_identifier) ) identifier) / number_literal) )))) ;) (expression_statement "iVar10 = ((uint)pcVar7 % 10) * 0x19999999;" (assignment_expression "iVar10 = ((uint)pcVar7 % 10) * 0x19999999" identifier = (binary_expression "((uint)pcVar7 % 10) * 0x19999999" (parenthesized_expression "((uint)pcVar7 % 10)" ( (binary_expression "(uint)pcVar7 % 10" (cast_expression "(uint)pcVar7" ( (type_descriptor "uint" type_identifier) ) identifier) % number_literal) )) * number_literal)) ;) (expression_statement "iVar5 = ((uint)pcVar7 % 10) * 6;" (assignment_expression "iVar5 = ((uint)pcVar7 % 10) * 6" identifier = (binary_expression "((uint)pcVar7 % 10) * 6" (parenthesized_expression "((uint)pcVar7 % 10)" ( (binary_expression "(uint)pcVar7 % 10" (cast_expression "(uint)pcVar7" ( (type_descriptor "uint" type_identifier) ) identifier) % number_literal) )) * number_literal)) ;) }))) (expression_statement "pcVar6 = pcVar6 + -1;" (assignment_expression "pcVar6 = pcVar6 + -1" identifier = (binary_expression "pcVar6 + -1" identifier + number_literal)) ;) (expression_statement "uVar3 = uVar8 % 10 + iVar5;" (assignment_expression "uVar3 = uVar8 % 10 + iVar5" identifier = (binary_expression "uVar8 % 10 + iVar5" (binary_expression "uVar8 % 10" identifier % number_literal) + identifier)) ;) (expression_statement "uVar8 = uVar8 / 10 + iVar10 + uVar3 / 10;" (assignment_expression "uVar8 = uVar8 / 10 + iVar10 + uVar3 / 10" identifier = (binary_expression "uVar8 / 10 + iVar10 + uVar3 / 10" (binary_expression "uVar8 / 10 + iVar10" (binary_expression "uVar8 / 10" identifier / number_literal) + identifier) + (binary_expression "uVar3 / 10" identifier / number_literal))) ;) (expression_statement "buffer = pcVar7;" (assignment_expression "buffer = pcVar7" identifier = identifier) ;) (expression_statement "pcVar7 = pcVar4;" (assignment_expression "pcVar7 = pcVar4" identifier = identifier) ;) }) while (parenthesized_expression "(acStack_3c != pcVar6)" ( (binary_expression "acStack_3c != pcVar6" identifier != identifier) )) ;) (expression_statement "(*(code *)PTR___assert_fail_000b2d2c)\n            (PTR_s_acket_from_server___s_000b23a8 + -0x13b8,\n             PTR_s_acket_from_server___s_000b23a8 + -0x13c0,0x29,\n             PTR_s_acket_from_server___s_000b23a8 + -0x13a0);" (call_expression "(*(code *)PTR___assert_fail_000b2d2c)\n            (PTR_s_acket_from_server___s_000b23a8 + -0x13b8,\n             PTR_s_acket_from_server___s_000b23a8 + -0x13c0,0x29,\n             PTR_s_acket_from_server___s_000b23a8 + -0x13a0)" (parenthesized_expression "(*(code *)PTR___assert_fail_000b2d2c)" ( (pointer_expression "*(code *)PTR___assert_fail_000b2d2c" * (cast_expression "(code *)PTR___assert_fail_000b2d2c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_acket_from_server___s_000b23a8 + -0x13b8,\n             PTR_s_acket_from_server___s_000b23a8 + -0x13c0,0x29,\n             PTR_s_acket_from_server___s_000b23a8 + -0x13a0)" ( (binary_expression "PTR_s_acket_from_server___s_000b23a8 + -0x13b8" identifier + number_literal) , (binary_expression "PTR_s_acket_from_server___s_000b23a8 + -0x13c0" identifier + number_literal) , number_literal , (binary_expression "PTR_s_acket_from_server___s_000b23a8 + -0x13a0" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "int * uint64_decimal(uint param_1,uint param_2,int *param_3)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int *piVar3;\n  uint uVar4;\n  char *pcVar5;\n  int iVar6;\n  char *pcVar7;\n  uint uVar8;\n  uint uVar9;\n  int iVar10;\n  int iVar11;\n  char acStack_3c [12];\n  char acStack_28 [20];\n  int *local_14;\n  \n  puVar1 = PTR___stack_chk_guard_000b2f04;\n  local_14 = *(int **)PTR___stack_chk_guard_000b2f04;\n  uVar2 = (param_1 % 10) * 6 + param_2 % 10;\n  uVar9 = (param_1 % 10) * 0x19999999 + param_2 / 10 + uVar2 / 10;\n  pcVar7 = acStack_28;\n  uVar8 = param_1 / 10;\n  do {\n    pcVar7[0x13] = (char)(uVar2 % 10) + '0';\n    if (param_1 < 10) {\n      iVar6 = 0;\n      if (uVar9 == 0) {\n        pcVar5 = acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar10 = 0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar6 = iVar10;\n        iVar11 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar11 + iVar10) = 0;\n        if (local_14 == *(int **)puVar1) {\n          return *(int **)puVar1;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *param_3 = (int)pcVar5;\n        param_3[1] = iVar6;\n        return param_3;\n      }\n      iVar11 = 0;\n      uVar4 = 0;\n      uVar8 = 0;\n    }\n    else {\n      uVar4 = uVar8 / 10;\n      iVar11 = (uVar8 % 10) * 0x19999999;\n      iVar6 = (uVar8 % 10) * 6;\n    }\n    pcVar7 = pcVar7 + -1;\n    uVar2 = uVar9 % 10 + iVar6;\n    uVar9 = uVar9 / 10 + iVar11 + uVar2 / 10;\n    param_1 = uVar8;\n    uVar8 = uVar4;\n  } while (acStack_3c != pcVar7);\n  piVar3 = (int *)(*(code *)PTR___assert_fail_000b2d2c)\n                            (PTR_s_acket_from_server___s_000b23a8 + -0x13b8,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13c0,0x29,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13a0);\n  return piVar3;\n}\n\n" (function_definition "int * uint64_decimal(uint param_1,uint param_2,int *param_3)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int *piVar3;\n  uint uVar4;\n  char *pcVar5;\n  int iVar6;\n  char *pcVar7;\n  uint uVar8;\n  uint uVar9;\n  int iVar10;\n  int iVar11;\n  char acStack_3c [12];\n  char acStack_28 [20];\n  int *local_14;\n  \n  puVar1 = PTR___stack_chk_guard_000b2f04;\n  local_14 = *(int **)PTR___stack_chk_guard_000b2f04;\n  uVar2 = (param_1 % 10) * 6 + param_2 % 10;\n  uVar9 = (param_1 % 10) * 0x19999999 + param_2 / 10 + uVar2 / 10;\n  pcVar7 = acStack_28;\n  uVar8 = param_1 / 10;\n  do {\n    pcVar7[0x13] = (char)(uVar2 % 10) + '0';\n    if (param_1 < 10) {\n      iVar6 = 0;\n      if (uVar9 == 0) {\n        pcVar5 = acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar10 = 0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar6 = iVar10;\n        iVar11 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar11 + iVar10) = 0;\n        if (local_14 == *(int **)puVar1) {\n          return *(int **)puVar1;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *param_3 = (int)pcVar5;\n        param_3[1] = iVar6;\n        return param_3;\n      }\n      iVar11 = 0;\n      uVar4 = 0;\n      uVar8 = 0;\n    }\n    else {\n      uVar4 = uVar8 / 10;\n      iVar11 = (uVar8 % 10) * 0x19999999;\n      iVar6 = (uVar8 % 10) * 6;\n    }\n    pcVar7 = pcVar7 + -1;\n    uVar2 = uVar9 % 10 + iVar6;\n    uVar9 = uVar9 / 10 + iVar11 + uVar2 / 10;\n    param_1 = uVar8;\n    uVar8 = uVar4;\n  } while (acStack_3c != pcVar7);\n  piVar3 = (int *)(*(code *)PTR___assert_fail_000b2d2c)\n                            (PTR_s_acket_from_server___s_000b23a8 + -0x13b8,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13c0,0x29,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13a0);\n  return piVar3;\n}" primitive_type (pointer_declarator "* uint64_decimal(uint param_1,uint param_2,int *param_3)" * (function_declarator "uint64_decimal(uint param_1,uint param_2,int *param_3)" identifier (parameter_list "(uint param_1,uint param_2,int *param_3)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  int *piVar3;\n  uint uVar4;\n  char *pcVar5;\n  int iVar6;\n  char *pcVar7;\n  uint uVar8;\n  uint uVar9;\n  int iVar10;\n  int iVar11;\n  char acStack_3c [12];\n  char acStack_28 [20];\n  int *local_14;\n  \n  puVar1 = PTR___stack_chk_guard_000b2f04;\n  local_14 = *(int **)PTR___stack_chk_guard_000b2f04;\n  uVar2 = (param_1 % 10) * 6 + param_2 % 10;\n  uVar9 = (param_1 % 10) * 0x19999999 + param_2 / 10 + uVar2 / 10;\n  pcVar7 = acStack_28;\n  uVar8 = param_1 / 10;\n  do {\n    pcVar7[0x13] = (char)(uVar2 % 10) + '0';\n    if (param_1 < 10) {\n      iVar6 = 0;\n      if (uVar9 == 0) {\n        pcVar5 = acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar10 = 0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar6 = iVar10;\n        iVar11 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar11 + iVar10) = 0;\n        if (local_14 == *(int **)puVar1) {\n          return *(int **)puVar1;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *param_3 = (int)pcVar5;\n        param_3[1] = iVar6;\n        return param_3;\n      }\n      iVar11 = 0;\n      uVar4 = 0;\n      uVar8 = 0;\n    }\n    else {\n      uVar4 = uVar8 / 10;\n      iVar11 = (uVar8 % 10) * 0x19999999;\n      iVar6 = (uVar8 % 10) * 6;\n    }\n    pcVar7 = pcVar7 + -1;\n    uVar2 = uVar9 % 10 + iVar6;\n    uVar9 = uVar9 / 10 + iVar11 + uVar2 / 10;\n    param_1 = uVar8;\n    uVar8 = uVar4;\n  } while (acStack_3c != pcVar7);\n  piVar3 = (int *)(*(code *)PTR___assert_fail_000b2d2c)\n                            (PTR_s_acket_from_server___s_000b23a8 + -0x13b8,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13c0,0x29,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13a0);\n  return piVar3;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "char acStack_3c [12];" primitive_type (array_declarator "acStack_3c [12]" identifier [ number_literal ]) ;) (declaration "char acStack_28 [20];" primitive_type (array_declarator "acStack_28 [20]" identifier [ number_literal ]) ;) (declaration "int *local_14;" primitive_type (pointer_declarator "*local_14" * identifier) ;) (expression_statement "puVar1 = PTR___stack_chk_guard_000b2f04;" (assignment_expression "puVar1 = PTR___stack_chk_guard_000b2f04" identifier = identifier) ;) (expression_statement "local_14 = *(int **)PTR___stack_chk_guard_000b2f04;" (assignment_expression "local_14 = *(int **)PTR___stack_chk_guard_000b2f04" identifier = (pointer_expression "*(int **)PTR___stack_chk_guard_000b2f04" * (cast_expression "(int **)PTR___stack_chk_guard_000b2f04" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "uVar2 = (param_1 % 10) * 6 + param_2 % 10;" (assignment_expression "uVar2 = (param_1 % 10) * 6 + param_2 % 10" identifier = (binary_expression "(param_1 % 10) * 6 + param_2 % 10" (binary_expression "(param_1 % 10) * 6" (parenthesized_expression "(param_1 % 10)" ( (binary_expression "param_1 % 10" identifier % number_literal) )) * number_literal) + (binary_expression "param_2 % 10" identifier % number_literal))) ;) (expression_statement "uVar9 = (param_1 % 10) * 0x19999999 + param_2 / 10 + uVar2 / 10;" (assignment_expression "uVar9 = (param_1 % 10) * 0x19999999 + param_2 / 10 + uVar2 / 10" identifier = (binary_expression "(param_1 % 10) * 0x19999999 + param_2 / 10 + uVar2 / 10" (binary_expression "(param_1 % 10) * 0x19999999 + param_2 / 10" (binary_expression "(param_1 % 10) * 0x19999999" (parenthesized_expression "(param_1 % 10)" ( (binary_expression "param_1 % 10" identifier % number_literal) )) * number_literal) + (binary_expression "param_2 / 10" identifier / number_literal)) + (binary_expression "uVar2 / 10" identifier / number_literal))) ;) (expression_statement "pcVar7 = acStack_28;" (assignment_expression "pcVar7 = acStack_28" identifier = identifier) ;) (expression_statement "uVar8 = param_1 / 10;" (assignment_expression "uVar8 = param_1 / 10" identifier = (binary_expression "param_1 / 10" identifier / number_literal)) ;) (do_statement "do {\n    pcVar7[0x13] = (char)(uVar2 % 10) + '0';\n    if (param_1 < 10) {\n      iVar6 = 0;\n      if (uVar9 == 0) {\n        pcVar5 = acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar10 = 0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar6 = iVar10;\n        iVar11 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar11 + iVar10) = 0;\n        if (local_14 == *(int **)puVar1) {\n          return *(int **)puVar1;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *param_3 = (int)pcVar5;\n        param_3[1] = iVar6;\n        return param_3;\n      }\n      iVar11 = 0;\n      uVar4 = 0;\n      uVar8 = 0;\n    }\n    else {\n      uVar4 = uVar8 / 10;\n      iVar11 = (uVar8 % 10) * 0x19999999;\n      iVar6 = (uVar8 % 10) * 6;\n    }\n    pcVar7 = pcVar7 + -1;\n    uVar2 = uVar9 % 10 + iVar6;\n    uVar9 = uVar9 / 10 + iVar11 + uVar2 / 10;\n    param_1 = uVar8;\n    uVar8 = uVar4;\n  } while (acStack_3c != pcVar7);" do (compound_statement "{\n    pcVar7[0x13] = (char)(uVar2 % 10) + '0';\n    if (param_1 < 10) {\n      iVar6 = 0;\n      if (uVar9 == 0) {\n        pcVar5 = acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar10 = 0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar6 = iVar10;\n        iVar11 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar11 + iVar10) = 0;\n        if (local_14 == *(int **)puVar1) {\n          return *(int **)puVar1;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *param_3 = (int)pcVar5;\n        param_3[1] = iVar6;\n        return param_3;\n      }\n      iVar11 = 0;\n      uVar4 = 0;\n      uVar8 = 0;\n    }\n    else {\n      uVar4 = uVar8 / 10;\n      iVar11 = (uVar8 % 10) * 0x19999999;\n      iVar6 = (uVar8 % 10) * 6;\n    }\n    pcVar7 = pcVar7 + -1;\n    uVar2 = uVar9 % 10 + iVar6;\n    uVar9 = uVar9 / 10 + iVar11 + uVar2 / 10;\n    param_1 = uVar8;\n    uVar8 = uVar4;\n  }" { (expression_statement "pcVar7[0x13] = (char)(uVar2 % 10) + '0';" (assignment_expression "pcVar7[0x13] = (char)(uVar2 % 10) + '0'" (subscript_expression "pcVar7[0x13]" identifier [ number_literal ]) = (binary_expression "(char)(uVar2 % 10) + '0'" (cast_expression "(char)(uVar2 % 10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar2 % 10)" ( (binary_expression "uVar2 % 10" identifier % number_literal) ))) + (char_literal "'0'" ' character '))) ;) (if_statement "if (param_1 < 10) {\n      iVar6 = 0;\n      if (uVar9 == 0) {\n        pcVar5 = acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar10 = 0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar6 = iVar10;\n        iVar11 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar11 + iVar10) = 0;\n        if (local_14 == *(int **)puVar1) {\n          return *(int **)puVar1;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *param_3 = (int)pcVar5;\n        param_3[1] = iVar6;\n        return param_3;\n      }\n      iVar11 = 0;\n      uVar4 = 0;\n      uVar8 = 0;\n    }\n    else {\n      uVar4 = uVar8 / 10;\n      iVar11 = (uVar8 % 10) * 0x19999999;\n      iVar6 = (uVar8 % 10) * 6;\n    }" if (parenthesized_expression "(param_1 < 10)" ( (binary_expression "param_1 < 10" identifier < number_literal) )) (compound_statement "{\n      iVar6 = 0;\n      if (uVar9 == 0) {\n        pcVar5 = acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar10 = 0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar6 = iVar10;\n        iVar11 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar11 + iVar10) = 0;\n        if (local_14 == *(int **)puVar1) {\n          return *(int **)puVar1;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *param_3 = (int)pcVar5;\n        param_3[1] = iVar6;\n        return param_3;\n      }\n      iVar11 = 0;\n      uVar4 = 0;\n      uVar8 = 0;\n    }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (if_statement "if (uVar9 == 0) {\n        pcVar5 = acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar10 = 0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar6 = iVar10;\n        iVar11 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar11 + iVar10) = 0;\n        if (local_14 == *(int **)puVar1) {\n          return *(int **)puVar1;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *param_3 = (int)pcVar5;\n        param_3[1] = iVar6;\n        return param_3;\n      }" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (compound_statement "{\n        pcVar5 = acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar10 = 0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar6 = iVar10;\n        iVar11 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar11 + iVar10) = 0;\n        if (local_14 == *(int **)puVar1) {\n          return *(int **)puVar1;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *param_3 = (int)pcVar5;\n        param_3[1] = iVar6;\n        return param_3;\n      }" { (expression_statement "pcVar5 = acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28));" (assignment_expression "pcVar5 = acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28))" identifier = (binary_expression "acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28))" identifier + (cast_expression "(int)(pcVar7 + (0x13 - (int)acStack_28))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pcVar7 + (0x13 - (int)acStack_28))" ( (binary_expression "pcVar7 + (0x13 - (int)acStack_28)" identifier + (parenthesized_expression "(0x13 - (int)acStack_28)" ( (binary_expression "0x13 - (int)acStack_28" number_literal - (cast_expression "(int)acStack_28" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))))) ;) (expression_statement "iVar10 = 0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28));" (assignment_expression "iVar10 = 0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28))" identifier = (binary_expression "0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28))" number_literal - (cast_expression "(int)(pcVar7 + (0x13 - (int)acStack_28))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pcVar7 + (0x13 - (int)acStack_28))" ( (binary_expression "pcVar7 + (0x13 - (int)acStack_28)" identifier + (parenthesized_expression "(0x13 - (int)acStack_28)" ( (binary_expression "0x13 - (int)acStack_28" number_literal - (cast_expression "(int)acStack_28" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))))) ;) (expression_statement "iVar6 = iVar10;" (assignment_expression "iVar6 = iVar10" identifier = identifier) ;) (expression_statement "iVar11 = (*(code *)PTR_memcpy_000b2f08)();" (assignment_expression "iVar11 = (*(code *)PTR_memcpy_000b2f08)()" identifier = (call_expression "(*(code *)PTR_memcpy_000b2f08)()" (parenthesized_expression "(*(code *)PTR_memcpy_000b2f08)" ( (pointer_expression "*(code *)PTR_memcpy_000b2f08" * (cast_expression "(code *)PTR_memcpy_000b2f08" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "*(undefined1 *)(iVar11 + iVar10) = 0;" (assignment_expression "*(undefined1 *)(iVar11 + iVar10) = 0" (pointer_expression "*(undefined1 *)(iVar11 + iVar10)" * (cast_expression "(undefined1 *)(iVar11 + iVar10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + iVar10)" ( (binary_expression "iVar11 + iVar10" identifier + identifier) )))) = number_literal) ;) (if_statement "if (local_14 == *(int **)puVar1) {\n          return *(int **)puVar1;\n        }" if (parenthesized_expression "(local_14 == *(int **)puVar1)" ( (binary_expression "local_14 == *(int **)puVar1" identifier == (pointer_expression "*(int **)puVar1" * (cast_expression "(int **)puVar1" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n          return *(int **)puVar1;\n        }" { (return_statement "return *(int **)puVar1;" return (pointer_expression "*(int **)puVar1" * (cast_expression "(int **)puVar1" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ;) })) (expression_statement "(*(code *)PTR___stack_chk_fail_000b2ed8)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b2ed8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b2ed8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000b2ed8" * (cast_expression "(code *)PTR___stack_chk_fail_000b2ed8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "*param_3 = (int)pcVar5;" (assignment_expression "*param_3 = (int)pcVar5" (pointer_expression "*param_3" * identifier) = (cast_expression "(int)pcVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_3[1] = iVar6;" (assignment_expression "param_3[1] = iVar6" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return param_3;" return identifier ;) })) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      uVar4 = uVar8 / 10;\n      iVar11 = (uVar8 % 10) * 0x19999999;\n      iVar6 = (uVar8 % 10) * 6;\n    }" else (compound_statement "{\n      uVar4 = uVar8 / 10;\n      iVar11 = (uVar8 % 10) * 0x19999999;\n      iVar6 = (uVar8 % 10) * 6;\n    }" { (expression_statement "uVar4 = uVar8 / 10;" (assignment_expression "uVar4 = uVar8 / 10" identifier = (binary_expression "uVar8 / 10" identifier / number_literal)) ;) (expression_statement "iVar11 = (uVar8 % 10) * 0x19999999;" (assignment_expression "iVar11 = (uVar8 % 10) * 0x19999999" identifier = (binary_expression "(uVar8 % 10) * 0x19999999" (parenthesized_expression "(uVar8 % 10)" ( (binary_expression "uVar8 % 10" identifier % number_literal) )) * number_literal)) ;) (expression_statement "iVar6 = (uVar8 % 10) * 6;" (assignment_expression "iVar6 = (uVar8 % 10) * 6" identifier = (binary_expression "(uVar8 % 10) * 6" (parenthesized_expression "(uVar8 % 10)" ( (binary_expression "uVar8 % 10" identifier % number_literal) )) * number_literal)) ;) }))) (expression_statement "pcVar7 = pcVar7 + -1;" (assignment_expression "pcVar7 = pcVar7 + -1" identifier = (binary_expression "pcVar7 + -1" identifier + number_literal)) ;) (expression_statement "uVar2 = uVar9 % 10 + iVar6;" (assignment_expression "uVar2 = uVar9 % 10 + iVar6" identifier = (binary_expression "uVar9 % 10 + iVar6" (binary_expression "uVar9 % 10" identifier % number_literal) + identifier)) ;) (expression_statement "uVar9 = uVar9 / 10 + iVar11 + uVar2 / 10;" (assignment_expression "uVar9 = uVar9 / 10 + iVar11 + uVar2 / 10" identifier = (binary_expression "uVar9 / 10 + iVar11 + uVar2 / 10" (binary_expression "uVar9 / 10 + iVar11" (binary_expression "uVar9 / 10" identifier / number_literal) + identifier) + (binary_expression "uVar2 / 10" identifier / number_literal))) ;) (expression_statement "param_1 = uVar8;" (assignment_expression "param_1 = uVar8" identifier = identifier) ;) (expression_statement "uVar8 = uVar4;" (assignment_expression "uVar8 = uVar4" identifier = identifier) ;) }) while (parenthesized_expression "(acStack_3c != pcVar7)" ( (binary_expression "acStack_3c != pcVar7" identifier != identifier) )) ;) (expression_statement "piVar3 = (int *)(*(code *)PTR___assert_fail_000b2d2c)\n                            (PTR_s_acket_from_server___s_000b23a8 + -0x13b8,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13c0,0x29,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13a0);" (assignment_expression "piVar3 = (int *)(*(code *)PTR___assert_fail_000b2d2c)\n                            (PTR_s_acket_from_server___s_000b23a8 + -0x13b8,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13c0,0x29,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13a0)" identifier = (cast_expression "(int *)(*(code *)PTR___assert_fail_000b2d2c)\n                            (PTR_s_acket_from_server___s_000b23a8 + -0x13b8,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13c0,0x29,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13a0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___assert_fail_000b2d2c)\n                            (PTR_s_acket_from_server___s_000b23a8 + -0x13b8,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13c0,0x29,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13a0)" (parenthesized_expression "(*(code *)PTR___assert_fail_000b2d2c)" ( (pointer_expression "*(code *)PTR___assert_fail_000b2d2c" * (cast_expression "(code *)PTR___assert_fail_000b2d2c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_acket_from_server___s_000b23a8 + -0x13b8,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13c0,0x29,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13a0)" ( (binary_expression "PTR_s_acket_from_server___s_000b23a8 + -0x13b8" identifier + number_literal) , (binary_expression "PTR_s_acket_from_server___s_000b23a8 + -0x13c0" identifier + number_literal) , number_literal , (binary_expression "PTR_s_acket_from_server___s_000b23a8 + -0x13a0" identifier + number_literal) ))))) ;) (return_statement "return piVar3;" 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 (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT % LIT) )) * LIT) + (binary_expression IDENT % LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT % LIT) )) * LIT) + (binary_expression IDENT / LIT)) + (binary_expression IDENT / LIT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT / LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT % LIT) ))) + (char_literal ' character '))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + (parenthesized_expression ( (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + (parenthesized_expression ( (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT / LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT % LIT) )) * LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT % LIT) )) * LIT)) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT % LIT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression IDENT / LIT) + IDENT) + (binary_expression IDENT / LIT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))))) ;) (return_statement return IDENT ;) })))
(function_definition "int * uint64_decimal(uint param_1,uint param_2,int *param_3)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int *piVar3;\n  uint uVar4;\n  char *pcVar5;\n  int iVar6;\n  char *pcVar7;\n  uint uVar8;\n  uint uVar9;\n  int iVar10;\n  int iVar11;\n  char acStack_3c [12];\n  char acStack_28 [20];\n  int *local_14;\n  \n  puVar1 = PTR___stack_chk_guard_000b2f04;\n  local_14 = *(int **)PTR___stack_chk_guard_000b2f04;\n  uVar2 = (param_1 % 10) * 6 + param_2 % 10;\n  uVar9 = (param_1 % 10) * 0x19999999 + param_2 / 10 + uVar2 / 10;\n  pcVar7 = acStack_28;\n  uVar8 = param_1 / 10;\n  do {\n    pcVar7[0x13] = (char)(uVar2 % 10) + '0';\n    if (param_1 < 10) {\n      iVar6 = 0;\n      if (uVar9 == 0) {\n        pcVar5 = acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar10 = 0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar6 = iVar10;\n        iVar11 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar11 + iVar10) = 0;\n        if (local_14 == *(int **)puVar1) {\n          return *(int **)puVar1;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *param_3 = (int)pcVar5;\n        param_3[1] = iVar6;\n        return param_3;\n      }\n      iVar11 = 0;\n      uVar4 = 0;\n      uVar8 = 0;\n    }\n    else {\n      uVar4 = uVar8 / 10;\n      iVar11 = (uVar8 % 10) * 0x19999999;\n      iVar6 = (uVar8 % 10) * 6;\n    }\n    pcVar7 = pcVar7 + -1;\n    uVar2 = uVar9 % 10 + iVar6;\n    uVar9 = uVar9 / 10 + iVar11 + uVar2 / 10;\n    param_1 = uVar8;\n    uVar8 = uVar4;\n  } while (acStack_3c != pcVar7);\n  piVar3 = (int *)(*(code *)PTR___assert_fail_000b2d2c)\n                            (PTR_s_acket_from_server___s_000b23a8 + -0x13b8,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13c0,0x29,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13a0);\n  return piVar3;\n}" (primitive_type "int") (pointer_declarator "* uint64_decimal(uint param_1,uint param_2,int *param_3)" (* "*") (function_declarator "uint64_decimal(uint param_1,uint param_2,int *param_3)" (identifier "uint64_decimal") (parameter_list "(uint param_1,uint param_2,int *param_3)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")")))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  int *piVar3;\n  uint uVar4;\n  char *pcVar5;\n  int iVar6;\n  char *pcVar7;\n  uint uVar8;\n  uint uVar9;\n  int iVar10;\n  int iVar11;\n  char acStack_3c [12];\n  char acStack_28 [20];\n  int *local_14;\n  \n  puVar1 = PTR___stack_chk_guard_000b2f04;\n  local_14 = *(int **)PTR___stack_chk_guard_000b2f04;\n  uVar2 = (param_1 % 10) * 6 + param_2 % 10;\n  uVar9 = (param_1 % 10) * 0x19999999 + param_2 / 10 + uVar2 / 10;\n  pcVar7 = acStack_28;\n  uVar8 = param_1 / 10;\n  do {\n    pcVar7[0x13] = (char)(uVar2 % 10) + '0';\n    if (param_1 < 10) {\n      iVar6 = 0;\n      if (uVar9 == 0) {\n        pcVar5 = acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar10 = 0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar6 = iVar10;\n        iVar11 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar11 + iVar10) = 0;\n        if (local_14 == *(int **)puVar1) {\n          return *(int **)puVar1;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *param_3 = (int)pcVar5;\n        param_3[1] = iVar6;\n        return param_3;\n      }\n      iVar11 = 0;\n      uVar4 = 0;\n      uVar8 = 0;\n    }\n    else {\n      uVar4 = uVar8 / 10;\n      iVar11 = (uVar8 % 10) * 0x19999999;\n      iVar6 = (uVar8 % 10) * 6;\n    }\n    pcVar7 = pcVar7 + -1;\n    uVar2 = uVar9 % 10 + iVar6;\n    uVar9 = uVar9 / 10 + iVar11 + uVar2 / 10;\n    param_1 = uVar8;\n    uVar8 = uVar4;\n  } while (acStack_3c != pcVar7);\n  piVar3 = (int *)(*(code *)PTR___assert_fail_000b2d2c)\n                            (PTR_s_acket_from_server___s_000b23a8 + -0x13b8,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13c0,0x29,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13a0);\n  return piVar3;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "char *pcVar5;" (primitive_type "char") (pointer_declarator "*pcVar5" (* "*") (identifier "pcVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "char *pcVar7;" (primitive_type "char") (pointer_declarator "*pcVar7" (* "*") (identifier "pcVar7")) (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "char acStack_3c [12];" (primitive_type "char") (array_declarator "acStack_3c [12]" (identifier "acStack_3c") ([ "[") (number_literal "12") (] "]")) (; ";")) (declaration "char acStack_28 [20];" (primitive_type "char") (array_declarator "acStack_28 [20]" (identifier "acStack_28") ([ "[") (number_literal "20") (] "]")) (; ";")) (declaration "int *local_14;" (primitive_type "int") (pointer_declarator "*local_14" (* "*") (identifier "local_14")) (; ";")) (expression_statement "puVar1 = PTR___stack_chk_guard_000b2f04;" (assignment_expression "puVar1 = PTR___stack_chk_guard_000b2f04" (identifier "puVar1") (= "=") (identifier "PTR___stack_chk_guard_000b2f04")) (; ";")) (expression_statement "local_14 = *(int **)PTR___stack_chk_guard_000b2f04;" (assignment_expression "local_14 = *(int **)PTR___stack_chk_guard_000b2f04" (identifier "local_14") (= "=") (pointer_expression "*(int **)PTR___stack_chk_guard_000b2f04" (* "*") (cast_expression "(int **)PTR___stack_chk_guard_000b2f04" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR___stack_chk_guard_000b2f04")))) (; ";")) (expression_statement "uVar2 = (param_1 % 10) * 6 + param_2 % 10;" (assignment_expression "uVar2 = (param_1 % 10) * 6 + param_2 % 10" (identifier "uVar2") (= "=") (binary_expression "(param_1 % 10) * 6 + param_2 % 10" (binary_expression "(param_1 % 10) * 6" (parenthesized_expression "(param_1 % 10)" (( "(") (binary_expression "param_1 % 10" (identifier "param_1") (% "%") (number_literal "10")) () ")")) (* "*") (number_literal "6")) (+ "+") (binary_expression "param_2 % 10" (identifier "param_2") (% "%") (number_literal "10")))) (; ";")) (expression_statement "uVar9 = (param_1 % 10) * 0x19999999 + param_2 / 10 + uVar2 / 10;" (assignment_expression "uVar9 = (param_1 % 10) * 0x19999999 + param_2 / 10 + uVar2 / 10" (identifier "uVar9") (= "=") (binary_expression "(param_1 % 10) * 0x19999999 + param_2 / 10 + uVar2 / 10" (binary_expression "(param_1 % 10) * 0x19999999 + param_2 / 10" (binary_expression "(param_1 % 10) * 0x19999999" (parenthesized_expression "(param_1 % 10)" (( "(") (binary_expression "param_1 % 10" (identifier "param_1") (% "%") (number_literal "10")) () ")")) (* "*") (number_literal "0x19999999")) (+ "+") (binary_expression "param_2 / 10" (identifier "param_2") (/ "/") (number_literal "10"))) (+ "+") (binary_expression "uVar2 / 10" (identifier "uVar2") (/ "/") (number_literal "10")))) (; ";")) (expression_statement "pcVar7 = acStack_28;" (assignment_expression "pcVar7 = acStack_28" (identifier "pcVar7") (= "=") (identifier "acStack_28")) (; ";")) (expression_statement "uVar8 = param_1 / 10;" (assignment_expression "uVar8 = param_1 / 10" (identifier "uVar8") (= "=") (binary_expression "param_1 / 10" (identifier "param_1") (/ "/") (number_literal "10"))) (; ";")) (do_statement "do {\n    pcVar7[0x13] = (char)(uVar2 % 10) + '0';\n    if (param_1 < 10) {\n      iVar6 = 0;\n      if (uVar9 == 0) {\n        pcVar5 = acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar10 = 0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar6 = iVar10;\n        iVar11 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar11 + iVar10) = 0;\n        if (local_14 == *(int **)puVar1) {\n          return *(int **)puVar1;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *param_3 = (int)pcVar5;\n        param_3[1] = iVar6;\n        return param_3;\n      }\n      iVar11 = 0;\n      uVar4 = 0;\n      uVar8 = 0;\n    }\n    else {\n      uVar4 = uVar8 / 10;\n      iVar11 = (uVar8 % 10) * 0x19999999;\n      iVar6 = (uVar8 % 10) * 6;\n    }\n    pcVar7 = pcVar7 + -1;\n    uVar2 = uVar9 % 10 + iVar6;\n    uVar9 = uVar9 / 10 + iVar11 + uVar2 / 10;\n    param_1 = uVar8;\n    uVar8 = uVar4;\n  } while (acStack_3c != pcVar7);" (do "do") (compound_statement "{\n    pcVar7[0x13] = (char)(uVar2 % 10) + '0';\n    if (param_1 < 10) {\n      iVar6 = 0;\n      if (uVar9 == 0) {\n        pcVar5 = acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar10 = 0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar6 = iVar10;\n        iVar11 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar11 + iVar10) = 0;\n        if (local_14 == *(int **)puVar1) {\n          return *(int **)puVar1;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *param_3 = (int)pcVar5;\n        param_3[1] = iVar6;\n        return param_3;\n      }\n      iVar11 = 0;\n      uVar4 = 0;\n      uVar8 = 0;\n    }\n    else {\n      uVar4 = uVar8 / 10;\n      iVar11 = (uVar8 % 10) * 0x19999999;\n      iVar6 = (uVar8 % 10) * 6;\n    }\n    pcVar7 = pcVar7 + -1;\n    uVar2 = uVar9 % 10 + iVar6;\n    uVar9 = uVar9 / 10 + iVar11 + uVar2 / 10;\n    param_1 = uVar8;\n    uVar8 = uVar4;\n  }" ({ "{") (expression_statement "pcVar7[0x13] = (char)(uVar2 % 10) + '0';" (assignment_expression "pcVar7[0x13] = (char)(uVar2 % 10) + '0'" (subscript_expression "pcVar7[0x13]" (identifier "pcVar7") ([ "[") (number_literal "0x13") (] "]")) (= "=") (binary_expression "(char)(uVar2 % 10) + '0'" (cast_expression "(char)(uVar2 % 10)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar2 % 10)" (( "(") (binary_expression "uVar2 % 10" (identifier "uVar2") (% "%") (number_literal "10")) () ")"))) (+ "+") (char_literal "'0'" (' "'") (character "0") (' "'")))) (; ";")) (if_statement "if (param_1 < 10) {\n      iVar6 = 0;\n      if (uVar9 == 0) {\n        pcVar5 = acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar10 = 0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar6 = iVar10;\n        iVar11 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar11 + iVar10) = 0;\n        if (local_14 == *(int **)puVar1) {\n          return *(int **)puVar1;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *param_3 = (int)pcVar5;\n        param_3[1] = iVar6;\n        return param_3;\n      }\n      iVar11 = 0;\n      uVar4 = 0;\n      uVar8 = 0;\n    }\n    else {\n      uVar4 = uVar8 / 10;\n      iVar11 = (uVar8 % 10) * 0x19999999;\n      iVar6 = (uVar8 % 10) * 6;\n    }" (if "if") (parenthesized_expression "(param_1 < 10)" (( "(") (binary_expression "param_1 < 10" (identifier "param_1") (< "<") (number_literal "10")) () ")")) (compound_statement "{\n      iVar6 = 0;\n      if (uVar9 == 0) {\n        pcVar5 = acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar10 = 0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar6 = iVar10;\n        iVar11 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar11 + iVar10) = 0;\n        if (local_14 == *(int **)puVar1) {\n          return *(int **)puVar1;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *param_3 = (int)pcVar5;\n        param_3[1] = iVar6;\n        return param_3;\n      }\n      iVar11 = 0;\n      uVar4 = 0;\n      uVar8 = 0;\n    }" ({ "{") (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (if_statement "if (uVar9 == 0) {\n        pcVar5 = acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar10 = 0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar6 = iVar10;\n        iVar11 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar11 + iVar10) = 0;\n        if (local_14 == *(int **)puVar1) {\n          return *(int **)puVar1;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *param_3 = (int)pcVar5;\n        param_3[1] = iVar6;\n        return param_3;\n      }" (if "if") (parenthesized_expression "(uVar9 == 0)" (( "(") (binary_expression "uVar9 == 0" (identifier "uVar9") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        pcVar5 = acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar10 = 0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28));\n        iVar6 = iVar10;\n        iVar11 = (*(code *)PTR_memcpy_000b2f08)();\n        *(undefined1 *)(iVar11 + iVar10) = 0;\n        if (local_14 == *(int **)puVar1) {\n          return *(int **)puVar1;\n        }\n        (*(code *)PTR___stack_chk_fail_000b2ed8)();\n        *param_3 = (int)pcVar5;\n        param_3[1] = iVar6;\n        return param_3;\n      }" ({ "{") (expression_statement "pcVar5 = acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28));" (assignment_expression "pcVar5 = acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28))" (identifier "pcVar5") (= "=") (binary_expression "acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28))" (identifier "acStack_28") (+ "+") (cast_expression "(int)(pcVar7 + (0x13 - (int)acStack_28))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(pcVar7 + (0x13 - (int)acStack_28))" (( "(") (binary_expression "pcVar7 + (0x13 - (int)acStack_28)" (identifier "pcVar7") (+ "+") (parenthesized_expression "(0x13 - (int)acStack_28)" (( "(") (binary_expression "0x13 - (int)acStack_28" (number_literal "0x13") (- "-") (cast_expression "(int)acStack_28" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "acStack_28"))) () ")"))) () ")"))))) (; ";")) (expression_statement "iVar10 = 0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28));" (assignment_expression "iVar10 = 0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28))" (identifier "iVar10") (= "=") (binary_expression "0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28))" (number_literal "0x14") (- "-") (cast_expression "(int)(pcVar7 + (0x13 - (int)acStack_28))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(pcVar7 + (0x13 - (int)acStack_28))" (( "(") (binary_expression "pcVar7 + (0x13 - (int)acStack_28)" (identifier "pcVar7") (+ "+") (parenthesized_expression "(0x13 - (int)acStack_28)" (( "(") (binary_expression "0x13 - (int)acStack_28" (number_literal "0x13") (- "-") (cast_expression "(int)acStack_28" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "acStack_28"))) () ")"))) () ")"))))) (; ";")) (expression_statement "iVar6 = iVar10;" (assignment_expression "iVar6 = iVar10" (identifier "iVar6") (= "=") (identifier "iVar10")) (; ";")) (expression_statement "iVar11 = (*(code *)PTR_memcpy_000b2f08)();" (assignment_expression "iVar11 = (*(code *)PTR_memcpy_000b2f08)()" (identifier "iVar11") (= "=") (call_expression "(*(code *)PTR_memcpy_000b2f08)()" (parenthesized_expression "(*(code *)PTR_memcpy_000b2f08)" (( "(") (pointer_expression "*(code *)PTR_memcpy_000b2f08" (* "*") (cast_expression "(code *)PTR_memcpy_000b2f08" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memcpy_000b2f08"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(undefined1 *)(iVar11 + iVar10) = 0;" (assignment_expression "*(undefined1 *)(iVar11 + iVar10) = 0" (pointer_expression "*(undefined1 *)(iVar11 + iVar10)" (* "*") (cast_expression "(undefined1 *)(iVar11 + iVar10)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + iVar10)" (( "(") (binary_expression "iVar11 + iVar10" (identifier "iVar11") (+ "+") (identifier "iVar10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (if_statement "if (local_14 == *(int **)puVar1) {\n          return *(int **)puVar1;\n        }" (if "if") (parenthesized_expression "(local_14 == *(int **)puVar1)" (( "(") (binary_expression "local_14 == *(int **)puVar1" (identifier "local_14") (== "==") (pointer_expression "*(int **)puVar1" (* "*") (cast_expression "(int **)puVar1" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar1")))) () ")")) (compound_statement "{\n          return *(int **)puVar1;\n        }" ({ "{") (return_statement "return *(int **)puVar1;" (return "return") (pointer_expression "*(int **)puVar1" (* "*") (cast_expression "(int **)puVar1" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar1"))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___stack_chk_fail_000b2ed8)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b2ed8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b2ed8)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000b2ed8" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000b2ed8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000b2ed8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*param_3 = (int)pcVar5;" (assignment_expression "*param_3 = (int)pcVar5" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (cast_expression "(int)pcVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar5"))) (; ";")) (expression_statement "param_3[1] = iVar6;" (assignment_expression "param_3[1] = iVar6" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar6")) (; ";")) (return_statement "return param_3;" (return "return") (identifier "param_3") (; ";")) (} "}"))) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" (identifier "iVar11") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" (identifier "uVar8") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      uVar4 = uVar8 / 10;\n      iVar11 = (uVar8 % 10) * 0x19999999;\n      iVar6 = (uVar8 % 10) * 6;\n    }" (else "else") (compound_statement "{\n      uVar4 = uVar8 / 10;\n      iVar11 = (uVar8 % 10) * 0x19999999;\n      iVar6 = (uVar8 % 10) * 6;\n    }" ({ "{") (expression_statement "uVar4 = uVar8 / 10;" (assignment_expression "uVar4 = uVar8 / 10" (identifier "uVar4") (= "=") (binary_expression "uVar8 / 10" (identifier "uVar8") (/ "/") (number_literal "10"))) (; ";")) (expression_statement "iVar11 = (uVar8 % 10) * 0x19999999;" (assignment_expression "iVar11 = (uVar8 % 10) * 0x19999999" (identifier "iVar11") (= "=") (binary_expression "(uVar8 % 10) * 0x19999999" (parenthesized_expression "(uVar8 % 10)" (( "(") (binary_expression "uVar8 % 10" (identifier "uVar8") (% "%") (number_literal "10")) () ")")) (* "*") (number_literal "0x19999999"))) (; ";")) (expression_statement "iVar6 = (uVar8 % 10) * 6;" (assignment_expression "iVar6 = (uVar8 % 10) * 6" (identifier "iVar6") (= "=") (binary_expression "(uVar8 % 10) * 6" (parenthesized_expression "(uVar8 % 10)" (( "(") (binary_expression "uVar8 % 10" (identifier "uVar8") (% "%") (number_literal "10")) () ")")) (* "*") (number_literal "6"))) (; ";")) (} "}")))) (expression_statement "pcVar7 = pcVar7 + -1;" (assignment_expression "pcVar7 = pcVar7 + -1" (identifier "pcVar7") (= "=") (binary_expression "pcVar7 + -1" (identifier "pcVar7") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "uVar2 = uVar9 % 10 + iVar6;" (assignment_expression "uVar2 = uVar9 % 10 + iVar6" (identifier "uVar2") (= "=") (binary_expression "uVar9 % 10 + iVar6" (binary_expression "uVar9 % 10" (identifier "uVar9") (% "%") (number_literal "10")) (+ "+") (identifier "iVar6"))) (; ";")) (expression_statement "uVar9 = uVar9 / 10 + iVar11 + uVar2 / 10;" (assignment_expression "uVar9 = uVar9 / 10 + iVar11 + uVar2 / 10" (identifier "uVar9") (= "=") (binary_expression "uVar9 / 10 + iVar11 + uVar2 / 10" (binary_expression "uVar9 / 10 + iVar11" (binary_expression "uVar9 / 10" (identifier "uVar9") (/ "/") (number_literal "10")) (+ "+") (identifier "iVar11")) (+ "+") (binary_expression "uVar2 / 10" (identifier "uVar2") (/ "/") (number_literal "10")))) (; ";")) (expression_statement "param_1 = uVar8;" (assignment_expression "param_1 = uVar8" (identifier "param_1") (= "=") (identifier "uVar8")) (; ";")) (expression_statement "uVar8 = uVar4;" (assignment_expression "uVar8 = uVar4" (identifier "uVar8") (= "=") (identifier "uVar4")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(acStack_3c != pcVar7)" (( "(") (binary_expression "acStack_3c != pcVar7" (identifier "acStack_3c") (!= "!=") (identifier "pcVar7")) () ")")) (; ";")) (expression_statement "piVar3 = (int *)(*(code *)PTR___assert_fail_000b2d2c)\n                            (PTR_s_acket_from_server___s_000b23a8 + -0x13b8,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13c0,0x29,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13a0);" (assignment_expression "piVar3 = (int *)(*(code *)PTR___assert_fail_000b2d2c)\n                            (PTR_s_acket_from_server___s_000b23a8 + -0x13b8,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13c0,0x29,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13a0)" (identifier "piVar3") (= "=") (cast_expression "(int *)(*(code *)PTR___assert_fail_000b2d2c)\n                            (PTR_s_acket_from_server___s_000b23a8 + -0x13b8,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13c0,0x29,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13a0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___assert_fail_000b2d2c)\n                            (PTR_s_acket_from_server___s_000b23a8 + -0x13b8,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13c0,0x29,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13a0)" (parenthesized_expression "(*(code *)PTR___assert_fail_000b2d2c)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_000b2d2c" (* "*") (cast_expression "(code *)PTR___assert_fail_000b2d2c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_000b2d2c"))) () ")")) (argument_list "(PTR_s_acket_from_server___s_000b23a8 + -0x13b8,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13c0,0x29,\n                             PTR_s_acket_from_server___s_000b23a8 + -0x13a0)" (( "(") (binary_expression "PTR_s_acket_from_server___s_000b23a8 + -0x13b8" (identifier "PTR_s_acket_from_server___s_000b23a8") (+ "+") (number_literal "-0x13b8")) (, ",") (binary_expression "PTR_s_acket_from_server___s_000b23a8 + -0x13c0" (identifier "PTR_s_acket_from_server___s_000b23a8") (+ "+") (number_literal "-0x13c0")) (, ",") (number_literal "0x29") (, ",") (binary_expression "PTR_s_acket_from_server___s_000b23a8 + -0x13a0" (identifier "PTR_s_acket_from_server___s_000b23a8") (+ "+") (number_literal "-0x13a0")) () ")"))))) (; ";")) (return_statement "return piVar3;" (return "return") (identifier "piVar3") (; ";")) (} "}")))

void function_1(type_1 x,char *var_3)

{
  type_2 *puVar1;
  int var_9;
  type_3 var_2;
  char *pcVar4;
  type_3 var_1;
  int *in_a2;
  int var_10;
  char *var_6;
  char *pcVar7;
  type_3 var_4;
  int var_8;
  int var_7;
  char var_11 [12];
  char var_5 [20];
  
  puVar1 = PTR___stack_chk_guard_000b2f04;
  var_9 = *(int *)PTR___stack_chk_guard_000b2f04;
  var_2 = ((type_3)var_3 % 10) * 6 + var_1 % 10;
  var_4 = ((type_3)var_3 % 10) * 0x19999999 + var_1 / 10 + var_2 / 10;
  var_6 = var_5;
  pcVar7 = (char *)((type_3)var_3 / 10);
  do {
    var_6[0x13] = (char)(var_2 % 10) + '0';
    if (var_3 < (char *)0xa) {
      var_10 = 0;
      if (var_4 == 0) {
        pcVar7 = var_5 + (int)(var_6 + (0x13 - (int)var_5));
        var_8 = 0x14 - (int)(var_6 + (0x13 - (int)var_5));
        var_10 = var_8;
        var_7 = (*(type_4 *)PTR_memcpy_000b2f08)();
        *(type_5 *)(var_7 + var_8) = 0;
        if (var_9 == *(int *)puVar1) {
          return;
        }
        (*(type_4 *)PTR___stack_chk_fail_000b2ed8)();
        *in_a2 = (int)pcVar7;
        in_a2[1] = var_10;
        return;
      }
      var_7 = 0;
      pcVar4 = (char *)0x0;
      pcVar7 = (char *)0x0;
    }
    else {
      pcVar4 = (char *)((type_3)pcVar7 / 10);
      var_7 = ((type_3)pcVar7 % 10) * 0x19999999;
      var_10 = ((type_3)pcVar7 % 10) * 6;
    }
    var_6 = var_6 + -1;
    var_2 = var_4 % 10 + var_10;
    var_4 = var_4 / 10 + var_7 + var_2 / 10;
    var_3 = pcVar7;
    pcVar7 = pcVar4;
  } while (var_11 != var_6);
  (*(type_4 *)PTR___assert_fail_000b2d2c)
            (var_12 + -0x13b8,
             var_12 + -0x13c0,0x29,
             var_12 + -0x13a0);
  return;
}


(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: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (char_literal (character))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))) (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: (identifier))))) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) consequence: (compound_statement (return_statement (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier)) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal))))))) (return_statement (identifier)))))

int * MASKED(uint param_1,uint param_2,int *param_3)

{
  undefined *puVar1;
  uint uVar2;
  int *piVar3;
  uint uVar4;
  char *pcVar5;
  int iVar6;
  char *pcVar7;
  uint uVar8;
  uint uVar9;
  int iVar10;
  int iVar11;
  char acStack_3c [12];
  char acStack_28 [20];
  int *local_14;
  
  puVar1 = PTR___stack_chk_guard_000b2f04;
  local_14 = *(int **)PTR___stack_chk_guard_000b2f04;
  uVar2 = (param_1 % 10) * 6 + param_2 % 10;
  uVar9 = (param_1 % 10) * 0x19999999 + param_2 / 10 + uVar2 / 10;
  pcVar7 = acStack_28;
  uVar8 = param_1 / 10;
  do {
    pcVar7[0x13] = (char)(uVar2 % 10) + '0';
    if (param_1 < 10) {
      iVar6 = 0;
      if (uVar9 == 0) {
        pcVar5 = acStack_28 + (int)(pcVar7 + (0x13 - (int)acStack_28));
        iVar10 = 0x14 - (int)(pcVar7 + (0x13 - (int)acStack_28));
        iVar6 = iVar10;
        iVar11 = (*(code *)PTR_memcpy_000b2f08)();
        *(undefined1 *)(iVar11 + iVar10) = 0;
        if (local_14 == *(int **)puVar1) {
          return *(int **)puVar1;
        }
        (*(code *)PTR___stack_chk_fail_000b2ed8)();
        *param_3 = (int)pcVar5;
        param_3[1] = iVar6;
        return param_3;
      }
      iVar11 = 0;
      uVar4 = 0;
      uVar8 = 0;
    }
    else {
      uVar4 = uVar8 / 10;
      iVar11 = (uVar8 % 10) * 0x19999999;
      iVar6 = (uVar8 % 10) * 6;
    }
    pcVar7 = pcVar7 + -1;
    uVar2 = uVar9 % 10 + iVar6;
    uVar9 = uVar9 / 10 + iVar11 + uVar2 / 10;
    param_1 = uVar8;
    uVar8 = uVar4;
  } while (acStack_3c != pcVar7);
  piVar3 = (int *)(*(code *)PTR___assert_fail_000b2d2c)
                            (PTR_s_acket_from_server___s_000b23a8 + -0x13b8,
                             PTR_s_acket_from_server___s_000b23a8 + -0x13c0,0x29,
                             PTR_s_acket_from_server___s_000b23a8 + -0x13a0);
  return piVar3;
}

