
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void format_address_label(uintmax_t address,char c)

{
  int iVar1;
  _IO_FILE *p_Var2;
  ulonglong uVar3;
  ulonglong uVar4;
  ulonglong uVar5;
  uintmax_t uVar6;
  longlong lVar7;
  undefined *puVar8;
  char cVar9;
  char *pcVar10;
  uint uVar11;
  int iVar12;
  int in_GS_OFFSET;
  char *local_44;
  char buf [25];
  
  local_44 = buf + 0x17;
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  pcVar10 = local_44 + -address_pad_len;
  buf[0x17] = ' ';
  buf[0x18] = '\0';
  uVar6 = address;
  if (address_base == 10) {
    do {
      iVar12 = (int)(uVar6 >> 0x20);
      uVar11 = (uint)uVar6;
      local_44 = local_44 + -1;
      cVar9 = __umoddi3(uVar6,10,0);
      *local_44 = cVar9 + '0';
      uVar6 = __udivdi3(uVar6,10,0);
    } while (iVar12 != 0 || (uint)-iVar12 < (uint)(9 < uVar11));
  }
  else {
    uVar3 = address;
    if (address_base == 0x10) {
      do {
        uVar11 = (uint)uVar3;
        uVar5 = uVar3 & 0xf0000000f;
        uVar4 = uVar3 >> 4;
        local_44 = local_44 + -1;
        *local_44 = "0123456789abcdef"[(int)uVar5];
        uVar3 = uVar3 >> 4;
      } while ((int)(uVar4 >> 0x20) != 0 || (uVar11 >> 4 != 0 || (int)(uVar5 >> 0x20) != 0));
    }
    else if (address_base == 8) {
      do {
        uVar11 = (uint)uVar3;
        uVar5 = uVar3 & 0x700000000;
        uVar4 = uVar3 >> 3;
        local_44 = local_44 + -1;
        *local_44 = ((byte)uVar3 & 7) + 0x30;
        uVar3 = uVar3 >> 3;
      } while ((int)(uVar4 >> 0x20) != 0 || (uVar11 >> 3 != 0 || uVar5 != 0));
    }
  }
  if (pcVar10 < local_44) {
    memset(pcVar10,0x30,(int)local_44 - (int)pcVar10);
    local_44 = pcVar10;
  }
  puVar8 = PTR_stdout_00025fd4;
  fputs_unlocked(local_44,*(FILE **)PTR_stdout_00025fd4);
  lVar7 = CONCAT44(pseudo_offset._4_4_,(undefined4)pseudo_offset);
  p_Var2 = *(_IO_FILE **)puVar8;
  pcVar10 = p_Var2->_IO_write_ptr;
  if (pcVar10 < p_Var2->_IO_write_end) {
    p_Var2->_IO_write_ptr = pcVar10 + 1;
    *pcVar10 = '(';
  }
  else {
    __overflow(p_Var2,0x28);
  }
  format_address_std(address + lVar7,')');
  if (c != '\0') {
    p_Var2 = *(_IO_FILE **)puVar8;
    pcVar10 = p_Var2->_IO_write_ptr;
    if (pcVar10 < p_Var2->_IO_write_end) {
      p_Var2->_IO_write_ptr = pcVar10 + 1;
      *pcVar10 = c;
    }
    else {
      __overflow(p_Var2,(uint)(byte)c);
    }
  }
  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_00015010(uint param_1,uint param_2,byte param_3)

{
  _IO_FILE *p_Var1;
  byte *pbVar2;
  undefined *puVar3;
  char cVar4;
  char *pcVar5;
  uint uVar6;
  uint uVar7;
  uint uVar8;
  int iVar9;
  int iVar10;
  int in_GS_OFFSET;
  bool bVar11;
  undefined8 uVar12;
  char *local_44;
  char local_23;
  undefined2 local_22;
  int local_20;
  undefined4 uStack_14;
  
  uVar12 = CONCAT44(param_2,param_1);
  uStack_14 = 0x1501e;
  local_44 = (char *)&local_22;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  pcVar5 = local_44 + -DAT_000262a0;
  local_22 = 0x20;
  if (DAT_000262a4 == 10) {
    do {
      iVar9 = (int)((ulonglong)uVar12 >> 0x20);
      uVar6 = (uint)uVar12;
      local_44 = local_44 + -1;
      cVar4 = FUN_0001dcf0(uVar12,10,0);
      *local_44 = cVar4 + '0';
      uVar12 = FUN_0001dbe0(uVar12,10,0);
    } while (iVar9 != 0 || (uint)-iVar9 < (uint)(9 < uVar6));
  }
  else {
    uVar6 = param_1;
    uVar8 = param_2;
    if (DAT_000262a4 == 0x10) {
      do {
        uVar7 = uVar6 >> 4 | uVar8 << 0x1c;
        local_44 = local_44 + -1;
        uVar8 = uVar8 >> 4;
        *local_44 = "0123456789abcdef"[uVar6 & 0xf];
        uVar6 = uVar7;
      } while (uVar8 != 0 || uVar7 != 0);
    }
    else if (DAT_000262a4 == 8) {
      do {
        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;
        local_44 = local_44 + -1;
        uVar8 = uVar8 >> 3;
        *local_44 = ((byte)uVar6 & 7) + 0x30;
        uVar6 = uVar7;
      } while (uVar8 != 0 || uVar7 != 0);
    }
  }
  if (pcVar5 < local_44) {
    memset(pcVar5,0x30,(int)local_44 - (int)pcVar5);
    local_44 = pcVar5;
  }
  puVar3 = PTR_stdout_00025fd4;
  fputs_unlocked(local_44,*(FILE **)PTR_stdout_00025fd4);
  p_Var1 = *(_IO_FILE **)puVar3;
  bVar11 = CARRY4(param_1,DAT_00026290);
  iVar10 = param_1 + DAT_00026290;
  pcVar5 = p_Var1->_IO_write_ptr;
  iVar9 = param_2 + DAT_00026294;
  if (pcVar5 < p_Var1->_IO_write_end) {
    p_Var1->_IO_write_ptr = pcVar5 + 1;
    *pcVar5 = '(';
  }
  else {
    __overflow(p_Var1,0x28);
  }
  FUN_000129a0(iVar10,iVar9 + (uint)bVar11,0x29);
  if (param_3 != 0) {
    p_Var1 = *(_IO_FILE **)puVar3;
    pbVar2 = (byte *)p_Var1->_IO_write_ptr;
    if (pbVar2 < p_Var1->_IO_write_end) {
      p_Var1->_IO_write_ptr = (char *)(pbVar2 + 1);
      *pbVar2 = param_3;
    }
    else {
      __overflow(p_Var1,(uint)param_3);
    }
  }
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0001ded0();
}


PUSH EBP
MOV EBP,0x20
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00012850
ADD EBX,0x10fe2
SUB ESP,0x3c
MOV EAX,dword ptr [ESP + 0x50]
MOV EDX,dword ptr [ESP + 0x54]
LEA ESI,[ESP + 0x2a]
MOV dword ptr [ESP],EAX
MOV EAX,dword ptr [ESP + 0x58]
MOV dword ptr [ESP + 0x4],EDX
MOV dword ptr [ESP + 0xc],EAX
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x2c],EAX
XOR EAX,EAX
MOV EAX,ESI
SUB EAX,dword ptr [EBX + 0x2a0]
MOV word ptr [ESP + 0x2a],BP
MOV dword ptr [ESP + 0x8],EAX
MOV EAX,dword ptr [EBX + 0x2a4]
CMP EAX,0xa
JZ 0x000151a8
CMP EAX,0x10
JZ 0x00015170
CMP EAX,0x8
JZ 0x00015130
CMP dword ptr [ESP + 0x8],ESI
JNC 0x00015164
MOV EAX,dword ptr [ESP + 0x8]
SUB ESP,0x4
SUB ESI,EAX
PUSH ESI
PUSH 0x30
PUSH EAX
CALL 0x00011290
ADD ESP,0x10
MOV ESI,dword ptr [EBX + 0xffffffd4]
SUB ESP,0x8
PUSH dword ptr [ESI]
PUSH dword ptr [ESP + 0x14]
CALL 0x00011240
MOV EAX,dword ptr [ESI]
MOV EDI,dword ptr [ESP + 0x10]
MOV EBP,dword ptr [ESP + 0x14]
ADD EDI,dword ptr [EBX + 0x290]
MOV EDX,dword ptr [EAX + 0x14]
ADC EBP,dword ptr [EBX + 0x294]
ADD ESP,0x10
CMP EDX,dword ptr [EAX + 0x18]
JNC 0x00015210
LEA ECX,[EDX + 0x1]
MOV dword ptr [EAX + 0x14],ECX
MOV byte ptr [EDX],0x28
SUB ESP,0x4
PUSH 0x29
PUSH EBP
PUSH EDI
CALL 0x000129a0
ADD ESP,0x10
CMP byte ptr [ESP + 0xc],0x0
JZ 0x00015112
MOV EAX,dword ptr [ESI]
MOV EDX,dword ptr [EAX + 0x14]
CMP EDX,dword ptr [EAX + 0x18]
JNC 0x000151f8
LEA ECX,[EDX + 0x1]
MOV dword ptr [EAX + 0x14],ECX
MOVZX EAX,byte ptr [ESP + 0xc]
MOV byte ptr [EDX],AL
MOV EAX,dword ptr [ESP + 0x2c]
XOR EAX,dword ptr GS:[0x14]
JNZ 0x00015223
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP]
MOV EDX,dword ptr [ESP + 0x4]
LEA ESI,[ESI]
NOP
MOV ECX,EAX
SHRD EAX,EDX,0x3
SUB ESI,0x1
SHR EDX,0x3
AND ECX,0x7
MOV EDI,EDX
ADD ECX,0x30
OR EDI,EAX
MOV byte ptr [ESI],CL
JNZ 0x00015140
CMP dword ptr [ESP + 0x8],ESI
JC 0x0001508a
MOV dword ptr [ESP + 0x8],ESI
JMP 0x0001509f
MOV EAX,dword ptr [ESP]
MOV EDX,dword ptr [ESP + 0x4]
LEA EBP,[EBX + 0xffff8008]
LEA ESI,[ESI]
MOV ECX,EAX
SHRD EAX,EDX,0x4
SUB ESI,0x1
AND ECX,0xf
SHR EDX,0x4
MOVZX ECX,byte ptr [EBP + ECX*0x1]
MOV EDI,EDX
OR EDI,EAX
MOV byte ptr [ESI],CL
JNZ 0x00015180
JMP 0x00015080
MOV EDI,dword ptr [ESP]
MOV EBP,dword ptr [ESP + 0x4]
JMP 0x000151bc
MOV EDI,EAX
MOV EBP,EDX
PUSH 0x0
SUB ESI,0x1
PUSH 0xa
PUSH EBP
PUSH EDI
CALL 0x0001dcf0
ADD ESP,0x10
ADD EAX,0x30
MOV byte ptr [ESI],AL
PUSH 0x0
PUSH 0xa
PUSH EBP
PUSH EDI
CALL 0x0001dbe0
MOV ECX,0x9
ADD ESP,0x10
CMP ECX,EDI
MOV ECX,0x0
SBB ECX,EBP
JC 0x000151b8
JMP 0x00015080
SUB ESP,0x8
MOVZX EDX,byte ptr [ESP + 0x14]
PUSH EDX
PUSH EAX
CALL 0x00011340
ADD ESP,0x10
JMP 0x00015112
SUB ESP,0x8
PUSH 0x28
PUSH EAX
CALL 0x00011340
ADD ESP,0x10
JMP 0x000150e1
CALL 0x0001ded0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00015010(uint param_1,uint param_2,byte param_3)\n\n{\n  _IO_FILE *p_Var1;\n  byte *pbVar2;\n  undefined *puVar3;\n  char cVar4;\n  char *pcVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  int iVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  bool bVar11;\n  undefined8 uVar12;\n  char *local_44;\n  char local_23;\n  undefined2 local_22;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uVar12 = CONCAT44(param_2,param_1);\n  uStack_14 = 0x1501e;\n  local_44 = (char *)&local_22;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  pcVar5 = local_44 + -DAT_000262a0;\n  local_22 = 0x20;\n  if (DAT_000262a4 == 10) {\n    do {\n      iVar9 = (int)((ulonglong)uVar12 >> 0x20);\n      uVar6 = (uint)uVar12;\n      local_44 = local_44 + -1;\n      cVar4 = FUN_0001dcf0(uVar12,10,0);\n      *local_44 = cVar4 + '0';\n      uVar12 = FUN_0001dbe0(uVar12,10,0);\n    } while (iVar9 != 0 || (uint)-iVar9 < (uint)(9 < uVar6));\n  }\n  else {\n    uVar6 = param_1;\n    uVar8 = param_2;\n    if (DAT_000262a4 == 0x10) {\n      do {\n        uVar7 = uVar6 >> 4 | uVar8 << 0x1c;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 4;\n        *local_44 = "0123456789abcdef"[uVar6 & 0xf];\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n    else if (DAT_000262a4 == 8) {\n      do {\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n  }\n  if (pcVar5 < local_44) {\n    memset(pcVar5,0x30,(int)local_44 - (int)pcVar5);\n    local_44 = pcVar5;\n  }\n  puVar3 = PTR_stdout_00025fd4;\n  fputs_unlocked(local_44,*(FILE **)PTR_stdout_00025fd4);\n  p_Var1 = *(_IO_FILE **)puVar3;\n  bVar11 = CARRY4(param_1,DAT_00026290);\n  iVar10 = param_1 + DAT_00026290;\n  pcVar5 = p_Var1->_IO_write_ptr;\n  iVar9 = param_2 + DAT_00026294;\n  if (pcVar5 < p_Var1->_IO_write_end) {\n    p_Var1->_IO_write_ptr = pcVar5 + 1;\n    *pcVar5 = '(';\n  }\n  else {\n    __overflow(p_Var1,0x28);\n  }\n  FUN_000129a0(iVar10,iVar9 + (uint)bVar11,0x29);\n  if (param_3 != 0) {\n    p_Var1 = *(_IO_FILE **)puVar3;\n    pbVar2 = (byte *)p_Var1->_IO_write_ptr;\n    if (pbVar2 < p_Var1->_IO_write_end) {\n      p_Var1->_IO_write_ptr = (char *)(pbVar2 + 1);\n      *pbVar2 = param_3;\n    }\n    else {\n      __overflow(p_Var1,(uint)param_3);\n    }\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0001ded0();\n}\n\n" comment (function_definition "void FUN_00015010(uint param_1,uint param_2,byte param_3)\n\n{\n  _IO_FILE *p_Var1;\n  byte *pbVar2;\n  undefined *puVar3;\n  char cVar4;\n  char *pcVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  int iVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  bool bVar11;\n  undefined8 uVar12;\n  char *local_44;\n  char local_23;\n  undefined2 local_22;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uVar12 = CONCAT44(param_2,param_1);\n  uStack_14 = 0x1501e;\n  local_44 = (char *)&local_22;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  pcVar5 = local_44 + -DAT_000262a0;\n  local_22 = 0x20;\n  if (DAT_000262a4 == 10) {\n    do {\n      iVar9 = (int)((ulonglong)uVar12 >> 0x20);\n      uVar6 = (uint)uVar12;\n      local_44 = local_44 + -1;\n      cVar4 = FUN_0001dcf0(uVar12,10,0);\n      *local_44 = cVar4 + '0';\n      uVar12 = FUN_0001dbe0(uVar12,10,0);\n    } while (iVar9 != 0 || (uint)-iVar9 < (uint)(9 < uVar6));\n  }\n  else {\n    uVar6 = param_1;\n    uVar8 = param_2;\n    if (DAT_000262a4 == 0x10) {\n      do {\n        uVar7 = uVar6 >> 4 | uVar8 << 0x1c;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 4;\n        *local_44 = "0123456789abcdef"[uVar6 & 0xf];\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n    else if (DAT_000262a4 == 8) {\n      do {\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n  }\n  if (pcVar5 < local_44) {\n    memset(pcVar5,0x30,(int)local_44 - (int)pcVar5);\n    local_44 = pcVar5;\n  }\n  puVar3 = PTR_stdout_00025fd4;\n  fputs_unlocked(local_44,*(FILE **)PTR_stdout_00025fd4);\n  p_Var1 = *(_IO_FILE **)puVar3;\n  bVar11 = CARRY4(param_1,DAT_00026290);\n  iVar10 = param_1 + DAT_00026290;\n  pcVar5 = p_Var1->_IO_write_ptr;\n  iVar9 = param_2 + DAT_00026294;\n  if (pcVar5 < p_Var1->_IO_write_end) {\n    p_Var1->_IO_write_ptr = pcVar5 + 1;\n    *pcVar5 = '(';\n  }\n  else {\n    __overflow(p_Var1,0x28);\n  }\n  FUN_000129a0(iVar10,iVar9 + (uint)bVar11,0x29);\n  if (param_3 != 0) {\n    p_Var1 = *(_IO_FILE **)puVar3;\n    pbVar2 = (byte *)p_Var1->_IO_write_ptr;\n    if (pbVar2 < p_Var1->_IO_write_end) {\n      p_Var1->_IO_write_ptr = (char *)(pbVar2 + 1);\n      *pbVar2 = param_3;\n    }\n    else {\n      __overflow(p_Var1,(uint)param_3);\n    }\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0001ded0();\n}" primitive_type (function_declarator "FUN_00015010(uint param_1,uint param_2,byte param_3)" identifier (parameter_list "(uint param_1,uint param_2,byte param_3)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "byte param_3" type_identifier identifier) ))) (compound_statement "{\n  _IO_FILE *p_Var1;\n  byte *pbVar2;\n  undefined *puVar3;\n  char cVar4;\n  char *pcVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  int iVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  bool bVar11;\n  undefined8 uVar12;\n  char *local_44;\n  char local_23;\n  undefined2 local_22;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uVar12 = CONCAT44(param_2,param_1);\n  uStack_14 = 0x1501e;\n  local_44 = (char *)&local_22;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  pcVar5 = local_44 + -DAT_000262a0;\n  local_22 = 0x20;\n  if (DAT_000262a4 == 10) {\n    do {\n      iVar9 = (int)((ulonglong)uVar12 >> 0x20);\n      uVar6 = (uint)uVar12;\n      local_44 = local_44 + -1;\n      cVar4 = FUN_0001dcf0(uVar12,10,0);\n      *local_44 = cVar4 + '0';\n      uVar12 = FUN_0001dbe0(uVar12,10,0);\n    } while (iVar9 != 0 || (uint)-iVar9 < (uint)(9 < uVar6));\n  }\n  else {\n    uVar6 = param_1;\n    uVar8 = param_2;\n    if (DAT_000262a4 == 0x10) {\n      do {\n        uVar7 = uVar6 >> 4 | uVar8 << 0x1c;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 4;\n        *local_44 = "0123456789abcdef"[uVar6 & 0xf];\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n    else if (DAT_000262a4 == 8) {\n      do {\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n  }\n  if (pcVar5 < local_44) {\n    memset(pcVar5,0x30,(int)local_44 - (int)pcVar5);\n    local_44 = pcVar5;\n  }\n  puVar3 = PTR_stdout_00025fd4;\n  fputs_unlocked(local_44,*(FILE **)PTR_stdout_00025fd4);\n  p_Var1 = *(_IO_FILE **)puVar3;\n  bVar11 = CARRY4(param_1,DAT_00026290);\n  iVar10 = param_1 + DAT_00026290;\n  pcVar5 = p_Var1->_IO_write_ptr;\n  iVar9 = param_2 + DAT_00026294;\n  if (pcVar5 < p_Var1->_IO_write_end) {\n    p_Var1->_IO_write_ptr = pcVar5 + 1;\n    *pcVar5 = '(';\n  }\n  else {\n    __overflow(p_Var1,0x28);\n  }\n  FUN_000129a0(iVar10,iVar9 + (uint)bVar11,0x29);\n  if (param_3 != 0) {\n    p_Var1 = *(_IO_FILE **)puVar3;\n    pbVar2 = (byte *)p_Var1->_IO_write_ptr;\n    if (pbVar2 < p_Var1->_IO_write_end) {\n      p_Var1->_IO_write_ptr = (char *)(pbVar2 + 1);\n      *pbVar2 = param_3;\n    }\n    else {\n      __overflow(p_Var1,(uint)param_3);\n    }\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0001ded0();\n}" { (declaration "_IO_FILE *p_Var1;" type_identifier (pointer_declarator "*p_Var1" * identifier) ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "char cVar4;" primitive_type identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar11;" primitive_type identifier ;) (declaration "undefined8 uVar12;" type_identifier identifier ;) (declaration "char *local_44;" primitive_type (pointer_declarator "*local_44" * identifier) ;) (declaration "char local_23;" primitive_type identifier ;) (declaration "undefined2 local_22;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uVar12 = CONCAT44(param_2,param_1);" (assignment_expression "uVar12 = CONCAT44(param_2,param_1)" identifier = (call_expression "CONCAT44(param_2,param_1)" identifier (argument_list "(param_2,param_1)" ( identifier , identifier )))) ;) (expression_statement "uStack_14 = 0x1501e;" (assignment_expression "uStack_14 = 0x1501e" identifier = number_literal) ;) (expression_statement "local_44 = (char *)&local_22;" (assignment_expression "local_44 = (char *)&local_22" identifier = (cast_expression "(char *)&local_22" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_22" & identifier))) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "pcVar5 = local_44 + -DAT_000262a0;" (assignment_expression "pcVar5 = local_44 + -DAT_000262a0" identifier = (binary_expression "local_44 + -DAT_000262a0" identifier + (unary_expression "-DAT_000262a0" - identifier))) ;) (expression_statement "local_22 = 0x20;" (assignment_expression "local_22 = 0x20" identifier = number_literal) ;) (if_statement "if (DAT_000262a4 == 10) {\n    do {\n      iVar9 = (int)((ulonglong)uVar12 >> 0x20);\n      uVar6 = (uint)uVar12;\n      local_44 = local_44 + -1;\n      cVar4 = FUN_0001dcf0(uVar12,10,0);\n      *local_44 = cVar4 + '0';\n      uVar12 = FUN_0001dbe0(uVar12,10,0);\n    } while (iVar9 != 0 || (uint)-iVar9 < (uint)(9 < uVar6));\n  }\n  else {\n    uVar6 = param_1;\n    uVar8 = param_2;\n    if (DAT_000262a4 == 0x10) {\n      do {\n        uVar7 = uVar6 >> 4 | uVar8 << 0x1c;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 4;\n        *local_44 = "0123456789abcdef"[uVar6 & 0xf];\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n    else if (DAT_000262a4 == 8) {\n      do {\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n  }" if (parenthesized_expression "(DAT_000262a4 == 10)" ( (binary_expression "DAT_000262a4 == 10" identifier == number_literal) )) (compound_statement "{\n    do {\n      iVar9 = (int)((ulonglong)uVar12 >> 0x20);\n      uVar6 = (uint)uVar12;\n      local_44 = local_44 + -1;\n      cVar4 = FUN_0001dcf0(uVar12,10,0);\n      *local_44 = cVar4 + '0';\n      uVar12 = FUN_0001dbe0(uVar12,10,0);\n    } while (iVar9 != 0 || (uint)-iVar9 < (uint)(9 < uVar6));\n  }" { (do_statement "do {\n      iVar9 = (int)((ulonglong)uVar12 >> 0x20);\n      uVar6 = (uint)uVar12;\n      local_44 = local_44 + -1;\n      cVar4 = FUN_0001dcf0(uVar12,10,0);\n      *local_44 = cVar4 + '0';\n      uVar12 = FUN_0001dbe0(uVar12,10,0);\n    } while (iVar9 != 0 || (uint)-iVar9 < (uint)(9 < uVar6));" do (compound_statement "{\n      iVar9 = (int)((ulonglong)uVar12 >> 0x20);\n      uVar6 = (uint)uVar12;\n      local_44 = local_44 + -1;\n      cVar4 = FUN_0001dcf0(uVar12,10,0);\n      *local_44 = cVar4 + '0';\n      uVar12 = FUN_0001dbe0(uVar12,10,0);\n    }" { (expression_statement "iVar9 = (int)((ulonglong)uVar12 >> 0x20);" (assignment_expression "iVar9 = (int)((ulonglong)uVar12 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)uVar12 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar12 >> 0x20)" ( (binary_expression "(ulonglong)uVar12 >> 0x20" (cast_expression "(ulonglong)uVar12" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar6 = (uint)uVar12;" (assignment_expression "uVar6 = (uint)uVar12" identifier = (cast_expression "(uint)uVar12" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "local_44 = local_44 + -1;" (assignment_expression "local_44 = local_44 + -1" identifier = (binary_expression "local_44 + -1" identifier + number_literal)) ;) (expression_statement "cVar4 = FUN_0001dcf0(uVar12,10,0);" (assignment_expression "cVar4 = FUN_0001dcf0(uVar12,10,0)" identifier = (call_expression "FUN_0001dcf0(uVar12,10,0)" identifier (argument_list "(uVar12,10,0)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "*local_44 = cVar4 + '0';" (assignment_expression "*local_44 = cVar4 + '0'" (pointer_expression "*local_44" * identifier) = (binary_expression "cVar4 + '0'" identifier + (char_literal "'0'" ' character '))) ;) (expression_statement "uVar12 = FUN_0001dbe0(uVar12,10,0);" (assignment_expression "uVar12 = FUN_0001dbe0(uVar12,10,0)" identifier = (call_expression "FUN_0001dbe0(uVar12,10,0)" identifier (argument_list "(uVar12,10,0)" ( identifier , number_literal , number_literal )))) ;) }) while (parenthesized_expression "(iVar9 != 0 || (uint)-iVar9 < (uint)(9 < uVar6))" ( (binary_expression "iVar9 != 0 || (uint)-iVar9 < (uint)(9 < uVar6)" (binary_expression "iVar9 != 0" identifier != number_literal) || (binary_expression "(uint)-iVar9 < (uint)(9 < uVar6)" (binary_expression "(uint)-iVar9" (parenthesized_expression "(uint)" ( identifier )) - identifier) < (call_expression "(uint)(9 < uVar6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(9 < uVar6)" ( (binary_expression "9 < uVar6" number_literal < identifier) ))))) )) ;) }) (else_clause "else {\n    uVar6 = param_1;\n    uVar8 = param_2;\n    if (DAT_000262a4 == 0x10) {\n      do {\n        uVar7 = uVar6 >> 4 | uVar8 << 0x1c;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 4;\n        *local_44 = "0123456789abcdef"[uVar6 & 0xf];\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n    else if (DAT_000262a4 == 8) {\n      do {\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n  }" else (compound_statement "{\n    uVar6 = param_1;\n    uVar8 = param_2;\n    if (DAT_000262a4 == 0x10) {\n      do {\n        uVar7 = uVar6 >> 4 | uVar8 << 0x1c;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 4;\n        *local_44 = "0123456789abcdef"[uVar6 & 0xf];\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n    else if (DAT_000262a4 == 8) {\n      do {\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n  }" { (expression_statement "uVar6 = param_1;" (assignment_expression "uVar6 = param_1" identifier = identifier) ;) (expression_statement "uVar8 = param_2;" (assignment_expression "uVar8 = param_2" identifier = identifier) ;) (if_statement "if (DAT_000262a4 == 0x10) {\n      do {\n        uVar7 = uVar6 >> 4 | uVar8 << 0x1c;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 4;\n        *local_44 = "0123456789abcdef"[uVar6 & 0xf];\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n    else if (DAT_000262a4 == 8) {\n      do {\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }" if (parenthesized_expression "(DAT_000262a4 == 0x10)" ( (binary_expression "DAT_000262a4 == 0x10" identifier == number_literal) )) (compound_statement "{\n      do {\n        uVar7 = uVar6 >> 4 | uVar8 << 0x1c;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 4;\n        *local_44 = "0123456789abcdef"[uVar6 & 0xf];\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }" { (do_statement "do {\n        uVar7 = uVar6 >> 4 | uVar8 << 0x1c;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 4;\n        *local_44 = "0123456789abcdef"[uVar6 & 0xf];\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);" do (compound_statement "{\n        uVar7 = uVar6 >> 4 | uVar8 << 0x1c;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 4;\n        *local_44 = "0123456789abcdef"[uVar6 & 0xf];\n        uVar6 = uVar7;\n      }" { (expression_statement "uVar7 = uVar6 >> 4 | uVar8 << 0x1c;" (assignment_expression "uVar7 = uVar6 >> 4 | uVar8 << 0x1c" identifier = (binary_expression "uVar6 >> 4 | uVar8 << 0x1c" (binary_expression "uVar6 >> 4" identifier >> number_literal) | (binary_expression "uVar8 << 0x1c" identifier << number_literal))) ;) (expression_statement "local_44 = local_44 + -1;" (assignment_expression "local_44 = local_44 + -1" identifier = (binary_expression "local_44 + -1" identifier + number_literal)) ;) (expression_statement "uVar8 = uVar8 >> 4;" (assignment_expression "uVar8 = uVar8 >> 4" identifier = (binary_expression "uVar8 >> 4" identifier >> number_literal)) ;) (expression_statement "*local_44 = "0123456789abcdef"[uVar6 & 0xf];" (assignment_expression "*local_44 = "0123456789abcdef"[uVar6 & 0xf]" (pointer_expression "*local_44" * identifier) = (subscript_expression ""0123456789abcdef"[uVar6 & 0xf]" (string_literal ""0123456789abcdef"" " string_content ") [ (binary_expression "uVar6 & 0xf" identifier & number_literal) ])) ;) (expression_statement "uVar6 = uVar7;" (assignment_expression "uVar6 = uVar7" identifier = identifier) ;) }) while (parenthesized_expression "(uVar8 != 0 || uVar7 != 0)" ( (binary_expression "uVar8 != 0 || uVar7 != 0" (binary_expression "uVar8 != 0" identifier != number_literal) || (binary_expression "uVar7 != 0" identifier != number_literal)) )) ;) }) (else_clause "else if (DAT_000262a4 == 8) {\n      do {\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }" else (if_statement "if (DAT_000262a4 == 8) {\n      do {\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }" if (parenthesized_expression "(DAT_000262a4 == 8)" ( (binary_expression "DAT_000262a4 == 8" identifier == number_literal) )) (compound_statement "{\n      do {\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }" { (do_statement "do {\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);" do (compound_statement "{\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      }" { (expression_statement "uVar7 = uVar6 >> 3 | uVar8 << 0x1d;" (assignment_expression "uVar7 = uVar6 >> 3 | uVar8 << 0x1d" identifier = (binary_expression "uVar6 >> 3 | uVar8 << 0x1d" (binary_expression "uVar6 >> 3" identifier >> number_literal) | (binary_expression "uVar8 << 0x1d" identifier << number_literal))) ;) (expression_statement "local_44 = local_44 + -1;" (assignment_expression "local_44 = local_44 + -1" identifier = (binary_expression "local_44 + -1" identifier + number_literal)) ;) (expression_statement "uVar8 = uVar8 >> 3;" (assignment_expression "uVar8 = uVar8 >> 3" identifier = (binary_expression "uVar8 >> 3" identifier >> number_literal)) ;) (expression_statement "*local_44 = ((byte)uVar6 & 7) + 0x30;" (assignment_expression "*local_44 = ((byte)uVar6 & 7) + 0x30" (pointer_expression "*local_44" * identifier) = (binary_expression "((byte)uVar6 & 7) + 0x30" (parenthesized_expression "((byte)uVar6 & 7)" ( (binary_expression "(byte)uVar6 & 7" (cast_expression "(byte)uVar6" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )) + number_literal)) ;) (expression_statement "uVar6 = uVar7;" (assignment_expression "uVar6 = uVar7" identifier = identifier) ;) }) while (parenthesized_expression "(uVar8 != 0 || uVar7 != 0)" ( (binary_expression "uVar8 != 0 || uVar7 != 0" (binary_expression "uVar8 != 0" identifier != number_literal) || (binary_expression "uVar7 != 0" identifier != number_literal)) )) ;) })))) }))) (if_statement "if (pcVar5 < local_44) {\n    memset(pcVar5,0x30,(int)local_44 - (int)pcVar5);\n    local_44 = pcVar5;\n  }" if (parenthesized_expression "(pcVar5 < local_44)" ( (binary_expression "pcVar5 < local_44" identifier < identifier) )) (compound_statement "{\n    memset(pcVar5,0x30,(int)local_44 - (int)pcVar5);\n    local_44 = pcVar5;\n  }" { (expression_statement "memset(pcVar5,0x30,(int)local_44 - (int)pcVar5);" (call_expression "memset(pcVar5,0x30,(int)local_44 - (int)pcVar5)" identifier (argument_list "(pcVar5,0x30,(int)local_44 - (int)pcVar5)" ( identifier , number_literal , (binary_expression "(int)local_44 - (int)pcVar5" (cast_expression "(int)local_44" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pcVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ;) (expression_statement "local_44 = pcVar5;" (assignment_expression "local_44 = pcVar5" identifier = identifier) ;) })) (expression_statement "puVar3 = PTR_stdout_00025fd4;" (assignment_expression "puVar3 = PTR_stdout_00025fd4" identifier = identifier) ;) (expression_statement "fputs_unlocked(local_44,*(FILE **)PTR_stdout_00025fd4);" (call_expression "fputs_unlocked(local_44,*(FILE **)PTR_stdout_00025fd4)" identifier (argument_list "(local_44,*(FILE **)PTR_stdout_00025fd4)" ( identifier , (pointer_expression "*(FILE **)PTR_stdout_00025fd4" * (cast_expression "(FILE **)PTR_stdout_00025fd4" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "p_Var1 = *(_IO_FILE **)puVar3;" (assignment_expression "p_Var1 = *(_IO_FILE **)puVar3" identifier = (pointer_expression "*(_IO_FILE **)puVar3" * (cast_expression "(_IO_FILE **)puVar3" ( (type_descriptor "_IO_FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "bVar11 = CARRY4(param_1,DAT_00026290);" (assignment_expression "bVar11 = CARRY4(param_1,DAT_00026290)" identifier = (call_expression "CARRY4(param_1,DAT_00026290)" identifier (argument_list "(param_1,DAT_00026290)" ( identifier , identifier )))) ;) (expression_statement "iVar10 = param_1 + DAT_00026290;" (assignment_expression "iVar10 = param_1 + DAT_00026290" identifier = (binary_expression "param_1 + DAT_00026290" identifier + identifier)) ;) (expression_statement "pcVar5 = p_Var1->_IO_write_ptr;" (assignment_expression "pcVar5 = p_Var1->_IO_write_ptr" identifier = (field_expression "p_Var1->_IO_write_ptr" identifier -> field_identifier)) ;) (expression_statement "iVar9 = param_2 + DAT_00026294;" (assignment_expression "iVar9 = param_2 + DAT_00026294" identifier = (binary_expression "param_2 + DAT_00026294" identifier + identifier)) ;) (if_statement "if (pcVar5 < p_Var1->_IO_write_end) {\n    p_Var1->_IO_write_ptr = pcVar5 + 1;\n    *pcVar5 = '(';\n  }\n  else {\n    __overflow(p_Var1,0x28);\n  }" if (parenthesized_expression "(pcVar5 < p_Var1->_IO_write_end)" ( (binary_expression "pcVar5 < p_Var1->_IO_write_end" identifier < (field_expression "p_Var1->_IO_write_end" identifier -> field_identifier)) )) (compound_statement "{\n    p_Var1->_IO_write_ptr = pcVar5 + 1;\n    *pcVar5 = '(';\n  }" { (expression_statement "p_Var1->_IO_write_ptr = pcVar5 + 1;" (assignment_expression "p_Var1->_IO_write_ptr = pcVar5 + 1" (field_expression "p_Var1->_IO_write_ptr" identifier -> field_identifier) = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) (expression_statement "*pcVar5 = '(';" (assignment_expression "*pcVar5 = '('" (pointer_expression "*pcVar5" * identifier) = (char_literal "'('" ' character ')) ;) }) (else_clause "else {\n    __overflow(p_Var1,0x28);\n  }" else (compound_statement "{\n    __overflow(p_Var1,0x28);\n  }" { (expression_statement "__overflow(p_Var1,0x28);" (call_expression "__overflow(p_Var1,0x28)" identifier (argument_list "(p_Var1,0x28)" ( identifier , number_literal ))) ;) }))) (expression_statement "FUN_000129a0(iVar10,iVar9 + (uint)bVar11,0x29);" (call_expression "FUN_000129a0(iVar10,iVar9 + (uint)bVar11,0x29)" identifier (argument_list "(iVar10,iVar9 + (uint)bVar11,0x29)" ( identifier , (binary_expression "iVar9 + (uint)bVar11" identifier + (cast_expression "(uint)bVar11" ( (type_descriptor "uint" type_identifier) ) identifier)) , number_literal ))) ;) (if_statement "if (param_3 != 0) {\n    p_Var1 = *(_IO_FILE **)puVar3;\n    pbVar2 = (byte *)p_Var1->_IO_write_ptr;\n    if (pbVar2 < p_Var1->_IO_write_end) {\n      p_Var1->_IO_write_ptr = (char *)(pbVar2 + 1);\n      *pbVar2 = param_3;\n    }\n    else {\n      __overflow(p_Var1,(uint)param_3);\n    }\n  }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n    p_Var1 = *(_IO_FILE **)puVar3;\n    pbVar2 = (byte *)p_Var1->_IO_write_ptr;\n    if (pbVar2 < p_Var1->_IO_write_end) {\n      p_Var1->_IO_write_ptr = (char *)(pbVar2 + 1);\n      *pbVar2 = param_3;\n    }\n    else {\n      __overflow(p_Var1,(uint)param_3);\n    }\n  }" { (expression_statement "p_Var1 = *(_IO_FILE **)puVar3;" (assignment_expression "p_Var1 = *(_IO_FILE **)puVar3" identifier = (pointer_expression "*(_IO_FILE **)puVar3" * (cast_expression "(_IO_FILE **)puVar3" ( (type_descriptor "_IO_FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "pbVar2 = (byte *)p_Var1->_IO_write_ptr;" (assignment_expression "pbVar2 = (byte *)p_Var1->_IO_write_ptr" identifier = (cast_expression "(byte *)p_Var1->_IO_write_ptr" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "p_Var1->_IO_write_ptr" identifier -> field_identifier))) ;) (if_statement "if (pbVar2 < p_Var1->_IO_write_end) {\n      p_Var1->_IO_write_ptr = (char *)(pbVar2 + 1);\n      *pbVar2 = param_3;\n    }\n    else {\n      __overflow(p_Var1,(uint)param_3);\n    }" if (parenthesized_expression "(pbVar2 < p_Var1->_IO_write_end)" ( (binary_expression "pbVar2 < p_Var1->_IO_write_end" identifier < (field_expression "p_Var1->_IO_write_end" identifier -> field_identifier)) )) (compound_statement "{\n      p_Var1->_IO_write_ptr = (char *)(pbVar2 + 1);\n      *pbVar2 = param_3;\n    }" { (expression_statement "p_Var1->_IO_write_ptr = (char *)(pbVar2 + 1);" (assignment_expression "p_Var1->_IO_write_ptr = (char *)(pbVar2 + 1)" (field_expression "p_Var1->_IO_write_ptr" identifier -> field_identifier) = (cast_expression "(char *)(pbVar2 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar2 + 1)" ( (binary_expression "pbVar2 + 1" identifier + number_literal) )))) ;) (expression_statement "*pbVar2 = param_3;" (assignment_expression "*pbVar2 = param_3" (pointer_expression "*pbVar2" * identifier) = identifier) ;) }) (else_clause "else {\n      __overflow(p_Var1,(uint)param_3);\n    }" else (compound_statement "{\n      __overflow(p_Var1,(uint)param_3);\n    }" { (expression_statement "__overflow(p_Var1,(uint)param_3);" (call_expression "__overflow(p_Var1,(uint)param_3)" identifier (argument_list "(p_Var1,(uint)param_3)" ( identifier , (cast_expression "(uint)param_3" ( (type_descriptor "uint" type_identifier) ) identifier) ))) ;) }))) })) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "FUN_0001ded0();" (call_expression "FUN_0001ded0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid format_address_label(uintmax_t address,char c)\n\n{\n  int iVar1;\n  _IO_FILE *p_Var2;\n  ulonglong uVar3;\n  ulonglong uVar4;\n  ulonglong uVar5;\n  uintmax_t uVar6;\n  longlong lVar7;\n  undefined *puVar8;\n  char cVar9;\n  char *pcVar10;\n  uint uVar11;\n  int iVar12;\n  int in_GS_OFFSET;\n  char *local_44;\n  char buf [25];\n  \n  local_44 = buf + 0x17;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  pcVar10 = local_44 + -address_pad_len;\n  buf[0x17] = ' ';\n  buf[0x18] = '\0';\n  uVar6 = address;\n  if (address_base == 10) {\n    do {\n      iVar12 = (int)(uVar6 >> 0x20);\n      uVar11 = (uint)uVar6;\n      local_44 = local_44 + -1;\n      cVar9 = __umoddi3(uVar6,10,0);\n      *local_44 = cVar9 + '0';\n      uVar6 = __udivdi3(uVar6,10,0);\n    } while (iVar12 != 0 || (uint)-iVar12 < (uint)(9 < uVar11));\n  }\n  else {\n    uVar3 = address;\n    if (address_base == 0x10) {\n      do {\n        uVar11 = (uint)uVar3;\n        uVar5 = uVar3 & 0xf0000000f;\n        uVar4 = uVar3 >> 4;\n        local_44 = local_44 + -1;\n        *local_44 = "0123456789abcdef"[(int)uVar5];\n        uVar3 = uVar3 >> 4;\n      } while ((int)(uVar4 >> 0x20) != 0 || (uVar11 >> 4 != 0 || (int)(uVar5 >> 0x20) != 0));\n    }\n    else if (address_base == 8) {\n      do {\n        uVar11 = (uint)uVar3;\n        uVar5 = uVar3 & 0x700000000;\n        uVar4 = uVar3 >> 3;\n        local_44 = local_44 + -1;\n        *local_44 = ((byte)uVar3 & 7) + 0x30;\n        uVar3 = uVar3 >> 3;\n      } while ((int)(uVar4 >> 0x20) != 0 || (uVar11 >> 3 != 0 || uVar5 != 0));\n    }\n  }\n  if (pcVar10 < local_44) {\n    memset(pcVar10,0x30,(int)local_44 - (int)pcVar10);\n    local_44 = pcVar10;\n  }\n  puVar8 = PTR_stdout_00025fd4;\n  fputs_unlocked(local_44,*(FILE **)PTR_stdout_00025fd4);\n  lVar7 = CONCAT44(pseudo_offset._4_4_,(undefined4)pseudo_offset);\n  p_Var2 = *(_IO_FILE **)puVar8;\n  pcVar10 = p_Var2->_IO_write_ptr;\n  if (pcVar10 < p_Var2->_IO_write_end) {\n    p_Var2->_IO_write_ptr = pcVar10 + 1;\n    *pcVar10 = '(';\n  }\n  else {\n    __overflow(p_Var2,0x28);\n  }\n  format_address_std(address + lVar7,')');\n  if (c != '\0') {\n    p_Var2 = *(_IO_FILE **)puVar8;\n    pcVar10 = p_Var2->_IO_write_ptr;\n    if (pcVar10 < p_Var2->_IO_write_end) {\n      p_Var2->_IO_write_ptr = pcVar10 + 1;\n      *pcVar10 = c;\n    }\n    else {\n      __overflow(p_Var2,(uint)(byte)c);\n    }\n  }\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment comment (function_definition "void format_address_label(uintmax_t address,char c)\n\n{\n  int iVar1;\n  _IO_FILE *p_Var2;\n  ulonglong uVar3;\n  ulonglong uVar4;\n  ulonglong uVar5;\n  uintmax_t uVar6;\n  longlong lVar7;\n  undefined *puVar8;\n  char cVar9;\n  char *pcVar10;\n  uint uVar11;\n  int iVar12;\n  int in_GS_OFFSET;\n  char *local_44;\n  char buf [25];\n  \n  local_44 = buf + 0x17;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  pcVar10 = local_44 + -address_pad_len;\n  buf[0x17] = ' ';\n  buf[0x18] = '\0';\n  uVar6 = address;\n  if (address_base == 10) {\n    do {\n      iVar12 = (int)(uVar6 >> 0x20);\n      uVar11 = (uint)uVar6;\n      local_44 = local_44 + -1;\n      cVar9 = __umoddi3(uVar6,10,0);\n      *local_44 = cVar9 + '0';\n      uVar6 = __udivdi3(uVar6,10,0);\n    } while (iVar12 != 0 || (uint)-iVar12 < (uint)(9 < uVar11));\n  }\n  else {\n    uVar3 = address;\n    if (address_base == 0x10) {\n      do {\n        uVar11 = (uint)uVar3;\n        uVar5 = uVar3 & 0xf0000000f;\n        uVar4 = uVar3 >> 4;\n        local_44 = local_44 + -1;\n        *local_44 = "0123456789abcdef"[(int)uVar5];\n        uVar3 = uVar3 >> 4;\n      } while ((int)(uVar4 >> 0x20) != 0 || (uVar11 >> 4 != 0 || (int)(uVar5 >> 0x20) != 0));\n    }\n    else if (address_base == 8) {\n      do {\n        uVar11 = (uint)uVar3;\n        uVar5 = uVar3 & 0x700000000;\n        uVar4 = uVar3 >> 3;\n        local_44 = local_44 + -1;\n        *local_44 = ((byte)uVar3 & 7) + 0x30;\n        uVar3 = uVar3 >> 3;\n      } while ((int)(uVar4 >> 0x20) != 0 || (uVar11 >> 3 != 0 || uVar5 != 0));\n    }\n  }\n  if (pcVar10 < local_44) {\n    memset(pcVar10,0x30,(int)local_44 - (int)pcVar10);\n    local_44 = pcVar10;\n  }\n  puVar8 = PTR_stdout_00025fd4;\n  fputs_unlocked(local_44,*(FILE **)PTR_stdout_00025fd4);\n  lVar7 = CONCAT44(pseudo_offset._4_4_,(undefined4)pseudo_offset);\n  p_Var2 = *(_IO_FILE **)puVar8;\n  pcVar10 = p_Var2->_IO_write_ptr;\n  if (pcVar10 < p_Var2->_IO_write_end) {\n    p_Var2->_IO_write_ptr = pcVar10 + 1;\n    *pcVar10 = '(';\n  }\n  else {\n    __overflow(p_Var2,0x28);\n  }\n  format_address_std(address + lVar7,')');\n  if (c != '\0') {\n    p_Var2 = *(_IO_FILE **)puVar8;\n    pcVar10 = p_Var2->_IO_write_ptr;\n    if (pcVar10 < p_Var2->_IO_write_end) {\n      p_Var2->_IO_write_ptr = pcVar10 + 1;\n      *pcVar10 = c;\n    }\n    else {\n      __overflow(p_Var2,(uint)(byte)c);\n    }\n  }\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" primitive_type (function_declarator "format_address_label(uintmax_t address,char c)" identifier (parameter_list "(uintmax_t address,char c)" ( (parameter_declaration "uintmax_t address" type_identifier identifier) , (parameter_declaration "char c" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  _IO_FILE *p_Var2;\n  ulonglong uVar3;\n  ulonglong uVar4;\n  ulonglong uVar5;\n  uintmax_t uVar6;\n  longlong lVar7;\n  undefined *puVar8;\n  char cVar9;\n  char *pcVar10;\n  uint uVar11;\n  int iVar12;\n  int in_GS_OFFSET;\n  char *local_44;\n  char buf [25];\n  \n  local_44 = buf + 0x17;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  pcVar10 = local_44 + -address_pad_len;\n  buf[0x17] = ' ';\n  buf[0x18] = '\0';\n  uVar6 = address;\n  if (address_base == 10) {\n    do {\n      iVar12 = (int)(uVar6 >> 0x20);\n      uVar11 = (uint)uVar6;\n      local_44 = local_44 + -1;\n      cVar9 = __umoddi3(uVar6,10,0);\n      *local_44 = cVar9 + '0';\n      uVar6 = __udivdi3(uVar6,10,0);\n    } while (iVar12 != 0 || (uint)-iVar12 < (uint)(9 < uVar11));\n  }\n  else {\n    uVar3 = address;\n    if (address_base == 0x10) {\n      do {\n        uVar11 = (uint)uVar3;\n        uVar5 = uVar3 & 0xf0000000f;\n        uVar4 = uVar3 >> 4;\n        local_44 = local_44 + -1;\n        *local_44 = "0123456789abcdef"[(int)uVar5];\n        uVar3 = uVar3 >> 4;\n      } while ((int)(uVar4 >> 0x20) != 0 || (uVar11 >> 4 != 0 || (int)(uVar5 >> 0x20) != 0));\n    }\n    else if (address_base == 8) {\n      do {\n        uVar11 = (uint)uVar3;\n        uVar5 = uVar3 & 0x700000000;\n        uVar4 = uVar3 >> 3;\n        local_44 = local_44 + -1;\n        *local_44 = ((byte)uVar3 & 7) + 0x30;\n        uVar3 = uVar3 >> 3;\n      } while ((int)(uVar4 >> 0x20) != 0 || (uVar11 >> 3 != 0 || uVar5 != 0));\n    }\n  }\n  if (pcVar10 < local_44) {\n    memset(pcVar10,0x30,(int)local_44 - (int)pcVar10);\n    local_44 = pcVar10;\n  }\n  puVar8 = PTR_stdout_00025fd4;\n  fputs_unlocked(local_44,*(FILE **)PTR_stdout_00025fd4);\n  lVar7 = CONCAT44(pseudo_offset._4_4_,(undefined4)pseudo_offset);\n  p_Var2 = *(_IO_FILE **)puVar8;\n  pcVar10 = p_Var2->_IO_write_ptr;\n  if (pcVar10 < p_Var2->_IO_write_end) {\n    p_Var2->_IO_write_ptr = pcVar10 + 1;\n    *pcVar10 = '(';\n  }\n  else {\n    __overflow(p_Var2,0x28);\n  }\n  format_address_std(address + lVar7,')');\n  if (c != '\0') {\n    p_Var2 = *(_IO_FILE **)puVar8;\n    pcVar10 = p_Var2->_IO_write_ptr;\n    if (pcVar10 < p_Var2->_IO_write_end) {\n      p_Var2->_IO_write_ptr = pcVar10 + 1;\n      *pcVar10 = c;\n    }\n    else {\n      __overflow(p_Var2,(uint)(byte)c);\n    }\n  }\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "_IO_FILE *p_Var2;" type_identifier (pointer_declarator "*p_Var2" * identifier) ;) (declaration "ulonglong uVar3;" type_identifier identifier ;) (declaration "ulonglong uVar4;" type_identifier identifier ;) (declaration "ulonglong uVar5;" type_identifier identifier ;) (declaration "uintmax_t uVar6;" type_identifier identifier ;) (declaration "longlong lVar7;" type_identifier identifier ;) (declaration "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "char cVar9;" primitive_type identifier ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "char *local_44;" primitive_type (pointer_declarator "*local_44" * identifier) ;) (declaration "char buf [25];" primitive_type (array_declarator "buf [25]" identifier [ number_literal ]) ;) (expression_statement "local_44 = buf + 0x17;" (assignment_expression "local_44 = buf + 0x17" identifier = (binary_expression "buf + 0x17" identifier + number_literal)) ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "pcVar10 = local_44 + -address_pad_len;" (assignment_expression "pcVar10 = local_44 + -address_pad_len" identifier = (binary_expression "local_44 + -address_pad_len" identifier + (unary_expression "-address_pad_len" - identifier))) ;) (expression_statement "buf[0x17] = ' ';" (assignment_expression "buf[0x17] = ' '" (subscript_expression "buf[0x17]" identifier [ number_literal ]) = (char_literal "' '" ' character ')) ;) (expression_statement "buf[0x18] = '\0';" (assignment_expression "buf[0x18] = '\0'" (subscript_expression "buf[0x18]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "uVar6 = address;" (assignment_expression "uVar6 = address" identifier = identifier) ;) (if_statement "if (address_base == 10) {\n    do {\n      iVar12 = (int)(uVar6 >> 0x20);\n      uVar11 = (uint)uVar6;\n      local_44 = local_44 + -1;\n      cVar9 = __umoddi3(uVar6,10,0);\n      *local_44 = cVar9 + '0';\n      uVar6 = __udivdi3(uVar6,10,0);\n    } while (iVar12 != 0 || (uint)-iVar12 < (uint)(9 < uVar11));\n  }\n  else {\n    uVar3 = address;\n    if (address_base == 0x10) {\n      do {\n        uVar11 = (uint)uVar3;\n        uVar5 = uVar3 & 0xf0000000f;\n        uVar4 = uVar3 >> 4;\n        local_44 = local_44 + -1;\n        *local_44 = "0123456789abcdef"[(int)uVar5];\n        uVar3 = uVar3 >> 4;\n      } while ((int)(uVar4 >> 0x20) != 0 || (uVar11 >> 4 != 0 || (int)(uVar5 >> 0x20) != 0));\n    }\n    else if (address_base == 8) {\n      do {\n        uVar11 = (uint)uVar3;\n        uVar5 = uVar3 & 0x700000000;\n        uVar4 = uVar3 >> 3;\n        local_44 = local_44 + -1;\n        *local_44 = ((byte)uVar3 & 7) + 0x30;\n        uVar3 = uVar3 >> 3;\n      } while ((int)(uVar4 >> 0x20) != 0 || (uVar11 >> 3 != 0 || uVar5 != 0));\n    }\n  }" if (parenthesized_expression "(address_base == 10)" ( (binary_expression "address_base == 10" identifier == number_literal) )) (compound_statement "{\n    do {\n      iVar12 = (int)(uVar6 >> 0x20);\n      uVar11 = (uint)uVar6;\n      local_44 = local_44 + -1;\n      cVar9 = __umoddi3(uVar6,10,0);\n      *local_44 = cVar9 + '0';\n      uVar6 = __udivdi3(uVar6,10,0);\n    } while (iVar12 != 0 || (uint)-iVar12 < (uint)(9 < uVar11));\n  }" { (do_statement "do {\n      iVar12 = (int)(uVar6 >> 0x20);\n      uVar11 = (uint)uVar6;\n      local_44 = local_44 + -1;\n      cVar9 = __umoddi3(uVar6,10,0);\n      *local_44 = cVar9 + '0';\n      uVar6 = __udivdi3(uVar6,10,0);\n    } while (iVar12 != 0 || (uint)-iVar12 < (uint)(9 < uVar11));" do (compound_statement "{\n      iVar12 = (int)(uVar6 >> 0x20);\n      uVar11 = (uint)uVar6;\n      local_44 = local_44 + -1;\n      cVar9 = __umoddi3(uVar6,10,0);\n      *local_44 = cVar9 + '0';\n      uVar6 = __udivdi3(uVar6,10,0);\n    }" { (expression_statement "iVar12 = (int)(uVar6 >> 0x20);" (assignment_expression "iVar12 = (int)(uVar6 >> 0x20)" identifier = (cast_expression "(int)(uVar6 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar6 >> 0x20)" ( (binary_expression "uVar6 >> 0x20" identifier >> number_literal) )))) ;) (expression_statement "uVar11 = (uint)uVar6;" (assignment_expression "uVar11 = (uint)uVar6" identifier = (cast_expression "(uint)uVar6" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "local_44 = local_44 + -1;" (assignment_expression "local_44 = local_44 + -1" identifier = (binary_expression "local_44 + -1" identifier + number_literal)) ;) (expression_statement "cVar9 = __umoddi3(uVar6,10,0);" (assignment_expression "cVar9 = __umoddi3(uVar6,10,0)" identifier = (call_expression "__umoddi3(uVar6,10,0)" identifier (argument_list "(uVar6,10,0)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "*local_44 = cVar9 + '0';" (assignment_expression "*local_44 = cVar9 + '0'" (pointer_expression "*local_44" * identifier) = (binary_expression "cVar9 + '0'" identifier + (char_literal "'0'" ' character '))) ;) (expression_statement "uVar6 = __udivdi3(uVar6,10,0);" (assignment_expression "uVar6 = __udivdi3(uVar6,10,0)" identifier = (call_expression "__udivdi3(uVar6,10,0)" identifier (argument_list "(uVar6,10,0)" ( identifier , number_literal , number_literal )))) ;) }) while (parenthesized_expression "(iVar12 != 0 || (uint)-iVar12 < (uint)(9 < uVar11))" ( (binary_expression "iVar12 != 0 || (uint)-iVar12 < (uint)(9 < uVar11)" (binary_expression "iVar12 != 0" identifier != number_literal) || (binary_expression "(uint)-iVar12 < (uint)(9 < uVar11)" (binary_expression "(uint)-iVar12" (parenthesized_expression "(uint)" ( identifier )) - identifier) < (call_expression "(uint)(9 < uVar11)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(9 < uVar11)" ( (binary_expression "9 < uVar11" number_literal < identifier) ))))) )) ;) }) (else_clause "else {\n    uVar3 = address;\n    if (address_base == 0x10) {\n      do {\n        uVar11 = (uint)uVar3;\n        uVar5 = uVar3 & 0xf0000000f;\n        uVar4 = uVar3 >> 4;\n        local_44 = local_44 + -1;\n        *local_44 = "0123456789abcdef"[(int)uVar5];\n        uVar3 = uVar3 >> 4;\n      } while ((int)(uVar4 >> 0x20) != 0 || (uVar11 >> 4 != 0 || (int)(uVar5 >> 0x20) != 0));\n    }\n    else if (address_base == 8) {\n      do {\n        uVar11 = (uint)uVar3;\n        uVar5 = uVar3 & 0x700000000;\n        uVar4 = uVar3 >> 3;\n        local_44 = local_44 + -1;\n        *local_44 = ((byte)uVar3 & 7) + 0x30;\n        uVar3 = uVar3 >> 3;\n      } while ((int)(uVar4 >> 0x20) != 0 || (uVar11 >> 3 != 0 || uVar5 != 0));\n    }\n  }" else (compound_statement "{\n    uVar3 = address;\n    if (address_base == 0x10) {\n      do {\n        uVar11 = (uint)uVar3;\n        uVar5 = uVar3 & 0xf0000000f;\n        uVar4 = uVar3 >> 4;\n        local_44 = local_44 + -1;\n        *local_44 = "0123456789abcdef"[(int)uVar5];\n        uVar3 = uVar3 >> 4;\n      } while ((int)(uVar4 >> 0x20) != 0 || (uVar11 >> 4 != 0 || (int)(uVar5 >> 0x20) != 0));\n    }\n    else if (address_base == 8) {\n      do {\n        uVar11 = (uint)uVar3;\n        uVar5 = uVar3 & 0x700000000;\n        uVar4 = uVar3 >> 3;\n        local_44 = local_44 + -1;\n        *local_44 = ((byte)uVar3 & 7) + 0x30;\n        uVar3 = uVar3 >> 3;\n      } while ((int)(uVar4 >> 0x20) != 0 || (uVar11 >> 3 != 0 || uVar5 != 0));\n    }\n  }" { (expression_statement "uVar3 = address;" (assignment_expression "uVar3 = address" identifier = identifier) ;) (if_statement "if (address_base == 0x10) {\n      do {\n        uVar11 = (uint)uVar3;\n        uVar5 = uVar3 & 0xf0000000f;\n        uVar4 = uVar3 >> 4;\n        local_44 = local_44 + -1;\n        *local_44 = "0123456789abcdef"[(int)uVar5];\n        uVar3 = uVar3 >> 4;\n      } while ((int)(uVar4 >> 0x20) != 0 || (uVar11 >> 4 != 0 || (int)(uVar5 >> 0x20) != 0));\n    }\n    else if (address_base == 8) {\n      do {\n        uVar11 = (uint)uVar3;\n        uVar5 = uVar3 & 0x700000000;\n        uVar4 = uVar3 >> 3;\n        local_44 = local_44 + -1;\n        *local_44 = ((byte)uVar3 & 7) + 0x30;\n        uVar3 = uVar3 >> 3;\n      } while ((int)(uVar4 >> 0x20) != 0 || (uVar11 >> 3 != 0 || uVar5 != 0));\n    }" if (parenthesized_expression "(address_base == 0x10)" ( (binary_expression "address_base == 0x10" identifier == number_literal) )) (compound_statement "{\n      do {\n        uVar11 = (uint)uVar3;\n        uVar5 = uVar3 & 0xf0000000f;\n        uVar4 = uVar3 >> 4;\n        local_44 = local_44 + -1;\n        *local_44 = "0123456789abcdef"[(int)uVar5];\n        uVar3 = uVar3 >> 4;\n      } while ((int)(uVar4 >> 0x20) != 0 || (uVar11 >> 4 != 0 || (int)(uVar5 >> 0x20) != 0));\n    }" { (do_statement "do {\n        uVar11 = (uint)uVar3;\n        uVar5 = uVar3 & 0xf0000000f;\n        uVar4 = uVar3 >> 4;\n        local_44 = local_44 + -1;\n        *local_44 = "0123456789abcdef"[(int)uVar5];\n        uVar3 = uVar3 >> 4;\n      } while ((int)(uVar4 >> 0x20) != 0 || (uVar11 >> 4 != 0 || (int)(uVar5 >> 0x20) != 0));" do (compound_statement "{\n        uVar11 = (uint)uVar3;\n        uVar5 = uVar3 & 0xf0000000f;\n        uVar4 = uVar3 >> 4;\n        local_44 = local_44 + -1;\n        *local_44 = "0123456789abcdef"[(int)uVar5];\n        uVar3 = uVar3 >> 4;\n      }" { (expression_statement "uVar11 = (uint)uVar3;" (assignment_expression "uVar11 = (uint)uVar3" identifier = (cast_expression "(uint)uVar3" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "uVar5 = uVar3 & 0xf0000000f;" (assignment_expression "uVar5 = uVar3 & 0xf0000000f" identifier = (binary_expression "uVar3 & 0xf0000000f" identifier & number_literal)) ;) (expression_statement "uVar4 = uVar3 >> 4;" (assignment_expression "uVar4 = uVar3 >> 4" identifier = (binary_expression "uVar3 >> 4" identifier >> number_literal)) ;) (expression_statement "local_44 = local_44 + -1;" (assignment_expression "local_44 = local_44 + -1" identifier = (binary_expression "local_44 + -1" identifier + number_literal)) ;) (expression_statement "*local_44 = "0123456789abcdef"[(int)uVar5];" (assignment_expression "*local_44 = "0123456789abcdef"[(int)uVar5]" (pointer_expression "*local_44" * identifier) = (subscript_expression ""0123456789abcdef"[(int)uVar5]" (string_literal ""0123456789abcdef"" " string_content ") [ (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) ])) ;) (expression_statement "uVar3 = uVar3 >> 4;" (assignment_expression "uVar3 = uVar3 >> 4" identifier = (binary_expression "uVar3 >> 4" identifier >> number_literal)) ;) }) while (parenthesized_expression "((int)(uVar4 >> 0x20) != 0 || (uVar11 >> 4 != 0 || (int)(uVar5 >> 0x20) != 0))" ( (binary_expression "(int)(uVar4 >> 0x20) != 0 || (uVar11 >> 4 != 0 || (int)(uVar5 >> 0x20) != 0)" (binary_expression "(int)(uVar4 >> 0x20) != 0" (cast_expression "(int)(uVar4 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar4 >> 0x20)" ( (binary_expression "uVar4 >> 0x20" identifier >> number_literal) ))) != number_literal) || (parenthesized_expression "(uVar11 >> 4 != 0 || (int)(uVar5 >> 0x20) != 0)" ( (binary_expression "uVar11 >> 4 != 0 || (int)(uVar5 >> 0x20) != 0" (binary_expression "uVar11 >> 4 != 0" (binary_expression "uVar11 >> 4" identifier >> number_literal) != number_literal) || (binary_expression "(int)(uVar5 >> 0x20) != 0" (cast_expression "(int)(uVar5 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar5 >> 0x20)" ( (binary_expression "uVar5 >> 0x20" identifier >> number_literal) ))) != number_literal)) ))) )) ;) }) (else_clause "else if (address_base == 8) {\n      do {\n        uVar11 = (uint)uVar3;\n        uVar5 = uVar3 & 0x700000000;\n        uVar4 = uVar3 >> 3;\n        local_44 = local_44 + -1;\n        *local_44 = ((byte)uVar3 & 7) + 0x30;\n        uVar3 = uVar3 >> 3;\n      } while ((int)(uVar4 >> 0x20) != 0 || (uVar11 >> 3 != 0 || uVar5 != 0));\n    }" else (if_statement "if (address_base == 8) {\n      do {\n        uVar11 = (uint)uVar3;\n        uVar5 = uVar3 & 0x700000000;\n        uVar4 = uVar3 >> 3;\n        local_44 = local_44 + -1;\n        *local_44 = ((byte)uVar3 & 7) + 0x30;\n        uVar3 = uVar3 >> 3;\n      } while ((int)(uVar4 >> 0x20) != 0 || (uVar11 >> 3 != 0 || uVar5 != 0));\n    }" if (parenthesized_expression "(address_base == 8)" ( (binary_expression "address_base == 8" identifier == number_literal) )) (compound_statement "{\n      do {\n        uVar11 = (uint)uVar3;\n        uVar5 = uVar3 & 0x700000000;\n        uVar4 = uVar3 >> 3;\n        local_44 = local_44 + -1;\n        *local_44 = ((byte)uVar3 & 7) + 0x30;\n        uVar3 = uVar3 >> 3;\n      } while ((int)(uVar4 >> 0x20) != 0 || (uVar11 >> 3 != 0 || uVar5 != 0));\n    }" { (do_statement "do {\n        uVar11 = (uint)uVar3;\n        uVar5 = uVar3 & 0x700000000;\n        uVar4 = uVar3 >> 3;\n        local_44 = local_44 + -1;\n        *local_44 = ((byte)uVar3 & 7) + 0x30;\n        uVar3 = uVar3 >> 3;\n      } while ((int)(uVar4 >> 0x20) != 0 || (uVar11 >> 3 != 0 || uVar5 != 0));" do (compound_statement "{\n        uVar11 = (uint)uVar3;\n        uVar5 = uVar3 & 0x700000000;\n        uVar4 = uVar3 >> 3;\n        local_44 = local_44 + -1;\n        *local_44 = ((byte)uVar3 & 7) + 0x30;\n        uVar3 = uVar3 >> 3;\n      }" { (expression_statement "uVar11 = (uint)uVar3;" (assignment_expression "uVar11 = (uint)uVar3" identifier = (cast_expression "(uint)uVar3" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "uVar5 = uVar3 & 0x700000000;" (assignment_expression "uVar5 = uVar3 & 0x700000000" identifier = (binary_expression "uVar3 & 0x700000000" identifier & number_literal)) ;) (expression_statement "uVar4 = uVar3 >> 3;" (assignment_expression "uVar4 = uVar3 >> 3" identifier = (binary_expression "uVar3 >> 3" identifier >> number_literal)) ;) (expression_statement "local_44 = local_44 + -1;" (assignment_expression "local_44 = local_44 + -1" identifier = (binary_expression "local_44 + -1" identifier + number_literal)) ;) (expression_statement "*local_44 = ((byte)uVar3 & 7) + 0x30;" (assignment_expression "*local_44 = ((byte)uVar3 & 7) + 0x30" (pointer_expression "*local_44" * identifier) = (binary_expression "((byte)uVar3 & 7) + 0x30" (parenthesized_expression "((byte)uVar3 & 7)" ( (binary_expression "(byte)uVar3 & 7" (cast_expression "(byte)uVar3" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )) + number_literal)) ;) (expression_statement "uVar3 = uVar3 >> 3;" (assignment_expression "uVar3 = uVar3 >> 3" identifier = (binary_expression "uVar3 >> 3" identifier >> number_literal)) ;) }) while (parenthesized_expression "((int)(uVar4 >> 0x20) != 0 || (uVar11 >> 3 != 0 || uVar5 != 0))" ( (binary_expression "(int)(uVar4 >> 0x20) != 0 || (uVar11 >> 3 != 0 || uVar5 != 0)" (binary_expression "(int)(uVar4 >> 0x20) != 0" (cast_expression "(int)(uVar4 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar4 >> 0x20)" ( (binary_expression "uVar4 >> 0x20" identifier >> number_literal) ))) != number_literal) || (parenthesized_expression "(uVar11 >> 3 != 0 || uVar5 != 0)" ( (binary_expression "uVar11 >> 3 != 0 || uVar5 != 0" (binary_expression "uVar11 >> 3 != 0" (binary_expression "uVar11 >> 3" identifier >> number_literal) != number_literal) || (binary_expression "uVar5 != 0" identifier != number_literal)) ))) )) ;) })))) }))) (if_statement "if (pcVar10 < local_44) {\n    memset(pcVar10,0x30,(int)local_44 - (int)pcVar10);\n    local_44 = pcVar10;\n  }" if (parenthesized_expression "(pcVar10 < local_44)" ( (binary_expression "pcVar10 < local_44" identifier < identifier) )) (compound_statement "{\n    memset(pcVar10,0x30,(int)local_44 - (int)pcVar10);\n    local_44 = pcVar10;\n  }" { (expression_statement "memset(pcVar10,0x30,(int)local_44 - (int)pcVar10);" (call_expression "memset(pcVar10,0x30,(int)local_44 - (int)pcVar10)" identifier (argument_list "(pcVar10,0x30,(int)local_44 - (int)pcVar10)" ( identifier , number_literal , (binary_expression "(int)local_44 - (int)pcVar10" (cast_expression "(int)local_44" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ;) (expression_statement "local_44 = pcVar10;" (assignment_expression "local_44 = pcVar10" identifier = identifier) ;) })) (expression_statement "puVar8 = PTR_stdout_00025fd4;" (assignment_expression "puVar8 = PTR_stdout_00025fd4" identifier = identifier) ;) (expression_statement "fputs_unlocked(local_44,*(FILE **)PTR_stdout_00025fd4);" (call_expression "fputs_unlocked(local_44,*(FILE **)PTR_stdout_00025fd4)" identifier (argument_list "(local_44,*(FILE **)PTR_stdout_00025fd4)" ( identifier , (pointer_expression "*(FILE **)PTR_stdout_00025fd4" * (cast_expression "(FILE **)PTR_stdout_00025fd4" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "lVar7 = CONCAT44(pseudo_offset._4_4_,(undefined4)pseudo_offset);" (assignment_expression "lVar7 = CONCAT44(pseudo_offset._4_4_,(undefined4)pseudo_offset)" identifier = (call_expression "CONCAT44(pseudo_offset._4_4_,(undefined4)pseudo_offset)" identifier (argument_list "(pseudo_offset._4_4_,(undefined4)pseudo_offset)" ( (field_expression "pseudo_offset._4_4_" identifier . field_identifier) , (cast_expression "(undefined4)pseudo_offset" ( (type_descriptor "undefined4" type_identifier) ) identifier) )))) ;) (expression_statement "p_Var2 = *(_IO_FILE **)puVar8;" (assignment_expression "p_Var2 = *(_IO_FILE **)puVar8" identifier = (pointer_expression "*(_IO_FILE **)puVar8" * (cast_expression "(_IO_FILE **)puVar8" ( (type_descriptor "_IO_FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "pcVar10 = p_Var2->_IO_write_ptr;" (assignment_expression "pcVar10 = p_Var2->_IO_write_ptr" identifier = (field_expression "p_Var2->_IO_write_ptr" identifier -> field_identifier)) ;) (if_statement "if (pcVar10 < p_Var2->_IO_write_end) {\n    p_Var2->_IO_write_ptr = pcVar10 + 1;\n    *pcVar10 = '(';\n  }\n  else {\n    __overflow(p_Var2,0x28);\n  }" if (parenthesized_expression "(pcVar10 < p_Var2->_IO_write_end)" ( (binary_expression "pcVar10 < p_Var2->_IO_write_end" identifier < (field_expression "p_Var2->_IO_write_end" identifier -> field_identifier)) )) (compound_statement "{\n    p_Var2->_IO_write_ptr = pcVar10 + 1;\n    *pcVar10 = '(';\n  }" { (expression_statement "p_Var2->_IO_write_ptr = pcVar10 + 1;" (assignment_expression "p_Var2->_IO_write_ptr = pcVar10 + 1" (field_expression "p_Var2->_IO_write_ptr" identifier -> field_identifier) = (binary_expression "pcVar10 + 1" identifier + number_literal)) ;) (expression_statement "*pcVar10 = '(';" (assignment_expression "*pcVar10 = '('" (pointer_expression "*pcVar10" * identifier) = (char_literal "'('" ' character ')) ;) }) (else_clause "else {\n    __overflow(p_Var2,0x28);\n  }" else (compound_statement "{\n    __overflow(p_Var2,0x28);\n  }" { (expression_statement "__overflow(p_Var2,0x28);" (call_expression "__overflow(p_Var2,0x28)" identifier (argument_list "(p_Var2,0x28)" ( identifier , number_literal ))) ;) }))) (expression_statement "format_address_std(address + lVar7,')');" (call_expression "format_address_std(address + lVar7,')')" identifier (argument_list "(address + lVar7,')')" ( (binary_expression "address + lVar7" identifier + identifier) , (char_literal "')'" ' character ') ))) ;) (if_statement "if (c != '\0') {\n    p_Var2 = *(_IO_FILE **)puVar8;\n    pcVar10 = p_Var2->_IO_write_ptr;\n    if (pcVar10 < p_Var2->_IO_write_end) {\n      p_Var2->_IO_write_ptr = pcVar10 + 1;\n      *pcVar10 = c;\n    }\n    else {\n      __overflow(p_Var2,(uint)(byte)c);\n    }\n  }" if (parenthesized_expression "(c != '\0')" ( (binary_expression "c != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    p_Var2 = *(_IO_FILE **)puVar8;\n    pcVar10 = p_Var2->_IO_write_ptr;\n    if (pcVar10 < p_Var2->_IO_write_end) {\n      p_Var2->_IO_write_ptr = pcVar10 + 1;\n      *pcVar10 = c;\n    }\n    else {\n      __overflow(p_Var2,(uint)(byte)c);\n    }\n  }" { (expression_statement "p_Var2 = *(_IO_FILE **)puVar8;" (assignment_expression "p_Var2 = *(_IO_FILE **)puVar8" identifier = (pointer_expression "*(_IO_FILE **)puVar8" * (cast_expression "(_IO_FILE **)puVar8" ( (type_descriptor "_IO_FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "pcVar10 = p_Var2->_IO_write_ptr;" (assignment_expression "pcVar10 = p_Var2->_IO_write_ptr" identifier = (field_expression "p_Var2->_IO_write_ptr" identifier -> field_identifier)) ;) (if_statement "if (pcVar10 < p_Var2->_IO_write_end) {\n      p_Var2->_IO_write_ptr = pcVar10 + 1;\n      *pcVar10 = c;\n    }\n    else {\n      __overflow(p_Var2,(uint)(byte)c);\n    }" if (parenthesized_expression "(pcVar10 < p_Var2->_IO_write_end)" ( (binary_expression "pcVar10 < p_Var2->_IO_write_end" identifier < (field_expression "p_Var2->_IO_write_end" identifier -> field_identifier)) )) (compound_statement "{\n      p_Var2->_IO_write_ptr = pcVar10 + 1;\n      *pcVar10 = c;\n    }" { (expression_statement "p_Var2->_IO_write_ptr = pcVar10 + 1;" (assignment_expression "p_Var2->_IO_write_ptr = pcVar10 + 1" (field_expression "p_Var2->_IO_write_ptr" identifier -> field_identifier) = (binary_expression "pcVar10 + 1" identifier + number_literal)) ;) (expression_statement "*pcVar10 = c;" (assignment_expression "*pcVar10 = c" (pointer_expression "*pcVar10" * identifier) = identifier) ;) }) (else_clause "else {\n      __overflow(p_Var2,(uint)(byte)c);\n    }" else (compound_statement "{\n      __overflow(p_Var2,(uint)(byte)c);\n    }" { (expression_statement "__overflow(p_Var2,(uint)(byte)c);" (call_expression "__overflow(p_Var2,(uint)(byte)c)" identifier (argument_list "(p_Var2,(uint)(byte)c)" ( identifier , (cast_expression "(uint)(byte)c" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)c" ( (type_descriptor "byte" type_identifier) ) identifier)) ))) ;) }))) })) (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(iVar1 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void FUN_00015010(uint param_1,uint param_2,byte param_3)\n\n{\n  _IO_FILE *p_Var1;\n  byte *pbVar2;\n  undefined *puVar3;\n  char cVar4;\n  char *pcVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  int iVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  bool bVar11;\n  undefined8 uVar12;\n  char *local_44;\n  char local_23;\n  undefined2 local_22;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uVar12 = CONCAT44(param_2,param_1);\n  uStack_14 = 0x1501e;\n  local_44 = (char *)&local_22;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  pcVar5 = local_44 + -DAT_000262a0;\n  local_22 = 0x20;\n  if (DAT_000262a4 == 10) {\n    do {\n      iVar9 = (int)((ulonglong)uVar12 >> 0x20);\n      uVar6 = (uint)uVar12;\n      local_44 = local_44 + -1;\n      cVar4 = FUN_0001dcf0(uVar12,10,0);\n      *local_44 = cVar4 + '0';\n      uVar12 = FUN_0001dbe0(uVar12,10,0);\n    } while (iVar9 != 0 || (uint)-iVar9 < (uint)(9 < uVar6));\n  }\n  else {\n    uVar6 = param_1;\n    uVar8 = param_2;\n    if (DAT_000262a4 == 0x10) {\n      do {\n        uVar7 = uVar6 >> 4 | uVar8 << 0x1c;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 4;\n        *local_44 = "0123456789abcdef"[uVar6 & 0xf];\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n    else if (DAT_000262a4 == 8) {\n      do {\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n  }\n  if (pcVar5 < local_44) {\n    memset(pcVar5,0x30,(int)local_44 - (int)pcVar5);\n    local_44 = pcVar5;\n  }\n  puVar3 = PTR_stdout_00025fd4;\n  fputs_unlocked(local_44,*(FILE **)PTR_stdout_00025fd4);\n  p_Var1 = *(_IO_FILE **)puVar3;\n  bVar11 = CARRY4(param_1,DAT_00026290);\n  iVar10 = param_1 + DAT_00026290;\n  pcVar5 = p_Var1->_IO_write_ptr;\n  iVar9 = param_2 + DAT_00026294;\n  if (pcVar5 < p_Var1->_IO_write_end) {\n    p_Var1->_IO_write_ptr = pcVar5 + 1;\n    *pcVar5 = '(';\n  }\n  else {\n    __overflow(p_Var1,0x28);\n  }\n  FUN_000129a0(iVar10,iVar9 + (uint)bVar11,0x29);\n  if (param_3 != 0) {\n    p_Var1 = *(_IO_FILE **)puVar3;\n    pbVar2 = (byte *)p_Var1->_IO_write_ptr;\n    if (pbVar2 < p_Var1->_IO_write_end) {\n      p_Var1->_IO_write_ptr = (char *)(pbVar2 + 1);\n      *pbVar2 = param_3;\n    }\n    else {\n      __overflow(p_Var1,(uint)param_3);\n    }\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0001ded0();\n}\n\n" (function_definition "void FUN_00015010(uint param_1,uint param_2,byte param_3)\n\n{\n  _IO_FILE *p_Var1;\n  byte *pbVar2;\n  undefined *puVar3;\n  char cVar4;\n  char *pcVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  int iVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  bool bVar11;\n  undefined8 uVar12;\n  char *local_44;\n  char local_23;\n  undefined2 local_22;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uVar12 = CONCAT44(param_2,param_1);\n  uStack_14 = 0x1501e;\n  local_44 = (char *)&local_22;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  pcVar5 = local_44 + -DAT_000262a0;\n  local_22 = 0x20;\n  if (DAT_000262a4 == 10) {\n    do {\n      iVar9 = (int)((ulonglong)uVar12 >> 0x20);\n      uVar6 = (uint)uVar12;\n      local_44 = local_44 + -1;\n      cVar4 = FUN_0001dcf0(uVar12,10,0);\n      *local_44 = cVar4 + '0';\n      uVar12 = FUN_0001dbe0(uVar12,10,0);\n    } while (iVar9 != 0 || (uint)-iVar9 < (uint)(9 < uVar6));\n  }\n  else {\n    uVar6 = param_1;\n    uVar8 = param_2;\n    if (DAT_000262a4 == 0x10) {\n      do {\n        uVar7 = uVar6 >> 4 | uVar8 << 0x1c;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 4;\n        *local_44 = "0123456789abcdef"[uVar6 & 0xf];\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n    else if (DAT_000262a4 == 8) {\n      do {\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n  }\n  if (pcVar5 < local_44) {\n    memset(pcVar5,0x30,(int)local_44 - (int)pcVar5);\n    local_44 = pcVar5;\n  }\n  puVar3 = PTR_stdout_00025fd4;\n  fputs_unlocked(local_44,*(FILE **)PTR_stdout_00025fd4);\n  p_Var1 = *(_IO_FILE **)puVar3;\n  bVar11 = CARRY4(param_1,DAT_00026290);\n  iVar10 = param_1 + DAT_00026290;\n  pcVar5 = p_Var1->_IO_write_ptr;\n  iVar9 = param_2 + DAT_00026294;\n  if (pcVar5 < p_Var1->_IO_write_end) {\n    p_Var1->_IO_write_ptr = pcVar5 + 1;\n    *pcVar5 = '(';\n  }\n  else {\n    __overflow(p_Var1,0x28);\n  }\n  FUN_000129a0(iVar10,iVar9 + (uint)bVar11,0x29);\n  if (param_3 != 0) {\n    p_Var1 = *(_IO_FILE **)puVar3;\n    pbVar2 = (byte *)p_Var1->_IO_write_ptr;\n    if (pbVar2 < p_Var1->_IO_write_end) {\n      p_Var1->_IO_write_ptr = (char *)(pbVar2 + 1);\n      *pbVar2 = param_3;\n    }\n    else {\n      __overflow(p_Var1,(uint)param_3);\n    }\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0001ded0();\n}" primitive_type (function_declarator "FUN_00015010(uint param_1,uint param_2,byte param_3)" identifier (parameter_list "(uint param_1,uint param_2,byte param_3)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "byte param_3" type_identifier identifier) ))) (compound_statement "{\n  _IO_FILE *p_Var1;\n  byte *pbVar2;\n  undefined *puVar3;\n  char cVar4;\n  char *pcVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  int iVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  bool bVar11;\n  undefined8 uVar12;\n  char *local_44;\n  char local_23;\n  undefined2 local_22;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uVar12 = CONCAT44(param_2,param_1);\n  uStack_14 = 0x1501e;\n  local_44 = (char *)&local_22;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  pcVar5 = local_44 + -DAT_000262a0;\n  local_22 = 0x20;\n  if (DAT_000262a4 == 10) {\n    do {\n      iVar9 = (int)((ulonglong)uVar12 >> 0x20);\n      uVar6 = (uint)uVar12;\n      local_44 = local_44 + -1;\n      cVar4 = FUN_0001dcf0(uVar12,10,0);\n      *local_44 = cVar4 + '0';\n      uVar12 = FUN_0001dbe0(uVar12,10,0);\n    } while (iVar9 != 0 || (uint)-iVar9 < (uint)(9 < uVar6));\n  }\n  else {\n    uVar6 = param_1;\n    uVar8 = param_2;\n    if (DAT_000262a4 == 0x10) {\n      do {\n        uVar7 = uVar6 >> 4 | uVar8 << 0x1c;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 4;\n        *local_44 = "0123456789abcdef"[uVar6 & 0xf];\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n    else if (DAT_000262a4 == 8) {\n      do {\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n  }\n  if (pcVar5 < local_44) {\n    memset(pcVar5,0x30,(int)local_44 - (int)pcVar5);\n    local_44 = pcVar5;\n  }\n  puVar3 = PTR_stdout_00025fd4;\n  fputs_unlocked(local_44,*(FILE **)PTR_stdout_00025fd4);\n  p_Var1 = *(_IO_FILE **)puVar3;\n  bVar11 = CARRY4(param_1,DAT_00026290);\n  iVar10 = param_1 + DAT_00026290;\n  pcVar5 = p_Var1->_IO_write_ptr;\n  iVar9 = param_2 + DAT_00026294;\n  if (pcVar5 < p_Var1->_IO_write_end) {\n    p_Var1->_IO_write_ptr = pcVar5 + 1;\n    *pcVar5 = '(';\n  }\n  else {\n    __overflow(p_Var1,0x28);\n  }\n  FUN_000129a0(iVar10,iVar9 + (uint)bVar11,0x29);\n  if (param_3 != 0) {\n    p_Var1 = *(_IO_FILE **)puVar3;\n    pbVar2 = (byte *)p_Var1->_IO_write_ptr;\n    if (pbVar2 < p_Var1->_IO_write_end) {\n      p_Var1->_IO_write_ptr = (char *)(pbVar2 + 1);\n      *pbVar2 = param_3;\n    }\n    else {\n      __overflow(p_Var1,(uint)param_3);\n    }\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0001ded0();\n}" { (declaration "_IO_FILE *p_Var1;" type_identifier (pointer_declarator "*p_Var1" * identifier) ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "char cVar4;" primitive_type identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar11;" primitive_type identifier ;) (declaration "undefined8 uVar12;" type_identifier identifier ;) (declaration "char *local_44;" primitive_type (pointer_declarator "*local_44" * identifier) ;) (declaration "char local_23;" primitive_type identifier ;) (declaration "undefined2 local_22;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uVar12 = CONCAT44(param_2,param_1);" (assignment_expression "uVar12 = CONCAT44(param_2,param_1)" identifier = (call_expression "CONCAT44(param_2,param_1)" identifier (argument_list "(param_2,param_1)" ( identifier , identifier )))) ;) (expression_statement "uStack_14 = 0x1501e;" (assignment_expression "uStack_14 = 0x1501e" identifier = number_literal) ;) (expression_statement "local_44 = (char *)&local_22;" (assignment_expression "local_44 = (char *)&local_22" identifier = (cast_expression "(char *)&local_22" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_22" & identifier))) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "pcVar5 = local_44 + -DAT_000262a0;" (assignment_expression "pcVar5 = local_44 + -DAT_000262a0" identifier = (binary_expression "local_44 + -DAT_000262a0" identifier + (unary_expression "-DAT_000262a0" - identifier))) ;) (expression_statement "local_22 = 0x20;" (assignment_expression "local_22 = 0x20" identifier = number_literal) ;) (if_statement "if (DAT_000262a4 == 10) {\n    do {\n      iVar9 = (int)((ulonglong)uVar12 >> 0x20);\n      uVar6 = (uint)uVar12;\n      local_44 = local_44 + -1;\n      cVar4 = FUN_0001dcf0(uVar12,10,0);\n      *local_44 = cVar4 + '0';\n      uVar12 = FUN_0001dbe0(uVar12,10,0);\n    } while (iVar9 != 0 || (uint)-iVar9 < (uint)(9 < uVar6));\n  }\n  else {\n    uVar6 = param_1;\n    uVar8 = param_2;\n    if (DAT_000262a4 == 0x10) {\n      do {\n        uVar7 = uVar6 >> 4 | uVar8 << 0x1c;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 4;\n        *local_44 = "0123456789abcdef"[uVar6 & 0xf];\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n    else if (DAT_000262a4 == 8) {\n      do {\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n  }" if (parenthesized_expression "(DAT_000262a4 == 10)" ( (binary_expression "DAT_000262a4 == 10" identifier == number_literal) )) (compound_statement "{\n    do {\n      iVar9 = (int)((ulonglong)uVar12 >> 0x20);\n      uVar6 = (uint)uVar12;\n      local_44 = local_44 + -1;\n      cVar4 = FUN_0001dcf0(uVar12,10,0);\n      *local_44 = cVar4 + '0';\n      uVar12 = FUN_0001dbe0(uVar12,10,0);\n    } while (iVar9 != 0 || (uint)-iVar9 < (uint)(9 < uVar6));\n  }" { (do_statement "do {\n      iVar9 = (int)((ulonglong)uVar12 >> 0x20);\n      uVar6 = (uint)uVar12;\n      local_44 = local_44 + -1;\n      cVar4 = FUN_0001dcf0(uVar12,10,0);\n      *local_44 = cVar4 + '0';\n      uVar12 = FUN_0001dbe0(uVar12,10,0);\n    } while (iVar9 != 0 || (uint)-iVar9 < (uint)(9 < uVar6));" do (compound_statement "{\n      iVar9 = (int)((ulonglong)uVar12 >> 0x20);\n      uVar6 = (uint)uVar12;\n      local_44 = local_44 + -1;\n      cVar4 = FUN_0001dcf0(uVar12,10,0);\n      *local_44 = cVar4 + '0';\n      uVar12 = FUN_0001dbe0(uVar12,10,0);\n    }" { (expression_statement "iVar9 = (int)((ulonglong)uVar12 >> 0x20);" (assignment_expression "iVar9 = (int)((ulonglong)uVar12 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)uVar12 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar12 >> 0x20)" ( (binary_expression "(ulonglong)uVar12 >> 0x20" (cast_expression "(ulonglong)uVar12" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar6 = (uint)uVar12;" (assignment_expression "uVar6 = (uint)uVar12" identifier = (cast_expression "(uint)uVar12" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "local_44 = local_44 + -1;" (assignment_expression "local_44 = local_44 + -1" identifier = (binary_expression "local_44 + -1" identifier + number_literal)) ;) (expression_statement "cVar4 = FUN_0001dcf0(uVar12,10,0);" (assignment_expression "cVar4 = FUN_0001dcf0(uVar12,10,0)" identifier = (call_expression "FUN_0001dcf0(uVar12,10,0)" identifier (argument_list "(uVar12,10,0)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "*local_44 = cVar4 + '0';" (assignment_expression "*local_44 = cVar4 + '0'" (pointer_expression "*local_44" * identifier) = (binary_expression "cVar4 + '0'" identifier + (char_literal "'0'" ' character '))) ;) (expression_statement "uVar12 = FUN_0001dbe0(uVar12,10,0);" (assignment_expression "uVar12 = FUN_0001dbe0(uVar12,10,0)" identifier = (call_expression "FUN_0001dbe0(uVar12,10,0)" identifier (argument_list "(uVar12,10,0)" ( identifier , number_literal , number_literal )))) ;) }) while (parenthesized_expression "(iVar9 != 0 || (uint)-iVar9 < (uint)(9 < uVar6))" ( (binary_expression "iVar9 != 0 || (uint)-iVar9 < (uint)(9 < uVar6)" (binary_expression "iVar9 != 0" identifier != number_literal) || (binary_expression "(uint)-iVar9 < (uint)(9 < uVar6)" (binary_expression "(uint)-iVar9" (parenthesized_expression "(uint)" ( identifier )) - identifier) < (call_expression "(uint)(9 < uVar6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(9 < uVar6)" ( (binary_expression "9 < uVar6" number_literal < identifier) ))))) )) ;) }) (else_clause "else {\n    uVar6 = param_1;\n    uVar8 = param_2;\n    if (DAT_000262a4 == 0x10) {\n      do {\n        uVar7 = uVar6 >> 4 | uVar8 << 0x1c;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 4;\n        *local_44 = "0123456789abcdef"[uVar6 & 0xf];\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n    else if (DAT_000262a4 == 8) {\n      do {\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n  }" else (compound_statement "{\n    uVar6 = param_1;\n    uVar8 = param_2;\n    if (DAT_000262a4 == 0x10) {\n      do {\n        uVar7 = uVar6 >> 4 | uVar8 << 0x1c;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 4;\n        *local_44 = "0123456789abcdef"[uVar6 & 0xf];\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n    else if (DAT_000262a4 == 8) {\n      do {\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n  }" { (expression_statement "uVar6 = param_1;" (assignment_expression "uVar6 = param_1" identifier = identifier) ;) (expression_statement "uVar8 = param_2;" (assignment_expression "uVar8 = param_2" identifier = identifier) ;) (if_statement "if (DAT_000262a4 == 0x10) {\n      do {\n        uVar7 = uVar6 >> 4 | uVar8 << 0x1c;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 4;\n        *local_44 = "0123456789abcdef"[uVar6 & 0xf];\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n    else if (DAT_000262a4 == 8) {\n      do {\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }" if (parenthesized_expression "(DAT_000262a4 == 0x10)" ( (binary_expression "DAT_000262a4 == 0x10" identifier == number_literal) )) (compound_statement "{\n      do {\n        uVar7 = uVar6 >> 4 | uVar8 << 0x1c;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 4;\n        *local_44 = "0123456789abcdef"[uVar6 & 0xf];\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }" { (do_statement "do {\n        uVar7 = uVar6 >> 4 | uVar8 << 0x1c;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 4;\n        *local_44 = "0123456789abcdef"[uVar6 & 0xf];\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);" do (compound_statement "{\n        uVar7 = uVar6 >> 4 | uVar8 << 0x1c;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 4;\n        *local_44 = "0123456789abcdef"[uVar6 & 0xf];\n        uVar6 = uVar7;\n      }" { (expression_statement "uVar7 = uVar6 >> 4 | uVar8 << 0x1c;" (assignment_expression "uVar7 = uVar6 >> 4 | uVar8 << 0x1c" identifier = (binary_expression "uVar6 >> 4 | uVar8 << 0x1c" (binary_expression "uVar6 >> 4" identifier >> number_literal) | (binary_expression "uVar8 << 0x1c" identifier << number_literal))) ;) (expression_statement "local_44 = local_44 + -1;" (assignment_expression "local_44 = local_44 + -1" identifier = (binary_expression "local_44 + -1" identifier + number_literal)) ;) (expression_statement "uVar8 = uVar8 >> 4;" (assignment_expression "uVar8 = uVar8 >> 4" identifier = (binary_expression "uVar8 >> 4" identifier >> number_literal)) ;) (expression_statement "*local_44 = "0123456789abcdef"[uVar6 & 0xf];" (assignment_expression "*local_44 = "0123456789abcdef"[uVar6 & 0xf]" (pointer_expression "*local_44" * identifier) = (subscript_expression ""0123456789abcdef"[uVar6 & 0xf]" (string_literal ""0123456789abcdef"" " string_content ") [ (binary_expression "uVar6 & 0xf" identifier & number_literal) ])) ;) (expression_statement "uVar6 = uVar7;" (assignment_expression "uVar6 = uVar7" identifier = identifier) ;) }) while (parenthesized_expression "(uVar8 != 0 || uVar7 != 0)" ( (binary_expression "uVar8 != 0 || uVar7 != 0" (binary_expression "uVar8 != 0" identifier != number_literal) || (binary_expression "uVar7 != 0" identifier != number_literal)) )) ;) }) (else_clause "else if (DAT_000262a4 == 8) {\n      do {\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }" else (if_statement "if (DAT_000262a4 == 8) {\n      do {\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }" if (parenthesized_expression "(DAT_000262a4 == 8)" ( (binary_expression "DAT_000262a4 == 8" identifier == number_literal) )) (compound_statement "{\n      do {\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }" { (do_statement "do {\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);" do (compound_statement "{\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      }" { (expression_statement "uVar7 = uVar6 >> 3 | uVar8 << 0x1d;" (assignment_expression "uVar7 = uVar6 >> 3 | uVar8 << 0x1d" identifier = (binary_expression "uVar6 >> 3 | uVar8 << 0x1d" (binary_expression "uVar6 >> 3" identifier >> number_literal) | (binary_expression "uVar8 << 0x1d" identifier << number_literal))) ;) (expression_statement "local_44 = local_44 + -1;" (assignment_expression "local_44 = local_44 + -1" identifier = (binary_expression "local_44 + -1" identifier + number_literal)) ;) (expression_statement "uVar8 = uVar8 >> 3;" (assignment_expression "uVar8 = uVar8 >> 3" identifier = (binary_expression "uVar8 >> 3" identifier >> number_literal)) ;) (expression_statement "*local_44 = ((byte)uVar6 & 7) + 0x30;" (assignment_expression "*local_44 = ((byte)uVar6 & 7) + 0x30" (pointer_expression "*local_44" * identifier) = (binary_expression "((byte)uVar6 & 7) + 0x30" (parenthesized_expression "((byte)uVar6 & 7)" ( (binary_expression "(byte)uVar6 & 7" (cast_expression "(byte)uVar6" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )) + number_literal)) ;) (expression_statement "uVar6 = uVar7;" (assignment_expression "uVar6 = uVar7" identifier = identifier) ;) }) while (parenthesized_expression "(uVar8 != 0 || uVar7 != 0)" ( (binary_expression "uVar8 != 0 || uVar7 != 0" (binary_expression "uVar8 != 0" identifier != number_literal) || (binary_expression "uVar7 != 0" identifier != number_literal)) )) ;) })))) }))) (if_statement "if (pcVar5 < local_44) {\n    memset(pcVar5,0x30,(int)local_44 - (int)pcVar5);\n    local_44 = pcVar5;\n  }" if (parenthesized_expression "(pcVar5 < local_44)" ( (binary_expression "pcVar5 < local_44" identifier < identifier) )) (compound_statement "{\n    memset(pcVar5,0x30,(int)local_44 - (int)pcVar5);\n    local_44 = pcVar5;\n  }" { (expression_statement "memset(pcVar5,0x30,(int)local_44 - (int)pcVar5);" (call_expression "memset(pcVar5,0x30,(int)local_44 - (int)pcVar5)" identifier (argument_list "(pcVar5,0x30,(int)local_44 - (int)pcVar5)" ( identifier , number_literal , (binary_expression "(int)local_44 - (int)pcVar5" (cast_expression "(int)local_44" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pcVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ;) (expression_statement "local_44 = pcVar5;" (assignment_expression "local_44 = pcVar5" identifier = identifier) ;) })) (expression_statement "puVar3 = PTR_stdout_00025fd4;" (assignment_expression "puVar3 = PTR_stdout_00025fd4" identifier = identifier) ;) (expression_statement "fputs_unlocked(local_44,*(FILE **)PTR_stdout_00025fd4);" (call_expression "fputs_unlocked(local_44,*(FILE **)PTR_stdout_00025fd4)" identifier (argument_list "(local_44,*(FILE **)PTR_stdout_00025fd4)" ( identifier , (pointer_expression "*(FILE **)PTR_stdout_00025fd4" * (cast_expression "(FILE **)PTR_stdout_00025fd4" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "p_Var1 = *(_IO_FILE **)puVar3;" (assignment_expression "p_Var1 = *(_IO_FILE **)puVar3" identifier = (pointer_expression "*(_IO_FILE **)puVar3" * (cast_expression "(_IO_FILE **)puVar3" ( (type_descriptor "_IO_FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "bVar11 = CARRY4(param_1,DAT_00026290);" (assignment_expression "bVar11 = CARRY4(param_1,DAT_00026290)" identifier = (call_expression "CARRY4(param_1,DAT_00026290)" identifier (argument_list "(param_1,DAT_00026290)" ( identifier , identifier )))) ;) (expression_statement "iVar10 = param_1 + DAT_00026290;" (assignment_expression "iVar10 = param_1 + DAT_00026290" identifier = (binary_expression "param_1 + DAT_00026290" identifier + identifier)) ;) (expression_statement "pcVar5 = p_Var1->_IO_write_ptr;" (assignment_expression "pcVar5 = p_Var1->_IO_write_ptr" identifier = (field_expression "p_Var1->_IO_write_ptr" identifier -> field_identifier)) ;) (expression_statement "iVar9 = param_2 + DAT_00026294;" (assignment_expression "iVar9 = param_2 + DAT_00026294" identifier = (binary_expression "param_2 + DAT_00026294" identifier + identifier)) ;) (if_statement "if (pcVar5 < p_Var1->_IO_write_end) {\n    p_Var1->_IO_write_ptr = pcVar5 + 1;\n    *pcVar5 = '(';\n  }\n  else {\n    __overflow(p_Var1,0x28);\n  }" if (parenthesized_expression "(pcVar5 < p_Var1->_IO_write_end)" ( (binary_expression "pcVar5 < p_Var1->_IO_write_end" identifier < (field_expression "p_Var1->_IO_write_end" identifier -> field_identifier)) )) (compound_statement "{\n    p_Var1->_IO_write_ptr = pcVar5 + 1;\n    *pcVar5 = '(';\n  }" { (expression_statement "p_Var1->_IO_write_ptr = pcVar5 + 1;" (assignment_expression "p_Var1->_IO_write_ptr = pcVar5 + 1" (field_expression "p_Var1->_IO_write_ptr" identifier -> field_identifier) = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) (expression_statement "*pcVar5 = '(';" (assignment_expression "*pcVar5 = '('" (pointer_expression "*pcVar5" * identifier) = (char_literal "'('" ' character ')) ;) }) (else_clause "else {\n    __overflow(p_Var1,0x28);\n  }" else (compound_statement "{\n    __overflow(p_Var1,0x28);\n  }" { (expression_statement "__overflow(p_Var1,0x28);" (call_expression "__overflow(p_Var1,0x28)" identifier (argument_list "(p_Var1,0x28)" ( identifier , number_literal ))) ;) }))) (expression_statement "FUN_000129a0(iVar10,iVar9 + (uint)bVar11,0x29);" (call_expression "FUN_000129a0(iVar10,iVar9 + (uint)bVar11,0x29)" identifier (argument_list "(iVar10,iVar9 + (uint)bVar11,0x29)" ( identifier , (binary_expression "iVar9 + (uint)bVar11" identifier + (cast_expression "(uint)bVar11" ( (type_descriptor "uint" type_identifier) ) identifier)) , number_literal ))) ;) (if_statement "if (param_3 != 0) {\n    p_Var1 = *(_IO_FILE **)puVar3;\n    pbVar2 = (byte *)p_Var1->_IO_write_ptr;\n    if (pbVar2 < p_Var1->_IO_write_end) {\n      p_Var1->_IO_write_ptr = (char *)(pbVar2 + 1);\n      *pbVar2 = param_3;\n    }\n    else {\n      __overflow(p_Var1,(uint)param_3);\n    }\n  }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n    p_Var1 = *(_IO_FILE **)puVar3;\n    pbVar2 = (byte *)p_Var1->_IO_write_ptr;\n    if (pbVar2 < p_Var1->_IO_write_end) {\n      p_Var1->_IO_write_ptr = (char *)(pbVar2 + 1);\n      *pbVar2 = param_3;\n    }\n    else {\n      __overflow(p_Var1,(uint)param_3);\n    }\n  }" { (expression_statement "p_Var1 = *(_IO_FILE **)puVar3;" (assignment_expression "p_Var1 = *(_IO_FILE **)puVar3" identifier = (pointer_expression "*(_IO_FILE **)puVar3" * (cast_expression "(_IO_FILE **)puVar3" ( (type_descriptor "_IO_FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "pbVar2 = (byte *)p_Var1->_IO_write_ptr;" (assignment_expression "pbVar2 = (byte *)p_Var1->_IO_write_ptr" identifier = (cast_expression "(byte *)p_Var1->_IO_write_ptr" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "p_Var1->_IO_write_ptr" identifier -> field_identifier))) ;) (if_statement "if (pbVar2 < p_Var1->_IO_write_end) {\n      p_Var1->_IO_write_ptr = (char *)(pbVar2 + 1);\n      *pbVar2 = param_3;\n    }\n    else {\n      __overflow(p_Var1,(uint)param_3);\n    }" if (parenthesized_expression "(pbVar2 < p_Var1->_IO_write_end)" ( (binary_expression "pbVar2 < p_Var1->_IO_write_end" identifier < (field_expression "p_Var1->_IO_write_end" identifier -> field_identifier)) )) (compound_statement "{\n      p_Var1->_IO_write_ptr = (char *)(pbVar2 + 1);\n      *pbVar2 = param_3;\n    }" { (expression_statement "p_Var1->_IO_write_ptr = (char *)(pbVar2 + 1);" (assignment_expression "p_Var1->_IO_write_ptr = (char *)(pbVar2 + 1)" (field_expression "p_Var1->_IO_write_ptr" identifier -> field_identifier) = (cast_expression "(char *)(pbVar2 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar2 + 1)" ( (binary_expression "pbVar2 + 1" identifier + number_literal) )))) ;) (expression_statement "*pbVar2 = param_3;" (assignment_expression "*pbVar2 = param_3" (pointer_expression "*pbVar2" * identifier) = identifier) ;) }) (else_clause "else {\n      __overflow(p_Var1,(uint)param_3);\n    }" else (compound_statement "{\n      __overflow(p_Var1,(uint)param_3);\n    }" { (expression_statement "__overflow(p_Var1,(uint)param_3);" (call_expression "__overflow(p_Var1,(uint)param_3)" identifier (argument_list "(p_Var1,(uint)param_3)" ( identifier , (cast_expression "(uint)param_3" ( (type_descriptor "uint" type_identifier) ) identifier) ))) ;) }))) })) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "FUN_0001ded0();" (call_expression "FUN_0001ded0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * 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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (unary_expression - IDENT))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + (char_literal ' character '))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT )))) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) || (binary_expression (binary_expression (parenthesized_expression ( IDENT )) - IDENT) < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression LIT < IDENT) ))))) )) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT >> LIT) | (binary_expression IDENT << LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression (string_literal " string_content ") [ (binary_expression IDENT & LIT) ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) || (binary_expression IDENT != LIT)) )) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT >> LIT) | (binary_expression IDENT << LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )) + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) || (binary_expression IDENT != LIT)) )) ;) })))) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) 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 = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (field_expression IDENT -> field_identifier)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (field_expression IDENT -> field_identifier)) )) (compound_statement { (expression_statement (assignment_expression (field_expression IDENT -> field_identifier) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' character ')) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT)) , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (field_expression IDENT -> field_identifier))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (field_expression IDENT -> field_identifier)) )) (compound_statement { (expression_statement (assignment_expression (field_expression IDENT -> field_identifier) = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE) ) IDENT) ))) ;) }))) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_00015010(uint param_1,uint param_2,byte param_3)\n\n{\n  _IO_FILE *p_Var1;\n  byte *pbVar2;\n  undefined *puVar3;\n  char cVar4;\n  char *pcVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  int iVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  bool bVar11;\n  undefined8 uVar12;\n  char *local_44;\n  char local_23;\n  undefined2 local_22;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uVar12 = CONCAT44(param_2,param_1);\n  uStack_14 = 0x1501e;\n  local_44 = (char *)&local_22;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  pcVar5 = local_44 + -DAT_000262a0;\n  local_22 = 0x20;\n  if (DAT_000262a4 == 10) {\n    do {\n      iVar9 = (int)((ulonglong)uVar12 >> 0x20);\n      uVar6 = (uint)uVar12;\n      local_44 = local_44 + -1;\n      cVar4 = FUN_0001dcf0(uVar12,10,0);\n      *local_44 = cVar4 + '0';\n      uVar12 = FUN_0001dbe0(uVar12,10,0);\n    } while (iVar9 != 0 || (uint)-iVar9 < (uint)(9 < uVar6));\n  }\n  else {\n    uVar6 = param_1;\n    uVar8 = param_2;\n    if (DAT_000262a4 == 0x10) {\n      do {\n        uVar7 = uVar6 >> 4 | uVar8 << 0x1c;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 4;\n        *local_44 = "0123456789abcdef"[uVar6 & 0xf];\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n    else if (DAT_000262a4 == 8) {\n      do {\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n  }\n  if (pcVar5 < local_44) {\n    memset(pcVar5,0x30,(int)local_44 - (int)pcVar5);\n    local_44 = pcVar5;\n  }\n  puVar3 = PTR_stdout_00025fd4;\n  fputs_unlocked(local_44,*(FILE **)PTR_stdout_00025fd4);\n  p_Var1 = *(_IO_FILE **)puVar3;\n  bVar11 = CARRY4(param_1,DAT_00026290);\n  iVar10 = param_1 + DAT_00026290;\n  pcVar5 = p_Var1->_IO_write_ptr;\n  iVar9 = param_2 + DAT_00026294;\n  if (pcVar5 < p_Var1->_IO_write_end) {\n    p_Var1->_IO_write_ptr = pcVar5 + 1;\n    *pcVar5 = '(';\n  }\n  else {\n    __overflow(p_Var1,0x28);\n  }\n  FUN_000129a0(iVar10,iVar9 + (uint)bVar11,0x29);\n  if (param_3 != 0) {\n    p_Var1 = *(_IO_FILE **)puVar3;\n    pbVar2 = (byte *)p_Var1->_IO_write_ptr;\n    if (pbVar2 < p_Var1->_IO_write_end) {\n      p_Var1->_IO_write_ptr = (char *)(pbVar2 + 1);\n      *pbVar2 = param_3;\n    }\n    else {\n      __overflow(p_Var1,(uint)param_3);\n    }\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0001ded0();\n}" (primitive_type "void") (function_declarator "FUN_00015010(uint param_1,uint param_2,byte param_3)" (identifier "FUN_00015010") (parameter_list "(uint param_1,uint param_2,byte 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 "byte param_3" (type_identifier "byte") (identifier "param_3")) () ")"))) (compound_statement "{\n  _IO_FILE *p_Var1;\n  byte *pbVar2;\n  undefined *puVar3;\n  char cVar4;\n  char *pcVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  int iVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  bool bVar11;\n  undefined8 uVar12;\n  char *local_44;\n  char local_23;\n  undefined2 local_22;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uVar12 = CONCAT44(param_2,param_1);\n  uStack_14 = 0x1501e;\n  local_44 = (char *)&local_22;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  pcVar5 = local_44 + -DAT_000262a0;\n  local_22 = 0x20;\n  if (DAT_000262a4 == 10) {\n    do {\n      iVar9 = (int)((ulonglong)uVar12 >> 0x20);\n      uVar6 = (uint)uVar12;\n      local_44 = local_44 + -1;\n      cVar4 = FUN_0001dcf0(uVar12,10,0);\n      *local_44 = cVar4 + '0';\n      uVar12 = FUN_0001dbe0(uVar12,10,0);\n    } while (iVar9 != 0 || (uint)-iVar9 < (uint)(9 < uVar6));\n  }\n  else {\n    uVar6 = param_1;\n    uVar8 = param_2;\n    if (DAT_000262a4 == 0x10) {\n      do {\n        uVar7 = uVar6 >> 4 | uVar8 << 0x1c;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 4;\n        *local_44 = "0123456789abcdef"[uVar6 & 0xf];\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n    else if (DAT_000262a4 == 8) {\n      do {\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n  }\n  if (pcVar5 < local_44) {\n    memset(pcVar5,0x30,(int)local_44 - (int)pcVar5);\n    local_44 = pcVar5;\n  }\n  puVar3 = PTR_stdout_00025fd4;\n  fputs_unlocked(local_44,*(FILE **)PTR_stdout_00025fd4);\n  p_Var1 = *(_IO_FILE **)puVar3;\n  bVar11 = CARRY4(param_1,DAT_00026290);\n  iVar10 = param_1 + DAT_00026290;\n  pcVar5 = p_Var1->_IO_write_ptr;\n  iVar9 = param_2 + DAT_00026294;\n  if (pcVar5 < p_Var1->_IO_write_end) {\n    p_Var1->_IO_write_ptr = pcVar5 + 1;\n    *pcVar5 = '(';\n  }\n  else {\n    __overflow(p_Var1,0x28);\n  }\n  FUN_000129a0(iVar10,iVar9 + (uint)bVar11,0x29);\n  if (param_3 != 0) {\n    p_Var1 = *(_IO_FILE **)puVar3;\n    pbVar2 = (byte *)p_Var1->_IO_write_ptr;\n    if (pbVar2 < p_Var1->_IO_write_end) {\n      p_Var1->_IO_write_ptr = (char *)(pbVar2 + 1);\n      *pbVar2 = param_3;\n    }\n    else {\n      __overflow(p_Var1,(uint)param_3);\n    }\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0001ded0();\n}" ({ "{") (declaration "_IO_FILE *p_Var1;" (type_identifier "_IO_FILE") (pointer_declarator "*p_Var1" (* "*") (identifier "p_Var1")) (; ";")) (declaration "byte *pbVar2;" (type_identifier "byte") (pointer_declarator "*pbVar2" (* "*") (identifier "pbVar2")) (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "char cVar4;" (primitive_type "char") (identifier "cVar4") (; ";")) (declaration "char *pcVar5;" (primitive_type "char") (pointer_declarator "*pcVar5" (* "*") (identifier "pcVar5")) (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "bool bVar11;" (primitive_type "bool") (identifier "bVar11") (; ";")) (declaration "undefined8 uVar12;" (type_identifier "undefined8") (identifier "uVar12") (; ";")) (declaration "char *local_44;" (primitive_type "char") (pointer_declarator "*local_44" (* "*") (identifier "local_44")) (; ";")) (declaration "char local_23;" (primitive_type "char") (identifier "local_23") (; ";")) (declaration "undefined2 local_22;" (type_identifier "undefined2") (identifier "local_22") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uVar12 = CONCAT44(param_2,param_1);" (assignment_expression "uVar12 = CONCAT44(param_2,param_1)" (identifier "uVar12") (= "=") (call_expression "CONCAT44(param_2,param_1)" (identifier "CONCAT44") (argument_list "(param_2,param_1)" (( "(") (identifier "param_2") (, ",") (identifier "param_1") () ")")))) (; ";")) (expression_statement "uStack_14 = 0x1501e;" (assignment_expression "uStack_14 = 0x1501e" (identifier "uStack_14") (= "=") (number_literal "0x1501e")) (; ";")) (expression_statement "local_44 = (char *)&local_22;" (assignment_expression "local_44 = (char *)&local_22" (identifier "local_44") (= "=") (cast_expression "(char *)&local_22" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&local_22" (& "&") (identifier "local_22")))) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "pcVar5 = local_44 + -DAT_000262a0;" (assignment_expression "pcVar5 = local_44 + -DAT_000262a0" (identifier "pcVar5") (= "=") (binary_expression "local_44 + -DAT_000262a0" (identifier "local_44") (+ "+") (unary_expression "-DAT_000262a0" (- "-") (identifier "DAT_000262a0")))) (; ";")) (expression_statement "local_22 = 0x20;" (assignment_expression "local_22 = 0x20" (identifier "local_22") (= "=") (number_literal "0x20")) (; ";")) (if_statement "if (DAT_000262a4 == 10) {\n    do {\n      iVar9 = (int)((ulonglong)uVar12 >> 0x20);\n      uVar6 = (uint)uVar12;\n      local_44 = local_44 + -1;\n      cVar4 = FUN_0001dcf0(uVar12,10,0);\n      *local_44 = cVar4 + '0';\n      uVar12 = FUN_0001dbe0(uVar12,10,0);\n    } while (iVar9 != 0 || (uint)-iVar9 < (uint)(9 < uVar6));\n  }\n  else {\n    uVar6 = param_1;\n    uVar8 = param_2;\n    if (DAT_000262a4 == 0x10) {\n      do {\n        uVar7 = uVar6 >> 4 | uVar8 << 0x1c;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 4;\n        *local_44 = "0123456789abcdef"[uVar6 & 0xf];\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n    else if (DAT_000262a4 == 8) {\n      do {\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n  }" (if "if") (parenthesized_expression "(DAT_000262a4 == 10)" (( "(") (binary_expression "DAT_000262a4 == 10" (identifier "DAT_000262a4") (== "==") (number_literal "10")) () ")")) (compound_statement "{\n    do {\n      iVar9 = (int)((ulonglong)uVar12 >> 0x20);\n      uVar6 = (uint)uVar12;\n      local_44 = local_44 + -1;\n      cVar4 = FUN_0001dcf0(uVar12,10,0);\n      *local_44 = cVar4 + '0';\n      uVar12 = FUN_0001dbe0(uVar12,10,0);\n    } while (iVar9 != 0 || (uint)-iVar9 < (uint)(9 < uVar6));\n  }" ({ "{") (do_statement "do {\n      iVar9 = (int)((ulonglong)uVar12 >> 0x20);\n      uVar6 = (uint)uVar12;\n      local_44 = local_44 + -1;\n      cVar4 = FUN_0001dcf0(uVar12,10,0);\n      *local_44 = cVar4 + '0';\n      uVar12 = FUN_0001dbe0(uVar12,10,0);\n    } while (iVar9 != 0 || (uint)-iVar9 < (uint)(9 < uVar6));" (do "do") (compound_statement "{\n      iVar9 = (int)((ulonglong)uVar12 >> 0x20);\n      uVar6 = (uint)uVar12;\n      local_44 = local_44 + -1;\n      cVar4 = FUN_0001dcf0(uVar12,10,0);\n      *local_44 = cVar4 + '0';\n      uVar12 = FUN_0001dbe0(uVar12,10,0);\n    }" ({ "{") (expression_statement "iVar9 = (int)((ulonglong)uVar12 >> 0x20);" (assignment_expression "iVar9 = (int)((ulonglong)uVar12 >> 0x20)" (identifier "iVar9") (= "=") (cast_expression "(int)((ulonglong)uVar12 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar12 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar12 >> 0x20" (cast_expression "(ulonglong)uVar12" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar12")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "uVar6 = (uint)uVar12;" (assignment_expression "uVar6 = (uint)uVar12" (identifier "uVar6") (= "=") (cast_expression "(uint)uVar12" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar12"))) (; ";")) (expression_statement "local_44 = local_44 + -1;" (assignment_expression "local_44 = local_44 + -1" (identifier "local_44") (= "=") (binary_expression "local_44 + -1" (identifier "local_44") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "cVar4 = FUN_0001dcf0(uVar12,10,0);" (assignment_expression "cVar4 = FUN_0001dcf0(uVar12,10,0)" (identifier "cVar4") (= "=") (call_expression "FUN_0001dcf0(uVar12,10,0)" (identifier "FUN_0001dcf0") (argument_list "(uVar12,10,0)" (( "(") (identifier "uVar12") (, ",") (number_literal "10") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "*local_44 = cVar4 + '0';" (assignment_expression "*local_44 = cVar4 + '0'" (pointer_expression "*local_44" (* "*") (identifier "local_44")) (= "=") (binary_expression "cVar4 + '0'" (identifier "cVar4") (+ "+") (char_literal "'0'" (' "'") (character "0") (' "'")))) (; ";")) (expression_statement "uVar12 = FUN_0001dbe0(uVar12,10,0);" (assignment_expression "uVar12 = FUN_0001dbe0(uVar12,10,0)" (identifier "uVar12") (= "=") (call_expression "FUN_0001dbe0(uVar12,10,0)" (identifier "FUN_0001dbe0") (argument_list "(uVar12,10,0)" (( "(") (identifier "uVar12") (, ",") (number_literal "10") (, ",") (number_literal "0") () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar9 != 0 || (uint)-iVar9 < (uint)(9 < uVar6))" (( "(") (binary_expression "iVar9 != 0 || (uint)-iVar9 < (uint)(9 < uVar6)" (binary_expression "iVar9 != 0" (identifier "iVar9") (!= "!=") (number_literal "0")) (|| "||") (binary_expression "(uint)-iVar9 < (uint)(9 < uVar6)" (binary_expression "(uint)-iVar9" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (- "-") (identifier "iVar9")) (< "<") (call_expression "(uint)(9 < uVar6)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(9 < uVar6)" (( "(") (binary_expression "9 < uVar6" (number_literal "9") (< "<") (identifier "uVar6")) () ")"))))) () ")")) (; ";")) (} "}")) (else_clause "else {\n    uVar6 = param_1;\n    uVar8 = param_2;\n    if (DAT_000262a4 == 0x10) {\n      do {\n        uVar7 = uVar6 >> 4 | uVar8 << 0x1c;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 4;\n        *local_44 = "0123456789abcdef"[uVar6 & 0xf];\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n    else if (DAT_000262a4 == 8) {\n      do {\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n  }" (else "else") (compound_statement "{\n    uVar6 = param_1;\n    uVar8 = param_2;\n    if (DAT_000262a4 == 0x10) {\n      do {\n        uVar7 = uVar6 >> 4 | uVar8 << 0x1c;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 4;\n        *local_44 = "0123456789abcdef"[uVar6 & 0xf];\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n    else if (DAT_000262a4 == 8) {\n      do {\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n  }" ({ "{") (expression_statement "uVar6 = param_1;" (assignment_expression "uVar6 = param_1" (identifier "uVar6") (= "=") (identifier "param_1")) (; ";")) (expression_statement "uVar8 = param_2;" (assignment_expression "uVar8 = param_2" (identifier "uVar8") (= "=") (identifier "param_2")) (; ";")) (if_statement "if (DAT_000262a4 == 0x10) {\n      do {\n        uVar7 = uVar6 >> 4 | uVar8 << 0x1c;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 4;\n        *local_44 = "0123456789abcdef"[uVar6 & 0xf];\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }\n    else if (DAT_000262a4 == 8) {\n      do {\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }" (if "if") (parenthesized_expression "(DAT_000262a4 == 0x10)" (( "(") (binary_expression "DAT_000262a4 == 0x10" (identifier "DAT_000262a4") (== "==") (number_literal "0x10")) () ")")) (compound_statement "{\n      do {\n        uVar7 = uVar6 >> 4 | uVar8 << 0x1c;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 4;\n        *local_44 = "0123456789abcdef"[uVar6 & 0xf];\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }" ({ "{") (do_statement "do {\n        uVar7 = uVar6 >> 4 | uVar8 << 0x1c;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 4;\n        *local_44 = "0123456789abcdef"[uVar6 & 0xf];\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);" (do "do") (compound_statement "{\n        uVar7 = uVar6 >> 4 | uVar8 << 0x1c;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 4;\n        *local_44 = "0123456789abcdef"[uVar6 & 0xf];\n        uVar6 = uVar7;\n      }" ({ "{") (expression_statement "uVar7 = uVar6 >> 4 | uVar8 << 0x1c;" (assignment_expression "uVar7 = uVar6 >> 4 | uVar8 << 0x1c" (identifier "uVar7") (= "=") (binary_expression "uVar6 >> 4 | uVar8 << 0x1c" (binary_expression "uVar6 >> 4" (identifier "uVar6") (>> ">>") (number_literal "4")) (| "|") (binary_expression "uVar8 << 0x1c" (identifier "uVar8") (<< "<<") (number_literal "0x1c")))) (; ";")) (expression_statement "local_44 = local_44 + -1;" (assignment_expression "local_44 = local_44 + -1" (identifier "local_44") (= "=") (binary_expression "local_44 + -1" (identifier "local_44") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "uVar8 = uVar8 >> 4;" (assignment_expression "uVar8 = uVar8 >> 4" (identifier "uVar8") (= "=") (binary_expression "uVar8 >> 4" (identifier "uVar8") (>> ">>") (number_literal "4"))) (; ";")) (expression_statement "*local_44 = "0123456789abcdef"[uVar6 & 0xf];" (assignment_expression "*local_44 = "0123456789abcdef"[uVar6 & 0xf]" (pointer_expression "*local_44" (* "*") (identifier "local_44")) (= "=") (subscript_expression ""0123456789abcdef"[uVar6 & 0xf]" (string_literal ""0123456789abcdef"" (" """) (string_content "0123456789abcdef") (" """)) ([ "[") (binary_expression "uVar6 & 0xf" (identifier "uVar6") (& "&") (number_literal "0xf")) (] "]"))) (; ";")) (expression_statement "uVar6 = uVar7;" (assignment_expression "uVar6 = uVar7" (identifier "uVar6") (= "=") (identifier "uVar7")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar8 != 0 || uVar7 != 0)" (( "(") (binary_expression "uVar8 != 0 || uVar7 != 0" (binary_expression "uVar8 != 0" (identifier "uVar8") (!= "!=") (number_literal "0")) (|| "||") (binary_expression "uVar7 != 0" (identifier "uVar7") (!= "!=") (number_literal "0"))) () ")")) (; ";")) (} "}")) (else_clause "else if (DAT_000262a4 == 8) {\n      do {\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }" (else "else") (if_statement "if (DAT_000262a4 == 8) {\n      do {\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }" (if "if") (parenthesized_expression "(DAT_000262a4 == 8)" (( "(") (binary_expression "DAT_000262a4 == 8" (identifier "DAT_000262a4") (== "==") (number_literal "8")) () ")")) (compound_statement "{\n      do {\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);\n    }" ({ "{") (do_statement "do {\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      } while (uVar8 != 0 || uVar7 != 0);" (do "do") (compound_statement "{\n        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;\n        local_44 = local_44 + -1;\n        uVar8 = uVar8 >> 3;\n        *local_44 = ((byte)uVar6 & 7) + 0x30;\n        uVar6 = uVar7;\n      }" ({ "{") (expression_statement "uVar7 = uVar6 >> 3 | uVar8 << 0x1d;" (assignment_expression "uVar7 = uVar6 >> 3 | uVar8 << 0x1d" (identifier "uVar7") (= "=") (binary_expression "uVar6 >> 3 | uVar8 << 0x1d" (binary_expression "uVar6 >> 3" (identifier "uVar6") (>> ">>") (number_literal "3")) (| "|") (binary_expression "uVar8 << 0x1d" (identifier "uVar8") (<< "<<") (number_literal "0x1d")))) (; ";")) (expression_statement "local_44 = local_44 + -1;" (assignment_expression "local_44 = local_44 + -1" (identifier "local_44") (= "=") (binary_expression "local_44 + -1" (identifier "local_44") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "uVar8 = uVar8 >> 3;" (assignment_expression "uVar8 = uVar8 >> 3" (identifier "uVar8") (= "=") (binary_expression "uVar8 >> 3" (identifier "uVar8") (>> ">>") (number_literal "3"))) (; ";")) (expression_statement "*local_44 = ((byte)uVar6 & 7) + 0x30;" (assignment_expression "*local_44 = ((byte)uVar6 & 7) + 0x30" (pointer_expression "*local_44" (* "*") (identifier "local_44")) (= "=") (binary_expression "((byte)uVar6 & 7) + 0x30" (parenthesized_expression "((byte)uVar6 & 7)" (( "(") (binary_expression "(byte)uVar6 & 7" (cast_expression "(byte)uVar6" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "uVar6")) (& "&") (number_literal "7")) () ")")) (+ "+") (number_literal "0x30"))) (; ";")) (expression_statement "uVar6 = uVar7;" (assignment_expression "uVar6 = uVar7" (identifier "uVar6") (= "=") (identifier "uVar7")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar8 != 0 || uVar7 != 0)" (( "(") (binary_expression "uVar8 != 0 || uVar7 != 0" (binary_expression "uVar8 != 0" (identifier "uVar8") (!= "!=") (number_literal "0")) (|| "||") (binary_expression "uVar7 != 0" (identifier "uVar7") (!= "!=") (number_literal "0"))) () ")")) (; ";")) (} "}"))))) (} "}")))) (if_statement "if (pcVar5 < local_44) {\n    memset(pcVar5,0x30,(int)local_44 - (int)pcVar5);\n    local_44 = pcVar5;\n  }" (if "if") (parenthesized_expression "(pcVar5 < local_44)" (( "(") (binary_expression "pcVar5 < local_44" (identifier "pcVar5") (< "<") (identifier "local_44")) () ")")) (compound_statement "{\n    memset(pcVar5,0x30,(int)local_44 - (int)pcVar5);\n    local_44 = pcVar5;\n  }" ({ "{") (expression_statement "memset(pcVar5,0x30,(int)local_44 - (int)pcVar5);" (call_expression "memset(pcVar5,0x30,(int)local_44 - (int)pcVar5)" (identifier "memset") (argument_list "(pcVar5,0x30,(int)local_44 - (int)pcVar5)" (( "(") (identifier "pcVar5") (, ",") (number_literal "0x30") (, ",") (binary_expression "(int)local_44 - (int)pcVar5" (cast_expression "(int)local_44" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_44")) (- "-") (cast_expression "(int)pcVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar5"))) () ")"))) (; ";")) (expression_statement "local_44 = pcVar5;" (assignment_expression "local_44 = pcVar5" (identifier "local_44") (= "=") (identifier "pcVar5")) (; ";")) (} "}"))) (expression_statement "puVar3 = PTR_stdout_00025fd4;" (assignment_expression "puVar3 = PTR_stdout_00025fd4" (identifier "puVar3") (= "=") (identifier "PTR_stdout_00025fd4")) (; ";")) (expression_statement "fputs_unlocked(local_44,*(FILE **)PTR_stdout_00025fd4);" (call_expression "fputs_unlocked(local_44,*(FILE **)PTR_stdout_00025fd4)" (identifier "fputs_unlocked") (argument_list "(local_44,*(FILE **)PTR_stdout_00025fd4)" (( "(") (identifier "local_44") (, ",") (pointer_expression "*(FILE **)PTR_stdout_00025fd4" (* "*") (cast_expression "(FILE **)PTR_stdout_00025fd4" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_stdout_00025fd4"))) () ")"))) (; ";")) (expression_statement "p_Var1 = *(_IO_FILE **)puVar3;" (assignment_expression "p_Var1 = *(_IO_FILE **)puVar3" (identifier "p_Var1") (= "=") (pointer_expression "*(_IO_FILE **)puVar3" (* "*") (cast_expression "(_IO_FILE **)puVar3" (( "(") (type_descriptor "_IO_FILE **" (type_identifier "_IO_FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar3")))) (; ";")) (expression_statement "bVar11 = CARRY4(param_1,DAT_00026290);" (assignment_expression "bVar11 = CARRY4(param_1,DAT_00026290)" (identifier "bVar11") (= "=") (call_expression "CARRY4(param_1,DAT_00026290)" (identifier "CARRY4") (argument_list "(param_1,DAT_00026290)" (( "(") (identifier "param_1") (, ",") (identifier "DAT_00026290") () ")")))) (; ";")) (expression_statement "iVar10 = param_1 + DAT_00026290;" (assignment_expression "iVar10 = param_1 + DAT_00026290" (identifier "iVar10") (= "=") (binary_expression "param_1 + DAT_00026290" (identifier "param_1") (+ "+") (identifier "DAT_00026290"))) (; ";")) (expression_statement "pcVar5 = p_Var1->_IO_write_ptr;" (assignment_expression "pcVar5 = p_Var1->_IO_write_ptr" (identifier "pcVar5") (= "=") (field_expression "p_Var1->_IO_write_ptr" (identifier "p_Var1") (-> "->") (field_identifier "_IO_write_ptr"))) (; ";")) (expression_statement "iVar9 = param_2 + DAT_00026294;" (assignment_expression "iVar9 = param_2 + DAT_00026294" (identifier "iVar9") (= "=") (binary_expression "param_2 + DAT_00026294" (identifier "param_2") (+ "+") (identifier "DAT_00026294"))) (; ";")) (if_statement "if (pcVar5 < p_Var1->_IO_write_end) {\n    p_Var1->_IO_write_ptr = pcVar5 + 1;\n    *pcVar5 = '(';\n  }\n  else {\n    __overflow(p_Var1,0x28);\n  }" (if "if") (parenthesized_expression "(pcVar5 < p_Var1->_IO_write_end)" (( "(") (binary_expression "pcVar5 < p_Var1->_IO_write_end" (identifier "pcVar5") (< "<") (field_expression "p_Var1->_IO_write_end" (identifier "p_Var1") (-> "->") (field_identifier "_IO_write_end"))) () ")")) (compound_statement "{\n    p_Var1->_IO_write_ptr = pcVar5 + 1;\n    *pcVar5 = '(';\n  }" ({ "{") (expression_statement "p_Var1->_IO_write_ptr = pcVar5 + 1;" (assignment_expression "p_Var1->_IO_write_ptr = pcVar5 + 1" (field_expression "p_Var1->_IO_write_ptr" (identifier "p_Var1") (-> "->") (field_identifier "_IO_write_ptr")) (= "=") (binary_expression "pcVar5 + 1" (identifier "pcVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*pcVar5 = '(';" (assignment_expression "*pcVar5 = '('" (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) (= "=") (char_literal "'('" (' "'") (character "(") (' "'"))) (; ";")) (} "}")) (else_clause "else {\n    __overflow(p_Var1,0x28);\n  }" (else "else") (compound_statement "{\n    __overflow(p_Var1,0x28);\n  }" ({ "{") (expression_statement "__overflow(p_Var1,0x28);" (call_expression "__overflow(p_Var1,0x28)" (identifier "__overflow") (argument_list "(p_Var1,0x28)" (( "(") (identifier "p_Var1") (, ",") (number_literal "0x28") () ")"))) (; ";")) (} "}")))) (expression_statement "FUN_000129a0(iVar10,iVar9 + (uint)bVar11,0x29);" (call_expression "FUN_000129a0(iVar10,iVar9 + (uint)bVar11,0x29)" (identifier "FUN_000129a0") (argument_list "(iVar10,iVar9 + (uint)bVar11,0x29)" (( "(") (identifier "iVar10") (, ",") (binary_expression "iVar9 + (uint)bVar11" (identifier "iVar9") (+ "+") (cast_expression "(uint)bVar11" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar11"))) (, ",") (number_literal "0x29") () ")"))) (; ";")) (if_statement "if (param_3 != 0) {\n    p_Var1 = *(_IO_FILE **)puVar3;\n    pbVar2 = (byte *)p_Var1->_IO_write_ptr;\n    if (pbVar2 < p_Var1->_IO_write_end) {\n      p_Var1->_IO_write_ptr = (char *)(pbVar2 + 1);\n      *pbVar2 = param_3;\n    }\n    else {\n      __overflow(p_Var1,(uint)param_3);\n    }\n  }" (if "if") (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    p_Var1 = *(_IO_FILE **)puVar3;\n    pbVar2 = (byte *)p_Var1->_IO_write_ptr;\n    if (pbVar2 < p_Var1->_IO_write_end) {\n      p_Var1->_IO_write_ptr = (char *)(pbVar2 + 1);\n      *pbVar2 = param_3;\n    }\n    else {\n      __overflow(p_Var1,(uint)param_3);\n    }\n  }" ({ "{") (expression_statement "p_Var1 = *(_IO_FILE **)puVar3;" (assignment_expression "p_Var1 = *(_IO_FILE **)puVar3" (identifier "p_Var1") (= "=") (pointer_expression "*(_IO_FILE **)puVar3" (* "*") (cast_expression "(_IO_FILE **)puVar3" (( "(") (type_descriptor "_IO_FILE **" (type_identifier "_IO_FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar3")))) (; ";")) (expression_statement "pbVar2 = (byte *)p_Var1->_IO_write_ptr;" (assignment_expression "pbVar2 = (byte *)p_Var1->_IO_write_ptr" (identifier "pbVar2") (= "=") (cast_expression "(byte *)p_Var1->_IO_write_ptr" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (field_expression "p_Var1->_IO_write_ptr" (identifier "p_Var1") (-> "->") (field_identifier "_IO_write_ptr")))) (; ";")) (if_statement "if (pbVar2 < p_Var1->_IO_write_end) {\n      p_Var1->_IO_write_ptr = (char *)(pbVar2 + 1);\n      *pbVar2 = param_3;\n    }\n    else {\n      __overflow(p_Var1,(uint)param_3);\n    }" (if "if") (parenthesized_expression "(pbVar2 < p_Var1->_IO_write_end)" (( "(") (binary_expression "pbVar2 < p_Var1->_IO_write_end" (identifier "pbVar2") (< "<") (field_expression "p_Var1->_IO_write_end" (identifier "p_Var1") (-> "->") (field_identifier "_IO_write_end"))) () ")")) (compound_statement "{\n      p_Var1->_IO_write_ptr = (char *)(pbVar2 + 1);\n      *pbVar2 = param_3;\n    }" ({ "{") (expression_statement "p_Var1->_IO_write_ptr = (char *)(pbVar2 + 1);" (assignment_expression "p_Var1->_IO_write_ptr = (char *)(pbVar2 + 1)" (field_expression "p_Var1->_IO_write_ptr" (identifier "p_Var1") (-> "->") (field_identifier "_IO_write_ptr")) (= "=") (cast_expression "(char *)(pbVar2 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pbVar2 + 1)" (( "(") (binary_expression "pbVar2 + 1" (identifier "pbVar2") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "*pbVar2 = param_3;" (assignment_expression "*pbVar2 = param_3" (pointer_expression "*pbVar2" (* "*") (identifier "pbVar2")) (= "=") (identifier "param_3")) (; ";")) (} "}")) (else_clause "else {\n      __overflow(p_Var1,(uint)param_3);\n    }" (else "else") (compound_statement "{\n      __overflow(p_Var1,(uint)param_3);\n    }" ({ "{") (expression_statement "__overflow(p_Var1,(uint)param_3);" (call_expression "__overflow(p_Var1,(uint)param_3)" (identifier "__overflow") (argument_list "(p_Var1,(uint)param_3)" (( "(") (identifier "p_Var1") (, ",") (cast_expression "(uint)param_3" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "param_3")) () ")"))) (; ";")) (} "}")))) (} "}"))) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" (if "if") (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0001ded0();" (call_expression "FUN_0001ded0()" (identifier "FUN_0001ded0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void function_1(type_1 var_20,char var_22)

{
  int var_23;
  type_2 *p_Var2;
  type_3 var_11;
  type_3 var_12;
  type_3 var_13;
  type_1 var_5;
  type_4 var_21;
  type_5 *puVar8;
  char var_7;
  char *var_14;
  type_6 var_10;
  int var_9;
  int var_2;
  char *var_3;
  char var_1 [25];
  
  var_3 = var_1 + 0x17;
  var_23 = *(int *)(var_2 + 0x14);
  var_14 = var_3 + -address_pad_len;
  var_1[0x17] = ' ';
  var_1[0x18] = '\0';
  var_5 = var_20;
  if (var_4 == 10) {
    do {
      var_9 = (int)(var_5 >> 0x20);
      var_10 = (type_6)var_5;
      var_3 = var_3 + -1;
      var_7 = var_6(var_5,10,0);
      *var_3 = var_7 + '0';
      var_5 = var_8(var_5,10,0);
    } while (var_9 != 0 || (type_6)-var_9 < (type_6)(9 < var_10));
  }
  else {
    var_11 = var_20;
    if (var_4 == 0x10) {
      do {
        var_10 = (type_6)var_11;
        var_13 = var_11 & 0xf0000000f;
        var_12 = var_11 >> 4;
        var_3 = var_3 + -1;
        *var_3 = "0123456789abcdef"[(int)var_13];
        var_11 = var_11 >> 4;
      } while ((int)(var_12 >> 0x20) != 0 || (var_10 >> 4 != 0 || (int)(var_13 >> 0x20) != 0));
    }
    else if (var_4 == 8) {
      do {
        var_10 = (type_6)var_11;
        var_13 = var_11 & 0x700000000;
        var_12 = var_11 >> 3;
        var_3 = var_3 + -1;
        *var_3 = ((type_7)var_11 & 7) + 0x30;
        var_11 = var_11 >> 3;
      } while ((int)(var_12 >> 0x20) != 0 || (var_10 >> 3 != 0 || var_13 != 0));
    }
  }
  if (var_14 < var_3) {
    var_15(var_14,0x30,(int)var_3 - (int)var_14);
    var_3 = var_14;
  }
  puVar8 = PTR_stdout_00025fd4;
  var_16(var_3,*(type_8 **)PTR_stdout_00025fd4);
  var_21 = var_17(pseudo_offset._4_4_,(type_9)pseudo_offset);
  p_Var2 = *(type_2 **)puVar8;
  var_14 = p_Var2->_IO_write_ptr;
  if (var_14 < p_Var2->_IO_write_end) {
    p_Var2->_IO_write_ptr = var_14 + 1;
    *var_14 = '(';
  }
  else {
    var_18(p_Var2,0x28);
  }
  var_19(var_20 + var_21,')');
  if (var_22 != '\0') {
    p_Var2 = *(type_2 **)puVar8;
    var_14 = p_Var2->_IO_write_ptr;
    if (var_14 < p_Var2->_IO_write_end) {
      p_Var2->_IO_write_ptr = var_14 + 1;
      *var_14 = var_22;
    }
    else {
      var_18(p_Var2,(type_6)(type_7)var_22);
    }
  }
  if (var_23 == *(int *)(var_2 + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_24();
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(uint param_1,uint param_2,byte param_3)

{
  _IO_FILE *p_Var1;
  byte *pbVar2;
  undefined *puVar3;
  char cVar4;
  char *pcVar5;
  uint uVar6;
  uint uVar7;
  uint uVar8;
  int iVar9;
  int iVar10;
  int in_GS_OFFSET;
  bool bVar11;
  undefined8 uVar12;
  char *local_44;
  char local_23;
  undefined2 local_22;
  int local_20;
  undefined4 uStack_14;
  
  uVar12 = CONCAT44(param_2,param_1);
  uStack_14 = 0x1501e;
  local_44 = (char *)&local_22;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  pcVar5 = local_44 + -DAT_000262a0;
  local_22 = 0x20;
  if (DAT_000262a4 == 10) {
    do {
      iVar9 = (int)((ulonglong)uVar12 >> 0x20);
      uVar6 = (uint)uVar12;
      local_44 = local_44 + -1;
      cVar4 = FUN_0001dcf0(uVar12,10,0);
      *local_44 = cVar4 + '0';
      uVar12 = FUN_0001dbe0(uVar12,10,0);
    } while (iVar9 != 0 || (uint)-iVar9 < (uint)(9 < uVar6));
  }
  else {
    uVar6 = param_1;
    uVar8 = param_2;
    if (DAT_000262a4 == 0x10) {
      do {
        uVar7 = uVar6 >> 4 | uVar8 << 0x1c;
        local_44 = local_44 + -1;
        uVar8 = uVar8 >> 4;
        *local_44 = "0123456789abcdef"[uVar6 & 0xf];
        uVar6 = uVar7;
      } while (uVar8 != 0 || uVar7 != 0);
    }
    else if (DAT_000262a4 == 8) {
      do {
        uVar7 = uVar6 >> 3 | uVar8 << 0x1d;
        local_44 = local_44 + -1;
        uVar8 = uVar8 >> 3;
        *local_44 = ((byte)uVar6 & 7) + 0x30;
        uVar6 = uVar7;
      } while (uVar8 != 0 || uVar7 != 0);
    }
  }
  if (pcVar5 < local_44) {
    memset(pcVar5,0x30,(int)local_44 - (int)pcVar5);
    local_44 = pcVar5;
  }
  puVar3 = PTR_stdout_00025fd4;
  fputs_unlocked(local_44,*(FILE **)PTR_stdout_00025fd4);
  p_Var1 = *(_IO_FILE **)puVar3;
  bVar11 = CARRY4(param_1,DAT_00026290);
  iVar10 = param_1 + DAT_00026290;
  pcVar5 = p_Var1->_IO_write_ptr;
  iVar9 = param_2 + DAT_00026294;
  if (pcVar5 < p_Var1->_IO_write_end) {
    p_Var1->_IO_write_ptr = pcVar5 + 1;
    *pcVar5 = '(';
  }
  else {
    __overflow(p_Var1,0x28);
  }
  FUN_000129a0(iVar10,iVar9 + (uint)bVar11,0x29);
  if (param_3 != 0) {
    p_Var1 = *(_IO_FILE **)puVar3;
    pbVar2 = (byte *)p_Var1->_IO_write_ptr;
    if (pbVar2 < p_Var1->_IO_write_end) {
      p_Var1->_IO_write_ptr = (char *)(pbVar2 + 1);
      *pbVar2 = param_3;
    }
    else {
      __overflow(p_Var1,(uint)param_3);
    }
  }
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0001ded0();
}

