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

int __regparm3 sqlite3VdbeMemStringify(Mem *pMem,u8 enc,u8 bForce)

{
  char *pcVar1;
  int iVar2;
  char cVar3;
  ushort uVar4;
  size_t sVar5;
  int iVar6;
  uint uVar7;
  ushort uVar8;
  uint uVar9;
  sqlite3 *psVar10;
  char *pcVar11;
  int in_GS_OFFSET;
  longlong lVar12;
  undefined8 local_8c;
  char *local_80;
  StrAccum acc;
  char cStack_37;
  char zTemp [22];
  
  iVar2 = *(int *)(in_GS_OFFSET + 0x14);
  if (pMem->szMalloc < 0x20) {
    iVar6 = sqlite3VdbeMemGrow(pMem,0x20,0);
    if (iVar6 != 0) {
      pMem->enc = '\0';
      iVar6 = 7;
      goto LAB_00035375;
    }
    local_80 = pMem->z;
    uVar4 = pMem->flags;
    uVar8 = uVar4 & 4;
    if (uVar8 != 0) goto LAB_000353e5;
LAB_000352d3:
    local_8c = (double)(pMem->u).i;
    acc.db = (sqlite3 *)0x0;
    acc.nAlloc = 0x20;
    acc.mxAlloc = 0;
    acc.nChar = 0;
    acc.zText = local_80;
    acc.accError = '\0';
    acc.printfFlags = '\0';
    if ((uVar4 & 0x20) != 0) {
      local_8c = (double)(longlong)local_8c;
    }
    sqlite3_str_appendf(&acc,"%!.15g",(int)local_8c,local_8c._4_4_);
    local_80[acc.nChar] = '\0';
  }
  else {
    local_80 = pMem->zMalloc;
    pMem->z = local_80;
    uVar8 = pMem->flags;
    uVar4 = uVar8 & 0x2d;
    pMem->flags = uVar4;
    uVar8 = uVar8 & 4;
    if (uVar8 == 0) goto LAB_000352d3;
LAB_000353e5:
    __memcpy_chk(&acc,pMem,uVar8 * 2,8);
    pcVar1 = acc.zText;
    psVar10 = acc.db;
    pcVar11 = acc.zText;
    if ((int)acc.zText < 0) {
      psVar10 = (sqlite3 *)0x0;
      pcVar11 = (char *)0x80000000;
      if (acc.zText != (char *)0x80000000 || acc.db != (sqlite3 *)0x0) {
        psVar10 = (sqlite3 *)-(int)acc.db;
        pcVar11 = (char *)-(int)(acc.zText + (acc.db != (sqlite3 *)0x0));
      }
    }
    lVar12 = CONCAT44(pcVar11,psVar10);
    local_8c._0_4_ = 0x14;
    zTemp[0x15] = '\0';
    iVar6 = (int)local_8c;
    do {
      local_8c._0_4_ = iVar6;
      iVar6 = (int)local_8c + -1;
      cVar3 = __umoddi3(lVar12,10,0);
      zTemp[(int)local_8c] = cVar3 + '0';
      lVar12 = __udivdi3(lVar12,10,0);
    } while (lVar12 != 0);
    if ((int)pcVar1 < 0) {
      zTemp[(int)local_8c + -1] = '-';
      iVar6 = (int)local_8c + -2;
      pcVar1 = zTemp + (int)local_8c + -1;
    }
    else {
      pcVar1 = zTemp + (int)local_8c;
    }
    iVar6 = -iVar6;
    uVar9 = iVar6 + 0x15;
    if (uVar9 < 4) {
      if ((uVar9 != 0) && (*local_80 = *pcVar1, (uVar9 & 2) != 0)) {
        *(undefined2 *)(local_80 + iVar6 + 0x13) = *(undefined2 *)(pcVar1 + iVar6 + 0x13);
      }
    }
    else {
      *(undefined4 *)local_80 = *(undefined4 *)pcVar1;
      *(undefined4 *)(local_80 + iVar6 + 0x11) = *(undefined4 *)(pcVar1 + iVar6 + 0x11);
      iVar6 = (int)local_80 - ((uint)(local_80 + 4) & 0xfffffffc);
      uVar9 = iVar6 + uVar9 & 0xfffffffc;
      if (3 < uVar9) {
        uVar7 = 0;
        do {
          *(undefined4 *)(((uint)(local_80 + 4) & 0xfffffffc) + uVar7) =
               *(undefined4 *)(pcVar1 + (uVar7 - iVar6));
          uVar7 = uVar7 + 4;
        } while (uVar7 < uVar9);
      }
    }
  }
  sVar5 = strlen(pMem->z);
  pMem->enc = '\x01';
  pMem->n = sVar5 & 0x3fffffff;
  uVar8 = pMem->flags;
  if (bForce != '\0') {
    uVar8 = uVar8 & 0xffd3;
  }
  pMem->flags = uVar8 | 0x202;
  if ((((uVar8 | 0x202) & 2) == 0) || (enc == '\x01')) {
    iVar6 = 0;
  }
  else {
    sqlite3VdbeMemTranslate(pMem,enc);
    iVar6 = 0;
  }
LAB_00035375:
  if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {
    return iVar6;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



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

undefined4 __regparm3 FUN_00035280(double *param_1,char param_2,char param_3)

{
  undefined4 *puVar1;
  char cVar2;
  ushort uVar3;
  size_t sVar4;
  undefined4 uVar5;
  uint uVar6;
  ushort uVar7;
  uint uVar8;
  int iVar9;
  undefined4 *puVar10;
  int in_GS_OFFSET;
  longlong lVar11;
  undefined8 local_8c;
  undefined4 *local_80;
  int local_54;
  undefined4 *local_50;
  undefined4 local_4c;
  undefined4 local_48;
  int local_44;
  undefined2 local_40;
  undefined1 auStack_37 [22];
  undefined1 local_21;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x3528b;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if (*(int *)(param_1 + 3) < 0x20) {
    iVar9 = FUN_000304f0();
    if (iVar9 != 0) {
      *(undefined1 *)((int)param_1 + 10) = 0;
      uVar5 = 7;
      goto LAB_00035375;
    }
    local_80 = *(undefined4 **)(param_1 + 2);
    uVar3 = *(ushort *)(param_1 + 1);
    uVar7 = uVar3 & 4;
    if (uVar7 != 0) goto LAB_000353e5;
LAB_000352d3:
    local_8c = *param_1;
    local_54 = 0;
    local_4c = 0x20;
    local_48 = 0;
    local_44 = 0;
    local_50 = local_80;
    local_40 = 0;
    if ((uVar3 & 0x20) != 0) {
      local_8c = (double)(longlong)local_8c;
    }
    sqlite3_str_appendf(&local_54,"%!.15g",(int)local_8c,local_8c._4_4_);
    *(undefined1 *)((int)local_80 + local_44) = 0;
  }
  else {
    local_80 = *(undefined4 **)((int)param_1 + 0x14);
    *(undefined4 **)(param_1 + 2) = local_80;
    uVar7 = *(ushort *)(param_1 + 1);
    uVar3 = uVar7 & 0x2d;
    *(ushort *)(param_1 + 1) = uVar3;
    uVar7 = uVar7 & 4;
    if (uVar7 == 0) goto LAB_000352d3;
LAB_000353e5:
    __memcpy_chk(&local_54,param_1,uVar7 * 2,8);
    puVar1 = local_50;
    iVar9 = local_54;
    puVar10 = local_50;
    if ((int)local_50 < 0) {
      iVar9 = 0;
      puVar10 = (undefined4 *)0x80000000;
      if (local_50 != (undefined4 *)0x80000000 || local_54 != 0) {
        iVar9 = -local_54;
        puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0));
      }
    }
    lVar11 = CONCAT44(puVar10,iVar9);
    local_8c._0_4_ = 0x14;
    local_21 = 0;
    iVar9 = (int)local_8c;
    do {
      local_8c._0_4_ = iVar9;
      iVar9 = (int)local_8c + -1;
      cVar2 = FUN_000d10e0(lVar11,10,0);
      auStack_37[(int)local_8c + 1] = cVar2 + '0';
      lVar11 = FUN_000d0fc0(lVar11,10,0);
    } while (lVar11 != 0);
    if ((int)puVar1 < 0) {
      auStack_37[(int)local_8c] = 0x2d;
      iVar9 = (int)local_8c + -2;
      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c);
    }
    else {
      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c + 1);
    }
    iVar9 = -iVar9;
    uVar8 = iVar9 + 0x15;
    if (uVar8 < 4) {
      if ((uVar8 != 0) && (*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0)) {
        *(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13);
      }
    }
    else {
      *local_80 = *puVar1;
      *(undefined4 *)((int)local_80 + iVar9 + 0x11) = *(undefined4 *)(iVar9 + 0x11 + (int)puVar1);
      iVar9 = (int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc);
      uVar8 = iVar9 + uVar8 & 0xfffffffc;
      if (3 < uVar8) {
        uVar6 = 0;
        do {
          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =
               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));
          uVar6 = uVar6 + 4;
        } while (uVar6 < uVar8);
      }
    }
  }
  sVar4 = strlen(*(char **)(param_1 + 2));
  *(undefined1 *)((int)param_1 + 10) = 1;
  *(size_t *)((int)param_1 + 0xc) = sVar4 & 0x3fffffff;
  uVar7 = *(ushort *)(param_1 + 1);
  if (param_3 != '\0') {
    uVar7 = uVar7 & 0xffd3;
  }
  *(ushort *)(param_1 + 1) = uVar7 | 0x202;
  if ((((uVar7 | 0x202) & 2) == 0) || (param_2 == '\x01')) {
    uVar5 = 0;
  }
  else {
    FUN_000323c0();
    uVar5 = 0;
  }
LAB_00035375:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return uVar5;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000d1450();
}


PUSH EBP
PUSH EDI
MOV EBP,EAX
PUSH ESI
PUSH EBX
CALL 0x0001ddf0
ADD EBX,0xd0d75
SUB ESP,0x7c
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x6c],EAX
XOR EAX,EAX
CMP dword ptr [EBP + 0x18],0x1f
MOV dword ptr [ESP + 0x14],EDX
MOV dword ptr [ESP + 0x20],ECX
JLE 0x000353b8
MOV EAX,dword ptr [EBP + 0x14]
MOV dword ptr [ESP + 0xc],EAX
MOV dword ptr [EBP + 0x10],EAX
MOVZX EAX,word ptr [EBP + 0x8]
AND EAX,0x2d
MOV EDX,EAX
MOV word ptr [EBP + 0x8],AX
AND DX,0x4
JNZ 0x000353e5
MOV EDI,dword ptr [ESP + 0xc]
FLD qword ptr [EBP]
XOR EDX,EDX
TEST AL,0x20
MOV dword ptr [ESP + 0x38],0x0
MOV dword ptr [ESP + 0x40],0x20
MOV dword ptr [ESP + 0x44],0x0
MOV dword ptr [ESP + 0x48],0x0
FSTP qword ptr [ESP]
MOV dword ptr [ESP + 0x3c],EDI
MOV word ptr [ESP + 0x4c],DX
JNZ 0x00035398
LEA EAX,[EBX + 0xfffcb619]
PUSH dword ptr [ESP + 0x4]
PUSH dword ptr [ESP + 0x4]
PUSH EAX
LEA EAX,[ESP + 0x44]
PUSH EAX
CALL 0x00016ca0
MOV EAX,dword ptr [ESP + 0x58]
MOV EDI,dword ptr [ESP + 0x1c]
ADD ESP,0x10
MOV byte ptr [EDI + EAX*0x1],0x0
SUB ESP,0xc
PUSH dword ptr [EBP + 0x10]
CALL 0x000167d0
ADD ESP,0x10
AND EAX,0x3fffffff
MOV byte ptr [EBP + 0xa],0x1
CMP byte ptr [ESP + 0x20],0x0
MOV dword ptr [EBP + 0xc],EAX
MOVZX EAX,word ptr [EBP + 0x8]
JNZ 0x00035390
OR AX,0x202
MOVZX EDX,byte ptr [ESP + 0x14]
TEST AL,0x2
MOV word ptr [EBP + 0x8],AX
JZ 0x00035373
CMP EDX,0x1
JNZ 0x000353a8
XOR EAX,EAX
MOV EDI,dword ptr [ESP + 0x6c]
XOR EDI,dword ptr GS:[0x14]
JNZ 0x0003557e
ADD ESP,0x7c
POP EBX
POP ESI
POP EDI
POP EBP
RET
AND EAX,0xffffffd3
JMP 0x0003535d
FILD qword ptr [ESP]
FSTP qword ptr [ESP]
JMP 0x00035310
MOV EAX,EBP
CALL 0x000323c0
XOR EAX,EAX
JMP 0x00035375
XOR ECX,ECX
MOV EDX,0x20
MOV EAX,EBP
CALL 0x000304f0
TEST EAX,EAX
JNZ 0x00035570
MOV EAX,dword ptr [EBP + 0x10]
MOV dword ptr [ESP + 0xc],EAX
MOVZX EAX,word ptr [EBP + 0x8]
MOV EDX,EAX
AND DX,0x4
JZ 0x000352d3
MOVZX EDX,DX
PUSH 0x8
ADD EDX,EDX
PUSH EDX
PUSH EBP
LEA EAX,[ESP + 0x44]
PUSH EAX
CALL 0x00016730
MOV EDX,dword ptr [ESP + 0x4c]
MOV EAX,dword ptr [ESP + 0x48]
MOV dword ptr [ESP + 0x2c],EDX
MOV dword ptr [ESP + 0x28],EAX
ADD ESP,0x10
TEST EDX,EDX
MOV ESI,EAX
MOV EDI,EDX
JS 0x00035538
LEA EAX,[ESP + 0x57]
MOV dword ptr [ESP],0x14
MOV byte ptr [ESP + 0x6b],0x0
MOV dword ptr [ESP + 0x24],EBP
MOV dword ptr [ESP + 0x10],EAX
MOV EAX,dword ptr [ESP]
JMP 0x0003543d
MOV dword ptr [ESP],EBP
MOV EAX,EBP
LEA EBP,[EAX + -0x1]
MOV EAX,dword ptr [ESP + 0x10]
LEA ECX,[EAX + EBP*0x1]
MOV dword ptr [ESP + 0x8],ECX
PUSH 0x0
PUSH 0xa
PUSH EDI
PUSH ESI
CALL 0x000d10e0
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x8]
ADD EAX,0x30
MOV byte ptr [ECX],AL
PUSH 0x0
PUSH 0xa
PUSH EDI
PUSH ESI
CALL 0x000d0fc0
ADD ESP,0x10
MOV EDI,EDX
OR EDX,EAX
MOV ESI,EAX
JNZ 0x00035438
MOV ESI,dword ptr [ESP + 0x1c]
MOV ECX,EBP
MOV EBP,dword ptr [ESP + 0x24]
TEST ESI,ESI
JS 0x00035510
MOV EAX,0x15
LEA EDX,[ESP + ECX*0x1 + 0x57]
SUB EAX,ECX
CMP EAX,0x4
JC 0x000354e0
MOV ECX,dword ptr [EDX]
MOV EDI,dword ptr [ESP + 0xc]
MOV dword ptr [EDI],ECX
MOV ECX,dword ptr [EAX + EDX*0x1 + -0x4]
MOV dword ptr [EDI + EAX*0x1 + -0x4],ECX
LEA ECX,[EDI + 0x4]
AND ECX,0xfffffffc
SUB EDI,ECX
MOV ESI,EDI
SUB EDX,EDI
ADD ESI,EAX
AND ESI,0xfffffffc
CMP ESI,0x4
JC 0x00035338
AND ESI,0xfffffffc
XOR EAX,EAX
MOV EDI,dword ptr [EDX + EAX*0x1]
MOV dword ptr [ECX + EAX*0x1],EDI
ADD EAX,0x4
CMP EAX,ESI
JC 0x000354c9
JMP 0x00035338
TEST EAX,EAX
JZ 0x00035338
MOVZX ECX,byte ptr [EDX]
MOV EDI,dword ptr [ESP + 0xc]
TEST AL,0x2
MOV byte ptr [EDI],CL
JZ 0x00035338
MOVZX EDX,word ptr [EDX + EAX*0x1 + -0x2]
MOV EDI,dword ptr [ESP + 0xc]
MOV word ptr [EDI + EAX*0x1 + -0x2],DX
JMP 0x00035338
MOV EAX,dword ptr [ESP]
MOV byte ptr [ESP + ECX*0x1 + 0x56],0x2d
LEA ECX,[EAX + -0x2]
MOV EAX,0x15
SUB EAX,ECX
LEA EDX,[ESP + ECX*0x1 + 0x57]
CMP EAX,0x4
JNC 0x0003549a
JMP 0x000354e0
MOV EDI,dword ptr [ESP + 0x1c]
MOV ESI,dword ptr [ESP + 0x18]
LEA EDX,[EDI + 0x80000000]
MOV EAX,ESI
XOR ESI,ESI
MOV EDI,0x80000000
OR EDX,EAX
JZ 0x00035417
MOV ESI,dword ptr [ESP + 0x18]
MOV EDI,dword ptr [ESP + 0x1c]
NEG ESI
ADC EDI,0x0
NEG EDI
JMP 0x00035417
MOV byte ptr [EBP + 0xa],0x0
MOV EAX,0x7
JMP 0x00035375
CALL 0x000d1450
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3 FUN_00035280(double *param_1,char param_2,char param_3)\n\n{\n  undefined4 *puVar1;\n  char cVar2;\n  ushort uVar3;\n  size_t sVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  ushort uVar7;\n  uint uVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  int in_GS_OFFSET;\n  longlong lVar11;\n  undefined8 local_8c;\n  undefined4 *local_80;\n  int local_54;\n  undefined4 *local_50;\n  undefined4 local_4c;\n  undefined4 local_48;\n  int local_44;\n  undefined2 local_40;\n  undefined1 auStack_37 [22];\n  undefined1 local_21;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3528b;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (*(int *)(param_1 + 3) < 0x20) {\n    iVar9 = FUN_000304f0();\n    if (iVar9 != 0) {\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      uVar5 = 7;\n      goto LAB_00035375;\n    }\n    local_80 = *(undefined4 **)(param_1 + 2);\n    uVar3 = *(ushort *)(param_1 + 1);\n    uVar7 = uVar3 & 4;\n    if (uVar7 != 0) goto LAB_000353e5;\nLAB_000352d3:\n    local_8c = *param_1;\n    local_54 = 0;\n    local_4c = 0x20;\n    local_48 = 0;\n    local_44 = 0;\n    local_50 = local_80;\n    local_40 = 0;\n    if ((uVar3 & 0x20) != 0) {\n      local_8c = (double)(longlong)local_8c;\n    }\n    sqlite3_str_appendf(&local_54,"%!.15g",(int)local_8c,local_8c._4_4_);\n    *(undefined1 *)((int)local_80 + local_44) = 0;\n  }\n  else {\n    local_80 = *(undefined4 **)((int)param_1 + 0x14);\n    *(undefined4 **)(param_1 + 2) = local_80;\n    uVar7 = *(ushort *)(param_1 + 1);\n    uVar3 = uVar7 & 0x2d;\n    *(ushort *)(param_1 + 1) = uVar3;\n    uVar7 = uVar7 & 4;\n    if (uVar7 == 0) goto LAB_000352d3;\nLAB_000353e5:\n    __memcpy_chk(&local_54,param_1,uVar7 * 2,8);\n    puVar1 = local_50;\n    iVar9 = local_54;\n    puVar10 = local_50;\n    if ((int)local_50 < 0) {\n      iVar9 = 0;\n      puVar10 = (undefined4 *)0x80000000;\n      if (local_50 != (undefined4 *)0x80000000 || local_54 != 0) {\n        iVar9 = -local_54;\n        puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0));\n      }\n    }\n    lVar11 = CONCAT44(puVar10,iVar9);\n    local_8c._0_4_ = 0x14;\n    local_21 = 0;\n    iVar9 = (int)local_8c;\n    do {\n      local_8c._0_4_ = iVar9;\n      iVar9 = (int)local_8c + -1;\n      cVar2 = FUN_000d10e0(lVar11,10,0);\n      auStack_37[(int)local_8c + 1] = cVar2 + '0';\n      lVar11 = FUN_000d0fc0(lVar11,10,0);\n    } while (lVar11 != 0);\n    if ((int)puVar1 < 0) {\n      auStack_37[(int)local_8c] = 0x2d;\n      iVar9 = (int)local_8c + -2;\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c);\n    }\n    else {\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c + 1);\n    }\n    iVar9 = -iVar9;\n    uVar8 = iVar9 + 0x15;\n    if (uVar8 < 4) {\n      if ((uVar8 != 0) && (*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0)) {\n        *(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13);\n      }\n    }\n    else {\n      *local_80 = *puVar1;\n      *(undefined4 *)((int)local_80 + iVar9 + 0x11) = *(undefined4 *)(iVar9 + 0x11 + (int)puVar1);\n      iVar9 = (int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc);\n      uVar8 = iVar9 + uVar8 & 0xfffffffc;\n      if (3 < uVar8) {\n        uVar6 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);\n      }\n    }\n  }\n  sVar4 = strlen(*(char **)(param_1 + 2));\n  *(undefined1 *)((int)param_1 + 10) = 1;\n  *(size_t *)((int)param_1 + 0xc) = sVar4 & 0x3fffffff;\n  uVar7 = *(ushort *)(param_1 + 1);\n  if (param_3 != '\0') {\n    uVar7 = uVar7 & 0xffd3;\n  }\n  *(ushort *)(param_1 + 1) = uVar7 | 0x202;\n  if ((((uVar7 | 0x202) & 2) == 0) || (param_2 == '\x01')) {\n    uVar5 = 0;\n  }\n  else {\n    FUN_000323c0();\n    uVar5 = 0;\n  }\nLAB_00035375:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000d1450();\n}\n\n" comment (function_definition "undefined4 __regparm3 FUN_00035280(double *param_1,char param_2,char param_3)\n\n{\n  undefined4 *puVar1;\n  char cVar2;\n  ushort uVar3;\n  size_t sVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  ushort uVar7;\n  uint uVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  int in_GS_OFFSET;\n  longlong lVar11;\n  undefined8 local_8c;\n  undefined4 *local_80;\n  int local_54;\n  undefined4 *local_50;\n  undefined4 local_4c;\n  undefined4 local_48;\n  int local_44;\n  undefined2 local_40;\n  undefined1 auStack_37 [22];\n  undefined1 local_21;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3528b;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (*(int *)(param_1 + 3) < 0x20) {\n    iVar9 = FUN_000304f0();\n    if (iVar9 != 0) {\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      uVar5 = 7;\n      goto LAB_00035375;\n    }\n    local_80 = *(undefined4 **)(param_1 + 2);\n    uVar3 = *(ushort *)(param_1 + 1);\n    uVar7 = uVar3 & 4;\n    if (uVar7 != 0) goto LAB_000353e5;\nLAB_000352d3:\n    local_8c = *param_1;\n    local_54 = 0;\n    local_4c = 0x20;\n    local_48 = 0;\n    local_44 = 0;\n    local_50 = local_80;\n    local_40 = 0;\n    if ((uVar3 & 0x20) != 0) {\n      local_8c = (double)(longlong)local_8c;\n    }\n    sqlite3_str_appendf(&local_54,"%!.15g",(int)local_8c,local_8c._4_4_);\n    *(undefined1 *)((int)local_80 + local_44) = 0;\n  }\n  else {\n    local_80 = *(undefined4 **)((int)param_1 + 0x14);\n    *(undefined4 **)(param_1 + 2) = local_80;\n    uVar7 = *(ushort *)(param_1 + 1);\n    uVar3 = uVar7 & 0x2d;\n    *(ushort *)(param_1 + 1) = uVar3;\n    uVar7 = uVar7 & 4;\n    if (uVar7 == 0) goto LAB_000352d3;\nLAB_000353e5:\n    __memcpy_chk(&local_54,param_1,uVar7 * 2,8);\n    puVar1 = local_50;\n    iVar9 = local_54;\n    puVar10 = local_50;\n    if ((int)local_50 < 0) {\n      iVar9 = 0;\n      puVar10 = (undefined4 *)0x80000000;\n      if (local_50 != (undefined4 *)0x80000000 || local_54 != 0) {\n        iVar9 = -local_54;\n        puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0));\n      }\n    }\n    lVar11 = CONCAT44(puVar10,iVar9);\n    local_8c._0_4_ = 0x14;\n    local_21 = 0;\n    iVar9 = (int)local_8c;\n    do {\n      local_8c._0_4_ = iVar9;\n      iVar9 = (int)local_8c + -1;\n      cVar2 = FUN_000d10e0(lVar11,10,0);\n      auStack_37[(int)local_8c + 1] = cVar2 + '0';\n      lVar11 = FUN_000d0fc0(lVar11,10,0);\n    } while (lVar11 != 0);\n    if ((int)puVar1 < 0) {\n      auStack_37[(int)local_8c] = 0x2d;\n      iVar9 = (int)local_8c + -2;\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c);\n    }\n    else {\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c + 1);\n    }\n    iVar9 = -iVar9;\n    uVar8 = iVar9 + 0x15;\n    if (uVar8 < 4) {\n      if ((uVar8 != 0) && (*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0)) {\n        *(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13);\n      }\n    }\n    else {\n      *local_80 = *puVar1;\n      *(undefined4 *)((int)local_80 + iVar9 + 0x11) = *(undefined4 *)(iVar9 + 0x11 + (int)puVar1);\n      iVar9 = (int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc);\n      uVar8 = iVar9 + uVar8 & 0xfffffffc;\n      if (3 < uVar8) {\n        uVar6 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);\n      }\n    }\n  }\n  sVar4 = strlen(*(char **)(param_1 + 2));\n  *(undefined1 *)((int)param_1 + 10) = 1;\n  *(size_t *)((int)param_1 + 0xc) = sVar4 & 0x3fffffff;\n  uVar7 = *(ushort *)(param_1 + 1);\n  if (param_3 != '\0') {\n    uVar7 = uVar7 & 0xffd3;\n  }\n  *(ushort *)(param_1 + 1) = uVar7 | 0x202;\n  if ((((uVar7 | 0x202) & 2) == 0) || (param_2 == '\x01')) {\n    uVar5 = 0;\n  }\n  else {\n    FUN_000323c0();\n    uVar5 = 0;\n  }\nLAB_00035375:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000d1450();\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00035280(double *param_1,char param_2,char param_3)" identifier (parameter_list "(double *param_1,char param_2,char param_3)" ( (parameter_declaration "double *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char param_2" primitive_type identifier) , (parameter_declaration "char param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  char cVar2;\n  ushort uVar3;\n  size_t sVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  ushort uVar7;\n  uint uVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  int in_GS_OFFSET;\n  longlong lVar11;\n  undefined8 local_8c;\n  undefined4 *local_80;\n  int local_54;\n  undefined4 *local_50;\n  undefined4 local_4c;\n  undefined4 local_48;\n  int local_44;\n  undefined2 local_40;\n  undefined1 auStack_37 [22];\n  undefined1 local_21;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3528b;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (*(int *)(param_1 + 3) < 0x20) {\n    iVar9 = FUN_000304f0();\n    if (iVar9 != 0) {\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      uVar5 = 7;\n      goto LAB_00035375;\n    }\n    local_80 = *(undefined4 **)(param_1 + 2);\n    uVar3 = *(ushort *)(param_1 + 1);\n    uVar7 = uVar3 & 4;\n    if (uVar7 != 0) goto LAB_000353e5;\nLAB_000352d3:\n    local_8c = *param_1;\n    local_54 = 0;\n    local_4c = 0x20;\n    local_48 = 0;\n    local_44 = 0;\n    local_50 = local_80;\n    local_40 = 0;\n    if ((uVar3 & 0x20) != 0) {\n      local_8c = (double)(longlong)local_8c;\n    }\n    sqlite3_str_appendf(&local_54,"%!.15g",(int)local_8c,local_8c._4_4_);\n    *(undefined1 *)((int)local_80 + local_44) = 0;\n  }\n  else {\n    local_80 = *(undefined4 **)((int)param_1 + 0x14);\n    *(undefined4 **)(param_1 + 2) = local_80;\n    uVar7 = *(ushort *)(param_1 + 1);\n    uVar3 = uVar7 & 0x2d;\n    *(ushort *)(param_1 + 1) = uVar3;\n    uVar7 = uVar7 & 4;\n    if (uVar7 == 0) goto LAB_000352d3;\nLAB_000353e5:\n    __memcpy_chk(&local_54,param_1,uVar7 * 2,8);\n    puVar1 = local_50;\n    iVar9 = local_54;\n    puVar10 = local_50;\n    if ((int)local_50 < 0) {\n      iVar9 = 0;\n      puVar10 = (undefined4 *)0x80000000;\n      if (local_50 != (undefined4 *)0x80000000 || local_54 != 0) {\n        iVar9 = -local_54;\n        puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0));\n      }\n    }\n    lVar11 = CONCAT44(puVar10,iVar9);\n    local_8c._0_4_ = 0x14;\n    local_21 = 0;\n    iVar9 = (int)local_8c;\n    do {\n      local_8c._0_4_ = iVar9;\n      iVar9 = (int)local_8c + -1;\n      cVar2 = FUN_000d10e0(lVar11,10,0);\n      auStack_37[(int)local_8c + 1] = cVar2 + '0';\n      lVar11 = FUN_000d0fc0(lVar11,10,0);\n    } while (lVar11 != 0);\n    if ((int)puVar1 < 0) {\n      auStack_37[(int)local_8c] = 0x2d;\n      iVar9 = (int)local_8c + -2;\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c);\n    }\n    else {\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c + 1);\n    }\n    iVar9 = -iVar9;\n    uVar8 = iVar9 + 0x15;\n    if (uVar8 < 4) {\n      if ((uVar8 != 0) && (*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0)) {\n        *(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13);\n      }\n    }\n    else {\n      *local_80 = *puVar1;\n      *(undefined4 *)((int)local_80 + iVar9 + 0x11) = *(undefined4 *)(iVar9 + 0x11 + (int)puVar1);\n      iVar9 = (int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc);\n      uVar8 = iVar9 + uVar8 & 0xfffffffc;\n      if (3 < uVar8) {\n        uVar6 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);\n      }\n    }\n  }\n  sVar4 = strlen(*(char **)(param_1 + 2));\n  *(undefined1 *)((int)param_1 + 10) = 1;\n  *(size_t *)((int)param_1 + 0xc) = sVar4 & 0x3fffffff;\n  uVar7 = *(ushort *)(param_1 + 1);\n  if (param_3 != '\0') {\n    uVar7 = uVar7 & 0xffd3;\n  }\n  *(ushort *)(param_1 + 1) = uVar7 | 0x202;\n  if ((((uVar7 | 0x202) & 2) == 0) || (param_2 == '\x01')) {\n    uVar5 = 0;\n  }\n  else {\n    FUN_000323c0();\n    uVar5 = 0;\n  }\nLAB_00035375:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000d1450();\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "ushort uVar3;" type_identifier identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "ushort uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "undefined4 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "longlong lVar11;" type_identifier identifier ;) (declaration "undefined8 local_8c;" type_identifier identifier ;) (declaration "undefined4 *local_80;" type_identifier (pointer_declarator "*local_80" * identifier) ;) (declaration "int local_54;" primitive_type identifier ;) (declaration "undefined4 *local_50;" type_identifier (pointer_declarator "*local_50" * identifier) ;) (declaration "undefined4 local_4c;" type_identifier identifier ;) (declaration "undefined4 local_48;" type_identifier identifier ;) (declaration "int local_44;" primitive_type identifier ;) (declaration "undefined2 local_40;" type_identifier identifier ;) (declaration "undefined1 auStack_37 [22];" type_identifier (array_declarator "auStack_37 [22]" identifier [ number_literal ]) ;) (declaration "undefined1 local_21;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x3528b;" (assignment_expression "uStack_14 = 0x3528b" identifier = number_literal) ;) (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) ))))) ;) (if_statement "if (*(int *)(param_1 + 3) < 0x20) {\n    iVar9 = FUN_000304f0();\n    if (iVar9 != 0) {\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      uVar5 = 7;\n      goto LAB_00035375;\n    }\n    local_80 = *(undefined4 **)(param_1 + 2);\n    uVar3 = *(ushort *)(param_1 + 1);\n    uVar7 = uVar3 & 4;\n    if (uVar7 != 0) goto LAB_000353e5;\nLAB_000352d3:\n    local_8c = *param_1;\n    local_54 = 0;\n    local_4c = 0x20;\n    local_48 = 0;\n    local_44 = 0;\n    local_50 = local_80;\n    local_40 = 0;\n    if ((uVar3 & 0x20) != 0) {\n      local_8c = (double)(longlong)local_8c;\n    }\n    sqlite3_str_appendf(&local_54,"%!.15g",(int)local_8c,local_8c._4_4_);\n    *(undefined1 *)((int)local_80 + local_44) = 0;\n  }\n  else {\n    local_80 = *(undefined4 **)((int)param_1 + 0x14);\n    *(undefined4 **)(param_1 + 2) = local_80;\n    uVar7 = *(ushort *)(param_1 + 1);\n    uVar3 = uVar7 & 0x2d;\n    *(ushort *)(param_1 + 1) = uVar3;\n    uVar7 = uVar7 & 4;\n    if (uVar7 == 0) goto LAB_000352d3;\nLAB_000353e5:\n    __memcpy_chk(&local_54,param_1,uVar7 * 2,8);\n    puVar1 = local_50;\n    iVar9 = local_54;\n    puVar10 = local_50;\n    if ((int)local_50 < 0) {\n      iVar9 = 0;\n      puVar10 = (undefined4 *)0x80000000;\n      if (local_50 != (undefined4 *)0x80000000 || local_54 != 0) {\n        iVar9 = -local_54;\n        puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0));\n      }\n    }\n    lVar11 = CONCAT44(puVar10,iVar9);\n    local_8c._0_4_ = 0x14;\n    local_21 = 0;\n    iVar9 = (int)local_8c;\n    do {\n      local_8c._0_4_ = iVar9;\n      iVar9 = (int)local_8c + -1;\n      cVar2 = FUN_000d10e0(lVar11,10,0);\n      auStack_37[(int)local_8c + 1] = cVar2 + '0';\n      lVar11 = FUN_000d0fc0(lVar11,10,0);\n    } while (lVar11 != 0);\n    if ((int)puVar1 < 0) {\n      auStack_37[(int)local_8c] = 0x2d;\n      iVar9 = (int)local_8c + -2;\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c);\n    }\n    else {\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c + 1);\n    }\n    iVar9 = -iVar9;\n    uVar8 = iVar9 + 0x15;\n    if (uVar8 < 4) {\n      if ((uVar8 != 0) && (*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0)) {\n        *(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13);\n      }\n    }\n    else {\n      *local_80 = *puVar1;\n      *(undefined4 *)((int)local_80 + iVar9 + 0x11) = *(undefined4 *)(iVar9 + 0x11 + (int)puVar1);\n      iVar9 = (int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc);\n      uVar8 = iVar9 + uVar8 & 0xfffffffc;\n      if (3 < uVar8) {\n        uVar6 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);\n      }\n    }\n  }" if (parenthesized_expression "(*(int *)(param_1 + 3) < 0x20)" ( (binary_expression "*(int *)(param_1 + 3) < 0x20" (pointer_expression "*(int *)(param_1 + 3)" * (cast_expression "(int *)(param_1 + 3)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) )))) < number_literal) )) (compound_statement "{\n    iVar9 = FUN_000304f0();\n    if (iVar9 != 0) {\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      uVar5 = 7;\n      goto LAB_00035375;\n    }\n    local_80 = *(undefined4 **)(param_1 + 2);\n    uVar3 = *(ushort *)(param_1 + 1);\n    uVar7 = uVar3 & 4;\n    if (uVar7 != 0) goto LAB_000353e5;\nLAB_000352d3:\n    local_8c = *param_1;\n    local_54 = 0;\n    local_4c = 0x20;\n    local_48 = 0;\n    local_44 = 0;\n    local_50 = local_80;\n    local_40 = 0;\n    if ((uVar3 & 0x20) != 0) {\n      local_8c = (double)(longlong)local_8c;\n    }\n    sqlite3_str_appendf(&local_54,"%!.15g",(int)local_8c,local_8c._4_4_);\n    *(undefined1 *)((int)local_80 + local_44) = 0;\n  }" { (expression_statement "iVar9 = FUN_000304f0();" (assignment_expression "iVar9 = FUN_000304f0()" identifier = (call_expression "FUN_000304f0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar9 != 0) {\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      uVar5 = 7;\n      goto LAB_00035375;\n    }" if (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) (compound_statement "{\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      uVar5 = 7;\n      goto LAB_00035375;\n    }" { (expression_statement "*(undefined1 *)((int)param_1 + 10) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 10) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 10)" * (cast_expression "(undefined1 *)((int)param_1 + 10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 10)" ( (binary_expression "(int)param_1 + 10" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "uVar5 = 7;" (assignment_expression "uVar5 = 7" identifier = number_literal) ;) (goto_statement "goto LAB_00035375;" goto statement_identifier ;) })) (expression_statement "local_80 = *(undefined4 **)(param_1 + 2);" (assignment_expression "local_80 = *(undefined4 **)(param_1 + 2)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 2)" * (cast_expression "(undefined4 **)(param_1 + 2)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(ushort *)(param_1 + 1);" (assignment_expression "uVar3 = *(ushort *)(param_1 + 1)" identifier = (pointer_expression "*(ushort *)(param_1 + 1)" * (cast_expression "(ushort *)(param_1 + 1)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = uVar3 & 4;" (assignment_expression "uVar7 = uVar3 & 4" identifier = (binary_expression "uVar3 & 4" identifier & number_literal)) ;) (if_statement "if (uVar7 != 0) goto LAB_000353e5;" if (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000353e5;" goto statement_identifier ;)) (labeled_statement "LAB_000352d3:\n    local_8c = *param_1;" statement_identifier : (expression_statement "local_8c = *param_1;" (assignment_expression "local_8c = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;)) (expression_statement "local_54 = 0;" (assignment_expression "local_54 = 0" identifier = number_literal) ;) (expression_statement "local_4c = 0x20;" (assignment_expression "local_4c = 0x20" identifier = number_literal) ;) (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" identifier = number_literal) ;) (expression_statement "local_44 = 0;" (assignment_expression "local_44 = 0" identifier = number_literal) ;) (expression_statement "local_50 = local_80;" (assignment_expression "local_50 = local_80" identifier = identifier) ;) (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" identifier = number_literal) ;) (if_statement "if ((uVar3 & 0x20) != 0) {\n      local_8c = (double)(longlong)local_8c;\n    }" if (parenthesized_expression "((uVar3 & 0x20) != 0)" ( (binary_expression "(uVar3 & 0x20) != 0" (parenthesized_expression "(uVar3 & 0x20)" ( (binary_expression "uVar3 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      local_8c = (double)(longlong)local_8c;\n    }" { (expression_statement "local_8c = (double)(longlong)local_8c;" (assignment_expression "local_8c = (double)(longlong)local_8c" identifier = (cast_expression "(double)(longlong)local_8c" ( (type_descriptor "double" primitive_type) ) (cast_expression "(longlong)local_8c" ( (type_descriptor "longlong" type_identifier) ) identifier))) ;) })) (expression_statement "sqlite3_str_appendf(&local_54,"%!.15g",(int)local_8c,local_8c._4_4_);" (call_expression "sqlite3_str_appendf(&local_54,"%!.15g",(int)local_8c,local_8c._4_4_)" identifier (argument_list "(&local_54,"%!.15g",(int)local_8c,local_8c._4_4_)" ( (pointer_expression "&local_54" & identifier) , (string_literal ""%!.15g"" " string_content ") , (cast_expression "(int)local_8c" ( (type_descriptor "int" primitive_type) ) identifier) , (field_expression "local_8c._4_4_" identifier . field_identifier) ))) ;) (expression_statement "*(undefined1 *)((int)local_80 + local_44) = 0;" (assignment_expression "*(undefined1 *)((int)local_80 + local_44) = 0" (pointer_expression "*(undefined1 *)((int)local_80 + local_44)" * (cast_expression "(undefined1 *)((int)local_80 + local_44)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_80 + local_44)" ( (binary_expression "(int)local_80 + local_44" (cast_expression "(int)local_80" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) }) (else_clause "else {\n    local_80 = *(undefined4 **)((int)param_1 + 0x14);\n    *(undefined4 **)(param_1 + 2) = local_80;\n    uVar7 = *(ushort *)(param_1 + 1);\n    uVar3 = uVar7 & 0x2d;\n    *(ushort *)(param_1 + 1) = uVar3;\n    uVar7 = uVar7 & 4;\n    if (uVar7 == 0) goto LAB_000352d3;\nLAB_000353e5:\n    __memcpy_chk(&local_54,param_1,uVar7 * 2,8);\n    puVar1 = local_50;\n    iVar9 = local_54;\n    puVar10 = local_50;\n    if ((int)local_50 < 0) {\n      iVar9 = 0;\n      puVar10 = (undefined4 *)0x80000000;\n      if (local_50 != (undefined4 *)0x80000000 || local_54 != 0) {\n        iVar9 = -local_54;\n        puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0));\n      }\n    }\n    lVar11 = CONCAT44(puVar10,iVar9);\n    local_8c._0_4_ = 0x14;\n    local_21 = 0;\n    iVar9 = (int)local_8c;\n    do {\n      local_8c._0_4_ = iVar9;\n      iVar9 = (int)local_8c + -1;\n      cVar2 = FUN_000d10e0(lVar11,10,0);\n      auStack_37[(int)local_8c + 1] = cVar2 + '0';\n      lVar11 = FUN_000d0fc0(lVar11,10,0);\n    } while (lVar11 != 0);\n    if ((int)puVar1 < 0) {\n      auStack_37[(int)local_8c] = 0x2d;\n      iVar9 = (int)local_8c + -2;\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c);\n    }\n    else {\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c + 1);\n    }\n    iVar9 = -iVar9;\n    uVar8 = iVar9 + 0x15;\n    if (uVar8 < 4) {\n      if ((uVar8 != 0) && (*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0)) {\n        *(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13);\n      }\n    }\n    else {\n      *local_80 = *puVar1;\n      *(undefined4 *)((int)local_80 + iVar9 + 0x11) = *(undefined4 *)(iVar9 + 0x11 + (int)puVar1);\n      iVar9 = (int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc);\n      uVar8 = iVar9 + uVar8 & 0xfffffffc;\n      if (3 < uVar8) {\n        uVar6 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);\n      }\n    }\n  }" else (compound_statement "{\n    local_80 = *(undefined4 **)((int)param_1 + 0x14);\n    *(undefined4 **)(param_1 + 2) = local_80;\n    uVar7 = *(ushort *)(param_1 + 1);\n    uVar3 = uVar7 & 0x2d;\n    *(ushort *)(param_1 + 1) = uVar3;\n    uVar7 = uVar7 & 4;\n    if (uVar7 == 0) goto LAB_000352d3;\nLAB_000353e5:\n    __memcpy_chk(&local_54,param_1,uVar7 * 2,8);\n    puVar1 = local_50;\n    iVar9 = local_54;\n    puVar10 = local_50;\n    if ((int)local_50 < 0) {\n      iVar9 = 0;\n      puVar10 = (undefined4 *)0x80000000;\n      if (local_50 != (undefined4 *)0x80000000 || local_54 != 0) {\n        iVar9 = -local_54;\n        puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0));\n      }\n    }\n    lVar11 = CONCAT44(puVar10,iVar9);\n    local_8c._0_4_ = 0x14;\n    local_21 = 0;\n    iVar9 = (int)local_8c;\n    do {\n      local_8c._0_4_ = iVar9;\n      iVar9 = (int)local_8c + -1;\n      cVar2 = FUN_000d10e0(lVar11,10,0);\n      auStack_37[(int)local_8c + 1] = cVar2 + '0';\n      lVar11 = FUN_000d0fc0(lVar11,10,0);\n    } while (lVar11 != 0);\n    if ((int)puVar1 < 0) {\n      auStack_37[(int)local_8c] = 0x2d;\n      iVar9 = (int)local_8c + -2;\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c);\n    }\n    else {\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c + 1);\n    }\n    iVar9 = -iVar9;\n    uVar8 = iVar9 + 0x15;\n    if (uVar8 < 4) {\n      if ((uVar8 != 0) && (*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0)) {\n        *(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13);\n      }\n    }\n    else {\n      *local_80 = *puVar1;\n      *(undefined4 *)((int)local_80 + iVar9 + 0x11) = *(undefined4 *)(iVar9 + 0x11 + (int)puVar1);\n      iVar9 = (int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc);\n      uVar8 = iVar9 + uVar8 & 0xfffffffc;\n      if (3 < uVar8) {\n        uVar6 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);\n      }\n    }\n  }" { (expression_statement "local_80 = *(undefined4 **)((int)param_1 + 0x14);" (assignment_expression "local_80 = *(undefined4 **)((int)param_1 + 0x14)" identifier = (pointer_expression "*(undefined4 **)((int)param_1 + 0x14)" * (cast_expression "(undefined4 **)((int)param_1 + 0x14)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)param_1 + 0x14)" ( (binary_expression "(int)param_1 + 0x14" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "*(undefined4 **)(param_1 + 2) = local_80;" (assignment_expression "*(undefined4 **)(param_1 + 2) = local_80" (pointer_expression "*(undefined4 **)(param_1 + 2)" * (cast_expression "(undefined4 **)(param_1 + 2)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar7 = *(ushort *)(param_1 + 1);" (assignment_expression "uVar7 = *(ushort *)(param_1 + 1)" identifier = (pointer_expression "*(ushort *)(param_1 + 1)" * (cast_expression "(ushort *)(param_1 + 1)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = uVar7 & 0x2d;" (assignment_expression "uVar3 = uVar7 & 0x2d" identifier = (binary_expression "uVar7 & 0x2d" identifier & number_literal)) ;) (expression_statement "*(ushort *)(param_1 + 1) = uVar3;" (assignment_expression "*(ushort *)(param_1 + 1) = uVar3" (pointer_expression "*(ushort *)(param_1 + 1)" * (cast_expression "(ushort *)(param_1 + 1)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar7 = uVar7 & 4;" (assignment_expression "uVar7 = uVar7 & 4" identifier = (binary_expression "uVar7 & 4" identifier & number_literal)) ;) (if_statement "if (uVar7 == 0) goto LAB_000352d3;" if (parenthesized_expression "(uVar7 == 0)" ( (binary_expression "uVar7 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000352d3;" goto statement_identifier ;)) (labeled_statement "LAB_000353e5:\n    __memcpy_chk(&local_54,param_1,uVar7 * 2,8);" statement_identifier : (expression_statement "__memcpy_chk(&local_54,param_1,uVar7 * 2,8);" (call_expression "__memcpy_chk(&local_54,param_1,uVar7 * 2,8)" identifier (argument_list "(&local_54,param_1,uVar7 * 2,8)" ( (pointer_expression "&local_54" & identifier) , identifier , (binary_expression "uVar7 * 2" identifier * number_literal) , number_literal ))) ;)) (expression_statement "puVar1 = local_50;" (assignment_expression "puVar1 = local_50" identifier = identifier) ;) (expression_statement "iVar9 = local_54;" (assignment_expression "iVar9 = local_54" identifier = identifier) ;) (expression_statement "puVar10 = local_50;" (assignment_expression "puVar10 = local_50" identifier = identifier) ;) (if_statement "if ((int)local_50 < 0) {\n      iVar9 = 0;\n      puVar10 = (undefined4 *)0x80000000;\n      if (local_50 != (undefined4 *)0x80000000 || local_54 != 0) {\n        iVar9 = -local_54;\n        puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0));\n      }\n    }" if (parenthesized_expression "((int)local_50 < 0)" ( (binary_expression "(int)local_50 < 0" (cast_expression "(int)local_50" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      iVar9 = 0;\n      puVar10 = (undefined4 *)0x80000000;\n      if (local_50 != (undefined4 *)0x80000000 || local_54 != 0) {\n        iVar9 = -local_54;\n        puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0));\n      }\n    }" { (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (expression_statement "puVar10 = (undefined4 *)0x80000000;" (assignment_expression "puVar10 = (undefined4 *)0x80000000" identifier = (cast_expression "(undefined4 *)0x80000000" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (local_50 != (undefined4 *)0x80000000 || local_54 != 0) {\n        iVar9 = -local_54;\n        puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0));\n      }" if (parenthesized_expression "(local_50 != (undefined4 *)0x80000000 || local_54 != 0)" ( (binary_expression "local_50 != (undefined4 *)0x80000000 || local_54 != 0" (binary_expression "local_50 != (undefined4 *)0x80000000" identifier != (cast_expression "(undefined4 *)0x80000000" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) || (binary_expression "local_54 != 0" identifier != number_literal)) )) (compound_statement "{\n        iVar9 = -local_54;\n        puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0));\n      }" { (expression_statement "iVar9 = -local_54;" (assignment_expression "iVar9 = -local_54" identifier = (unary_expression "-local_54" - identifier)) ;) (expression_statement "puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0));" (assignment_expression "puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0))" identifier = (cast_expression "(undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (unary_expression "-(int)((int)local_50 + (uint)(local_54 != 0))" - (cast_expression "(int)((int)local_50 + (uint)(local_54 != 0))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((int)local_50 + (uint)(local_54 != 0))" ( (binary_expression "(int)local_50 + (uint)(local_54 != 0)" (cast_expression "(int)local_50" ( (type_descriptor "int" primitive_type) ) identifier) + (call_expression "(uint)(local_54 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_54 != 0)" ( (binary_expression "local_54 != 0" identifier != number_literal) )))) )))))) ;) })) })) (expression_statement "lVar11 = CONCAT44(puVar10,iVar9);" (assignment_expression "lVar11 = CONCAT44(puVar10,iVar9)" identifier = (call_expression "CONCAT44(puVar10,iVar9)" identifier (argument_list "(puVar10,iVar9)" ( identifier , identifier )))) ;) (expression_statement "local_8c._0_4_ = 0x14;" (assignment_expression "local_8c._0_4_ = 0x14" (field_expression "local_8c._0_4_" identifier . field_identifier) = number_literal) ;) (expression_statement "local_21 = 0;" (assignment_expression "local_21 = 0" identifier = number_literal) ;) (expression_statement "iVar9 = (int)local_8c;" (assignment_expression "iVar9 = (int)local_8c" identifier = (cast_expression "(int)local_8c" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (do_statement "do {\n      local_8c._0_4_ = iVar9;\n      iVar9 = (int)local_8c + -1;\n      cVar2 = FUN_000d10e0(lVar11,10,0);\n      auStack_37[(int)local_8c + 1] = cVar2 + '0';\n      lVar11 = FUN_000d0fc0(lVar11,10,0);\n    } while (lVar11 != 0);" do (compound_statement "{\n      local_8c._0_4_ = iVar9;\n      iVar9 = (int)local_8c + -1;\n      cVar2 = FUN_000d10e0(lVar11,10,0);\n      auStack_37[(int)local_8c + 1] = cVar2 + '0';\n      lVar11 = FUN_000d0fc0(lVar11,10,0);\n    }" { (expression_statement "local_8c._0_4_ = iVar9;" (assignment_expression "local_8c._0_4_ = iVar9" (field_expression "local_8c._0_4_" identifier . field_identifier) = identifier) ;) (expression_statement "iVar9 = (int)local_8c + -1;" (assignment_expression "iVar9 = (int)local_8c + -1" identifier = (binary_expression "(int)local_8c + -1" (cast_expression "(int)local_8c" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal)) ;) (expression_statement "cVar2 = FUN_000d10e0(lVar11,10,0);" (assignment_expression "cVar2 = FUN_000d10e0(lVar11,10,0)" identifier = (call_expression "FUN_000d10e0(lVar11,10,0)" identifier (argument_list "(lVar11,10,0)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "auStack_37[(int)local_8c + 1] = cVar2 + '0';" (assignment_expression "auStack_37[(int)local_8c + 1] = cVar2 + '0'" (subscript_expression "auStack_37[(int)local_8c + 1]" identifier [ (binary_expression "(int)local_8c + 1" (cast_expression "(int)local_8c" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ]) = (binary_expression "cVar2 + '0'" identifier + (char_literal "'0'" ' character '))) ;) (expression_statement "lVar11 = FUN_000d0fc0(lVar11,10,0);" (assignment_expression "lVar11 = FUN_000d0fc0(lVar11,10,0)" identifier = (call_expression "FUN_000d0fc0(lVar11,10,0)" identifier (argument_list "(lVar11,10,0)" ( identifier , number_literal , number_literal )))) ;) }) while (parenthesized_expression "(lVar11 != 0)" ( (binary_expression "lVar11 != 0" identifier != number_literal) )) ;) (if_statement "if ((int)puVar1 < 0) {\n      auStack_37[(int)local_8c] = 0x2d;\n      iVar9 = (int)local_8c + -2;\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c);\n    }\n    else {\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c + 1);\n    }" if (parenthesized_expression "((int)puVar1 < 0)" ( (binary_expression "(int)puVar1 < 0" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      auStack_37[(int)local_8c] = 0x2d;\n      iVar9 = (int)local_8c + -2;\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c);\n    }" { (expression_statement "auStack_37[(int)local_8c] = 0x2d;" (assignment_expression "auStack_37[(int)local_8c] = 0x2d" (subscript_expression "auStack_37[(int)local_8c]" identifier [ (cast_expression "(int)local_8c" ( (type_descriptor "int" primitive_type) ) identifier) ]) = number_literal) ;) (expression_statement "iVar9 = (int)local_8c + -2;" (assignment_expression "iVar9 = (int)local_8c + -2" identifier = (binary_expression "(int)local_8c + -2" (cast_expression "(int)local_8c" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal)) ;) (expression_statement "puVar1 = (undefined4 *)(auStack_37 + (int)local_8c);" (assignment_expression "puVar1 = (undefined4 *)(auStack_37 + (int)local_8c)" identifier = (cast_expression "(undefined4 *)(auStack_37 + (int)local_8c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(auStack_37 + (int)local_8c)" ( (binary_expression "auStack_37 + (int)local_8c" identifier + (cast_expression "(int)local_8c" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) }) (else_clause "else {\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c + 1);\n    }" else (compound_statement "{\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c + 1);\n    }" { (expression_statement "puVar1 = (undefined4 *)(auStack_37 + (int)local_8c + 1);" (assignment_expression "puVar1 = (undefined4 *)(auStack_37 + (int)local_8c + 1)" identifier = (cast_expression "(undefined4 *)(auStack_37 + (int)local_8c + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(auStack_37 + (int)local_8c + 1)" ( (binary_expression "auStack_37 + (int)local_8c + 1" (binary_expression "auStack_37 + (int)local_8c" identifier + (cast_expression "(int)local_8c" ( (type_descriptor "int" primitive_type) ) identifier)) + number_literal) )))) ;) }))) (expression_statement "iVar9 = -iVar9;" (assignment_expression "iVar9 = -iVar9" identifier = (unary_expression "-iVar9" - identifier)) ;) (expression_statement "uVar8 = iVar9 + 0x15;" (assignment_expression "uVar8 = iVar9 + 0x15" identifier = (binary_expression "iVar9 + 0x15" identifier + number_literal)) ;) (if_statement "if (uVar8 < 4) {\n      if ((uVar8 != 0) && (*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0)) {\n        *(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13);\n      }\n    }\n    else {\n      *local_80 = *puVar1;\n      *(undefined4 *)((int)local_80 + iVar9 + 0x11) = *(undefined4 *)(iVar9 + 0x11 + (int)puVar1);\n      iVar9 = (int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc);\n      uVar8 = iVar9 + uVar8 & 0xfffffffc;\n      if (3 < uVar8) {\n        uVar6 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);\n      }\n    }" if (parenthesized_expression "(uVar8 < 4)" ( (binary_expression "uVar8 < 4" identifier < number_literal) )) (compound_statement "{\n      if ((uVar8 != 0) && (*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0)) {\n        *(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13);\n      }\n    }" { (if_statement "if ((uVar8 != 0) && (*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0)) {\n        *(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13);\n      }" if (parenthesized_expression "((uVar8 != 0) && (*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0))" ( (binary_expression "(uVar8 != 0) && (*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0)" (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0)" ( (comma_expression "*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0" (assignment_expression "*(undefined1 *)local_80 = *(undefined1 *)puVar1" (pointer_expression "*(undefined1 *)local_80" * (cast_expression "(undefined1 *)local_80" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined1 *)puVar1" * (cast_expression "(undefined1 *)puVar1" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) , (binary_expression "(uVar8 & 2) != 0" (parenthesized_expression "(uVar8 & 2)" ( (binary_expression "uVar8 & 2" identifier & number_literal) )) != number_literal)) ))) )) (compound_statement "{\n        *(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13);\n      }" { (expression_statement "*(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13);" (assignment_expression "*(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13)" (pointer_expression "*(undefined2 *)((int)local_80 + iVar9 + 0x13)" * (cast_expression "(undefined2 *)((int)local_80 + iVar9 + 0x13)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_80 + iVar9 + 0x13)" ( (binary_expression "(int)local_80 + iVar9 + 0x13" (binary_expression "(int)local_80 + iVar9" (cast_expression "(int)local_80" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = (pointer_expression "*(undefined2 *)((int)puVar1 + iVar9 + 0x13)" * (cast_expression "(undefined2 *)((int)puVar1 + iVar9 + 0x13)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + iVar9 + 0x13)" ( (binary_expression "(int)puVar1 + iVar9 + 0x13" (binary_expression "(int)puVar1 + iVar9" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ))))) ;) })) }) (else_clause "else {\n      *local_80 = *puVar1;\n      *(undefined4 *)((int)local_80 + iVar9 + 0x11) = *(undefined4 *)(iVar9 + 0x11 + (int)puVar1);\n      iVar9 = (int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc);\n      uVar8 = iVar9 + uVar8 & 0xfffffffc;\n      if (3 < uVar8) {\n        uVar6 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);\n      }\n    }" else (compound_statement "{\n      *local_80 = *puVar1;\n      *(undefined4 *)((int)local_80 + iVar9 + 0x11) = *(undefined4 *)(iVar9 + 0x11 + (int)puVar1);\n      iVar9 = (int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc);\n      uVar8 = iVar9 + uVar8 & 0xfffffffc;\n      if (3 < uVar8) {\n        uVar6 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);\n      }\n    }" { (expression_statement "*local_80 = *puVar1;" (assignment_expression "*local_80 = *puVar1" (pointer_expression "*local_80" * identifier) = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "*(undefined4 *)((int)local_80 + iVar9 + 0x11) = *(undefined4 *)(iVar9 + 0x11 + (int)puVar1);" (assignment_expression "*(undefined4 *)((int)local_80 + iVar9 + 0x11) = *(undefined4 *)(iVar9 + 0x11 + (int)puVar1)" (pointer_expression "*(undefined4 *)((int)local_80 + iVar9 + 0x11)" * (cast_expression "(undefined4 *)((int)local_80 + iVar9 + 0x11)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_80 + iVar9 + 0x11)" ( (binary_expression "(int)local_80 + iVar9 + 0x11" (binary_expression "(int)local_80 + iVar9" (cast_expression "(int)local_80" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar9 + 0x11 + (int)puVar1)" * (cast_expression "(undefined4 *)(iVar9 + 0x11 + (int)puVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x11 + (int)puVar1)" ( (binary_expression "iVar9 + 0x11 + (int)puVar1" (binary_expression "iVar9 + 0x11" identifier + number_literal) + (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ))))) ;) (expression_statement "iVar9 = (int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc);" (assignment_expression "iVar9 = (int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc)" identifier = (binary_expression "(int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc)" (cast_expression "(int)local_80" ( (type_descriptor "int" primitive_type) ) identifier) - (parenthesized_expression "((uint)(local_80 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(local_80 + 1) & 0xfffffffc" (call_expression "(uint)(local_80 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_80 + 1)" ( (binary_expression "local_80 + 1" identifier + number_literal) ))) & number_literal) )))) ;) (expression_statement "uVar8 = iVar9 + uVar8 & 0xfffffffc;" (assignment_expression "uVar8 = iVar9 + uVar8 & 0xfffffffc" identifier = (binary_expression "iVar9 + uVar8 & 0xfffffffc" (binary_expression "iVar9 + uVar8" identifier + identifier) & number_literal)) ;) (if_statement "if (3 < uVar8) {\n        uVar6 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);\n      }" if (parenthesized_expression "(3 < uVar8)" ( (binary_expression "3 < uVar8" number_literal < identifier) )) (compound_statement "{\n        uVar6 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);\n      }" { (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (do_statement "do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);" do (compound_statement "{\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        }" { (expression_statement "*(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));" (assignment_expression "*(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9))" (pointer_expression "*(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6)" * (cast_expression "(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(((uint)(local_80 + 1) & 0xfffffffc) + uVar6)" ( (binary_expression "((uint)(local_80 + 1) & 0xfffffffc) + uVar6" (parenthesized_expression "((uint)(local_80 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(local_80 + 1) & 0xfffffffc" (call_expression "(uint)(local_80 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_80 + 1)" ( (binary_expression "local_80 + 1" identifier + number_literal) ))) & number_literal) )) + identifier) )))) = (pointer_expression "*(undefined4 *)((int)puVar1 + (uVar6 - iVar9))" * (cast_expression "(undefined4 *)((int)puVar1 + (uVar6 - iVar9))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + (uVar6 - iVar9))" ( (binary_expression "(int)puVar1 + (uVar6 - iVar9)" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(uVar6 - iVar9)" ( (binary_expression "uVar6 - iVar9" identifier - identifier) ))) ))))) ;) (expression_statement "uVar6 = uVar6 + 4;" (assignment_expression "uVar6 = uVar6 + 4" identifier = (binary_expression "uVar6 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar6 < uVar8)" ( (binary_expression "uVar6 < uVar8" identifier < identifier) )) ;) })) }))) }))) (expression_statement "sVar4 = strlen(*(char **)(param_1 + 2));" (assignment_expression "sVar4 = strlen(*(char **)(param_1 + 2))" identifier = (call_expression "strlen(*(char **)(param_1 + 2))" identifier (argument_list "(*(char **)(param_1 + 2))" ( (pointer_expression "*(char **)(param_1 + 2)" * (cast_expression "(char **)(param_1 + 2)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) )))) ;) (expression_statement "*(undefined1 *)((int)param_1 + 10) = 1;" (assignment_expression "*(undefined1 *)((int)param_1 + 10) = 1" (pointer_expression "*(undefined1 *)((int)param_1 + 10)" * (cast_expression "(undefined1 *)((int)param_1 + 10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 10)" ( (binary_expression "(int)param_1 + 10" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(size_t *)((int)param_1 + 0xc) = sVar4 & 0x3fffffff;" (assignment_expression "*(size_t *)((int)param_1 + 0xc) = sVar4 & 0x3fffffff" (pointer_expression "*(size_t *)((int)param_1 + 0xc)" * (cast_expression "(size_t *)((int)param_1 + 0xc)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0xc)" ( (binary_expression "(int)param_1 + 0xc" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "sVar4 & 0x3fffffff" identifier & number_literal)) ;) (expression_statement "uVar7 = *(ushort *)(param_1 + 1);" (assignment_expression "uVar7 = *(ushort *)(param_1 + 1)" identifier = (pointer_expression "*(ushort *)(param_1 + 1)" * (cast_expression "(ushort *)(param_1 + 1)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))))) ;) (if_statement "if (param_3 != '\0') {\n    uVar7 = uVar7 & 0xffd3;\n  }" if (parenthesized_expression "(param_3 != '\0')" ( (binary_expression "param_3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar7 = uVar7 & 0xffd3;\n  }" { (expression_statement "uVar7 = uVar7 & 0xffd3;" (assignment_expression "uVar7 = uVar7 & 0xffd3" identifier = (binary_expression "uVar7 & 0xffd3" identifier & number_literal)) ;) })) (expression_statement "*(ushort *)(param_1 + 1) = uVar7 | 0x202;" (assignment_expression "*(ushort *)(param_1 + 1) = uVar7 | 0x202" (pointer_expression "*(ushort *)(param_1 + 1)" * (cast_expression "(ushort *)(param_1 + 1)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = (binary_expression "uVar7 | 0x202" identifier | number_literal)) ;) (if_statement "if ((((uVar7 | 0x202) & 2) == 0) || (param_2 == '\x01')) {\n    uVar5 = 0;\n  }\n  else {\n    FUN_000323c0();\n    uVar5 = 0;\n  }" if (parenthesized_expression "((((uVar7 | 0x202) & 2) == 0) || (param_2 == '\x01'))" ( (binary_expression "(((uVar7 | 0x202) & 2) == 0) || (param_2 == '\x01')" (parenthesized_expression "(((uVar7 | 0x202) & 2) == 0)" ( (binary_expression "((uVar7 | 0x202) & 2) == 0" (parenthesized_expression "((uVar7 | 0x202) & 2)" ( (binary_expression "(uVar7 | 0x202) & 2" (parenthesized_expression "(uVar7 | 0x202)" ( (binary_expression "uVar7 | 0x202" identifier | number_literal) )) & number_literal) )) == number_literal) )) || (parenthesized_expression "(param_2 == '\x01')" ( (binary_expression "param_2 == '\x01'" identifier == (char_literal "'\x01'" ' escape_sequence ')) ))) )) (compound_statement "{\n    uVar5 = 0;\n  }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    FUN_000323c0();\n    uVar5 = 0;\n  }" else (compound_statement "{\n    FUN_000323c0();\n    uVar5 = 0;\n  }" { (expression_statement "FUN_000323c0();" (call_expression "FUN_000323c0()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) }))) (labeled_statement "LAB_00035375:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\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 uVar5;\n  }" { (return_statement "return uVar5;" return identifier ;) }))) comment (expression_statement "FUN_000d1450();" (call_expression "FUN_000d1450()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint __regparm3 sqlite3VdbeMemStringify(Mem *pMem,u8 enc,u8 bForce)\n\n{\n  char *pcVar1;\n  int iVar2;\n  char cVar3;\n  ushort uVar4;\n  size_t sVar5;\n  int iVar6;\n  uint uVar7;\n  ushort uVar8;\n  uint uVar9;\n  sqlite3 *psVar10;\n  char *pcVar11;\n  int in_GS_OFFSET;\n  longlong lVar12;\n  undefined8 local_8c;\n  char *local_80;\n  StrAccum acc;\n  char cStack_37;\n  char zTemp [22];\n  \n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if (pMem->szMalloc < 0x20) {\n    iVar6 = sqlite3VdbeMemGrow(pMem,0x20,0);\n    if (iVar6 != 0) {\n      pMem->enc = '\0';\n      iVar6 = 7;\n      goto LAB_00035375;\n    }\n    local_80 = pMem->z;\n    uVar4 = pMem->flags;\n    uVar8 = uVar4 & 4;\n    if (uVar8 != 0) goto LAB_000353e5;\nLAB_000352d3:\n    local_8c = (double)(pMem->u).i;\n    acc.db = (sqlite3 *)0x0;\n    acc.nAlloc = 0x20;\n    acc.mxAlloc = 0;\n    acc.nChar = 0;\n    acc.zText = local_80;\n    acc.accError = '\0';\n    acc.printfFlags = '\0';\n    if ((uVar4 & 0x20) != 0) {\n      local_8c = (double)(longlong)local_8c;\n    }\n    sqlite3_str_appendf(&acc,"%!.15g",(int)local_8c,local_8c._4_4_);\n    local_80[acc.nChar] = '\0';\n  }\n  else {\n    local_80 = pMem->zMalloc;\n    pMem->z = local_80;\n    uVar8 = pMem->flags;\n    uVar4 = uVar8 & 0x2d;\n    pMem->flags = uVar4;\n    uVar8 = uVar8 & 4;\n    if (uVar8 == 0) goto LAB_000352d3;\nLAB_000353e5:\n    __memcpy_chk(&acc,pMem,uVar8 * 2,8);\n    pcVar1 = acc.zText;\n    psVar10 = acc.db;\n    pcVar11 = acc.zText;\n    if ((int)acc.zText < 0) {\n      psVar10 = (sqlite3 *)0x0;\n      pcVar11 = (char *)0x80000000;\n      if (acc.zText != (char *)0x80000000 || acc.db != (sqlite3 *)0x0) {\n        psVar10 = (sqlite3 *)-(int)acc.db;\n        pcVar11 = (char *)-(int)(acc.zText + (acc.db != (sqlite3 *)0x0));\n      }\n    }\n    lVar12 = CONCAT44(pcVar11,psVar10);\n    local_8c._0_4_ = 0x14;\n    zTemp[0x15] = '\0';\n    iVar6 = (int)local_8c;\n    do {\n      local_8c._0_4_ = iVar6;\n      iVar6 = (int)local_8c + -1;\n      cVar3 = __umoddi3(lVar12,10,0);\n      zTemp[(int)local_8c] = cVar3 + '0';\n      lVar12 = __udivdi3(lVar12,10,0);\n    } while (lVar12 != 0);\n    if ((int)pcVar1 < 0) {\n      zTemp[(int)local_8c + -1] = '-';\n      iVar6 = (int)local_8c + -2;\n      pcVar1 = zTemp + (int)local_8c + -1;\n    }\n    else {\n      pcVar1 = zTemp + (int)local_8c;\n    }\n    iVar6 = -iVar6;\n    uVar9 = iVar6 + 0x15;\n    if (uVar9 < 4) {\n      if ((uVar9 != 0) && (*local_80 = *pcVar1, (uVar9 & 2) != 0)) {\n        *(undefined2 *)(local_80 + iVar6 + 0x13) = *(undefined2 *)(pcVar1 + iVar6 + 0x13);\n      }\n    }\n    else {\n      *(undefined4 *)local_80 = *(undefined4 *)pcVar1;\n      *(undefined4 *)(local_80 + iVar6 + 0x11) = *(undefined4 *)(pcVar1 + iVar6 + 0x11);\n      iVar6 = (int)local_80 - ((uint)(local_80 + 4) & 0xfffffffc);\n      uVar9 = iVar6 + uVar9 & 0xfffffffc;\n      if (3 < uVar9) {\n        uVar7 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 4) & 0xfffffffc) + uVar7) =\n               *(undefined4 *)(pcVar1 + (uVar7 - iVar6));\n          uVar7 = uVar7 + 4;\n        } while (uVar7 < uVar9);\n      }\n    }\n  }\n  sVar5 = strlen(pMem->z);\n  pMem->enc = '\x01';\n  pMem->n = sVar5 & 0x3fffffff;\n  uVar8 = pMem->flags;\n  if (bForce != '\0') {\n    uVar8 = uVar8 & 0xffd3;\n  }\n  pMem->flags = uVar8 | 0x202;\n  if ((((uVar8 | 0x202) & 2) == 0) || (enc == '\x01')) {\n    iVar6 = 0;\n  }\n  else {\n    sqlite3VdbeMemTranslate(pMem,enc);\n    iVar6 = 0;\n  }\nLAB_00035375:\n  if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar6;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment (function_definition "int __regparm3 sqlite3VdbeMemStringify(Mem *pMem,u8 enc,u8 bForce)\n\n{\n  char *pcVar1;\n  int iVar2;\n  char cVar3;\n  ushort uVar4;\n  size_t sVar5;\n  int iVar6;\n  uint uVar7;\n  ushort uVar8;\n  uint uVar9;\n  sqlite3 *psVar10;\n  char *pcVar11;\n  int in_GS_OFFSET;\n  longlong lVar12;\n  undefined8 local_8c;\n  char *local_80;\n  StrAccum acc;\n  char cStack_37;\n  char zTemp [22];\n  \n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if (pMem->szMalloc < 0x20) {\n    iVar6 = sqlite3VdbeMemGrow(pMem,0x20,0);\n    if (iVar6 != 0) {\n      pMem->enc = '\0';\n      iVar6 = 7;\n      goto LAB_00035375;\n    }\n    local_80 = pMem->z;\n    uVar4 = pMem->flags;\n    uVar8 = uVar4 & 4;\n    if (uVar8 != 0) goto LAB_000353e5;\nLAB_000352d3:\n    local_8c = (double)(pMem->u).i;\n    acc.db = (sqlite3 *)0x0;\n    acc.nAlloc = 0x20;\n    acc.mxAlloc = 0;\n    acc.nChar = 0;\n    acc.zText = local_80;\n    acc.accError = '\0';\n    acc.printfFlags = '\0';\n    if ((uVar4 & 0x20) != 0) {\n      local_8c = (double)(longlong)local_8c;\n    }\n    sqlite3_str_appendf(&acc,"%!.15g",(int)local_8c,local_8c._4_4_);\n    local_80[acc.nChar] = '\0';\n  }\n  else {\n    local_80 = pMem->zMalloc;\n    pMem->z = local_80;\n    uVar8 = pMem->flags;\n    uVar4 = uVar8 & 0x2d;\n    pMem->flags = uVar4;\n    uVar8 = uVar8 & 4;\n    if (uVar8 == 0) goto LAB_000352d3;\nLAB_000353e5:\n    __memcpy_chk(&acc,pMem,uVar8 * 2,8);\n    pcVar1 = acc.zText;\n    psVar10 = acc.db;\n    pcVar11 = acc.zText;\n    if ((int)acc.zText < 0) {\n      psVar10 = (sqlite3 *)0x0;\n      pcVar11 = (char *)0x80000000;\n      if (acc.zText != (char *)0x80000000 || acc.db != (sqlite3 *)0x0) {\n        psVar10 = (sqlite3 *)-(int)acc.db;\n        pcVar11 = (char *)-(int)(acc.zText + (acc.db != (sqlite3 *)0x0));\n      }\n    }\n    lVar12 = CONCAT44(pcVar11,psVar10);\n    local_8c._0_4_ = 0x14;\n    zTemp[0x15] = '\0';\n    iVar6 = (int)local_8c;\n    do {\n      local_8c._0_4_ = iVar6;\n      iVar6 = (int)local_8c + -1;\n      cVar3 = __umoddi3(lVar12,10,0);\n      zTemp[(int)local_8c] = cVar3 + '0';\n      lVar12 = __udivdi3(lVar12,10,0);\n    } while (lVar12 != 0);\n    if ((int)pcVar1 < 0) {\n      zTemp[(int)local_8c + -1] = '-';\n      iVar6 = (int)local_8c + -2;\n      pcVar1 = zTemp + (int)local_8c + -1;\n    }\n    else {\n      pcVar1 = zTemp + (int)local_8c;\n    }\n    iVar6 = -iVar6;\n    uVar9 = iVar6 + 0x15;\n    if (uVar9 < 4) {\n      if ((uVar9 != 0) && (*local_80 = *pcVar1, (uVar9 & 2) != 0)) {\n        *(undefined2 *)(local_80 + iVar6 + 0x13) = *(undefined2 *)(pcVar1 + iVar6 + 0x13);\n      }\n    }\n    else {\n      *(undefined4 *)local_80 = *(undefined4 *)pcVar1;\n      *(undefined4 *)(local_80 + iVar6 + 0x11) = *(undefined4 *)(pcVar1 + iVar6 + 0x11);\n      iVar6 = (int)local_80 - ((uint)(local_80 + 4) & 0xfffffffc);\n      uVar9 = iVar6 + uVar9 & 0xfffffffc;\n      if (3 < uVar9) {\n        uVar7 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 4) & 0xfffffffc) + uVar7) =\n               *(undefined4 *)(pcVar1 + (uVar7 - iVar6));\n          uVar7 = uVar7 + 4;\n        } while (uVar7 < uVar9);\n      }\n    }\n  }\n  sVar5 = strlen(pMem->z);\n  pMem->enc = '\x01';\n  pMem->n = sVar5 & 0x3fffffff;\n  uVar8 = pMem->flags;\n  if (bForce != '\0') {\n    uVar8 = uVar8 & 0xffd3;\n  }\n  pMem->flags = uVar8 | 0x202;\n  if ((((uVar8 | 0x202) & 2) == 0) || (enc == '\x01')) {\n    iVar6 = 0;\n  }\n  else {\n    sqlite3VdbeMemTranslate(pMem,enc);\n    iVar6 = 0;\n  }\nLAB_00035375:\n  if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar6;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "sqlite3VdbeMemStringify(Mem *pMem,u8 enc,u8 bForce)" identifier (parameter_list "(Mem *pMem,u8 enc,u8 bForce)" ( (parameter_declaration "Mem *pMem" type_identifier (pointer_declarator "*pMem" * identifier)) , (parameter_declaration "u8 enc" type_identifier identifier) , (parameter_declaration "u8 bForce" type_identifier identifier) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  char cVar3;\n  ushort uVar4;\n  size_t sVar5;\n  int iVar6;\n  uint uVar7;\n  ushort uVar8;\n  uint uVar9;\n  sqlite3 *psVar10;\n  char *pcVar11;\n  int in_GS_OFFSET;\n  longlong lVar12;\n  undefined8 local_8c;\n  char *local_80;\n  StrAccum acc;\n  char cStack_37;\n  char zTemp [22];\n  \n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if (pMem->szMalloc < 0x20) {\n    iVar6 = sqlite3VdbeMemGrow(pMem,0x20,0);\n    if (iVar6 != 0) {\n      pMem->enc = '\0';\n      iVar6 = 7;\n      goto LAB_00035375;\n    }\n    local_80 = pMem->z;\n    uVar4 = pMem->flags;\n    uVar8 = uVar4 & 4;\n    if (uVar8 != 0) goto LAB_000353e5;\nLAB_000352d3:\n    local_8c = (double)(pMem->u).i;\n    acc.db = (sqlite3 *)0x0;\n    acc.nAlloc = 0x20;\n    acc.mxAlloc = 0;\n    acc.nChar = 0;\n    acc.zText = local_80;\n    acc.accError = '\0';\n    acc.printfFlags = '\0';\n    if ((uVar4 & 0x20) != 0) {\n      local_8c = (double)(longlong)local_8c;\n    }\n    sqlite3_str_appendf(&acc,"%!.15g",(int)local_8c,local_8c._4_4_);\n    local_80[acc.nChar] = '\0';\n  }\n  else {\n    local_80 = pMem->zMalloc;\n    pMem->z = local_80;\n    uVar8 = pMem->flags;\n    uVar4 = uVar8 & 0x2d;\n    pMem->flags = uVar4;\n    uVar8 = uVar8 & 4;\n    if (uVar8 == 0) goto LAB_000352d3;\nLAB_000353e5:\n    __memcpy_chk(&acc,pMem,uVar8 * 2,8);\n    pcVar1 = acc.zText;\n    psVar10 = acc.db;\n    pcVar11 = acc.zText;\n    if ((int)acc.zText < 0) {\n      psVar10 = (sqlite3 *)0x0;\n      pcVar11 = (char *)0x80000000;\n      if (acc.zText != (char *)0x80000000 || acc.db != (sqlite3 *)0x0) {\n        psVar10 = (sqlite3 *)-(int)acc.db;\n        pcVar11 = (char *)-(int)(acc.zText + (acc.db != (sqlite3 *)0x0));\n      }\n    }\n    lVar12 = CONCAT44(pcVar11,psVar10);\n    local_8c._0_4_ = 0x14;\n    zTemp[0x15] = '\0';\n    iVar6 = (int)local_8c;\n    do {\n      local_8c._0_4_ = iVar6;\n      iVar6 = (int)local_8c + -1;\n      cVar3 = __umoddi3(lVar12,10,0);\n      zTemp[(int)local_8c] = cVar3 + '0';\n      lVar12 = __udivdi3(lVar12,10,0);\n    } while (lVar12 != 0);\n    if ((int)pcVar1 < 0) {\n      zTemp[(int)local_8c + -1] = '-';\n      iVar6 = (int)local_8c + -2;\n      pcVar1 = zTemp + (int)local_8c + -1;\n    }\n    else {\n      pcVar1 = zTemp + (int)local_8c;\n    }\n    iVar6 = -iVar6;\n    uVar9 = iVar6 + 0x15;\n    if (uVar9 < 4) {\n      if ((uVar9 != 0) && (*local_80 = *pcVar1, (uVar9 & 2) != 0)) {\n        *(undefined2 *)(local_80 + iVar6 + 0x13) = *(undefined2 *)(pcVar1 + iVar6 + 0x13);\n      }\n    }\n    else {\n      *(undefined4 *)local_80 = *(undefined4 *)pcVar1;\n      *(undefined4 *)(local_80 + iVar6 + 0x11) = *(undefined4 *)(pcVar1 + iVar6 + 0x11);\n      iVar6 = (int)local_80 - ((uint)(local_80 + 4) & 0xfffffffc);\n      uVar9 = iVar6 + uVar9 & 0xfffffffc;\n      if (3 < uVar9) {\n        uVar7 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 4) & 0xfffffffc) + uVar7) =\n               *(undefined4 *)(pcVar1 + (uVar7 - iVar6));\n          uVar7 = uVar7 + 4;\n        } while (uVar7 < uVar9);\n      }\n    }\n  }\n  sVar5 = strlen(pMem->z);\n  pMem->enc = '\x01';\n  pMem->n = sVar5 & 0x3fffffff;\n  uVar8 = pMem->flags;\n  if (bForce != '\0') {\n    uVar8 = uVar8 & 0xffd3;\n  }\n  pMem->flags = uVar8 | 0x202;\n  if ((((uVar8 | 0x202) & 2) == 0) || (enc == '\x01')) {\n    iVar6 = 0;\n  }\n  else {\n    sqlite3VdbeMemTranslate(pMem,enc);\n    iVar6 = 0;\n  }\nLAB_00035375:\n  if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar6;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "ushort uVar4;" type_identifier identifier ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "ushort uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "sqlite3 *psVar10;" type_identifier (pointer_declarator "*psVar10" * identifier) ;) (declaration "char *pcVar11;" primitive_type (pointer_declarator "*pcVar11" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "longlong lVar12;" type_identifier identifier ;) (declaration "undefined8 local_8c;" type_identifier identifier ;) (declaration "char *local_80;" primitive_type (pointer_declarator "*local_80" * identifier) ;) (declaration "StrAccum acc;" type_identifier identifier ;) (declaration "char cStack_37;" primitive_type identifier ;) (declaration "char zTemp [22];" primitive_type (array_declarator "zTemp [22]" identifier [ number_literal ]) ;) (expression_statement "iVar2 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar2 = *(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) ))))) ;) (if_statement "if (pMem->szMalloc < 0x20) {\n    iVar6 = sqlite3VdbeMemGrow(pMem,0x20,0);\n    if (iVar6 != 0) {\n      pMem->enc = '\0';\n      iVar6 = 7;\n      goto LAB_00035375;\n    }\n    local_80 = pMem->z;\n    uVar4 = pMem->flags;\n    uVar8 = uVar4 & 4;\n    if (uVar8 != 0) goto LAB_000353e5;\nLAB_000352d3:\n    local_8c = (double)(pMem->u).i;\n    acc.db = (sqlite3 *)0x0;\n    acc.nAlloc = 0x20;\n    acc.mxAlloc = 0;\n    acc.nChar = 0;\n    acc.zText = local_80;\n    acc.accError = '\0';\n    acc.printfFlags = '\0';\n    if ((uVar4 & 0x20) != 0) {\n      local_8c = (double)(longlong)local_8c;\n    }\n    sqlite3_str_appendf(&acc,"%!.15g",(int)local_8c,local_8c._4_4_);\n    local_80[acc.nChar] = '\0';\n  }\n  else {\n    local_80 = pMem->zMalloc;\n    pMem->z = local_80;\n    uVar8 = pMem->flags;\n    uVar4 = uVar8 & 0x2d;\n    pMem->flags = uVar4;\n    uVar8 = uVar8 & 4;\n    if (uVar8 == 0) goto LAB_000352d3;\nLAB_000353e5:\n    __memcpy_chk(&acc,pMem,uVar8 * 2,8);\n    pcVar1 = acc.zText;\n    psVar10 = acc.db;\n    pcVar11 = acc.zText;\n    if ((int)acc.zText < 0) {\n      psVar10 = (sqlite3 *)0x0;\n      pcVar11 = (char *)0x80000000;\n      if (acc.zText != (char *)0x80000000 || acc.db != (sqlite3 *)0x0) {\n        psVar10 = (sqlite3 *)-(int)acc.db;\n        pcVar11 = (char *)-(int)(acc.zText + (acc.db != (sqlite3 *)0x0));\n      }\n    }\n    lVar12 = CONCAT44(pcVar11,psVar10);\n    local_8c._0_4_ = 0x14;\n    zTemp[0x15] = '\0';\n    iVar6 = (int)local_8c;\n    do {\n      local_8c._0_4_ = iVar6;\n      iVar6 = (int)local_8c + -1;\n      cVar3 = __umoddi3(lVar12,10,0);\n      zTemp[(int)local_8c] = cVar3 + '0';\n      lVar12 = __udivdi3(lVar12,10,0);\n    } while (lVar12 != 0);\n    if ((int)pcVar1 < 0) {\n      zTemp[(int)local_8c + -1] = '-';\n      iVar6 = (int)local_8c + -2;\n      pcVar1 = zTemp + (int)local_8c + -1;\n    }\n    else {\n      pcVar1 = zTemp + (int)local_8c;\n    }\n    iVar6 = -iVar6;\n    uVar9 = iVar6 + 0x15;\n    if (uVar9 < 4) {\n      if ((uVar9 != 0) && (*local_80 = *pcVar1, (uVar9 & 2) != 0)) {\n        *(undefined2 *)(local_80 + iVar6 + 0x13) = *(undefined2 *)(pcVar1 + iVar6 + 0x13);\n      }\n    }\n    else {\n      *(undefined4 *)local_80 = *(undefined4 *)pcVar1;\n      *(undefined4 *)(local_80 + iVar6 + 0x11) = *(undefined4 *)(pcVar1 + iVar6 + 0x11);\n      iVar6 = (int)local_80 - ((uint)(local_80 + 4) & 0xfffffffc);\n      uVar9 = iVar6 + uVar9 & 0xfffffffc;\n      if (3 < uVar9) {\n        uVar7 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 4) & 0xfffffffc) + uVar7) =\n               *(undefined4 *)(pcVar1 + (uVar7 - iVar6));\n          uVar7 = uVar7 + 4;\n        } while (uVar7 < uVar9);\n      }\n    }\n  }" if (parenthesized_expression "(pMem->szMalloc < 0x20)" ( (binary_expression "pMem->szMalloc < 0x20" (field_expression "pMem->szMalloc" identifier -> field_identifier) < number_literal) )) (compound_statement "{\n    iVar6 = sqlite3VdbeMemGrow(pMem,0x20,0);\n    if (iVar6 != 0) {\n      pMem->enc = '\0';\n      iVar6 = 7;\n      goto LAB_00035375;\n    }\n    local_80 = pMem->z;\n    uVar4 = pMem->flags;\n    uVar8 = uVar4 & 4;\n    if (uVar8 != 0) goto LAB_000353e5;\nLAB_000352d3:\n    local_8c = (double)(pMem->u).i;\n    acc.db = (sqlite3 *)0x0;\n    acc.nAlloc = 0x20;\n    acc.mxAlloc = 0;\n    acc.nChar = 0;\n    acc.zText = local_80;\n    acc.accError = '\0';\n    acc.printfFlags = '\0';\n    if ((uVar4 & 0x20) != 0) {\n      local_8c = (double)(longlong)local_8c;\n    }\n    sqlite3_str_appendf(&acc,"%!.15g",(int)local_8c,local_8c._4_4_);\n    local_80[acc.nChar] = '\0';\n  }" { (expression_statement "iVar6 = sqlite3VdbeMemGrow(pMem,0x20,0);" (assignment_expression "iVar6 = sqlite3VdbeMemGrow(pMem,0x20,0)" identifier = (call_expression "sqlite3VdbeMemGrow(pMem,0x20,0)" identifier (argument_list "(pMem,0x20,0)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (iVar6 != 0) {\n      pMem->enc = '\0';\n      iVar6 = 7;\n      goto LAB_00035375;\n    }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n      pMem->enc = '\0';\n      iVar6 = 7;\n      goto LAB_00035375;\n    }" { (expression_statement "pMem->enc = '\0';" (assignment_expression "pMem->enc = '\0'" (field_expression "pMem->enc" identifier -> field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "iVar6 = 7;" (assignment_expression "iVar6 = 7" identifier = number_literal) ;) (goto_statement "goto LAB_00035375;" goto statement_identifier ;) })) (expression_statement "local_80 = pMem->z;" (assignment_expression "local_80 = pMem->z" identifier = (field_expression "pMem->z" identifier -> field_identifier)) ;) (expression_statement "uVar4 = pMem->flags;" (assignment_expression "uVar4 = pMem->flags" identifier = (field_expression "pMem->flags" identifier -> field_identifier)) ;) (expression_statement "uVar8 = uVar4 & 4;" (assignment_expression "uVar8 = uVar4 & 4" identifier = (binary_expression "uVar4 & 4" identifier & number_literal)) ;) (if_statement "if (uVar8 != 0) goto LAB_000353e5;" if (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000353e5;" goto statement_identifier ;)) (labeled_statement "LAB_000352d3:\n    local_8c = (double)(pMem->u).i;" statement_identifier : (expression_statement "local_8c = (double)(pMem->u).i;" (assignment_expression "local_8c = (double)(pMem->u).i" identifier = (cast_expression "(double)(pMem->u).i" ( (type_descriptor "double" primitive_type) ) (field_expression "(pMem->u).i" (parenthesized_expression "(pMem->u)" ( (field_expression "pMem->u" identifier -> field_identifier) )) . field_identifier))) ;)) (expression_statement "acc.db = (sqlite3 *)0x0;" (assignment_expression "acc.db = (sqlite3 *)0x0" (field_expression "acc.db" identifier . field_identifier) = (cast_expression "(sqlite3 *)0x0" ( (type_descriptor "sqlite3 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "acc.nAlloc = 0x20;" (assignment_expression "acc.nAlloc = 0x20" (field_expression "acc.nAlloc" identifier . field_identifier) = number_literal) ;) (expression_statement "acc.mxAlloc = 0;" (assignment_expression "acc.mxAlloc = 0" (field_expression "acc.mxAlloc" identifier . field_identifier) = number_literal) ;) (expression_statement "acc.nChar = 0;" (assignment_expression "acc.nChar = 0" (field_expression "acc.nChar" identifier . field_identifier) = number_literal) ;) (expression_statement "acc.zText = local_80;" (assignment_expression "acc.zText = local_80" (field_expression "acc.zText" identifier . field_identifier) = identifier) ;) (expression_statement "acc.accError = '\0';" (assignment_expression "acc.accError = '\0'" (field_expression "acc.accError" identifier . field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "acc.printfFlags = '\0';" (assignment_expression "acc.printfFlags = '\0'" (field_expression "acc.printfFlags" identifier . field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if ((uVar4 & 0x20) != 0) {\n      local_8c = (double)(longlong)local_8c;\n    }" if (parenthesized_expression "((uVar4 & 0x20) != 0)" ( (binary_expression "(uVar4 & 0x20) != 0" (parenthesized_expression "(uVar4 & 0x20)" ( (binary_expression "uVar4 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      local_8c = (double)(longlong)local_8c;\n    }" { (expression_statement "local_8c = (double)(longlong)local_8c;" (assignment_expression "local_8c = (double)(longlong)local_8c" identifier = (cast_expression "(double)(longlong)local_8c" ( (type_descriptor "double" primitive_type) ) (cast_expression "(longlong)local_8c" ( (type_descriptor "longlong" type_identifier) ) identifier))) ;) })) (expression_statement "sqlite3_str_appendf(&acc,"%!.15g",(int)local_8c,local_8c._4_4_);" (call_expression "sqlite3_str_appendf(&acc,"%!.15g",(int)local_8c,local_8c._4_4_)" identifier (argument_list "(&acc,"%!.15g",(int)local_8c,local_8c._4_4_)" ( (pointer_expression "&acc" & identifier) , (string_literal ""%!.15g"" " string_content ") , (cast_expression "(int)local_8c" ( (type_descriptor "int" primitive_type) ) identifier) , (field_expression "local_8c._4_4_" identifier . field_identifier) ))) ;) (expression_statement "local_80[acc.nChar] = '\0';" (assignment_expression "local_80[acc.nChar] = '\0'" (subscript_expression "local_80[acc.nChar]" identifier [ (field_expression "acc.nChar" identifier . field_identifier) ]) = (char_literal "'\0'" ' escape_sequence ')) ;) }) (else_clause "else {\n    local_80 = pMem->zMalloc;\n    pMem->z = local_80;\n    uVar8 = pMem->flags;\n    uVar4 = uVar8 & 0x2d;\n    pMem->flags = uVar4;\n    uVar8 = uVar8 & 4;\n    if (uVar8 == 0) goto LAB_000352d3;\nLAB_000353e5:\n    __memcpy_chk(&acc,pMem,uVar8 * 2,8);\n    pcVar1 = acc.zText;\n    psVar10 = acc.db;\n    pcVar11 = acc.zText;\n    if ((int)acc.zText < 0) {\n      psVar10 = (sqlite3 *)0x0;\n      pcVar11 = (char *)0x80000000;\n      if (acc.zText != (char *)0x80000000 || acc.db != (sqlite3 *)0x0) {\n        psVar10 = (sqlite3 *)-(int)acc.db;\n        pcVar11 = (char *)-(int)(acc.zText + (acc.db != (sqlite3 *)0x0));\n      }\n    }\n    lVar12 = CONCAT44(pcVar11,psVar10);\n    local_8c._0_4_ = 0x14;\n    zTemp[0x15] = '\0';\n    iVar6 = (int)local_8c;\n    do {\n      local_8c._0_4_ = iVar6;\n      iVar6 = (int)local_8c + -1;\n      cVar3 = __umoddi3(lVar12,10,0);\n      zTemp[(int)local_8c] = cVar3 + '0';\n      lVar12 = __udivdi3(lVar12,10,0);\n    } while (lVar12 != 0);\n    if ((int)pcVar1 < 0) {\n      zTemp[(int)local_8c + -1] = '-';\n      iVar6 = (int)local_8c + -2;\n      pcVar1 = zTemp + (int)local_8c + -1;\n    }\n    else {\n      pcVar1 = zTemp + (int)local_8c;\n    }\n    iVar6 = -iVar6;\n    uVar9 = iVar6 + 0x15;\n    if (uVar9 < 4) {\n      if ((uVar9 != 0) && (*local_80 = *pcVar1, (uVar9 & 2) != 0)) {\n        *(undefined2 *)(local_80 + iVar6 + 0x13) = *(undefined2 *)(pcVar1 + iVar6 + 0x13);\n      }\n    }\n    else {\n      *(undefined4 *)local_80 = *(undefined4 *)pcVar1;\n      *(undefined4 *)(local_80 + iVar6 + 0x11) = *(undefined4 *)(pcVar1 + iVar6 + 0x11);\n      iVar6 = (int)local_80 - ((uint)(local_80 + 4) & 0xfffffffc);\n      uVar9 = iVar6 + uVar9 & 0xfffffffc;\n      if (3 < uVar9) {\n        uVar7 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 4) & 0xfffffffc) + uVar7) =\n               *(undefined4 *)(pcVar1 + (uVar7 - iVar6));\n          uVar7 = uVar7 + 4;\n        } while (uVar7 < uVar9);\n      }\n    }\n  }" else (compound_statement "{\n    local_80 = pMem->zMalloc;\n    pMem->z = local_80;\n    uVar8 = pMem->flags;\n    uVar4 = uVar8 & 0x2d;\n    pMem->flags = uVar4;\n    uVar8 = uVar8 & 4;\n    if (uVar8 == 0) goto LAB_000352d3;\nLAB_000353e5:\n    __memcpy_chk(&acc,pMem,uVar8 * 2,8);\n    pcVar1 = acc.zText;\n    psVar10 = acc.db;\n    pcVar11 = acc.zText;\n    if ((int)acc.zText < 0) {\n      psVar10 = (sqlite3 *)0x0;\n      pcVar11 = (char *)0x80000000;\n      if (acc.zText != (char *)0x80000000 || acc.db != (sqlite3 *)0x0) {\n        psVar10 = (sqlite3 *)-(int)acc.db;\n        pcVar11 = (char *)-(int)(acc.zText + (acc.db != (sqlite3 *)0x0));\n      }\n    }\n    lVar12 = CONCAT44(pcVar11,psVar10);\n    local_8c._0_4_ = 0x14;\n    zTemp[0x15] = '\0';\n    iVar6 = (int)local_8c;\n    do {\n      local_8c._0_4_ = iVar6;\n      iVar6 = (int)local_8c + -1;\n      cVar3 = __umoddi3(lVar12,10,0);\n      zTemp[(int)local_8c] = cVar3 + '0';\n      lVar12 = __udivdi3(lVar12,10,0);\n    } while (lVar12 != 0);\n    if ((int)pcVar1 < 0) {\n      zTemp[(int)local_8c + -1] = '-';\n      iVar6 = (int)local_8c + -2;\n      pcVar1 = zTemp + (int)local_8c + -1;\n    }\n    else {\n      pcVar1 = zTemp + (int)local_8c;\n    }\n    iVar6 = -iVar6;\n    uVar9 = iVar6 + 0x15;\n    if (uVar9 < 4) {\n      if ((uVar9 != 0) && (*local_80 = *pcVar1, (uVar9 & 2) != 0)) {\n        *(undefined2 *)(local_80 + iVar6 + 0x13) = *(undefined2 *)(pcVar1 + iVar6 + 0x13);\n      }\n    }\n    else {\n      *(undefined4 *)local_80 = *(undefined4 *)pcVar1;\n      *(undefined4 *)(local_80 + iVar6 + 0x11) = *(undefined4 *)(pcVar1 + iVar6 + 0x11);\n      iVar6 = (int)local_80 - ((uint)(local_80 + 4) & 0xfffffffc);\n      uVar9 = iVar6 + uVar9 & 0xfffffffc;\n      if (3 < uVar9) {\n        uVar7 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 4) & 0xfffffffc) + uVar7) =\n               *(undefined4 *)(pcVar1 + (uVar7 - iVar6));\n          uVar7 = uVar7 + 4;\n        } while (uVar7 < uVar9);\n      }\n    }\n  }" { (expression_statement "local_80 = pMem->zMalloc;" (assignment_expression "local_80 = pMem->zMalloc" identifier = (field_expression "pMem->zMalloc" identifier -> field_identifier)) ;) (expression_statement "pMem->z = local_80;" (assignment_expression "pMem->z = local_80" (field_expression "pMem->z" identifier -> field_identifier) = identifier) ;) (expression_statement "uVar8 = pMem->flags;" (assignment_expression "uVar8 = pMem->flags" identifier = (field_expression "pMem->flags" identifier -> field_identifier)) ;) (expression_statement "uVar4 = uVar8 & 0x2d;" (assignment_expression "uVar4 = uVar8 & 0x2d" identifier = (binary_expression "uVar8 & 0x2d" identifier & number_literal)) ;) (expression_statement "pMem->flags = uVar4;" (assignment_expression "pMem->flags = uVar4" (field_expression "pMem->flags" identifier -> field_identifier) = identifier) ;) (expression_statement "uVar8 = uVar8 & 4;" (assignment_expression "uVar8 = uVar8 & 4" identifier = (binary_expression "uVar8 & 4" identifier & number_literal)) ;) (if_statement "if (uVar8 == 0) goto LAB_000352d3;" if (parenthesized_expression "(uVar8 == 0)" ( (binary_expression "uVar8 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000352d3;" goto statement_identifier ;)) (labeled_statement "LAB_000353e5:\n    __memcpy_chk(&acc,pMem,uVar8 * 2,8);" statement_identifier : (expression_statement "__memcpy_chk(&acc,pMem,uVar8 * 2,8);" (call_expression "__memcpy_chk(&acc,pMem,uVar8 * 2,8)" identifier (argument_list "(&acc,pMem,uVar8 * 2,8)" ( (pointer_expression "&acc" & identifier) , identifier , (binary_expression "uVar8 * 2" identifier * number_literal) , number_literal ))) ;)) (expression_statement "pcVar1 = acc.zText;" (assignment_expression "pcVar1 = acc.zText" identifier = (field_expression "acc.zText" identifier . field_identifier)) ;) (expression_statement "psVar10 = acc.db;" (assignment_expression "psVar10 = acc.db" identifier = (field_expression "acc.db" identifier . field_identifier)) ;) (expression_statement "pcVar11 = acc.zText;" (assignment_expression "pcVar11 = acc.zText" identifier = (field_expression "acc.zText" identifier . field_identifier)) ;) (if_statement "if ((int)acc.zText < 0) {\n      psVar10 = (sqlite3 *)0x0;\n      pcVar11 = (char *)0x80000000;\n      if (acc.zText != (char *)0x80000000 || acc.db != (sqlite3 *)0x0) {\n        psVar10 = (sqlite3 *)-(int)acc.db;\n        pcVar11 = (char *)-(int)(acc.zText + (acc.db != (sqlite3 *)0x0));\n      }\n    }" if (parenthesized_expression "((int)acc.zText < 0)" ( (binary_expression "(int)acc.zText < 0" (cast_expression "(int)acc.zText" ( (type_descriptor "int" primitive_type) ) (field_expression "acc.zText" identifier . field_identifier)) < number_literal) )) (compound_statement "{\n      psVar10 = (sqlite3 *)0x0;\n      pcVar11 = (char *)0x80000000;\n      if (acc.zText != (char *)0x80000000 || acc.db != (sqlite3 *)0x0) {\n        psVar10 = (sqlite3 *)-(int)acc.db;\n        pcVar11 = (char *)-(int)(acc.zText + (acc.db != (sqlite3 *)0x0));\n      }\n    }" { (expression_statement "psVar10 = (sqlite3 *)0x0;" (assignment_expression "psVar10 = (sqlite3 *)0x0" identifier = (cast_expression "(sqlite3 *)0x0" ( (type_descriptor "sqlite3 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar11 = (char *)0x80000000;" (assignment_expression "pcVar11 = (char *)0x80000000" identifier = (cast_expression "(char *)0x80000000" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (acc.zText != (char *)0x80000000 || acc.db != (sqlite3 *)0x0) {\n        psVar10 = (sqlite3 *)-(int)acc.db;\n        pcVar11 = (char *)-(int)(acc.zText + (acc.db != (sqlite3 *)0x0));\n      }" if (parenthesized_expression "(acc.zText != (char *)0x80000000 || acc.db != (sqlite3 *)0x0)" ( (binary_expression "acc.zText != (char *)0x80000000 || acc.db != (sqlite3 *)0x0" (binary_expression "acc.zText != (char *)0x80000000" (field_expression "acc.zText" identifier . field_identifier) != (cast_expression "(char *)0x80000000" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) || (binary_expression "acc.db != (sqlite3 *)0x0" (field_expression "acc.db" identifier . field_identifier) != (cast_expression "(sqlite3 *)0x0" ( (type_descriptor "sqlite3 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n        psVar10 = (sqlite3 *)-(int)acc.db;\n        pcVar11 = (char *)-(int)(acc.zText + (acc.db != (sqlite3 *)0x0));\n      }" { (expression_statement "psVar10 = (sqlite3 *)-(int)acc.db;" (assignment_expression "psVar10 = (sqlite3 *)-(int)acc.db" identifier = (cast_expression "(sqlite3 *)-(int)acc.db" ( (type_descriptor "sqlite3 *" type_identifier (abstract_pointer_declarator "*" *)) ) (unary_expression "-(int)acc.db" - (cast_expression "(int)acc.db" ( (type_descriptor "int" primitive_type) ) (field_expression "acc.db" identifier . field_identifier))))) ;) (expression_statement "pcVar11 = (char *)-(int)(acc.zText + (acc.db != (sqlite3 *)0x0));" (assignment_expression "pcVar11 = (char *)-(int)(acc.zText + (acc.db != (sqlite3 *)0x0))" identifier = (cast_expression "(char *)-(int)(acc.zText + (acc.db != (sqlite3 *)0x0))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (unary_expression "-(int)(acc.zText + (acc.db != (sqlite3 *)0x0))" - (cast_expression "(int)(acc.zText + (acc.db != (sqlite3 *)0x0))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(acc.zText + (acc.db != (sqlite3 *)0x0))" ( (binary_expression "acc.zText + (acc.db != (sqlite3 *)0x0)" (field_expression "acc.zText" identifier . field_identifier) + (parenthesized_expression "(acc.db != (sqlite3 *)0x0)" ( (binary_expression "acc.db != (sqlite3 *)0x0" (field_expression "acc.db" identifier . field_identifier) != (cast_expression "(sqlite3 *)0x0" ( (type_descriptor "sqlite3 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )))))) ;) })) })) (expression_statement "lVar12 = CONCAT44(pcVar11,psVar10);" (assignment_expression "lVar12 = CONCAT44(pcVar11,psVar10)" identifier = (call_expression "CONCAT44(pcVar11,psVar10)" identifier (argument_list "(pcVar11,psVar10)" ( identifier , identifier )))) ;) (expression_statement "local_8c._0_4_ = 0x14;" (assignment_expression "local_8c._0_4_ = 0x14" (field_expression "local_8c._0_4_" identifier . field_identifier) = number_literal) ;) (expression_statement "zTemp[0x15] = '\0';" (assignment_expression "zTemp[0x15] = '\0'" (subscript_expression "zTemp[0x15]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "iVar6 = (int)local_8c;" (assignment_expression "iVar6 = (int)local_8c" identifier = (cast_expression "(int)local_8c" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (do_statement "do {\n      local_8c._0_4_ = iVar6;\n      iVar6 = (int)local_8c + -1;\n      cVar3 = __umoddi3(lVar12,10,0);\n      zTemp[(int)local_8c] = cVar3 + '0';\n      lVar12 = __udivdi3(lVar12,10,0);\n    } while (lVar12 != 0);" do (compound_statement "{\n      local_8c._0_4_ = iVar6;\n      iVar6 = (int)local_8c + -1;\n      cVar3 = __umoddi3(lVar12,10,0);\n      zTemp[(int)local_8c] = cVar3 + '0';\n      lVar12 = __udivdi3(lVar12,10,0);\n    }" { (expression_statement "local_8c._0_4_ = iVar6;" (assignment_expression "local_8c._0_4_ = iVar6" (field_expression "local_8c._0_4_" identifier . field_identifier) = identifier) ;) (expression_statement "iVar6 = (int)local_8c + -1;" (assignment_expression "iVar6 = (int)local_8c + -1" identifier = (binary_expression "(int)local_8c + -1" (cast_expression "(int)local_8c" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal)) ;) (expression_statement "cVar3 = __umoddi3(lVar12,10,0);" (assignment_expression "cVar3 = __umoddi3(lVar12,10,0)" identifier = (call_expression "__umoddi3(lVar12,10,0)" identifier (argument_list "(lVar12,10,0)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "zTemp[(int)local_8c] = cVar3 + '0';" (assignment_expression "zTemp[(int)local_8c] = cVar3 + '0'" (subscript_expression "zTemp[(int)local_8c]" identifier [ (cast_expression "(int)local_8c" ( (type_descriptor "int" primitive_type) ) identifier) ]) = (binary_expression "cVar3 + '0'" identifier + (char_literal "'0'" ' character '))) ;) (expression_statement "lVar12 = __udivdi3(lVar12,10,0);" (assignment_expression "lVar12 = __udivdi3(lVar12,10,0)" identifier = (call_expression "__udivdi3(lVar12,10,0)" identifier (argument_list "(lVar12,10,0)" ( identifier , number_literal , number_literal )))) ;) }) while (parenthesized_expression "(lVar12 != 0)" ( (binary_expression "lVar12 != 0" identifier != number_literal) )) ;) (if_statement "if ((int)pcVar1 < 0) {\n      zTemp[(int)local_8c + -1] = '-';\n      iVar6 = (int)local_8c + -2;\n      pcVar1 = zTemp + (int)local_8c + -1;\n    }\n    else {\n      pcVar1 = zTemp + (int)local_8c;\n    }" if (parenthesized_expression "((int)pcVar1 < 0)" ( (binary_expression "(int)pcVar1 < 0" (cast_expression "(int)pcVar1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      zTemp[(int)local_8c + -1] = '-';\n      iVar6 = (int)local_8c + -2;\n      pcVar1 = zTemp + (int)local_8c + -1;\n    }" { (expression_statement "zTemp[(int)local_8c + -1] = '-';" (assignment_expression "zTemp[(int)local_8c + -1] = '-'" (subscript_expression "zTemp[(int)local_8c + -1]" identifier [ (binary_expression "(int)local_8c + -1" (cast_expression "(int)local_8c" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ]) = (char_literal "'-'" ' character ')) ;) (expression_statement "iVar6 = (int)local_8c + -2;" (assignment_expression "iVar6 = (int)local_8c + -2" identifier = (binary_expression "(int)local_8c + -2" (cast_expression "(int)local_8c" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal)) ;) (expression_statement "pcVar1 = zTemp + (int)local_8c + -1;" (assignment_expression "pcVar1 = zTemp + (int)local_8c + -1" identifier = (binary_expression "zTemp + (int)local_8c + -1" (binary_expression "zTemp + (int)local_8c" identifier + (cast_expression "(int)local_8c" ( (type_descriptor "int" primitive_type) ) identifier)) + number_literal)) ;) }) (else_clause "else {\n      pcVar1 = zTemp + (int)local_8c;\n    }" else (compound_statement "{\n      pcVar1 = zTemp + (int)local_8c;\n    }" { (expression_statement "pcVar1 = zTemp + (int)local_8c;" (assignment_expression "pcVar1 = zTemp + (int)local_8c" identifier = (binary_expression "zTemp + (int)local_8c" identifier + (cast_expression "(int)local_8c" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }))) (expression_statement "iVar6 = -iVar6;" (assignment_expression "iVar6 = -iVar6" identifier = (unary_expression "-iVar6" - identifier)) ;) (expression_statement "uVar9 = iVar6 + 0x15;" (assignment_expression "uVar9 = iVar6 + 0x15" identifier = (binary_expression "iVar6 + 0x15" identifier + number_literal)) ;) (if_statement "if (uVar9 < 4) {\n      if ((uVar9 != 0) && (*local_80 = *pcVar1, (uVar9 & 2) != 0)) {\n        *(undefined2 *)(local_80 + iVar6 + 0x13) = *(undefined2 *)(pcVar1 + iVar6 + 0x13);\n      }\n    }\n    else {\n      *(undefined4 *)local_80 = *(undefined4 *)pcVar1;\n      *(undefined4 *)(local_80 + iVar6 + 0x11) = *(undefined4 *)(pcVar1 + iVar6 + 0x11);\n      iVar6 = (int)local_80 - ((uint)(local_80 + 4) & 0xfffffffc);\n      uVar9 = iVar6 + uVar9 & 0xfffffffc;\n      if (3 < uVar9) {\n        uVar7 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 4) & 0xfffffffc) + uVar7) =\n               *(undefined4 *)(pcVar1 + (uVar7 - iVar6));\n          uVar7 = uVar7 + 4;\n        } while (uVar7 < uVar9);\n      }\n    }" if (parenthesized_expression "(uVar9 < 4)" ( (binary_expression "uVar9 < 4" identifier < number_literal) )) (compound_statement "{\n      if ((uVar9 != 0) && (*local_80 = *pcVar1, (uVar9 & 2) != 0)) {\n        *(undefined2 *)(local_80 + iVar6 + 0x13) = *(undefined2 *)(pcVar1 + iVar6 + 0x13);\n      }\n    }" { (if_statement "if ((uVar9 != 0) && (*local_80 = *pcVar1, (uVar9 & 2) != 0)) {\n        *(undefined2 *)(local_80 + iVar6 + 0x13) = *(undefined2 *)(pcVar1 + iVar6 + 0x13);\n      }" if (parenthesized_expression "((uVar9 != 0) && (*local_80 = *pcVar1, (uVar9 & 2) != 0))" ( (binary_expression "(uVar9 != 0) && (*local_80 = *pcVar1, (uVar9 & 2) != 0)" (parenthesized_expression "(uVar9 != 0)" ( (binary_expression "uVar9 != 0" identifier != number_literal) )) && (parenthesized_expression "(*local_80 = *pcVar1, (uVar9 & 2) != 0)" ( (comma_expression "*local_80 = *pcVar1, (uVar9 & 2) != 0" (assignment_expression "*local_80 = *pcVar1" (pointer_expression "*local_80" * identifier) = (pointer_expression "*pcVar1" * identifier)) , (binary_expression "(uVar9 & 2) != 0" (parenthesized_expression "(uVar9 & 2)" ( (binary_expression "uVar9 & 2" identifier & number_literal) )) != number_literal)) ))) )) (compound_statement "{\n        *(undefined2 *)(local_80 + iVar6 + 0x13) = *(undefined2 *)(pcVar1 + iVar6 + 0x13);\n      }" { (expression_statement "*(undefined2 *)(local_80 + iVar6 + 0x13) = *(undefined2 *)(pcVar1 + iVar6 + 0x13);" (assignment_expression "*(undefined2 *)(local_80 + iVar6 + 0x13) = *(undefined2 *)(pcVar1 + iVar6 + 0x13)" (pointer_expression "*(undefined2 *)(local_80 + iVar6 + 0x13)" * (cast_expression "(undefined2 *)(local_80 + iVar6 + 0x13)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_80 + iVar6 + 0x13)" ( (binary_expression "local_80 + iVar6 + 0x13" (binary_expression "local_80 + iVar6" identifier + identifier) + number_literal) )))) = (pointer_expression "*(undefined2 *)(pcVar1 + iVar6 + 0x13)" * (cast_expression "(undefined2 *)(pcVar1 + iVar6 + 0x13)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar1 + iVar6 + 0x13)" ( (binary_expression "pcVar1 + iVar6 + 0x13" (binary_expression "pcVar1 + iVar6" identifier + identifier) + number_literal) ))))) ;) })) }) (else_clause "else {\n      *(undefined4 *)local_80 = *(undefined4 *)pcVar1;\n      *(undefined4 *)(local_80 + iVar6 + 0x11) = *(undefined4 *)(pcVar1 + iVar6 + 0x11);\n      iVar6 = (int)local_80 - ((uint)(local_80 + 4) & 0xfffffffc);\n      uVar9 = iVar6 + uVar9 & 0xfffffffc;\n      if (3 < uVar9) {\n        uVar7 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 4) & 0xfffffffc) + uVar7) =\n               *(undefined4 *)(pcVar1 + (uVar7 - iVar6));\n          uVar7 = uVar7 + 4;\n        } while (uVar7 < uVar9);\n      }\n    }" else (compound_statement "{\n      *(undefined4 *)local_80 = *(undefined4 *)pcVar1;\n      *(undefined4 *)(local_80 + iVar6 + 0x11) = *(undefined4 *)(pcVar1 + iVar6 + 0x11);\n      iVar6 = (int)local_80 - ((uint)(local_80 + 4) & 0xfffffffc);\n      uVar9 = iVar6 + uVar9 & 0xfffffffc;\n      if (3 < uVar9) {\n        uVar7 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 4) & 0xfffffffc) + uVar7) =\n               *(undefined4 *)(pcVar1 + (uVar7 - iVar6));\n          uVar7 = uVar7 + 4;\n        } while (uVar7 < uVar9);\n      }\n    }" { (expression_statement "*(undefined4 *)local_80 = *(undefined4 *)pcVar1;" (assignment_expression "*(undefined4 *)local_80 = *(undefined4 *)pcVar1" (pointer_expression "*(undefined4 *)local_80" * (cast_expression "(undefined4 *)local_80" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined4 *)pcVar1" * (cast_expression "(undefined4 *)pcVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(undefined4 *)(local_80 + iVar6 + 0x11) = *(undefined4 *)(pcVar1 + iVar6 + 0x11);" (assignment_expression "*(undefined4 *)(local_80 + iVar6 + 0x11) = *(undefined4 *)(pcVar1 + iVar6 + 0x11)" (pointer_expression "*(undefined4 *)(local_80 + iVar6 + 0x11)" * (cast_expression "(undefined4 *)(local_80 + iVar6 + 0x11)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_80 + iVar6 + 0x11)" ( (binary_expression "local_80 + iVar6 + 0x11" (binary_expression "local_80 + iVar6" identifier + identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)(pcVar1 + iVar6 + 0x11)" * (cast_expression "(undefined4 *)(pcVar1 + iVar6 + 0x11)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar1 + iVar6 + 0x11)" ( (binary_expression "pcVar1 + iVar6 + 0x11" (binary_expression "pcVar1 + iVar6" identifier + identifier) + number_literal) ))))) ;) (expression_statement "iVar6 = (int)local_80 - ((uint)(local_80 + 4) & 0xfffffffc);" (assignment_expression "iVar6 = (int)local_80 - ((uint)(local_80 + 4) & 0xfffffffc)" identifier = (binary_expression "(int)local_80 - ((uint)(local_80 + 4) & 0xfffffffc)" (cast_expression "(int)local_80" ( (type_descriptor "int" primitive_type) ) identifier) - (parenthesized_expression "((uint)(local_80 + 4) & 0xfffffffc)" ( (binary_expression "(uint)(local_80 + 4) & 0xfffffffc" (call_expression "(uint)(local_80 + 4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_80 + 4)" ( (binary_expression "local_80 + 4" identifier + number_literal) ))) & number_literal) )))) ;) (expression_statement "uVar9 = iVar6 + uVar9 & 0xfffffffc;" (assignment_expression "uVar9 = iVar6 + uVar9 & 0xfffffffc" identifier = (binary_expression "iVar6 + uVar9 & 0xfffffffc" (binary_expression "iVar6 + uVar9" identifier + identifier) & number_literal)) ;) (if_statement "if (3 < uVar9) {\n        uVar7 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 4) & 0xfffffffc) + uVar7) =\n               *(undefined4 *)(pcVar1 + (uVar7 - iVar6));\n          uVar7 = uVar7 + 4;\n        } while (uVar7 < uVar9);\n      }" if (parenthesized_expression "(3 < uVar9)" ( (binary_expression "3 < uVar9" number_literal < identifier) )) (compound_statement "{\n        uVar7 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 4) & 0xfffffffc) + uVar7) =\n               *(undefined4 *)(pcVar1 + (uVar7 - iVar6));\n          uVar7 = uVar7 + 4;\n        } while (uVar7 < uVar9);\n      }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n          *(undefined4 *)(((uint)(local_80 + 4) & 0xfffffffc) + uVar7) =\n               *(undefined4 *)(pcVar1 + (uVar7 - iVar6));\n          uVar7 = uVar7 + 4;\n        } while (uVar7 < uVar9);" do (compound_statement "{\n          *(undefined4 *)(((uint)(local_80 + 4) & 0xfffffffc) + uVar7) =\n               *(undefined4 *)(pcVar1 + (uVar7 - iVar6));\n          uVar7 = uVar7 + 4;\n        }" { (expression_statement "*(undefined4 *)(((uint)(local_80 + 4) & 0xfffffffc) + uVar7) =\n               *(undefined4 *)(pcVar1 + (uVar7 - iVar6));" (assignment_expression "*(undefined4 *)(((uint)(local_80 + 4) & 0xfffffffc) + uVar7) =\n               *(undefined4 *)(pcVar1 + (uVar7 - iVar6))" (pointer_expression "*(undefined4 *)(((uint)(local_80 + 4) & 0xfffffffc) + uVar7)" * (cast_expression "(undefined4 *)(((uint)(local_80 + 4) & 0xfffffffc) + uVar7)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(((uint)(local_80 + 4) & 0xfffffffc) + uVar7)" ( (binary_expression "((uint)(local_80 + 4) & 0xfffffffc) + uVar7" (parenthesized_expression "((uint)(local_80 + 4) & 0xfffffffc)" ( (binary_expression "(uint)(local_80 + 4) & 0xfffffffc" (call_expression "(uint)(local_80 + 4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_80 + 4)" ( (binary_expression "local_80 + 4" identifier + number_literal) ))) & number_literal) )) + identifier) )))) = (pointer_expression "*(undefined4 *)(pcVar1 + (uVar7 - iVar6))" * (cast_expression "(undefined4 *)(pcVar1 + (uVar7 - iVar6))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar1 + (uVar7 - iVar6))" ( (binary_expression "pcVar1 + (uVar7 - iVar6)" identifier + (parenthesized_expression "(uVar7 - iVar6)" ( (binary_expression "uVar7 - iVar6" identifier - identifier) ))) ))))) ;) (expression_statement "uVar7 = uVar7 + 4;" (assignment_expression "uVar7 = uVar7 + 4" identifier = (binary_expression "uVar7 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar7 < uVar9)" ( (binary_expression "uVar7 < uVar9" identifier < identifier) )) ;) })) }))) }))) (expression_statement "sVar5 = strlen(pMem->z);" (assignment_expression "sVar5 = strlen(pMem->z)" identifier = (call_expression "strlen(pMem->z)" identifier (argument_list "(pMem->z)" ( (field_expression "pMem->z" identifier -> field_identifier) )))) ;) (expression_statement "pMem->enc = '\x01';" (assignment_expression "pMem->enc = '\x01'" (field_expression "pMem->enc" identifier -> field_identifier) = (char_literal "'\x01'" ' escape_sequence ')) ;) (expression_statement "pMem->n = sVar5 & 0x3fffffff;" (assignment_expression "pMem->n = sVar5 & 0x3fffffff" (field_expression "pMem->n" identifier -> field_identifier) = (binary_expression "sVar5 & 0x3fffffff" identifier & number_literal)) ;) (expression_statement "uVar8 = pMem->flags;" (assignment_expression "uVar8 = pMem->flags" identifier = (field_expression "pMem->flags" identifier -> field_identifier)) ;) (if_statement "if (bForce != '\0') {\n    uVar8 = uVar8 & 0xffd3;\n  }" if (parenthesized_expression "(bForce != '\0')" ( (binary_expression "bForce != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar8 = uVar8 & 0xffd3;\n  }" { (expression_statement "uVar8 = uVar8 & 0xffd3;" (assignment_expression "uVar8 = uVar8 & 0xffd3" identifier = (binary_expression "uVar8 & 0xffd3" identifier & number_literal)) ;) })) (expression_statement "pMem->flags = uVar8 | 0x202;" (assignment_expression "pMem->flags = uVar8 | 0x202" (field_expression "pMem->flags" identifier -> field_identifier) = (binary_expression "uVar8 | 0x202" identifier | number_literal)) ;) (if_statement "if ((((uVar8 | 0x202) & 2) == 0) || (enc == '\x01')) {\n    iVar6 = 0;\n  }\n  else {\n    sqlite3VdbeMemTranslate(pMem,enc);\n    iVar6 = 0;\n  }" if (parenthesized_expression "((((uVar8 | 0x202) & 2) == 0) || (enc == '\x01'))" ( (binary_expression "(((uVar8 | 0x202) & 2) == 0) || (enc == '\x01')" (parenthesized_expression "(((uVar8 | 0x202) & 2) == 0)" ( (binary_expression "((uVar8 | 0x202) & 2) == 0" (parenthesized_expression "((uVar8 | 0x202) & 2)" ( (binary_expression "(uVar8 | 0x202) & 2" (parenthesized_expression "(uVar8 | 0x202)" ( (binary_expression "uVar8 | 0x202" identifier | number_literal) )) & number_literal) )) == number_literal) )) || (parenthesized_expression "(enc == '\x01')" ( (binary_expression "enc == '\x01'" identifier == (char_literal "'\x01'" ' escape_sequence ')) ))) )) (compound_statement "{\n    iVar6 = 0;\n  }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    sqlite3VdbeMemTranslate(pMem,enc);\n    iVar6 = 0;\n  }" else (compound_statement "{\n    sqlite3VdbeMemTranslate(pMem,enc);\n    iVar6 = 0;\n  }" { (expression_statement "sqlite3VdbeMemTranslate(pMem,enc);" (call_expression "sqlite3VdbeMemTranslate(pMem,enc)" identifier (argument_list "(pMem,enc)" ( identifier , identifier ))) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) }))) (labeled_statement "LAB_00035375:\n  if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar6;\n  }" statement_identifier : (if_statement "if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar6;\n  }" if (parenthesized_expression "(iVar2 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar2 == *(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 iVar6;\n  }" { (return_statement "return iVar6;" return identifier ;) }))) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "undefined4 __regparm3 FUN_00035280(double *param_1,char param_2,char param_3)\n\n{\n  undefined4 *puVar1;\n  char cVar2;\n  ushort uVar3;\n  size_t sVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  ushort uVar7;\n  uint uVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  int in_GS_OFFSET;\n  longlong lVar11;\n  undefined8 local_8c;\n  undefined4 *local_80;\n  int local_54;\n  undefined4 *local_50;\n  undefined4 local_4c;\n  undefined4 local_48;\n  int local_44;\n  undefined2 local_40;\n  undefined1 auStack_37 [22];\n  undefined1 local_21;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3528b;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (*(int *)(param_1 + 3) < 0x20) {\n    iVar9 = FUN_000304f0();\n    if (iVar9 != 0) {\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      uVar5 = 7;\n      goto LAB_00035375;\n    }\n    local_80 = *(undefined4 **)(param_1 + 2);\n    uVar3 = *(ushort *)(param_1 + 1);\n    uVar7 = uVar3 & 4;\n    if (uVar7 != 0) goto LAB_000353e5;\nLAB_000352d3:\n    local_8c = *param_1;\n    local_54 = 0;\n    local_4c = 0x20;\n    local_48 = 0;\n    local_44 = 0;\n    local_50 = local_80;\n    local_40 = 0;\n    if ((uVar3 & 0x20) != 0) {\n      local_8c = (double)(longlong)local_8c;\n    }\n    sqlite3_str_appendf(&local_54,"%!.15g",(int)local_8c,local_8c._4_4_);\n    *(undefined1 *)((int)local_80 + local_44) = 0;\n  }\n  else {\n    local_80 = *(undefined4 **)((int)param_1 + 0x14);\n    *(undefined4 **)(param_1 + 2) = local_80;\n    uVar7 = *(ushort *)(param_1 + 1);\n    uVar3 = uVar7 & 0x2d;\n    *(ushort *)(param_1 + 1) = uVar3;\n    uVar7 = uVar7 & 4;\n    if (uVar7 == 0) goto LAB_000352d3;\nLAB_000353e5:\n    __memcpy_chk(&local_54,param_1,uVar7 * 2,8);\n    puVar1 = local_50;\n    iVar9 = local_54;\n    puVar10 = local_50;\n    if ((int)local_50 < 0) {\n      iVar9 = 0;\n      puVar10 = (undefined4 *)0x80000000;\n      if (local_50 != (undefined4 *)0x80000000 || local_54 != 0) {\n        iVar9 = -local_54;\n        puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0));\n      }\n    }\n    lVar11 = CONCAT44(puVar10,iVar9);\n    local_8c._0_4_ = 0x14;\n    local_21 = 0;\n    iVar9 = (int)local_8c;\n    do {\n      local_8c._0_4_ = iVar9;\n      iVar9 = (int)local_8c + -1;\n      cVar2 = FUN_000d10e0(lVar11,10,0);\n      auStack_37[(int)local_8c + 1] = cVar2 + '0';\n      lVar11 = FUN_000d0fc0(lVar11,10,0);\n    } while (lVar11 != 0);\n    if ((int)puVar1 < 0) {\n      auStack_37[(int)local_8c] = 0x2d;\n      iVar9 = (int)local_8c + -2;\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c);\n    }\n    else {\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c + 1);\n    }\n    iVar9 = -iVar9;\n    uVar8 = iVar9 + 0x15;\n    if (uVar8 < 4) {\n      if ((uVar8 != 0) && (*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0)) {\n        *(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13);\n      }\n    }\n    else {\n      *local_80 = *puVar1;\n      *(undefined4 *)((int)local_80 + iVar9 + 0x11) = *(undefined4 *)(iVar9 + 0x11 + (int)puVar1);\n      iVar9 = (int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc);\n      uVar8 = iVar9 + uVar8 & 0xfffffffc;\n      if (3 < uVar8) {\n        uVar6 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);\n      }\n    }\n  }\n  sVar4 = strlen(*(char **)(param_1 + 2));\n  *(undefined1 *)((int)param_1 + 10) = 1;\n  *(size_t *)((int)param_1 + 0xc) = sVar4 & 0x3fffffff;\n  uVar7 = *(ushort *)(param_1 + 1);\n  if (param_3 != '\0') {\n    uVar7 = uVar7 & 0xffd3;\n  }\n  *(ushort *)(param_1 + 1) = uVar7 | 0x202;\n  if ((((uVar7 | 0x202) & 2) == 0) || (param_2 == '\x01')) {\n    uVar5 = 0;\n  }\n  else {\n    FUN_000323c0();\n    uVar5 = 0;\n  }\nLAB_00035375:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\n  }\n                    \n  FUN_000d1450();\n}\n\n" (function_definition "undefined4 __regparm3 FUN_00035280(double *param_1,char param_2,char param_3)\n\n{\n  undefined4 *puVar1;\n  char cVar2;\n  ushort uVar3;\n  size_t sVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  ushort uVar7;\n  uint uVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  int in_GS_OFFSET;\n  longlong lVar11;\n  undefined8 local_8c;\n  undefined4 *local_80;\n  int local_54;\n  undefined4 *local_50;\n  undefined4 local_4c;\n  undefined4 local_48;\n  int local_44;\n  undefined2 local_40;\n  undefined1 auStack_37 [22];\n  undefined1 local_21;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3528b;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (*(int *)(param_1 + 3) < 0x20) {\n    iVar9 = FUN_000304f0();\n    if (iVar9 != 0) {\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      uVar5 = 7;\n      goto LAB_00035375;\n    }\n    local_80 = *(undefined4 **)(param_1 + 2);\n    uVar3 = *(ushort *)(param_1 + 1);\n    uVar7 = uVar3 & 4;\n    if (uVar7 != 0) goto LAB_000353e5;\nLAB_000352d3:\n    local_8c = *param_1;\n    local_54 = 0;\n    local_4c = 0x20;\n    local_48 = 0;\n    local_44 = 0;\n    local_50 = local_80;\n    local_40 = 0;\n    if ((uVar3 & 0x20) != 0) {\n      local_8c = (double)(longlong)local_8c;\n    }\n    sqlite3_str_appendf(&local_54,"%!.15g",(int)local_8c,local_8c._4_4_);\n    *(undefined1 *)((int)local_80 + local_44) = 0;\n  }\n  else {\n    local_80 = *(undefined4 **)((int)param_1 + 0x14);\n    *(undefined4 **)(param_1 + 2) = local_80;\n    uVar7 = *(ushort *)(param_1 + 1);\n    uVar3 = uVar7 & 0x2d;\n    *(ushort *)(param_1 + 1) = uVar3;\n    uVar7 = uVar7 & 4;\n    if (uVar7 == 0) goto LAB_000352d3;\nLAB_000353e5:\n    __memcpy_chk(&local_54,param_1,uVar7 * 2,8);\n    puVar1 = local_50;\n    iVar9 = local_54;\n    puVar10 = local_50;\n    if ((int)local_50 < 0) {\n      iVar9 = 0;\n      puVar10 = (undefined4 *)0x80000000;\n      if (local_50 != (undefined4 *)0x80000000 || local_54 != 0) {\n        iVar9 = -local_54;\n        puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0));\n      }\n    }\n    lVar11 = CONCAT44(puVar10,iVar9);\n    local_8c._0_4_ = 0x14;\n    local_21 = 0;\n    iVar9 = (int)local_8c;\n    do {\n      local_8c._0_4_ = iVar9;\n      iVar9 = (int)local_8c + -1;\n      cVar2 = FUN_000d10e0(lVar11,10,0);\n      auStack_37[(int)local_8c + 1] = cVar2 + '0';\n      lVar11 = FUN_000d0fc0(lVar11,10,0);\n    } while (lVar11 != 0);\n    if ((int)puVar1 < 0) {\n      auStack_37[(int)local_8c] = 0x2d;\n      iVar9 = (int)local_8c + -2;\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c);\n    }\n    else {\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c + 1);\n    }\n    iVar9 = -iVar9;\n    uVar8 = iVar9 + 0x15;\n    if (uVar8 < 4) {\n      if ((uVar8 != 0) && (*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0)) {\n        *(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13);\n      }\n    }\n    else {\n      *local_80 = *puVar1;\n      *(undefined4 *)((int)local_80 + iVar9 + 0x11) = *(undefined4 *)(iVar9 + 0x11 + (int)puVar1);\n      iVar9 = (int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc);\n      uVar8 = iVar9 + uVar8 & 0xfffffffc;\n      if (3 < uVar8) {\n        uVar6 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);\n      }\n    }\n  }\n  sVar4 = strlen(*(char **)(param_1 + 2));\n  *(undefined1 *)((int)param_1 + 10) = 1;\n  *(size_t *)((int)param_1 + 0xc) = sVar4 & 0x3fffffff;\n  uVar7 = *(ushort *)(param_1 + 1);\n  if (param_3 != '\0') {\n    uVar7 = uVar7 & 0xffd3;\n  }\n  *(ushort *)(param_1 + 1) = uVar7 | 0x202;\n  if ((((uVar7 | 0x202) & 2) == 0) || (param_2 == '\x01')) {\n    uVar5 = 0;\n  }\n  else {\n    FUN_000323c0();\n    uVar5 = 0;\n  }\nLAB_00035375:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\n  }\n                    \n  FUN_000d1450();\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00035280(double *param_1,char param_2,char param_3)" identifier (parameter_list "(double *param_1,char param_2,char param_3)" ( (parameter_declaration "double *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char param_2" primitive_type identifier) , (parameter_declaration "char param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  char cVar2;\n  ushort uVar3;\n  size_t sVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  ushort uVar7;\n  uint uVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  int in_GS_OFFSET;\n  longlong lVar11;\n  undefined8 local_8c;\n  undefined4 *local_80;\n  int local_54;\n  undefined4 *local_50;\n  undefined4 local_4c;\n  undefined4 local_48;\n  int local_44;\n  undefined2 local_40;\n  undefined1 auStack_37 [22];\n  undefined1 local_21;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3528b;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (*(int *)(param_1 + 3) < 0x20) {\n    iVar9 = FUN_000304f0();\n    if (iVar9 != 0) {\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      uVar5 = 7;\n      goto LAB_00035375;\n    }\n    local_80 = *(undefined4 **)(param_1 + 2);\n    uVar3 = *(ushort *)(param_1 + 1);\n    uVar7 = uVar3 & 4;\n    if (uVar7 != 0) goto LAB_000353e5;\nLAB_000352d3:\n    local_8c = *param_1;\n    local_54 = 0;\n    local_4c = 0x20;\n    local_48 = 0;\n    local_44 = 0;\n    local_50 = local_80;\n    local_40 = 0;\n    if ((uVar3 & 0x20) != 0) {\n      local_8c = (double)(longlong)local_8c;\n    }\n    sqlite3_str_appendf(&local_54,"%!.15g",(int)local_8c,local_8c._4_4_);\n    *(undefined1 *)((int)local_80 + local_44) = 0;\n  }\n  else {\n    local_80 = *(undefined4 **)((int)param_1 + 0x14);\n    *(undefined4 **)(param_1 + 2) = local_80;\n    uVar7 = *(ushort *)(param_1 + 1);\n    uVar3 = uVar7 & 0x2d;\n    *(ushort *)(param_1 + 1) = uVar3;\n    uVar7 = uVar7 & 4;\n    if (uVar7 == 0) goto LAB_000352d3;\nLAB_000353e5:\n    __memcpy_chk(&local_54,param_1,uVar7 * 2,8);\n    puVar1 = local_50;\n    iVar9 = local_54;\n    puVar10 = local_50;\n    if ((int)local_50 < 0) {\n      iVar9 = 0;\n      puVar10 = (undefined4 *)0x80000000;\n      if (local_50 != (undefined4 *)0x80000000 || local_54 != 0) {\n        iVar9 = -local_54;\n        puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0));\n      }\n    }\n    lVar11 = CONCAT44(puVar10,iVar9);\n    local_8c._0_4_ = 0x14;\n    local_21 = 0;\n    iVar9 = (int)local_8c;\n    do {\n      local_8c._0_4_ = iVar9;\n      iVar9 = (int)local_8c + -1;\n      cVar2 = FUN_000d10e0(lVar11,10,0);\n      auStack_37[(int)local_8c + 1] = cVar2 + '0';\n      lVar11 = FUN_000d0fc0(lVar11,10,0);\n    } while (lVar11 != 0);\n    if ((int)puVar1 < 0) {\n      auStack_37[(int)local_8c] = 0x2d;\n      iVar9 = (int)local_8c + -2;\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c);\n    }\n    else {\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c + 1);\n    }\n    iVar9 = -iVar9;\n    uVar8 = iVar9 + 0x15;\n    if (uVar8 < 4) {\n      if ((uVar8 != 0) && (*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0)) {\n        *(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13);\n      }\n    }\n    else {\n      *local_80 = *puVar1;\n      *(undefined4 *)((int)local_80 + iVar9 + 0x11) = *(undefined4 *)(iVar9 + 0x11 + (int)puVar1);\n      iVar9 = (int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc);\n      uVar8 = iVar9 + uVar8 & 0xfffffffc;\n      if (3 < uVar8) {\n        uVar6 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);\n      }\n    }\n  }\n  sVar4 = strlen(*(char **)(param_1 + 2));\n  *(undefined1 *)((int)param_1 + 10) = 1;\n  *(size_t *)((int)param_1 + 0xc) = sVar4 & 0x3fffffff;\n  uVar7 = *(ushort *)(param_1 + 1);\n  if (param_3 != '\0') {\n    uVar7 = uVar7 & 0xffd3;\n  }\n  *(ushort *)(param_1 + 1) = uVar7 | 0x202;\n  if ((((uVar7 | 0x202) & 2) == 0) || (param_2 == '\x01')) {\n    uVar5 = 0;\n  }\n  else {\n    FUN_000323c0();\n    uVar5 = 0;\n  }\nLAB_00035375:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\n  }\n                    \n  FUN_000d1450();\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "ushort uVar3;" type_identifier identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "ushort uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "undefined4 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "longlong lVar11;" type_identifier identifier ;) (declaration "undefined8 local_8c;" type_identifier identifier ;) (declaration "undefined4 *local_80;" type_identifier (pointer_declarator "*local_80" * identifier) ;) (declaration "int local_54;" primitive_type identifier ;) (declaration "undefined4 *local_50;" type_identifier (pointer_declarator "*local_50" * identifier) ;) (declaration "undefined4 local_4c;" type_identifier identifier ;) (declaration "undefined4 local_48;" type_identifier identifier ;) (declaration "int local_44;" primitive_type identifier ;) (declaration "undefined2 local_40;" type_identifier identifier ;) (declaration "undefined1 auStack_37 [22];" type_identifier (array_declarator "auStack_37 [22]" identifier [ number_literal ]) ;) (declaration "undefined1 local_21;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x3528b;" (assignment_expression "uStack_14 = 0x3528b" identifier = number_literal) ;) (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) ))))) ;) (if_statement "if (*(int *)(param_1 + 3) < 0x20) {\n    iVar9 = FUN_000304f0();\n    if (iVar9 != 0) {\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      uVar5 = 7;\n      goto LAB_00035375;\n    }\n    local_80 = *(undefined4 **)(param_1 + 2);\n    uVar3 = *(ushort *)(param_1 + 1);\n    uVar7 = uVar3 & 4;\n    if (uVar7 != 0) goto LAB_000353e5;\nLAB_000352d3:\n    local_8c = *param_1;\n    local_54 = 0;\n    local_4c = 0x20;\n    local_48 = 0;\n    local_44 = 0;\n    local_50 = local_80;\n    local_40 = 0;\n    if ((uVar3 & 0x20) != 0) {\n      local_8c = (double)(longlong)local_8c;\n    }\n    sqlite3_str_appendf(&local_54,"%!.15g",(int)local_8c,local_8c._4_4_);\n    *(undefined1 *)((int)local_80 + local_44) = 0;\n  }\n  else {\n    local_80 = *(undefined4 **)((int)param_1 + 0x14);\n    *(undefined4 **)(param_1 + 2) = local_80;\n    uVar7 = *(ushort *)(param_1 + 1);\n    uVar3 = uVar7 & 0x2d;\n    *(ushort *)(param_1 + 1) = uVar3;\n    uVar7 = uVar7 & 4;\n    if (uVar7 == 0) goto LAB_000352d3;\nLAB_000353e5:\n    __memcpy_chk(&local_54,param_1,uVar7 * 2,8);\n    puVar1 = local_50;\n    iVar9 = local_54;\n    puVar10 = local_50;\n    if ((int)local_50 < 0) {\n      iVar9 = 0;\n      puVar10 = (undefined4 *)0x80000000;\n      if (local_50 != (undefined4 *)0x80000000 || local_54 != 0) {\n        iVar9 = -local_54;\n        puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0));\n      }\n    }\n    lVar11 = CONCAT44(puVar10,iVar9);\n    local_8c._0_4_ = 0x14;\n    local_21 = 0;\n    iVar9 = (int)local_8c;\n    do {\n      local_8c._0_4_ = iVar9;\n      iVar9 = (int)local_8c + -1;\n      cVar2 = FUN_000d10e0(lVar11,10,0);\n      auStack_37[(int)local_8c + 1] = cVar2 + '0';\n      lVar11 = FUN_000d0fc0(lVar11,10,0);\n    } while (lVar11 != 0);\n    if ((int)puVar1 < 0) {\n      auStack_37[(int)local_8c] = 0x2d;\n      iVar9 = (int)local_8c + -2;\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c);\n    }\n    else {\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c + 1);\n    }\n    iVar9 = -iVar9;\n    uVar8 = iVar9 + 0x15;\n    if (uVar8 < 4) {\n      if ((uVar8 != 0) && (*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0)) {\n        *(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13);\n      }\n    }\n    else {\n      *local_80 = *puVar1;\n      *(undefined4 *)((int)local_80 + iVar9 + 0x11) = *(undefined4 *)(iVar9 + 0x11 + (int)puVar1);\n      iVar9 = (int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc);\n      uVar8 = iVar9 + uVar8 & 0xfffffffc;\n      if (3 < uVar8) {\n        uVar6 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);\n      }\n    }\n  }" if (parenthesized_expression "(*(int *)(param_1 + 3) < 0x20)" ( (binary_expression "*(int *)(param_1 + 3) < 0x20" (pointer_expression "*(int *)(param_1 + 3)" * (cast_expression "(int *)(param_1 + 3)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) )))) < number_literal) )) (compound_statement "{\n    iVar9 = FUN_000304f0();\n    if (iVar9 != 0) {\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      uVar5 = 7;\n      goto LAB_00035375;\n    }\n    local_80 = *(undefined4 **)(param_1 + 2);\n    uVar3 = *(ushort *)(param_1 + 1);\n    uVar7 = uVar3 & 4;\n    if (uVar7 != 0) goto LAB_000353e5;\nLAB_000352d3:\n    local_8c = *param_1;\n    local_54 = 0;\n    local_4c = 0x20;\n    local_48 = 0;\n    local_44 = 0;\n    local_50 = local_80;\n    local_40 = 0;\n    if ((uVar3 & 0x20) != 0) {\n      local_8c = (double)(longlong)local_8c;\n    }\n    sqlite3_str_appendf(&local_54,"%!.15g",(int)local_8c,local_8c._4_4_);\n    *(undefined1 *)((int)local_80 + local_44) = 0;\n  }" { (expression_statement "iVar9 = FUN_000304f0();" (assignment_expression "iVar9 = FUN_000304f0()" identifier = (call_expression "FUN_000304f0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar9 != 0) {\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      uVar5 = 7;\n      goto LAB_00035375;\n    }" if (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) (compound_statement "{\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      uVar5 = 7;\n      goto LAB_00035375;\n    }" { (expression_statement "*(undefined1 *)((int)param_1 + 10) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 10) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 10)" * (cast_expression "(undefined1 *)((int)param_1 + 10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 10)" ( (binary_expression "(int)param_1 + 10" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "uVar5 = 7;" (assignment_expression "uVar5 = 7" identifier = number_literal) ;) (goto_statement "goto LAB_00035375;" goto statement_identifier ;) })) (expression_statement "local_80 = *(undefined4 **)(param_1 + 2);" (assignment_expression "local_80 = *(undefined4 **)(param_1 + 2)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 2)" * (cast_expression "(undefined4 **)(param_1 + 2)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(ushort *)(param_1 + 1);" (assignment_expression "uVar3 = *(ushort *)(param_1 + 1)" identifier = (pointer_expression "*(ushort *)(param_1 + 1)" * (cast_expression "(ushort *)(param_1 + 1)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = uVar3 & 4;" (assignment_expression "uVar7 = uVar3 & 4" identifier = (binary_expression "uVar3 & 4" identifier & number_literal)) ;) (if_statement "if (uVar7 != 0) goto LAB_000353e5;" if (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000353e5;" goto statement_identifier ;)) (labeled_statement "LAB_000352d3:\n    local_8c = *param_1;" statement_identifier : (expression_statement "local_8c = *param_1;" (assignment_expression "local_8c = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;)) (expression_statement "local_54 = 0;" (assignment_expression "local_54 = 0" identifier = number_literal) ;) (expression_statement "local_4c = 0x20;" (assignment_expression "local_4c = 0x20" identifier = number_literal) ;) (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" identifier = number_literal) ;) (expression_statement "local_44 = 0;" (assignment_expression "local_44 = 0" identifier = number_literal) ;) (expression_statement "local_50 = local_80;" (assignment_expression "local_50 = local_80" identifier = identifier) ;) (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" identifier = number_literal) ;) (if_statement "if ((uVar3 & 0x20) != 0) {\n      local_8c = (double)(longlong)local_8c;\n    }" if (parenthesized_expression "((uVar3 & 0x20) != 0)" ( (binary_expression "(uVar3 & 0x20) != 0" (parenthesized_expression "(uVar3 & 0x20)" ( (binary_expression "uVar3 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      local_8c = (double)(longlong)local_8c;\n    }" { (expression_statement "local_8c = (double)(longlong)local_8c;" (assignment_expression "local_8c = (double)(longlong)local_8c" identifier = (cast_expression "(double)(longlong)local_8c" ( (type_descriptor "double" primitive_type) ) (cast_expression "(longlong)local_8c" ( (type_descriptor "longlong" type_identifier) ) identifier))) ;) })) (expression_statement "sqlite3_str_appendf(&local_54,"%!.15g",(int)local_8c,local_8c._4_4_);" (call_expression "sqlite3_str_appendf(&local_54,"%!.15g",(int)local_8c,local_8c._4_4_)" identifier (argument_list "(&local_54,"%!.15g",(int)local_8c,local_8c._4_4_)" ( (pointer_expression "&local_54" & identifier) , (string_literal ""%!.15g"" " string_content ") , (cast_expression "(int)local_8c" ( (type_descriptor "int" primitive_type) ) identifier) , (field_expression "local_8c._4_4_" identifier . field_identifier) ))) ;) (expression_statement "*(undefined1 *)((int)local_80 + local_44) = 0;" (assignment_expression "*(undefined1 *)((int)local_80 + local_44) = 0" (pointer_expression "*(undefined1 *)((int)local_80 + local_44)" * (cast_expression "(undefined1 *)((int)local_80 + local_44)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_80 + local_44)" ( (binary_expression "(int)local_80 + local_44" (cast_expression "(int)local_80" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) }) (else_clause "else {\n    local_80 = *(undefined4 **)((int)param_1 + 0x14);\n    *(undefined4 **)(param_1 + 2) = local_80;\n    uVar7 = *(ushort *)(param_1 + 1);\n    uVar3 = uVar7 & 0x2d;\n    *(ushort *)(param_1 + 1) = uVar3;\n    uVar7 = uVar7 & 4;\n    if (uVar7 == 0) goto LAB_000352d3;\nLAB_000353e5:\n    __memcpy_chk(&local_54,param_1,uVar7 * 2,8);\n    puVar1 = local_50;\n    iVar9 = local_54;\n    puVar10 = local_50;\n    if ((int)local_50 < 0) {\n      iVar9 = 0;\n      puVar10 = (undefined4 *)0x80000000;\n      if (local_50 != (undefined4 *)0x80000000 || local_54 != 0) {\n        iVar9 = -local_54;\n        puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0));\n      }\n    }\n    lVar11 = CONCAT44(puVar10,iVar9);\n    local_8c._0_4_ = 0x14;\n    local_21 = 0;\n    iVar9 = (int)local_8c;\n    do {\n      local_8c._0_4_ = iVar9;\n      iVar9 = (int)local_8c + -1;\n      cVar2 = FUN_000d10e0(lVar11,10,0);\n      auStack_37[(int)local_8c + 1] = cVar2 + '0';\n      lVar11 = FUN_000d0fc0(lVar11,10,0);\n    } while (lVar11 != 0);\n    if ((int)puVar1 < 0) {\n      auStack_37[(int)local_8c] = 0x2d;\n      iVar9 = (int)local_8c + -2;\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c);\n    }\n    else {\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c + 1);\n    }\n    iVar9 = -iVar9;\n    uVar8 = iVar9 + 0x15;\n    if (uVar8 < 4) {\n      if ((uVar8 != 0) && (*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0)) {\n        *(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13);\n      }\n    }\n    else {\n      *local_80 = *puVar1;\n      *(undefined4 *)((int)local_80 + iVar9 + 0x11) = *(undefined4 *)(iVar9 + 0x11 + (int)puVar1);\n      iVar9 = (int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc);\n      uVar8 = iVar9 + uVar8 & 0xfffffffc;\n      if (3 < uVar8) {\n        uVar6 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);\n      }\n    }\n  }" else (compound_statement "{\n    local_80 = *(undefined4 **)((int)param_1 + 0x14);\n    *(undefined4 **)(param_1 + 2) = local_80;\n    uVar7 = *(ushort *)(param_1 + 1);\n    uVar3 = uVar7 & 0x2d;\n    *(ushort *)(param_1 + 1) = uVar3;\n    uVar7 = uVar7 & 4;\n    if (uVar7 == 0) goto LAB_000352d3;\nLAB_000353e5:\n    __memcpy_chk(&local_54,param_1,uVar7 * 2,8);\n    puVar1 = local_50;\n    iVar9 = local_54;\n    puVar10 = local_50;\n    if ((int)local_50 < 0) {\n      iVar9 = 0;\n      puVar10 = (undefined4 *)0x80000000;\n      if (local_50 != (undefined4 *)0x80000000 || local_54 != 0) {\n        iVar9 = -local_54;\n        puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0));\n      }\n    }\n    lVar11 = CONCAT44(puVar10,iVar9);\n    local_8c._0_4_ = 0x14;\n    local_21 = 0;\n    iVar9 = (int)local_8c;\n    do {\n      local_8c._0_4_ = iVar9;\n      iVar9 = (int)local_8c + -1;\n      cVar2 = FUN_000d10e0(lVar11,10,0);\n      auStack_37[(int)local_8c + 1] = cVar2 + '0';\n      lVar11 = FUN_000d0fc0(lVar11,10,0);\n    } while (lVar11 != 0);\n    if ((int)puVar1 < 0) {\n      auStack_37[(int)local_8c] = 0x2d;\n      iVar9 = (int)local_8c + -2;\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c);\n    }\n    else {\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c + 1);\n    }\n    iVar9 = -iVar9;\n    uVar8 = iVar9 + 0x15;\n    if (uVar8 < 4) {\n      if ((uVar8 != 0) && (*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0)) {\n        *(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13);\n      }\n    }\n    else {\n      *local_80 = *puVar1;\n      *(undefined4 *)((int)local_80 + iVar9 + 0x11) = *(undefined4 *)(iVar9 + 0x11 + (int)puVar1);\n      iVar9 = (int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc);\n      uVar8 = iVar9 + uVar8 & 0xfffffffc;\n      if (3 < uVar8) {\n        uVar6 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);\n      }\n    }\n  }" { (expression_statement "local_80 = *(undefined4 **)((int)param_1 + 0x14);" (assignment_expression "local_80 = *(undefined4 **)((int)param_1 + 0x14)" identifier = (pointer_expression "*(undefined4 **)((int)param_1 + 0x14)" * (cast_expression "(undefined4 **)((int)param_1 + 0x14)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)param_1 + 0x14)" ( (binary_expression "(int)param_1 + 0x14" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "*(undefined4 **)(param_1 + 2) = local_80;" (assignment_expression "*(undefined4 **)(param_1 + 2) = local_80" (pointer_expression "*(undefined4 **)(param_1 + 2)" * (cast_expression "(undefined4 **)(param_1 + 2)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar7 = *(ushort *)(param_1 + 1);" (assignment_expression "uVar7 = *(ushort *)(param_1 + 1)" identifier = (pointer_expression "*(ushort *)(param_1 + 1)" * (cast_expression "(ushort *)(param_1 + 1)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = uVar7 & 0x2d;" (assignment_expression "uVar3 = uVar7 & 0x2d" identifier = (binary_expression "uVar7 & 0x2d" identifier & number_literal)) ;) (expression_statement "*(ushort *)(param_1 + 1) = uVar3;" (assignment_expression "*(ushort *)(param_1 + 1) = uVar3" (pointer_expression "*(ushort *)(param_1 + 1)" * (cast_expression "(ushort *)(param_1 + 1)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar7 = uVar7 & 4;" (assignment_expression "uVar7 = uVar7 & 4" identifier = (binary_expression "uVar7 & 4" identifier & number_literal)) ;) (if_statement "if (uVar7 == 0) goto LAB_000352d3;" if (parenthesized_expression "(uVar7 == 0)" ( (binary_expression "uVar7 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000352d3;" goto statement_identifier ;)) (labeled_statement "LAB_000353e5:\n    __memcpy_chk(&local_54,param_1,uVar7 * 2,8);" statement_identifier : (expression_statement "__memcpy_chk(&local_54,param_1,uVar7 * 2,8);" (call_expression "__memcpy_chk(&local_54,param_1,uVar7 * 2,8)" identifier (argument_list "(&local_54,param_1,uVar7 * 2,8)" ( (pointer_expression "&local_54" & identifier) , identifier , (binary_expression "uVar7 * 2" identifier * number_literal) , number_literal ))) ;)) (expression_statement "puVar1 = local_50;" (assignment_expression "puVar1 = local_50" identifier = identifier) ;) (expression_statement "iVar9 = local_54;" (assignment_expression "iVar9 = local_54" identifier = identifier) ;) (expression_statement "puVar10 = local_50;" (assignment_expression "puVar10 = local_50" identifier = identifier) ;) (if_statement "if ((int)local_50 < 0) {\n      iVar9 = 0;\n      puVar10 = (undefined4 *)0x80000000;\n      if (local_50 != (undefined4 *)0x80000000 || local_54 != 0) {\n        iVar9 = -local_54;\n        puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0));\n      }\n    }" if (parenthesized_expression "((int)local_50 < 0)" ( (binary_expression "(int)local_50 < 0" (cast_expression "(int)local_50" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      iVar9 = 0;\n      puVar10 = (undefined4 *)0x80000000;\n      if (local_50 != (undefined4 *)0x80000000 || local_54 != 0) {\n        iVar9 = -local_54;\n        puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0));\n      }\n    }" { (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (expression_statement "puVar10 = (undefined4 *)0x80000000;" (assignment_expression "puVar10 = (undefined4 *)0x80000000" identifier = (cast_expression "(undefined4 *)0x80000000" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (local_50 != (undefined4 *)0x80000000 || local_54 != 0) {\n        iVar9 = -local_54;\n        puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0));\n      }" if (parenthesized_expression "(local_50 != (undefined4 *)0x80000000 || local_54 != 0)" ( (binary_expression "local_50 != (undefined4 *)0x80000000 || local_54 != 0" (binary_expression "local_50 != (undefined4 *)0x80000000" identifier != (cast_expression "(undefined4 *)0x80000000" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) || (binary_expression "local_54 != 0" identifier != number_literal)) )) (compound_statement "{\n        iVar9 = -local_54;\n        puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0));\n      }" { (expression_statement "iVar9 = -local_54;" (assignment_expression "iVar9 = -local_54" identifier = (unary_expression "-local_54" - identifier)) ;) (expression_statement "puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0));" (assignment_expression "puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0))" identifier = (cast_expression "(undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (unary_expression "-(int)((int)local_50 + (uint)(local_54 != 0))" - (cast_expression "(int)((int)local_50 + (uint)(local_54 != 0))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((int)local_50 + (uint)(local_54 != 0))" ( (binary_expression "(int)local_50 + (uint)(local_54 != 0)" (cast_expression "(int)local_50" ( (type_descriptor "int" primitive_type) ) identifier) + (call_expression "(uint)(local_54 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_54 != 0)" ( (binary_expression "local_54 != 0" identifier != number_literal) )))) )))))) ;) })) })) (expression_statement "lVar11 = CONCAT44(puVar10,iVar9);" (assignment_expression "lVar11 = CONCAT44(puVar10,iVar9)" identifier = (call_expression "CONCAT44(puVar10,iVar9)" identifier (argument_list "(puVar10,iVar9)" ( identifier , identifier )))) ;) (expression_statement "local_8c._0_4_ = 0x14;" (assignment_expression "local_8c._0_4_ = 0x14" (field_expression "local_8c._0_4_" identifier . field_identifier) = number_literal) ;) (expression_statement "local_21 = 0;" (assignment_expression "local_21 = 0" identifier = number_literal) ;) (expression_statement "iVar9 = (int)local_8c;" (assignment_expression "iVar9 = (int)local_8c" identifier = (cast_expression "(int)local_8c" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (do_statement "do {\n      local_8c._0_4_ = iVar9;\n      iVar9 = (int)local_8c + -1;\n      cVar2 = FUN_000d10e0(lVar11,10,0);\n      auStack_37[(int)local_8c + 1] = cVar2 + '0';\n      lVar11 = FUN_000d0fc0(lVar11,10,0);\n    } while (lVar11 != 0);" do (compound_statement "{\n      local_8c._0_4_ = iVar9;\n      iVar9 = (int)local_8c + -1;\n      cVar2 = FUN_000d10e0(lVar11,10,0);\n      auStack_37[(int)local_8c + 1] = cVar2 + '0';\n      lVar11 = FUN_000d0fc0(lVar11,10,0);\n    }" { (expression_statement "local_8c._0_4_ = iVar9;" (assignment_expression "local_8c._0_4_ = iVar9" (field_expression "local_8c._0_4_" identifier . field_identifier) = identifier) ;) (expression_statement "iVar9 = (int)local_8c + -1;" (assignment_expression "iVar9 = (int)local_8c + -1" identifier = (binary_expression "(int)local_8c + -1" (cast_expression "(int)local_8c" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal)) ;) (expression_statement "cVar2 = FUN_000d10e0(lVar11,10,0);" (assignment_expression "cVar2 = FUN_000d10e0(lVar11,10,0)" identifier = (call_expression "FUN_000d10e0(lVar11,10,0)" identifier (argument_list "(lVar11,10,0)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "auStack_37[(int)local_8c + 1] = cVar2 + '0';" (assignment_expression "auStack_37[(int)local_8c + 1] = cVar2 + '0'" (subscript_expression "auStack_37[(int)local_8c + 1]" identifier [ (binary_expression "(int)local_8c + 1" (cast_expression "(int)local_8c" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ]) = (binary_expression "cVar2 + '0'" identifier + (char_literal "'0'" ' character '))) ;) (expression_statement "lVar11 = FUN_000d0fc0(lVar11,10,0);" (assignment_expression "lVar11 = FUN_000d0fc0(lVar11,10,0)" identifier = (call_expression "FUN_000d0fc0(lVar11,10,0)" identifier (argument_list "(lVar11,10,0)" ( identifier , number_literal , number_literal )))) ;) }) while (parenthesized_expression "(lVar11 != 0)" ( (binary_expression "lVar11 != 0" identifier != number_literal) )) ;) (if_statement "if ((int)puVar1 < 0) {\n      auStack_37[(int)local_8c] = 0x2d;\n      iVar9 = (int)local_8c + -2;\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c);\n    }\n    else {\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c + 1);\n    }" if (parenthesized_expression "((int)puVar1 < 0)" ( (binary_expression "(int)puVar1 < 0" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      auStack_37[(int)local_8c] = 0x2d;\n      iVar9 = (int)local_8c + -2;\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c);\n    }" { (expression_statement "auStack_37[(int)local_8c] = 0x2d;" (assignment_expression "auStack_37[(int)local_8c] = 0x2d" (subscript_expression "auStack_37[(int)local_8c]" identifier [ (cast_expression "(int)local_8c" ( (type_descriptor "int" primitive_type) ) identifier) ]) = number_literal) ;) (expression_statement "iVar9 = (int)local_8c + -2;" (assignment_expression "iVar9 = (int)local_8c + -2" identifier = (binary_expression "(int)local_8c + -2" (cast_expression "(int)local_8c" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal)) ;) (expression_statement "puVar1 = (undefined4 *)(auStack_37 + (int)local_8c);" (assignment_expression "puVar1 = (undefined4 *)(auStack_37 + (int)local_8c)" identifier = (cast_expression "(undefined4 *)(auStack_37 + (int)local_8c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(auStack_37 + (int)local_8c)" ( (binary_expression "auStack_37 + (int)local_8c" identifier + (cast_expression "(int)local_8c" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) }) (else_clause "else {\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c + 1);\n    }" else (compound_statement "{\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c + 1);\n    }" { (expression_statement "puVar1 = (undefined4 *)(auStack_37 + (int)local_8c + 1);" (assignment_expression "puVar1 = (undefined4 *)(auStack_37 + (int)local_8c + 1)" identifier = (cast_expression "(undefined4 *)(auStack_37 + (int)local_8c + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(auStack_37 + (int)local_8c + 1)" ( (binary_expression "auStack_37 + (int)local_8c + 1" (binary_expression "auStack_37 + (int)local_8c" identifier + (cast_expression "(int)local_8c" ( (type_descriptor "int" primitive_type) ) identifier)) + number_literal) )))) ;) }))) (expression_statement "iVar9 = -iVar9;" (assignment_expression "iVar9 = -iVar9" identifier = (unary_expression "-iVar9" - identifier)) ;) (expression_statement "uVar8 = iVar9 + 0x15;" (assignment_expression "uVar8 = iVar9 + 0x15" identifier = (binary_expression "iVar9 + 0x15" identifier + number_literal)) ;) (if_statement "if (uVar8 < 4) {\n      if ((uVar8 != 0) && (*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0)) {\n        *(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13);\n      }\n    }\n    else {\n      *local_80 = *puVar1;\n      *(undefined4 *)((int)local_80 + iVar9 + 0x11) = *(undefined4 *)(iVar9 + 0x11 + (int)puVar1);\n      iVar9 = (int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc);\n      uVar8 = iVar9 + uVar8 & 0xfffffffc;\n      if (3 < uVar8) {\n        uVar6 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);\n      }\n    }" if (parenthesized_expression "(uVar8 < 4)" ( (binary_expression "uVar8 < 4" identifier < number_literal) )) (compound_statement "{\n      if ((uVar8 != 0) && (*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0)) {\n        *(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13);\n      }\n    }" { (if_statement "if ((uVar8 != 0) && (*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0)) {\n        *(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13);\n      }" if (parenthesized_expression "((uVar8 != 0) && (*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0))" ( (binary_expression "(uVar8 != 0) && (*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0)" (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0)" ( (comma_expression "*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0" (assignment_expression "*(undefined1 *)local_80 = *(undefined1 *)puVar1" (pointer_expression "*(undefined1 *)local_80" * (cast_expression "(undefined1 *)local_80" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined1 *)puVar1" * (cast_expression "(undefined1 *)puVar1" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) , (binary_expression "(uVar8 & 2) != 0" (parenthesized_expression "(uVar8 & 2)" ( (binary_expression "uVar8 & 2" identifier & number_literal) )) != number_literal)) ))) )) (compound_statement "{\n        *(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13);\n      }" { (expression_statement "*(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13);" (assignment_expression "*(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13)" (pointer_expression "*(undefined2 *)((int)local_80 + iVar9 + 0x13)" * (cast_expression "(undefined2 *)((int)local_80 + iVar9 + 0x13)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_80 + iVar9 + 0x13)" ( (binary_expression "(int)local_80 + iVar9 + 0x13" (binary_expression "(int)local_80 + iVar9" (cast_expression "(int)local_80" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = (pointer_expression "*(undefined2 *)((int)puVar1 + iVar9 + 0x13)" * (cast_expression "(undefined2 *)((int)puVar1 + iVar9 + 0x13)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + iVar9 + 0x13)" ( (binary_expression "(int)puVar1 + iVar9 + 0x13" (binary_expression "(int)puVar1 + iVar9" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ))))) ;) })) }) (else_clause "else {\n      *local_80 = *puVar1;\n      *(undefined4 *)((int)local_80 + iVar9 + 0x11) = *(undefined4 *)(iVar9 + 0x11 + (int)puVar1);\n      iVar9 = (int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc);\n      uVar8 = iVar9 + uVar8 & 0xfffffffc;\n      if (3 < uVar8) {\n        uVar6 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);\n      }\n    }" else (compound_statement "{\n      *local_80 = *puVar1;\n      *(undefined4 *)((int)local_80 + iVar9 + 0x11) = *(undefined4 *)(iVar9 + 0x11 + (int)puVar1);\n      iVar9 = (int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc);\n      uVar8 = iVar9 + uVar8 & 0xfffffffc;\n      if (3 < uVar8) {\n        uVar6 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);\n      }\n    }" { (expression_statement "*local_80 = *puVar1;" (assignment_expression "*local_80 = *puVar1" (pointer_expression "*local_80" * identifier) = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "*(undefined4 *)((int)local_80 + iVar9 + 0x11) = *(undefined4 *)(iVar9 + 0x11 + (int)puVar1);" (assignment_expression "*(undefined4 *)((int)local_80 + iVar9 + 0x11) = *(undefined4 *)(iVar9 + 0x11 + (int)puVar1)" (pointer_expression "*(undefined4 *)((int)local_80 + iVar9 + 0x11)" * (cast_expression "(undefined4 *)((int)local_80 + iVar9 + 0x11)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_80 + iVar9 + 0x11)" ( (binary_expression "(int)local_80 + iVar9 + 0x11" (binary_expression "(int)local_80 + iVar9" (cast_expression "(int)local_80" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar9 + 0x11 + (int)puVar1)" * (cast_expression "(undefined4 *)(iVar9 + 0x11 + (int)puVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x11 + (int)puVar1)" ( (binary_expression "iVar9 + 0x11 + (int)puVar1" (binary_expression "iVar9 + 0x11" identifier + number_literal) + (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ))))) ;) (expression_statement "iVar9 = (int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc);" (assignment_expression "iVar9 = (int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc)" identifier = (binary_expression "(int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc)" (cast_expression "(int)local_80" ( (type_descriptor "int" primitive_type) ) identifier) - (parenthesized_expression "((uint)(local_80 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(local_80 + 1) & 0xfffffffc" (call_expression "(uint)(local_80 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_80 + 1)" ( (binary_expression "local_80 + 1" identifier + number_literal) ))) & number_literal) )))) ;) (expression_statement "uVar8 = iVar9 + uVar8 & 0xfffffffc;" (assignment_expression "uVar8 = iVar9 + uVar8 & 0xfffffffc" identifier = (binary_expression "iVar9 + uVar8 & 0xfffffffc" (binary_expression "iVar9 + uVar8" identifier + identifier) & number_literal)) ;) (if_statement "if (3 < uVar8) {\n        uVar6 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);\n      }" if (parenthesized_expression "(3 < uVar8)" ( (binary_expression "3 < uVar8" number_literal < identifier) )) (compound_statement "{\n        uVar6 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);\n      }" { (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (do_statement "do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);" do (compound_statement "{\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        }" { (expression_statement "*(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));" (assignment_expression "*(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9))" (pointer_expression "*(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6)" * (cast_expression "(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(((uint)(local_80 + 1) & 0xfffffffc) + uVar6)" ( (binary_expression "((uint)(local_80 + 1) & 0xfffffffc) + uVar6" (parenthesized_expression "((uint)(local_80 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(local_80 + 1) & 0xfffffffc" (call_expression "(uint)(local_80 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_80 + 1)" ( (binary_expression "local_80 + 1" identifier + number_literal) ))) & number_literal) )) + identifier) )))) = (pointer_expression "*(undefined4 *)((int)puVar1 + (uVar6 - iVar9))" * (cast_expression "(undefined4 *)((int)puVar1 + (uVar6 - iVar9))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + (uVar6 - iVar9))" ( (binary_expression "(int)puVar1 + (uVar6 - iVar9)" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(uVar6 - iVar9)" ( (binary_expression "uVar6 - iVar9" identifier - identifier) ))) ))))) ;) (expression_statement "uVar6 = uVar6 + 4;" (assignment_expression "uVar6 = uVar6 + 4" identifier = (binary_expression "uVar6 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar6 < uVar8)" ( (binary_expression "uVar6 < uVar8" identifier < identifier) )) ;) })) }))) }))) (expression_statement "sVar4 = strlen(*(char **)(param_1 + 2));" (assignment_expression "sVar4 = strlen(*(char **)(param_1 + 2))" identifier = (call_expression "strlen(*(char **)(param_1 + 2))" identifier (argument_list "(*(char **)(param_1 + 2))" ( (pointer_expression "*(char **)(param_1 + 2)" * (cast_expression "(char **)(param_1 + 2)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) )))) ;) (expression_statement "*(undefined1 *)((int)param_1 + 10) = 1;" (assignment_expression "*(undefined1 *)((int)param_1 + 10) = 1" (pointer_expression "*(undefined1 *)((int)param_1 + 10)" * (cast_expression "(undefined1 *)((int)param_1 + 10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 10)" ( (binary_expression "(int)param_1 + 10" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(size_t *)((int)param_1 + 0xc) = sVar4 & 0x3fffffff;" (assignment_expression "*(size_t *)((int)param_1 + 0xc) = sVar4 & 0x3fffffff" (pointer_expression "*(size_t *)((int)param_1 + 0xc)" * (cast_expression "(size_t *)((int)param_1 + 0xc)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0xc)" ( (binary_expression "(int)param_1 + 0xc" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "sVar4 & 0x3fffffff" identifier & number_literal)) ;) (expression_statement "uVar7 = *(ushort *)(param_1 + 1);" (assignment_expression "uVar7 = *(ushort *)(param_1 + 1)" identifier = (pointer_expression "*(ushort *)(param_1 + 1)" * (cast_expression "(ushort *)(param_1 + 1)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))))) ;) (if_statement "if (param_3 != '\0') {\n    uVar7 = uVar7 & 0xffd3;\n  }" if (parenthesized_expression "(param_3 != '\0')" ( (binary_expression "param_3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar7 = uVar7 & 0xffd3;\n  }" { (expression_statement "uVar7 = uVar7 & 0xffd3;" (assignment_expression "uVar7 = uVar7 & 0xffd3" identifier = (binary_expression "uVar7 & 0xffd3" identifier & number_literal)) ;) })) (expression_statement "*(ushort *)(param_1 + 1) = uVar7 | 0x202;" (assignment_expression "*(ushort *)(param_1 + 1) = uVar7 | 0x202" (pointer_expression "*(ushort *)(param_1 + 1)" * (cast_expression "(ushort *)(param_1 + 1)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = (binary_expression "uVar7 | 0x202" identifier | number_literal)) ;) (if_statement "if ((((uVar7 | 0x202) & 2) == 0) || (param_2 == '\x01')) {\n    uVar5 = 0;\n  }\n  else {\n    FUN_000323c0();\n    uVar5 = 0;\n  }" if (parenthesized_expression "((((uVar7 | 0x202) & 2) == 0) || (param_2 == '\x01'))" ( (binary_expression "(((uVar7 | 0x202) & 2) == 0) || (param_2 == '\x01')" (parenthesized_expression "(((uVar7 | 0x202) & 2) == 0)" ( (binary_expression "((uVar7 | 0x202) & 2) == 0" (parenthesized_expression "((uVar7 | 0x202) & 2)" ( (binary_expression "(uVar7 | 0x202) & 2" (parenthesized_expression "(uVar7 | 0x202)" ( (binary_expression "uVar7 | 0x202" identifier | number_literal) )) & number_literal) )) == number_literal) )) || (parenthesized_expression "(param_2 == '\x01')" ( (binary_expression "param_2 == '\x01'" identifier == (char_literal "'\x01'" ' escape_sequence ')) ))) )) (compound_statement "{\n    uVar5 = 0;\n  }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    FUN_000323c0();\n    uVar5 = 0;\n  }" else (compound_statement "{\n    FUN_000323c0();\n    uVar5 = 0;\n  }" { (expression_statement "FUN_000323c0();" (call_expression "FUN_000323c0()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) }))) (labeled_statement "LAB_00035375:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\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 uVar5;\n  }" { (return_statement "return uVar5;" return identifier ;) }))) (expression_statement "FUN_000d1450();" (call_expression "FUN_000d1450()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (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 & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (string_literal " string_content ") , (cast_expression ( (type_descriptor TYPE) ) IDENT) , (field_expression IDENT . field_identifier) ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = 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 & LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , (binary_expression IDENT * LIT) , LIT ))) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) || (binary_expression IDENT != LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (unary_expression - IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (unary_expression - (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) )))) )))))) ;) })) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ]) = (binary_expression IDENT + (char_literal ' character '))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT )))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ (cast_expression ( (type_descriptor TYPE) ) IDENT) ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT)) + LIT) )))) ;) }))) (expression_statement (assignment_expression IDENT = (unary_expression - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) , (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) ))))) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT) )) + IDENT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression IDENT - IDENT) ))) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) }))) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT | LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT | LIT) )) & LIT) )) == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (labeled_statement statement_identifier : (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 IDENT ;) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "undefined4 __regparm3 FUN_00035280(double *param_1,char param_2,char param_3)\n\n{\n  undefined4 *puVar1;\n  char cVar2;\n  ushort uVar3;\n  size_t sVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  ushort uVar7;\n  uint uVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  int in_GS_OFFSET;\n  longlong lVar11;\n  undefined8 local_8c;\n  undefined4 *local_80;\n  int local_54;\n  undefined4 *local_50;\n  undefined4 local_4c;\n  undefined4 local_48;\n  int local_44;\n  undefined2 local_40;\n  undefined1 auStack_37 [22];\n  undefined1 local_21;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3528b;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (*(int *)(param_1 + 3) < 0x20) {\n    iVar9 = FUN_000304f0();\n    if (iVar9 != 0) {\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      uVar5 = 7;\n      goto LAB_00035375;\n    }\n    local_80 = *(undefined4 **)(param_1 + 2);\n    uVar3 = *(ushort *)(param_1 + 1);\n    uVar7 = uVar3 & 4;\n    if (uVar7 != 0) goto LAB_000353e5;\nLAB_000352d3:\n    local_8c = *param_1;\n    local_54 = 0;\n    local_4c = 0x20;\n    local_48 = 0;\n    local_44 = 0;\n    local_50 = local_80;\n    local_40 = 0;\n    if ((uVar3 & 0x20) != 0) {\n      local_8c = (double)(longlong)local_8c;\n    }\n    sqlite3_str_appendf(&local_54,"%!.15g",(int)local_8c,local_8c._4_4_);\n    *(undefined1 *)((int)local_80 + local_44) = 0;\n  }\n  else {\n    local_80 = *(undefined4 **)((int)param_1 + 0x14);\n    *(undefined4 **)(param_1 + 2) = local_80;\n    uVar7 = *(ushort *)(param_1 + 1);\n    uVar3 = uVar7 & 0x2d;\n    *(ushort *)(param_1 + 1) = uVar3;\n    uVar7 = uVar7 & 4;\n    if (uVar7 == 0) goto LAB_000352d3;\nLAB_000353e5:\n    __memcpy_chk(&local_54,param_1,uVar7 * 2,8);\n    puVar1 = local_50;\n    iVar9 = local_54;\n    puVar10 = local_50;\n    if ((int)local_50 < 0) {\n      iVar9 = 0;\n      puVar10 = (undefined4 *)0x80000000;\n      if (local_50 != (undefined4 *)0x80000000 || local_54 != 0) {\n        iVar9 = -local_54;\n        puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0));\n      }\n    }\n    lVar11 = CONCAT44(puVar10,iVar9);\n    local_8c._0_4_ = 0x14;\n    local_21 = 0;\n    iVar9 = (int)local_8c;\n    do {\n      local_8c._0_4_ = iVar9;\n      iVar9 = (int)local_8c + -1;\n      cVar2 = FUN_000d10e0(lVar11,10,0);\n      auStack_37[(int)local_8c + 1] = cVar2 + '0';\n      lVar11 = FUN_000d0fc0(lVar11,10,0);\n    } while (lVar11 != 0);\n    if ((int)puVar1 < 0) {\n      auStack_37[(int)local_8c] = 0x2d;\n      iVar9 = (int)local_8c + -2;\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c);\n    }\n    else {\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c + 1);\n    }\n    iVar9 = -iVar9;\n    uVar8 = iVar9 + 0x15;\n    if (uVar8 < 4) {\n      if ((uVar8 != 0) && (*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0)) {\n        *(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13);\n      }\n    }\n    else {\n      *local_80 = *puVar1;\n      *(undefined4 *)((int)local_80 + iVar9 + 0x11) = *(undefined4 *)(iVar9 + 0x11 + (int)puVar1);\n      iVar9 = (int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc);\n      uVar8 = iVar9 + uVar8 & 0xfffffffc;\n      if (3 < uVar8) {\n        uVar6 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);\n      }\n    }\n  }\n  sVar4 = strlen(*(char **)(param_1 + 2));\n  *(undefined1 *)((int)param_1 + 10) = 1;\n  *(size_t *)((int)param_1 + 0xc) = sVar4 & 0x3fffffff;\n  uVar7 = *(ushort *)(param_1 + 1);\n  if (param_3 != '\0') {\n    uVar7 = uVar7 & 0xffd3;\n  }\n  *(ushort *)(param_1 + 1) = uVar7 | 0x202;\n  if ((((uVar7 | 0x202) & 2) == 0) || (param_2 == '\x01')) {\n    uVar5 = 0;\n  }\n  else {\n    FUN_000323c0();\n    uVar5 = 0;\n  }\nLAB_00035375:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\n  }\n                    \n  FUN_000d1450();\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00035280(double *param_1,char param_2,char param_3)" (identifier "FUN_00035280") (parameter_list "(double *param_1,char param_2,char param_3)" (( "(") (parameter_declaration "double *param_1" (primitive_type "double") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "char param_2" (primitive_type "char") (identifier "param_2")) (, ",") (parameter_declaration "char param_3" (primitive_type "char") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  char cVar2;\n  ushort uVar3;\n  size_t sVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  ushort uVar7;\n  uint uVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  int in_GS_OFFSET;\n  longlong lVar11;\n  undefined8 local_8c;\n  undefined4 *local_80;\n  int local_54;\n  undefined4 *local_50;\n  undefined4 local_4c;\n  undefined4 local_48;\n  int local_44;\n  undefined2 local_40;\n  undefined1 auStack_37 [22];\n  undefined1 local_21;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3528b;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (*(int *)(param_1 + 3) < 0x20) {\n    iVar9 = FUN_000304f0();\n    if (iVar9 != 0) {\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      uVar5 = 7;\n      goto LAB_00035375;\n    }\n    local_80 = *(undefined4 **)(param_1 + 2);\n    uVar3 = *(ushort *)(param_1 + 1);\n    uVar7 = uVar3 & 4;\n    if (uVar7 != 0) goto LAB_000353e5;\nLAB_000352d3:\n    local_8c = *param_1;\n    local_54 = 0;\n    local_4c = 0x20;\n    local_48 = 0;\n    local_44 = 0;\n    local_50 = local_80;\n    local_40 = 0;\n    if ((uVar3 & 0x20) != 0) {\n      local_8c = (double)(longlong)local_8c;\n    }\n    sqlite3_str_appendf(&local_54,"%!.15g",(int)local_8c,local_8c._4_4_);\n    *(undefined1 *)((int)local_80 + local_44) = 0;\n  }\n  else {\n    local_80 = *(undefined4 **)((int)param_1 + 0x14);\n    *(undefined4 **)(param_1 + 2) = local_80;\n    uVar7 = *(ushort *)(param_1 + 1);\n    uVar3 = uVar7 & 0x2d;\n    *(ushort *)(param_1 + 1) = uVar3;\n    uVar7 = uVar7 & 4;\n    if (uVar7 == 0) goto LAB_000352d3;\nLAB_000353e5:\n    __memcpy_chk(&local_54,param_1,uVar7 * 2,8);\n    puVar1 = local_50;\n    iVar9 = local_54;\n    puVar10 = local_50;\n    if ((int)local_50 < 0) {\n      iVar9 = 0;\n      puVar10 = (undefined4 *)0x80000000;\n      if (local_50 != (undefined4 *)0x80000000 || local_54 != 0) {\n        iVar9 = -local_54;\n        puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0));\n      }\n    }\n    lVar11 = CONCAT44(puVar10,iVar9);\n    local_8c._0_4_ = 0x14;\n    local_21 = 0;\n    iVar9 = (int)local_8c;\n    do {\n      local_8c._0_4_ = iVar9;\n      iVar9 = (int)local_8c + -1;\n      cVar2 = FUN_000d10e0(lVar11,10,0);\n      auStack_37[(int)local_8c + 1] = cVar2 + '0';\n      lVar11 = FUN_000d0fc0(lVar11,10,0);\n    } while (lVar11 != 0);\n    if ((int)puVar1 < 0) {\n      auStack_37[(int)local_8c] = 0x2d;\n      iVar9 = (int)local_8c + -2;\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c);\n    }\n    else {\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c + 1);\n    }\n    iVar9 = -iVar9;\n    uVar8 = iVar9 + 0x15;\n    if (uVar8 < 4) {\n      if ((uVar8 != 0) && (*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0)) {\n        *(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13);\n      }\n    }\n    else {\n      *local_80 = *puVar1;\n      *(undefined4 *)((int)local_80 + iVar9 + 0x11) = *(undefined4 *)(iVar9 + 0x11 + (int)puVar1);\n      iVar9 = (int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc);\n      uVar8 = iVar9 + uVar8 & 0xfffffffc;\n      if (3 < uVar8) {\n        uVar6 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);\n      }\n    }\n  }\n  sVar4 = strlen(*(char **)(param_1 + 2));\n  *(undefined1 *)((int)param_1 + 10) = 1;\n  *(size_t *)((int)param_1 + 0xc) = sVar4 & 0x3fffffff;\n  uVar7 = *(ushort *)(param_1 + 1);\n  if (param_3 != '\0') {\n    uVar7 = uVar7 & 0xffd3;\n  }\n  *(ushort *)(param_1 + 1) = uVar7 | 0x202;\n  if ((((uVar7 | 0x202) & 2) == 0) || (param_2 == '\x01')) {\n    uVar5 = 0;\n  }\n  else {\n    FUN_000323c0();\n    uVar5 = 0;\n  }\nLAB_00035375:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\n  }\n                    \n  FUN_000d1450();\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "ushort uVar3;" (type_identifier "ushort") (identifier "uVar3") (; ";")) (declaration "size_t sVar4;" (primitive_type "size_t") (identifier "sVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "ushort uVar7;" (type_identifier "ushort") (identifier "uVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "undefined4 *puVar10;" (type_identifier "undefined4") (pointer_declarator "*puVar10" (* "*") (identifier "puVar10")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "longlong lVar11;" (type_identifier "longlong") (identifier "lVar11") (; ";")) (declaration "undefined8 local_8c;" (type_identifier "undefined8") (identifier "local_8c") (; ";")) (declaration "undefined4 *local_80;" (type_identifier "undefined4") (pointer_declarator "*local_80" (* "*") (identifier "local_80")) (; ";")) (declaration "int local_54;" (primitive_type "int") (identifier "local_54") (; ";")) (declaration "undefined4 *local_50;" (type_identifier "undefined4") (pointer_declarator "*local_50" (* "*") (identifier "local_50")) (; ";")) (declaration "undefined4 local_4c;" (type_identifier "undefined4") (identifier "local_4c") (; ";")) (declaration "undefined4 local_48;" (type_identifier "undefined4") (identifier "local_48") (; ";")) (declaration "int local_44;" (primitive_type "int") (identifier "local_44") (; ";")) (declaration "undefined2 local_40;" (type_identifier "undefined2") (identifier "local_40") (; ";")) (declaration "undefined1 auStack_37 [22];" (type_identifier "undefined1") (array_declarator "auStack_37 [22]" (identifier "auStack_37") ([ "[") (number_literal "22") (] "]")) (; ";")) (declaration "undefined1 local_21;" (type_identifier "undefined1") (identifier "local_21") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x3528b;" (assignment_expression "uStack_14 = 0x3528b" (identifier "uStack_14") (= "=") (number_literal "0x3528b")) (; ";")) (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")) () ")"))))) (; ";")) (if_statement "if (*(int *)(param_1 + 3) < 0x20) {\n    iVar9 = FUN_000304f0();\n    if (iVar9 != 0) {\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      uVar5 = 7;\n      goto LAB_00035375;\n    }\n    local_80 = *(undefined4 **)(param_1 + 2);\n    uVar3 = *(ushort *)(param_1 + 1);\n    uVar7 = uVar3 & 4;\n    if (uVar7 != 0) goto LAB_000353e5;\nLAB_000352d3:\n    local_8c = *param_1;\n    local_54 = 0;\n    local_4c = 0x20;\n    local_48 = 0;\n    local_44 = 0;\n    local_50 = local_80;\n    local_40 = 0;\n    if ((uVar3 & 0x20) != 0) {\n      local_8c = (double)(longlong)local_8c;\n    }\n    sqlite3_str_appendf(&local_54,"%!.15g",(int)local_8c,local_8c._4_4_);\n    *(undefined1 *)((int)local_80 + local_44) = 0;\n  }\n  else {\n    local_80 = *(undefined4 **)((int)param_1 + 0x14);\n    *(undefined4 **)(param_1 + 2) = local_80;\n    uVar7 = *(ushort *)(param_1 + 1);\n    uVar3 = uVar7 & 0x2d;\n    *(ushort *)(param_1 + 1) = uVar3;\n    uVar7 = uVar7 & 4;\n    if (uVar7 == 0) goto LAB_000352d3;\nLAB_000353e5:\n    __memcpy_chk(&local_54,param_1,uVar7 * 2,8);\n    puVar1 = local_50;\n    iVar9 = local_54;\n    puVar10 = local_50;\n    if ((int)local_50 < 0) {\n      iVar9 = 0;\n      puVar10 = (undefined4 *)0x80000000;\n      if (local_50 != (undefined4 *)0x80000000 || local_54 != 0) {\n        iVar9 = -local_54;\n        puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0));\n      }\n    }\n    lVar11 = CONCAT44(puVar10,iVar9);\n    local_8c._0_4_ = 0x14;\n    local_21 = 0;\n    iVar9 = (int)local_8c;\n    do {\n      local_8c._0_4_ = iVar9;\n      iVar9 = (int)local_8c + -1;\n      cVar2 = FUN_000d10e0(lVar11,10,0);\n      auStack_37[(int)local_8c + 1] = cVar2 + '0';\n      lVar11 = FUN_000d0fc0(lVar11,10,0);\n    } while (lVar11 != 0);\n    if ((int)puVar1 < 0) {\n      auStack_37[(int)local_8c] = 0x2d;\n      iVar9 = (int)local_8c + -2;\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c);\n    }\n    else {\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c + 1);\n    }\n    iVar9 = -iVar9;\n    uVar8 = iVar9 + 0x15;\n    if (uVar8 < 4) {\n      if ((uVar8 != 0) && (*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0)) {\n        *(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13);\n      }\n    }\n    else {\n      *local_80 = *puVar1;\n      *(undefined4 *)((int)local_80 + iVar9 + 0x11) = *(undefined4 *)(iVar9 + 0x11 + (int)puVar1);\n      iVar9 = (int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc);\n      uVar8 = iVar9 + uVar8 & 0xfffffffc;\n      if (3 < uVar8) {\n        uVar6 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);\n      }\n    }\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 3) < 0x20)" (( "(") (binary_expression "*(int *)(param_1 + 3) < 0x20" (pointer_expression "*(int *)(param_1 + 3)" (* "*") (cast_expression "(int *)(param_1 + 3)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 3)" (( "(") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3")) () ")")))) (< "<") (number_literal "0x20")) () ")")) (compound_statement "{\n    iVar9 = FUN_000304f0();\n    if (iVar9 != 0) {\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      uVar5 = 7;\n      goto LAB_00035375;\n    }\n    local_80 = *(undefined4 **)(param_1 + 2);\n    uVar3 = *(ushort *)(param_1 + 1);\n    uVar7 = uVar3 & 4;\n    if (uVar7 != 0) goto LAB_000353e5;\nLAB_000352d3:\n    local_8c = *param_1;\n    local_54 = 0;\n    local_4c = 0x20;\n    local_48 = 0;\n    local_44 = 0;\n    local_50 = local_80;\n    local_40 = 0;\n    if ((uVar3 & 0x20) != 0) {\n      local_8c = (double)(longlong)local_8c;\n    }\n    sqlite3_str_appendf(&local_54,"%!.15g",(int)local_8c,local_8c._4_4_);\n    *(undefined1 *)((int)local_80 + local_44) = 0;\n  }" ({ "{") (expression_statement "iVar9 = FUN_000304f0();" (assignment_expression "iVar9 = FUN_000304f0()" (identifier "iVar9") (= "=") (call_expression "FUN_000304f0()" (identifier "FUN_000304f0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar9 != 0) {\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      uVar5 = 7;\n      goto LAB_00035375;\n    }" (if "if") (parenthesized_expression "(iVar9 != 0)" (( "(") (binary_expression "iVar9 != 0" (identifier "iVar9") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      uVar5 = 7;\n      goto LAB_00035375;\n    }" ({ "{") (expression_statement "*(undefined1 *)((int)param_1 + 10) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 10) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 10)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + 10)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 10)" (( "(") (binary_expression "(int)param_1 + 10" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar5 = 7;" (assignment_expression "uVar5 = 7" (identifier "uVar5") (= "=") (number_literal "7")) (; ";")) (goto_statement "goto LAB_00035375;" (goto "goto") (statement_identifier "LAB_00035375") (; ";")) (} "}"))) (expression_statement "local_80 = *(undefined4 **)(param_1 + 2);" (assignment_expression "local_80 = *(undefined4 **)(param_1 + 2)" (identifier "local_80") (= "=") (pointer_expression "*(undefined4 **)(param_1 + 2)" (* "*") (cast_expression "(undefined4 **)(param_1 + 2)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")"))))) (; ";")) (expression_statement "uVar3 = *(ushort *)(param_1 + 1);" (assignment_expression "uVar3 = *(ushort *)(param_1 + 1)" (identifier "uVar3") (= "=") (pointer_expression "*(ushort *)(param_1 + 1)" (* "*") (cast_expression "(ushort *)(param_1 + 1)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "uVar7 = uVar3 & 4;" (assignment_expression "uVar7 = uVar3 & 4" (identifier "uVar7") (= "=") (binary_expression "uVar3 & 4" (identifier "uVar3") (& "&") (number_literal "4"))) (; ";")) (if_statement "if (uVar7 != 0) goto LAB_000353e5;" (if "if") (parenthesized_expression "(uVar7 != 0)" (( "(") (binary_expression "uVar7 != 0" (identifier "uVar7") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_000353e5;" (goto "goto") (statement_identifier "LAB_000353e5") (; ";"))) (labeled_statement "LAB_000352d3:\n    local_8c = *param_1;" (statement_identifier "LAB_000352d3") (: ":") (expression_statement "local_8c = *param_1;" (assignment_expression "local_8c = *param_1" (identifier "local_8c") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";"))) (expression_statement "local_54 = 0;" (assignment_expression "local_54 = 0" (identifier "local_54") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_4c = 0x20;" (assignment_expression "local_4c = 0x20" (identifier "local_4c") (= "=") (number_literal "0x20")) (; ";")) (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" (identifier "local_48") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_44 = 0;" (assignment_expression "local_44 = 0" (identifier "local_44") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_50 = local_80;" (assignment_expression "local_50 = local_80" (identifier "local_50") (= "=") (identifier "local_80")) (; ";")) (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" (identifier "local_40") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((uVar3 & 0x20) != 0) {\n      local_8c = (double)(longlong)local_8c;\n    }" (if "if") (parenthesized_expression "((uVar3 & 0x20) != 0)" (( "(") (binary_expression "(uVar3 & 0x20) != 0" (parenthesized_expression "(uVar3 & 0x20)" (( "(") (binary_expression "uVar3 & 0x20" (identifier "uVar3") (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      local_8c = (double)(longlong)local_8c;\n    }" ({ "{") (expression_statement "local_8c = (double)(longlong)local_8c;" (assignment_expression "local_8c = (double)(longlong)local_8c" (identifier "local_8c") (= "=") (cast_expression "(double)(longlong)local_8c" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (cast_expression "(longlong)local_8c" (( "(") (type_descriptor "longlong" (type_identifier "longlong")) () ")") (identifier "local_8c")))) (; ";")) (} "}"))) (expression_statement "sqlite3_str_appendf(&local_54,"%!.15g",(int)local_8c,local_8c._4_4_);" (call_expression "sqlite3_str_appendf(&local_54,"%!.15g",(int)local_8c,local_8c._4_4_)" (identifier "sqlite3_str_appendf") (argument_list "(&local_54,"%!.15g",(int)local_8c,local_8c._4_4_)" (( "(") (pointer_expression "&local_54" (& "&") (identifier "local_54")) (, ",") (string_literal ""%!.15g"" (" """) (string_content "%!.15g") (" """)) (, ",") (cast_expression "(int)local_8c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_8c")) (, ",") (field_expression "local_8c._4_4_" (identifier "local_8c") (. ".") (field_identifier "_4_4_")) () ")"))) (; ";")) (expression_statement "*(undefined1 *)((int)local_80 + local_44) = 0;" (assignment_expression "*(undefined1 *)((int)local_80 + local_44) = 0" (pointer_expression "*(undefined1 *)((int)local_80 + local_44)" (* "*") (cast_expression "(undefined1 *)((int)local_80 + local_44)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_80 + local_44)" (( "(") (binary_expression "(int)local_80 + local_44" (cast_expression "(int)local_80" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_80")) (+ "+") (identifier "local_44")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    local_80 = *(undefined4 **)((int)param_1 + 0x14);\n    *(undefined4 **)(param_1 + 2) = local_80;\n    uVar7 = *(ushort *)(param_1 + 1);\n    uVar3 = uVar7 & 0x2d;\n    *(ushort *)(param_1 + 1) = uVar3;\n    uVar7 = uVar7 & 4;\n    if (uVar7 == 0) goto LAB_000352d3;\nLAB_000353e5:\n    __memcpy_chk(&local_54,param_1,uVar7 * 2,8);\n    puVar1 = local_50;\n    iVar9 = local_54;\n    puVar10 = local_50;\n    if ((int)local_50 < 0) {\n      iVar9 = 0;\n      puVar10 = (undefined4 *)0x80000000;\n      if (local_50 != (undefined4 *)0x80000000 || local_54 != 0) {\n        iVar9 = -local_54;\n        puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0));\n      }\n    }\n    lVar11 = CONCAT44(puVar10,iVar9);\n    local_8c._0_4_ = 0x14;\n    local_21 = 0;\n    iVar9 = (int)local_8c;\n    do {\n      local_8c._0_4_ = iVar9;\n      iVar9 = (int)local_8c + -1;\n      cVar2 = FUN_000d10e0(lVar11,10,0);\n      auStack_37[(int)local_8c + 1] = cVar2 + '0';\n      lVar11 = FUN_000d0fc0(lVar11,10,0);\n    } while (lVar11 != 0);\n    if ((int)puVar1 < 0) {\n      auStack_37[(int)local_8c] = 0x2d;\n      iVar9 = (int)local_8c + -2;\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c);\n    }\n    else {\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c + 1);\n    }\n    iVar9 = -iVar9;\n    uVar8 = iVar9 + 0x15;\n    if (uVar8 < 4) {\n      if ((uVar8 != 0) && (*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0)) {\n        *(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13);\n      }\n    }\n    else {\n      *local_80 = *puVar1;\n      *(undefined4 *)((int)local_80 + iVar9 + 0x11) = *(undefined4 *)(iVar9 + 0x11 + (int)puVar1);\n      iVar9 = (int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc);\n      uVar8 = iVar9 + uVar8 & 0xfffffffc;\n      if (3 < uVar8) {\n        uVar6 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);\n      }\n    }\n  }" (else "else") (compound_statement "{\n    local_80 = *(undefined4 **)((int)param_1 + 0x14);\n    *(undefined4 **)(param_1 + 2) = local_80;\n    uVar7 = *(ushort *)(param_1 + 1);\n    uVar3 = uVar7 & 0x2d;\n    *(ushort *)(param_1 + 1) = uVar3;\n    uVar7 = uVar7 & 4;\n    if (uVar7 == 0) goto LAB_000352d3;\nLAB_000353e5:\n    __memcpy_chk(&local_54,param_1,uVar7 * 2,8);\n    puVar1 = local_50;\n    iVar9 = local_54;\n    puVar10 = local_50;\n    if ((int)local_50 < 0) {\n      iVar9 = 0;\n      puVar10 = (undefined4 *)0x80000000;\n      if (local_50 != (undefined4 *)0x80000000 || local_54 != 0) {\n        iVar9 = -local_54;\n        puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0));\n      }\n    }\n    lVar11 = CONCAT44(puVar10,iVar9);\n    local_8c._0_4_ = 0x14;\n    local_21 = 0;\n    iVar9 = (int)local_8c;\n    do {\n      local_8c._0_4_ = iVar9;\n      iVar9 = (int)local_8c + -1;\n      cVar2 = FUN_000d10e0(lVar11,10,0);\n      auStack_37[(int)local_8c + 1] = cVar2 + '0';\n      lVar11 = FUN_000d0fc0(lVar11,10,0);\n    } while (lVar11 != 0);\n    if ((int)puVar1 < 0) {\n      auStack_37[(int)local_8c] = 0x2d;\n      iVar9 = (int)local_8c + -2;\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c);\n    }\n    else {\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c + 1);\n    }\n    iVar9 = -iVar9;\n    uVar8 = iVar9 + 0x15;\n    if (uVar8 < 4) {\n      if ((uVar8 != 0) && (*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0)) {\n        *(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13);\n      }\n    }\n    else {\n      *local_80 = *puVar1;\n      *(undefined4 *)((int)local_80 + iVar9 + 0x11) = *(undefined4 *)(iVar9 + 0x11 + (int)puVar1);\n      iVar9 = (int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc);\n      uVar8 = iVar9 + uVar8 & 0xfffffffc;\n      if (3 < uVar8) {\n        uVar6 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);\n      }\n    }\n  }" ({ "{") (expression_statement "local_80 = *(undefined4 **)((int)param_1 + 0x14);" (assignment_expression "local_80 = *(undefined4 **)((int)param_1 + 0x14)" (identifier "local_80") (= "=") (pointer_expression "*(undefined4 **)((int)param_1 + 0x14)" (* "*") (cast_expression "(undefined4 **)((int)param_1 + 0x14)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)param_1 + 0x14)" (( "(") (binary_expression "(int)param_1 + 0x14" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "*(undefined4 **)(param_1 + 2) = local_80;" (assignment_expression "*(undefined4 **)(param_1 + 2) = local_80" (pointer_expression "*(undefined4 **)(param_1 + 2)" (* "*") (cast_expression "(undefined4 **)(param_1 + 2)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (= "=") (identifier "local_80")) (; ";")) (expression_statement "uVar7 = *(ushort *)(param_1 + 1);" (assignment_expression "uVar7 = *(ushort *)(param_1 + 1)" (identifier "uVar7") (= "=") (pointer_expression "*(ushort *)(param_1 + 1)" (* "*") (cast_expression "(ushort *)(param_1 + 1)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "uVar3 = uVar7 & 0x2d;" (assignment_expression "uVar3 = uVar7 & 0x2d" (identifier "uVar3") (= "=") (binary_expression "uVar7 & 0x2d" (identifier "uVar7") (& "&") (number_literal "0x2d"))) (; ";")) (expression_statement "*(ushort *)(param_1 + 1) = uVar3;" (assignment_expression "*(ushort *)(param_1 + 1) = uVar3" (pointer_expression "*(ushort *)(param_1 + 1)" (* "*") (cast_expression "(ushort *)(param_1 + 1)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "uVar7 = uVar7 & 4;" (assignment_expression "uVar7 = uVar7 & 4" (identifier "uVar7") (= "=") (binary_expression "uVar7 & 4" (identifier "uVar7") (& "&") (number_literal "4"))) (; ";")) (if_statement "if (uVar7 == 0) goto LAB_000352d3;" (if "if") (parenthesized_expression "(uVar7 == 0)" (( "(") (binary_expression "uVar7 == 0" (identifier "uVar7") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000352d3;" (goto "goto") (statement_identifier "LAB_000352d3") (; ";"))) (labeled_statement "LAB_000353e5:\n    __memcpy_chk(&local_54,param_1,uVar7 * 2,8);" (statement_identifier "LAB_000353e5") (: ":") (expression_statement "__memcpy_chk(&local_54,param_1,uVar7 * 2,8);" (call_expression "__memcpy_chk(&local_54,param_1,uVar7 * 2,8)" (identifier "__memcpy_chk") (argument_list "(&local_54,param_1,uVar7 * 2,8)" (( "(") (pointer_expression "&local_54" (& "&") (identifier "local_54")) (, ",") (identifier "param_1") (, ",") (binary_expression "uVar7 * 2" (identifier "uVar7") (* "*") (number_literal "2")) (, ",") (number_literal "8") () ")"))) (; ";"))) (expression_statement "puVar1 = local_50;" (assignment_expression "puVar1 = local_50" (identifier "puVar1") (= "=") (identifier "local_50")) (; ";")) (expression_statement "iVar9 = local_54;" (assignment_expression "iVar9 = local_54" (identifier "iVar9") (= "=") (identifier "local_54")) (; ";")) (expression_statement "puVar10 = local_50;" (assignment_expression "puVar10 = local_50" (identifier "puVar10") (= "=") (identifier "local_50")) (; ";")) (if_statement "if ((int)local_50 < 0) {\n      iVar9 = 0;\n      puVar10 = (undefined4 *)0x80000000;\n      if (local_50 != (undefined4 *)0x80000000 || local_54 != 0) {\n        iVar9 = -local_54;\n        puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0));\n      }\n    }" (if "if") (parenthesized_expression "((int)local_50 < 0)" (( "(") (binary_expression "(int)local_50 < 0" (cast_expression "(int)local_50" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_50")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      iVar9 = 0;\n      puVar10 = (undefined4 *)0x80000000;\n      if (local_50 != (undefined4 *)0x80000000 || local_54 != 0) {\n        iVar9 = -local_54;\n        puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0));\n      }\n    }" ({ "{") (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" (identifier "iVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar10 = (undefined4 *)0x80000000;" (assignment_expression "puVar10 = (undefined4 *)0x80000000" (identifier "puVar10") (= "=") (cast_expression "(undefined4 *)0x80000000" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x80000000"))) (; ";")) (if_statement "if (local_50 != (undefined4 *)0x80000000 || local_54 != 0) {\n        iVar9 = -local_54;\n        puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0));\n      }" (if "if") (parenthesized_expression "(local_50 != (undefined4 *)0x80000000 || local_54 != 0)" (( "(") (binary_expression "local_50 != (undefined4 *)0x80000000 || local_54 != 0" (binary_expression "local_50 != (undefined4 *)0x80000000" (identifier "local_50") (!= "!=") (cast_expression "(undefined4 *)0x80000000" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x80000000"))) (|| "||") (binary_expression "local_54 != 0" (identifier "local_54") (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n        iVar9 = -local_54;\n        puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0));\n      }" ({ "{") (expression_statement "iVar9 = -local_54;" (assignment_expression "iVar9 = -local_54" (identifier "iVar9") (= "=") (unary_expression "-local_54" (- "-") (identifier "local_54"))) (; ";")) (expression_statement "puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0));" (assignment_expression "puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0))" (identifier "puVar10") (= "=") (cast_expression "(undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (unary_expression "-(int)((int)local_50 + (uint)(local_54 != 0))" (- "-") (cast_expression "(int)((int)local_50 + (uint)(local_54 != 0))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((int)local_50 + (uint)(local_54 != 0))" (( "(") (binary_expression "(int)local_50 + (uint)(local_54 != 0)" (cast_expression "(int)local_50" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_50")) (+ "+") (call_expression "(uint)(local_54 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(local_54 != 0)" (( "(") (binary_expression "local_54 != 0" (identifier "local_54") (!= "!=") (number_literal "0")) () ")")))) () ")")))))) (; ";")) (} "}"))) (} "}"))) (expression_statement "lVar11 = CONCAT44(puVar10,iVar9);" (assignment_expression "lVar11 = CONCAT44(puVar10,iVar9)" (identifier "lVar11") (= "=") (call_expression "CONCAT44(puVar10,iVar9)" (identifier "CONCAT44") (argument_list "(puVar10,iVar9)" (( "(") (identifier "puVar10") (, ",") (identifier "iVar9") () ")")))) (; ";")) (expression_statement "local_8c._0_4_ = 0x14;" (assignment_expression "local_8c._0_4_ = 0x14" (field_expression "local_8c._0_4_" (identifier "local_8c") (. ".") (field_identifier "_0_4_")) (= "=") (number_literal "0x14")) (; ";")) (expression_statement "local_21 = 0;" (assignment_expression "local_21 = 0" (identifier "local_21") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar9 = (int)local_8c;" (assignment_expression "iVar9 = (int)local_8c" (identifier "iVar9") (= "=") (cast_expression "(int)local_8c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_8c"))) (; ";")) (do_statement "do {\n      local_8c._0_4_ = iVar9;\n      iVar9 = (int)local_8c + -1;\n      cVar2 = FUN_000d10e0(lVar11,10,0);\n      auStack_37[(int)local_8c + 1] = cVar2 + '0';\n      lVar11 = FUN_000d0fc0(lVar11,10,0);\n    } while (lVar11 != 0);" (do "do") (compound_statement "{\n      local_8c._0_4_ = iVar9;\n      iVar9 = (int)local_8c + -1;\n      cVar2 = FUN_000d10e0(lVar11,10,0);\n      auStack_37[(int)local_8c + 1] = cVar2 + '0';\n      lVar11 = FUN_000d0fc0(lVar11,10,0);\n    }" ({ "{") (expression_statement "local_8c._0_4_ = iVar9;" (assignment_expression "local_8c._0_4_ = iVar9" (field_expression "local_8c._0_4_" (identifier "local_8c") (. ".") (field_identifier "_0_4_")) (= "=") (identifier "iVar9")) (; ";")) (expression_statement "iVar9 = (int)local_8c + -1;" (assignment_expression "iVar9 = (int)local_8c + -1" (identifier "iVar9") (= "=") (binary_expression "(int)local_8c + -1" (cast_expression "(int)local_8c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_8c")) (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "cVar2 = FUN_000d10e0(lVar11,10,0);" (assignment_expression "cVar2 = FUN_000d10e0(lVar11,10,0)" (identifier "cVar2") (= "=") (call_expression "FUN_000d10e0(lVar11,10,0)" (identifier "FUN_000d10e0") (argument_list "(lVar11,10,0)" (( "(") (identifier "lVar11") (, ",") (number_literal "10") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "auStack_37[(int)local_8c + 1] = cVar2 + '0';" (assignment_expression "auStack_37[(int)local_8c + 1] = cVar2 + '0'" (subscript_expression "auStack_37[(int)local_8c + 1]" (identifier "auStack_37") ([ "[") (binary_expression "(int)local_8c + 1" (cast_expression "(int)local_8c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_8c")) (+ "+") (number_literal "1")) (] "]")) (= "=") (binary_expression "cVar2 + '0'" (identifier "cVar2") (+ "+") (char_literal "'0'" (' "'") (character "0") (' "'")))) (; ";")) (expression_statement "lVar11 = FUN_000d0fc0(lVar11,10,0);" (assignment_expression "lVar11 = FUN_000d0fc0(lVar11,10,0)" (identifier "lVar11") (= "=") (call_expression "FUN_000d0fc0(lVar11,10,0)" (identifier "FUN_000d0fc0") (argument_list "(lVar11,10,0)" (( "(") (identifier "lVar11") (, ",") (number_literal "10") (, ",") (number_literal "0") () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(lVar11 != 0)" (( "(") (binary_expression "lVar11 != 0" (identifier "lVar11") (!= "!=") (number_literal "0")) () ")")) (; ";")) (if_statement "if ((int)puVar1 < 0) {\n      auStack_37[(int)local_8c] = 0x2d;\n      iVar9 = (int)local_8c + -2;\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c);\n    }\n    else {\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c + 1);\n    }" (if "if") (parenthesized_expression "((int)puVar1 < 0)" (( "(") (binary_expression "(int)puVar1 < 0" (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      auStack_37[(int)local_8c] = 0x2d;\n      iVar9 = (int)local_8c + -2;\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c);\n    }" ({ "{") (expression_statement "auStack_37[(int)local_8c] = 0x2d;" (assignment_expression "auStack_37[(int)local_8c] = 0x2d" (subscript_expression "auStack_37[(int)local_8c]" (identifier "auStack_37") ([ "[") (cast_expression "(int)local_8c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_8c")) (] "]")) (= "=") (number_literal "0x2d")) (; ";")) (expression_statement "iVar9 = (int)local_8c + -2;" (assignment_expression "iVar9 = (int)local_8c + -2" (identifier "iVar9") (= "=") (binary_expression "(int)local_8c + -2" (cast_expression "(int)local_8c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_8c")) (+ "+") (number_literal "-2"))) (; ";")) (expression_statement "puVar1 = (undefined4 *)(auStack_37 + (int)local_8c);" (assignment_expression "puVar1 = (undefined4 *)(auStack_37 + (int)local_8c)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)(auStack_37 + (int)local_8c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(auStack_37 + (int)local_8c)" (( "(") (binary_expression "auStack_37 + (int)local_8c" (identifier "auStack_37") (+ "+") (cast_expression "(int)local_8c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_8c"))) () ")")))) (; ";")) (} "}")) (else_clause "else {\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c + 1);\n    }" (else "else") (compound_statement "{\n      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c + 1);\n    }" ({ "{") (expression_statement "puVar1 = (undefined4 *)(auStack_37 + (int)local_8c + 1);" (assignment_expression "puVar1 = (undefined4 *)(auStack_37 + (int)local_8c + 1)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)(auStack_37 + (int)local_8c + 1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(auStack_37 + (int)local_8c + 1)" (( "(") (binary_expression "auStack_37 + (int)local_8c + 1" (binary_expression "auStack_37 + (int)local_8c" (identifier "auStack_37") (+ "+") (cast_expression "(int)local_8c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_8c"))) (+ "+") (number_literal "1")) () ")")))) (; ";")) (} "}")))) (expression_statement "iVar9 = -iVar9;" (assignment_expression "iVar9 = -iVar9" (identifier "iVar9") (= "=") (unary_expression "-iVar9" (- "-") (identifier "iVar9"))) (; ";")) (expression_statement "uVar8 = iVar9 + 0x15;" (assignment_expression "uVar8 = iVar9 + 0x15" (identifier "uVar8") (= "=") (binary_expression "iVar9 + 0x15" (identifier "iVar9") (+ "+") (number_literal "0x15"))) (; ";")) (if_statement "if (uVar8 < 4) {\n      if ((uVar8 != 0) && (*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0)) {\n        *(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13);\n      }\n    }\n    else {\n      *local_80 = *puVar1;\n      *(undefined4 *)((int)local_80 + iVar9 + 0x11) = *(undefined4 *)(iVar9 + 0x11 + (int)puVar1);\n      iVar9 = (int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc);\n      uVar8 = iVar9 + uVar8 & 0xfffffffc;\n      if (3 < uVar8) {\n        uVar6 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);\n      }\n    }" (if "if") (parenthesized_expression "(uVar8 < 4)" (( "(") (binary_expression "uVar8 < 4" (identifier "uVar8") (< "<") (number_literal "4")) () ")")) (compound_statement "{\n      if ((uVar8 != 0) && (*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0)) {\n        *(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13);\n      }\n    }" ({ "{") (if_statement "if ((uVar8 != 0) && (*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0)) {\n        *(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13);\n      }" (if "if") (parenthesized_expression "((uVar8 != 0) && (*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0))" (( "(") (binary_expression "(uVar8 != 0) && (*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0)" (parenthesized_expression "(uVar8 != 0)" (( "(") (binary_expression "uVar8 != 0" (identifier "uVar8") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0)" (( "(") (comma_expression "*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0" (assignment_expression "*(undefined1 *)local_80 = *(undefined1 *)puVar1" (pointer_expression "*(undefined1 *)local_80" (* "*") (cast_expression "(undefined1 *)local_80" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "local_80"))) (= "=") (pointer_expression "*(undefined1 *)puVar1" (* "*") (cast_expression "(undefined1 *)puVar1" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1")))) (, ",") (binary_expression "(uVar8 & 2) != 0" (parenthesized_expression "(uVar8 & 2)" (( "(") (binary_expression "uVar8 & 2" (identifier "uVar8") (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n        *(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13);\n      }" ({ "{") (expression_statement "*(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13);" (assignment_expression "*(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13)" (pointer_expression "*(undefined2 *)((int)local_80 + iVar9 + 0x13)" (* "*") (cast_expression "(undefined2 *)((int)local_80 + iVar9 + 0x13)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_80 + iVar9 + 0x13)" (( "(") (binary_expression "(int)local_80 + iVar9 + 0x13" (binary_expression "(int)local_80 + iVar9" (cast_expression "(int)local_80" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_80")) (+ "+") (identifier "iVar9")) (+ "+") (number_literal "0x13")) () ")")))) (= "=") (pointer_expression "*(undefined2 *)((int)puVar1 + iVar9 + 0x13)" (* "*") (cast_expression "(undefined2 *)((int)puVar1 + iVar9 + 0x13)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar1 + iVar9 + 0x13)" (( "(") (binary_expression "(int)puVar1 + iVar9 + 0x13" (binary_expression "(int)puVar1 + iVar9" (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1")) (+ "+") (identifier "iVar9")) (+ "+") (number_literal "0x13")) () ")"))))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      *local_80 = *puVar1;\n      *(undefined4 *)((int)local_80 + iVar9 + 0x11) = *(undefined4 *)(iVar9 + 0x11 + (int)puVar1);\n      iVar9 = (int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc);\n      uVar8 = iVar9 + uVar8 & 0xfffffffc;\n      if (3 < uVar8) {\n        uVar6 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);\n      }\n    }" (else "else") (compound_statement "{\n      *local_80 = *puVar1;\n      *(undefined4 *)((int)local_80 + iVar9 + 0x11) = *(undefined4 *)(iVar9 + 0x11 + (int)puVar1);\n      iVar9 = (int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc);\n      uVar8 = iVar9 + uVar8 & 0xfffffffc;\n      if (3 < uVar8) {\n        uVar6 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);\n      }\n    }" ({ "{") (expression_statement "*local_80 = *puVar1;" (assignment_expression "*local_80 = *puVar1" (pointer_expression "*local_80" (* "*") (identifier "local_80")) (= "=") (pointer_expression "*puVar1" (* "*") (identifier "puVar1"))) (; ";")) (expression_statement "*(undefined4 *)((int)local_80 + iVar9 + 0x11) = *(undefined4 *)(iVar9 + 0x11 + (int)puVar1);" (assignment_expression "*(undefined4 *)((int)local_80 + iVar9 + 0x11) = *(undefined4 *)(iVar9 + 0x11 + (int)puVar1)" (pointer_expression "*(undefined4 *)((int)local_80 + iVar9 + 0x11)" (* "*") (cast_expression "(undefined4 *)((int)local_80 + iVar9 + 0x11)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_80 + iVar9 + 0x11)" (( "(") (binary_expression "(int)local_80 + iVar9 + 0x11" (binary_expression "(int)local_80 + iVar9" (cast_expression "(int)local_80" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_80")) (+ "+") (identifier "iVar9")) (+ "+") (number_literal "0x11")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(iVar9 + 0x11 + (int)puVar1)" (* "*") (cast_expression "(undefined4 *)(iVar9 + 0x11 + (int)puVar1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x11 + (int)puVar1)" (( "(") (binary_expression "iVar9 + 0x11 + (int)puVar1" (binary_expression "iVar9 + 0x11" (identifier "iVar9") (+ "+") (number_literal "0x11")) (+ "+") (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1"))) () ")"))))) (; ";")) (expression_statement "iVar9 = (int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc);" (assignment_expression "iVar9 = (int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc)" (identifier "iVar9") (= "=") (binary_expression "(int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc)" (cast_expression "(int)local_80" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_80")) (- "-") (parenthesized_expression "((uint)(local_80 + 1) & 0xfffffffc)" (( "(") (binary_expression "(uint)(local_80 + 1) & 0xfffffffc" (call_expression "(uint)(local_80 + 1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(local_80 + 1)" (( "(") (binary_expression "local_80 + 1" (identifier "local_80") (+ "+") (number_literal "1")) () ")"))) (& "&") (number_literal "0xfffffffc")) () ")")))) (; ";")) (expression_statement "uVar8 = iVar9 + uVar8 & 0xfffffffc;" (assignment_expression "uVar8 = iVar9 + uVar8 & 0xfffffffc" (identifier "uVar8") (= "=") (binary_expression "iVar9 + uVar8 & 0xfffffffc" (binary_expression "iVar9 + uVar8" (identifier "iVar9") (+ "+") (identifier "uVar8")) (& "&") (number_literal "0xfffffffc"))) (; ";")) (if_statement "if (3 < uVar8) {\n        uVar6 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);\n      }" (if "if") (parenthesized_expression "(3 < uVar8)" (( "(") (binary_expression "3 < uVar8" (number_literal "3") (< "<") (identifier "uVar8")) () ")")) (compound_statement "{\n        uVar6 = 0;\n        do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);\n      }" ({ "{") (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" (identifier "uVar6") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        } while (uVar6 < uVar8);" (do "do") (compound_statement "{\n          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));\n          uVar6 = uVar6 + 4;\n        }" ({ "{") (expression_statement "*(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));" (assignment_expression "*(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =\n               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9))" (pointer_expression "*(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6)" (* "*") (cast_expression "(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(((uint)(local_80 + 1) & 0xfffffffc) + uVar6)" (( "(") (binary_expression "((uint)(local_80 + 1) & 0xfffffffc) + uVar6" (parenthesized_expression "((uint)(local_80 + 1) & 0xfffffffc)" (( "(") (binary_expression "(uint)(local_80 + 1) & 0xfffffffc" (call_expression "(uint)(local_80 + 1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(local_80 + 1)" (( "(") (binary_expression "local_80 + 1" (identifier "local_80") (+ "+") (number_literal "1")) () ")"))) (& "&") (number_literal "0xfffffffc")) () ")")) (+ "+") (identifier "uVar6")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)((int)puVar1 + (uVar6 - iVar9))" (* "*") (cast_expression "(undefined4 *)((int)puVar1 + (uVar6 - iVar9))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar1 + (uVar6 - iVar9))" (( "(") (binary_expression "(int)puVar1 + (uVar6 - iVar9)" (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1")) (+ "+") (parenthesized_expression "(uVar6 - iVar9)" (( "(") (binary_expression "uVar6 - iVar9" (identifier "uVar6") (- "-") (identifier "iVar9")) () ")"))) () ")"))))) (; ";")) (expression_statement "uVar6 = uVar6 + 4;" (assignment_expression "uVar6 = uVar6 + 4" (identifier "uVar6") (= "=") (binary_expression "uVar6 + 4" (identifier "uVar6") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar6 < uVar8)" (( "(") (binary_expression "uVar6 < uVar8" (identifier "uVar6") (< "<") (identifier "uVar8")) () ")")) (; ";")) (} "}"))) (} "}")))) (} "}")))) (expression_statement "sVar4 = strlen(*(char **)(param_1 + 2));" (assignment_expression "sVar4 = strlen(*(char **)(param_1 + 2))" (identifier "sVar4") (= "=") (call_expression "strlen(*(char **)(param_1 + 2))" (identifier "strlen") (argument_list "(*(char **)(param_1 + 2))" (( "(") (pointer_expression "*(char **)(param_1 + 2)" (* "*") (cast_expression "(char **)(param_1 + 2)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) () ")")))) (; ";")) (expression_statement "*(undefined1 *)((int)param_1 + 10) = 1;" (assignment_expression "*(undefined1 *)((int)param_1 + 10) = 1" (pointer_expression "*(undefined1 *)((int)param_1 + 10)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + 10)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 10)" (( "(") (binary_expression "(int)param_1 + 10" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "10")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(size_t *)((int)param_1 + 0xc) = sVar4 & 0x3fffffff;" (assignment_expression "*(size_t *)((int)param_1 + 0xc) = sVar4 & 0x3fffffff" (pointer_expression "*(size_t *)((int)param_1 + 0xc)" (* "*") (cast_expression "(size_t *)((int)param_1 + 0xc)" (( "(") (type_descriptor "size_t *" (primitive_type "size_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0xc)" (( "(") (binary_expression "(int)param_1 + 0xc" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0xc")) () ")")))) (= "=") (binary_expression "sVar4 & 0x3fffffff" (identifier "sVar4") (& "&") (number_literal "0x3fffffff"))) (; ";")) (expression_statement "uVar7 = *(ushort *)(param_1 + 1);" (assignment_expression "uVar7 = *(ushort *)(param_1 + 1)" (identifier "uVar7") (= "=") (pointer_expression "*(ushort *)(param_1 + 1)" (* "*") (cast_expression "(ushort *)(param_1 + 1)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (if_statement "if (param_3 != '\0') {\n    uVar7 = uVar7 & 0xffd3;\n  }" (if "if") (parenthesized_expression "(param_3 != '\0')" (( "(") (binary_expression "param_3 != '\0'" (identifier "param_3") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    uVar7 = uVar7 & 0xffd3;\n  }" ({ "{") (expression_statement "uVar7 = uVar7 & 0xffd3;" (assignment_expression "uVar7 = uVar7 & 0xffd3" (identifier "uVar7") (= "=") (binary_expression "uVar7 & 0xffd3" (identifier "uVar7") (& "&") (number_literal "0xffd3"))) (; ";")) (} "}"))) (expression_statement "*(ushort *)(param_1 + 1) = uVar7 | 0x202;" (assignment_expression "*(ushort *)(param_1 + 1) = uVar7 | 0x202" (pointer_expression "*(ushort *)(param_1 + 1)" (* "*") (cast_expression "(ushort *)(param_1 + 1)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (= "=") (binary_expression "uVar7 | 0x202" (identifier "uVar7") (| "|") (number_literal "0x202"))) (; ";")) (if_statement "if ((((uVar7 | 0x202) & 2) == 0) || (param_2 == '\x01')) {\n    uVar5 = 0;\n  }\n  else {\n    FUN_000323c0();\n    uVar5 = 0;\n  }" (if "if") (parenthesized_expression "((((uVar7 | 0x202) & 2) == 0) || (param_2 == '\x01'))" (( "(") (binary_expression "(((uVar7 | 0x202) & 2) == 0) || (param_2 == '\x01')" (parenthesized_expression "(((uVar7 | 0x202) & 2) == 0)" (( "(") (binary_expression "((uVar7 | 0x202) & 2) == 0" (parenthesized_expression "((uVar7 | 0x202) & 2)" (( "(") (binary_expression "(uVar7 | 0x202) & 2" (parenthesized_expression "(uVar7 | 0x202)" (( "(") (binary_expression "uVar7 | 0x202" (identifier "uVar7") (| "|") (number_literal "0x202")) () ")")) (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(param_2 == '\x01')" (( "(") (binary_expression "param_2 == '\x01'" (identifier "param_2") (== "==") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    uVar5 = 0;\n  }" ({ "{") (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    FUN_000323c0();\n    uVar5 = 0;\n  }" (else "else") (compound_statement "{\n    FUN_000323c0();\n    uVar5 = 0;\n  }" ({ "{") (expression_statement "FUN_000323c0();" (call_expression "FUN_000323c0()" (identifier "FUN_000323c0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (} "}")))) (labeled_statement "LAB_00035375:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\n  }" (statement_identifier "LAB_00035375") (: ":") (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar5;\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 uVar5;\n  }" ({ "{") (return_statement "return uVar5;" (return "return") (identifier "uVar5") (; ";")) (} "}")))) (expression_statement "FUN_000d1450();" (call_expression "FUN_000d1450()" (identifier "FUN_000d1450") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

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

int __regparm3 function_1(type_1 *pMem,type_2 var_21,type_2 var_20)

{
  char *var_16;
  int var_23;
  char var_10;
  type_3 var_4;
  size_t var_19;
  int var_3;
  type_4 var_17;
  type_3 var_5;
  type_4 var_14;
  type_5 *psVar10;
  char *pcVar11;
  int var_1;
  type_6 var_12;
  type_7 local_8c;
  char *var_15;
  type_8 acc;
  char cStack_37;
  char var_13 [22];
  
  var_23 = *(int *)(var_1 + 0x14);
  if (pMem->szMalloc < 0x20) {
    var_3 = var_2(pMem,0x20,0);
    if (var_3 != 0) {
      pMem->var_21 = '\0';
      var_3 = 7;
      goto LAB_00035375;
    }
    var_15 = pMem->z;
    var_4 = pMem->flags;
    var_5 = var_4 & 4;
    if (var_5 != 0) goto LAB_000353e5;
LAB_000352d3:
    local_8c = (double)(pMem->u).i;
    acc.db = (type_5 *)0x0;
    acc.nAlloc = 0x20;
    acc.mxAlloc = 0;
    acc.nChar = 0;
    acc.zText = var_15;
    acc.accError = '\0';
    acc.printfFlags = '\0';
    if ((var_4 & 0x20) != 0) {
      local_8c = (double)(type_6)local_8c;
    }
    var_6(&acc,"%!.15g",(int)local_8c,local_8c._4_4_);
    var_15[acc.nChar] = '\0';
  }
  else {
    var_15 = pMem->zMalloc;
    pMem->z = var_15;
    var_5 = pMem->flags;
    var_4 = var_5 & 0x2d;
    pMem->flags = var_4;
    var_5 = var_5 & 4;
    if (var_5 == 0) goto LAB_000352d3;
LAB_000353e5:
    var_7(&acc,pMem,var_5 * 2,8);
    var_16 = acc.zText;
    psVar10 = acc.db;
    pcVar11 = acc.zText;
    if ((int)acc.zText < 0) {
      psVar10 = (type_5 *)0x0;
      pcVar11 = (char *)0x80000000;
      if (acc.zText != (char *)0x80000000 || acc.db != (type_5 *)0x0) {
        psVar10 = (type_5 *)-(int)acc.db;
        pcVar11 = (char *)-(int)(acc.zText + (acc.db != (type_5 *)0x0));
      }
    }
    var_12 = var_8(pcVar11,psVar10);
    local_8c._0_4_ = 0x14;
    var_13[0x15] = '\0';
    var_3 = (int)local_8c;
    do {
      local_8c._0_4_ = var_3;
      var_3 = (int)local_8c + -1;
      var_10 = var_9(var_12,10,0);
      var_13[(int)local_8c] = var_10 + '0';
      var_12 = var_11(var_12,10,0);
    } while (var_12 != 0);
    if ((int)var_16 < 0) {
      var_13[(int)local_8c + -1] = '-';
      var_3 = (int)local_8c + -2;
      var_16 = var_13 + (int)local_8c + -1;
    }
    else {
      var_16 = var_13 + (int)local_8c;
    }
    var_3 = -var_3;
    var_14 = var_3 + 0x15;
    if (var_14 < 4) {
      if ((var_14 != 0) && (*var_15 = *var_16, (var_14 & 2) != 0)) {
        *(type_9 *)(var_15 + var_3 + 0x13) = *(type_9 *)(var_16 + var_3 + 0x13);
      }
    }
    else {
      *(type_10 *)var_15 = *(type_10 *)var_16;
      *(type_10 *)(var_15 + var_3 + 0x11) = *(type_10 *)(var_16 + var_3 + 0x11);
      var_3 = (int)var_15 - ((type_4)(var_15 + 4) & 0xfffffffc);
      var_14 = var_3 + var_14 & 0xfffffffc;
      if (3 < var_14) {
        var_17 = 0;
        do {
          *(type_10 *)(((type_4)(var_15 + 4) & 0xfffffffc) + var_17) =
               *(type_10 *)(var_16 + (var_17 - var_3));
          var_17 = var_17 + 4;
        } while (var_17 < var_14);
      }
    }
  }
  var_19 = var_18(pMem->z);
  pMem->var_21 = '\x01';
  pMem->n = var_19 & 0x3fffffff;
  var_5 = pMem->flags;
  if (var_20 != '\0') {
    var_5 = var_5 & 0xffd3;
  }
  pMem->flags = var_5 | 0x202;
  if ((((var_5 | 0x202) & 2) == 0) || (var_21 == '\x01')) {
    var_3 = 0;
  }
  else {
    var_22(pMem,var_21);
    var_3 = 0;
  }
LAB_00035375:
  if (var_23 == *(int *)(var_1 + 0x14)) {
    return var_3;
  }
                    /* WARNING: Subroutine does not return */
  var_24();
}


(translation_unit (function_definition type: (type_identifier) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) 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)) (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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (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: (number_literal))) (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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_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: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (string_literal (string_content)) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) (field_expression argument: (identifier) field: (field_identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier))))) right: (number_literal)))) alternative: (else_clause (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: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (unary_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (unary_expression argument: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))))))))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (subscript_expression argument: (identifier) index: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) 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: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (unary_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (number_literal)))))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (parenthesized_expression (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal))) right: (identifier))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (labeled_statement label: (statement_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 (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

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

undefined4 __regparm3 MASKED(double *param_1,char param_2,char param_3)

{
  undefined4 *puVar1;
  char cVar2;
  ushort uVar3;
  size_t sVar4;
  undefined4 uVar5;
  uint uVar6;
  ushort uVar7;
  uint uVar8;
  int iVar9;
  undefined4 *puVar10;
  int in_GS_OFFSET;
  longlong lVar11;
  undefined8 local_8c;
  undefined4 *local_80;
  int local_54;
  undefined4 *local_50;
  undefined4 local_4c;
  undefined4 local_48;
  int local_44;
  undefined2 local_40;
  undefined1 auStack_37 [22];
  undefined1 local_21;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x3528b;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if (*(int *)(param_1 + 3) < 0x20) {
    iVar9 = FUN_000304f0();
    if (iVar9 != 0) {
      *(undefined1 *)((int)param_1 + 10) = 0;
      uVar5 = 7;
      goto LAB_00035375;
    }
    local_80 = *(undefined4 **)(param_1 + 2);
    uVar3 = *(ushort *)(param_1 + 1);
    uVar7 = uVar3 & 4;
    if (uVar7 != 0) goto LAB_000353e5;
LAB_000352d3:
    local_8c = *param_1;
    local_54 = 0;
    local_4c = 0x20;
    local_48 = 0;
    local_44 = 0;
    local_50 = local_80;
    local_40 = 0;
    if ((uVar3 & 0x20) != 0) {
      local_8c = (double)(longlong)local_8c;
    }
    sqlite3_str_appendf(&local_54,"%!.15g",(int)local_8c,local_8c._4_4_);
    *(undefined1 *)((int)local_80 + local_44) = 0;
  }
  else {
    local_80 = *(undefined4 **)((int)param_1 + 0x14);
    *(undefined4 **)(param_1 + 2) = local_80;
    uVar7 = *(ushort *)(param_1 + 1);
    uVar3 = uVar7 & 0x2d;
    *(ushort *)(param_1 + 1) = uVar3;
    uVar7 = uVar7 & 4;
    if (uVar7 == 0) goto LAB_000352d3;
LAB_000353e5:
    __memcpy_chk(&local_54,param_1,uVar7 * 2,8);
    puVar1 = local_50;
    iVar9 = local_54;
    puVar10 = local_50;
    if ((int)local_50 < 0) {
      iVar9 = 0;
      puVar10 = (undefined4 *)0x80000000;
      if (local_50 != (undefined4 *)0x80000000 || local_54 != 0) {
        iVar9 = -local_54;
        puVar10 = (undefined4 *)-(int)((int)local_50 + (uint)(local_54 != 0));
      }
    }
    lVar11 = CONCAT44(puVar10,iVar9);
    local_8c._0_4_ = 0x14;
    local_21 = 0;
    iVar9 = (int)local_8c;
    do {
      local_8c._0_4_ = iVar9;
      iVar9 = (int)local_8c + -1;
      cVar2 = FUN_000d10e0(lVar11,10,0);
      auStack_37[(int)local_8c + 1] = cVar2 + '0';
      lVar11 = FUN_000d0fc0(lVar11,10,0);
    } while (lVar11 != 0);
    if ((int)puVar1 < 0) {
      auStack_37[(int)local_8c] = 0x2d;
      iVar9 = (int)local_8c + -2;
      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c);
    }
    else {
      puVar1 = (undefined4 *)(auStack_37 + (int)local_8c + 1);
    }
    iVar9 = -iVar9;
    uVar8 = iVar9 + 0x15;
    if (uVar8 < 4) {
      if ((uVar8 != 0) && (*(undefined1 *)local_80 = *(undefined1 *)puVar1, (uVar8 & 2) != 0)) {
        *(undefined2 *)((int)local_80 + iVar9 + 0x13) = *(undefined2 *)((int)puVar1 + iVar9 + 0x13);
      }
    }
    else {
      *local_80 = *puVar1;
      *(undefined4 *)((int)local_80 + iVar9 + 0x11) = *(undefined4 *)(iVar9 + 0x11 + (int)puVar1);
      iVar9 = (int)local_80 - ((uint)(local_80 + 1) & 0xfffffffc);
      uVar8 = iVar9 + uVar8 & 0xfffffffc;
      if (3 < uVar8) {
        uVar6 = 0;
        do {
          *(undefined4 *)(((uint)(local_80 + 1) & 0xfffffffc) + uVar6) =
               *(undefined4 *)((int)puVar1 + (uVar6 - iVar9));
          uVar6 = uVar6 + 4;
        } while (uVar6 < uVar8);
      }
    }
  }
  sVar4 = strlen(*(char **)(param_1 + 2));
  *(undefined1 *)((int)param_1 + 10) = 1;
  *(size_t *)((int)param_1 + 0xc) = sVar4 & 0x3fffffff;
  uVar7 = *(ushort *)(param_1 + 1);
  if (param_3 != '\0') {
    uVar7 = uVar7 & 0xffd3;
  }
  *(ushort *)(param_1 + 1) = uVar7 | 0x202;
  if ((((uVar7 | 0x202) & 2) == 0) || (param_2 == '\x01')) {
    uVar5 = 0;
  }
  else {
    FUN_000323c0();
    uVar5 = 0;
  }
LAB_00035375:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return uVar5;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000d1450();
}

