
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */

void __regparm3 WriteTo8BimProfile(Image *image,char *name,StringInfo *profile)

{
  int iVar1;
  uint uVar2;
  int iVar3;
  StringInfo *pSVar4;
  uchar *__src;
  size_t sVar5;
  uint uVar6;
  uchar *__src_00;
  StringInfo *value;
  char *key;
  uint *puVar7;
  uchar *p;
  size_t __n;
  uchar *__n_00;
  int in_GS_OFFSET;
  ushort local_4c;
  int local_48;
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  iVar3 = LocaleCompare(name,"icc");
  if (iVar3 == 0) {
    local_4c = 0x40f;
  }
  else {
    iVar3 = LocaleCompare(name,"iptc");
    if (iVar3 == 0) {
      local_4c = 0x404;
    }
    else {
      iVar3 = LocaleCompare(name,"xmp");
      local_4c = 0x424;
      if (iVar3 != 0) goto LAB_00129670;
    }
  }
  pSVar4 = (StringInfo *)GetValueFromSplayTree((SplayTreeInfo *)image->profiles,&DAT_002ac062);
  if (pSVar4 != (StringInfo *)0x0) {
    __src = GetStringInfoDatum(pSVar4);
    sVar5 = GetStringInfoLength(pSVar4);
    if (__src < __src + (sVar5 - 0x10)) {
      p = __src;
      do {
        iVar3 = LocaleNCompare((char *)p,"8BIM",4);
        if (iVar3 != 0) break;
        puVar7 = (uint *)(p + ((p[6] + 8) - (uint)((p[6] + 1 & 1) == 0)));
        if (__src + (sVar5 - 4) < puVar7) break;
        uVar2 = *puVar7;
        puVar7 = puVar7 + 1;
        uVar6 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;
        if ((uVar2 >> 0x18 & 1) != 0) {
          uVar6 = uVar6 + 1;
        }
        if ((((int)uVar6 < 0) || (__src + (sVar5 - uVar6) < puVar7)) || ((int)sVar5 < (int)uVar6))
        break;
        __src_00 = (uchar *)(uVar6 + (int)puVar7);
        if (local_4c == (ushort)(*(ushort *)(p + 4) << 8 | *(ushort *)(p + 4) >> 8)) {
          __n_00 = __src + (sVar5 - (int)__src_00);
          if (profile == (StringInfo *)0x0) {
            __n = (int)p - (int)__src;
            pSVar4 = AcquireStringInfo((size_t)(__n_00 + __n));
            memcpy(pSVar4->datum,__src,__n);
            local_48 = 0;
          }
          else {
            __n = (int)puVar7 - (int)__src;
            local_48 = (profile->length + 1) - (uint)((profile->length & 1) == 0);
            pSVar4 = AcquireStringInfo((size_t)(__n_00 + local_48 + __n));
            memcpy(pSVar4->datum,__src,__n - 4);
            uVar2 = profile->length;
            *(uint *)(pSVar4->datum + (__n - 4)) =
                 (uint)CONCAT11((char)(uVar2 >> 0x10),(char)(uVar2 >> 0x18)) |
                 (uVar2 >> 8 & 0xff) << 0x10 | uVar2 << 0x18;
            memcpy(pSVar4->datum + __n,profile->datum,profile->length);
          }
          memcpy(pSVar4->datum + local_48 + __n,__src_00,(size_t)__n_00);
          value = CloneStringInfo(pSVar4);
          key = ConstantString("8bim");
          AddValueToSplayTree((SplayTreeInfo *)image->profiles,key,value);
          DestroyStringInfo(pSVar4);
          break;
        }
        p = __src_00;
      } while (__src_00 < __src + (sVar5 - 0x10));
    }
  }
LAB_00129670:
  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail_local();
  }
  return;
}



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

void __regparm3 FUN_00129530(int param_1,undefined4 param_2,int param_3)

{
  void *pvVar1;
  int iVar2;
  uint uVar3;
  int iVar4;
  void *__src;
  uint uVar5;
  void *__src_00;
  int iVar6;
  undefined4 uVar7;
  undefined4 uVar8;
  uint *puVar9;
  void *pvVar10;
  size_t __n;
  size_t __n_00;
  int in_GS_OFFSET;
  ushort local_4c;
  int local_48;
  
  iVar2 = *(int *)(in_GS_OFFSET + 0x14);
  iVar4 = LocaleCompare(param_2,&DAT_002a81ca);
  if (iVar4 == 0) {
    local_4c = 0x40f;
  }
  else {
    iVar4 = LocaleCompare(param_2,&DAT_002ac05d);
    if (iVar4 == 0) {
      local_4c = 0x404;
    }
    else {
      iVar4 = LocaleCompare(param_2,&DAT_002c01f4);
      local_4c = 0x424;
      if (iVar4 != 0) goto LAB_00129670;
    }
  }
  iVar4 = GetValueFromSplayTree(*(undefined4 *)(param_1 + 0x1d8),&DAT_002ac062);
  if (iVar4 != 0) {
    __src = (void *)GetStringInfoDatum(iVar4);
    iVar4 = GetStringInfoLength(iVar4);
    pvVar1 = (void *)((int)__src + iVar4 + -0x10);
    if (__src < pvVar1) {
      pvVar10 = __src;
      do {
        iVar6 = LocaleNCompare(pvVar10,&DAT_002a239a,4);
        if (iVar6 != 0) break;
        puVar9 = (uint *)((int)pvVar10 +
                         ((*(byte *)((int)pvVar10 + 6) + 8) -
                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)));
        if ((uint *)((int)__src + iVar4 + -4) < puVar9) break;
        uVar3 = *puVar9;
        puVar9 = puVar9 + 1;
        uVar5 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;
        if ((uVar3 >> 0x18 & 1) != 0) {
          uVar5 = uVar5 + 1;
        }
        if ((((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||
           (iVar4 < (int)uVar5)) break;
        __src_00 = (void *)(uVar5 + (int)puVar9);
        if (local_4c ==
            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)) {
          __n_00 = (int)__src + (iVar4 - (int)__src_00);
          if (param_3 == 0) {
            __n = (int)pvVar10 - (int)__src;
            iVar4 = AcquireStringInfo(__n_00 + __n);
            memcpy(*(void **)(iVar4 + 4),__src,__n);
            local_48 = 0;
          }
          else {
            __n = (int)puVar9 - (int)__src;
            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);
            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);
            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);
            uVar3 = *(uint *)(param_3 + 8);
            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =
                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |
                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;
            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),
                   *(size_t *)(param_3 + 8));
          }
          memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);
          uVar7 = CloneStringInfo(iVar4);
          uVar8 = ConstantString(&DAT_002ac062);
          AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);
          DestroyStringInfo(iVar4);
          break;
        }
        pvVar10 = __src_00;
      } while (__src_00 < pvVar1);
    }
  }
LAB_00129670:
  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_0029eab0();
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
MOV ESI,EDX
PUSH EBX
CALL 0x00038830
ADD EBX,0x2afac5
SUB ESP,0x44
MOV dword ptr [ESP + 0x1c],EAX
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x34],EAX
XOR EAX,EAX
MOV dword ptr [ESP + 0x20],ECX
LEA EAX,[EBX + 0xffecf1ca]
PUSH EAX
PUSH EDX
CALL 0x000326f0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x001296c0
LEA EAX,[EBX + 0xffed305d]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x000326f0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00129690
MOV ESI,0x404
MOV word ptr [ESP],SI
LEA EAX,[EBX + 0xffed3062]
SUB ESP,0x8
MOV dword ptr [ESP + 0x24],EAX
PUSH EAX
MOV EAX,dword ptr [ESP + 0x20]
PUSH dword ptr [EAX + 0x1d8]
CALL 0x00030d40
ADD ESP,0x10
MOV ESI,EAX
TEST EAX,EAX
JZ 0x00129670
SUB ESP,0xc
PUSH EAX
CALL 0x00033130
MOV dword ptr [ESP],ESI
MOV EBP,EAX
MOV dword ptr [ESP + 0x18],EAX
CALL 0x000335d0
MOV EDI,EAX
LEA ECX,[EBP + EDI*0x1 + -0x10]
MOV dword ptr [ESP + 0x20],ECX
ADD ESP,0x10
CMP EBP,ECX
JNC 0x00129670
LEA ECX,[EBX + 0xffec939a]
MOV ESI,EBP
LEA EAX,[EBP + EDI*0x1 + -0x4]
MOV dword ptr [ESP + 0x4],ECX
MOV dword ptr [ESP + 0xc],EAX
JMP 0x00129659
MOVZX EAX,byte ptr [ESI + 0x6]
MOVZX ECX,word ptr [ESI + 0x4]
LEA EDX,[ESI + EAX*0x1 + 0x7]
ADD EAX,0x1
AND EAX,0x1
ROL CX,0x8
CMP EAX,0x1
SBB EDX,-0x1
CMP EDX,dword ptr [ESP + 0xc]
JA 0x00129670
MOV EAX,dword ptr [EDX]
ADD EDX,0x4
BSWAP EAX
LEA EBP,[EAX + 0x1]
TEST AL,0x1
CMOVNZ EAX,EBP
TEST EAX,EAX
JS 0x00129670
MOV EBP,EDI
SUB EBP,EAX
ADD EBP,dword ptr [ESP + 0x8]
CMP EDX,EBP
JA 0x00129670
CMP EDI,EAX
JL 0x00129670
ADD EAX,EDX
CMP word ptr [ESP],CX
JZ 0x001296d0
MOV ESI,EAX
CMP dword ptr [ESP + 0x10],EAX
JBE 0x00129670
SUB ESP,0x4
PUSH 0x4
PUSH dword ptr [ESP + 0xc]
PUSH ESI
CALL 0x00031370
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00129600
NOP
MOV EAX,dword ptr [ESP + 0x2c]
XOR EAX,dword ptr GS:[0x14]
JNZ 0x00129810
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EAX,[EBX + 0xffee71f4]
SUB ESP,0x8
MOV EBP,0x424
PUSH EAX
PUSH ESI
CALL 0x000326f0
ADD ESP,0x10
MOV word ptr [ESP],BP
TEST EAX,EAX
JZ 0x00129594
JMP 0x00129670
MOV EDI,0x40f
MOV word ptr [ESP],DI
JMP 0x00129594
ADD EDI,dword ptr [ESP + 0x8]
MOV EBP,EAX
MOV ECX,dword ptr [ESP + 0x18]
SUB EDI,EAX
MOV dword ptr [ESP],EDI
TEST ECX,ECX
JZ 0x001297da
MOV EAX,dword ptr [ESP + 0x18]
MOV ESI,EDX
SUB ESI,dword ptr [ESP + 0x8]
MOV EDX,dword ptr [EAX + 0x8]
MOV EDI,EDX
AND EDI,0x1
CMP EDI,0x1
MOV EDI,EDX
SBB EDI,-0x1
SUB ESP,0xc
MOV dword ptr [ESP + 0x10],EDI
MOV EDX,dword ptr [ESP + 0xc]
LEA EAX,[EDX + ESI*0x1]
ADD EAX,EDI
PUSH EAX
CALL 0x000329e0
LEA EDX,[ESI + -0x4]
ADD ESP,0xc
PUSH EDX
MOV EDI,EAX
MOV dword ptr [ESP + 0x14],EDX
PUSH dword ptr [ESP + 0x10]
PUSH dword ptr [EAX + 0x4]
CALL 0x00031e30
MOV EAX,dword ptr [ESP + 0x28]
MOV EDX,dword ptr [ESP + 0x1c]
ADD EDX,dword ptr [EDI + 0x4]
MOV EAX,dword ptr [EAX + 0x8]
MOV dword ptr [ESP + 0x1c],EDX
XOR EDX,EDX
MOV ECX,EAX
SHR EAX,0x18
MOV DL,AL
MOV EAX,ECX
MOV dword ptr [ESP + 0x18],ECX
MOVZX ECX,CH
SHR EAX,0x10
SHL ECX,0x10
MOV DH,AL
MOVZX EAX,DX
MOV EDX,dword ptr [ESP + 0x18]
OR EAX,ECX
SHL EDX,0x18
OR EAX,EDX
MOV EDX,dword ptr [ESP + 0x1c]
ADD ESP,0xc
MOV ECX,dword ptr [ESP + 0x1c]
MOV dword ptr [EDX],EAX
MOV EDX,dword ptr [EDI + 0x4]
PUSH dword ptr [ECX + 0x8]
PUSH dword ptr [ECX + 0x4]
ADD EDX,ESI
PUSH EDX
CALL 0x00031e30
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x4]
SUB ESP,0x4
ADD EDX,ESI
ADD EDX,dword ptr [EDI + 0x4]
PUSH dword ptr [ESP + 0x4]
PUSH EBP
PUSH EDX
CALL 0x00031e30
MOV dword ptr [ESP],EDI
CALL 0x00033ad0
MOV ESI,EAX
POP EAX
PUSH dword ptr [ESP + 0x28]
CALL 0x00033ab8
ADD ESP,0xc
PUSH ESI
PUSH EAX
MOV EAX,dword ptr [ESP + 0x20]
PUSH dword ptr [EAX + 0x1d8]
CALL 0x000327f0
MOV dword ptr [ESP],EDI
CALL 0x000332e0
ADD ESP,0x10
JMP 0x00129670
SUB ESI,dword ptr [ESP + 0x8]
SUB ESP,0xc
MOV EDI,dword ptr [ESP + 0xc]
LEA EAX,[EDI + ESI*0x1]
PUSH EAX
CALL 0x000329e0
ADD ESP,0xc
PUSH ESI
MOV EDI,EAX
PUSH dword ptr [ESP + 0x10]
PUSH dword ptr [EAX + 0x4]
CALL 0x00031e30
ADD ESP,0x10
MOV dword ptr [ESP + 0x4],0x0
JMP 0x0012978b
CALL 0x0029eab0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00129530(int param_1,undefined4 param_2,int param_3)\n\n{\n  void *pvVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  void *__src;\n  uint uVar5;\n  void *__src_00;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  uint *puVar9;\n  void *pvVar10;\n  size_t __n;\n  size_t __n_00;\n  int in_GS_OFFSET;\n  ushort local_4c;\n  int local_48;\n  \n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar4 = LocaleCompare(param_2,&DAT_002a81ca);\n  if (iVar4 == 0) {\n    local_4c = 0x40f;\n  }\n  else {\n    iVar4 = LocaleCompare(param_2,&DAT_002ac05d);\n    if (iVar4 == 0) {\n      local_4c = 0x404;\n    }\n    else {\n      iVar4 = LocaleCompare(param_2,&DAT_002c01f4);\n      local_4c = 0x424;\n      if (iVar4 != 0) goto LAB_00129670;\n    }\n  }\n  iVar4 = GetValueFromSplayTree(*(undefined4 *)(param_1 + 0x1d8),&DAT_002ac062);\n  if (iVar4 != 0) {\n    __src = (void *)GetStringInfoDatum(iVar4);\n    iVar4 = GetStringInfoLength(iVar4);\n    pvVar1 = (void *)((int)__src + iVar4 + -0x10);\n    if (__src < pvVar1) {\n      pvVar10 = __src;\n      do {\n        iVar6 = LocaleNCompare(pvVar10,&DAT_002a239a,4);\n        if (iVar6 != 0) break;\n        puVar9 = (uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)));\n        if ((uint *)((int)__src + iVar4 + -4) < puVar9) break;\n        uVar3 = *puVar9;\n        puVar9 = puVar9 + 1;\n        uVar5 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n        if ((uVar3 >> 0x18 & 1) != 0) {\n          uVar5 = uVar5 + 1;\n        }\n        if ((((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5)) break;\n        __src_00 = (void *)(uVar5 + (int)puVar9);\n        if (local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)) {\n          __n_00 = (int)__src + (iVar4 - (int)__src_00);\n          if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }\n          memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);\n          uVar7 = CloneStringInfo(iVar4);\n          uVar8 = ConstantString(&DAT_002ac062);\n          AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);\n          DestroyStringInfo(iVar4);\n          break;\n        }\n        pvVar10 = __src_00;\n      } while (__src_00 < pvVar1);\n    }\n  }\nLAB_00129670:\n  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0029eab0();\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00129530(int param_1,undefined4 param_2,int param_3)\n\n{\n  void *pvVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  void *__src;\n  uint uVar5;\n  void *__src_00;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  uint *puVar9;\n  void *pvVar10;\n  size_t __n;\n  size_t __n_00;\n  int in_GS_OFFSET;\n  ushort local_4c;\n  int local_48;\n  \n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar4 = LocaleCompare(param_2,&DAT_002a81ca);\n  if (iVar4 == 0) {\n    local_4c = 0x40f;\n  }\n  else {\n    iVar4 = LocaleCompare(param_2,&DAT_002ac05d);\n    if (iVar4 == 0) {\n      local_4c = 0x404;\n    }\n    else {\n      iVar4 = LocaleCompare(param_2,&DAT_002c01f4);\n      local_4c = 0x424;\n      if (iVar4 != 0) goto LAB_00129670;\n    }\n  }\n  iVar4 = GetValueFromSplayTree(*(undefined4 *)(param_1 + 0x1d8),&DAT_002ac062);\n  if (iVar4 != 0) {\n    __src = (void *)GetStringInfoDatum(iVar4);\n    iVar4 = GetStringInfoLength(iVar4);\n    pvVar1 = (void *)((int)__src + iVar4 + -0x10);\n    if (__src < pvVar1) {\n      pvVar10 = __src;\n      do {\n        iVar6 = LocaleNCompare(pvVar10,&DAT_002a239a,4);\n        if (iVar6 != 0) break;\n        puVar9 = (uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)));\n        if ((uint *)((int)__src + iVar4 + -4) < puVar9) break;\n        uVar3 = *puVar9;\n        puVar9 = puVar9 + 1;\n        uVar5 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n        if ((uVar3 >> 0x18 & 1) != 0) {\n          uVar5 = uVar5 + 1;\n        }\n        if ((((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5)) break;\n        __src_00 = (void *)(uVar5 + (int)puVar9);\n        if (local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)) {\n          __n_00 = (int)__src + (iVar4 - (int)__src_00);\n          if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }\n          memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);\n          uVar7 = CloneStringInfo(iVar4);\n          uVar8 = ConstantString(&DAT_002ac062);\n          AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);\n          DestroyStringInfo(iVar4);\n          break;\n        }\n        pvVar10 = __src_00;\n      } while (__src_00 < pvVar1);\n    }\n  }\nLAB_00129670:\n  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0029eab0();\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00129530(int param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  void *pvVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  void *__src;\n  uint uVar5;\n  void *__src_00;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  uint *puVar9;\n  void *pvVar10;\n  size_t __n;\n  size_t __n_00;\n  int in_GS_OFFSET;\n  ushort local_4c;\n  int local_48;\n  \n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar4 = LocaleCompare(param_2,&DAT_002a81ca);\n  if (iVar4 == 0) {\n    local_4c = 0x40f;\n  }\n  else {\n    iVar4 = LocaleCompare(param_2,&DAT_002ac05d);\n    if (iVar4 == 0) {\n      local_4c = 0x404;\n    }\n    else {\n      iVar4 = LocaleCompare(param_2,&DAT_002c01f4);\n      local_4c = 0x424;\n      if (iVar4 != 0) goto LAB_00129670;\n    }\n  }\n  iVar4 = GetValueFromSplayTree(*(undefined4 *)(param_1 + 0x1d8),&DAT_002ac062);\n  if (iVar4 != 0) {\n    __src = (void *)GetStringInfoDatum(iVar4);\n    iVar4 = GetStringInfoLength(iVar4);\n    pvVar1 = (void *)((int)__src + iVar4 + -0x10);\n    if (__src < pvVar1) {\n      pvVar10 = __src;\n      do {\n        iVar6 = LocaleNCompare(pvVar10,&DAT_002a239a,4);\n        if (iVar6 != 0) break;\n        puVar9 = (uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)));\n        if ((uint *)((int)__src + iVar4 + -4) < puVar9) break;\n        uVar3 = *puVar9;\n        puVar9 = puVar9 + 1;\n        uVar5 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n        if ((uVar3 >> 0x18 & 1) != 0) {\n          uVar5 = uVar5 + 1;\n        }\n        if ((((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5)) break;\n        __src_00 = (void *)(uVar5 + (int)puVar9);\n        if (local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)) {\n          __n_00 = (int)__src + (iVar4 - (int)__src_00);\n          if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }\n          memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);\n          uVar7 = CloneStringInfo(iVar4);\n          uVar8 = ConstantString(&DAT_002ac062);\n          AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);\n          DestroyStringInfo(iVar4);\n          break;\n        }\n        pvVar10 = __src_00;\n      } while (__src_00 < pvVar1);\n    }\n  }\nLAB_00129670:\n  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0029eab0();\n  }\n  return;\n}" { (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "void *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "void *__src_00;" primitive_type (pointer_declarator "*__src_00" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "uint *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "void *pvVar10;" primitive_type (pointer_declarator "*pvVar10" * identifier) ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "size_t __n_00;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "ushort local_4c;" type_identifier identifier ;) (declaration "int local_48;" primitive_type identifier ;) (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) ))))) ;) (expression_statement "iVar4 = LocaleCompare(param_2,&DAT_002a81ca);" (assignment_expression "iVar4 = LocaleCompare(param_2,&DAT_002a81ca)" identifier = (call_expression "LocaleCompare(param_2,&DAT_002a81ca)" identifier (argument_list "(param_2,&DAT_002a81ca)" ( identifier , (pointer_expression "&DAT_002a81ca" & identifier) )))) ;) (if_statement "if (iVar4 == 0) {\n    local_4c = 0x40f;\n  }\n  else {\n    iVar4 = LocaleCompare(param_2,&DAT_002ac05d);\n    if (iVar4 == 0) {\n      local_4c = 0x404;\n    }\n    else {\n      iVar4 = LocaleCompare(param_2,&DAT_002c01f4);\n      local_4c = 0x424;\n      if (iVar4 != 0) goto LAB_00129670;\n    }\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    local_4c = 0x40f;\n  }" { (expression_statement "local_4c = 0x40f;" (assignment_expression "local_4c = 0x40f" identifier = number_literal) ;) }) (else_clause "else {\n    iVar4 = LocaleCompare(param_2,&DAT_002ac05d);\n    if (iVar4 == 0) {\n      local_4c = 0x404;\n    }\n    else {\n      iVar4 = LocaleCompare(param_2,&DAT_002c01f4);\n      local_4c = 0x424;\n      if (iVar4 != 0) goto LAB_00129670;\n    }\n  }" else (compound_statement "{\n    iVar4 = LocaleCompare(param_2,&DAT_002ac05d);\n    if (iVar4 == 0) {\n      local_4c = 0x404;\n    }\n    else {\n      iVar4 = LocaleCompare(param_2,&DAT_002c01f4);\n      local_4c = 0x424;\n      if (iVar4 != 0) goto LAB_00129670;\n    }\n  }" { (expression_statement "iVar4 = LocaleCompare(param_2,&DAT_002ac05d);" (assignment_expression "iVar4 = LocaleCompare(param_2,&DAT_002ac05d)" identifier = (call_expression "LocaleCompare(param_2,&DAT_002ac05d)" identifier (argument_list "(param_2,&DAT_002ac05d)" ( identifier , (pointer_expression "&DAT_002ac05d" & identifier) )))) ;) (if_statement "if (iVar4 == 0) {\n      local_4c = 0x404;\n    }\n    else {\n      iVar4 = LocaleCompare(param_2,&DAT_002c01f4);\n      local_4c = 0x424;\n      if (iVar4 != 0) goto LAB_00129670;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      local_4c = 0x404;\n    }" { (expression_statement "local_4c = 0x404;" (assignment_expression "local_4c = 0x404" identifier = number_literal) ;) }) (else_clause "else {\n      iVar4 = LocaleCompare(param_2,&DAT_002c01f4);\n      local_4c = 0x424;\n      if (iVar4 != 0) goto LAB_00129670;\n    }" else (compound_statement "{\n      iVar4 = LocaleCompare(param_2,&DAT_002c01f4);\n      local_4c = 0x424;\n      if (iVar4 != 0) goto LAB_00129670;\n    }" { (expression_statement "iVar4 = LocaleCompare(param_2,&DAT_002c01f4);" (assignment_expression "iVar4 = LocaleCompare(param_2,&DAT_002c01f4)" identifier = (call_expression "LocaleCompare(param_2,&DAT_002c01f4)" identifier (argument_list "(param_2,&DAT_002c01f4)" ( identifier , (pointer_expression "&DAT_002c01f4" & identifier) )))) ;) (expression_statement "local_4c = 0x424;" (assignment_expression "local_4c = 0x424" identifier = number_literal) ;) (if_statement "if (iVar4 != 0) goto LAB_00129670;" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00129670;" goto statement_identifier ;)) }))) }))) (expression_statement "iVar4 = GetValueFromSplayTree(*(undefined4 *)(param_1 + 0x1d8),&DAT_002ac062);" (assignment_expression "iVar4 = GetValueFromSplayTree(*(undefined4 *)(param_1 + 0x1d8),&DAT_002ac062)" identifier = (call_expression "GetValueFromSplayTree(*(undefined4 *)(param_1 + 0x1d8),&DAT_002ac062)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x1d8),&DAT_002ac062)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x1d8)" * (cast_expression "(undefined4 *)(param_1 + 0x1d8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1d8)" ( (binary_expression "param_1 + 0x1d8" identifier + number_literal) )))) , (pointer_expression "&DAT_002ac062" & identifier) )))) ;) (if_statement "if (iVar4 != 0) {\n    __src = (void *)GetStringInfoDatum(iVar4);\n    iVar4 = GetStringInfoLength(iVar4);\n    pvVar1 = (void *)((int)__src + iVar4 + -0x10);\n    if (__src < pvVar1) {\n      pvVar10 = __src;\n      do {\n        iVar6 = LocaleNCompare(pvVar10,&DAT_002a239a,4);\n        if (iVar6 != 0) break;\n        puVar9 = (uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)));\n        if ((uint *)((int)__src + iVar4 + -4) < puVar9) break;\n        uVar3 = *puVar9;\n        puVar9 = puVar9 + 1;\n        uVar5 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n        if ((uVar3 >> 0x18 & 1) != 0) {\n          uVar5 = uVar5 + 1;\n        }\n        if ((((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5)) break;\n        __src_00 = (void *)(uVar5 + (int)puVar9);\n        if (local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)) {\n          __n_00 = (int)__src + (iVar4 - (int)__src_00);\n          if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }\n          memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);\n          uVar7 = CloneStringInfo(iVar4);\n          uVar8 = ConstantString(&DAT_002ac062);\n          AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);\n          DestroyStringInfo(iVar4);\n          break;\n        }\n        pvVar10 = __src_00;\n      } while (__src_00 < pvVar1);\n    }\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    __src = (void *)GetStringInfoDatum(iVar4);\n    iVar4 = GetStringInfoLength(iVar4);\n    pvVar1 = (void *)((int)__src + iVar4 + -0x10);\n    if (__src < pvVar1) {\n      pvVar10 = __src;\n      do {\n        iVar6 = LocaleNCompare(pvVar10,&DAT_002a239a,4);\n        if (iVar6 != 0) break;\n        puVar9 = (uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)));\n        if ((uint *)((int)__src + iVar4 + -4) < puVar9) break;\n        uVar3 = *puVar9;\n        puVar9 = puVar9 + 1;\n        uVar5 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n        if ((uVar3 >> 0x18 & 1) != 0) {\n          uVar5 = uVar5 + 1;\n        }\n        if ((((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5)) break;\n        __src_00 = (void *)(uVar5 + (int)puVar9);\n        if (local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)) {\n          __n_00 = (int)__src + (iVar4 - (int)__src_00);\n          if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }\n          memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);\n          uVar7 = CloneStringInfo(iVar4);\n          uVar8 = ConstantString(&DAT_002ac062);\n          AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);\n          DestroyStringInfo(iVar4);\n          break;\n        }\n        pvVar10 = __src_00;\n      } while (__src_00 < pvVar1);\n    }\n  }" { (expression_statement "__src = (void *)GetStringInfoDatum(iVar4);" (assignment_expression "__src = (void *)GetStringInfoDatum(iVar4)" identifier = (cast_expression "(void *)GetStringInfoDatum(iVar4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "GetStringInfoDatum(iVar4)" identifier (argument_list "(iVar4)" ( identifier ))))) ;) (expression_statement "iVar4 = GetStringInfoLength(iVar4);" (assignment_expression "iVar4 = GetStringInfoLength(iVar4)" identifier = (call_expression "GetStringInfoLength(iVar4)" identifier (argument_list "(iVar4)" ( identifier )))) ;) (expression_statement "pvVar1 = (void *)((int)__src + iVar4 + -0x10);" (assignment_expression "pvVar1 = (void *)((int)__src + iVar4 + -0x10)" identifier = (cast_expression "(void *)((int)__src + iVar4 + -0x10)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__src + iVar4 + -0x10)" ( (binary_expression "(int)__src + iVar4 + -0x10" (binary_expression "(int)__src + iVar4" (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) ;) (if_statement "if (__src < pvVar1) {\n      pvVar10 = __src;\n      do {\n        iVar6 = LocaleNCompare(pvVar10,&DAT_002a239a,4);\n        if (iVar6 != 0) break;\n        puVar9 = (uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)));\n        if ((uint *)((int)__src + iVar4 + -4) < puVar9) break;\n        uVar3 = *puVar9;\n        puVar9 = puVar9 + 1;\n        uVar5 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n        if ((uVar3 >> 0x18 & 1) != 0) {\n          uVar5 = uVar5 + 1;\n        }\n        if ((((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5)) break;\n        __src_00 = (void *)(uVar5 + (int)puVar9);\n        if (local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)) {\n          __n_00 = (int)__src + (iVar4 - (int)__src_00);\n          if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }\n          memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);\n          uVar7 = CloneStringInfo(iVar4);\n          uVar8 = ConstantString(&DAT_002ac062);\n          AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);\n          DestroyStringInfo(iVar4);\n          break;\n        }\n        pvVar10 = __src_00;\n      } while (__src_00 < pvVar1);\n    }" if (parenthesized_expression "(__src < pvVar1)" ( (binary_expression "__src < pvVar1" identifier < identifier) )) (compound_statement "{\n      pvVar10 = __src;\n      do {\n        iVar6 = LocaleNCompare(pvVar10,&DAT_002a239a,4);\n        if (iVar6 != 0) break;\n        puVar9 = (uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)));\n        if ((uint *)((int)__src + iVar4 + -4) < puVar9) break;\n        uVar3 = *puVar9;\n        puVar9 = puVar9 + 1;\n        uVar5 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n        if ((uVar3 >> 0x18 & 1) != 0) {\n          uVar5 = uVar5 + 1;\n        }\n        if ((((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5)) break;\n        __src_00 = (void *)(uVar5 + (int)puVar9);\n        if (local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)) {\n          __n_00 = (int)__src + (iVar4 - (int)__src_00);\n          if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }\n          memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);\n          uVar7 = CloneStringInfo(iVar4);\n          uVar8 = ConstantString(&DAT_002ac062);\n          AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);\n          DestroyStringInfo(iVar4);\n          break;\n        }\n        pvVar10 = __src_00;\n      } while (__src_00 < pvVar1);\n    }" { (expression_statement "pvVar10 = __src;" (assignment_expression "pvVar10 = __src" identifier = identifier) ;) (do_statement "do {\n        iVar6 = LocaleNCompare(pvVar10,&DAT_002a239a,4);\n        if (iVar6 != 0) break;\n        puVar9 = (uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)));\n        if ((uint *)((int)__src + iVar4 + -4) < puVar9) break;\n        uVar3 = *puVar9;\n        puVar9 = puVar9 + 1;\n        uVar5 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n        if ((uVar3 >> 0x18 & 1) != 0) {\n          uVar5 = uVar5 + 1;\n        }\n        if ((((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5)) break;\n        __src_00 = (void *)(uVar5 + (int)puVar9);\n        if (local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)) {\n          __n_00 = (int)__src + (iVar4 - (int)__src_00);\n          if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }\n          memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);\n          uVar7 = CloneStringInfo(iVar4);\n          uVar8 = ConstantString(&DAT_002ac062);\n          AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);\n          DestroyStringInfo(iVar4);\n          break;\n        }\n        pvVar10 = __src_00;\n      } while (__src_00 < pvVar1);" do (compound_statement "{\n        iVar6 = LocaleNCompare(pvVar10,&DAT_002a239a,4);\n        if (iVar6 != 0) break;\n        puVar9 = (uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)));\n        if ((uint *)((int)__src + iVar4 + -4) < puVar9) break;\n        uVar3 = *puVar9;\n        puVar9 = puVar9 + 1;\n        uVar5 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n        if ((uVar3 >> 0x18 & 1) != 0) {\n          uVar5 = uVar5 + 1;\n        }\n        if ((((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5)) break;\n        __src_00 = (void *)(uVar5 + (int)puVar9);\n        if (local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)) {\n          __n_00 = (int)__src + (iVar4 - (int)__src_00);\n          if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }\n          memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);\n          uVar7 = CloneStringInfo(iVar4);\n          uVar8 = ConstantString(&DAT_002ac062);\n          AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);\n          DestroyStringInfo(iVar4);\n          break;\n        }\n        pvVar10 = __src_00;\n      }" { (expression_statement "iVar6 = LocaleNCompare(pvVar10,&DAT_002a239a,4);" (assignment_expression "iVar6 = LocaleNCompare(pvVar10,&DAT_002a239a,4)" identifier = (call_expression "LocaleNCompare(pvVar10,&DAT_002a239a,4)" identifier (argument_list "(pvVar10,&DAT_002a239a,4)" ( identifier , (pointer_expression "&DAT_002a239a" & identifier) , number_literal )))) ;) (if_statement "if (iVar6 != 0) break;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "puVar9 = (uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)));" (assignment_expression "puVar9 = (uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)))" identifier = (cast_expression "(uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)))" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)))" ( (binary_expression "(int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0))" (cast_expression "(int)pvVar10" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0))" ( (binary_expression "(*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)" (parenthesized_expression "(*(byte *)((int)pvVar10 + 6) + 8)" ( (binary_expression "*(byte *)((int)pvVar10 + 6) + 8" (pointer_expression "*(byte *)((int)pvVar10 + 6)" * (cast_expression "(byte *)((int)pvVar10 + 6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar10 + 6)" ( (binary_expression "(int)pvVar10 + 6" (cast_expression "(int)pvVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + number_literal) )) - (call_expression "(uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)" ( (binary_expression "(*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0" (parenthesized_expression "(*(byte *)((int)pvVar10 + 6) + 1 & 1)" ( (binary_expression "*(byte *)((int)pvVar10 + 6) + 1 & 1" (binary_expression "*(byte *)((int)pvVar10 + 6) + 1" (pointer_expression "*(byte *)((int)pvVar10 + 6)" * (cast_expression "(byte *)((int)pvVar10 + 6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar10 + 6)" ( (binary_expression "(int)pvVar10 + 6" (cast_expression "(int)pvVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + number_literal) & number_literal) )) == number_literal) )))) ))) )))) ;) (if_statement "if ((uint *)((int)__src + iVar4 + -4) < puVar9) break;" if (parenthesized_expression "((uint *)((int)__src + iVar4 + -4) < puVar9)" ( (binary_expression "(uint *)((int)__src + iVar4 + -4) < puVar9" (cast_expression "(uint *)((int)__src + iVar4 + -4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__src + iVar4 + -4)" ( (binary_expression "(int)__src + iVar4 + -4" (binary_expression "(int)__src + iVar4" (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ))) < identifier) )) (break_statement "break;" break ;)) (expression_statement "uVar3 = *puVar9;" (assignment_expression "uVar3 = *puVar9" identifier = (pointer_expression "*puVar9" * identifier)) ;) (expression_statement "puVar9 = puVar9 + 1;" (assignment_expression "puVar9 = puVar9 + 1" identifier = (binary_expression "puVar9 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;" (assignment_expression "uVar5 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" identifier = (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" ( (binary_expression "uVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" ( (binary_expression "uVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal))) ;) (if_statement "if ((uVar3 >> 0x18 & 1) != 0) {\n          uVar5 = uVar5 + 1;\n        }" if (parenthesized_expression "((uVar3 >> 0x18 & 1) != 0)" ( (binary_expression "(uVar3 >> 0x18 & 1) != 0" (parenthesized_expression "(uVar3 >> 0x18 & 1)" ( (binary_expression "uVar3 >> 0x18 & 1" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) & number_literal) )) != number_literal) )) (compound_statement "{\n          uVar5 = uVar5 + 1;\n        }" { (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) })) (if_statement "if ((((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5)) break;" if (parenthesized_expression "((((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5))" ( (binary_expression "(((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5)" (parenthesized_expression "(((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9))" ( (binary_expression "((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)" (parenthesized_expression "((int)uVar5 < 0)" ( (binary_expression "(int)uVar5 < 0" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) || (parenthesized_expression "((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)" ( (binary_expression "(uint *)((iVar4 - uVar5) + (int)__src) < puVar9" (cast_expression "(uint *)((iVar4 - uVar5) + (int)__src)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((iVar4 - uVar5) + (int)__src)" ( (binary_expression "(iVar4 - uVar5) + (int)__src" (parenthesized_expression "(iVar4 - uVar5)" ( (binary_expression "iVar4 - uVar5" identifier - identifier) )) + (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier)) ))) < identifier) ))) )) || (parenthesized_expression "(iVar4 < (int)uVar5)" ( (binary_expression "iVar4 < (int)uVar5" identifier < (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )) (break_statement "break;" break ;)) (expression_statement "__src_00 = (void *)(uVar5 + (int)puVar9);" (assignment_expression "__src_00 = (void *)(uVar5 + (int)puVar9)" identifier = (cast_expression "(void *)(uVar5 + (int)puVar9)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar5 + (int)puVar9)" ( (binary_expression "uVar5 + (int)puVar9" identifier + (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (if_statement "if (local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)) {\n          __n_00 = (int)__src + (iVar4 - (int)__src_00);\n          if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }\n          memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);\n          uVar7 = CloneStringInfo(iVar4);\n          uVar8 = ConstantString(&DAT_002ac062);\n          AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);\n          DestroyStringInfo(iVar4);\n          break;\n        }" if (parenthesized_expression "(local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8))" ( (binary_expression "local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)" identifier == (call_expression "(ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)" (parenthesized_expression "(ushort)" ( identifier )) (argument_list "(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)" ( (binary_expression "*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8" (binary_expression "*(ushort *)((int)pvVar10 + 4) << 8" (pointer_expression "*(ushort *)((int)pvVar10 + 4)" * (cast_expression "(ushort *)((int)pvVar10 + 4)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar10 + 4)" ( (binary_expression "(int)pvVar10 + 4" (cast_expression "(int)pvVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) << number_literal) | (binary_expression "*(ushort *)((int)pvVar10 + 4) >> 8" (pointer_expression "*(ushort *)((int)pvVar10 + 4)" * (cast_expression "(ushort *)((int)pvVar10 + 4)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar10 + 4)" ( (binary_expression "(int)pvVar10 + 4" (cast_expression "(int)pvVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) >> number_literal)) )))) )) (compound_statement "{\n          __n_00 = (int)__src + (iVar4 - (int)__src_00);\n          if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }\n          memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);\n          uVar7 = CloneStringInfo(iVar4);\n          uVar8 = ConstantString(&DAT_002ac062);\n          AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);\n          DestroyStringInfo(iVar4);\n          break;\n        }" { (expression_statement "__n_00 = (int)__src + (iVar4 - (int)__src_00);" (assignment_expression "__n_00 = (int)__src + (iVar4 - (int)__src_00)" identifier = (binary_expression "(int)__src + (iVar4 - (int)__src_00)" (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(iVar4 - (int)__src_00)" ( (binary_expression "iVar4 - (int)__src_00" identifier - (cast_expression "(int)__src_00" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (if_statement "if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }" { (expression_statement "__n = (int)pvVar10 - (int)__src;" (assignment_expression "__n = (int)pvVar10 - (int)__src" identifier = (binary_expression "(int)pvVar10 - (int)__src" (cast_expression "(int)pvVar10" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "iVar4 = AcquireStringInfo(__n_00 + __n);" (assignment_expression "iVar4 = AcquireStringInfo(__n_00 + __n)" identifier = (call_expression "AcquireStringInfo(__n_00 + __n)" identifier (argument_list "(__n_00 + __n)" ( (binary_expression "__n_00 + __n" identifier + identifier) )))) ;) (expression_statement "memcpy(*(void **)(iVar4 + 4),__src,__n);" (call_expression "memcpy(*(void **)(iVar4 + 4),__src,__n)" identifier (argument_list "(*(void **)(iVar4 + 4),__src,__n)" ( (pointer_expression "*(void **)(iVar4 + 4)" * (cast_expression "(void **)(iVar4 + 4)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) )))) , identifier , identifier ))) ;) (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" identifier = number_literal) ;) }) (else_clause "else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }" else (compound_statement "{\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }" { (expression_statement "__n = (int)puVar9 - (int)__src;" (assignment_expression "__n = (int)puVar9 - (int)__src" identifier = (binary_expression "(int)puVar9 - (int)__src" (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);" (assignment_expression "local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0)" identifier = (binary_expression "(*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0)" (parenthesized_expression "(*(uint *)(param_3 + 8) + 1)" ( (binary_expression "*(uint *)(param_3 + 8) + 1" (pointer_expression "*(uint *)(param_3 + 8)" * (cast_expression "(uint *)(param_3 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) + number_literal) )) - (call_expression "(uint)((*(uint *)(param_3 + 8) & 1) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((*(uint *)(param_3 + 8) & 1) == 0)" ( (binary_expression "(*(uint *)(param_3 + 8) & 1) == 0" (parenthesized_expression "(*(uint *)(param_3 + 8) & 1)" ( (binary_expression "*(uint *)(param_3 + 8) & 1" (pointer_expression "*(uint *)(param_3 + 8)" * (cast_expression "(uint *)(param_3 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) & number_literal) )) == number_literal) ))))) ;) (expression_statement "iVar4 = AcquireStringInfo(__n_00 + __n + local_48);" (assignment_expression "iVar4 = AcquireStringInfo(__n_00 + __n + local_48)" identifier = (call_expression "AcquireStringInfo(__n_00 + __n + local_48)" identifier (argument_list "(__n_00 + __n + local_48)" ( (binary_expression "__n_00 + __n + local_48" (binary_expression "__n_00 + __n" identifier + identifier) + identifier) )))) ;) (expression_statement "memcpy(*(void **)(iVar4 + 4),__src,__n - 4);" (call_expression "memcpy(*(void **)(iVar4 + 4),__src,__n - 4)" identifier (argument_list "(*(void **)(iVar4 + 4),__src,__n - 4)" ( (pointer_expression "*(void **)(iVar4 + 4)" * (cast_expression "(void **)(iVar4 + 4)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) )))) , identifier , (binary_expression "__n - 4" identifier - number_literal) ))) ;) (expression_statement "uVar3 = *(uint *)(param_3 + 8);" (assignment_expression "uVar3 = *(uint *)(param_3 + 8)" identifier = (pointer_expression "*(uint *)(param_3 + 8)" * (cast_expression "(uint *)(param_3 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;" (assignment_expression "*(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18" (pointer_expression "*(uint *)((__n - 4) + *(int *)(iVar4 + 4))" * (cast_expression "(uint *)((__n - 4) + *(int *)(iVar4 + 4))" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((__n - 4) + *(int *)(iVar4 + 4))" ( (binary_expression "(__n - 4) + *(int *)(iVar4 + 4)" (parenthesized_expression "(__n - 4)" ( (binary_expression "__n - 4" identifier - number_literal) )) + (pointer_expression "*(int *)(iVar4 + 4)" * (cast_expression "(int *)(iVar4 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) ))))) )))) = (binary_expression "(uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18" (binary_expression "(uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10" (cast_expression "(uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18))" identifier (argument_list "((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18))" ( (cast_expression "(char)(uVar3 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar3 >> 0x10)" ( (binary_expression "uVar3 >> 0x10" identifier >> number_literal) ))) , (cast_expression "(char)(uVar3 >> 0x18)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar3 >> 0x18)" ( (binary_expression "uVar3 >> 0x18" identifier >> number_literal) ))) )))) | (binary_expression "(uVar3 >> 8 & 0xff) << 0x10" (parenthesized_expression "(uVar3 >> 8 & 0xff)" ( (binary_expression "uVar3 >> 8 & 0xff" (binary_expression "uVar3 >> 8" identifier >> number_literal) & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal))) ;) (expression_statement "memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));" (call_expression "memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8))" identifier (argument_list "((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8))" ( (cast_expression "(void *)(*(int *)(iVar4 + 4) + __n)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar4 + 4) + __n)" ( (binary_expression "*(int *)(iVar4 + 4) + __n" (pointer_expression "*(int *)(iVar4 + 4)" * (cast_expression "(int *)(iVar4 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) )))) + identifier) ))) , (pointer_expression "*(void **)(param_3 + 4)" * (cast_expression "(void **)(param_3 + 4)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) , (pointer_expression "*(size_t *)(param_3 + 8)" * (cast_expression "(size_t *)(param_3 + 8)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) ))) ;) }))) (expression_statement "memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);" (call_expression "memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00)" identifier (argument_list "((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00)" ( (cast_expression "(void *)(local_48 + __n + *(int *)(iVar4 + 4))" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_48 + __n + *(int *)(iVar4 + 4))" ( (binary_expression "local_48 + __n + *(int *)(iVar4 + 4)" (binary_expression "local_48 + __n" identifier + identifier) + (pointer_expression "*(int *)(iVar4 + 4)" * (cast_expression "(int *)(iVar4 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) ))))) ))) , identifier , identifier ))) ;) (expression_statement "uVar7 = CloneStringInfo(iVar4);" (assignment_expression "uVar7 = CloneStringInfo(iVar4)" identifier = (call_expression "CloneStringInfo(iVar4)" identifier (argument_list "(iVar4)" ( identifier )))) ;) (expression_statement "uVar8 = ConstantString(&DAT_002ac062);" (assignment_expression "uVar8 = ConstantString(&DAT_002ac062)" identifier = (call_expression "ConstantString(&DAT_002ac062)" identifier (argument_list "(&DAT_002ac062)" ( (pointer_expression "&DAT_002ac062" & identifier) )))) ;) (expression_statement "AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);" (call_expression "AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x1d8)" * (cast_expression "(undefined4 *)(param_1 + 0x1d8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1d8)" ( (binary_expression "param_1 + 0x1d8" identifier + number_literal) )))) , identifier , identifier ))) ;) (expression_statement "DestroyStringInfo(iVar4);" (call_expression "DestroyStringInfo(iVar4)" identifier (argument_list "(iVar4)" ( identifier ))) ;) (break_statement "break;" break ;) })) (expression_statement "pvVar10 = __src_00;" (assignment_expression "pvVar10 = __src_00" identifier = identifier) ;) }) while (parenthesized_expression "(__src_00 < pvVar1)" ( (binary_expression "__src_00 < pvVar1" identifier < identifier) )) ;) })) })) (labeled_statement "LAB_00129670:\n  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0029eab0();\n  }" statement_identifier : (if_statement "if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0029eab0();\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                    /* WARNING: Subroutine does not return */\n    FUN_0029eab0();\n  }" { comment (expression_statement "FUN_0029eab0();" (call_expression "FUN_0029eab0()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n\nvoid __regparm3 WriteTo8BimProfile(Image *image,char *name,StringInfo *profile)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  StringInfo *pSVar4;\n  uchar *__src;\n  size_t sVar5;\n  uint uVar6;\n  uchar *__src_00;\n  StringInfo *value;\n  char *key;\n  uint *puVar7;\n  uchar *p;\n  size_t __n;\n  uchar *__n_00;\n  int in_GS_OFFSET;\n  ushort local_4c;\n  int local_48;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar3 = LocaleCompare(name,"icc");\n  if (iVar3 == 0) {\n    local_4c = 0x40f;\n  }\n  else {\n    iVar3 = LocaleCompare(name,"iptc");\n    if (iVar3 == 0) {\n      local_4c = 0x404;\n    }\n    else {\n      iVar3 = LocaleCompare(name,"xmp");\n      local_4c = 0x424;\n      if (iVar3 != 0) goto LAB_00129670;\n    }\n  }\n  pSVar4 = (StringInfo *)GetValueFromSplayTree((SplayTreeInfo *)image->profiles,&DAT_002ac062);\n  if (pSVar4 != (StringInfo *)0x0) {\n    __src = GetStringInfoDatum(pSVar4);\n    sVar5 = GetStringInfoLength(pSVar4);\n    if (__src < __src + (sVar5 - 0x10)) {\n      p = __src;\n      do {\n        iVar3 = LocaleNCompare((char *)p,"8BIM",4);\n        if (iVar3 != 0) break;\n        puVar7 = (uint *)(p + ((p[6] + 8) - (uint)((p[6] + 1 & 1) == 0)));\n        if (__src + (sVar5 - 4) < puVar7) break;\n        uVar2 = *puVar7;\n        puVar7 = puVar7 + 1;\n        uVar6 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n        if ((uVar2 >> 0x18 & 1) != 0) {\n          uVar6 = uVar6 + 1;\n        }\n        if ((((int)uVar6 < 0) || (__src + (sVar5 - uVar6) < puVar7)) || ((int)sVar5 < (int)uVar6))\n        break;\n        __src_00 = (uchar *)(uVar6 + (int)puVar7);\n        if (local_4c == (ushort)(*(ushort *)(p + 4) << 8 | *(ushort *)(p + 4) >> 8)) {\n          __n_00 = __src + (sVar5 - (int)__src_00);\n          if (profile == (StringInfo *)0x0) {\n            __n = (int)p - (int)__src;\n            pSVar4 = AcquireStringInfo((size_t)(__n_00 + __n));\n            memcpy(pSVar4->datum,__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar7 - (int)__src;\n            local_48 = (profile->length + 1) - (uint)((profile->length & 1) == 0);\n            pSVar4 = AcquireStringInfo((size_t)(__n_00 + local_48 + __n));\n            memcpy(pSVar4->datum,__src,__n - 4);\n            uVar2 = profile->length;\n            *(uint *)(pSVar4->datum + (__n - 4)) =\n                 (uint)CONCAT11((char)(uVar2 >> 0x10),(char)(uVar2 >> 0x18)) |\n                 (uVar2 >> 8 & 0xff) << 0x10 | uVar2 << 0x18;\n            memcpy(pSVar4->datum + __n,profile->datum,profile->length);\n          }\n          memcpy(pSVar4->datum + local_48 + __n,__src_00,(size_t)__n_00);\n          value = CloneStringInfo(pSVar4);\n          key = ConstantString("8bim");\n          AddValueToSplayTree((SplayTreeInfo *)image->profiles,key,value);\n          DestroyStringInfo(pSVar4);\n          break;\n        }\n        p = __src_00;\n      } while (__src_00 < __src + (sVar5 - 0x10));\n    }\n  }\nLAB_00129670:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return;\n}\n\n" comment comment comment comment comment (function_definition "void __regparm3 WriteTo8BimProfile(Image *image,char *name,StringInfo *profile)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  StringInfo *pSVar4;\n  uchar *__src;\n  size_t sVar5;\n  uint uVar6;\n  uchar *__src_00;\n  StringInfo *value;\n  char *key;\n  uint *puVar7;\n  uchar *p;\n  size_t __n;\n  uchar *__n_00;\n  int in_GS_OFFSET;\n  ushort local_4c;\n  int local_48;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar3 = LocaleCompare(name,"icc");\n  if (iVar3 == 0) {\n    local_4c = 0x40f;\n  }\n  else {\n    iVar3 = LocaleCompare(name,"iptc");\n    if (iVar3 == 0) {\n      local_4c = 0x404;\n    }\n    else {\n      iVar3 = LocaleCompare(name,"xmp");\n      local_4c = 0x424;\n      if (iVar3 != 0) goto LAB_00129670;\n    }\n  }\n  pSVar4 = (StringInfo *)GetValueFromSplayTree((SplayTreeInfo *)image->profiles,&DAT_002ac062);\n  if (pSVar4 != (StringInfo *)0x0) {\n    __src = GetStringInfoDatum(pSVar4);\n    sVar5 = GetStringInfoLength(pSVar4);\n    if (__src < __src + (sVar5 - 0x10)) {\n      p = __src;\n      do {\n        iVar3 = LocaleNCompare((char *)p,"8BIM",4);\n        if (iVar3 != 0) break;\n        puVar7 = (uint *)(p + ((p[6] + 8) - (uint)((p[6] + 1 & 1) == 0)));\n        if (__src + (sVar5 - 4) < puVar7) break;\n        uVar2 = *puVar7;\n        puVar7 = puVar7 + 1;\n        uVar6 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n        if ((uVar2 >> 0x18 & 1) != 0) {\n          uVar6 = uVar6 + 1;\n        }\n        if ((((int)uVar6 < 0) || (__src + (sVar5 - uVar6) < puVar7)) || ((int)sVar5 < (int)uVar6))\n        break;\n        __src_00 = (uchar *)(uVar6 + (int)puVar7);\n        if (local_4c == (ushort)(*(ushort *)(p + 4) << 8 | *(ushort *)(p + 4) >> 8)) {\n          __n_00 = __src + (sVar5 - (int)__src_00);\n          if (profile == (StringInfo *)0x0) {\n            __n = (int)p - (int)__src;\n            pSVar4 = AcquireStringInfo((size_t)(__n_00 + __n));\n            memcpy(pSVar4->datum,__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar7 - (int)__src;\n            local_48 = (profile->length + 1) - (uint)((profile->length & 1) == 0);\n            pSVar4 = AcquireStringInfo((size_t)(__n_00 + local_48 + __n));\n            memcpy(pSVar4->datum,__src,__n - 4);\n            uVar2 = profile->length;\n            *(uint *)(pSVar4->datum + (__n - 4)) =\n                 (uint)CONCAT11((char)(uVar2 >> 0x10),(char)(uVar2 >> 0x18)) |\n                 (uVar2 >> 8 & 0xff) << 0x10 | uVar2 << 0x18;\n            memcpy(pSVar4->datum + __n,profile->datum,profile->length);\n          }\n          memcpy(pSVar4->datum + local_48 + __n,__src_00,(size_t)__n_00);\n          value = CloneStringInfo(pSVar4);\n          key = ConstantString("8bim");\n          AddValueToSplayTree((SplayTreeInfo *)image->profiles,key,value);\n          DestroyStringInfo(pSVar4);\n          break;\n        }\n        p = __src_00;\n      } while (__src_00 < __src + (sVar5 - 0x10));\n    }\n  }\nLAB_00129670:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "WriteTo8BimProfile(Image *image,char *name,StringInfo *profile)" identifier (parameter_list "(Image *image,char *name,StringInfo *profile)" ( (parameter_declaration "Image *image" type_identifier (pointer_declarator "*image" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "StringInfo *profile" type_identifier (pointer_declarator "*profile" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  StringInfo *pSVar4;\n  uchar *__src;\n  size_t sVar5;\n  uint uVar6;\n  uchar *__src_00;\n  StringInfo *value;\n  char *key;\n  uint *puVar7;\n  uchar *p;\n  size_t __n;\n  uchar *__n_00;\n  int in_GS_OFFSET;\n  ushort local_4c;\n  int local_48;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar3 = LocaleCompare(name,"icc");\n  if (iVar3 == 0) {\n    local_4c = 0x40f;\n  }\n  else {\n    iVar3 = LocaleCompare(name,"iptc");\n    if (iVar3 == 0) {\n      local_4c = 0x404;\n    }\n    else {\n      iVar3 = LocaleCompare(name,"xmp");\n      local_4c = 0x424;\n      if (iVar3 != 0) goto LAB_00129670;\n    }\n  }\n  pSVar4 = (StringInfo *)GetValueFromSplayTree((SplayTreeInfo *)image->profiles,&DAT_002ac062);\n  if (pSVar4 != (StringInfo *)0x0) {\n    __src = GetStringInfoDatum(pSVar4);\n    sVar5 = GetStringInfoLength(pSVar4);\n    if (__src < __src + (sVar5 - 0x10)) {\n      p = __src;\n      do {\n        iVar3 = LocaleNCompare((char *)p,"8BIM",4);\n        if (iVar3 != 0) break;\n        puVar7 = (uint *)(p + ((p[6] + 8) - (uint)((p[6] + 1 & 1) == 0)));\n        if (__src + (sVar5 - 4) < puVar7) break;\n        uVar2 = *puVar7;\n        puVar7 = puVar7 + 1;\n        uVar6 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n        if ((uVar2 >> 0x18 & 1) != 0) {\n          uVar6 = uVar6 + 1;\n        }\n        if ((((int)uVar6 < 0) || (__src + (sVar5 - uVar6) < puVar7)) || ((int)sVar5 < (int)uVar6))\n        break;\n        __src_00 = (uchar *)(uVar6 + (int)puVar7);\n        if (local_4c == (ushort)(*(ushort *)(p + 4) << 8 | *(ushort *)(p + 4) >> 8)) {\n          __n_00 = __src + (sVar5 - (int)__src_00);\n          if (profile == (StringInfo *)0x0) {\n            __n = (int)p - (int)__src;\n            pSVar4 = AcquireStringInfo((size_t)(__n_00 + __n));\n            memcpy(pSVar4->datum,__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar7 - (int)__src;\n            local_48 = (profile->length + 1) - (uint)((profile->length & 1) == 0);\n            pSVar4 = AcquireStringInfo((size_t)(__n_00 + local_48 + __n));\n            memcpy(pSVar4->datum,__src,__n - 4);\n            uVar2 = profile->length;\n            *(uint *)(pSVar4->datum + (__n - 4)) =\n                 (uint)CONCAT11((char)(uVar2 >> 0x10),(char)(uVar2 >> 0x18)) |\n                 (uVar2 >> 8 & 0xff) << 0x10 | uVar2 << 0x18;\n            memcpy(pSVar4->datum + __n,profile->datum,profile->length);\n          }\n          memcpy(pSVar4->datum + local_48 + __n,__src_00,(size_t)__n_00);\n          value = CloneStringInfo(pSVar4);\n          key = ConstantString("8bim");\n          AddValueToSplayTree((SplayTreeInfo *)image->profiles,key,value);\n          DestroyStringInfo(pSVar4);\n          break;\n        }\n        p = __src_00;\n      } while (__src_00 < __src + (sVar5 - 0x10));\n    }\n  }\nLAB_00129670:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "StringInfo *pSVar4;" type_identifier (pointer_declarator "*pSVar4" * identifier) ;) (declaration "uchar *__src;" type_identifier (pointer_declarator "*__src" * identifier) ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uchar *__src_00;" type_identifier (pointer_declarator "*__src_00" * identifier) ;) (declaration "StringInfo *value;" type_identifier (pointer_declarator "*value" * identifier) ;) (declaration "char *key;" primitive_type (pointer_declarator "*key" * identifier) ;) (declaration "uint *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "uchar *p;" type_identifier (pointer_declarator "*p" * identifier) ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "uchar *__n_00;" type_identifier (pointer_declarator "*__n_00" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "ushort local_4c;" type_identifier identifier ;) (declaration "int local_48;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = LocaleCompare(name,"icc");" (assignment_expression "iVar3 = LocaleCompare(name,"icc")" identifier = (call_expression "LocaleCompare(name,"icc")" identifier (argument_list "(name,"icc")" ( identifier , (string_literal ""icc"" " string_content ") )))) ;) (if_statement "if (iVar3 == 0) {\n    local_4c = 0x40f;\n  }\n  else {\n    iVar3 = LocaleCompare(name,"iptc");\n    if (iVar3 == 0) {\n      local_4c = 0x404;\n    }\n    else {\n      iVar3 = LocaleCompare(name,"xmp");\n      local_4c = 0x424;\n      if (iVar3 != 0) goto LAB_00129670;\n    }\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    local_4c = 0x40f;\n  }" { (expression_statement "local_4c = 0x40f;" (assignment_expression "local_4c = 0x40f" identifier = number_literal) ;) }) (else_clause "else {\n    iVar3 = LocaleCompare(name,"iptc");\n    if (iVar3 == 0) {\n      local_4c = 0x404;\n    }\n    else {\n      iVar3 = LocaleCompare(name,"xmp");\n      local_4c = 0x424;\n      if (iVar3 != 0) goto LAB_00129670;\n    }\n  }" else (compound_statement "{\n    iVar3 = LocaleCompare(name,"iptc");\n    if (iVar3 == 0) {\n      local_4c = 0x404;\n    }\n    else {\n      iVar3 = LocaleCompare(name,"xmp");\n      local_4c = 0x424;\n      if (iVar3 != 0) goto LAB_00129670;\n    }\n  }" { (expression_statement "iVar3 = LocaleCompare(name,"iptc");" (assignment_expression "iVar3 = LocaleCompare(name,"iptc")" identifier = (call_expression "LocaleCompare(name,"iptc")" identifier (argument_list "(name,"iptc")" ( identifier , (string_literal ""iptc"" " string_content ") )))) ;) (if_statement "if (iVar3 == 0) {\n      local_4c = 0x404;\n    }\n    else {\n      iVar3 = LocaleCompare(name,"xmp");\n      local_4c = 0x424;\n      if (iVar3 != 0) goto LAB_00129670;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      local_4c = 0x404;\n    }" { (expression_statement "local_4c = 0x404;" (assignment_expression "local_4c = 0x404" identifier = number_literal) ;) }) (else_clause "else {\n      iVar3 = LocaleCompare(name,"xmp");\n      local_4c = 0x424;\n      if (iVar3 != 0) goto LAB_00129670;\n    }" else (compound_statement "{\n      iVar3 = LocaleCompare(name,"xmp");\n      local_4c = 0x424;\n      if (iVar3 != 0) goto LAB_00129670;\n    }" { (expression_statement "iVar3 = LocaleCompare(name,"xmp");" (assignment_expression "iVar3 = LocaleCompare(name,"xmp")" identifier = (call_expression "LocaleCompare(name,"xmp")" identifier (argument_list "(name,"xmp")" ( identifier , (string_literal ""xmp"" " string_content ") )))) ;) (expression_statement "local_4c = 0x424;" (assignment_expression "local_4c = 0x424" identifier = number_literal) ;) (if_statement "if (iVar3 != 0) goto LAB_00129670;" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00129670;" goto statement_identifier ;)) }))) }))) (expression_statement "pSVar4 = (StringInfo *)GetValueFromSplayTree((SplayTreeInfo *)image->profiles,&DAT_002ac062);" (assignment_expression "pSVar4 = (StringInfo *)GetValueFromSplayTree((SplayTreeInfo *)image->profiles,&DAT_002ac062)" identifier = (cast_expression "(StringInfo *)GetValueFromSplayTree((SplayTreeInfo *)image->profiles,&DAT_002ac062)" ( (type_descriptor "StringInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "GetValueFromSplayTree((SplayTreeInfo *)image->profiles,&DAT_002ac062)" identifier (argument_list "((SplayTreeInfo *)image->profiles,&DAT_002ac062)" ( (cast_expression "(SplayTreeInfo *)image->profiles" ( (type_descriptor "SplayTreeInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "image->profiles" identifier -> field_identifier)) , (pointer_expression "&DAT_002ac062" & identifier) ))))) ;) (if_statement "if (pSVar4 != (StringInfo *)0x0) {\n    __src = GetStringInfoDatum(pSVar4);\n    sVar5 = GetStringInfoLength(pSVar4);\n    if (__src < __src + (sVar5 - 0x10)) {\n      p = __src;\n      do {\n        iVar3 = LocaleNCompare((char *)p,"8BIM",4);\n        if (iVar3 != 0) break;\n        puVar7 = (uint *)(p + ((p[6] + 8) - (uint)((p[6] + 1 & 1) == 0)));\n        if (__src + (sVar5 - 4) < puVar7) break;\n        uVar2 = *puVar7;\n        puVar7 = puVar7 + 1;\n        uVar6 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n        if ((uVar2 >> 0x18 & 1) != 0) {\n          uVar6 = uVar6 + 1;\n        }\n        if ((((int)uVar6 < 0) || (__src + (sVar5 - uVar6) < puVar7)) || ((int)sVar5 < (int)uVar6))\n        break;\n        __src_00 = (uchar *)(uVar6 + (int)puVar7);\n        if (local_4c == (ushort)(*(ushort *)(p + 4) << 8 | *(ushort *)(p + 4) >> 8)) {\n          __n_00 = __src + (sVar5 - (int)__src_00);\n          if (profile == (StringInfo *)0x0) {\n            __n = (int)p - (int)__src;\n            pSVar4 = AcquireStringInfo((size_t)(__n_00 + __n));\n            memcpy(pSVar4->datum,__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar7 - (int)__src;\n            local_48 = (profile->length + 1) - (uint)((profile->length & 1) == 0);\n            pSVar4 = AcquireStringInfo((size_t)(__n_00 + local_48 + __n));\n            memcpy(pSVar4->datum,__src,__n - 4);\n            uVar2 = profile->length;\n            *(uint *)(pSVar4->datum + (__n - 4)) =\n                 (uint)CONCAT11((char)(uVar2 >> 0x10),(char)(uVar2 >> 0x18)) |\n                 (uVar2 >> 8 & 0xff) << 0x10 | uVar2 << 0x18;\n            memcpy(pSVar4->datum + __n,profile->datum,profile->length);\n          }\n          memcpy(pSVar4->datum + local_48 + __n,__src_00,(size_t)__n_00);\n          value = CloneStringInfo(pSVar4);\n          key = ConstantString("8bim");\n          AddValueToSplayTree((SplayTreeInfo *)image->profiles,key,value);\n          DestroyStringInfo(pSVar4);\n          break;\n        }\n        p = __src_00;\n      } while (__src_00 < __src + (sVar5 - 0x10));\n    }\n  }" if (parenthesized_expression "(pSVar4 != (StringInfo *)0x0)" ( (binary_expression "pSVar4 != (StringInfo *)0x0" identifier != (cast_expression "(StringInfo *)0x0" ( (type_descriptor "StringInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    __src = GetStringInfoDatum(pSVar4);\n    sVar5 = GetStringInfoLength(pSVar4);\n    if (__src < __src + (sVar5 - 0x10)) {\n      p = __src;\n      do {\n        iVar3 = LocaleNCompare((char *)p,"8BIM",4);\n        if (iVar3 != 0) break;\n        puVar7 = (uint *)(p + ((p[6] + 8) - (uint)((p[6] + 1 & 1) == 0)));\n        if (__src + (sVar5 - 4) < puVar7) break;\n        uVar2 = *puVar7;\n        puVar7 = puVar7 + 1;\n        uVar6 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n        if ((uVar2 >> 0x18 & 1) != 0) {\n          uVar6 = uVar6 + 1;\n        }\n        if ((((int)uVar6 < 0) || (__src + (sVar5 - uVar6) < puVar7)) || ((int)sVar5 < (int)uVar6))\n        break;\n        __src_00 = (uchar *)(uVar6 + (int)puVar7);\n        if (local_4c == (ushort)(*(ushort *)(p + 4) << 8 | *(ushort *)(p + 4) >> 8)) {\n          __n_00 = __src + (sVar5 - (int)__src_00);\n          if (profile == (StringInfo *)0x0) {\n            __n = (int)p - (int)__src;\n            pSVar4 = AcquireStringInfo((size_t)(__n_00 + __n));\n            memcpy(pSVar4->datum,__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar7 - (int)__src;\n            local_48 = (profile->length + 1) - (uint)((profile->length & 1) == 0);\n            pSVar4 = AcquireStringInfo((size_t)(__n_00 + local_48 + __n));\n            memcpy(pSVar4->datum,__src,__n - 4);\n            uVar2 = profile->length;\n            *(uint *)(pSVar4->datum + (__n - 4)) =\n                 (uint)CONCAT11((char)(uVar2 >> 0x10),(char)(uVar2 >> 0x18)) |\n                 (uVar2 >> 8 & 0xff) << 0x10 | uVar2 << 0x18;\n            memcpy(pSVar4->datum + __n,profile->datum,profile->length);\n          }\n          memcpy(pSVar4->datum + local_48 + __n,__src_00,(size_t)__n_00);\n          value = CloneStringInfo(pSVar4);\n          key = ConstantString("8bim");\n          AddValueToSplayTree((SplayTreeInfo *)image->profiles,key,value);\n          DestroyStringInfo(pSVar4);\n          break;\n        }\n        p = __src_00;\n      } while (__src_00 < __src + (sVar5 - 0x10));\n    }\n  }" { (expression_statement "__src = GetStringInfoDatum(pSVar4);" (assignment_expression "__src = GetStringInfoDatum(pSVar4)" identifier = (call_expression "GetStringInfoDatum(pSVar4)" identifier (argument_list "(pSVar4)" ( identifier )))) ;) (expression_statement "sVar5 = GetStringInfoLength(pSVar4);" (assignment_expression "sVar5 = GetStringInfoLength(pSVar4)" identifier = (call_expression "GetStringInfoLength(pSVar4)" identifier (argument_list "(pSVar4)" ( identifier )))) ;) (if_statement "if (__src < __src + (sVar5 - 0x10)) {\n      p = __src;\n      do {\n        iVar3 = LocaleNCompare((char *)p,"8BIM",4);\n        if (iVar3 != 0) break;\n        puVar7 = (uint *)(p + ((p[6] + 8) - (uint)((p[6] + 1 & 1) == 0)));\n        if (__src + (sVar5 - 4) < puVar7) break;\n        uVar2 = *puVar7;\n        puVar7 = puVar7 + 1;\n        uVar6 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n        if ((uVar2 >> 0x18 & 1) != 0) {\n          uVar6 = uVar6 + 1;\n        }\n        if ((((int)uVar6 < 0) || (__src + (sVar5 - uVar6) < puVar7)) || ((int)sVar5 < (int)uVar6))\n        break;\n        __src_00 = (uchar *)(uVar6 + (int)puVar7);\n        if (local_4c == (ushort)(*(ushort *)(p + 4) << 8 | *(ushort *)(p + 4) >> 8)) {\n          __n_00 = __src + (sVar5 - (int)__src_00);\n          if (profile == (StringInfo *)0x0) {\n            __n = (int)p - (int)__src;\n            pSVar4 = AcquireStringInfo((size_t)(__n_00 + __n));\n            memcpy(pSVar4->datum,__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar7 - (int)__src;\n            local_48 = (profile->length + 1) - (uint)((profile->length & 1) == 0);\n            pSVar4 = AcquireStringInfo((size_t)(__n_00 + local_48 + __n));\n            memcpy(pSVar4->datum,__src,__n - 4);\n            uVar2 = profile->length;\n            *(uint *)(pSVar4->datum + (__n - 4)) =\n                 (uint)CONCAT11((char)(uVar2 >> 0x10),(char)(uVar2 >> 0x18)) |\n                 (uVar2 >> 8 & 0xff) << 0x10 | uVar2 << 0x18;\n            memcpy(pSVar4->datum + __n,profile->datum,profile->length);\n          }\n          memcpy(pSVar4->datum + local_48 + __n,__src_00,(size_t)__n_00);\n          value = CloneStringInfo(pSVar4);\n          key = ConstantString("8bim");\n          AddValueToSplayTree((SplayTreeInfo *)image->profiles,key,value);\n          DestroyStringInfo(pSVar4);\n          break;\n        }\n        p = __src_00;\n      } while (__src_00 < __src + (sVar5 - 0x10));\n    }" if (parenthesized_expression "(__src < __src + (sVar5 - 0x10))" ( (binary_expression "__src < __src + (sVar5 - 0x10)" identifier < (binary_expression "__src + (sVar5 - 0x10)" identifier + (parenthesized_expression "(sVar5 - 0x10)" ( (binary_expression "sVar5 - 0x10" identifier - number_literal) )))) )) (compound_statement "{\n      p = __src;\n      do {\n        iVar3 = LocaleNCompare((char *)p,"8BIM",4);\n        if (iVar3 != 0) break;\n        puVar7 = (uint *)(p + ((p[6] + 8) - (uint)((p[6] + 1 & 1) == 0)));\n        if (__src + (sVar5 - 4) < puVar7) break;\n        uVar2 = *puVar7;\n        puVar7 = puVar7 + 1;\n        uVar6 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n        if ((uVar2 >> 0x18 & 1) != 0) {\n          uVar6 = uVar6 + 1;\n        }\n        if ((((int)uVar6 < 0) || (__src + (sVar5 - uVar6) < puVar7)) || ((int)sVar5 < (int)uVar6))\n        break;\n        __src_00 = (uchar *)(uVar6 + (int)puVar7);\n        if (local_4c == (ushort)(*(ushort *)(p + 4) << 8 | *(ushort *)(p + 4) >> 8)) {\n          __n_00 = __src + (sVar5 - (int)__src_00);\n          if (profile == (StringInfo *)0x0) {\n            __n = (int)p - (int)__src;\n            pSVar4 = AcquireStringInfo((size_t)(__n_00 + __n));\n            memcpy(pSVar4->datum,__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar7 - (int)__src;\n            local_48 = (profile->length + 1) - (uint)((profile->length & 1) == 0);\n            pSVar4 = AcquireStringInfo((size_t)(__n_00 + local_48 + __n));\n            memcpy(pSVar4->datum,__src,__n - 4);\n            uVar2 = profile->length;\n            *(uint *)(pSVar4->datum + (__n - 4)) =\n                 (uint)CONCAT11((char)(uVar2 >> 0x10),(char)(uVar2 >> 0x18)) |\n                 (uVar2 >> 8 & 0xff) << 0x10 | uVar2 << 0x18;\n            memcpy(pSVar4->datum + __n,profile->datum,profile->length);\n          }\n          memcpy(pSVar4->datum + local_48 + __n,__src_00,(size_t)__n_00);\n          value = CloneStringInfo(pSVar4);\n          key = ConstantString("8bim");\n          AddValueToSplayTree((SplayTreeInfo *)image->profiles,key,value);\n          DestroyStringInfo(pSVar4);\n          break;\n        }\n        p = __src_00;\n      } while (__src_00 < __src + (sVar5 - 0x10));\n    }" { (expression_statement "p = __src;" (assignment_expression "p = __src" identifier = identifier) ;) (do_statement "do {\n        iVar3 = LocaleNCompare((char *)p,"8BIM",4);\n        if (iVar3 != 0) break;\n        puVar7 = (uint *)(p + ((p[6] + 8) - (uint)((p[6] + 1 & 1) == 0)));\n        if (__src + (sVar5 - 4) < puVar7) break;\n        uVar2 = *puVar7;\n        puVar7 = puVar7 + 1;\n        uVar6 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n        if ((uVar2 >> 0x18 & 1) != 0) {\n          uVar6 = uVar6 + 1;\n        }\n        if ((((int)uVar6 < 0) || (__src + (sVar5 - uVar6) < puVar7)) || ((int)sVar5 < (int)uVar6))\n        break;\n        __src_00 = (uchar *)(uVar6 + (int)puVar7);\n        if (local_4c == (ushort)(*(ushort *)(p + 4) << 8 | *(ushort *)(p + 4) >> 8)) {\n          __n_00 = __src + (sVar5 - (int)__src_00);\n          if (profile == (StringInfo *)0x0) {\n            __n = (int)p - (int)__src;\n            pSVar4 = AcquireStringInfo((size_t)(__n_00 + __n));\n            memcpy(pSVar4->datum,__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar7 - (int)__src;\n            local_48 = (profile->length + 1) - (uint)((profile->length & 1) == 0);\n            pSVar4 = AcquireStringInfo((size_t)(__n_00 + local_48 + __n));\n            memcpy(pSVar4->datum,__src,__n - 4);\n            uVar2 = profile->length;\n            *(uint *)(pSVar4->datum + (__n - 4)) =\n                 (uint)CONCAT11((char)(uVar2 >> 0x10),(char)(uVar2 >> 0x18)) |\n                 (uVar2 >> 8 & 0xff) << 0x10 | uVar2 << 0x18;\n            memcpy(pSVar4->datum + __n,profile->datum,profile->length);\n          }\n          memcpy(pSVar4->datum + local_48 + __n,__src_00,(size_t)__n_00);\n          value = CloneStringInfo(pSVar4);\n          key = ConstantString("8bim");\n          AddValueToSplayTree((SplayTreeInfo *)image->profiles,key,value);\n          DestroyStringInfo(pSVar4);\n          break;\n        }\n        p = __src_00;\n      } while (__src_00 < __src + (sVar5 - 0x10));" do (compound_statement "{\n        iVar3 = LocaleNCompare((char *)p,"8BIM",4);\n        if (iVar3 != 0) break;\n        puVar7 = (uint *)(p + ((p[6] + 8) - (uint)((p[6] + 1 & 1) == 0)));\n        if (__src + (sVar5 - 4) < puVar7) break;\n        uVar2 = *puVar7;\n        puVar7 = puVar7 + 1;\n        uVar6 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n        if ((uVar2 >> 0x18 & 1) != 0) {\n          uVar6 = uVar6 + 1;\n        }\n        if ((((int)uVar6 < 0) || (__src + (sVar5 - uVar6) < puVar7)) || ((int)sVar5 < (int)uVar6))\n        break;\n        __src_00 = (uchar *)(uVar6 + (int)puVar7);\n        if (local_4c == (ushort)(*(ushort *)(p + 4) << 8 | *(ushort *)(p + 4) >> 8)) {\n          __n_00 = __src + (sVar5 - (int)__src_00);\n          if (profile == (StringInfo *)0x0) {\n            __n = (int)p - (int)__src;\n            pSVar4 = AcquireStringInfo((size_t)(__n_00 + __n));\n            memcpy(pSVar4->datum,__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar7 - (int)__src;\n            local_48 = (profile->length + 1) - (uint)((profile->length & 1) == 0);\n            pSVar4 = AcquireStringInfo((size_t)(__n_00 + local_48 + __n));\n            memcpy(pSVar4->datum,__src,__n - 4);\n            uVar2 = profile->length;\n            *(uint *)(pSVar4->datum + (__n - 4)) =\n                 (uint)CONCAT11((char)(uVar2 >> 0x10),(char)(uVar2 >> 0x18)) |\n                 (uVar2 >> 8 & 0xff) << 0x10 | uVar2 << 0x18;\n            memcpy(pSVar4->datum + __n,profile->datum,profile->length);\n          }\n          memcpy(pSVar4->datum + local_48 + __n,__src_00,(size_t)__n_00);\n          value = CloneStringInfo(pSVar4);\n          key = ConstantString("8bim");\n          AddValueToSplayTree((SplayTreeInfo *)image->profiles,key,value);\n          DestroyStringInfo(pSVar4);\n          break;\n        }\n        p = __src_00;\n      }" { (expression_statement "iVar3 = LocaleNCompare((char *)p,"8BIM",4);" (assignment_expression "iVar3 = LocaleNCompare((char *)p,"8BIM",4)" identifier = (call_expression "LocaleNCompare((char *)p,"8BIM",4)" identifier (argument_list "((char *)p,"8BIM",4)" ( (cast_expression "(char *)p" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""8BIM"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar3 != 0) break;" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "puVar7 = (uint *)(p + ((p[6] + 8) - (uint)((p[6] + 1 & 1) == 0)));" (assignment_expression "puVar7 = (uint *)(p + ((p[6] + 8) - (uint)((p[6] + 1 & 1) == 0)))" identifier = (cast_expression "(uint *)(p + ((p[6] + 8) - (uint)((p[6] + 1 & 1) == 0)))" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(p + ((p[6] + 8) - (uint)((p[6] + 1 & 1) == 0)))" ( (binary_expression "p + ((p[6] + 8) - (uint)((p[6] + 1 & 1) == 0))" identifier + (parenthesized_expression "((p[6] + 8) - (uint)((p[6] + 1 & 1) == 0))" ( (binary_expression "(p[6] + 8) - (uint)((p[6] + 1 & 1) == 0)" (parenthesized_expression "(p[6] + 8)" ( (binary_expression "p[6] + 8" (subscript_expression "p[6]" identifier [ number_literal ]) + number_literal) )) - (call_expression "(uint)((p[6] + 1 & 1) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((p[6] + 1 & 1) == 0)" ( (binary_expression "(p[6] + 1 & 1) == 0" (parenthesized_expression "(p[6] + 1 & 1)" ( (binary_expression "p[6] + 1 & 1" (binary_expression "p[6] + 1" (subscript_expression "p[6]" identifier [ number_literal ]) + number_literal) & number_literal) )) == number_literal) )))) ))) )))) ;) (if_statement "if (__src + (sVar5 - 4) < puVar7) break;" if (parenthesized_expression "(__src + (sVar5 - 4) < puVar7)" ( (binary_expression "__src + (sVar5 - 4) < puVar7" (binary_expression "__src + (sVar5 - 4)" identifier + (parenthesized_expression "(sVar5 - 4)" ( (binary_expression "sVar5 - 4" identifier - number_literal) ))) < identifier) )) (break_statement "break;" break ;)) (expression_statement "uVar2 = *puVar7;" (assignment_expression "uVar2 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;" (assignment_expression "uVar6 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18" identifier = (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8" (binary_expression "uVar2 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar2 & 0xff0000) >> 8" (parenthesized_expression "(uVar2 & 0xff0000)" ( (binary_expression "uVar2 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar2 & 0xff00) << 8" (parenthesized_expression "(uVar2 & 0xff00)" ( (binary_expression "uVar2 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar2 << 0x18" identifier << number_literal))) ;) (if_statement "if ((uVar2 >> 0x18 & 1) != 0) {\n          uVar6 = uVar6 + 1;\n        }" if (parenthesized_expression "((uVar2 >> 0x18 & 1) != 0)" ( (binary_expression "(uVar2 >> 0x18 & 1) != 0" (parenthesized_expression "(uVar2 >> 0x18 & 1)" ( (binary_expression "uVar2 >> 0x18 & 1" (binary_expression "uVar2 >> 0x18" identifier >> number_literal) & number_literal) )) != number_literal) )) (compound_statement "{\n          uVar6 = uVar6 + 1;\n        }" { (expression_statement "uVar6 = uVar6 + 1;" (assignment_expression "uVar6 = uVar6 + 1" identifier = (binary_expression "uVar6 + 1" identifier + number_literal)) ;) })) (if_statement "if ((((int)uVar6 < 0) || (__src + (sVar5 - uVar6) < puVar7)) || ((int)sVar5 < (int)uVar6))\n        break;" if (parenthesized_expression "((((int)uVar6 < 0) || (__src + (sVar5 - uVar6) < puVar7)) || ((int)sVar5 < (int)uVar6))" ( (binary_expression "(((int)uVar6 < 0) || (__src + (sVar5 - uVar6) < puVar7)) || ((int)sVar5 < (int)uVar6)" (parenthesized_expression "(((int)uVar6 < 0) || (__src + (sVar5 - uVar6) < puVar7))" ( (binary_expression "((int)uVar6 < 0) || (__src + (sVar5 - uVar6) < puVar7)" (parenthesized_expression "((int)uVar6 < 0)" ( (binary_expression "(int)uVar6 < 0" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) || (parenthesized_expression "(__src + (sVar5 - uVar6) < puVar7)" ( (binary_expression "__src + (sVar5 - uVar6) < puVar7" (binary_expression "__src + (sVar5 - uVar6)" identifier + (parenthesized_expression "(sVar5 - uVar6)" ( (binary_expression "sVar5 - uVar6" identifier - identifier) ))) < identifier) ))) )) || (parenthesized_expression "((int)sVar5 < (int)uVar6)" ( (binary_expression "(int)sVar5 < (int)uVar6" (cast_expression "(int)sVar5" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )) (break_statement "break;" break ;)) (expression_statement "__src_00 = (uchar *)(uVar6 + (int)puVar7);" (assignment_expression "__src_00 = (uchar *)(uVar6 + (int)puVar7)" identifier = (cast_expression "(uchar *)(uVar6 + (int)puVar7)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar6 + (int)puVar7)" ( (binary_expression "uVar6 + (int)puVar7" identifier + (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (if_statement "if (local_4c == (ushort)(*(ushort *)(p + 4) << 8 | *(ushort *)(p + 4) >> 8)) {\n          __n_00 = __src + (sVar5 - (int)__src_00);\n          if (profile == (StringInfo *)0x0) {\n            __n = (int)p - (int)__src;\n            pSVar4 = AcquireStringInfo((size_t)(__n_00 + __n));\n            memcpy(pSVar4->datum,__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar7 - (int)__src;\n            local_48 = (profile->length + 1) - (uint)((profile->length & 1) == 0);\n            pSVar4 = AcquireStringInfo((size_t)(__n_00 + local_48 + __n));\n            memcpy(pSVar4->datum,__src,__n - 4);\n            uVar2 = profile->length;\n            *(uint *)(pSVar4->datum + (__n - 4)) =\n                 (uint)CONCAT11((char)(uVar2 >> 0x10),(char)(uVar2 >> 0x18)) |\n                 (uVar2 >> 8 & 0xff) << 0x10 | uVar2 << 0x18;\n            memcpy(pSVar4->datum + __n,profile->datum,profile->length);\n          }\n          memcpy(pSVar4->datum + local_48 + __n,__src_00,(size_t)__n_00);\n          value = CloneStringInfo(pSVar4);\n          key = ConstantString("8bim");\n          AddValueToSplayTree((SplayTreeInfo *)image->profiles,key,value);\n          DestroyStringInfo(pSVar4);\n          break;\n        }" if (parenthesized_expression "(local_4c == (ushort)(*(ushort *)(p + 4) << 8 | *(ushort *)(p + 4) >> 8))" ( (binary_expression "local_4c == (ushort)(*(ushort *)(p + 4) << 8 | *(ushort *)(p + 4) >> 8)" identifier == (call_expression "(ushort)(*(ushort *)(p + 4) << 8 | *(ushort *)(p + 4) >> 8)" (parenthesized_expression "(ushort)" ( identifier )) (argument_list "(*(ushort *)(p + 4) << 8 | *(ushort *)(p + 4) >> 8)" ( (binary_expression "*(ushort *)(p + 4) << 8 | *(ushort *)(p + 4) >> 8" (binary_expression "*(ushort *)(p + 4) << 8" (pointer_expression "*(ushort *)(p + 4)" * (cast_expression "(ushort *)(p + 4)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(p + 4)" ( (binary_expression "p + 4" identifier + number_literal) )))) << number_literal) | (binary_expression "*(ushort *)(p + 4) >> 8" (pointer_expression "*(ushort *)(p + 4)" * (cast_expression "(ushort *)(p + 4)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(p + 4)" ( (binary_expression "p + 4" identifier + number_literal) )))) >> number_literal)) )))) )) (compound_statement "{\n          __n_00 = __src + (sVar5 - (int)__src_00);\n          if (profile == (StringInfo *)0x0) {\n            __n = (int)p - (int)__src;\n            pSVar4 = AcquireStringInfo((size_t)(__n_00 + __n));\n            memcpy(pSVar4->datum,__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar7 - (int)__src;\n            local_48 = (profile->length + 1) - (uint)((profile->length & 1) == 0);\n            pSVar4 = AcquireStringInfo((size_t)(__n_00 + local_48 + __n));\n            memcpy(pSVar4->datum,__src,__n - 4);\n            uVar2 = profile->length;\n            *(uint *)(pSVar4->datum + (__n - 4)) =\n                 (uint)CONCAT11((char)(uVar2 >> 0x10),(char)(uVar2 >> 0x18)) |\n                 (uVar2 >> 8 & 0xff) << 0x10 | uVar2 << 0x18;\n            memcpy(pSVar4->datum + __n,profile->datum,profile->length);\n          }\n          memcpy(pSVar4->datum + local_48 + __n,__src_00,(size_t)__n_00);\n          value = CloneStringInfo(pSVar4);\n          key = ConstantString("8bim");\n          AddValueToSplayTree((SplayTreeInfo *)image->profiles,key,value);\n          DestroyStringInfo(pSVar4);\n          break;\n        }" { (expression_statement "__n_00 = __src + (sVar5 - (int)__src_00);" (assignment_expression "__n_00 = __src + (sVar5 - (int)__src_00)" identifier = (binary_expression "__src + (sVar5 - (int)__src_00)" identifier + (parenthesized_expression "(sVar5 - (int)__src_00)" ( (binary_expression "sVar5 - (int)__src_00" identifier - (cast_expression "(int)__src_00" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (if_statement "if (profile == (StringInfo *)0x0) {\n            __n = (int)p - (int)__src;\n            pSVar4 = AcquireStringInfo((size_t)(__n_00 + __n));\n            memcpy(pSVar4->datum,__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar7 - (int)__src;\n            local_48 = (profile->length + 1) - (uint)((profile->length & 1) == 0);\n            pSVar4 = AcquireStringInfo((size_t)(__n_00 + local_48 + __n));\n            memcpy(pSVar4->datum,__src,__n - 4);\n            uVar2 = profile->length;\n            *(uint *)(pSVar4->datum + (__n - 4)) =\n                 (uint)CONCAT11((char)(uVar2 >> 0x10),(char)(uVar2 >> 0x18)) |\n                 (uVar2 >> 8 & 0xff) << 0x10 | uVar2 << 0x18;\n            memcpy(pSVar4->datum + __n,profile->datum,profile->length);\n          }" if (parenthesized_expression "(profile == (StringInfo *)0x0)" ( (binary_expression "profile == (StringInfo *)0x0" identifier == (cast_expression "(StringInfo *)0x0" ( (type_descriptor "StringInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            __n = (int)p - (int)__src;\n            pSVar4 = AcquireStringInfo((size_t)(__n_00 + __n));\n            memcpy(pSVar4->datum,__src,__n);\n            local_48 = 0;\n          }" { (expression_statement "__n = (int)p - (int)__src;" (assignment_expression "__n = (int)p - (int)__src" identifier = (binary_expression "(int)p - (int)__src" (cast_expression "(int)p" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "pSVar4 = AcquireStringInfo((size_t)(__n_00 + __n));" (assignment_expression "pSVar4 = AcquireStringInfo((size_t)(__n_00 + __n))" identifier = (call_expression "AcquireStringInfo((size_t)(__n_00 + __n))" identifier (argument_list "((size_t)(__n_00 + __n))" ( (cast_expression "(size_t)(__n_00 + __n)" ( (type_descriptor "size_t" primitive_type) ) (parenthesized_expression "(__n_00 + __n)" ( (binary_expression "__n_00 + __n" identifier + identifier) ))) )))) ;) (expression_statement "memcpy(pSVar4->datum,__src,__n);" (call_expression "memcpy(pSVar4->datum,__src,__n)" identifier (argument_list "(pSVar4->datum,__src,__n)" ( (field_expression "pSVar4->datum" identifier -> field_identifier) , identifier , identifier ))) ;) (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" identifier = number_literal) ;) }) (else_clause "else {\n            __n = (int)puVar7 - (int)__src;\n            local_48 = (profile->length + 1) - (uint)((profile->length & 1) == 0);\n            pSVar4 = AcquireStringInfo((size_t)(__n_00 + local_48 + __n));\n            memcpy(pSVar4->datum,__src,__n - 4);\n            uVar2 = profile->length;\n            *(uint *)(pSVar4->datum + (__n - 4)) =\n                 (uint)CONCAT11((char)(uVar2 >> 0x10),(char)(uVar2 >> 0x18)) |\n                 (uVar2 >> 8 & 0xff) << 0x10 | uVar2 << 0x18;\n            memcpy(pSVar4->datum + __n,profile->datum,profile->length);\n          }" else (compound_statement "{\n            __n = (int)puVar7 - (int)__src;\n            local_48 = (profile->length + 1) - (uint)((profile->length & 1) == 0);\n            pSVar4 = AcquireStringInfo((size_t)(__n_00 + local_48 + __n));\n            memcpy(pSVar4->datum,__src,__n - 4);\n            uVar2 = profile->length;\n            *(uint *)(pSVar4->datum + (__n - 4)) =\n                 (uint)CONCAT11((char)(uVar2 >> 0x10),(char)(uVar2 >> 0x18)) |\n                 (uVar2 >> 8 & 0xff) << 0x10 | uVar2 << 0x18;\n            memcpy(pSVar4->datum + __n,profile->datum,profile->length);\n          }" { (expression_statement "__n = (int)puVar7 - (int)__src;" (assignment_expression "__n = (int)puVar7 - (int)__src" identifier = (binary_expression "(int)puVar7 - (int)__src" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "local_48 = (profile->length + 1) - (uint)((profile->length & 1) == 0);" (assignment_expression "local_48 = (profile->length + 1) - (uint)((profile->length & 1) == 0)" identifier = (binary_expression "(profile->length + 1) - (uint)((profile->length & 1) == 0)" (parenthesized_expression "(profile->length + 1)" ( (binary_expression "profile->length + 1" (field_expression "profile->length" identifier -> field_identifier) + number_literal) )) - (call_expression "(uint)((profile->length & 1) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((profile->length & 1) == 0)" ( (binary_expression "(profile->length & 1) == 0" (parenthesized_expression "(profile->length & 1)" ( (binary_expression "profile->length & 1" (field_expression "profile->length" identifier -> field_identifier) & number_literal) )) == number_literal) ))))) ;) (expression_statement "pSVar4 = AcquireStringInfo((size_t)(__n_00 + local_48 + __n));" (assignment_expression "pSVar4 = AcquireStringInfo((size_t)(__n_00 + local_48 + __n))" identifier = (call_expression "AcquireStringInfo((size_t)(__n_00 + local_48 + __n))" identifier (argument_list "((size_t)(__n_00 + local_48 + __n))" ( (cast_expression "(size_t)(__n_00 + local_48 + __n)" ( (type_descriptor "size_t" primitive_type) ) (parenthesized_expression "(__n_00 + local_48 + __n)" ( (binary_expression "__n_00 + local_48 + __n" (binary_expression "__n_00 + local_48" identifier + identifier) + identifier) ))) )))) ;) (expression_statement "memcpy(pSVar4->datum,__src,__n - 4);" (call_expression "memcpy(pSVar4->datum,__src,__n - 4)" identifier (argument_list "(pSVar4->datum,__src,__n - 4)" ( (field_expression "pSVar4->datum" identifier -> field_identifier) , identifier , (binary_expression "__n - 4" identifier - number_literal) ))) ;) (expression_statement "uVar2 = profile->length;" (assignment_expression "uVar2 = profile->length" identifier = (field_expression "profile->length" identifier -> field_identifier)) ;) (expression_statement "*(uint *)(pSVar4->datum + (__n - 4)) =\n                 (uint)CONCAT11((char)(uVar2 >> 0x10),(char)(uVar2 >> 0x18)) |\n                 (uVar2 >> 8 & 0xff) << 0x10 | uVar2 << 0x18;" (assignment_expression "*(uint *)(pSVar4->datum + (__n - 4)) =\n                 (uint)CONCAT11((char)(uVar2 >> 0x10),(char)(uVar2 >> 0x18)) |\n                 (uVar2 >> 8 & 0xff) << 0x10 | uVar2 << 0x18" (pointer_expression "*(uint *)(pSVar4->datum + (__n - 4))" * (cast_expression "(uint *)(pSVar4->datum + (__n - 4))" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pSVar4->datum + (__n - 4))" ( (binary_expression "pSVar4->datum + (__n - 4)" (field_expression "pSVar4->datum" identifier -> field_identifier) + (parenthesized_expression "(__n - 4)" ( (binary_expression "__n - 4" identifier - number_literal) ))) )))) = (binary_expression "(uint)CONCAT11((char)(uVar2 >> 0x10),(char)(uVar2 >> 0x18)) |\n                 (uVar2 >> 8 & 0xff) << 0x10 | uVar2 << 0x18" (binary_expression "(uint)CONCAT11((char)(uVar2 >> 0x10),(char)(uVar2 >> 0x18)) |\n                 (uVar2 >> 8 & 0xff) << 0x10" (cast_expression "(uint)CONCAT11((char)(uVar2 >> 0x10),(char)(uVar2 >> 0x18))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11((char)(uVar2 >> 0x10),(char)(uVar2 >> 0x18))" identifier (argument_list "((char)(uVar2 >> 0x10),(char)(uVar2 >> 0x18))" ( (cast_expression "(char)(uVar2 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar2 >> 0x10)" ( (binary_expression "uVar2 >> 0x10" identifier >> number_literal) ))) , (cast_expression "(char)(uVar2 >> 0x18)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar2 >> 0x18)" ( (binary_expression "uVar2 >> 0x18" identifier >> number_literal) ))) )))) | (binary_expression "(uVar2 >> 8 & 0xff) << 0x10" (parenthesized_expression "(uVar2 >> 8 & 0xff)" ( (binary_expression "uVar2 >> 8 & 0xff" (binary_expression "uVar2 >> 8" identifier >> number_literal) & number_literal) )) << number_literal)) | (binary_expression "uVar2 << 0x18" identifier << number_literal))) ;) (expression_statement "memcpy(pSVar4->datum + __n,profile->datum,profile->length);" (call_expression "memcpy(pSVar4->datum + __n,profile->datum,profile->length)" identifier (argument_list "(pSVar4->datum + __n,profile->datum,profile->length)" ( (binary_expression "pSVar4->datum + __n" (field_expression "pSVar4->datum" identifier -> field_identifier) + identifier) , (field_expression "profile->datum" identifier -> field_identifier) , (field_expression "profile->length" identifier -> field_identifier) ))) ;) }))) (expression_statement "memcpy(pSVar4->datum + local_48 + __n,__src_00,(size_t)__n_00);" (call_expression "memcpy(pSVar4->datum + local_48 + __n,__src_00,(size_t)__n_00)" identifier (argument_list "(pSVar4->datum + local_48 + __n,__src_00,(size_t)__n_00)" ( (binary_expression "pSVar4->datum + local_48 + __n" (binary_expression "pSVar4->datum + local_48" (field_expression "pSVar4->datum" identifier -> field_identifier) + identifier) + identifier) , identifier , (cast_expression "(size_t)__n_00" ( (type_descriptor "size_t" primitive_type) ) identifier) ))) ;) (expression_statement "value = CloneStringInfo(pSVar4);" (assignment_expression "value = CloneStringInfo(pSVar4)" identifier = (call_expression "CloneStringInfo(pSVar4)" identifier (argument_list "(pSVar4)" ( identifier )))) ;) (expression_statement "key = ConstantString("8bim");" (assignment_expression "key = ConstantString("8bim")" identifier = (call_expression "ConstantString("8bim")" identifier (argument_list "("8bim")" ( (string_literal ""8bim"" " string_content ") )))) ;) (expression_statement "AddValueToSplayTree((SplayTreeInfo *)image->profiles,key,value);" (call_expression "AddValueToSplayTree((SplayTreeInfo *)image->profiles,key,value)" identifier (argument_list "((SplayTreeInfo *)image->profiles,key,value)" ( (cast_expression "(SplayTreeInfo *)image->profiles" ( (type_descriptor "SplayTreeInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "image->profiles" identifier -> field_identifier)) , identifier , identifier ))) ;) (expression_statement "DestroyStringInfo(pSVar4);" (call_expression "DestroyStringInfo(pSVar4)" identifier (argument_list "(pSVar4)" ( identifier ))) ;) (break_statement "break;" break ;) })) (expression_statement "p = __src_00;" (assignment_expression "p = __src_00" identifier = identifier) ;) }) while (parenthesized_expression "(__src_00 < __src + (sVar5 - 0x10))" ( (binary_expression "__src_00 < __src + (sVar5 - 0x10)" identifier < (binary_expression "__src + (sVar5 - 0x10)" identifier + (parenthesized_expression "(sVar5 - 0x10)" ( (binary_expression "sVar5 - 0x10" identifier - number_literal) )))) )) ;) })) })) (labeled_statement "LAB_00129670:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" statement_identifier : (if_statement "if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" if (parenthesized_expression "(iVar1 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" { comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00129530(int param_1,undefined4 param_2,int param_3)\n\n{\n  void *pvVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  void *__src;\n  uint uVar5;\n  void *__src_00;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  uint *puVar9;\n  void *pvVar10;\n  size_t __n;\n  size_t __n_00;\n  int in_GS_OFFSET;\n  ushort local_4c;\n  int local_48;\n  \n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar4 = LocaleCompare(param_2,&DAT_002a81ca);\n  if (iVar4 == 0) {\n    local_4c = 0x40f;\n  }\n  else {\n    iVar4 = LocaleCompare(param_2,&DAT_002ac05d);\n    if (iVar4 == 0) {\n      local_4c = 0x404;\n    }\n    else {\n      iVar4 = LocaleCompare(param_2,&DAT_002c01f4);\n      local_4c = 0x424;\n      if (iVar4 != 0) goto LAB_00129670;\n    }\n  }\n  iVar4 = GetValueFromSplayTree(*(undefined4 *)(param_1 + 0x1d8),&DAT_002ac062);\n  if (iVar4 != 0) {\n    __src = (void *)GetStringInfoDatum(iVar4);\n    iVar4 = GetStringInfoLength(iVar4);\n    pvVar1 = (void *)((int)__src + iVar4 + -0x10);\n    if (__src < pvVar1) {\n      pvVar10 = __src;\n      do {\n        iVar6 = LocaleNCompare(pvVar10,&DAT_002a239a,4);\n        if (iVar6 != 0) break;\n        puVar9 = (uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)));\n        if ((uint *)((int)__src + iVar4 + -4) < puVar9) break;\n        uVar3 = *puVar9;\n        puVar9 = puVar9 + 1;\n        uVar5 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n        if ((uVar3 >> 0x18 & 1) != 0) {\n          uVar5 = uVar5 + 1;\n        }\n        if ((((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5)) break;\n        __src_00 = (void *)(uVar5 + (int)puVar9);\n        if (local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)) {\n          __n_00 = (int)__src + (iVar4 - (int)__src_00);\n          if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }\n          memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);\n          uVar7 = CloneStringInfo(iVar4);\n          uVar8 = ConstantString(&DAT_002ac062);\n          AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);\n          DestroyStringInfo(iVar4);\n          break;\n        }\n        pvVar10 = __src_00;\n      } while (__src_00 < pvVar1);\n    }\n  }\nLAB_00129670:\n  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00129530(int param_1,undefined4 param_2,int param_3)\n\n{\n  void *pvVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  void *__src;\n  uint uVar5;\n  void *__src_00;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  uint *puVar9;\n  void *pvVar10;\n  size_t __n;\n  size_t __n_00;\n  int in_GS_OFFSET;\n  ushort local_4c;\n  int local_48;\n  \n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar4 = LocaleCompare(param_2,&DAT_002a81ca);\n  if (iVar4 == 0) {\n    local_4c = 0x40f;\n  }\n  else {\n    iVar4 = LocaleCompare(param_2,&DAT_002ac05d);\n    if (iVar4 == 0) {\n      local_4c = 0x404;\n    }\n    else {\n      iVar4 = LocaleCompare(param_2,&DAT_002c01f4);\n      local_4c = 0x424;\n      if (iVar4 != 0) goto LAB_00129670;\n    }\n  }\n  iVar4 = GetValueFromSplayTree(*(undefined4 *)(param_1 + 0x1d8),&DAT_002ac062);\n  if (iVar4 != 0) {\n    __src = (void *)GetStringInfoDatum(iVar4);\n    iVar4 = GetStringInfoLength(iVar4);\n    pvVar1 = (void *)((int)__src + iVar4 + -0x10);\n    if (__src < pvVar1) {\n      pvVar10 = __src;\n      do {\n        iVar6 = LocaleNCompare(pvVar10,&DAT_002a239a,4);\n        if (iVar6 != 0) break;\n        puVar9 = (uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)));\n        if ((uint *)((int)__src + iVar4 + -4) < puVar9) break;\n        uVar3 = *puVar9;\n        puVar9 = puVar9 + 1;\n        uVar5 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n        if ((uVar3 >> 0x18 & 1) != 0) {\n          uVar5 = uVar5 + 1;\n        }\n        if ((((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5)) break;\n        __src_00 = (void *)(uVar5 + (int)puVar9);\n        if (local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)) {\n          __n_00 = (int)__src + (iVar4 - (int)__src_00);\n          if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }\n          memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);\n          uVar7 = CloneStringInfo(iVar4);\n          uVar8 = ConstantString(&DAT_002ac062);\n          AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);\n          DestroyStringInfo(iVar4);\n          break;\n        }\n        pvVar10 = __src_00;\n      } while (__src_00 < pvVar1);\n    }\n  }\nLAB_00129670:\n  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00129530(int param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  void *pvVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  void *__src;\n  uint uVar5;\n  void *__src_00;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  uint *puVar9;\n  void *pvVar10;\n  size_t __n;\n  size_t __n_00;\n  int in_GS_OFFSET;\n  ushort local_4c;\n  int local_48;\n  \n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar4 = LocaleCompare(param_2,&DAT_002a81ca);\n  if (iVar4 == 0) {\n    local_4c = 0x40f;\n  }\n  else {\n    iVar4 = LocaleCompare(param_2,&DAT_002ac05d);\n    if (iVar4 == 0) {\n      local_4c = 0x404;\n    }\n    else {\n      iVar4 = LocaleCompare(param_2,&DAT_002c01f4);\n      local_4c = 0x424;\n      if (iVar4 != 0) goto LAB_00129670;\n    }\n  }\n  iVar4 = GetValueFromSplayTree(*(undefined4 *)(param_1 + 0x1d8),&DAT_002ac062);\n  if (iVar4 != 0) {\n    __src = (void *)GetStringInfoDatum(iVar4);\n    iVar4 = GetStringInfoLength(iVar4);\n    pvVar1 = (void *)((int)__src + iVar4 + -0x10);\n    if (__src < pvVar1) {\n      pvVar10 = __src;\n      do {\n        iVar6 = LocaleNCompare(pvVar10,&DAT_002a239a,4);\n        if (iVar6 != 0) break;\n        puVar9 = (uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)));\n        if ((uint *)((int)__src + iVar4 + -4) < puVar9) break;\n        uVar3 = *puVar9;\n        puVar9 = puVar9 + 1;\n        uVar5 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n        if ((uVar3 >> 0x18 & 1) != 0) {\n          uVar5 = uVar5 + 1;\n        }\n        if ((((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5)) break;\n        __src_00 = (void *)(uVar5 + (int)puVar9);\n        if (local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)) {\n          __n_00 = (int)__src + (iVar4 - (int)__src_00);\n          if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }\n          memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);\n          uVar7 = CloneStringInfo(iVar4);\n          uVar8 = ConstantString(&DAT_002ac062);\n          AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);\n          DestroyStringInfo(iVar4);\n          break;\n        }\n        pvVar10 = __src_00;\n      } while (__src_00 < pvVar1);\n    }\n  }\nLAB_00129670:\n  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }\n  return;\n}" { (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "void *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "void *__src_00;" primitive_type (pointer_declarator "*__src_00" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "uint *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "void *pvVar10;" primitive_type (pointer_declarator "*pvVar10" * identifier) ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "size_t __n_00;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "ushort local_4c;" type_identifier identifier ;) (declaration "int local_48;" primitive_type identifier ;) (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) ))))) ;) (expression_statement "iVar4 = LocaleCompare(param_2,&DAT_002a81ca);" (assignment_expression "iVar4 = LocaleCompare(param_2,&DAT_002a81ca)" identifier = (call_expression "LocaleCompare(param_2,&DAT_002a81ca)" identifier (argument_list "(param_2,&DAT_002a81ca)" ( identifier , (pointer_expression "&DAT_002a81ca" & identifier) )))) ;) (if_statement "if (iVar4 == 0) {\n    local_4c = 0x40f;\n  }\n  else {\n    iVar4 = LocaleCompare(param_2,&DAT_002ac05d);\n    if (iVar4 == 0) {\n      local_4c = 0x404;\n    }\n    else {\n      iVar4 = LocaleCompare(param_2,&DAT_002c01f4);\n      local_4c = 0x424;\n      if (iVar4 != 0) goto LAB_00129670;\n    }\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    local_4c = 0x40f;\n  }" { (expression_statement "local_4c = 0x40f;" (assignment_expression "local_4c = 0x40f" identifier = number_literal) ;) }) (else_clause "else {\n    iVar4 = LocaleCompare(param_2,&DAT_002ac05d);\n    if (iVar4 == 0) {\n      local_4c = 0x404;\n    }\n    else {\n      iVar4 = LocaleCompare(param_2,&DAT_002c01f4);\n      local_4c = 0x424;\n      if (iVar4 != 0) goto LAB_00129670;\n    }\n  }" else (compound_statement "{\n    iVar4 = LocaleCompare(param_2,&DAT_002ac05d);\n    if (iVar4 == 0) {\n      local_4c = 0x404;\n    }\n    else {\n      iVar4 = LocaleCompare(param_2,&DAT_002c01f4);\n      local_4c = 0x424;\n      if (iVar4 != 0) goto LAB_00129670;\n    }\n  }" { (expression_statement "iVar4 = LocaleCompare(param_2,&DAT_002ac05d);" (assignment_expression "iVar4 = LocaleCompare(param_2,&DAT_002ac05d)" identifier = (call_expression "LocaleCompare(param_2,&DAT_002ac05d)" identifier (argument_list "(param_2,&DAT_002ac05d)" ( identifier , (pointer_expression "&DAT_002ac05d" & identifier) )))) ;) (if_statement "if (iVar4 == 0) {\n      local_4c = 0x404;\n    }\n    else {\n      iVar4 = LocaleCompare(param_2,&DAT_002c01f4);\n      local_4c = 0x424;\n      if (iVar4 != 0) goto LAB_00129670;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      local_4c = 0x404;\n    }" { (expression_statement "local_4c = 0x404;" (assignment_expression "local_4c = 0x404" identifier = number_literal) ;) }) (else_clause "else {\n      iVar4 = LocaleCompare(param_2,&DAT_002c01f4);\n      local_4c = 0x424;\n      if (iVar4 != 0) goto LAB_00129670;\n    }" else (compound_statement "{\n      iVar4 = LocaleCompare(param_2,&DAT_002c01f4);\n      local_4c = 0x424;\n      if (iVar4 != 0) goto LAB_00129670;\n    }" { (expression_statement "iVar4 = LocaleCompare(param_2,&DAT_002c01f4);" (assignment_expression "iVar4 = LocaleCompare(param_2,&DAT_002c01f4)" identifier = (call_expression "LocaleCompare(param_2,&DAT_002c01f4)" identifier (argument_list "(param_2,&DAT_002c01f4)" ( identifier , (pointer_expression "&DAT_002c01f4" & identifier) )))) ;) (expression_statement "local_4c = 0x424;" (assignment_expression "local_4c = 0x424" identifier = number_literal) ;) (if_statement "if (iVar4 != 0) goto LAB_00129670;" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00129670;" goto statement_identifier ;)) }))) }))) (expression_statement "iVar4 = GetValueFromSplayTree(*(undefined4 *)(param_1 + 0x1d8),&DAT_002ac062);" (assignment_expression "iVar4 = GetValueFromSplayTree(*(undefined4 *)(param_1 + 0x1d8),&DAT_002ac062)" identifier = (call_expression "GetValueFromSplayTree(*(undefined4 *)(param_1 + 0x1d8),&DAT_002ac062)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x1d8),&DAT_002ac062)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x1d8)" * (cast_expression "(undefined4 *)(param_1 + 0x1d8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1d8)" ( (binary_expression "param_1 + 0x1d8" identifier + number_literal) )))) , (pointer_expression "&DAT_002ac062" & identifier) )))) ;) (if_statement "if (iVar4 != 0) {\n    __src = (void *)GetStringInfoDatum(iVar4);\n    iVar4 = GetStringInfoLength(iVar4);\n    pvVar1 = (void *)((int)__src + iVar4 + -0x10);\n    if (__src < pvVar1) {\n      pvVar10 = __src;\n      do {\n        iVar6 = LocaleNCompare(pvVar10,&DAT_002a239a,4);\n        if (iVar6 != 0) break;\n        puVar9 = (uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)));\n        if ((uint *)((int)__src + iVar4 + -4) < puVar9) break;\n        uVar3 = *puVar9;\n        puVar9 = puVar9 + 1;\n        uVar5 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n        if ((uVar3 >> 0x18 & 1) != 0) {\n          uVar5 = uVar5 + 1;\n        }\n        if ((((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5)) break;\n        __src_00 = (void *)(uVar5 + (int)puVar9);\n        if (local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)) {\n          __n_00 = (int)__src + (iVar4 - (int)__src_00);\n          if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }\n          memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);\n          uVar7 = CloneStringInfo(iVar4);\n          uVar8 = ConstantString(&DAT_002ac062);\n          AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);\n          DestroyStringInfo(iVar4);\n          break;\n        }\n        pvVar10 = __src_00;\n      } while (__src_00 < pvVar1);\n    }\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    __src = (void *)GetStringInfoDatum(iVar4);\n    iVar4 = GetStringInfoLength(iVar4);\n    pvVar1 = (void *)((int)__src + iVar4 + -0x10);\n    if (__src < pvVar1) {\n      pvVar10 = __src;\n      do {\n        iVar6 = LocaleNCompare(pvVar10,&DAT_002a239a,4);\n        if (iVar6 != 0) break;\n        puVar9 = (uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)));\n        if ((uint *)((int)__src + iVar4 + -4) < puVar9) break;\n        uVar3 = *puVar9;\n        puVar9 = puVar9 + 1;\n        uVar5 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n        if ((uVar3 >> 0x18 & 1) != 0) {\n          uVar5 = uVar5 + 1;\n        }\n        if ((((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5)) break;\n        __src_00 = (void *)(uVar5 + (int)puVar9);\n        if (local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)) {\n          __n_00 = (int)__src + (iVar4 - (int)__src_00);\n          if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }\n          memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);\n          uVar7 = CloneStringInfo(iVar4);\n          uVar8 = ConstantString(&DAT_002ac062);\n          AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);\n          DestroyStringInfo(iVar4);\n          break;\n        }\n        pvVar10 = __src_00;\n      } while (__src_00 < pvVar1);\n    }\n  }" { (expression_statement "__src = (void *)GetStringInfoDatum(iVar4);" (assignment_expression "__src = (void *)GetStringInfoDatum(iVar4)" identifier = (cast_expression "(void *)GetStringInfoDatum(iVar4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "GetStringInfoDatum(iVar4)" identifier (argument_list "(iVar4)" ( identifier ))))) ;) (expression_statement "iVar4 = GetStringInfoLength(iVar4);" (assignment_expression "iVar4 = GetStringInfoLength(iVar4)" identifier = (call_expression "GetStringInfoLength(iVar4)" identifier (argument_list "(iVar4)" ( identifier )))) ;) (expression_statement "pvVar1 = (void *)((int)__src + iVar4 + -0x10);" (assignment_expression "pvVar1 = (void *)((int)__src + iVar4 + -0x10)" identifier = (cast_expression "(void *)((int)__src + iVar4 + -0x10)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__src + iVar4 + -0x10)" ( (binary_expression "(int)__src + iVar4 + -0x10" (binary_expression "(int)__src + iVar4" (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) ;) (if_statement "if (__src < pvVar1) {\n      pvVar10 = __src;\n      do {\n        iVar6 = LocaleNCompare(pvVar10,&DAT_002a239a,4);\n        if (iVar6 != 0) break;\n        puVar9 = (uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)));\n        if ((uint *)((int)__src + iVar4 + -4) < puVar9) break;\n        uVar3 = *puVar9;\n        puVar9 = puVar9 + 1;\n        uVar5 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n        if ((uVar3 >> 0x18 & 1) != 0) {\n          uVar5 = uVar5 + 1;\n        }\n        if ((((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5)) break;\n        __src_00 = (void *)(uVar5 + (int)puVar9);\n        if (local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)) {\n          __n_00 = (int)__src + (iVar4 - (int)__src_00);\n          if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }\n          memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);\n          uVar7 = CloneStringInfo(iVar4);\n          uVar8 = ConstantString(&DAT_002ac062);\n          AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);\n          DestroyStringInfo(iVar4);\n          break;\n        }\n        pvVar10 = __src_00;\n      } while (__src_00 < pvVar1);\n    }" if (parenthesized_expression "(__src < pvVar1)" ( (binary_expression "__src < pvVar1" identifier < identifier) )) (compound_statement "{\n      pvVar10 = __src;\n      do {\n        iVar6 = LocaleNCompare(pvVar10,&DAT_002a239a,4);\n        if (iVar6 != 0) break;\n        puVar9 = (uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)));\n        if ((uint *)((int)__src + iVar4 + -4) < puVar9) break;\n        uVar3 = *puVar9;\n        puVar9 = puVar9 + 1;\n        uVar5 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n        if ((uVar3 >> 0x18 & 1) != 0) {\n          uVar5 = uVar5 + 1;\n        }\n        if ((((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5)) break;\n        __src_00 = (void *)(uVar5 + (int)puVar9);\n        if (local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)) {\n          __n_00 = (int)__src + (iVar4 - (int)__src_00);\n          if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }\n          memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);\n          uVar7 = CloneStringInfo(iVar4);\n          uVar8 = ConstantString(&DAT_002ac062);\n          AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);\n          DestroyStringInfo(iVar4);\n          break;\n        }\n        pvVar10 = __src_00;\n      } while (__src_00 < pvVar1);\n    }" { (expression_statement "pvVar10 = __src;" (assignment_expression "pvVar10 = __src" identifier = identifier) ;) (do_statement "do {\n        iVar6 = LocaleNCompare(pvVar10,&DAT_002a239a,4);\n        if (iVar6 != 0) break;\n        puVar9 = (uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)));\n        if ((uint *)((int)__src + iVar4 + -4) < puVar9) break;\n        uVar3 = *puVar9;\n        puVar9 = puVar9 + 1;\n        uVar5 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n        if ((uVar3 >> 0x18 & 1) != 0) {\n          uVar5 = uVar5 + 1;\n        }\n        if ((((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5)) break;\n        __src_00 = (void *)(uVar5 + (int)puVar9);\n        if (local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)) {\n          __n_00 = (int)__src + (iVar4 - (int)__src_00);\n          if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }\n          memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);\n          uVar7 = CloneStringInfo(iVar4);\n          uVar8 = ConstantString(&DAT_002ac062);\n          AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);\n          DestroyStringInfo(iVar4);\n          break;\n        }\n        pvVar10 = __src_00;\n      } while (__src_00 < pvVar1);" do (compound_statement "{\n        iVar6 = LocaleNCompare(pvVar10,&DAT_002a239a,4);\n        if (iVar6 != 0) break;\n        puVar9 = (uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)));\n        if ((uint *)((int)__src + iVar4 + -4) < puVar9) break;\n        uVar3 = *puVar9;\n        puVar9 = puVar9 + 1;\n        uVar5 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n        if ((uVar3 >> 0x18 & 1) != 0) {\n          uVar5 = uVar5 + 1;\n        }\n        if ((((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5)) break;\n        __src_00 = (void *)(uVar5 + (int)puVar9);\n        if (local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)) {\n          __n_00 = (int)__src + (iVar4 - (int)__src_00);\n          if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }\n          memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);\n          uVar7 = CloneStringInfo(iVar4);\n          uVar8 = ConstantString(&DAT_002ac062);\n          AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);\n          DestroyStringInfo(iVar4);\n          break;\n        }\n        pvVar10 = __src_00;\n      }" { (expression_statement "iVar6 = LocaleNCompare(pvVar10,&DAT_002a239a,4);" (assignment_expression "iVar6 = LocaleNCompare(pvVar10,&DAT_002a239a,4)" identifier = (call_expression "LocaleNCompare(pvVar10,&DAT_002a239a,4)" identifier (argument_list "(pvVar10,&DAT_002a239a,4)" ( identifier , (pointer_expression "&DAT_002a239a" & identifier) , number_literal )))) ;) (if_statement "if (iVar6 != 0) break;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "puVar9 = (uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)));" (assignment_expression "puVar9 = (uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)))" identifier = (cast_expression "(uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)))" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)))" ( (binary_expression "(int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0))" (cast_expression "(int)pvVar10" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0))" ( (binary_expression "(*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)" (parenthesized_expression "(*(byte *)((int)pvVar10 + 6) + 8)" ( (binary_expression "*(byte *)((int)pvVar10 + 6) + 8" (pointer_expression "*(byte *)((int)pvVar10 + 6)" * (cast_expression "(byte *)((int)pvVar10 + 6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar10 + 6)" ( (binary_expression "(int)pvVar10 + 6" (cast_expression "(int)pvVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + number_literal) )) - (call_expression "(uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)" ( (binary_expression "(*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0" (parenthesized_expression "(*(byte *)((int)pvVar10 + 6) + 1 & 1)" ( (binary_expression "*(byte *)((int)pvVar10 + 6) + 1 & 1" (binary_expression "*(byte *)((int)pvVar10 + 6) + 1" (pointer_expression "*(byte *)((int)pvVar10 + 6)" * (cast_expression "(byte *)((int)pvVar10 + 6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar10 + 6)" ( (binary_expression "(int)pvVar10 + 6" (cast_expression "(int)pvVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + number_literal) & number_literal) )) == number_literal) )))) ))) )))) ;) (if_statement "if ((uint *)((int)__src + iVar4 + -4) < puVar9) break;" if (parenthesized_expression "((uint *)((int)__src + iVar4 + -4) < puVar9)" ( (binary_expression "(uint *)((int)__src + iVar4 + -4) < puVar9" (cast_expression "(uint *)((int)__src + iVar4 + -4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__src + iVar4 + -4)" ( (binary_expression "(int)__src + iVar4 + -4" (binary_expression "(int)__src + iVar4" (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ))) < identifier) )) (break_statement "break;" break ;)) (expression_statement "uVar3 = *puVar9;" (assignment_expression "uVar3 = *puVar9" identifier = (pointer_expression "*puVar9" * identifier)) ;) (expression_statement "puVar9 = puVar9 + 1;" (assignment_expression "puVar9 = puVar9 + 1" identifier = (binary_expression "puVar9 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;" (assignment_expression "uVar5 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" identifier = (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" ( (binary_expression "uVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" ( (binary_expression "uVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal))) ;) (if_statement "if ((uVar3 >> 0x18 & 1) != 0) {\n          uVar5 = uVar5 + 1;\n        }" if (parenthesized_expression "((uVar3 >> 0x18 & 1) != 0)" ( (binary_expression "(uVar3 >> 0x18 & 1) != 0" (parenthesized_expression "(uVar3 >> 0x18 & 1)" ( (binary_expression "uVar3 >> 0x18 & 1" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) & number_literal) )) != number_literal) )) (compound_statement "{\n          uVar5 = uVar5 + 1;\n        }" { (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) })) (if_statement "if ((((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5)) break;" if (parenthesized_expression "((((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5))" ( (binary_expression "(((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5)" (parenthesized_expression "(((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9))" ( (binary_expression "((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)" (parenthesized_expression "((int)uVar5 < 0)" ( (binary_expression "(int)uVar5 < 0" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) || (parenthesized_expression "((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)" ( (binary_expression "(uint *)((iVar4 - uVar5) + (int)__src) < puVar9" (cast_expression "(uint *)((iVar4 - uVar5) + (int)__src)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((iVar4 - uVar5) + (int)__src)" ( (binary_expression "(iVar4 - uVar5) + (int)__src" (parenthesized_expression "(iVar4 - uVar5)" ( (binary_expression "iVar4 - uVar5" identifier - identifier) )) + (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier)) ))) < identifier) ))) )) || (parenthesized_expression "(iVar4 < (int)uVar5)" ( (binary_expression "iVar4 < (int)uVar5" identifier < (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )) (break_statement "break;" break ;)) (expression_statement "__src_00 = (void *)(uVar5 + (int)puVar9);" (assignment_expression "__src_00 = (void *)(uVar5 + (int)puVar9)" identifier = (cast_expression "(void *)(uVar5 + (int)puVar9)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar5 + (int)puVar9)" ( (binary_expression "uVar5 + (int)puVar9" identifier + (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (if_statement "if (local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)) {\n          __n_00 = (int)__src + (iVar4 - (int)__src_00);\n          if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }\n          memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);\n          uVar7 = CloneStringInfo(iVar4);\n          uVar8 = ConstantString(&DAT_002ac062);\n          AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);\n          DestroyStringInfo(iVar4);\n          break;\n        }" if (parenthesized_expression "(local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8))" ( (binary_expression "local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)" identifier == (call_expression "(ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)" (parenthesized_expression "(ushort)" ( identifier )) (argument_list "(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)" ( (binary_expression "*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8" (binary_expression "*(ushort *)((int)pvVar10 + 4) << 8" (pointer_expression "*(ushort *)((int)pvVar10 + 4)" * (cast_expression "(ushort *)((int)pvVar10 + 4)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar10 + 4)" ( (binary_expression "(int)pvVar10 + 4" (cast_expression "(int)pvVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) << number_literal) | (binary_expression "*(ushort *)((int)pvVar10 + 4) >> 8" (pointer_expression "*(ushort *)((int)pvVar10 + 4)" * (cast_expression "(ushort *)((int)pvVar10 + 4)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar10 + 4)" ( (binary_expression "(int)pvVar10 + 4" (cast_expression "(int)pvVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) >> number_literal)) )))) )) (compound_statement "{\n          __n_00 = (int)__src + (iVar4 - (int)__src_00);\n          if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }\n          memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);\n          uVar7 = CloneStringInfo(iVar4);\n          uVar8 = ConstantString(&DAT_002ac062);\n          AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);\n          DestroyStringInfo(iVar4);\n          break;\n        }" { (expression_statement "__n_00 = (int)__src + (iVar4 - (int)__src_00);" (assignment_expression "__n_00 = (int)__src + (iVar4 - (int)__src_00)" identifier = (binary_expression "(int)__src + (iVar4 - (int)__src_00)" (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(iVar4 - (int)__src_00)" ( (binary_expression "iVar4 - (int)__src_00" identifier - (cast_expression "(int)__src_00" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (if_statement "if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }" { (expression_statement "__n = (int)pvVar10 - (int)__src;" (assignment_expression "__n = (int)pvVar10 - (int)__src" identifier = (binary_expression "(int)pvVar10 - (int)__src" (cast_expression "(int)pvVar10" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "iVar4 = AcquireStringInfo(__n_00 + __n);" (assignment_expression "iVar4 = AcquireStringInfo(__n_00 + __n)" identifier = (call_expression "AcquireStringInfo(__n_00 + __n)" identifier (argument_list "(__n_00 + __n)" ( (binary_expression "__n_00 + __n" identifier + identifier) )))) ;) (expression_statement "memcpy(*(void **)(iVar4 + 4),__src,__n);" (call_expression "memcpy(*(void **)(iVar4 + 4),__src,__n)" identifier (argument_list "(*(void **)(iVar4 + 4),__src,__n)" ( (pointer_expression "*(void **)(iVar4 + 4)" * (cast_expression "(void **)(iVar4 + 4)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) )))) , identifier , identifier ))) ;) (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" identifier = number_literal) ;) }) (else_clause "else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }" else (compound_statement "{\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }" { (expression_statement "__n = (int)puVar9 - (int)__src;" (assignment_expression "__n = (int)puVar9 - (int)__src" identifier = (binary_expression "(int)puVar9 - (int)__src" (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);" (assignment_expression "local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0)" identifier = (binary_expression "(*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0)" (parenthesized_expression "(*(uint *)(param_3 + 8) + 1)" ( (binary_expression "*(uint *)(param_3 + 8) + 1" (pointer_expression "*(uint *)(param_3 + 8)" * (cast_expression "(uint *)(param_3 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) + number_literal) )) - (call_expression "(uint)((*(uint *)(param_3 + 8) & 1) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((*(uint *)(param_3 + 8) & 1) == 0)" ( (binary_expression "(*(uint *)(param_3 + 8) & 1) == 0" (parenthesized_expression "(*(uint *)(param_3 + 8) & 1)" ( (binary_expression "*(uint *)(param_3 + 8) & 1" (pointer_expression "*(uint *)(param_3 + 8)" * (cast_expression "(uint *)(param_3 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) & number_literal) )) == number_literal) ))))) ;) (expression_statement "iVar4 = AcquireStringInfo(__n_00 + __n + local_48);" (assignment_expression "iVar4 = AcquireStringInfo(__n_00 + __n + local_48)" identifier = (call_expression "AcquireStringInfo(__n_00 + __n + local_48)" identifier (argument_list "(__n_00 + __n + local_48)" ( (binary_expression "__n_00 + __n + local_48" (binary_expression "__n_00 + __n" identifier + identifier) + identifier) )))) ;) (expression_statement "memcpy(*(void **)(iVar4 + 4),__src,__n - 4);" (call_expression "memcpy(*(void **)(iVar4 + 4),__src,__n - 4)" identifier (argument_list "(*(void **)(iVar4 + 4),__src,__n - 4)" ( (pointer_expression "*(void **)(iVar4 + 4)" * (cast_expression "(void **)(iVar4 + 4)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) )))) , identifier , (binary_expression "__n - 4" identifier - number_literal) ))) ;) (expression_statement "uVar3 = *(uint *)(param_3 + 8);" (assignment_expression "uVar3 = *(uint *)(param_3 + 8)" identifier = (pointer_expression "*(uint *)(param_3 + 8)" * (cast_expression "(uint *)(param_3 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;" (assignment_expression "*(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18" (pointer_expression "*(uint *)((__n - 4) + *(int *)(iVar4 + 4))" * (cast_expression "(uint *)((__n - 4) + *(int *)(iVar4 + 4))" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((__n - 4) + *(int *)(iVar4 + 4))" ( (binary_expression "(__n - 4) + *(int *)(iVar4 + 4)" (parenthesized_expression "(__n - 4)" ( (binary_expression "__n - 4" identifier - number_literal) )) + (pointer_expression "*(int *)(iVar4 + 4)" * (cast_expression "(int *)(iVar4 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) ))))) )))) = (binary_expression "(uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18" (binary_expression "(uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10" (cast_expression "(uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18))" identifier (argument_list "((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18))" ( (cast_expression "(char)(uVar3 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar3 >> 0x10)" ( (binary_expression "uVar3 >> 0x10" identifier >> number_literal) ))) , (cast_expression "(char)(uVar3 >> 0x18)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar3 >> 0x18)" ( (binary_expression "uVar3 >> 0x18" identifier >> number_literal) ))) )))) | (binary_expression "(uVar3 >> 8 & 0xff) << 0x10" (parenthesized_expression "(uVar3 >> 8 & 0xff)" ( (binary_expression "uVar3 >> 8 & 0xff" (binary_expression "uVar3 >> 8" identifier >> number_literal) & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal))) ;) (expression_statement "memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));" (call_expression "memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8))" identifier (argument_list "((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8))" ( (cast_expression "(void *)(*(int *)(iVar4 + 4) + __n)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar4 + 4) + __n)" ( (binary_expression "*(int *)(iVar4 + 4) + __n" (pointer_expression "*(int *)(iVar4 + 4)" * (cast_expression "(int *)(iVar4 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) )))) + identifier) ))) , (pointer_expression "*(void **)(param_3 + 4)" * (cast_expression "(void **)(param_3 + 4)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) , (pointer_expression "*(size_t *)(param_3 + 8)" * (cast_expression "(size_t *)(param_3 + 8)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) ))) ;) }))) (expression_statement "memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);" (call_expression "memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00)" identifier (argument_list "((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00)" ( (cast_expression "(void *)(local_48 + __n + *(int *)(iVar4 + 4))" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_48 + __n + *(int *)(iVar4 + 4))" ( (binary_expression "local_48 + __n + *(int *)(iVar4 + 4)" (binary_expression "local_48 + __n" identifier + identifier) + (pointer_expression "*(int *)(iVar4 + 4)" * (cast_expression "(int *)(iVar4 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) ))))) ))) , identifier , identifier ))) ;) (expression_statement "uVar7 = CloneStringInfo(iVar4);" (assignment_expression "uVar7 = CloneStringInfo(iVar4)" identifier = (call_expression "CloneStringInfo(iVar4)" identifier (argument_list "(iVar4)" ( identifier )))) ;) (expression_statement "uVar8 = ConstantString(&DAT_002ac062);" (assignment_expression "uVar8 = ConstantString(&DAT_002ac062)" identifier = (call_expression "ConstantString(&DAT_002ac062)" identifier (argument_list "(&DAT_002ac062)" ( (pointer_expression "&DAT_002ac062" & identifier) )))) ;) (expression_statement "AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);" (call_expression "AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x1d8)" * (cast_expression "(undefined4 *)(param_1 + 0x1d8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1d8)" ( (binary_expression "param_1 + 0x1d8" identifier + number_literal) )))) , identifier , identifier ))) ;) (expression_statement "DestroyStringInfo(iVar4);" (call_expression "DestroyStringInfo(iVar4)" identifier (argument_list "(iVar4)" ( identifier ))) ;) (break_statement "break;" break ;) })) (expression_statement "pvVar10 = __src_00;" (assignment_expression "pvVar10 = __src_00" identifier = identifier) ;) }) while (parenthesized_expression "(__src_00 < pvVar1)" ( (binary_expression "__src_00 < pvVar1" identifier < identifier) )) ;) })) })) (labeled_statement "LAB_00129670:\n  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }" statement_identifier : (if_statement "if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\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                    \n    FUN_0029eab0();\n  }" { (expression_statement "FUN_0029eab0();" (call_expression "FUN_0029eab0()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE 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 (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE 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 = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) }))) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) + LIT) )) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) + LIT) & LIT) )) == LIT) )))) ))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) ))) < IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT >> LIT) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) || (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) < IDENT) ))) )) || (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) << LIT) | (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) >> LIT)) )))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression IDENT - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + IDENT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression (binary_expression IDENT + IDENT) + IDENT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT - LIT) )) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT >> LIT) ))) , (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT >> LIT) ))) )))) | (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT >> LIT) & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT) ))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) }))) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (break_statement break ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) })) (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 { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00129530(int param_1,undefined4 param_2,int param_3)\n\n{\n  void *pvVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  void *__src;\n  uint uVar5;\n  void *__src_00;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  uint *puVar9;\n  void *pvVar10;\n  size_t __n;\n  size_t __n_00;\n  int in_GS_OFFSET;\n  ushort local_4c;\n  int local_48;\n  \n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar4 = LocaleCompare(param_2,&DAT_002a81ca);\n  if (iVar4 == 0) {\n    local_4c = 0x40f;\n  }\n  else {\n    iVar4 = LocaleCompare(param_2,&DAT_002ac05d);\n    if (iVar4 == 0) {\n      local_4c = 0x404;\n    }\n    else {\n      iVar4 = LocaleCompare(param_2,&DAT_002c01f4);\n      local_4c = 0x424;\n      if (iVar4 != 0) goto LAB_00129670;\n    }\n  }\n  iVar4 = GetValueFromSplayTree(*(undefined4 *)(param_1 + 0x1d8),&DAT_002ac062);\n  if (iVar4 != 0) {\n    __src = (void *)GetStringInfoDatum(iVar4);\n    iVar4 = GetStringInfoLength(iVar4);\n    pvVar1 = (void *)((int)__src + iVar4 + -0x10);\n    if (__src < pvVar1) {\n      pvVar10 = __src;\n      do {\n        iVar6 = LocaleNCompare(pvVar10,&DAT_002a239a,4);\n        if (iVar6 != 0) break;\n        puVar9 = (uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)));\n        if ((uint *)((int)__src + iVar4 + -4) < puVar9) break;\n        uVar3 = *puVar9;\n        puVar9 = puVar9 + 1;\n        uVar5 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n        if ((uVar3 >> 0x18 & 1) != 0) {\n          uVar5 = uVar5 + 1;\n        }\n        if ((((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5)) break;\n        __src_00 = (void *)(uVar5 + (int)puVar9);\n        if (local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)) {\n          __n_00 = (int)__src + (iVar4 - (int)__src_00);\n          if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }\n          memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);\n          uVar7 = CloneStringInfo(iVar4);\n          uVar8 = ConstantString(&DAT_002ac062);\n          AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);\n          DestroyStringInfo(iVar4);\n          break;\n        }\n        pvVar10 = __src_00;\n      } while (__src_00 < pvVar1);\n    }\n  }\nLAB_00129670:\n  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00129530(int param_1,undefined4 param_2,int param_3)" (identifier "FUN_00129530") (parameter_list "(int param_1,undefined4 param_2,int param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  void *pvVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  void *__src;\n  uint uVar5;\n  void *__src_00;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  uint *puVar9;\n  void *pvVar10;\n  size_t __n;\n  size_t __n_00;\n  int in_GS_OFFSET;\n  ushort local_4c;\n  int local_48;\n  \n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar4 = LocaleCompare(param_2,&DAT_002a81ca);\n  if (iVar4 == 0) {\n    local_4c = 0x40f;\n  }\n  else {\n    iVar4 = LocaleCompare(param_2,&DAT_002ac05d);\n    if (iVar4 == 0) {\n      local_4c = 0x404;\n    }\n    else {\n      iVar4 = LocaleCompare(param_2,&DAT_002c01f4);\n      local_4c = 0x424;\n      if (iVar4 != 0) goto LAB_00129670;\n    }\n  }\n  iVar4 = GetValueFromSplayTree(*(undefined4 *)(param_1 + 0x1d8),&DAT_002ac062);\n  if (iVar4 != 0) {\n    __src = (void *)GetStringInfoDatum(iVar4);\n    iVar4 = GetStringInfoLength(iVar4);\n    pvVar1 = (void *)((int)__src + iVar4 + -0x10);\n    if (__src < pvVar1) {\n      pvVar10 = __src;\n      do {\n        iVar6 = LocaleNCompare(pvVar10,&DAT_002a239a,4);\n        if (iVar6 != 0) break;\n        puVar9 = (uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)));\n        if ((uint *)((int)__src + iVar4 + -4) < puVar9) break;\n        uVar3 = *puVar9;\n        puVar9 = puVar9 + 1;\n        uVar5 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n        if ((uVar3 >> 0x18 & 1) != 0) {\n          uVar5 = uVar5 + 1;\n        }\n        if ((((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5)) break;\n        __src_00 = (void *)(uVar5 + (int)puVar9);\n        if (local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)) {\n          __n_00 = (int)__src + (iVar4 - (int)__src_00);\n          if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }\n          memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);\n          uVar7 = CloneStringInfo(iVar4);\n          uVar8 = ConstantString(&DAT_002ac062);\n          AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);\n          DestroyStringInfo(iVar4);\n          break;\n        }\n        pvVar10 = __src_00;\n      } while (__src_00 < pvVar1);\n    }\n  }\nLAB_00129670:\n  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }\n  return;\n}" ({ "{") (declaration "void *pvVar1;" (primitive_type "void") (pointer_declarator "*pvVar1" (* "*") (identifier "pvVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "void *__src;" (primitive_type "void") (pointer_declarator "*__src" (* "*") (identifier "__src")) (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "void *__src_00;" (primitive_type "void") (pointer_declarator "*__src_00" (* "*") (identifier "__src_00")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "undefined4 uVar8;" (type_identifier "undefined4") (identifier "uVar8") (; ";")) (declaration "uint *puVar9;" (type_identifier "uint") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "void *pvVar10;" (primitive_type "void") (pointer_declarator "*pvVar10" (* "*") (identifier "pvVar10")) (; ";")) (declaration "size_t __n;" (primitive_type "size_t") (identifier "__n") (; ";")) (declaration "size_t __n_00;" (primitive_type "size_t") (identifier "__n_00") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "ushort local_4c;" (type_identifier "ushort") (identifier "local_4c") (; ";")) (declaration "int local_48;" (primitive_type "int") (identifier "local_48") (; ";")) (expression_statement "iVar2 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar2 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "iVar4 = LocaleCompare(param_2,&DAT_002a81ca);" (assignment_expression "iVar4 = LocaleCompare(param_2,&DAT_002a81ca)" (identifier "iVar4") (= "=") (call_expression "LocaleCompare(param_2,&DAT_002a81ca)" (identifier "LocaleCompare") (argument_list "(param_2,&DAT_002a81ca)" (( "(") (identifier "param_2") (, ",") (pointer_expression "&DAT_002a81ca" (& "&") (identifier "DAT_002a81ca")) () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n    local_4c = 0x40f;\n  }\n  else {\n    iVar4 = LocaleCompare(param_2,&DAT_002ac05d);\n    if (iVar4 == 0) {\n      local_4c = 0x404;\n    }\n    else {\n      iVar4 = LocaleCompare(param_2,&DAT_002c01f4);\n      local_4c = 0x424;\n      if (iVar4 != 0) goto LAB_00129670;\n    }\n  }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    local_4c = 0x40f;\n  }" ({ "{") (expression_statement "local_4c = 0x40f;" (assignment_expression "local_4c = 0x40f" (identifier "local_4c") (= "=") (number_literal "0x40f")) (; ";")) (} "}")) (else_clause "else {\n    iVar4 = LocaleCompare(param_2,&DAT_002ac05d);\n    if (iVar4 == 0) {\n      local_4c = 0x404;\n    }\n    else {\n      iVar4 = LocaleCompare(param_2,&DAT_002c01f4);\n      local_4c = 0x424;\n      if (iVar4 != 0) goto LAB_00129670;\n    }\n  }" (else "else") (compound_statement "{\n    iVar4 = LocaleCompare(param_2,&DAT_002ac05d);\n    if (iVar4 == 0) {\n      local_4c = 0x404;\n    }\n    else {\n      iVar4 = LocaleCompare(param_2,&DAT_002c01f4);\n      local_4c = 0x424;\n      if (iVar4 != 0) goto LAB_00129670;\n    }\n  }" ({ "{") (expression_statement "iVar4 = LocaleCompare(param_2,&DAT_002ac05d);" (assignment_expression "iVar4 = LocaleCompare(param_2,&DAT_002ac05d)" (identifier "iVar4") (= "=") (call_expression "LocaleCompare(param_2,&DAT_002ac05d)" (identifier "LocaleCompare") (argument_list "(param_2,&DAT_002ac05d)" (( "(") (identifier "param_2") (, ",") (pointer_expression "&DAT_002ac05d" (& "&") (identifier "DAT_002ac05d")) () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n      local_4c = 0x404;\n    }\n    else {\n      iVar4 = LocaleCompare(param_2,&DAT_002c01f4);\n      local_4c = 0x424;\n      if (iVar4 != 0) goto LAB_00129670;\n    }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      local_4c = 0x404;\n    }" ({ "{") (expression_statement "local_4c = 0x404;" (assignment_expression "local_4c = 0x404" (identifier "local_4c") (= "=") (number_literal "0x404")) (; ";")) (} "}")) (else_clause "else {\n      iVar4 = LocaleCompare(param_2,&DAT_002c01f4);\n      local_4c = 0x424;\n      if (iVar4 != 0) goto LAB_00129670;\n    }" (else "else") (compound_statement "{\n      iVar4 = LocaleCompare(param_2,&DAT_002c01f4);\n      local_4c = 0x424;\n      if (iVar4 != 0) goto LAB_00129670;\n    }" ({ "{") (expression_statement "iVar4 = LocaleCompare(param_2,&DAT_002c01f4);" (assignment_expression "iVar4 = LocaleCompare(param_2,&DAT_002c01f4)" (identifier "iVar4") (= "=") (call_expression "LocaleCompare(param_2,&DAT_002c01f4)" (identifier "LocaleCompare") (argument_list "(param_2,&DAT_002c01f4)" (( "(") (identifier "param_2") (, ",") (pointer_expression "&DAT_002c01f4" (& "&") (identifier "DAT_002c01f4")) () ")")))) (; ";")) (expression_statement "local_4c = 0x424;" (assignment_expression "local_4c = 0x424" (identifier "local_4c") (= "=") (number_literal "0x424")) (; ";")) (if_statement "if (iVar4 != 0) goto LAB_00129670;" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00129670;" (goto "goto") (statement_identifier "LAB_00129670") (; ";"))) (} "}")))) (} "}")))) (expression_statement "iVar4 = GetValueFromSplayTree(*(undefined4 *)(param_1 + 0x1d8),&DAT_002ac062);" (assignment_expression "iVar4 = GetValueFromSplayTree(*(undefined4 *)(param_1 + 0x1d8),&DAT_002ac062)" (identifier "iVar4") (= "=") (call_expression "GetValueFromSplayTree(*(undefined4 *)(param_1 + 0x1d8),&DAT_002ac062)" (identifier "GetValueFromSplayTree") (argument_list "(*(undefined4 *)(param_1 + 0x1d8),&DAT_002ac062)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x1d8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x1d8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1d8)" (( "(") (binary_expression "param_1 + 0x1d8" (identifier "param_1") (+ "+") (number_literal "0x1d8")) () ")")))) (, ",") (pointer_expression "&DAT_002ac062" (& "&") (identifier "DAT_002ac062")) () ")")))) (; ";")) (if_statement "if (iVar4 != 0) {\n    __src = (void *)GetStringInfoDatum(iVar4);\n    iVar4 = GetStringInfoLength(iVar4);\n    pvVar1 = (void *)((int)__src + iVar4 + -0x10);\n    if (__src < pvVar1) {\n      pvVar10 = __src;\n      do {\n        iVar6 = LocaleNCompare(pvVar10,&DAT_002a239a,4);\n        if (iVar6 != 0) break;\n        puVar9 = (uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)));\n        if ((uint *)((int)__src + iVar4 + -4) < puVar9) break;\n        uVar3 = *puVar9;\n        puVar9 = puVar9 + 1;\n        uVar5 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n        if ((uVar3 >> 0x18 & 1) != 0) {\n          uVar5 = uVar5 + 1;\n        }\n        if ((((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5)) break;\n        __src_00 = (void *)(uVar5 + (int)puVar9);\n        if (local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)) {\n          __n_00 = (int)__src + (iVar4 - (int)__src_00);\n          if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }\n          memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);\n          uVar7 = CloneStringInfo(iVar4);\n          uVar8 = ConstantString(&DAT_002ac062);\n          AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);\n          DestroyStringInfo(iVar4);\n          break;\n        }\n        pvVar10 = __src_00;\n      } while (__src_00 < pvVar1);\n    }\n  }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    __src = (void *)GetStringInfoDatum(iVar4);\n    iVar4 = GetStringInfoLength(iVar4);\n    pvVar1 = (void *)((int)__src + iVar4 + -0x10);\n    if (__src < pvVar1) {\n      pvVar10 = __src;\n      do {\n        iVar6 = LocaleNCompare(pvVar10,&DAT_002a239a,4);\n        if (iVar6 != 0) break;\n        puVar9 = (uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)));\n        if ((uint *)((int)__src + iVar4 + -4) < puVar9) break;\n        uVar3 = *puVar9;\n        puVar9 = puVar9 + 1;\n        uVar5 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n        if ((uVar3 >> 0x18 & 1) != 0) {\n          uVar5 = uVar5 + 1;\n        }\n        if ((((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5)) break;\n        __src_00 = (void *)(uVar5 + (int)puVar9);\n        if (local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)) {\n          __n_00 = (int)__src + (iVar4 - (int)__src_00);\n          if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }\n          memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);\n          uVar7 = CloneStringInfo(iVar4);\n          uVar8 = ConstantString(&DAT_002ac062);\n          AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);\n          DestroyStringInfo(iVar4);\n          break;\n        }\n        pvVar10 = __src_00;\n      } while (__src_00 < pvVar1);\n    }\n  }" ({ "{") (expression_statement "__src = (void *)GetStringInfoDatum(iVar4);" (assignment_expression "__src = (void *)GetStringInfoDatum(iVar4)" (identifier "__src") (= "=") (cast_expression "(void *)GetStringInfoDatum(iVar4)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "GetStringInfoDatum(iVar4)" (identifier "GetStringInfoDatum") (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")"))))) (; ";")) (expression_statement "iVar4 = GetStringInfoLength(iVar4);" (assignment_expression "iVar4 = GetStringInfoLength(iVar4)" (identifier "iVar4") (= "=") (call_expression "GetStringInfoLength(iVar4)" (identifier "GetStringInfoLength") (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")")))) (; ";")) (expression_statement "pvVar1 = (void *)((int)__src + iVar4 + -0x10);" (assignment_expression "pvVar1 = (void *)((int)__src + iVar4 + -0x10)" (identifier "pvVar1") (= "=") (cast_expression "(void *)((int)__src + iVar4 + -0x10)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)__src + iVar4 + -0x10)" (( "(") (binary_expression "(int)__src + iVar4 + -0x10" (binary_expression "(int)__src + iVar4" (cast_expression "(int)__src" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__src")) (+ "+") (identifier "iVar4")) (+ "+") (number_literal "-0x10")) () ")")))) (; ";")) (if_statement "if (__src < pvVar1) {\n      pvVar10 = __src;\n      do {\n        iVar6 = LocaleNCompare(pvVar10,&DAT_002a239a,4);\n        if (iVar6 != 0) break;\n        puVar9 = (uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)));\n        if ((uint *)((int)__src + iVar4 + -4) < puVar9) break;\n        uVar3 = *puVar9;\n        puVar9 = puVar9 + 1;\n        uVar5 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n        if ((uVar3 >> 0x18 & 1) != 0) {\n          uVar5 = uVar5 + 1;\n        }\n        if ((((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5)) break;\n        __src_00 = (void *)(uVar5 + (int)puVar9);\n        if (local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)) {\n          __n_00 = (int)__src + (iVar4 - (int)__src_00);\n          if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }\n          memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);\n          uVar7 = CloneStringInfo(iVar4);\n          uVar8 = ConstantString(&DAT_002ac062);\n          AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);\n          DestroyStringInfo(iVar4);\n          break;\n        }\n        pvVar10 = __src_00;\n      } while (__src_00 < pvVar1);\n    }" (if "if") (parenthesized_expression "(__src < pvVar1)" (( "(") (binary_expression "__src < pvVar1" (identifier "__src") (< "<") (identifier "pvVar1")) () ")")) (compound_statement "{\n      pvVar10 = __src;\n      do {\n        iVar6 = LocaleNCompare(pvVar10,&DAT_002a239a,4);\n        if (iVar6 != 0) break;\n        puVar9 = (uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)));\n        if ((uint *)((int)__src + iVar4 + -4) < puVar9) break;\n        uVar3 = *puVar9;\n        puVar9 = puVar9 + 1;\n        uVar5 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n        if ((uVar3 >> 0x18 & 1) != 0) {\n          uVar5 = uVar5 + 1;\n        }\n        if ((((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5)) break;\n        __src_00 = (void *)(uVar5 + (int)puVar9);\n        if (local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)) {\n          __n_00 = (int)__src + (iVar4 - (int)__src_00);\n          if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }\n          memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);\n          uVar7 = CloneStringInfo(iVar4);\n          uVar8 = ConstantString(&DAT_002ac062);\n          AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);\n          DestroyStringInfo(iVar4);\n          break;\n        }\n        pvVar10 = __src_00;\n      } while (__src_00 < pvVar1);\n    }" ({ "{") (expression_statement "pvVar10 = __src;" (assignment_expression "pvVar10 = __src" (identifier "pvVar10") (= "=") (identifier "__src")) (; ";")) (do_statement "do {\n        iVar6 = LocaleNCompare(pvVar10,&DAT_002a239a,4);\n        if (iVar6 != 0) break;\n        puVar9 = (uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)));\n        if ((uint *)((int)__src + iVar4 + -4) < puVar9) break;\n        uVar3 = *puVar9;\n        puVar9 = puVar9 + 1;\n        uVar5 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n        if ((uVar3 >> 0x18 & 1) != 0) {\n          uVar5 = uVar5 + 1;\n        }\n        if ((((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5)) break;\n        __src_00 = (void *)(uVar5 + (int)puVar9);\n        if (local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)) {\n          __n_00 = (int)__src + (iVar4 - (int)__src_00);\n          if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }\n          memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);\n          uVar7 = CloneStringInfo(iVar4);\n          uVar8 = ConstantString(&DAT_002ac062);\n          AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);\n          DestroyStringInfo(iVar4);\n          break;\n        }\n        pvVar10 = __src_00;\n      } while (__src_00 < pvVar1);" (do "do") (compound_statement "{\n        iVar6 = LocaleNCompare(pvVar10,&DAT_002a239a,4);\n        if (iVar6 != 0) break;\n        puVar9 = (uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)));\n        if ((uint *)((int)__src + iVar4 + -4) < puVar9) break;\n        uVar3 = *puVar9;\n        puVar9 = puVar9 + 1;\n        uVar5 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n        if ((uVar3 >> 0x18 & 1) != 0) {\n          uVar5 = uVar5 + 1;\n        }\n        if ((((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5)) break;\n        __src_00 = (void *)(uVar5 + (int)puVar9);\n        if (local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)) {\n          __n_00 = (int)__src + (iVar4 - (int)__src_00);\n          if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }\n          memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);\n          uVar7 = CloneStringInfo(iVar4);\n          uVar8 = ConstantString(&DAT_002ac062);\n          AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);\n          DestroyStringInfo(iVar4);\n          break;\n        }\n        pvVar10 = __src_00;\n      }" ({ "{") (expression_statement "iVar6 = LocaleNCompare(pvVar10,&DAT_002a239a,4);" (assignment_expression "iVar6 = LocaleNCompare(pvVar10,&DAT_002a239a,4)" (identifier "iVar6") (= "=") (call_expression "LocaleNCompare(pvVar10,&DAT_002a239a,4)" (identifier "LocaleNCompare") (argument_list "(pvVar10,&DAT_002a239a,4)" (( "(") (identifier "pvVar10") (, ",") (pointer_expression "&DAT_002a239a" (& "&") (identifier "DAT_002a239a")) (, ",") (number_literal "4") () ")")))) (; ";")) (if_statement "if (iVar6 != 0) break;" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "puVar9 = (uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)));" (assignment_expression "puVar9 = (uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)))" (identifier "puVar9") (= "=") (cast_expression "(uint *)((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)))" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)))" (( "(") (binary_expression "(int)pvVar10 +\n                         ((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0))" (cast_expression "(int)pvVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar10")) (+ "+") (parenthesized_expression "((*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0))" (( "(") (binary_expression "(*(byte *)((int)pvVar10 + 6) + 8) -\n                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)" (parenthesized_expression "(*(byte *)((int)pvVar10 + 6) + 8)" (( "(") (binary_expression "*(byte *)((int)pvVar10 + 6) + 8" (pointer_expression "*(byte *)((int)pvVar10 + 6)" (* "*") (cast_expression "(byte *)((int)pvVar10 + 6)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)pvVar10 + 6)" (( "(") (binary_expression "(int)pvVar10 + 6" (cast_expression "(int)pvVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar10")) (+ "+") (number_literal "6")) () ")")))) (+ "+") (number_literal "8")) () ")")) (- "-") (call_expression "(uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)" (( "(") (binary_expression "(*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0" (parenthesized_expression "(*(byte *)((int)pvVar10 + 6) + 1 & 1)" (( "(") (binary_expression "*(byte *)((int)pvVar10 + 6) + 1 & 1" (binary_expression "*(byte *)((int)pvVar10 + 6) + 1" (pointer_expression "*(byte *)((int)pvVar10 + 6)" (* "*") (cast_expression "(byte *)((int)pvVar10 + 6)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)pvVar10 + 6)" (( "(") (binary_expression "(int)pvVar10 + 6" (cast_expression "(int)pvVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar10")) (+ "+") (number_literal "6")) () ")")))) (+ "+") (number_literal "1")) (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")))) () ")"))) () ")")))) (; ";")) (if_statement "if ((uint *)((int)__src + iVar4 + -4) < puVar9) break;" (if "if") (parenthesized_expression "((uint *)((int)__src + iVar4 + -4) < puVar9)" (( "(") (binary_expression "(uint *)((int)__src + iVar4 + -4) < puVar9" (cast_expression "(uint *)((int)__src + iVar4 + -4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)__src + iVar4 + -4)" (( "(") (binary_expression "(int)__src + iVar4 + -4" (binary_expression "(int)__src + iVar4" (cast_expression "(int)__src" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__src")) (+ "+") (identifier "iVar4")) (+ "+") (number_literal "-4")) () ")"))) (< "<") (identifier "puVar9")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar3 = *puVar9;" (assignment_expression "uVar3 = *puVar9" (identifier "uVar3") (= "=") (pointer_expression "*puVar9" (* "*") (identifier "puVar9"))) (; ";")) (expression_statement "puVar9 = puVar9 + 1;" (assignment_expression "puVar9 = puVar9 + 1" (identifier "puVar9") (= "=") (binary_expression "puVar9 + 1" (identifier "puVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar5 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;" (assignment_expression "uVar5 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (identifier "uVar5") (= "=") (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" (identifier "uVar3") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" (( "(") (binary_expression "uVar3 & 0xff0000" (identifier "uVar3") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" (( "(") (binary_expression "uVar3 & 0xff00" (identifier "uVar3") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar3 << 0x18" (identifier "uVar3") (<< "<<") (number_literal "0x18")))) (; ";")) (if_statement "if ((uVar3 >> 0x18 & 1) != 0) {\n          uVar5 = uVar5 + 1;\n        }" (if "if") (parenthesized_expression "((uVar3 >> 0x18 & 1) != 0)" (( "(") (binary_expression "(uVar3 >> 0x18 & 1) != 0" (parenthesized_expression "(uVar3 >> 0x18 & 1)" (( "(") (binary_expression "uVar3 >> 0x18 & 1" (binary_expression "uVar3 >> 0x18" (identifier "uVar3") (>> ">>") (number_literal "0x18")) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          uVar5 = uVar5 + 1;\n        }" ({ "{") (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" (identifier "uVar5") (= "=") (binary_expression "uVar5 + 1" (identifier "uVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (if_statement "if ((((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5)) break;" (if "if") (parenthesized_expression "((((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5))" (( "(") (binary_expression "(((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||\n           (iVar4 < (int)uVar5)" (parenthesized_expression "(((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9))" (( "(") (binary_expression "((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)" (parenthesized_expression "((int)uVar5 < 0)" (( "(") (binary_expression "(int)uVar5 < 0" (cast_expression "(int)uVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar5")) (< "<") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)" (( "(") (binary_expression "(uint *)((iVar4 - uVar5) + (int)__src) < puVar9" (cast_expression "(uint *)((iVar4 - uVar5) + (int)__src)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((iVar4 - uVar5) + (int)__src)" (( "(") (binary_expression "(iVar4 - uVar5) + (int)__src" (parenthesized_expression "(iVar4 - uVar5)" (( "(") (binary_expression "iVar4 - uVar5" (identifier "iVar4") (- "-") (identifier "uVar5")) () ")")) (+ "+") (cast_expression "(int)__src" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__src"))) () ")"))) (< "<") (identifier "puVar9")) () ")"))) () ")")) (|| "||") (parenthesized_expression "(iVar4 < (int)uVar5)" (( "(") (binary_expression "iVar4 < (int)uVar5" (identifier "iVar4") (< "<") (cast_expression "(int)uVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar5"))) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "__src_00 = (void *)(uVar5 + (int)puVar9);" (assignment_expression "__src_00 = (void *)(uVar5 + (int)puVar9)" (identifier "__src_00") (= "=") (cast_expression "(void *)(uVar5 + (int)puVar9)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar5 + (int)puVar9)" (( "(") (binary_expression "uVar5 + (int)puVar9" (identifier "uVar5") (+ "+") (cast_expression "(int)puVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar9"))) () ")")))) (; ";")) (if_statement "if (local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)) {\n          __n_00 = (int)__src + (iVar4 - (int)__src_00);\n          if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }\n          memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);\n          uVar7 = CloneStringInfo(iVar4);\n          uVar8 = ConstantString(&DAT_002ac062);\n          AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);\n          DestroyStringInfo(iVar4);\n          break;\n        }" (if "if") (parenthesized_expression "(local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8))" (( "(") (binary_expression "local_4c ==\n            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)" (identifier "local_4c") (== "==") (call_expression "(ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)" (parenthesized_expression "(ushort)" (( "(") (identifier "ushort") () ")")) (argument_list "(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)" (( "(") (binary_expression "*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8" (binary_expression "*(ushort *)((int)pvVar10 + 4) << 8" (pointer_expression "*(ushort *)((int)pvVar10 + 4)" (* "*") (cast_expression "(ushort *)((int)pvVar10 + 4)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)pvVar10 + 4)" (( "(") (binary_expression "(int)pvVar10 + 4" (cast_expression "(int)pvVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar10")) (+ "+") (number_literal "4")) () ")")))) (<< "<<") (number_literal "8")) (| "|") (binary_expression "*(ushort *)((int)pvVar10 + 4) >> 8" (pointer_expression "*(ushort *)((int)pvVar10 + 4)" (* "*") (cast_expression "(ushort *)((int)pvVar10 + 4)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)pvVar10 + 4)" (( "(") (binary_expression "(int)pvVar10 + 4" (cast_expression "(int)pvVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar10")) (+ "+") (number_literal "4")) () ")")))) (>> ">>") (number_literal "8"))) () ")")))) () ")")) (compound_statement "{\n          __n_00 = (int)__src + (iVar4 - (int)__src_00);\n          if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }\n          memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);\n          uVar7 = CloneStringInfo(iVar4);\n          uVar8 = ConstantString(&DAT_002ac062);\n          AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);\n          DestroyStringInfo(iVar4);\n          break;\n        }" ({ "{") (expression_statement "__n_00 = (int)__src + (iVar4 - (int)__src_00);" (assignment_expression "__n_00 = (int)__src + (iVar4 - (int)__src_00)" (identifier "__n_00") (= "=") (binary_expression "(int)__src + (iVar4 - (int)__src_00)" (cast_expression "(int)__src" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__src")) (+ "+") (parenthesized_expression "(iVar4 - (int)__src_00)" (( "(") (binary_expression "iVar4 - (int)__src_00" (identifier "iVar4") (- "-") (cast_expression "(int)__src_00" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__src_00"))) () ")")))) (; ";")) (if_statement "if (param_3 == 0) {\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }\n          else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            __n = (int)pvVar10 - (int)__src;\n            iVar4 = AcquireStringInfo(__n_00 + __n);\n            memcpy(*(void **)(iVar4 + 4),__src,__n);\n            local_48 = 0;\n          }" ({ "{") (expression_statement "__n = (int)pvVar10 - (int)__src;" (assignment_expression "__n = (int)pvVar10 - (int)__src" (identifier "__n") (= "=") (binary_expression "(int)pvVar10 - (int)__src" (cast_expression "(int)pvVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar10")) (- "-") (cast_expression "(int)__src" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__src")))) (; ";")) (expression_statement "iVar4 = AcquireStringInfo(__n_00 + __n);" (assignment_expression "iVar4 = AcquireStringInfo(__n_00 + __n)" (identifier "iVar4") (= "=") (call_expression "AcquireStringInfo(__n_00 + __n)" (identifier "AcquireStringInfo") (argument_list "(__n_00 + __n)" (( "(") (binary_expression "__n_00 + __n" (identifier "__n_00") (+ "+") (identifier "__n")) () ")")))) (; ";")) (expression_statement "memcpy(*(void **)(iVar4 + 4),__src,__n);" (call_expression "memcpy(*(void **)(iVar4 + 4),__src,__n)" (identifier "memcpy") (argument_list "(*(void **)(iVar4 + 4),__src,__n)" (( "(") (pointer_expression "*(void **)(iVar4 + 4)" (* "*") (cast_expression "(void **)(iVar4 + 4)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar4 + 4)" (( "(") (binary_expression "iVar4 + 4" (identifier "iVar4") (+ "+") (number_literal "4")) () ")")))) (, ",") (identifier "__src") (, ",") (identifier "__n") () ")"))) (; ";")) (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" (identifier "local_48") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }" (else "else") (compound_statement "{\n            __n = (int)puVar9 - (int)__src;\n            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);\n            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);\n            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);\n            uVar3 = *(uint *)(param_3 + 8);\n            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;\n            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));\n          }" ({ "{") (expression_statement "__n = (int)puVar9 - (int)__src;" (assignment_expression "__n = (int)puVar9 - (int)__src" (identifier "__n") (= "=") (binary_expression "(int)puVar9 - (int)__src" (cast_expression "(int)puVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar9")) (- "-") (cast_expression "(int)__src" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__src")))) (; ";")) (expression_statement "local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);" (assignment_expression "local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0)" (identifier "local_48") (= "=") (binary_expression "(*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0)" (parenthesized_expression "(*(uint *)(param_3 + 8) + 1)" (( "(") (binary_expression "*(uint *)(param_3 + 8) + 1" (pointer_expression "*(uint *)(param_3 + 8)" (* "*") (cast_expression "(uint *)(param_3 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 8)" (( "(") (binary_expression "param_3 + 8" (identifier "param_3") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "1")) () ")")) (- "-") (call_expression "(uint)((*(uint *)(param_3 + 8) & 1) == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((*(uint *)(param_3 + 8) & 1) == 0)" (( "(") (binary_expression "(*(uint *)(param_3 + 8) & 1) == 0" (parenthesized_expression "(*(uint *)(param_3 + 8) & 1)" (( "(") (binary_expression "*(uint *)(param_3 + 8) & 1" (pointer_expression "*(uint *)(param_3 + 8)" (* "*") (cast_expression "(uint *)(param_3 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 8)" (( "(") (binary_expression "param_3 + 8" (identifier "param_3") (+ "+") (number_literal "8")) () ")")))) (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")"))))) (; ";")) (expression_statement "iVar4 = AcquireStringInfo(__n_00 + __n + local_48);" (assignment_expression "iVar4 = AcquireStringInfo(__n_00 + __n + local_48)" (identifier "iVar4") (= "=") (call_expression "AcquireStringInfo(__n_00 + __n + local_48)" (identifier "AcquireStringInfo") (argument_list "(__n_00 + __n + local_48)" (( "(") (binary_expression "__n_00 + __n + local_48" (binary_expression "__n_00 + __n" (identifier "__n_00") (+ "+") (identifier "__n")) (+ "+") (identifier "local_48")) () ")")))) (; ";")) (expression_statement "memcpy(*(void **)(iVar4 + 4),__src,__n - 4);" (call_expression "memcpy(*(void **)(iVar4 + 4),__src,__n - 4)" (identifier "memcpy") (argument_list "(*(void **)(iVar4 + 4),__src,__n - 4)" (( "(") (pointer_expression "*(void **)(iVar4 + 4)" (* "*") (cast_expression "(void **)(iVar4 + 4)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar4 + 4)" (( "(") (binary_expression "iVar4 + 4" (identifier "iVar4") (+ "+") (number_literal "4")) () ")")))) (, ",") (identifier "__src") (, ",") (binary_expression "__n - 4" (identifier "__n") (- "-") (number_literal "4")) () ")"))) (; ";")) (expression_statement "uVar3 = *(uint *)(param_3 + 8);" (assignment_expression "uVar3 = *(uint *)(param_3 + 8)" (identifier "uVar3") (= "=") (pointer_expression "*(uint *)(param_3 + 8)" (* "*") (cast_expression "(uint *)(param_3 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 8)" (( "(") (binary_expression "param_3 + 8" (identifier "param_3") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "*(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;" (assignment_expression "*(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =\n                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18" (pointer_expression "*(uint *)((__n - 4) + *(int *)(iVar4 + 4))" (* "*") (cast_expression "(uint *)((__n - 4) + *(int *)(iVar4 + 4))" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((__n - 4) + *(int *)(iVar4 + 4))" (( "(") (binary_expression "(__n - 4) + *(int *)(iVar4 + 4)" (parenthesized_expression "(__n - 4)" (( "(") (binary_expression "__n - 4" (identifier "__n") (- "-") (number_literal "4")) () ")")) (+ "+") (pointer_expression "*(int *)(iVar4 + 4)" (* "*") (cast_expression "(int *)(iVar4 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 4)" (( "(") (binary_expression "iVar4 + 4" (identifier "iVar4") (+ "+") (number_literal "4")) () ")"))))) () ")")))) (= "=") (binary_expression "(uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18" (binary_expression "(uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |\n                 (uVar3 >> 8 & 0xff) << 0x10" (cast_expression "(uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18))" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18))" (identifier "CONCAT11") (argument_list "((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18))" (( "(") (cast_expression "(char)(uVar3 >> 0x10)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar3 >> 0x10)" (( "(") (binary_expression "uVar3 >> 0x10" (identifier "uVar3") (>> ">>") (number_literal "0x10")) () ")"))) (, ",") (cast_expression "(char)(uVar3 >> 0x18)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar3 >> 0x18)" (( "(") (binary_expression "uVar3 >> 0x18" (identifier "uVar3") (>> ">>") (number_literal "0x18")) () ")"))) () ")")))) (| "|") (binary_expression "(uVar3 >> 8 & 0xff) << 0x10" (parenthesized_expression "(uVar3 >> 8 & 0xff)" (( "(") (binary_expression "uVar3 >> 8 & 0xff" (binary_expression "uVar3 >> 8" (identifier "uVar3") (>> ">>") (number_literal "8")) (& "&") (number_literal "0xff")) () ")")) (<< "<<") (number_literal "0x10"))) (| "|") (binary_expression "uVar3 << 0x18" (identifier "uVar3") (<< "<<") (number_literal "0x18")))) (; ";")) (expression_statement "memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8));" (call_expression "memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8))" (identifier "memcpy") (argument_list "((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),\n                   *(size_t *)(param_3 + 8))" (( "(") (cast_expression "(void *)(*(int *)(iVar4 + 4) + __n)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar4 + 4) + __n)" (( "(") (binary_expression "*(int *)(iVar4 + 4) + __n" (pointer_expression "*(int *)(iVar4 + 4)" (* "*") (cast_expression "(int *)(iVar4 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 4)" (( "(") (binary_expression "iVar4 + 4" (identifier "iVar4") (+ "+") (number_literal "4")) () ")")))) (+ "+") (identifier "__n")) () ")"))) (, ",") (pointer_expression "*(void **)(param_3 + 4)" (* "*") (cast_expression "(void **)(param_3 + 4)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_3 + 4)" (( "(") (binary_expression "param_3 + 4" (identifier "param_3") (+ "+") (number_literal "4")) () ")")))) (, ",") (pointer_expression "*(size_t *)(param_3 + 8)" (* "*") (cast_expression "(size_t *)(param_3 + 8)" (( "(") (type_descriptor "size_t *" (primitive_type "size_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 8)" (( "(") (binary_expression "param_3 + 8" (identifier "param_3") (+ "+") (number_literal "8")) () ")")))) () ")"))) (; ";")) (} "}")))) (expression_statement "memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);" (call_expression "memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00)" (identifier "memcpy") (argument_list "((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00)" (( "(") (cast_expression "(void *)(local_48 + __n + *(int *)(iVar4 + 4))" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_48 + __n + *(int *)(iVar4 + 4))" (( "(") (binary_expression "local_48 + __n + *(int *)(iVar4 + 4)" (binary_expression "local_48 + __n" (identifier "local_48") (+ "+") (identifier "__n")) (+ "+") (pointer_expression "*(int *)(iVar4 + 4)" (* "*") (cast_expression "(int *)(iVar4 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 4)" (( "(") (binary_expression "iVar4 + 4" (identifier "iVar4") (+ "+") (number_literal "4")) () ")"))))) () ")"))) (, ",") (identifier "__src_00") (, ",") (identifier "__n_00") () ")"))) (; ";")) (expression_statement "uVar7 = CloneStringInfo(iVar4);" (assignment_expression "uVar7 = CloneStringInfo(iVar4)" (identifier "uVar7") (= "=") (call_expression "CloneStringInfo(iVar4)" (identifier "CloneStringInfo") (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")")))) (; ";")) (expression_statement "uVar8 = ConstantString(&DAT_002ac062);" (assignment_expression "uVar8 = ConstantString(&DAT_002ac062)" (identifier "uVar8") (= "=") (call_expression "ConstantString(&DAT_002ac062)" (identifier "ConstantString") (argument_list "(&DAT_002ac062)" (( "(") (pointer_expression "&DAT_002ac062" (& "&") (identifier "DAT_002ac062")) () ")")))) (; ";")) (expression_statement "AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);" (call_expression "AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7)" (identifier "AddValueToSplayTree") (argument_list "(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x1d8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x1d8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1d8)" (( "(") (binary_expression "param_1 + 0x1d8" (identifier "param_1") (+ "+") (number_literal "0x1d8")) () ")")))) (, ",") (identifier "uVar8") (, ",") (identifier "uVar7") () ")"))) (; ";")) (expression_statement "DestroyStringInfo(iVar4);" (call_expression "DestroyStringInfo(iVar4)" (identifier "DestroyStringInfo") (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")"))) (; ";")) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "pvVar10 = __src_00;" (assignment_expression "pvVar10 = __src_00" (identifier "pvVar10") (= "=") (identifier "__src_00")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(__src_00 < pvVar1)" (( "(") (binary_expression "__src_00 < pvVar1" (identifier "__src_00") (< "<") (identifier "pvVar1")) () ")")) (; ";")) (} "}"))) (} "}"))) (labeled_statement "LAB_00129670:\n  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }" (statement_identifier "LAB_00129670") (: ":") (if_statement "if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }" (if "if") (parenthesized_expression "(iVar2 != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "iVar2 != *(int *)(in_GS_OFFSET + 0x14)" (identifier "iVar2") (!= "!=") (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                    \n    FUN_0029eab0();\n  }" ({ "{") (expression_statement "FUN_0029eab0();" (call_expression "FUN_0029eab0()" (identifier "FUN_0029eab0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */

void __regparm3 function_1(type_1 *image,char *name,type_2 *var_16)

{
  int var_28;
  type_3 var_13;
  int var_3;
  type_2 *var_5;
  type_4 *var_8;
  size_t var_9;
  type_3 var_14;
  type_4 *var_27;
  type_2 *value;
  char *key;
  type_3 *var_12;
  type_4 *var_11;
  size_t var_19;
  type_4 *var_18;
  int var_1;
  type_5 var_15;
  int var_21;
  
  var_28 = *(int *)(var_1 + 0x14);
  var_3 = var_2(name,"icc");
  if (var_3 == 0) {
    var_15 = 0x40f;
  }
  else {
    var_3 = var_2(name,"iptc");
    if (var_3 == 0) {
      var_15 = 0x404;
    }
    else {
      var_3 = var_2(name,"xmp");
      var_15 = 0x424;
      if (var_3 != 0) goto LAB_00129670;
    }
  }
  var_5 = (type_2 *)var_4((type_6 *)image->profiles,&DAT_002ac062);
  if (var_5 != (type_2 *)0x0) {
    var_8 = var_6(var_5);
    var_9 = var_7(var_5);
    if (var_8 < var_8 + (var_9 - 0x10)) {
      var_11 = var_8;
      do {
        var_3 = var_10((char *)var_11,"8BIM",4);
        if (var_3 != 0) break;
        var_12 = (type_3 *)(var_11 + ((var_11[6] + 8) - (type_3)((var_11[6] + 1 & 1) == 0)));
        if (var_8 + (var_9 - 4) < var_12) break;
        var_13 = *var_12;
        var_12 = var_12 + 1;
        var_14 = var_13 >> 0x18 | (var_13 & 0xff0000) >> 8 | (var_13 & 0xff00) << 8 | var_13 << 0x18;
        if ((var_13 >> 0x18 & 1) != 0) {
          var_14 = var_14 + 1;
        }
        if ((((int)var_14 < 0) || (var_8 + (var_9 - var_14) < var_12)) || ((int)var_9 < (int)var_14))
        break;
        var_27 = (type_4 *)(var_14 + (int)var_12);
        if (var_15 == (type_5)(*(type_5 *)(var_11 + 4) << 8 | *(type_5 *)(var_11 + 4) >> 8)) {
          var_18 = var_8 + (var_9 - (int)var_27);
          if (var_16 == (type_2 *)0x0) {
            var_19 = (int)var_11 - (int)var_8;
            var_5 = var_17((size_t)(var_18 + var_19));
            var_20(var_5->datum,var_8,var_19);
            var_21 = 0;
          }
          else {
            var_19 = (int)var_12 - (int)var_8;
            var_21 = (var_16->length + 1) - (type_3)((var_16->length & 1) == 0);
            var_5 = var_17((size_t)(var_18 + var_21 + var_19));
            var_20(var_5->datum,var_8,var_19 - 4);
            var_13 = var_16->length;
            *(type_3 *)(var_5->datum + (var_19 - 4)) =
                 (type_3)var_22((char)(var_13 >> 0x10),(char)(var_13 >> 0x18)) |
                 (var_13 >> 8 & 0xff) << 0x10 | var_13 << 0x18;
            var_20(var_5->datum + var_19,var_16->datum,var_16->length);
          }
          var_20(var_5->datum + var_21 + var_19,var_27,(size_t)var_18);
          value = var_23(var_5);
          key = var_24("8bim");
          var_25((type_6 *)image->profiles,key,value);
          var_26(var_5);
          break;
        }
        var_11 = var_27;
      } while (var_27 < var_8 + (var_9 - 0x10));
    }
  }
LAB_00129670:
  if (var_28 != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
    var_29();
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) 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: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (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))))) (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_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))) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (parenthesized_expression (binary_expression left: (binary_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)) right: (number_literal))) right: (number_literal))))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (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: (identifier))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) 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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) right: (identifier))))) right: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (binary_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)) right: (binary_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))))))) consequence: (compound_statement (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: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (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))))) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier)))))) (expression_statement (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))))) (identifier) (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: (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: (identifier) right: (number_literal))) 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))))))))) right: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (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: (identifier)))) (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))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (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)))))))) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (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))))) (identifier) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (break_statement))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))))) (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 (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))) (return_statement))))

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

void __regparm3 MASKED(int param_1,undefined4 param_2,int param_3)

{
  void *pvVar1;
  int iVar2;
  uint uVar3;
  int iVar4;
  void *__src;
  uint uVar5;
  void *__src_00;
  int iVar6;
  undefined4 uVar7;
  undefined4 uVar8;
  uint *puVar9;
  void *pvVar10;
  size_t __n;
  size_t __n_00;
  int in_GS_OFFSET;
  ushort local_4c;
  int local_48;
  
  iVar2 = *(int *)(in_GS_OFFSET + 0x14);
  iVar4 = LocaleCompare(param_2,&DAT_002a81ca);
  if (iVar4 == 0) {
    local_4c = 0x40f;
  }
  else {
    iVar4 = LocaleCompare(param_2,&DAT_002ac05d);
    if (iVar4 == 0) {
      local_4c = 0x404;
    }
    else {
      iVar4 = LocaleCompare(param_2,&DAT_002c01f4);
      local_4c = 0x424;
      if (iVar4 != 0) goto LAB_00129670;
    }
  }
  iVar4 = GetValueFromSplayTree(*(undefined4 *)(param_1 + 0x1d8),&DAT_002ac062);
  if (iVar4 != 0) {
    __src = (void *)GetStringInfoDatum(iVar4);
    iVar4 = GetStringInfoLength(iVar4);
    pvVar1 = (void *)((int)__src + iVar4 + -0x10);
    if (__src < pvVar1) {
      pvVar10 = __src;
      do {
        iVar6 = LocaleNCompare(pvVar10,&DAT_002a239a,4);
        if (iVar6 != 0) break;
        puVar9 = (uint *)((int)pvVar10 +
                         ((*(byte *)((int)pvVar10 + 6) + 8) -
                         (uint)((*(byte *)((int)pvVar10 + 6) + 1 & 1) == 0)));
        if ((uint *)((int)__src + iVar4 + -4) < puVar9) break;
        uVar3 = *puVar9;
        puVar9 = puVar9 + 1;
        uVar5 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;
        if ((uVar3 >> 0x18 & 1) != 0) {
          uVar5 = uVar5 + 1;
        }
        if ((((int)uVar5 < 0) || ((uint *)((iVar4 - uVar5) + (int)__src) < puVar9)) ||
           (iVar4 < (int)uVar5)) break;
        __src_00 = (void *)(uVar5 + (int)puVar9);
        if (local_4c ==
            (ushort)(*(ushort *)((int)pvVar10 + 4) << 8 | *(ushort *)((int)pvVar10 + 4) >> 8)) {
          __n_00 = (int)__src + (iVar4 - (int)__src_00);
          if (param_3 == 0) {
            __n = (int)pvVar10 - (int)__src;
            iVar4 = AcquireStringInfo(__n_00 + __n);
            memcpy(*(void **)(iVar4 + 4),__src,__n);
            local_48 = 0;
          }
          else {
            __n = (int)puVar9 - (int)__src;
            local_48 = (*(uint *)(param_3 + 8) + 1) - (uint)((*(uint *)(param_3 + 8) & 1) == 0);
            iVar4 = AcquireStringInfo(__n_00 + __n + local_48);
            memcpy(*(void **)(iVar4 + 4),__src,__n - 4);
            uVar3 = *(uint *)(param_3 + 8);
            *(uint *)((__n - 4) + *(int *)(iVar4 + 4)) =
                 (uint)CONCAT11((char)(uVar3 >> 0x10),(char)(uVar3 >> 0x18)) |
                 (uVar3 >> 8 & 0xff) << 0x10 | uVar3 << 0x18;
            memcpy((void *)(*(int *)(iVar4 + 4) + __n),*(void **)(param_3 + 4),
                   *(size_t *)(param_3 + 8));
          }
          memcpy((void *)(local_48 + __n + *(int *)(iVar4 + 4)),__src_00,__n_00);
          uVar7 = CloneStringInfo(iVar4);
          uVar8 = ConstantString(&DAT_002ac062);
          AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar8,uVar7);
          DestroyStringInfo(iVar4);
          break;
        }
        pvVar10 = __src_00;
      } while (__src_00 < pvVar1);
    }
  }
LAB_00129670:
  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_0029eab0();
  }
  return;
}

