
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::filebuf::seekoff(long long, std::_Ios_Seekdir, std::_Ios_Openmode) */

longlong *
std::filebuf::seekoff(longlong *param_1,filebuf *param_2,uint param_3,int param_4,int param_5)

{
  int *piVar1;
  char cVar2;
  uint uVar3;
  int iVar4;
  uint uVar5;
  bool bVar6;
  longlong lVar7;
  int local_4c;
  int local_48;
  uint local_30;
  __mbstate_t local_24 [2];
  undefined4 uStack_14;
  
  uStack_14 = 0x2141f9;
  piVar1 = *(int **)(param_2 + 0x74);
  if (piVar1 == (int *)0x0) {
    bVar6 = true;
    local_30 = 0;
  }
  else {
    uVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);
    local_30 = 0;
    if (-1 < (int)uVar3) {
      local_30 = uVar3;
    }
    bVar6 = (int)uVar3 < 1;
  }
  *(undefined4 *)param_1 = 0xffffffff;
  *(undefined4 *)((int)param_1 + 4) = 0xffffffff;
  *(undefined4 *)(param_1 + 1) = 0;
  *(undefined4 *)((int)param_1 + 0xc) = 0;
  cVar2 = __basic_file<char>::is_open((__basic_file<char> *)(param_2 + 0x38));
  if (cVar2 == '\x01') {
    if ((bool)((param_3 != 0 || param_4 != 0) & bVar6)) {
      return param_1;
    }
    if (((param_5 == 1) && (param_3 == 0 && param_4 == 0)) &&
       ((param_2[0x66] == (filebuf)0x0 ||
        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),
        cVar2 != '\0')))) {
      local_24[0].__count = *(int *)(param_2 + 0x44);
      local_24[0].__value = *(_union_54 *)(param_2 + 0x48);
      if (param_2[0x65] == (filebuf)0x0) {
        local_4c = 0;
        local_48 = 0;
      }
      else {
        local_24[0].__count = *(int *)(param_2 + 0x54);
        local_24[0].__value = *(_union_54 *)(param_2 + 0x58);
        local_4c = _M_get_ext_pos(param_2,local_24);
        local_48 = local_4c >> 0x1f;
      }
      if (param_2[0x66] != (filebuf)0x0) {
        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);
        local_48 = local_4c >> 0x1f;
      }
      lVar7 = __basic_file<char>::seekoff((__basic_file<char> *)(param_2 + 0x38),0,0,1);
      if (lVar7 != -1) {
        *param_1 = lVar7 + CONCAT44(local_48,local_4c);
        *(int *)(param_1 + 1) = local_24[0].__count;
        *(_union_54 *)((int)param_1 + 0xc) = local_24[0].__value;
        return param_1;
      }
    }
    else {
      if (param_2[0x70] != (filebuf)0x0) {
        param_2[0x70] = (filebuf)0x0;
        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);
        *(int *)(param_2 + 0x68) = iVar4;
        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);
        *(int *)(param_2 + 8) = iVar4;
        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);
      }
      local_24[0].__count = *(int *)(param_2 + 0x44);
      local_24[0].__value = (_union_54)((_union_54 *)(param_2 + 0x48))->__wch;
      uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);
      iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +
              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;
      if ((param_2[0x65] != (filebuf)0x0) && (param_5 == 1)) {
        local_24[0].__count = *(int *)(param_2 + 0x54);
        local_24[0].__value = (_union_54)((_union_54 *)(param_2 + 0x58))->__wch;
        uVar5 = _M_get_ext_pos(param_2,local_24);
        bVar6 = CARRY4(uVar3,uVar5);
        uVar3 = uVar3 + uVar5;
        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;
      }
      _M_seek(param_1,param_2,uVar3,iVar4,param_5,local_24[0].__count,local_24[0].__value.__wch);
    }
    return param_1;
  }
  return param_1;
}



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

longlong * FUN_002141f0(longlong *param_1,int param_2,uint param_3,int param_4,int param_5)

{
  int *piVar1;
  char cVar2;
  uint uVar3;
  int iVar4;
  uint uVar5;
  bool bVar6;
  longlong lVar7;
  int local_4c;
  int local_48;
  uint local_30;
  int local_24;
  undefined4 local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x2141f9;
  piVar1 = *(int **)(param_2 + 0x74);
  if (piVar1 == (int *)0x0) {
    bVar6 = true;
    local_30 = 0;
  }
  else {
    uVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);
    local_30 = 0;
    if (-1 < (int)uVar3) {
      local_30 = uVar3;
    }
    bVar6 = (int)uVar3 < 1;
  }
  *(undefined4 *)param_1 = 0xffffffff;
  *(undefined4 *)((int)param_1 + 4) = 0xffffffff;
  *(undefined4 *)(param_1 + 1) = 0;
  *(undefined4 *)((int)param_1 + 0xc) = 0;
  cVar2 = FUN_001e73e0(param_2 + 0x38);
  if (cVar2 == '\x01') {
    if ((bool)((param_3 != 0 || param_4 != 0) & bVar6)) {
      return param_1;
    }
    if (((param_5 == 1) && (param_3 == 0 && param_4 == 0)) &&
       ((*(char *)(param_2 + 0x66) == '\0' ||
        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),
        cVar2 != '\0')))) {
      local_24 = *(int *)(param_2 + 0x44);
      local_20 = *(undefined4 *)(param_2 + 0x48);
      if (*(char *)(param_2 + 0x65) == '\0') {
        local_4c = 0;
        local_48 = 0;
      }
      else {
        local_24 = *(int *)(param_2 + 0x54);
        local_20 = *(undefined4 *)(param_2 + 0x58);
        local_4c = FUN_00213da0(param_2,&local_24);
        local_48 = local_4c >> 0x1f;
      }
      if (*(char *)(param_2 + 0x66) != '\0') {
        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);
        local_48 = local_4c >> 0x1f;
      }
      lVar7 = FUN_001e7770(param_2 + 0x38,0,0,1);
      if (lVar7 != -1) {
        *param_1 = lVar7 + CONCAT44(local_48,local_4c);
        *(int *)(param_1 + 1) = local_24;
        *(undefined4 *)((int)param_1 + 0xc) = local_20;
        return param_1;
      }
    }
    else {
      if (*(char *)(param_2 + 0x70) != '\0') {
        *(undefined1 *)(param_2 + 0x70) = 0;
        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);
        *(int *)(param_2 + 0x68) = iVar4;
        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);
        *(int *)(param_2 + 8) = iVar4;
        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);
      }
      local_24 = *(int *)(param_2 + 0x44);
      local_20 = *(undefined4 *)(param_2 + 0x48);
      uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);
      iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +
              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;
      if ((*(char *)(param_2 + 0x65) != '\0') && (param_5 == 1)) {
        local_24 = *(int *)(param_2 + 0x54);
        local_20 = *(undefined4 *)(param_2 + 0x58);
        uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24);
        bVar6 = CARRY4(uVar3,uVar5);
        uVar3 = uVar3 + uVar5;
        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;
      }
      FUN_00213f30(param_1,param_2,uVar3,iVar4,param_5,local_24,local_20);
    }
    return param_1;
  }
  return param_1;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x17ae07
SUB ESP,0x3c
MOV EAX,dword ptr [ESP + 0x58]
MOV ESI,dword ptr [ESP + 0x54]
MOV EDI,dword ptr [ESP + 0x50]
MOV dword ptr [ESP],EAX
MOV EAX,dword ptr [ESP + 0x5c]
MOV dword ptr [ESP + 0x8],EAX
MOV EAX,dword ptr [ESI + 0x74]
TEST EAX,EAX
JZ 0x00214358
SUB ESP,0xc
MOV EDX,dword ptr [EAX]
PUSH EAX
CALL dword ptr [EDX + 0x14]
MOV EDX,0x0
ADD ESP,0x10
TEST EAX,EAX
CMOVNS EDX,EAX
SETLE AL
MOV dword ptr [ESP + 0x1c],EDX
MOV ECX,dword ptr [ESP]
OR ECX,dword ptr [ESP + 0x8]
LEA EBP,[ESI + 0x38]
MOV dword ptr [EDI],0xffffffff
SETNZ DL
MOV dword ptr [ESP + 0x18],ECX
SUB ESP,0xc
AND EDX,EAX
MOV dword ptr [EDI + 0x4],0xffffffff
MOV byte ptr [ESP + 0x23],DL
MOV dword ptr [EDI + 0x8],0x0
MOV dword ptr [EDI + 0xc],0x0
PUSH EBP
CALL 0x001e73e0
ADD ESP,0x10
CMP AL,0x1
JNZ 0x0021428a
CMP byte ptr [ESP + 0x17],0x0
JZ 0x002142a0
ADD ESP,0x3c
MOV EAX,EDI
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
CMP dword ptr [ESP + 0x60],0x1
JNZ 0x00214370
MOV EDX,dword ptr [ESP + 0x18]
TEST EDX,EDX
JNZ 0x00214370
CMP byte ptr [ESI + 0x66],0x0
JZ 0x002142d4
MOV EAX,dword ptr [ESI + 0x74]
SUB ESP,0xc
MOV EDX,dword ptr [EAX]
PUSH EAX
CALL dword ptr [EDX + 0x18]
ADD ESP,0x10
TEST AL,AL
JZ 0x00214370
MOV EAX,dword ptr [ESI + 0x44]
MOV EDX,dword ptr [ESI + 0x48]
CMP byte ptr [ESI + 0x65],0x0
MOV dword ptr [ESP + 0x28],EAX
MOV dword ptr [ESP + 0x2c],EDX
JNZ 0x00214440
MOV dword ptr [ESP],0x0
MOV dword ptr [ESP + 0x4],0x0
CMP byte ptr [ESI + 0x66],0x0
JZ 0x00214311
MOV EAX,dword ptr [ESI + 0x14]
SUB EAX,dword ptr [ESI + 0x10]
MOV dword ptr [ESP],EAX
SAR EAX,0x1f
MOV dword ptr [ESP + 0x4],EAX
PUSH 0x1
PUSH 0x0
PUSH 0x0
PUSH EBP
CALL 0x001e7770
ADD ESP,0x10
MOV ECX,EDX
AND ECX,EAX
CMP ECX,-0x1
JZ 0x0021428a
ADD EAX,dword ptr [ESP]
ADC EDX,dword ptr [ESP + 0x4]
MOV dword ptr [EDI],EAX
MOV EAX,dword ptr [ESP + 0x28]
MOV dword ptr [EDI + 0x4],EDX
MOV EDX,dword ptr [ESP + 0x2c]
MOV dword ptr [EDI + 0x8],EAX
MOV EAX,EDI
MOV dword ptr [EDI + 0xc],EDX
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
MOV EAX,0x1
MOV dword ptr [ESP + 0x1c],0x0
JMP 0x00214241
CMP byte ptr [ESI + 0x70],0x0
JZ 0x0021439b
MOV EAX,dword ptr [ESI + 0x4]
CMP dword ptr [ESI + 0x8],EAX
MOV byte ptr [ESI + 0x70],0x0
SETNZ AL
MOV ECX,dword ptr [ESI + 0x6c]
MOV EDX,dword ptr [ESI + 0x5c]
MOVZX EAX,AL
ADD EAX,dword ptr [ESI + 0x68]
MOV dword ptr [ESI + 0x68],EAX
MOV dword ptr [ESI + 0x4],EDX
MOV dword ptr [ESI + 0x8],EAX
MOV dword ptr [ESI + 0xc],ECX
MOV ECX,dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [ESI + 0x44]
MOV EDX,dword ptr [ESI + 0x48]
MOV dword ptr [ESP + 0x28],EAX
MOV EAX,ECX
MOV dword ptr [ESP + 0x2c],EDX
CDQ
MOV EAX,dword ptr [ESP]
IMUL EAX,EDX
MOV EDX,dword ptr [ESP + 0x8]
IMUL EDX,ECX
LEA EBP,[EAX + EDX*0x1]
MOV EAX,ECX
MUL dword ptr [ESP]
MOV ECX,EDX
MOV EDX,EAX
ADD ECX,EBP
CMP byte ptr [ESI + 0x65],0x0
JNZ 0x002143f8
SUB ESP,0x4
PUSH dword ptr [ESP + 0x30]
PUSH dword ptr [ESP + 0x30]
PUSH dword ptr [ESP + 0x6c]
PUSH ECX
PUSH EDX
PUSH ESI
PUSH EDI
CALL 0x00213f30
ADD ESP,0x1c
JMP 0x0021428a
CMP dword ptr [ESP + 0x60],0x1
JNZ 0x002143d1
MOV EAX,dword ptr [ESI + 0x54]
MOV dword ptr [ESP + 0x8],EDX
MOV EDX,dword ptr [ESI + 0x58]
MOV dword ptr [ESP + 0xc],ECX
MOV dword ptr [ESP + 0x28],EAX
MOV dword ptr [ESP + 0x2c],EDX
PUSH EAX
PUSH EAX
LEA EAX,[ESP + 0x30]
PUSH EAX
PUSH ESI
CALL 0x00213da0
MOV ECX,dword ptr [ESP + 0x1c]
CDQ
MOV dword ptr [ESP + 0x10],EAX
MOV dword ptr [ESP + 0x14],EDX
MOV EDX,dword ptr [ESP + 0x18]
ADD EDX,dword ptr [ESP + 0x10]
ADC ECX,dword ptr [ESP + 0x14]
ADD ESP,0x10
JMP 0x002143d1
MOV EAX,dword ptr [ESI + 0x54]
MOV EDX,dword ptr [ESI + 0x58]
SUB ESP,0x8
MOV dword ptr [ESP + 0x30],EAX
MOV dword ptr [ESP + 0x34],EDX
LEA EAX,[ESP + 0x30]
PUSH EAX
PUSH ESI
CALL 0x00213da0
MOV dword ptr [ESP + 0x10],EAX
SAR EAX,0x1f
MOV dword ptr [ESP + 0x14],EAX
ADD ESP,0x10
JMP 0x002142fb
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nlonglong * FUN_002141f0(longlong *param_1,int param_2,uint param_3,int param_4,int param_5)\n\n{\n  int *piVar1;\n  char cVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  bool bVar6;\n  longlong lVar7;\n  int local_4c;\n  int local_48;\n  uint local_30;\n  int local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2141f9;\n  piVar1 = *(int **)(param_2 + 0x74);\n  if (piVar1 == (int *)0x0) {\n    bVar6 = true;\n    local_30 = 0;\n  }\n  else {\n    uVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    local_30 = 0;\n    if (-1 < (int)uVar3) {\n      local_30 = uVar3;\n    }\n    bVar6 = (int)uVar3 < 1;\n  }\n  *(undefined4 *)param_1 = 0xffffffff;\n  *(undefined4 *)((int)param_1 + 4) = 0xffffffff;\n  *(undefined4 *)(param_1 + 1) = 0;\n  *(undefined4 *)((int)param_1 + 0xc) = 0;\n  cVar2 = FUN_001e73e0(param_2 + 0x38);\n  if (cVar2 == '\x01') {\n    if ((bool)((param_3 != 0 || param_4 != 0) & bVar6)) {\n      return param_1;\n    }\n    if (((param_5 == 1) && (param_3 == 0 && param_4 == 0)) &&\n       ((*(char *)(param_2 + 0x66) == '\0' ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')))) {\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      if (*(char *)(param_2 + 0x65) == '\0') {\n        local_4c = 0;\n        local_48 = 0;\n      }\n      else {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        local_4c = FUN_00213da0(param_2,&local_24);\n        local_48 = local_4c >> 0x1f;\n      }\n      if (*(char *)(param_2 + 0x66) != '\0') {\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }\n      lVar7 = FUN_001e7770(param_2 + 0x38,0,0,1);\n      if (lVar7 != -1) {\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24;\n        *(undefined4 *)((int)param_1 + 0xc) = local_20;\n        return param_1;\n      }\n    }\n    else {\n      if (*(char *)(param_2 + 0x70) != '\0') {\n        *(undefined1 *)(param_2 + 0x70) = 0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);\n      iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;\n      if ((*(char *)(param_2 + 0x65) != '\0') && (param_5 == 1)) {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }\n      FUN_00213f30(param_1,param_2,uVar3,iVar4,param_5,local_24,local_20);\n    }\n    return param_1;\n  }\n  return param_1;\n}\n\n" comment (function_definition "longlong * FUN_002141f0(longlong *param_1,int param_2,uint param_3,int param_4,int param_5)\n\n{\n  int *piVar1;\n  char cVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  bool bVar6;\n  longlong lVar7;\n  int local_4c;\n  int local_48;\n  uint local_30;\n  int local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2141f9;\n  piVar1 = *(int **)(param_2 + 0x74);\n  if (piVar1 == (int *)0x0) {\n    bVar6 = true;\n    local_30 = 0;\n  }\n  else {\n    uVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    local_30 = 0;\n    if (-1 < (int)uVar3) {\n      local_30 = uVar3;\n    }\n    bVar6 = (int)uVar3 < 1;\n  }\n  *(undefined4 *)param_1 = 0xffffffff;\n  *(undefined4 *)((int)param_1 + 4) = 0xffffffff;\n  *(undefined4 *)(param_1 + 1) = 0;\n  *(undefined4 *)((int)param_1 + 0xc) = 0;\n  cVar2 = FUN_001e73e0(param_2 + 0x38);\n  if (cVar2 == '\x01') {\n    if ((bool)((param_3 != 0 || param_4 != 0) & bVar6)) {\n      return param_1;\n    }\n    if (((param_5 == 1) && (param_3 == 0 && param_4 == 0)) &&\n       ((*(char *)(param_2 + 0x66) == '\0' ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')))) {\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      if (*(char *)(param_2 + 0x65) == '\0') {\n        local_4c = 0;\n        local_48 = 0;\n      }\n      else {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        local_4c = FUN_00213da0(param_2,&local_24);\n        local_48 = local_4c >> 0x1f;\n      }\n      if (*(char *)(param_2 + 0x66) != '\0') {\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }\n      lVar7 = FUN_001e7770(param_2 + 0x38,0,0,1);\n      if (lVar7 != -1) {\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24;\n        *(undefined4 *)((int)param_1 + 0xc) = local_20;\n        return param_1;\n      }\n    }\n    else {\n      if (*(char *)(param_2 + 0x70) != '\0') {\n        *(undefined1 *)(param_2 + 0x70) = 0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);\n      iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;\n      if ((*(char *)(param_2 + 0x65) != '\0') && (param_5 == 1)) {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }\n      FUN_00213f30(param_1,param_2,uVar3,iVar4,param_5,local_24,local_20);\n    }\n    return param_1;\n  }\n  return param_1;\n}" type_identifier (pointer_declarator "* FUN_002141f0(longlong *param_1,int param_2,uint param_3,int param_4,int param_5)" * (function_declarator "FUN_002141f0(longlong *param_1,int param_2,uint param_3,int param_4,int param_5)" identifier (parameter_list "(longlong *param_1,int param_2,uint param_3,int param_4,int param_5)" ( (parameter_declaration "longlong *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "int param_5" primitive_type identifier) )))) (compound_statement "{\n  int *piVar1;\n  char cVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  bool bVar6;\n  longlong lVar7;\n  int local_4c;\n  int local_48;\n  uint local_30;\n  int local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2141f9;\n  piVar1 = *(int **)(param_2 + 0x74);\n  if (piVar1 == (int *)0x0) {\n    bVar6 = true;\n    local_30 = 0;\n  }\n  else {\n    uVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    local_30 = 0;\n    if (-1 < (int)uVar3) {\n      local_30 = uVar3;\n    }\n    bVar6 = (int)uVar3 < 1;\n  }\n  *(undefined4 *)param_1 = 0xffffffff;\n  *(undefined4 *)((int)param_1 + 4) = 0xffffffff;\n  *(undefined4 *)(param_1 + 1) = 0;\n  *(undefined4 *)((int)param_1 + 0xc) = 0;\n  cVar2 = FUN_001e73e0(param_2 + 0x38);\n  if (cVar2 == '\x01') {\n    if ((bool)((param_3 != 0 || param_4 != 0) & bVar6)) {\n      return param_1;\n    }\n    if (((param_5 == 1) && (param_3 == 0 && param_4 == 0)) &&\n       ((*(char *)(param_2 + 0x66) == '\0' ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')))) {\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      if (*(char *)(param_2 + 0x65) == '\0') {\n        local_4c = 0;\n        local_48 = 0;\n      }\n      else {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        local_4c = FUN_00213da0(param_2,&local_24);\n        local_48 = local_4c >> 0x1f;\n      }\n      if (*(char *)(param_2 + 0x66) != '\0') {\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }\n      lVar7 = FUN_001e7770(param_2 + 0x38,0,0,1);\n      if (lVar7 != -1) {\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24;\n        *(undefined4 *)((int)param_1 + 0xc) = local_20;\n        return param_1;\n      }\n    }\n    else {\n      if (*(char *)(param_2 + 0x70) != '\0') {\n        *(undefined1 *)(param_2 + 0x70) = 0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);\n      iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;\n      if ((*(char *)(param_2 + 0x65) != '\0') && (param_5 == 1)) {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }\n      FUN_00213f30(param_1,param_2,uVar3,iVar4,param_5,local_24,local_20);\n    }\n    return param_1;\n  }\n  return param_1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "bool bVar6;" primitive_type identifier ;) (declaration "longlong lVar7;" type_identifier identifier ;) (declaration "int local_4c;" primitive_type identifier ;) (declaration "int local_48;" primitive_type identifier ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x2141f9;" (assignment_expression "uStack_14 = 0x2141f9" identifier = number_literal) ;) (expression_statement "piVar1 = *(int **)(param_2 + 0x74);" (assignment_expression "piVar1 = *(int **)(param_2 + 0x74)" identifier = (pointer_expression "*(int **)(param_2 + 0x74)" * (cast_expression "(int **)(param_2 + 0x74)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x74)" ( (binary_expression "param_2 + 0x74" identifier + number_literal) ))))) ;) (if_statement "if (piVar1 == (int *)0x0) {\n    bVar6 = true;\n    local_30 = 0;\n  }\n  else {\n    uVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    local_30 = 0;\n    if (-1 < (int)uVar3) {\n      local_30 = uVar3;\n    }\n    bVar6 = (int)uVar3 < 1;\n  }" if (parenthesized_expression "(piVar1 == (int *)0x0)" ( (binary_expression "piVar1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    bVar6 = true;\n    local_30 = 0;\n  }" { (expression_statement "bVar6 = true;" (assignment_expression "bVar6 = true" identifier = true) ;) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    uVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    local_30 = 0;\n    if (-1 < (int)uVar3) {\n      local_30 = uVar3;\n    }\n    bVar6 = (int)uVar3 < 1;\n  }" else (compound_statement "{\n    uVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    local_30 = 0;\n    if (-1 < (int)uVar3) {\n      local_30 = uVar3;\n    }\n    bVar6 = (int)uVar3 < 1;\n  }" { (expression_statement "uVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);" (assignment_expression "uVar3 = (**(code **)(*piVar1 + 0x14))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 0x14))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x14))" ( (pointer_expression "**(code **)(*piVar1 + 0x14)" * (pointer_expression "*(code **)(*piVar1 + 0x14)" * (cast_expression "(code **)(*piVar1 + 0x14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x14)" ( (binary_expression "*piVar1 + 0x14" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (if_statement "if (-1 < (int)uVar3) {\n      local_30 = uVar3;\n    }" if (parenthesized_expression "(-1 < (int)uVar3)" ( (binary_expression "-1 < (int)uVar3" number_literal < (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      local_30 = uVar3;\n    }" { (expression_statement "local_30 = uVar3;" (assignment_expression "local_30 = uVar3" identifier = identifier) ;) })) (expression_statement "bVar6 = (int)uVar3 < 1;" (assignment_expression "bVar6 = (int)uVar3 < 1" identifier = (binary_expression "(int)uVar3 < 1" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal)) ;) }))) (expression_statement "*(undefined4 *)param_1 = 0xffffffff;" (assignment_expression "*(undefined4 *)param_1 = 0xffffffff" (pointer_expression "*(undefined4 *)param_1" * (cast_expression "(undefined4 *)param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "*(undefined4 *)((int)param_1 + 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)((int)param_1 + 4) = 0xffffffff" (pointer_expression "*(undefined4 *)((int)param_1 + 4)" * (cast_expression "(undefined4 *)((int)param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 4)" ( (binary_expression "(int)param_1 + 4" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 1) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 1) = 0" (pointer_expression "*(undefined4 *)(param_1 + 1)" * (cast_expression "(undefined4 *)(param_1 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)param_1 + 0xc) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + 0xc) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + 0xc)" * (cast_expression "(undefined4 *)((int)param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0xc)" ( (binary_expression "(int)param_1 + 0xc" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "cVar2 = FUN_001e73e0(param_2 + 0x38);" (assignment_expression "cVar2 = FUN_001e73e0(param_2 + 0x38)" identifier = (call_expression "FUN_001e73e0(param_2 + 0x38)" identifier (argument_list "(param_2 + 0x38)" ( (binary_expression "param_2 + 0x38" identifier + number_literal) )))) ;) (if_statement "if (cVar2 == '\x01') {\n    if ((bool)((param_3 != 0 || param_4 != 0) & bVar6)) {\n      return param_1;\n    }\n    if (((param_5 == 1) && (param_3 == 0 && param_4 == 0)) &&\n       ((*(char *)(param_2 + 0x66) == '\0' ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')))) {\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      if (*(char *)(param_2 + 0x65) == '\0') {\n        local_4c = 0;\n        local_48 = 0;\n      }\n      else {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        local_4c = FUN_00213da0(param_2,&local_24);\n        local_48 = local_4c >> 0x1f;\n      }\n      if (*(char *)(param_2 + 0x66) != '\0') {\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }\n      lVar7 = FUN_001e7770(param_2 + 0x38,0,0,1);\n      if (lVar7 != -1) {\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24;\n        *(undefined4 *)((int)param_1 + 0xc) = local_20;\n        return param_1;\n      }\n    }\n    else {\n      if (*(char *)(param_2 + 0x70) != '\0') {\n        *(undefined1 *)(param_2 + 0x70) = 0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);\n      iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;\n      if ((*(char *)(param_2 + 0x65) != '\0') && (param_5 == 1)) {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }\n      FUN_00213f30(param_1,param_2,uVar3,iVar4,param_5,local_24,local_20);\n    }\n    return param_1;\n  }" if (parenthesized_expression "(cVar2 == '\x01')" ( (binary_expression "cVar2 == '\x01'" identifier == (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n    if ((bool)((param_3 != 0 || param_4 != 0) & bVar6)) {\n      return param_1;\n    }\n    if (((param_5 == 1) && (param_3 == 0 && param_4 == 0)) &&\n       ((*(char *)(param_2 + 0x66) == '\0' ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')))) {\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      if (*(char *)(param_2 + 0x65) == '\0') {\n        local_4c = 0;\n        local_48 = 0;\n      }\n      else {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        local_4c = FUN_00213da0(param_2,&local_24);\n        local_48 = local_4c >> 0x1f;\n      }\n      if (*(char *)(param_2 + 0x66) != '\0') {\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }\n      lVar7 = FUN_001e7770(param_2 + 0x38,0,0,1);\n      if (lVar7 != -1) {\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24;\n        *(undefined4 *)((int)param_1 + 0xc) = local_20;\n        return param_1;\n      }\n    }\n    else {\n      if (*(char *)(param_2 + 0x70) != '\0') {\n        *(undefined1 *)(param_2 + 0x70) = 0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);\n      iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;\n      if ((*(char *)(param_2 + 0x65) != '\0') && (param_5 == 1)) {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }\n      FUN_00213f30(param_1,param_2,uVar3,iVar4,param_5,local_24,local_20);\n    }\n    return param_1;\n  }" { (if_statement "if ((bool)((param_3 != 0 || param_4 != 0) & bVar6)) {\n      return param_1;\n    }" if (parenthesized_expression "((bool)((param_3 != 0 || param_4 != 0) & bVar6))" ( (cast_expression "(bool)((param_3 != 0 || param_4 != 0) & bVar6)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "((param_3 != 0 || param_4 != 0) & bVar6)" ( (binary_expression "(param_3 != 0 || param_4 != 0) & bVar6" (parenthesized_expression "(param_3 != 0 || param_4 != 0)" ( (binary_expression "param_3 != 0 || param_4 != 0" (binary_expression "param_3 != 0" identifier != number_literal) || (binary_expression "param_4 != 0" identifier != number_literal)) )) & identifier) ))) )) (compound_statement "{\n      return param_1;\n    }" { (return_statement "return param_1;" return identifier ;) })) (if_statement "if (((param_5 == 1) && (param_3 == 0 && param_4 == 0)) &&\n       ((*(char *)(param_2 + 0x66) == '\0' ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')))) {\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      if (*(char *)(param_2 + 0x65) == '\0') {\n        local_4c = 0;\n        local_48 = 0;\n      }\n      else {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        local_4c = FUN_00213da0(param_2,&local_24);\n        local_48 = local_4c >> 0x1f;\n      }\n      if (*(char *)(param_2 + 0x66) != '\0') {\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }\n      lVar7 = FUN_001e7770(param_2 + 0x38,0,0,1);\n      if (lVar7 != -1) {\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24;\n        *(undefined4 *)((int)param_1 + 0xc) = local_20;\n        return param_1;\n      }\n    }\n    else {\n      if (*(char *)(param_2 + 0x70) != '\0') {\n        *(undefined1 *)(param_2 + 0x70) = 0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);\n      iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;\n      if ((*(char *)(param_2 + 0x65) != '\0') && (param_5 == 1)) {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }\n      FUN_00213f30(param_1,param_2,uVar3,iVar4,param_5,local_24,local_20);\n    }" if (parenthesized_expression "(((param_5 == 1) && (param_3 == 0 && param_4 == 0)) &&\n       ((*(char *)(param_2 + 0x66) == '\0' ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0'))))" ( (binary_expression "((param_5 == 1) && (param_3 == 0 && param_4 == 0)) &&\n       ((*(char *)(param_2 + 0x66) == '\0' ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')))" (parenthesized_expression "((param_5 == 1) && (param_3 == 0 && param_4 == 0))" ( (binary_expression "(param_5 == 1) && (param_3 == 0 && param_4 == 0)" (parenthesized_expression "(param_5 == 1)" ( (binary_expression "param_5 == 1" identifier == number_literal) )) && (parenthesized_expression "(param_3 == 0 && param_4 == 0)" ( (binary_expression "param_3 == 0 && param_4 == 0" (binary_expression "param_3 == 0" identifier == number_literal) && (binary_expression "param_4 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "((*(char *)(param_2 + 0x66) == '\0' ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')))" ( (parenthesized_expression "(*(char *)(param_2 + 0x66) == '\0' ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0'))" ( (binary_expression "*(char *)(param_2 + 0x66) == '\0' ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')" (binary_expression "*(char *)(param_2 + 0x66) == '\0'" (pointer_expression "*(char *)(param_2 + 0x66)" * (cast_expression "(char *)(param_2 + 0x66)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x66)" ( (binary_expression "param_2 + 0x66" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) || (parenthesized_expression "(cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')" ( (comma_expression "cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0'" (assignment_expression "cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74))" identifier = (call_expression "(**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74))" (parenthesized_expression "(**(code **)(**(int **)(param_2 + 0x74) + 0x18))" ( (pointer_expression "**(code **)(**(int **)(param_2 + 0x74) + 0x18)" * (pointer_expression "*(code **)(**(int **)(param_2 + 0x74) + 0x18)" * (cast_expression "(code **)(**(int **)(param_2 + 0x74) + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(param_2 + 0x74) + 0x18)" ( (binary_expression "**(int **)(param_2 + 0x74) + 0x18" (pointer_expression "**(int **)(param_2 + 0x74)" * (pointer_expression "*(int **)(param_2 + 0x74)" * (cast_expression "(int **)(param_2 + 0x74)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x74)" ( (binary_expression "param_2 + 0x74" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "(*(int **)(param_2 + 0x74))" ( (pointer_expression "*(int **)(param_2 + 0x74)" * (cast_expression "(int **)(param_2 + 0x74)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x74)" ( (binary_expression "param_2 + 0x74" identifier + number_literal) )))) )))) , (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence '))) ))) )) ))) )) (compound_statement "{\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      if (*(char *)(param_2 + 0x65) == '\0') {\n        local_4c = 0;\n        local_48 = 0;\n      }\n      else {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        local_4c = FUN_00213da0(param_2,&local_24);\n        local_48 = local_4c >> 0x1f;\n      }\n      if (*(char *)(param_2 + 0x66) != '\0') {\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }\n      lVar7 = FUN_001e7770(param_2 + 0x38,0,0,1);\n      if (lVar7 != -1) {\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24;\n        *(undefined4 *)((int)param_1 + 0xc) = local_20;\n        return param_1;\n      }\n    }" { (expression_statement "local_24 = *(int *)(param_2 + 0x44);" (assignment_expression "local_24 = *(int *)(param_2 + 0x44)" identifier = (pointer_expression "*(int *)(param_2 + 0x44)" * (cast_expression "(int *)(param_2 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x44)" ( (binary_expression "param_2 + 0x44" identifier + number_literal) ))))) ;) (expression_statement "local_20 = *(undefined4 *)(param_2 + 0x48);" (assignment_expression "local_20 = *(undefined4 *)(param_2 + 0x48)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 0x48)" * (cast_expression "(undefined4 *)(param_2 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x48)" ( (binary_expression "param_2 + 0x48" identifier + number_literal) ))))) ;) (if_statement "if (*(char *)(param_2 + 0x65) == '\0') {\n        local_4c = 0;\n        local_48 = 0;\n      }\n      else {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        local_4c = FUN_00213da0(param_2,&local_24);\n        local_48 = local_4c >> 0x1f;\n      }" if (parenthesized_expression "(*(char *)(param_2 + 0x65) == '\0')" ( (binary_expression "*(char *)(param_2 + 0x65) == '\0'" (pointer_expression "*(char *)(param_2 + 0x65)" * (cast_expression "(char *)(param_2 + 0x65)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x65)" ( (binary_expression "param_2 + 0x65" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        local_4c = 0;\n        local_48 = 0;\n      }" { (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" identifier = number_literal) ;) (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        local_4c = FUN_00213da0(param_2,&local_24);\n        local_48 = local_4c >> 0x1f;\n      }" else (compound_statement "{\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        local_4c = FUN_00213da0(param_2,&local_24);\n        local_48 = local_4c >> 0x1f;\n      }" { (expression_statement "local_24 = *(int *)(param_2 + 0x54);" (assignment_expression "local_24 = *(int *)(param_2 + 0x54)" identifier = (pointer_expression "*(int *)(param_2 + 0x54)" * (cast_expression "(int *)(param_2 + 0x54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x54)" ( (binary_expression "param_2 + 0x54" identifier + number_literal) ))))) ;) (expression_statement "local_20 = *(undefined4 *)(param_2 + 0x58);" (assignment_expression "local_20 = *(undefined4 *)(param_2 + 0x58)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 0x58)" * (cast_expression "(undefined4 *)(param_2 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x58)" ( (binary_expression "param_2 + 0x58" identifier + number_literal) ))))) ;) (expression_statement "local_4c = FUN_00213da0(param_2,&local_24);" (assignment_expression "local_4c = FUN_00213da0(param_2,&local_24)" identifier = (call_expression "FUN_00213da0(param_2,&local_24)" identifier (argument_list "(param_2,&local_24)" ( identifier , (pointer_expression "&local_24" & identifier) )))) ;) (expression_statement "local_48 = local_4c >> 0x1f;" (assignment_expression "local_48 = local_4c >> 0x1f" identifier = (binary_expression "local_4c >> 0x1f" identifier >> number_literal)) ;) }))) (if_statement "if (*(char *)(param_2 + 0x66) != '\0') {\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }" if (parenthesized_expression "(*(char *)(param_2 + 0x66) != '\0')" ( (binary_expression "*(char *)(param_2 + 0x66) != '\0'" (pointer_expression "*(char *)(param_2 + 0x66)" * (cast_expression "(char *)(param_2 + 0x66)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x66)" ( (binary_expression "param_2 + 0x66" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }" { (expression_statement "local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);" (assignment_expression "local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10)" identifier = (binary_expression "*(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10)" (pointer_expression "*(int *)(param_2 + 0x14)" * (cast_expression "(int *)(param_2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) - (pointer_expression "*(int *)(param_2 + 0x10)" * (cast_expression "(int *)(param_2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))))) ;) (expression_statement "local_48 = local_4c >> 0x1f;" (assignment_expression "local_48 = local_4c >> 0x1f" identifier = (binary_expression "local_4c >> 0x1f" identifier >> number_literal)) ;) })) (expression_statement "lVar7 = FUN_001e7770(param_2 + 0x38,0,0,1);" (assignment_expression "lVar7 = FUN_001e7770(param_2 + 0x38,0,0,1)" identifier = (call_expression "FUN_001e7770(param_2 + 0x38,0,0,1)" identifier (argument_list "(param_2 + 0x38,0,0,1)" ( (binary_expression "param_2 + 0x38" identifier + number_literal) , number_literal , number_literal , number_literal )))) ;) (if_statement "if (lVar7 != -1) {\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24;\n        *(undefined4 *)((int)param_1 + 0xc) = local_20;\n        return param_1;\n      }" if (parenthesized_expression "(lVar7 != -1)" ( (binary_expression "lVar7 != -1" identifier != number_literal) )) (compound_statement "{\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24;\n        *(undefined4 *)((int)param_1 + 0xc) = local_20;\n        return param_1;\n      }" { (expression_statement "*param_1 = lVar7 + CONCAT44(local_48,local_4c);" (assignment_expression "*param_1 = lVar7 + CONCAT44(local_48,local_4c)" (pointer_expression "*param_1" * identifier) = (binary_expression "lVar7 + CONCAT44(local_48,local_4c)" identifier + (call_expression "CONCAT44(local_48,local_4c)" identifier (argument_list "(local_48,local_4c)" ( identifier , identifier ))))) ;) (expression_statement "*(int *)(param_1 + 1) = local_24;" (assignment_expression "*(int *)(param_1 + 1) = local_24" (pointer_expression "*(int *)(param_1 + 1)" * (cast_expression "(int *)(param_1 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)param_1 + 0xc) = local_20;" (assignment_expression "*(undefined4 *)((int)param_1 + 0xc) = local_20" (pointer_expression "*(undefined4 *)((int)param_1 + 0xc)" * (cast_expression "(undefined4 *)((int)param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0xc)" ( (binary_expression "(int)param_1 + 0xc" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (return_statement "return param_1;" return identifier ;) })) }) (else_clause "else {\n      if (*(char *)(param_2 + 0x70) != '\0') {\n        *(undefined1 *)(param_2 + 0x70) = 0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);\n      iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;\n      if ((*(char *)(param_2 + 0x65) != '\0') && (param_5 == 1)) {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }\n      FUN_00213f30(param_1,param_2,uVar3,iVar4,param_5,local_24,local_20);\n    }" else (compound_statement "{\n      if (*(char *)(param_2 + 0x70) != '\0') {\n        *(undefined1 *)(param_2 + 0x70) = 0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);\n      iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;\n      if ((*(char *)(param_2 + 0x65) != '\0') && (param_5 == 1)) {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }\n      FUN_00213f30(param_1,param_2,uVar3,iVar4,param_5,local_24,local_20);\n    }" { (if_statement "if (*(char *)(param_2 + 0x70) != '\0') {\n        *(undefined1 *)(param_2 + 0x70) = 0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }" if (parenthesized_expression "(*(char *)(param_2 + 0x70) != '\0')" ( (binary_expression "*(char *)(param_2 + 0x70) != '\0'" (pointer_expression "*(char *)(param_2 + 0x70)" * (cast_expression "(char *)(param_2 + 0x70)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x70)" ( (binary_expression "param_2 + 0x70" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        *(undefined1 *)(param_2 + 0x70) = 0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }" { (expression_statement "*(undefined1 *)(param_2 + 0x70) = 0;" (assignment_expression "*(undefined1 *)(param_2 + 0x70) = 0" (pointer_expression "*(undefined1 *)(param_2 + 0x70)" * (cast_expression "(undefined1 *)(param_2 + 0x70)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x70)" ( (binary_expression "param_2 + 0x70" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);" (assignment_expression "iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68)" identifier = (binary_expression "(uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68)" (call_expression "(uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(param_2 + 8) != *(int *)(param_2 + 4))" ( (binary_expression "*(int *)(param_2 + 8) != *(int *)(param_2 + 4)" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) != (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ))) + (pointer_expression "*(int *)(param_2 + 0x68)" * (cast_expression "(int *)(param_2 + 0x68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x68)" ( (binary_expression "param_2 + 0x68" identifier + number_literal) )))))) ;) (expression_statement "*(int *)(param_2 + 0x68) = iVar4;" (assignment_expression "*(int *)(param_2 + 0x68) = iVar4" (pointer_expression "*(int *)(param_2 + 0x68)" * (cast_expression "(int *)(param_2 + 0x68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x68)" ( (binary_expression "param_2 + 0x68" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);" (assignment_expression "*(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c)" (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_2 + 0x5c)" * (cast_expression "(undefined4 *)(param_2 + 0x5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x5c)" ( (binary_expression "param_2 + 0x5c" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(param_2 + 8) = iVar4;" (assignment_expression "*(int *)(param_2 + 8) = iVar4" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);" (assignment_expression "*(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c)" (pointer_expression "*(undefined4 *)(param_2 + 0xc)" * (cast_expression "(undefined4 *)(param_2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_2 + 0x6c)" * (cast_expression "(undefined4 *)(param_2 + 0x6c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x6c)" ( (binary_expression "param_2 + 0x6c" identifier + number_literal) ))))) ;) })) (expression_statement "local_24 = *(int *)(param_2 + 0x44);" (assignment_expression "local_24 = *(int *)(param_2 + 0x44)" identifier = (pointer_expression "*(int *)(param_2 + 0x44)" * (cast_expression "(int *)(param_2 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x44)" ( (binary_expression "param_2 + 0x44" identifier + number_literal) ))))) ;) (expression_statement "local_20 = *(undefined4 *)(param_2 + 0x48);" (assignment_expression "local_20 = *(undefined4 *)(param_2 + 0x48)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 0x48)" * (cast_expression "(undefined4 *)(param_2 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x48)" ( (binary_expression "param_2 + 0x48" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);" (assignment_expression "uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3)" identifier = (call_expression "(uint)((ulonglong)local_30 * (ulonglong)param_3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)local_30 * (ulonglong)param_3)" ( (binary_expression "(ulonglong)local_30 * (ulonglong)param_3" (cast_expression "(ulonglong)local_30" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (cast_expression "(ulonglong)param_3" ( (type_descriptor "ulonglong" type_identifier) ) identifier)) )))) ;) (expression_statement "iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;" (assignment_expression "iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30" identifier = (binary_expression "(int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30" (binary_expression "(int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f)" (cast_expression "(int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)local_30 * (ulonglong)param_3 >> 0x20)" ( (binary_expression "(ulonglong)local_30 * (ulonglong)param_3 >> 0x20" (binary_expression "(ulonglong)local_30 * (ulonglong)param_3" (cast_expression "(ulonglong)local_30" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (cast_expression "(ulonglong)param_3" ( (type_descriptor "ulonglong" type_identifier) ) identifier)) >> number_literal) ))) + (binary_expression "param_3 * ((int)local_30 >> 0x1f)" identifier * (parenthesized_expression "((int)local_30 >> 0x1f)" ( (binary_expression "(int)local_30 >> 0x1f" (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) + (binary_expression "param_4 * local_30" identifier * identifier))) ;) (if_statement "if ((*(char *)(param_2 + 0x65) != '\0') && (param_5 == 1)) {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }" if (parenthesized_expression "((*(char *)(param_2 + 0x65) != '\0') && (param_5 == 1))" ( (binary_expression "(*(char *)(param_2 + 0x65) != '\0') && (param_5 == 1)" (parenthesized_expression "(*(char *)(param_2 + 0x65) != '\0')" ( (binary_expression "*(char *)(param_2 + 0x65) != '\0'" (pointer_expression "*(char *)(param_2 + 0x65)" * (cast_expression "(char *)(param_2 + 0x65)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x65)" ( (binary_expression "param_2 + 0x65" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(param_5 == 1)" ( (binary_expression "param_5 == 1" identifier == number_literal) ))) )) (compound_statement "{\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }" { (expression_statement "local_24 = *(int *)(param_2 + 0x54);" (assignment_expression "local_24 = *(int *)(param_2 + 0x54)" identifier = (pointer_expression "*(int *)(param_2 + 0x54)" * (cast_expression "(int *)(param_2 + 0x54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x54)" ( (binary_expression "param_2 + 0x54" identifier + number_literal) ))))) ;) (expression_statement "local_20 = *(undefined4 *)(param_2 + 0x58);" (assignment_expression "local_20 = *(undefined4 *)(param_2 + 0x58)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 0x58)" * (cast_expression "(undefined4 *)(param_2 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x58)" ( (binary_expression "param_2 + 0x58" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24);" (assignment_expression "uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24)" identifier = (call_expression "FUN_00213da0(param_2,&local_24,local_24,local_24)" identifier (argument_list "(param_2,&local_24,local_24,local_24)" ( identifier , (pointer_expression "&local_24" & identifier) , identifier , identifier )))) ;) (expression_statement "bVar6 = CARRY4(uVar3,uVar5);" (assignment_expression "bVar6 = CARRY4(uVar3,uVar5)" identifier = (call_expression "CARRY4(uVar3,uVar5)" identifier (argument_list "(uVar3,uVar5)" ( identifier , identifier )))) ;) (expression_statement "uVar3 = uVar3 + uVar5;" (assignment_expression "uVar3 = uVar3 + uVar5" identifier = (binary_expression "uVar3 + uVar5" identifier + identifier)) ;) (expression_statement "iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;" (assignment_expression "iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6" identifier = (binary_expression "iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6" (binary_expression "iVar4 + ((int)uVar5 >> 0x1f)" identifier + (parenthesized_expression "((int)uVar5 >> 0x1f)" ( (binary_expression "(int)uVar5 >> 0x1f" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) + (cast_expression "(uint)bVar6" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) })) (expression_statement "FUN_00213f30(param_1,param_2,uVar3,iVar4,param_5,local_24,local_20);" (call_expression "FUN_00213f30(param_1,param_2,uVar3,iVar4,param_5,local_24,local_20)" identifier (argument_list "(param_1,param_2,uVar3,iVar4,param_5,local_24,local_20)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier ))) ;) }))) (return_statement "return param_1;" return identifier ;) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::filebuf::seekoff(long long, std::_Ios_Seekdir, std::_Ios_Openmode) */\n\nlonglong *\nstd::filebuf::seekoff(longlong *param_1,filebuf *param_2,uint param_3,int param_4,int param_5)\n\n{\n  int *piVar1;\n  char cVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  bool bVar6;\n  longlong lVar7;\n  int local_4c;\n  int local_48;\n  uint local_30;\n  __mbstate_t local_24 [2];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2141f9;\n  piVar1 = *(int **)(param_2 + 0x74);\n  if (piVar1 == (int *)0x0) {\n    bVar6 = true;\n    local_30 = 0;\n  }\n  else {\n    uVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    local_30 = 0;\n    if (-1 < (int)uVar3) {\n      local_30 = uVar3;\n    }\n    bVar6 = (int)uVar3 < 1;\n  }\n  *(undefined4 *)param_1 = 0xffffffff;\n  *(undefined4 *)((int)param_1 + 4) = 0xffffffff;\n  *(undefined4 *)(param_1 + 1) = 0;\n  *(undefined4 *)((int)param_1 + 0xc) = 0;\n  cVar2 = __basic_file<char>::is_open((__basic_file<char> *)(param_2 + 0x38));\n  if (cVar2 == '\x01') {\n    if ((bool)((param_3 != 0 || param_4 != 0) & bVar6)) {\n      return param_1;\n    }\n    if (((param_5 == 1) && (param_3 == 0 && param_4 == 0)) &&\n       ((param_2[0x66] == (filebuf)0x0 ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')))) {\n      local_24[0].__count = *(int *)(param_2 + 0x44);\n      local_24[0].__value = *(_union_54 *)(param_2 + 0x48);\n      if (param_2[0x65] == (filebuf)0x0) {\n        local_4c = 0;\n        local_48 = 0;\n      }\n      else {\n        local_24[0].__count = *(int *)(param_2 + 0x54);\n        local_24[0].__value = *(_union_54 *)(param_2 + 0x58);\n        local_4c = _M_get_ext_pos(param_2,local_24);\n        local_48 = local_4c >> 0x1f;\n      }\n      if (param_2[0x66] != (filebuf)0x0) {\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }\n      lVar7 = __basic_file<char>::seekoff((__basic_file<char> *)(param_2 + 0x38),0,0,1);\n      if (lVar7 != -1) {\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24[0].__count;\n        *(_union_54 *)((int)param_1 + 0xc) = local_24[0].__value;\n        return param_1;\n      }\n    }\n    else {\n      if (param_2[0x70] != (filebuf)0x0) {\n        param_2[0x70] = (filebuf)0x0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }\n      local_24[0].__count = *(int *)(param_2 + 0x44);\n      local_24[0].__value = (_union_54)((_union_54 *)(param_2 + 0x48))->__wch;\n      uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);\n      iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;\n      if ((param_2[0x65] != (filebuf)0x0) && (param_5 == 1)) {\n        local_24[0].__count = *(int *)(param_2 + 0x54);\n        local_24[0].__value = (_union_54)((_union_54 *)(param_2 + 0x58))->__wch;\n        uVar5 = _M_get_ext_pos(param_2,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }\n      _M_seek(param_1,param_2,uVar3,iVar4,param_5,local_24[0].__count,local_24[0].__value.__wch);\n    }\n    return param_1;\n  }\n  return param_1;\n}\n\n" comment comment (ERROR "longlong *\nstd::" (binary_expression "longlong *\nstd" identifier * identifier) : :) (labeled_statement "filebuf::seekoff(longlong *param_1,filebuf *param_2,uint param_3,int param_4,int param_5)\n\n{\n  int *piVar1;\n  char cVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  bool bVar6;\n  longlong lVar7;\n  int local_4c;\n  int local_48;\n  uint local_30;\n  __mbstate_t local_24 [2];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2141f9;\n  piVar1 = *(int **)(param_2 + 0x74);\n  if (piVar1 == (int *)0x0) {\n    bVar6 = true;\n    local_30 = 0;\n  }\n  else {\n    uVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    local_30 = 0;\n    if (-1 < (int)uVar3) {\n      local_30 = uVar3;\n    }\n    bVar6 = (int)uVar3 < 1;\n  }\n  *(undefined4 *)param_1 = 0xffffffff;\n  *(undefined4 *)((int)param_1 + 4) = 0xffffffff;\n  *(undefined4 *)(param_1 + 1) = 0;\n  *(undefined4 *)((int)param_1 + 0xc) = 0;\n  cVar2 = __basic_file<char>::is_open((__basic_file<char> *)(param_2 + 0x38));\n  if (cVar2 == '\x01') {\n    if ((bool)((param_3 != 0 || param_4 != 0) & bVar6)) {\n      return param_1;\n    }\n    if (((param_5 == 1) && (param_3 == 0 && param_4 == 0)) &&\n       ((param_2[0x66] == (filebuf)0x0 ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')))) {\n      local_24[0].__count = *(int *)(param_2 + 0x44);\n      local_24[0].__value = *(_union_54 *)(param_2 + 0x48);\n      if (param_2[0x65] == (filebuf)0x0) {\n        local_4c = 0;\n        local_48 = 0;\n      }\n      else {\n        local_24[0].__count = *(int *)(param_2 + 0x54);\n        local_24[0].__value = *(_union_54 *)(param_2 + 0x58);\n        local_4c = _M_get_ext_pos(param_2,local_24);\n        local_48 = local_4c >> 0x1f;\n      }\n      if (param_2[0x66] != (filebuf)0x0) {\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }\n      lVar7 = __basic_file<char>::seekoff((__basic_file<char> *)(param_2 + 0x38),0,0,1);\n      if (lVar7 != -1) {\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24[0].__count;\n        *(_union_54 *)((int)param_1 + 0xc) = local_24[0].__value;\n        return param_1;\n      }\n    }\n    else {\n      if (param_2[0x70] != (filebuf)0x0) {\n        param_2[0x70] = (filebuf)0x0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }\n      local_24[0].__count = *(int *)(param_2 + 0x44);\n      local_24[0].__value = (_union_54)((_union_54 *)(param_2 + 0x48))->__wch;\n      uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);\n      iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;\n      if ((param_2[0x65] != (filebuf)0x0) && (param_5 == 1)) {\n        local_24[0].__count = *(int *)(param_2 + 0x54);\n        local_24[0].__value = (_union_54)((_union_54 *)(param_2 + 0x58))->__wch;\n        uVar5 = _M_get_ext_pos(param_2,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }\n      _M_seek(param_1,param_2,uVar3,iVar4,param_5,local_24[0].__count,local_24[0].__value.__wch);\n    }\n    return param_1;\n  }\n  return param_1;\n}" statement_identifier : (ERROR ":seekoff(longlong *param_1,filebuf *param_2,uint param_3,int param_4,int param_5)" : (call_expression "seekoff(longlong *param_1,filebuf *param_2,uint param_3,int param_4,int param_5)" identifier (argument_list "(longlong *param_1,filebuf *param_2,uint param_3,int param_4,int param_5)" ( (binary_expression "longlong *param_1" identifier * identifier) , (binary_expression "filebuf *param_2" identifier * identifier) , (ERROR "uint" identifier) identifier , (ERROR "int" identifier) identifier , (ERROR "int" identifier) identifier )))) (compound_statement "{\n  int *piVar1;\n  char cVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  bool bVar6;\n  longlong lVar7;\n  int local_4c;\n  int local_48;\n  uint local_30;\n  __mbstate_t local_24 [2];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2141f9;\n  piVar1 = *(int **)(param_2 + 0x74);\n  if (piVar1 == (int *)0x0) {\n    bVar6 = true;\n    local_30 = 0;\n  }\n  else {\n    uVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    local_30 = 0;\n    if (-1 < (int)uVar3) {\n      local_30 = uVar3;\n    }\n    bVar6 = (int)uVar3 < 1;\n  }\n  *(undefined4 *)param_1 = 0xffffffff;\n  *(undefined4 *)((int)param_1 + 4) = 0xffffffff;\n  *(undefined4 *)(param_1 + 1) = 0;\n  *(undefined4 *)((int)param_1 + 0xc) = 0;\n  cVar2 = __basic_file<char>::is_open((__basic_file<char> *)(param_2 + 0x38));\n  if (cVar2 == '\x01') {\n    if ((bool)((param_3 != 0 || param_4 != 0) & bVar6)) {\n      return param_1;\n    }\n    if (((param_5 == 1) && (param_3 == 0 && param_4 == 0)) &&\n       ((param_2[0x66] == (filebuf)0x0 ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')))) {\n      local_24[0].__count = *(int *)(param_2 + 0x44);\n      local_24[0].__value = *(_union_54 *)(param_2 + 0x48);\n      if (param_2[0x65] == (filebuf)0x0) {\n        local_4c = 0;\n        local_48 = 0;\n      }\n      else {\n        local_24[0].__count = *(int *)(param_2 + 0x54);\n        local_24[0].__value = *(_union_54 *)(param_2 + 0x58);\n        local_4c = _M_get_ext_pos(param_2,local_24);\n        local_48 = local_4c >> 0x1f;\n      }\n      if (param_2[0x66] != (filebuf)0x0) {\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }\n      lVar7 = __basic_file<char>::seekoff((__basic_file<char> *)(param_2 + 0x38),0,0,1);\n      if (lVar7 != -1) {\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24[0].__count;\n        *(_union_54 *)((int)param_1 + 0xc) = local_24[0].__value;\n        return param_1;\n      }\n    }\n    else {\n      if (param_2[0x70] != (filebuf)0x0) {\n        param_2[0x70] = (filebuf)0x0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }\n      local_24[0].__count = *(int *)(param_2 + 0x44);\n      local_24[0].__value = (_union_54)((_union_54 *)(param_2 + 0x48))->__wch;\n      uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);\n      iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;\n      if ((param_2[0x65] != (filebuf)0x0) && (param_5 == 1)) {\n        local_24[0].__count = *(int *)(param_2 + 0x54);\n        local_24[0].__value = (_union_54)((_union_54 *)(param_2 + 0x58))->__wch;\n        uVar5 = _M_get_ext_pos(param_2,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }\n      _M_seek(param_1,param_2,uVar3,iVar4,param_5,local_24[0].__count,local_24[0].__value.__wch);\n    }\n    return param_1;\n  }\n  return param_1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "bool bVar6;" primitive_type identifier ;) (declaration "longlong lVar7;" type_identifier identifier ;) (declaration "int local_4c;" primitive_type identifier ;) (declaration "int local_48;" primitive_type identifier ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "__mbstate_t local_24 [2];" type_identifier (array_declarator "local_24 [2]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x2141f9;" (assignment_expression "uStack_14 = 0x2141f9" identifier = number_literal) ;) (expression_statement "piVar1 = *(int **)(param_2 + 0x74);" (assignment_expression "piVar1 = *(int **)(param_2 + 0x74)" identifier = (pointer_expression "*(int **)(param_2 + 0x74)" * (cast_expression "(int **)(param_2 + 0x74)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x74)" ( (binary_expression "param_2 + 0x74" identifier + number_literal) ))))) ;) (if_statement "if (piVar1 == (int *)0x0) {\n    bVar6 = true;\n    local_30 = 0;\n  }\n  else {\n    uVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    local_30 = 0;\n    if (-1 < (int)uVar3) {\n      local_30 = uVar3;\n    }\n    bVar6 = (int)uVar3 < 1;\n  }" if (parenthesized_expression "(piVar1 == (int *)0x0)" ( (binary_expression "piVar1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    bVar6 = true;\n    local_30 = 0;\n  }" { (expression_statement "bVar6 = true;" (assignment_expression "bVar6 = true" identifier = true) ;) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    uVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    local_30 = 0;\n    if (-1 < (int)uVar3) {\n      local_30 = uVar3;\n    }\n    bVar6 = (int)uVar3 < 1;\n  }" else (compound_statement "{\n    uVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    local_30 = 0;\n    if (-1 < (int)uVar3) {\n      local_30 = uVar3;\n    }\n    bVar6 = (int)uVar3 < 1;\n  }" { (expression_statement "uVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);" (assignment_expression "uVar3 = (**(code **)(*piVar1 + 0x14))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 0x14))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x14))" ( (pointer_expression "**(code **)(*piVar1 + 0x14)" * (pointer_expression "*(code **)(*piVar1 + 0x14)" * (cast_expression "(code **)(*piVar1 + 0x14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x14)" ( (binary_expression "*piVar1 + 0x14" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (if_statement "if (-1 < (int)uVar3) {\n      local_30 = uVar3;\n    }" if (parenthesized_expression "(-1 < (int)uVar3)" ( (binary_expression "-1 < (int)uVar3" number_literal < (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      local_30 = uVar3;\n    }" { (expression_statement "local_30 = uVar3;" (assignment_expression "local_30 = uVar3" identifier = identifier) ;) })) (expression_statement "bVar6 = (int)uVar3 < 1;" (assignment_expression "bVar6 = (int)uVar3 < 1" identifier = (binary_expression "(int)uVar3 < 1" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal)) ;) }))) (expression_statement "*(undefined4 *)param_1 = 0xffffffff;" (assignment_expression "*(undefined4 *)param_1 = 0xffffffff" (pointer_expression "*(undefined4 *)param_1" * (cast_expression "(undefined4 *)param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "*(undefined4 *)((int)param_1 + 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)((int)param_1 + 4) = 0xffffffff" (pointer_expression "*(undefined4 *)((int)param_1 + 4)" * (cast_expression "(undefined4 *)((int)param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 4)" ( (binary_expression "(int)param_1 + 4" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 1) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 1) = 0" (pointer_expression "*(undefined4 *)(param_1 + 1)" * (cast_expression "(undefined4 *)(param_1 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)param_1 + 0xc) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + 0xc) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + 0xc)" * (cast_expression "(undefined4 *)((int)param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0xc)" ( (binary_expression "(int)param_1 + 0xc" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "cVar2 = __basic_file<char>::is_open((__basic_file<char> *)(param_2 + 0x38));" (assignment_expression "cVar2 = __basic_file<char>::is_open((__basic_file<char> *)(param_2 + 0x38))" identifier = (binary_expression "__basic_file<char>::is_open((__basic_file<char> *)(param_2 + 0x38))" (binary_expression "__basic_file<char" identifier < identifier) > (ERROR "::" : :) (call_expression "is_open((__basic_file<char> *)(param_2 + 0x38))" identifier (argument_list "((__basic_file<char> *)(param_2 + 0x38))" ( (call_expression "(__basic_file<char> *)(param_2 + 0x38)" (parenthesized_expression "(__basic_file<char> *)" ( (binary_expression "__basic_file<char> *" (binary_expression "__basic_file<char" identifier < identifier) > (pointer_expression "*" * identifier)) )) (argument_list "(param_2 + 0x38)" ( (binary_expression "param_2 + 0x38" identifier + number_literal) ))) ))))) ;) (if_statement "if (cVar2 == '\x01') {\n    if ((bool)((param_3 != 0 || param_4 != 0) & bVar6)) {\n      return param_1;\n    }\n    if (((param_5 == 1) && (param_3 == 0 && param_4 == 0)) &&\n       ((param_2[0x66] == (filebuf)0x0 ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')))) {\n      local_24[0].__count = *(int *)(param_2 + 0x44);\n      local_24[0].__value = *(_union_54 *)(param_2 + 0x48);\n      if (param_2[0x65] == (filebuf)0x0) {\n        local_4c = 0;\n        local_48 = 0;\n      }\n      else {\n        local_24[0].__count = *(int *)(param_2 + 0x54);\n        local_24[0].__value = *(_union_54 *)(param_2 + 0x58);\n        local_4c = _M_get_ext_pos(param_2,local_24);\n        local_48 = local_4c >> 0x1f;\n      }\n      if (param_2[0x66] != (filebuf)0x0) {\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }\n      lVar7 = __basic_file<char>::seekoff((__basic_file<char> *)(param_2 + 0x38),0,0,1);\n      if (lVar7 != -1) {\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24[0].__count;\n        *(_union_54 *)((int)param_1 + 0xc) = local_24[0].__value;\n        return param_1;\n      }\n    }\n    else {\n      if (param_2[0x70] != (filebuf)0x0) {\n        param_2[0x70] = (filebuf)0x0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }\n      local_24[0].__count = *(int *)(param_2 + 0x44);\n      local_24[0].__value = (_union_54)((_union_54 *)(param_2 + 0x48))->__wch;\n      uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);\n      iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;\n      if ((param_2[0x65] != (filebuf)0x0) && (param_5 == 1)) {\n        local_24[0].__count = *(int *)(param_2 + 0x54);\n        local_24[0].__value = (_union_54)((_union_54 *)(param_2 + 0x58))->__wch;\n        uVar5 = _M_get_ext_pos(param_2,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }\n      _M_seek(param_1,param_2,uVar3,iVar4,param_5,local_24[0].__count,local_24[0].__value.__wch);\n    }\n    return param_1;\n  }" if (parenthesized_expression "(cVar2 == '\x01')" ( (binary_expression "cVar2 == '\x01'" identifier == (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n    if ((bool)((param_3 != 0 || param_4 != 0) & bVar6)) {\n      return param_1;\n    }\n    if (((param_5 == 1) && (param_3 == 0 && param_4 == 0)) &&\n       ((param_2[0x66] == (filebuf)0x0 ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')))) {\n      local_24[0].__count = *(int *)(param_2 + 0x44);\n      local_24[0].__value = *(_union_54 *)(param_2 + 0x48);\n      if (param_2[0x65] == (filebuf)0x0) {\n        local_4c = 0;\n        local_48 = 0;\n      }\n      else {\n        local_24[0].__count = *(int *)(param_2 + 0x54);\n        local_24[0].__value = *(_union_54 *)(param_2 + 0x58);\n        local_4c = _M_get_ext_pos(param_2,local_24);\n        local_48 = local_4c >> 0x1f;\n      }\n      if (param_2[0x66] != (filebuf)0x0) {\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }\n      lVar7 = __basic_file<char>::seekoff((__basic_file<char> *)(param_2 + 0x38),0,0,1);\n      if (lVar7 != -1) {\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24[0].__count;\n        *(_union_54 *)((int)param_1 + 0xc) = local_24[0].__value;\n        return param_1;\n      }\n    }\n    else {\n      if (param_2[0x70] != (filebuf)0x0) {\n        param_2[0x70] = (filebuf)0x0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }\n      local_24[0].__count = *(int *)(param_2 + 0x44);\n      local_24[0].__value = (_union_54)((_union_54 *)(param_2 + 0x48))->__wch;\n      uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);\n      iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;\n      if ((param_2[0x65] != (filebuf)0x0) && (param_5 == 1)) {\n        local_24[0].__count = *(int *)(param_2 + 0x54);\n        local_24[0].__value = (_union_54)((_union_54 *)(param_2 + 0x58))->__wch;\n        uVar5 = _M_get_ext_pos(param_2,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }\n      _M_seek(param_1,param_2,uVar3,iVar4,param_5,local_24[0].__count,local_24[0].__value.__wch);\n    }\n    return param_1;\n  }" { (if_statement "if ((bool)((param_3 != 0 || param_4 != 0) & bVar6)) {\n      return param_1;\n    }" if (parenthesized_expression "((bool)((param_3 != 0 || param_4 != 0) & bVar6))" ( (cast_expression "(bool)((param_3 != 0 || param_4 != 0) & bVar6)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "((param_3 != 0 || param_4 != 0) & bVar6)" ( (binary_expression "(param_3 != 0 || param_4 != 0) & bVar6" (parenthesized_expression "(param_3 != 0 || param_4 != 0)" ( (binary_expression "param_3 != 0 || param_4 != 0" (binary_expression "param_3 != 0" identifier != number_literal) || (binary_expression "param_4 != 0" identifier != number_literal)) )) & identifier) ))) )) (compound_statement "{\n      return param_1;\n    }" { (return_statement "return param_1;" return identifier ;) })) (if_statement "if (((param_5 == 1) && (param_3 == 0 && param_4 == 0)) &&\n       ((param_2[0x66] == (filebuf)0x0 ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')))) {\n      local_24[0].__count = *(int *)(param_2 + 0x44);\n      local_24[0].__value = *(_union_54 *)(param_2 + 0x48);\n      if (param_2[0x65] == (filebuf)0x0) {\n        local_4c = 0;\n        local_48 = 0;\n      }\n      else {\n        local_24[0].__count = *(int *)(param_2 + 0x54);\n        local_24[0].__value = *(_union_54 *)(param_2 + 0x58);\n        local_4c = _M_get_ext_pos(param_2,local_24);\n        local_48 = local_4c >> 0x1f;\n      }\n      if (param_2[0x66] != (filebuf)0x0) {\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }\n      lVar7 = __basic_file<char>::seekoff((__basic_file<char> *)(param_2 + 0x38),0,0,1);\n      if (lVar7 != -1) {\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24[0].__count;\n        *(_union_54 *)((int)param_1 + 0xc) = local_24[0].__value;\n        return param_1;\n      }\n    }\n    else {\n      if (param_2[0x70] != (filebuf)0x0) {\n        param_2[0x70] = (filebuf)0x0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }\n      local_24[0].__count = *(int *)(param_2 + 0x44);\n      local_24[0].__value = (_union_54)((_union_54 *)(param_2 + 0x48))->__wch;\n      uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);\n      iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;\n      if ((param_2[0x65] != (filebuf)0x0) && (param_5 == 1)) {\n        local_24[0].__count = *(int *)(param_2 + 0x54);\n        local_24[0].__value = (_union_54)((_union_54 *)(param_2 + 0x58))->__wch;\n        uVar5 = _M_get_ext_pos(param_2,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }\n      _M_seek(param_1,param_2,uVar3,iVar4,param_5,local_24[0].__count,local_24[0].__value.__wch);\n    }" if (parenthesized_expression "(((param_5 == 1) && (param_3 == 0 && param_4 == 0)) &&\n       ((param_2[0x66] == (filebuf)0x0 ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0'))))" ( (binary_expression "((param_5 == 1) && (param_3 == 0 && param_4 == 0)) &&\n       ((param_2[0x66] == (filebuf)0x0 ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')))" (parenthesized_expression "((param_5 == 1) && (param_3 == 0 && param_4 == 0))" ( (binary_expression "(param_5 == 1) && (param_3 == 0 && param_4 == 0)" (parenthesized_expression "(param_5 == 1)" ( (binary_expression "param_5 == 1" identifier == number_literal) )) && (parenthesized_expression "(param_3 == 0 && param_4 == 0)" ( (binary_expression "param_3 == 0 && param_4 == 0" (binary_expression "param_3 == 0" identifier == number_literal) && (binary_expression "param_4 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "((param_2[0x66] == (filebuf)0x0 ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')))" ( (parenthesized_expression "(param_2[0x66] == (filebuf)0x0 ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0'))" ( (binary_expression "param_2[0x66] == (filebuf)0x0 ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')" (binary_expression "param_2[0x66] == (filebuf)0x0" (subscript_expression "param_2[0x66]" identifier [ number_literal ]) == (cast_expression "(filebuf)0x0" ( (type_descriptor "filebuf" type_identifier) ) number_literal)) || (parenthesized_expression "(cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')" ( (comma_expression "cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0'" (assignment_expression "cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74))" identifier = (call_expression "(**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74))" (parenthesized_expression "(**(code **)(**(int **)(param_2 + 0x74) + 0x18))" ( (pointer_expression "**(code **)(**(int **)(param_2 + 0x74) + 0x18)" * (pointer_expression "*(code **)(**(int **)(param_2 + 0x74) + 0x18)" * (cast_expression "(code **)(**(int **)(param_2 + 0x74) + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(param_2 + 0x74) + 0x18)" ( (binary_expression "**(int **)(param_2 + 0x74) + 0x18" (pointer_expression "**(int **)(param_2 + 0x74)" * (pointer_expression "*(int **)(param_2 + 0x74)" * (cast_expression "(int **)(param_2 + 0x74)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x74)" ( (binary_expression "param_2 + 0x74" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "(*(int **)(param_2 + 0x74))" ( (pointer_expression "*(int **)(param_2 + 0x74)" * (cast_expression "(int **)(param_2 + 0x74)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x74)" ( (binary_expression "param_2 + 0x74" identifier + number_literal) )))) )))) , (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence '))) ))) )) ))) )) (compound_statement "{\n      local_24[0].__count = *(int *)(param_2 + 0x44);\n      local_24[0].__value = *(_union_54 *)(param_2 + 0x48);\n      if (param_2[0x65] == (filebuf)0x0) {\n        local_4c = 0;\n        local_48 = 0;\n      }\n      else {\n        local_24[0].__count = *(int *)(param_2 + 0x54);\n        local_24[0].__value = *(_union_54 *)(param_2 + 0x58);\n        local_4c = _M_get_ext_pos(param_2,local_24);\n        local_48 = local_4c >> 0x1f;\n      }\n      if (param_2[0x66] != (filebuf)0x0) {\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }\n      lVar7 = __basic_file<char>::seekoff((__basic_file<char> *)(param_2 + 0x38),0,0,1);\n      if (lVar7 != -1) {\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24[0].__count;\n        *(_union_54 *)((int)param_1 + 0xc) = local_24[0].__value;\n        return param_1;\n      }\n    }" { (expression_statement "local_24[0].__count = *(int *)(param_2 + 0x44);" (assignment_expression "local_24[0].__count = *(int *)(param_2 + 0x44)" (field_expression "local_24[0].__count" (subscript_expression "local_24[0]" identifier [ number_literal ]) . field_identifier) = (pointer_expression "*(int *)(param_2 + 0x44)" * (cast_expression "(int *)(param_2 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x44)" ( (binary_expression "param_2 + 0x44" identifier + number_literal) ))))) ;) (expression_statement "local_24[0].__value = *(_union_54 *)(param_2 + 0x48);" (assignment_expression "local_24[0].__value = *(_union_54 *)(param_2 + 0x48)" (field_expression "local_24[0].__value" (subscript_expression "local_24[0]" identifier [ number_literal ]) . field_identifier) = (pointer_expression "*(_union_54 *)(param_2 + 0x48)" * (cast_expression "(_union_54 *)(param_2 + 0x48)" ( (type_descriptor "_union_54 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x48)" ( (binary_expression "param_2 + 0x48" identifier + number_literal) ))))) ;) (if_statement "if (param_2[0x65] == (filebuf)0x0) {\n        local_4c = 0;\n        local_48 = 0;\n      }\n      else {\n        local_24[0].__count = *(int *)(param_2 + 0x54);\n        local_24[0].__value = *(_union_54 *)(param_2 + 0x58);\n        local_4c = _M_get_ext_pos(param_2,local_24);\n        local_48 = local_4c >> 0x1f;\n      }" if (parenthesized_expression "(param_2[0x65] == (filebuf)0x0)" ( (binary_expression "param_2[0x65] == (filebuf)0x0" (subscript_expression "param_2[0x65]" identifier [ number_literal ]) == (cast_expression "(filebuf)0x0" ( (type_descriptor "filebuf" type_identifier) ) number_literal)) )) (compound_statement "{\n        local_4c = 0;\n        local_48 = 0;\n      }" { (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" identifier = number_literal) ;) (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        local_24[0].__count = *(int *)(param_2 + 0x54);\n        local_24[0].__value = *(_union_54 *)(param_2 + 0x58);\n        local_4c = _M_get_ext_pos(param_2,local_24);\n        local_48 = local_4c >> 0x1f;\n      }" else (compound_statement "{\n        local_24[0].__count = *(int *)(param_2 + 0x54);\n        local_24[0].__value = *(_union_54 *)(param_2 + 0x58);\n        local_4c = _M_get_ext_pos(param_2,local_24);\n        local_48 = local_4c >> 0x1f;\n      }" { (expression_statement "local_24[0].__count = *(int *)(param_2 + 0x54);" (assignment_expression "local_24[0].__count = *(int *)(param_2 + 0x54)" (field_expression "local_24[0].__count" (subscript_expression "local_24[0]" identifier [ number_literal ]) . field_identifier) = (pointer_expression "*(int *)(param_2 + 0x54)" * (cast_expression "(int *)(param_2 + 0x54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x54)" ( (binary_expression "param_2 + 0x54" identifier + number_literal) ))))) ;) (expression_statement "local_24[0].__value = *(_union_54 *)(param_2 + 0x58);" (assignment_expression "local_24[0].__value = *(_union_54 *)(param_2 + 0x58)" (field_expression "local_24[0].__value" (subscript_expression "local_24[0]" identifier [ number_literal ]) . field_identifier) = (pointer_expression "*(_union_54 *)(param_2 + 0x58)" * (cast_expression "(_union_54 *)(param_2 + 0x58)" ( (type_descriptor "_union_54 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x58)" ( (binary_expression "param_2 + 0x58" identifier + number_literal) ))))) ;) (expression_statement "local_4c = _M_get_ext_pos(param_2,local_24);" (assignment_expression "local_4c = _M_get_ext_pos(param_2,local_24)" identifier = (call_expression "_M_get_ext_pos(param_2,local_24)" identifier (argument_list "(param_2,local_24)" ( identifier , identifier )))) ;) (expression_statement "local_48 = local_4c >> 0x1f;" (assignment_expression "local_48 = local_4c >> 0x1f" identifier = (binary_expression "local_4c >> 0x1f" identifier >> number_literal)) ;) }))) (if_statement "if (param_2[0x66] != (filebuf)0x0) {\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }" if (parenthesized_expression "(param_2[0x66] != (filebuf)0x0)" ( (binary_expression "param_2[0x66] != (filebuf)0x0" (subscript_expression "param_2[0x66]" identifier [ number_literal ]) != (cast_expression "(filebuf)0x0" ( (type_descriptor "filebuf" type_identifier) ) number_literal)) )) (compound_statement "{\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }" { (expression_statement "local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);" (assignment_expression "local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10)" identifier = (binary_expression "*(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10)" (pointer_expression "*(int *)(param_2 + 0x14)" * (cast_expression "(int *)(param_2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) - (pointer_expression "*(int *)(param_2 + 0x10)" * (cast_expression "(int *)(param_2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))))) ;) (expression_statement "local_48 = local_4c >> 0x1f;" (assignment_expression "local_48 = local_4c >> 0x1f" identifier = (binary_expression "local_4c >> 0x1f" identifier >> number_literal)) ;) })) (expression_statement "lVar7 = __basic_file<char>::seekoff((__basic_file<char> *)(param_2 + 0x38),0,0,1);" (assignment_expression "lVar7 = __basic_file<char>::seekoff((__basic_file<char> *)(param_2 + 0x38),0,0,1)" identifier = (binary_expression "__basic_file<char>::seekoff((__basic_file<char> *)(param_2 + 0x38),0,0,1)" (binary_expression "__basic_file<char" identifier < identifier) > (ERROR "::" : :) (call_expression "seekoff((__basic_file<char> *)(param_2 + 0x38),0,0,1)" identifier (argument_list "((__basic_file<char> *)(param_2 + 0x38),0,0,1)" ( (call_expression "(__basic_file<char> *)(param_2 + 0x38)" (parenthesized_expression "(__basic_file<char> *)" ( (binary_expression "__basic_file<char> *" (binary_expression "__basic_file<char" identifier < identifier) > (pointer_expression "*" * identifier)) )) (argument_list "(param_2 + 0x38)" ( (binary_expression "param_2 + 0x38" identifier + number_literal) ))) , number_literal , number_literal , number_literal ))))) ;) (if_statement "if (lVar7 != -1) {\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24[0].__count;\n        *(_union_54 *)((int)param_1 + 0xc) = local_24[0].__value;\n        return param_1;\n      }" if (parenthesized_expression "(lVar7 != -1)" ( (binary_expression "lVar7 != -1" identifier != number_literal) )) (compound_statement "{\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24[0].__count;\n        *(_union_54 *)((int)param_1 + 0xc) = local_24[0].__value;\n        return param_1;\n      }" { (expression_statement "*param_1 = lVar7 + CONCAT44(local_48,local_4c);" (assignment_expression "*param_1 = lVar7 + CONCAT44(local_48,local_4c)" (pointer_expression "*param_1" * identifier) = (binary_expression "lVar7 + CONCAT44(local_48,local_4c)" identifier + (call_expression "CONCAT44(local_48,local_4c)" identifier (argument_list "(local_48,local_4c)" ( identifier , identifier ))))) ;) (expression_statement "*(int *)(param_1 + 1) = local_24[0].__count;" (assignment_expression "*(int *)(param_1 + 1) = local_24[0].__count" (pointer_expression "*(int *)(param_1 + 1)" * (cast_expression "(int *)(param_1 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = (field_expression "local_24[0].__count" (subscript_expression "local_24[0]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "*(_union_54 *)((int)param_1 + 0xc) = local_24[0].__value;" (assignment_expression "*(_union_54 *)((int)param_1 + 0xc) = local_24[0].__value" (pointer_expression "*(_union_54 *)((int)param_1 + 0xc)" * (cast_expression "(_union_54 *)((int)param_1 + 0xc)" ( (type_descriptor "_union_54 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0xc)" ( (binary_expression "(int)param_1 + 0xc" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (field_expression "local_24[0].__value" (subscript_expression "local_24[0]" identifier [ number_literal ]) . field_identifier)) ;) (return_statement "return param_1;" return identifier ;) })) }) (else_clause "else {\n      if (param_2[0x70] != (filebuf)0x0) {\n        param_2[0x70] = (filebuf)0x0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }\n      local_24[0].__count = *(int *)(param_2 + 0x44);\n      local_24[0].__value = (_union_54)((_union_54 *)(param_2 + 0x48))->__wch;\n      uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);\n      iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;\n      if ((param_2[0x65] != (filebuf)0x0) && (param_5 == 1)) {\n        local_24[0].__count = *(int *)(param_2 + 0x54);\n        local_24[0].__value = (_union_54)((_union_54 *)(param_2 + 0x58))->__wch;\n        uVar5 = _M_get_ext_pos(param_2,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }\n      _M_seek(param_1,param_2,uVar3,iVar4,param_5,local_24[0].__count,local_24[0].__value.__wch);\n    }" else (compound_statement "{\n      if (param_2[0x70] != (filebuf)0x0) {\n        param_2[0x70] = (filebuf)0x0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }\n      local_24[0].__count = *(int *)(param_2 + 0x44);\n      local_24[0].__value = (_union_54)((_union_54 *)(param_2 + 0x48))->__wch;\n      uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);\n      iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;\n      if ((param_2[0x65] != (filebuf)0x0) && (param_5 == 1)) {\n        local_24[0].__count = *(int *)(param_2 + 0x54);\n        local_24[0].__value = (_union_54)((_union_54 *)(param_2 + 0x58))->__wch;\n        uVar5 = _M_get_ext_pos(param_2,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }\n      _M_seek(param_1,param_2,uVar3,iVar4,param_5,local_24[0].__count,local_24[0].__value.__wch);\n    }" { (if_statement "if (param_2[0x70] != (filebuf)0x0) {\n        param_2[0x70] = (filebuf)0x0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }" if (parenthesized_expression "(param_2[0x70] != (filebuf)0x0)" ( (binary_expression "param_2[0x70] != (filebuf)0x0" (subscript_expression "param_2[0x70]" identifier [ number_literal ]) != (cast_expression "(filebuf)0x0" ( (type_descriptor "filebuf" type_identifier) ) number_literal)) )) (compound_statement "{\n        param_2[0x70] = (filebuf)0x0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }" { (expression_statement "param_2[0x70] = (filebuf)0x0;" (assignment_expression "param_2[0x70] = (filebuf)0x0" (subscript_expression "param_2[0x70]" identifier [ number_literal ]) = (cast_expression "(filebuf)0x0" ( (type_descriptor "filebuf" type_identifier) ) number_literal)) ;) (expression_statement "iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);" (assignment_expression "iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68)" identifier = (binary_expression "(uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68)" (call_expression "(uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(param_2 + 8) != *(int *)(param_2 + 4))" ( (binary_expression "*(int *)(param_2 + 8) != *(int *)(param_2 + 4)" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) != (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ))) + (pointer_expression "*(int *)(param_2 + 0x68)" * (cast_expression "(int *)(param_2 + 0x68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x68)" ( (binary_expression "param_2 + 0x68" identifier + number_literal) )))))) ;) (expression_statement "*(int *)(param_2 + 0x68) = iVar4;" (assignment_expression "*(int *)(param_2 + 0x68) = iVar4" (pointer_expression "*(int *)(param_2 + 0x68)" * (cast_expression "(int *)(param_2 + 0x68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x68)" ( (binary_expression "param_2 + 0x68" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);" (assignment_expression "*(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c)" (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_2 + 0x5c)" * (cast_expression "(undefined4 *)(param_2 + 0x5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x5c)" ( (binary_expression "param_2 + 0x5c" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(param_2 + 8) = iVar4;" (assignment_expression "*(int *)(param_2 + 8) = iVar4" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);" (assignment_expression "*(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c)" (pointer_expression "*(undefined4 *)(param_2 + 0xc)" * (cast_expression "(undefined4 *)(param_2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_2 + 0x6c)" * (cast_expression "(undefined4 *)(param_2 + 0x6c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x6c)" ( (binary_expression "param_2 + 0x6c" identifier + number_literal) ))))) ;) })) (expression_statement "local_24[0].__count = *(int *)(param_2 + 0x44);" (assignment_expression "local_24[0].__count = *(int *)(param_2 + 0x44)" (field_expression "local_24[0].__count" (subscript_expression "local_24[0]" identifier [ number_literal ]) . field_identifier) = (pointer_expression "*(int *)(param_2 + 0x44)" * (cast_expression "(int *)(param_2 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x44)" ( (binary_expression "param_2 + 0x44" identifier + number_literal) ))))) ;) (expression_statement "local_24[0].__value = (_union_54)((_union_54 *)(param_2 + 0x48))->__wch;" (assignment_expression "local_24[0].__value = (_union_54)((_union_54 *)(param_2 + 0x48))->__wch" (field_expression "local_24[0].__value" (subscript_expression "local_24[0]" identifier [ number_literal ]) . field_identifier) = (field_expression "(_union_54)((_union_54 *)(param_2 + 0x48))->__wch" (call_expression "(_union_54)((_union_54 *)(param_2 + 0x48))" (parenthesized_expression "(_union_54)" ( identifier )) (argument_list "((_union_54 *)(param_2 + 0x48))" ( (cast_expression "(_union_54 *)(param_2 + 0x48)" ( (type_descriptor "_union_54 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x48)" ( (binary_expression "param_2 + 0x48" identifier + number_literal) ))) ))) -> field_identifier)) ;) (expression_statement "uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);" (assignment_expression "uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3)" identifier = (call_expression "(uint)((ulonglong)local_30 * (ulonglong)param_3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)local_30 * (ulonglong)param_3)" ( (binary_expression "(ulonglong)local_30 * (ulonglong)param_3" (cast_expression "(ulonglong)local_30" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (cast_expression "(ulonglong)param_3" ( (type_descriptor "ulonglong" type_identifier) ) identifier)) )))) ;) (expression_statement "iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;" (assignment_expression "iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30" identifier = (binary_expression "(int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30" (binary_expression "(int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f)" (cast_expression "(int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)local_30 * (ulonglong)param_3 >> 0x20)" ( (binary_expression "(ulonglong)local_30 * (ulonglong)param_3 >> 0x20" (binary_expression "(ulonglong)local_30 * (ulonglong)param_3" (cast_expression "(ulonglong)local_30" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (cast_expression "(ulonglong)param_3" ( (type_descriptor "ulonglong" type_identifier) ) identifier)) >> number_literal) ))) + (binary_expression "param_3 * ((int)local_30 >> 0x1f)" identifier * (parenthesized_expression "((int)local_30 >> 0x1f)" ( (binary_expression "(int)local_30 >> 0x1f" (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) + (binary_expression "param_4 * local_30" identifier * identifier))) ;) (if_statement "if ((param_2[0x65] != (filebuf)0x0) && (param_5 == 1)) {\n        local_24[0].__count = *(int *)(param_2 + 0x54);\n        local_24[0].__value = (_union_54)((_union_54 *)(param_2 + 0x58))->__wch;\n        uVar5 = _M_get_ext_pos(param_2,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }" if (parenthesized_expression "((param_2[0x65] != (filebuf)0x0) && (param_5 == 1))" ( (binary_expression "(param_2[0x65] != (filebuf)0x0) && (param_5 == 1)" (parenthesized_expression "(param_2[0x65] != (filebuf)0x0)" ( (binary_expression "param_2[0x65] != (filebuf)0x0" (subscript_expression "param_2[0x65]" identifier [ number_literal ]) != (cast_expression "(filebuf)0x0" ( (type_descriptor "filebuf" type_identifier) ) number_literal)) )) && (parenthesized_expression "(param_5 == 1)" ( (binary_expression "param_5 == 1" identifier == number_literal) ))) )) (compound_statement "{\n        local_24[0].__count = *(int *)(param_2 + 0x54);\n        local_24[0].__value = (_union_54)((_union_54 *)(param_2 + 0x58))->__wch;\n        uVar5 = _M_get_ext_pos(param_2,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }" { (expression_statement "local_24[0].__count = *(int *)(param_2 + 0x54);" (assignment_expression "local_24[0].__count = *(int *)(param_2 + 0x54)" (field_expression "local_24[0].__count" (subscript_expression "local_24[0]" identifier [ number_literal ]) . field_identifier) = (pointer_expression "*(int *)(param_2 + 0x54)" * (cast_expression "(int *)(param_2 + 0x54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x54)" ( (binary_expression "param_2 + 0x54" identifier + number_literal) ))))) ;) (expression_statement "local_24[0].__value = (_union_54)((_union_54 *)(param_2 + 0x58))->__wch;" (assignment_expression "local_24[0].__value = (_union_54)((_union_54 *)(param_2 + 0x58))->__wch" (field_expression "local_24[0].__value" (subscript_expression "local_24[0]" identifier [ number_literal ]) . field_identifier) = (field_expression "(_union_54)((_union_54 *)(param_2 + 0x58))->__wch" (call_expression "(_union_54)((_union_54 *)(param_2 + 0x58))" (parenthesized_expression "(_union_54)" ( identifier )) (argument_list "((_union_54 *)(param_2 + 0x58))" ( (cast_expression "(_union_54 *)(param_2 + 0x58)" ( (type_descriptor "_union_54 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x58)" ( (binary_expression "param_2 + 0x58" identifier + number_literal) ))) ))) -> field_identifier)) ;) (expression_statement "uVar5 = _M_get_ext_pos(param_2,local_24);" (assignment_expression "uVar5 = _M_get_ext_pos(param_2,local_24)" identifier = (call_expression "_M_get_ext_pos(param_2,local_24)" identifier (argument_list "(param_2,local_24)" ( identifier , identifier )))) ;) (expression_statement "bVar6 = CARRY4(uVar3,uVar5);" (assignment_expression "bVar6 = CARRY4(uVar3,uVar5)" identifier = (call_expression "CARRY4(uVar3,uVar5)" identifier (argument_list "(uVar3,uVar5)" ( identifier , identifier )))) ;) (expression_statement "uVar3 = uVar3 + uVar5;" (assignment_expression "uVar3 = uVar3 + uVar5" identifier = (binary_expression "uVar3 + uVar5" identifier + identifier)) ;) (expression_statement "iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;" (assignment_expression "iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6" identifier = (binary_expression "iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6" (binary_expression "iVar4 + ((int)uVar5 >> 0x1f)" identifier + (parenthesized_expression "((int)uVar5 >> 0x1f)" ( (binary_expression "(int)uVar5 >> 0x1f" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) + (cast_expression "(uint)bVar6" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) })) (expression_statement "_M_seek(param_1,param_2,uVar3,iVar4,param_5,local_24[0].__count,local_24[0].__value.__wch);" (call_expression "_M_seek(param_1,param_2,uVar3,iVar4,param_5,local_24[0].__count,local_24[0].__value.__wch)" identifier (argument_list "(param_1,param_2,uVar3,iVar4,param_5,local_24[0].__count,local_24[0].__value.__wch)" ( identifier , identifier , identifier , identifier , identifier , (field_expression "local_24[0].__count" (subscript_expression "local_24[0]" identifier [ number_literal ]) . field_identifier) , (field_expression "local_24[0].__value.__wch" (field_expression "local_24[0].__value" (subscript_expression "local_24[0]" identifier [ number_literal ]) . field_identifier) . field_identifier) ))) ;) }))) (return_statement "return param_1;" return identifier ;) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "longlong * FUN_002141f0(longlong *param_1,int param_2,uint param_3,int param_4,int param_5)\n\n{\n  int *piVar1;\n  char cVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  bool bVar6;\n  longlong lVar7;\n  int local_4c;\n  int local_48;\n  uint local_30;\n  int local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2141f9;\n  piVar1 = *(int **)(param_2 + 0x74);\n  if (piVar1 == (int *)0x0) {\n    bVar6 = true;\n    local_30 = 0;\n  }\n  else {\n    uVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    local_30 = 0;\n    if (-1 < (int)uVar3) {\n      local_30 = uVar3;\n    }\n    bVar6 = (int)uVar3 < 1;\n  }\n  *(undefined4 *)param_1 = 0xffffffff;\n  *(undefined4 *)((int)param_1 + 4) = 0xffffffff;\n  *(undefined4 *)(param_1 + 1) = 0;\n  *(undefined4 *)((int)param_1 + 0xc) = 0;\n  cVar2 = FUN_001e73e0(param_2 + 0x38);\n  if (cVar2 == '\x01') {\n    if ((bool)((param_3 != 0 || param_4 != 0) & bVar6)) {\n      return param_1;\n    }\n    if (((param_5 == 1) && (param_3 == 0 && param_4 == 0)) &&\n       ((*(char *)(param_2 + 0x66) == '\0' ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')))) {\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      if (*(char *)(param_2 + 0x65) == '\0') {\n        local_4c = 0;\n        local_48 = 0;\n      }\n      else {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        local_4c = FUN_00213da0(param_2,&local_24);\n        local_48 = local_4c >> 0x1f;\n      }\n      if (*(char *)(param_2 + 0x66) != '\0') {\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }\n      lVar7 = FUN_001e7770(param_2 + 0x38,0,0,1);\n      if (lVar7 != -1) {\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24;\n        *(undefined4 *)((int)param_1 + 0xc) = local_20;\n        return param_1;\n      }\n    }\n    else {\n      if (*(char *)(param_2 + 0x70) != '\0') {\n        *(undefined1 *)(param_2 + 0x70) = 0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);\n      iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;\n      if ((*(char *)(param_2 + 0x65) != '\0') && (param_5 == 1)) {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }\n      FUN_00213f30(param_1,param_2,uVar3,iVar4,param_5,local_24,local_20);\n    }\n    return param_1;\n  }\n  return param_1;\n}\n\n" (function_definition "longlong * FUN_002141f0(longlong *param_1,int param_2,uint param_3,int param_4,int param_5)\n\n{\n  int *piVar1;\n  char cVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  bool bVar6;\n  longlong lVar7;\n  int local_4c;\n  int local_48;\n  uint local_30;\n  int local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2141f9;\n  piVar1 = *(int **)(param_2 + 0x74);\n  if (piVar1 == (int *)0x0) {\n    bVar6 = true;\n    local_30 = 0;\n  }\n  else {\n    uVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    local_30 = 0;\n    if (-1 < (int)uVar3) {\n      local_30 = uVar3;\n    }\n    bVar6 = (int)uVar3 < 1;\n  }\n  *(undefined4 *)param_1 = 0xffffffff;\n  *(undefined4 *)((int)param_1 + 4) = 0xffffffff;\n  *(undefined4 *)(param_1 + 1) = 0;\n  *(undefined4 *)((int)param_1 + 0xc) = 0;\n  cVar2 = FUN_001e73e0(param_2 + 0x38);\n  if (cVar2 == '\x01') {\n    if ((bool)((param_3 != 0 || param_4 != 0) & bVar6)) {\n      return param_1;\n    }\n    if (((param_5 == 1) && (param_3 == 0 && param_4 == 0)) &&\n       ((*(char *)(param_2 + 0x66) == '\0' ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')))) {\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      if (*(char *)(param_2 + 0x65) == '\0') {\n        local_4c = 0;\n        local_48 = 0;\n      }\n      else {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        local_4c = FUN_00213da0(param_2,&local_24);\n        local_48 = local_4c >> 0x1f;\n      }\n      if (*(char *)(param_2 + 0x66) != '\0') {\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }\n      lVar7 = FUN_001e7770(param_2 + 0x38,0,0,1);\n      if (lVar7 != -1) {\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24;\n        *(undefined4 *)((int)param_1 + 0xc) = local_20;\n        return param_1;\n      }\n    }\n    else {\n      if (*(char *)(param_2 + 0x70) != '\0') {\n        *(undefined1 *)(param_2 + 0x70) = 0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);\n      iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;\n      if ((*(char *)(param_2 + 0x65) != '\0') && (param_5 == 1)) {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }\n      FUN_00213f30(param_1,param_2,uVar3,iVar4,param_5,local_24,local_20);\n    }\n    return param_1;\n  }\n  return param_1;\n}" type_identifier (pointer_declarator "* FUN_002141f0(longlong *param_1,int param_2,uint param_3,int param_4,int param_5)" * (function_declarator "FUN_002141f0(longlong *param_1,int param_2,uint param_3,int param_4,int param_5)" identifier (parameter_list "(longlong *param_1,int param_2,uint param_3,int param_4,int param_5)" ( (parameter_declaration "longlong *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "int param_5" primitive_type identifier) )))) (compound_statement "{\n  int *piVar1;\n  char cVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  bool bVar6;\n  longlong lVar7;\n  int local_4c;\n  int local_48;\n  uint local_30;\n  int local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2141f9;\n  piVar1 = *(int **)(param_2 + 0x74);\n  if (piVar1 == (int *)0x0) {\n    bVar6 = true;\n    local_30 = 0;\n  }\n  else {\n    uVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    local_30 = 0;\n    if (-1 < (int)uVar3) {\n      local_30 = uVar3;\n    }\n    bVar6 = (int)uVar3 < 1;\n  }\n  *(undefined4 *)param_1 = 0xffffffff;\n  *(undefined4 *)((int)param_1 + 4) = 0xffffffff;\n  *(undefined4 *)(param_1 + 1) = 0;\n  *(undefined4 *)((int)param_1 + 0xc) = 0;\n  cVar2 = FUN_001e73e0(param_2 + 0x38);\n  if (cVar2 == '\x01') {\n    if ((bool)((param_3 != 0 || param_4 != 0) & bVar6)) {\n      return param_1;\n    }\n    if (((param_5 == 1) && (param_3 == 0 && param_4 == 0)) &&\n       ((*(char *)(param_2 + 0x66) == '\0' ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')))) {\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      if (*(char *)(param_2 + 0x65) == '\0') {\n        local_4c = 0;\n        local_48 = 0;\n      }\n      else {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        local_4c = FUN_00213da0(param_2,&local_24);\n        local_48 = local_4c >> 0x1f;\n      }\n      if (*(char *)(param_2 + 0x66) != '\0') {\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }\n      lVar7 = FUN_001e7770(param_2 + 0x38,0,0,1);\n      if (lVar7 != -1) {\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24;\n        *(undefined4 *)((int)param_1 + 0xc) = local_20;\n        return param_1;\n      }\n    }\n    else {\n      if (*(char *)(param_2 + 0x70) != '\0') {\n        *(undefined1 *)(param_2 + 0x70) = 0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);\n      iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;\n      if ((*(char *)(param_2 + 0x65) != '\0') && (param_5 == 1)) {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }\n      FUN_00213f30(param_1,param_2,uVar3,iVar4,param_5,local_24,local_20);\n    }\n    return param_1;\n  }\n  return param_1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "bool bVar6;" primitive_type identifier ;) (declaration "longlong lVar7;" type_identifier identifier ;) (declaration "int local_4c;" primitive_type identifier ;) (declaration "int local_48;" primitive_type identifier ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x2141f9;" (assignment_expression "uStack_14 = 0x2141f9" identifier = number_literal) ;) (expression_statement "piVar1 = *(int **)(param_2 + 0x74);" (assignment_expression "piVar1 = *(int **)(param_2 + 0x74)" identifier = (pointer_expression "*(int **)(param_2 + 0x74)" * (cast_expression "(int **)(param_2 + 0x74)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x74)" ( (binary_expression "param_2 + 0x74" identifier + number_literal) ))))) ;) (if_statement "if (piVar1 == (int *)0x0) {\n    bVar6 = true;\n    local_30 = 0;\n  }\n  else {\n    uVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    local_30 = 0;\n    if (-1 < (int)uVar3) {\n      local_30 = uVar3;\n    }\n    bVar6 = (int)uVar3 < 1;\n  }" if (parenthesized_expression "(piVar1 == (int *)0x0)" ( (binary_expression "piVar1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    bVar6 = true;\n    local_30 = 0;\n  }" { (expression_statement "bVar6 = true;" (assignment_expression "bVar6 = true" identifier = true) ;) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    uVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    local_30 = 0;\n    if (-1 < (int)uVar3) {\n      local_30 = uVar3;\n    }\n    bVar6 = (int)uVar3 < 1;\n  }" else (compound_statement "{\n    uVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    local_30 = 0;\n    if (-1 < (int)uVar3) {\n      local_30 = uVar3;\n    }\n    bVar6 = (int)uVar3 < 1;\n  }" { (expression_statement "uVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);" (assignment_expression "uVar3 = (**(code **)(*piVar1 + 0x14))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 0x14))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x14))" ( (pointer_expression "**(code **)(*piVar1 + 0x14)" * (pointer_expression "*(code **)(*piVar1 + 0x14)" * (cast_expression "(code **)(*piVar1 + 0x14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x14)" ( (binary_expression "*piVar1 + 0x14" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (if_statement "if (-1 < (int)uVar3) {\n      local_30 = uVar3;\n    }" if (parenthesized_expression "(-1 < (int)uVar3)" ( (binary_expression "-1 < (int)uVar3" number_literal < (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      local_30 = uVar3;\n    }" { (expression_statement "local_30 = uVar3;" (assignment_expression "local_30 = uVar3" identifier = identifier) ;) })) (expression_statement "bVar6 = (int)uVar3 < 1;" (assignment_expression "bVar6 = (int)uVar3 < 1" identifier = (binary_expression "(int)uVar3 < 1" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal)) ;) }))) (expression_statement "*(undefined4 *)param_1 = 0xffffffff;" (assignment_expression "*(undefined4 *)param_1 = 0xffffffff" (pointer_expression "*(undefined4 *)param_1" * (cast_expression "(undefined4 *)param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "*(undefined4 *)((int)param_1 + 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)((int)param_1 + 4) = 0xffffffff" (pointer_expression "*(undefined4 *)((int)param_1 + 4)" * (cast_expression "(undefined4 *)((int)param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 4)" ( (binary_expression "(int)param_1 + 4" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 1) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 1) = 0" (pointer_expression "*(undefined4 *)(param_1 + 1)" * (cast_expression "(undefined4 *)(param_1 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)param_1 + 0xc) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + 0xc) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + 0xc)" * (cast_expression "(undefined4 *)((int)param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0xc)" ( (binary_expression "(int)param_1 + 0xc" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "cVar2 = FUN_001e73e0(param_2 + 0x38);" (assignment_expression "cVar2 = FUN_001e73e0(param_2 + 0x38)" identifier = (call_expression "FUN_001e73e0(param_2 + 0x38)" identifier (argument_list "(param_2 + 0x38)" ( (binary_expression "param_2 + 0x38" identifier + number_literal) )))) ;) (if_statement "if (cVar2 == '\x01') {\n    if ((bool)((param_3 != 0 || param_4 != 0) & bVar6)) {\n      return param_1;\n    }\n    if (((param_5 == 1) && (param_3 == 0 && param_4 == 0)) &&\n       ((*(char *)(param_2 + 0x66) == '\0' ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')))) {\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      if (*(char *)(param_2 + 0x65) == '\0') {\n        local_4c = 0;\n        local_48 = 0;\n      }\n      else {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        local_4c = FUN_00213da0(param_2,&local_24);\n        local_48 = local_4c >> 0x1f;\n      }\n      if (*(char *)(param_2 + 0x66) != '\0') {\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }\n      lVar7 = FUN_001e7770(param_2 + 0x38,0,0,1);\n      if (lVar7 != -1) {\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24;\n        *(undefined4 *)((int)param_1 + 0xc) = local_20;\n        return param_1;\n      }\n    }\n    else {\n      if (*(char *)(param_2 + 0x70) != '\0') {\n        *(undefined1 *)(param_2 + 0x70) = 0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);\n      iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;\n      if ((*(char *)(param_2 + 0x65) != '\0') && (param_5 == 1)) {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }\n      FUN_00213f30(param_1,param_2,uVar3,iVar4,param_5,local_24,local_20);\n    }\n    return param_1;\n  }" if (parenthesized_expression "(cVar2 == '\x01')" ( (binary_expression "cVar2 == '\x01'" identifier == (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n    if ((bool)((param_3 != 0 || param_4 != 0) & bVar6)) {\n      return param_1;\n    }\n    if (((param_5 == 1) && (param_3 == 0 && param_4 == 0)) &&\n       ((*(char *)(param_2 + 0x66) == '\0' ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')))) {\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      if (*(char *)(param_2 + 0x65) == '\0') {\n        local_4c = 0;\n        local_48 = 0;\n      }\n      else {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        local_4c = FUN_00213da0(param_2,&local_24);\n        local_48 = local_4c >> 0x1f;\n      }\n      if (*(char *)(param_2 + 0x66) != '\0') {\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }\n      lVar7 = FUN_001e7770(param_2 + 0x38,0,0,1);\n      if (lVar7 != -1) {\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24;\n        *(undefined4 *)((int)param_1 + 0xc) = local_20;\n        return param_1;\n      }\n    }\n    else {\n      if (*(char *)(param_2 + 0x70) != '\0') {\n        *(undefined1 *)(param_2 + 0x70) = 0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);\n      iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;\n      if ((*(char *)(param_2 + 0x65) != '\0') && (param_5 == 1)) {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }\n      FUN_00213f30(param_1,param_2,uVar3,iVar4,param_5,local_24,local_20);\n    }\n    return param_1;\n  }" { (if_statement "if ((bool)((param_3 != 0 || param_4 != 0) & bVar6)) {\n      return param_1;\n    }" if (parenthesized_expression "((bool)((param_3 != 0 || param_4 != 0) & bVar6))" ( (cast_expression "(bool)((param_3 != 0 || param_4 != 0) & bVar6)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "((param_3 != 0 || param_4 != 0) & bVar6)" ( (binary_expression "(param_3 != 0 || param_4 != 0) & bVar6" (parenthesized_expression "(param_3 != 0 || param_4 != 0)" ( (binary_expression "param_3 != 0 || param_4 != 0" (binary_expression "param_3 != 0" identifier != number_literal) || (binary_expression "param_4 != 0" identifier != number_literal)) )) & identifier) ))) )) (compound_statement "{\n      return param_1;\n    }" { (return_statement "return param_1;" return identifier ;) })) (if_statement "if (((param_5 == 1) && (param_3 == 0 && param_4 == 0)) &&\n       ((*(char *)(param_2 + 0x66) == '\0' ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')))) {\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      if (*(char *)(param_2 + 0x65) == '\0') {\n        local_4c = 0;\n        local_48 = 0;\n      }\n      else {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        local_4c = FUN_00213da0(param_2,&local_24);\n        local_48 = local_4c >> 0x1f;\n      }\n      if (*(char *)(param_2 + 0x66) != '\0') {\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }\n      lVar7 = FUN_001e7770(param_2 + 0x38,0,0,1);\n      if (lVar7 != -1) {\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24;\n        *(undefined4 *)((int)param_1 + 0xc) = local_20;\n        return param_1;\n      }\n    }\n    else {\n      if (*(char *)(param_2 + 0x70) != '\0') {\n        *(undefined1 *)(param_2 + 0x70) = 0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);\n      iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;\n      if ((*(char *)(param_2 + 0x65) != '\0') && (param_5 == 1)) {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }\n      FUN_00213f30(param_1,param_2,uVar3,iVar4,param_5,local_24,local_20);\n    }" if (parenthesized_expression "(((param_5 == 1) && (param_3 == 0 && param_4 == 0)) &&\n       ((*(char *)(param_2 + 0x66) == '\0' ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0'))))" ( (binary_expression "((param_5 == 1) && (param_3 == 0 && param_4 == 0)) &&\n       ((*(char *)(param_2 + 0x66) == '\0' ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')))" (parenthesized_expression "((param_5 == 1) && (param_3 == 0 && param_4 == 0))" ( (binary_expression "(param_5 == 1) && (param_3 == 0 && param_4 == 0)" (parenthesized_expression "(param_5 == 1)" ( (binary_expression "param_5 == 1" identifier == number_literal) )) && (parenthesized_expression "(param_3 == 0 && param_4 == 0)" ( (binary_expression "param_3 == 0 && param_4 == 0" (binary_expression "param_3 == 0" identifier == number_literal) && (binary_expression "param_4 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "((*(char *)(param_2 + 0x66) == '\0' ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')))" ( (parenthesized_expression "(*(char *)(param_2 + 0x66) == '\0' ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0'))" ( (binary_expression "*(char *)(param_2 + 0x66) == '\0' ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')" (binary_expression "*(char *)(param_2 + 0x66) == '\0'" (pointer_expression "*(char *)(param_2 + 0x66)" * (cast_expression "(char *)(param_2 + 0x66)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x66)" ( (binary_expression "param_2 + 0x66" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) || (parenthesized_expression "(cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')" ( (comma_expression "cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0'" (assignment_expression "cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74))" identifier = (call_expression "(**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74))" (parenthesized_expression "(**(code **)(**(int **)(param_2 + 0x74) + 0x18))" ( (pointer_expression "**(code **)(**(int **)(param_2 + 0x74) + 0x18)" * (pointer_expression "*(code **)(**(int **)(param_2 + 0x74) + 0x18)" * (cast_expression "(code **)(**(int **)(param_2 + 0x74) + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(param_2 + 0x74) + 0x18)" ( (binary_expression "**(int **)(param_2 + 0x74) + 0x18" (pointer_expression "**(int **)(param_2 + 0x74)" * (pointer_expression "*(int **)(param_2 + 0x74)" * (cast_expression "(int **)(param_2 + 0x74)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x74)" ( (binary_expression "param_2 + 0x74" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "(*(int **)(param_2 + 0x74))" ( (pointer_expression "*(int **)(param_2 + 0x74)" * (cast_expression "(int **)(param_2 + 0x74)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x74)" ( (binary_expression "param_2 + 0x74" identifier + number_literal) )))) )))) , (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence '))) ))) )) ))) )) (compound_statement "{\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      if (*(char *)(param_2 + 0x65) == '\0') {\n        local_4c = 0;\n        local_48 = 0;\n      }\n      else {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        local_4c = FUN_00213da0(param_2,&local_24);\n        local_48 = local_4c >> 0x1f;\n      }\n      if (*(char *)(param_2 + 0x66) != '\0') {\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }\n      lVar7 = FUN_001e7770(param_2 + 0x38,0,0,1);\n      if (lVar7 != -1) {\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24;\n        *(undefined4 *)((int)param_1 + 0xc) = local_20;\n        return param_1;\n      }\n    }" { (expression_statement "local_24 = *(int *)(param_2 + 0x44);" (assignment_expression "local_24 = *(int *)(param_2 + 0x44)" identifier = (pointer_expression "*(int *)(param_2 + 0x44)" * (cast_expression "(int *)(param_2 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x44)" ( (binary_expression "param_2 + 0x44" identifier + number_literal) ))))) ;) (expression_statement "local_20 = *(undefined4 *)(param_2 + 0x48);" (assignment_expression "local_20 = *(undefined4 *)(param_2 + 0x48)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 0x48)" * (cast_expression "(undefined4 *)(param_2 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x48)" ( (binary_expression "param_2 + 0x48" identifier + number_literal) ))))) ;) (if_statement "if (*(char *)(param_2 + 0x65) == '\0') {\n        local_4c = 0;\n        local_48 = 0;\n      }\n      else {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        local_4c = FUN_00213da0(param_2,&local_24);\n        local_48 = local_4c >> 0x1f;\n      }" if (parenthesized_expression "(*(char *)(param_2 + 0x65) == '\0')" ( (binary_expression "*(char *)(param_2 + 0x65) == '\0'" (pointer_expression "*(char *)(param_2 + 0x65)" * (cast_expression "(char *)(param_2 + 0x65)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x65)" ( (binary_expression "param_2 + 0x65" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        local_4c = 0;\n        local_48 = 0;\n      }" { (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" identifier = number_literal) ;) (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        local_4c = FUN_00213da0(param_2,&local_24);\n        local_48 = local_4c >> 0x1f;\n      }" else (compound_statement "{\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        local_4c = FUN_00213da0(param_2,&local_24);\n        local_48 = local_4c >> 0x1f;\n      }" { (expression_statement "local_24 = *(int *)(param_2 + 0x54);" (assignment_expression "local_24 = *(int *)(param_2 + 0x54)" identifier = (pointer_expression "*(int *)(param_2 + 0x54)" * (cast_expression "(int *)(param_2 + 0x54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x54)" ( (binary_expression "param_2 + 0x54" identifier + number_literal) ))))) ;) (expression_statement "local_20 = *(undefined4 *)(param_2 + 0x58);" (assignment_expression "local_20 = *(undefined4 *)(param_2 + 0x58)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 0x58)" * (cast_expression "(undefined4 *)(param_2 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x58)" ( (binary_expression "param_2 + 0x58" identifier + number_literal) ))))) ;) (expression_statement "local_4c = FUN_00213da0(param_2,&local_24);" (assignment_expression "local_4c = FUN_00213da0(param_2,&local_24)" identifier = (call_expression "FUN_00213da0(param_2,&local_24)" identifier (argument_list "(param_2,&local_24)" ( identifier , (pointer_expression "&local_24" & identifier) )))) ;) (expression_statement "local_48 = local_4c >> 0x1f;" (assignment_expression "local_48 = local_4c >> 0x1f" identifier = (binary_expression "local_4c >> 0x1f" identifier >> number_literal)) ;) }))) (if_statement "if (*(char *)(param_2 + 0x66) != '\0') {\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }" if (parenthesized_expression "(*(char *)(param_2 + 0x66) != '\0')" ( (binary_expression "*(char *)(param_2 + 0x66) != '\0'" (pointer_expression "*(char *)(param_2 + 0x66)" * (cast_expression "(char *)(param_2 + 0x66)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x66)" ( (binary_expression "param_2 + 0x66" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }" { (expression_statement "local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);" (assignment_expression "local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10)" identifier = (binary_expression "*(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10)" (pointer_expression "*(int *)(param_2 + 0x14)" * (cast_expression "(int *)(param_2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) - (pointer_expression "*(int *)(param_2 + 0x10)" * (cast_expression "(int *)(param_2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))))) ;) (expression_statement "local_48 = local_4c >> 0x1f;" (assignment_expression "local_48 = local_4c >> 0x1f" identifier = (binary_expression "local_4c >> 0x1f" identifier >> number_literal)) ;) })) (expression_statement "lVar7 = FUN_001e7770(param_2 + 0x38,0,0,1);" (assignment_expression "lVar7 = FUN_001e7770(param_2 + 0x38,0,0,1)" identifier = (call_expression "FUN_001e7770(param_2 + 0x38,0,0,1)" identifier (argument_list "(param_2 + 0x38,0,0,1)" ( (binary_expression "param_2 + 0x38" identifier + number_literal) , number_literal , number_literal , number_literal )))) ;) (if_statement "if (lVar7 != -1) {\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24;\n        *(undefined4 *)((int)param_1 + 0xc) = local_20;\n        return param_1;\n      }" if (parenthesized_expression "(lVar7 != -1)" ( (binary_expression "lVar7 != -1" identifier != number_literal) )) (compound_statement "{\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24;\n        *(undefined4 *)((int)param_1 + 0xc) = local_20;\n        return param_1;\n      }" { (expression_statement "*param_1 = lVar7 + CONCAT44(local_48,local_4c);" (assignment_expression "*param_1 = lVar7 + CONCAT44(local_48,local_4c)" (pointer_expression "*param_1" * identifier) = (binary_expression "lVar7 + CONCAT44(local_48,local_4c)" identifier + (call_expression "CONCAT44(local_48,local_4c)" identifier (argument_list "(local_48,local_4c)" ( identifier , identifier ))))) ;) (expression_statement "*(int *)(param_1 + 1) = local_24;" (assignment_expression "*(int *)(param_1 + 1) = local_24" (pointer_expression "*(int *)(param_1 + 1)" * (cast_expression "(int *)(param_1 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)param_1 + 0xc) = local_20;" (assignment_expression "*(undefined4 *)((int)param_1 + 0xc) = local_20" (pointer_expression "*(undefined4 *)((int)param_1 + 0xc)" * (cast_expression "(undefined4 *)((int)param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0xc)" ( (binary_expression "(int)param_1 + 0xc" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (return_statement "return param_1;" return identifier ;) })) }) (else_clause "else {\n      if (*(char *)(param_2 + 0x70) != '\0') {\n        *(undefined1 *)(param_2 + 0x70) = 0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);\n      iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;\n      if ((*(char *)(param_2 + 0x65) != '\0') && (param_5 == 1)) {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }\n      FUN_00213f30(param_1,param_2,uVar3,iVar4,param_5,local_24,local_20);\n    }" else (compound_statement "{\n      if (*(char *)(param_2 + 0x70) != '\0') {\n        *(undefined1 *)(param_2 + 0x70) = 0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);\n      iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;\n      if ((*(char *)(param_2 + 0x65) != '\0') && (param_5 == 1)) {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }\n      FUN_00213f30(param_1,param_2,uVar3,iVar4,param_5,local_24,local_20);\n    }" { (if_statement "if (*(char *)(param_2 + 0x70) != '\0') {\n        *(undefined1 *)(param_2 + 0x70) = 0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }" if (parenthesized_expression "(*(char *)(param_2 + 0x70) != '\0')" ( (binary_expression "*(char *)(param_2 + 0x70) != '\0'" (pointer_expression "*(char *)(param_2 + 0x70)" * (cast_expression "(char *)(param_2 + 0x70)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x70)" ( (binary_expression "param_2 + 0x70" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        *(undefined1 *)(param_2 + 0x70) = 0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }" { (expression_statement "*(undefined1 *)(param_2 + 0x70) = 0;" (assignment_expression "*(undefined1 *)(param_2 + 0x70) = 0" (pointer_expression "*(undefined1 *)(param_2 + 0x70)" * (cast_expression "(undefined1 *)(param_2 + 0x70)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x70)" ( (binary_expression "param_2 + 0x70" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);" (assignment_expression "iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68)" identifier = (binary_expression "(uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68)" (call_expression "(uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(param_2 + 8) != *(int *)(param_2 + 4))" ( (binary_expression "*(int *)(param_2 + 8) != *(int *)(param_2 + 4)" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) != (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ))) + (pointer_expression "*(int *)(param_2 + 0x68)" * (cast_expression "(int *)(param_2 + 0x68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x68)" ( (binary_expression "param_2 + 0x68" identifier + number_literal) )))))) ;) (expression_statement "*(int *)(param_2 + 0x68) = iVar4;" (assignment_expression "*(int *)(param_2 + 0x68) = iVar4" (pointer_expression "*(int *)(param_2 + 0x68)" * (cast_expression "(int *)(param_2 + 0x68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x68)" ( (binary_expression "param_2 + 0x68" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);" (assignment_expression "*(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c)" (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_2 + 0x5c)" * (cast_expression "(undefined4 *)(param_2 + 0x5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x5c)" ( (binary_expression "param_2 + 0x5c" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(param_2 + 8) = iVar4;" (assignment_expression "*(int *)(param_2 + 8) = iVar4" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);" (assignment_expression "*(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c)" (pointer_expression "*(undefined4 *)(param_2 + 0xc)" * (cast_expression "(undefined4 *)(param_2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_2 + 0x6c)" * (cast_expression "(undefined4 *)(param_2 + 0x6c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x6c)" ( (binary_expression "param_2 + 0x6c" identifier + number_literal) ))))) ;) })) (expression_statement "local_24 = *(int *)(param_2 + 0x44);" (assignment_expression "local_24 = *(int *)(param_2 + 0x44)" identifier = (pointer_expression "*(int *)(param_2 + 0x44)" * (cast_expression "(int *)(param_2 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x44)" ( (binary_expression "param_2 + 0x44" identifier + number_literal) ))))) ;) (expression_statement "local_20 = *(undefined4 *)(param_2 + 0x48);" (assignment_expression "local_20 = *(undefined4 *)(param_2 + 0x48)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 0x48)" * (cast_expression "(undefined4 *)(param_2 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x48)" ( (binary_expression "param_2 + 0x48" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);" (assignment_expression "uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3)" identifier = (call_expression "(uint)((ulonglong)local_30 * (ulonglong)param_3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)local_30 * (ulonglong)param_3)" ( (binary_expression "(ulonglong)local_30 * (ulonglong)param_3" (cast_expression "(ulonglong)local_30" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (cast_expression "(ulonglong)param_3" ( (type_descriptor "ulonglong" type_identifier) ) identifier)) )))) ;) (expression_statement "iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;" (assignment_expression "iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30" identifier = (binary_expression "(int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30" (binary_expression "(int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f)" (cast_expression "(int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)local_30 * (ulonglong)param_3 >> 0x20)" ( (binary_expression "(ulonglong)local_30 * (ulonglong)param_3 >> 0x20" (binary_expression "(ulonglong)local_30 * (ulonglong)param_3" (cast_expression "(ulonglong)local_30" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (cast_expression "(ulonglong)param_3" ( (type_descriptor "ulonglong" type_identifier) ) identifier)) >> number_literal) ))) + (binary_expression "param_3 * ((int)local_30 >> 0x1f)" identifier * (parenthesized_expression "((int)local_30 >> 0x1f)" ( (binary_expression "(int)local_30 >> 0x1f" (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) + (binary_expression "param_4 * local_30" identifier * identifier))) ;) (if_statement "if ((*(char *)(param_2 + 0x65) != '\0') && (param_5 == 1)) {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }" if (parenthesized_expression "((*(char *)(param_2 + 0x65) != '\0') && (param_5 == 1))" ( (binary_expression "(*(char *)(param_2 + 0x65) != '\0') && (param_5 == 1)" (parenthesized_expression "(*(char *)(param_2 + 0x65) != '\0')" ( (binary_expression "*(char *)(param_2 + 0x65) != '\0'" (pointer_expression "*(char *)(param_2 + 0x65)" * (cast_expression "(char *)(param_2 + 0x65)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x65)" ( (binary_expression "param_2 + 0x65" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(param_5 == 1)" ( (binary_expression "param_5 == 1" identifier == number_literal) ))) )) (compound_statement "{\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }" { (expression_statement "local_24 = *(int *)(param_2 + 0x54);" (assignment_expression "local_24 = *(int *)(param_2 + 0x54)" identifier = (pointer_expression "*(int *)(param_2 + 0x54)" * (cast_expression "(int *)(param_2 + 0x54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x54)" ( (binary_expression "param_2 + 0x54" identifier + number_literal) ))))) ;) (expression_statement "local_20 = *(undefined4 *)(param_2 + 0x58);" (assignment_expression "local_20 = *(undefined4 *)(param_2 + 0x58)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 0x58)" * (cast_expression "(undefined4 *)(param_2 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x58)" ( (binary_expression "param_2 + 0x58" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24);" (assignment_expression "uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24)" identifier = (call_expression "FUN_00213da0(param_2,&local_24,local_24,local_24)" identifier (argument_list "(param_2,&local_24,local_24,local_24)" ( identifier , (pointer_expression "&local_24" & identifier) , identifier , identifier )))) ;) (expression_statement "bVar6 = CARRY4(uVar3,uVar5);" (assignment_expression "bVar6 = CARRY4(uVar3,uVar5)" identifier = (call_expression "CARRY4(uVar3,uVar5)" identifier (argument_list "(uVar3,uVar5)" ( identifier , identifier )))) ;) (expression_statement "uVar3 = uVar3 + uVar5;" (assignment_expression "uVar3 = uVar3 + uVar5" identifier = (binary_expression "uVar3 + uVar5" identifier + identifier)) ;) (expression_statement "iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;" (assignment_expression "iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6" identifier = (binary_expression "iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6" (binary_expression "iVar4 + ((int)uVar5 >> 0x1f)" identifier + (parenthesized_expression "((int)uVar5 >> 0x1f)" ( (binary_expression "(int)uVar5 >> 0x1f" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) + (cast_expression "(uint)bVar6" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) })) (expression_statement "FUN_00213f30(param_1,param_2,uVar3,iVar4,param_5,local_24,local_20);" (call_expression "FUN_00213f30(param_1,param_2,uVar3,iVar4,param_5,local_24,local_20)" identifier (argument_list "(param_1,param_2,uVar3,iVar4,param_5,local_24,local_20)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier ))) ;) }))) (return_statement "return param_1;" return identifier ;) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT)) ;) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) || (binary_expression IDENT != LIT)) )) & IDENT) ))) )) (compound_statement { (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) && (binary_expression IDENT == LIT)) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) , (binary_expression IDENT != (char_literal ' escape_sequence '))) ))) )) ))) )) (compound_statement { (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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (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 = (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) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (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 (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , LIT , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + (call_expression IDENT (argument_list ( IDENT , IDENT ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (return_statement return IDENT ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (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) ))))) ))) + (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 IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (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 (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (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 (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * (cast_expression ( (type_descriptor TYPE) ) IDENT)) >> LIT) ))) + (binary_expression IDENT * (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) + (binary_expression IDENT * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (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 = (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) , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT ))) ;) }))) (return_statement return IDENT ;) })) (return_statement return IDENT ;) })))
(function_definition "longlong * FUN_002141f0(longlong *param_1,int param_2,uint param_3,int param_4,int param_5)\n\n{\n  int *piVar1;\n  char cVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  bool bVar6;\n  longlong lVar7;\n  int local_4c;\n  int local_48;\n  uint local_30;\n  int local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2141f9;\n  piVar1 = *(int **)(param_2 + 0x74);\n  if (piVar1 == (int *)0x0) {\n    bVar6 = true;\n    local_30 = 0;\n  }\n  else {\n    uVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    local_30 = 0;\n    if (-1 < (int)uVar3) {\n      local_30 = uVar3;\n    }\n    bVar6 = (int)uVar3 < 1;\n  }\n  *(undefined4 *)param_1 = 0xffffffff;\n  *(undefined4 *)((int)param_1 + 4) = 0xffffffff;\n  *(undefined4 *)(param_1 + 1) = 0;\n  *(undefined4 *)((int)param_1 + 0xc) = 0;\n  cVar2 = FUN_001e73e0(param_2 + 0x38);\n  if (cVar2 == '\x01') {\n    if ((bool)((param_3 != 0 || param_4 != 0) & bVar6)) {\n      return param_1;\n    }\n    if (((param_5 == 1) && (param_3 == 0 && param_4 == 0)) &&\n       ((*(char *)(param_2 + 0x66) == '\0' ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')))) {\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      if (*(char *)(param_2 + 0x65) == '\0') {\n        local_4c = 0;\n        local_48 = 0;\n      }\n      else {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        local_4c = FUN_00213da0(param_2,&local_24);\n        local_48 = local_4c >> 0x1f;\n      }\n      if (*(char *)(param_2 + 0x66) != '\0') {\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }\n      lVar7 = FUN_001e7770(param_2 + 0x38,0,0,1);\n      if (lVar7 != -1) {\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24;\n        *(undefined4 *)((int)param_1 + 0xc) = local_20;\n        return param_1;\n      }\n    }\n    else {\n      if (*(char *)(param_2 + 0x70) != '\0') {\n        *(undefined1 *)(param_2 + 0x70) = 0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);\n      iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;\n      if ((*(char *)(param_2 + 0x65) != '\0') && (param_5 == 1)) {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }\n      FUN_00213f30(param_1,param_2,uVar3,iVar4,param_5,local_24,local_20);\n    }\n    return param_1;\n  }\n  return param_1;\n}" (type_identifier "longlong") (pointer_declarator "* FUN_002141f0(longlong *param_1,int param_2,uint param_3,int param_4,int param_5)" (* "*") (function_declarator "FUN_002141f0(longlong *param_1,int param_2,uint param_3,int param_4,int param_5)" (identifier "FUN_002141f0") (parameter_list "(longlong *param_1,int param_2,uint param_3,int param_4,int param_5)" (( "(") (parameter_declaration "longlong *param_1" (type_identifier "longlong") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) () ")")))) (compound_statement "{\n  int *piVar1;\n  char cVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  bool bVar6;\n  longlong lVar7;\n  int local_4c;\n  int local_48;\n  uint local_30;\n  int local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2141f9;\n  piVar1 = *(int **)(param_2 + 0x74);\n  if (piVar1 == (int *)0x0) {\n    bVar6 = true;\n    local_30 = 0;\n  }\n  else {\n    uVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    local_30 = 0;\n    if (-1 < (int)uVar3) {\n      local_30 = uVar3;\n    }\n    bVar6 = (int)uVar3 < 1;\n  }\n  *(undefined4 *)param_1 = 0xffffffff;\n  *(undefined4 *)((int)param_1 + 4) = 0xffffffff;\n  *(undefined4 *)(param_1 + 1) = 0;\n  *(undefined4 *)((int)param_1 + 0xc) = 0;\n  cVar2 = FUN_001e73e0(param_2 + 0x38);\n  if (cVar2 == '\x01') {\n    if ((bool)((param_3 != 0 || param_4 != 0) & bVar6)) {\n      return param_1;\n    }\n    if (((param_5 == 1) && (param_3 == 0 && param_4 == 0)) &&\n       ((*(char *)(param_2 + 0x66) == '\0' ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')))) {\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      if (*(char *)(param_2 + 0x65) == '\0') {\n        local_4c = 0;\n        local_48 = 0;\n      }\n      else {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        local_4c = FUN_00213da0(param_2,&local_24);\n        local_48 = local_4c >> 0x1f;\n      }\n      if (*(char *)(param_2 + 0x66) != '\0') {\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }\n      lVar7 = FUN_001e7770(param_2 + 0x38,0,0,1);\n      if (lVar7 != -1) {\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24;\n        *(undefined4 *)((int)param_1 + 0xc) = local_20;\n        return param_1;\n      }\n    }\n    else {\n      if (*(char *)(param_2 + 0x70) != '\0') {\n        *(undefined1 *)(param_2 + 0x70) = 0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);\n      iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;\n      if ((*(char *)(param_2 + 0x65) != '\0') && (param_5 == 1)) {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }\n      FUN_00213f30(param_1,param_2,uVar3,iVar4,param_5,local_24,local_20);\n    }\n    return param_1;\n  }\n  return param_1;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "bool bVar6;" (primitive_type "bool") (identifier "bVar6") (; ";")) (declaration "longlong lVar7;" (type_identifier "longlong") (identifier "lVar7") (; ";")) (declaration "int local_4c;" (primitive_type "int") (identifier "local_4c") (; ";")) (declaration "int local_48;" (primitive_type "int") (identifier "local_48") (; ";")) (declaration "uint local_30;" (type_identifier "uint") (identifier "local_30") (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (declaration "undefined4 local_20;" (type_identifier "undefined4") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x2141f9;" (assignment_expression "uStack_14 = 0x2141f9" (identifier "uStack_14") (= "=") (number_literal "0x2141f9")) (; ";")) (expression_statement "piVar1 = *(int **)(param_2 + 0x74);" (assignment_expression "piVar1 = *(int **)(param_2 + 0x74)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(param_2 + 0x74)" (* "*") (cast_expression "(int **)(param_2 + 0x74)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x74)" (( "(") (binary_expression "param_2 + 0x74" (identifier "param_2") (+ "+") (number_literal "0x74")) () ")"))))) (; ";")) (if_statement "if (piVar1 == (int *)0x0) {\n    bVar6 = true;\n    local_30 = 0;\n  }\n  else {\n    uVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    local_30 = 0;\n    if (-1 < (int)uVar3) {\n      local_30 = uVar3;\n    }\n    bVar6 = (int)uVar3 < 1;\n  }" (if "if") (parenthesized_expression "(piVar1 == (int *)0x0)" (( "(") (binary_expression "piVar1 == (int *)0x0" (identifier "piVar1") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    bVar6 = true;\n    local_30 = 0;\n  }" ({ "{") (expression_statement "bVar6 = true;" (assignment_expression "bVar6 = true" (identifier "bVar6") (= "=") (true "true")) (; ";")) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" (identifier "local_30") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    uVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    local_30 = 0;\n    if (-1 < (int)uVar3) {\n      local_30 = uVar3;\n    }\n    bVar6 = (int)uVar3 < 1;\n  }" (else "else") (compound_statement "{\n    uVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);\n    local_30 = 0;\n    if (-1 < (int)uVar3) {\n      local_30 = uVar3;\n    }\n    bVar6 = (int)uVar3 < 1;\n  }" ({ "{") (expression_statement "uVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);" (assignment_expression "uVar3 = (**(code **)(*piVar1 + 0x14))(piVar1)" (identifier "uVar3") (= "=") (call_expression "(**(code **)(*piVar1 + 0x14))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x14))" (( "(") (pointer_expression "**(code **)(*piVar1 + 0x14)" (* "*") (pointer_expression "*(code **)(*piVar1 + 0x14)" (* "*") (cast_expression "(code **)(*piVar1 + 0x14)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 0x14)" (( "(") (binary_expression "*piVar1 + 0x14" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")")))) (; ";")) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" (identifier "local_30") (= "=") (number_literal "0")) (; ";")) (if_statement "if (-1 < (int)uVar3) {\n      local_30 = uVar3;\n    }" (if "if") (parenthesized_expression "(-1 < (int)uVar3)" (( "(") (binary_expression "-1 < (int)uVar3" (number_literal "-1") (< "<") (cast_expression "(int)uVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar3"))) () ")")) (compound_statement "{\n      local_30 = uVar3;\n    }" ({ "{") (expression_statement "local_30 = uVar3;" (assignment_expression "local_30 = uVar3" (identifier "local_30") (= "=") (identifier "uVar3")) (; ";")) (} "}"))) (expression_statement "bVar6 = (int)uVar3 < 1;" (assignment_expression "bVar6 = (int)uVar3 < 1" (identifier "bVar6") (= "=") (binary_expression "(int)uVar3 < 1" (cast_expression "(int)uVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar3")) (< "<") (number_literal "1"))) (; ";")) (} "}")))) (expression_statement "*(undefined4 *)param_1 = 0xffffffff;" (assignment_expression "*(undefined4 *)param_1 = 0xffffffff" (pointer_expression "*(undefined4 *)param_1" (* "*") (cast_expression "(undefined4 *)param_1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1"))) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "*(undefined4 *)((int)param_1 + 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)((int)param_1 + 4) = 0xffffffff" (pointer_expression "*(undefined4 *)((int)param_1 + 4)" (* "*") (cast_expression "(undefined4 *)((int)param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 4)" (( "(") (binary_expression "(int)param_1 + 4" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 1) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 1) = 0" (pointer_expression "*(undefined4 *)(param_1 + 1)" (* "*") (cast_expression "(undefined4 *)(param_1 + 1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)((int)param_1 + 0xc) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + 0xc) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)((int)param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0xc)" (( "(") (binary_expression "(int)param_1 + 0xc" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0xc")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "cVar2 = FUN_001e73e0(param_2 + 0x38);" (assignment_expression "cVar2 = FUN_001e73e0(param_2 + 0x38)" (identifier "cVar2") (= "=") (call_expression "FUN_001e73e0(param_2 + 0x38)" (identifier "FUN_001e73e0") (argument_list "(param_2 + 0x38)" (( "(") (binary_expression "param_2 + 0x38" (identifier "param_2") (+ "+") (number_literal "0x38")) () ")")))) (; ";")) (if_statement "if (cVar2 == '\x01') {\n    if ((bool)((param_3 != 0 || param_4 != 0) & bVar6)) {\n      return param_1;\n    }\n    if (((param_5 == 1) && (param_3 == 0 && param_4 == 0)) &&\n       ((*(char *)(param_2 + 0x66) == '\0' ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')))) {\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      if (*(char *)(param_2 + 0x65) == '\0') {\n        local_4c = 0;\n        local_48 = 0;\n      }\n      else {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        local_4c = FUN_00213da0(param_2,&local_24);\n        local_48 = local_4c >> 0x1f;\n      }\n      if (*(char *)(param_2 + 0x66) != '\0') {\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }\n      lVar7 = FUN_001e7770(param_2 + 0x38,0,0,1);\n      if (lVar7 != -1) {\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24;\n        *(undefined4 *)((int)param_1 + 0xc) = local_20;\n        return param_1;\n      }\n    }\n    else {\n      if (*(char *)(param_2 + 0x70) != '\0') {\n        *(undefined1 *)(param_2 + 0x70) = 0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);\n      iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;\n      if ((*(char *)(param_2 + 0x65) != '\0') && (param_5 == 1)) {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }\n      FUN_00213f30(param_1,param_2,uVar3,iVar4,param_5,local_24,local_20);\n    }\n    return param_1;\n  }" (if "if") (parenthesized_expression "(cVar2 == '\x01')" (( "(") (binary_expression "cVar2 == '\x01'" (identifier "cVar2") (== "==") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) () ")")) (compound_statement "{\n    if ((bool)((param_3 != 0 || param_4 != 0) & bVar6)) {\n      return param_1;\n    }\n    if (((param_5 == 1) && (param_3 == 0 && param_4 == 0)) &&\n       ((*(char *)(param_2 + 0x66) == '\0' ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')))) {\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      if (*(char *)(param_2 + 0x65) == '\0') {\n        local_4c = 0;\n        local_48 = 0;\n      }\n      else {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        local_4c = FUN_00213da0(param_2,&local_24);\n        local_48 = local_4c >> 0x1f;\n      }\n      if (*(char *)(param_2 + 0x66) != '\0') {\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }\n      lVar7 = FUN_001e7770(param_2 + 0x38,0,0,1);\n      if (lVar7 != -1) {\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24;\n        *(undefined4 *)((int)param_1 + 0xc) = local_20;\n        return param_1;\n      }\n    }\n    else {\n      if (*(char *)(param_2 + 0x70) != '\0') {\n        *(undefined1 *)(param_2 + 0x70) = 0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);\n      iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;\n      if ((*(char *)(param_2 + 0x65) != '\0') && (param_5 == 1)) {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }\n      FUN_00213f30(param_1,param_2,uVar3,iVar4,param_5,local_24,local_20);\n    }\n    return param_1;\n  }" ({ "{") (if_statement "if ((bool)((param_3 != 0 || param_4 != 0) & bVar6)) {\n      return param_1;\n    }" (if "if") (parenthesized_expression "((bool)((param_3 != 0 || param_4 != 0) & bVar6))" (( "(") (cast_expression "(bool)((param_3 != 0 || param_4 != 0) & bVar6)" (( "(") (type_descriptor "bool" (primitive_type "bool")) () ")") (parenthesized_expression "((param_3 != 0 || param_4 != 0) & bVar6)" (( "(") (binary_expression "(param_3 != 0 || param_4 != 0) & bVar6" (parenthesized_expression "(param_3 != 0 || param_4 != 0)" (( "(") (binary_expression "param_3 != 0 || param_4 != 0" (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) (|| "||") (binary_expression "param_4 != 0" (identifier "param_4") (!= "!=") (number_literal "0"))) () ")")) (& "&") (identifier "bVar6")) () ")"))) () ")")) (compound_statement "{\n      return param_1;\n    }" ({ "{") (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (if_statement "if (((param_5 == 1) && (param_3 == 0 && param_4 == 0)) &&\n       ((*(char *)(param_2 + 0x66) == '\0' ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')))) {\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      if (*(char *)(param_2 + 0x65) == '\0') {\n        local_4c = 0;\n        local_48 = 0;\n      }\n      else {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        local_4c = FUN_00213da0(param_2,&local_24);\n        local_48 = local_4c >> 0x1f;\n      }\n      if (*(char *)(param_2 + 0x66) != '\0') {\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }\n      lVar7 = FUN_001e7770(param_2 + 0x38,0,0,1);\n      if (lVar7 != -1) {\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24;\n        *(undefined4 *)((int)param_1 + 0xc) = local_20;\n        return param_1;\n      }\n    }\n    else {\n      if (*(char *)(param_2 + 0x70) != '\0') {\n        *(undefined1 *)(param_2 + 0x70) = 0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);\n      iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;\n      if ((*(char *)(param_2 + 0x65) != '\0') && (param_5 == 1)) {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }\n      FUN_00213f30(param_1,param_2,uVar3,iVar4,param_5,local_24,local_20);\n    }" (if "if") (parenthesized_expression "(((param_5 == 1) && (param_3 == 0 && param_4 == 0)) &&\n       ((*(char *)(param_2 + 0x66) == '\0' ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0'))))" (( "(") (binary_expression "((param_5 == 1) && (param_3 == 0 && param_4 == 0)) &&\n       ((*(char *)(param_2 + 0x66) == '\0' ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')))" (parenthesized_expression "((param_5 == 1) && (param_3 == 0 && param_4 == 0))" (( "(") (binary_expression "(param_5 == 1) && (param_3 == 0 && param_4 == 0)" (parenthesized_expression "(param_5 == 1)" (( "(") (binary_expression "param_5 == 1" (identifier "param_5") (== "==") (number_literal "1")) () ")")) (&& "&&") (parenthesized_expression "(param_3 == 0 && param_4 == 0)" (( "(") (binary_expression "param_3 == 0 && param_4 == 0" (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) (&& "&&") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((*(char *)(param_2 + 0x66) == '\0' ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')))" (( "(") (parenthesized_expression "(*(char *)(param_2 + 0x66) == '\0' ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0'))" (( "(") (binary_expression "*(char *)(param_2 + 0x66) == '\0' ||\n        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')" (binary_expression "*(char *)(param_2 + 0x66) == '\0'" (pointer_expression "*(char *)(param_2 + 0x66)" (* "*") (cast_expression "(char *)(param_2 + 0x66)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x66)" (( "(") (binary_expression "param_2 + 0x66" (identifier "param_2") (+ "+") (number_literal "0x66")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (|| "||") (parenthesized_expression "(cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0')" (( "(") (comma_expression "cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),\n        cVar2 != '\0'" (assignment_expression "cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74))" (identifier "cVar2") (= "=") (call_expression "(**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74))" (parenthesized_expression "(**(code **)(**(int **)(param_2 + 0x74) + 0x18))" (( "(") (pointer_expression "**(code **)(**(int **)(param_2 + 0x74) + 0x18)" (* "*") (pointer_expression "*(code **)(**(int **)(param_2 + 0x74) + 0x18)" (* "*") (cast_expression "(code **)(**(int **)(param_2 + 0x74) + 0x18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(**(int **)(param_2 + 0x74) + 0x18)" (( "(") (binary_expression "**(int **)(param_2 + 0x74) + 0x18" (pointer_expression "**(int **)(param_2 + 0x74)" (* "*") (pointer_expression "*(int **)(param_2 + 0x74)" (* "*") (cast_expression "(int **)(param_2 + 0x74)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x74)" (( "(") (binary_expression "param_2 + 0x74" (identifier "param_2") (+ "+") (number_literal "0x74")) () ")"))))) (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (argument_list "(*(int **)(param_2 + 0x74))" (( "(") (pointer_expression "*(int **)(param_2 + 0x74)" (* "*") (cast_expression "(int **)(param_2 + 0x74)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x74)" (( "(") (binary_expression "param_2 + 0x74" (identifier "param_2") (+ "+") (number_literal "0x74")) () ")")))) () ")")))) (, ",") (binary_expression "cVar2 != '\0'" (identifier "cVar2") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      if (*(char *)(param_2 + 0x65) == '\0') {\n        local_4c = 0;\n        local_48 = 0;\n      }\n      else {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        local_4c = FUN_00213da0(param_2,&local_24);\n        local_48 = local_4c >> 0x1f;\n      }\n      if (*(char *)(param_2 + 0x66) != '\0') {\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }\n      lVar7 = FUN_001e7770(param_2 + 0x38,0,0,1);\n      if (lVar7 != -1) {\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24;\n        *(undefined4 *)((int)param_1 + 0xc) = local_20;\n        return param_1;\n      }\n    }" ({ "{") (expression_statement "local_24 = *(int *)(param_2 + 0x44);" (assignment_expression "local_24 = *(int *)(param_2 + 0x44)" (identifier "local_24") (= "=") (pointer_expression "*(int *)(param_2 + 0x44)" (* "*") (cast_expression "(int *)(param_2 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x44)" (( "(") (binary_expression "param_2 + 0x44" (identifier "param_2") (+ "+") (number_literal "0x44")) () ")"))))) (; ";")) (expression_statement "local_20 = *(undefined4 *)(param_2 + 0x48);" (assignment_expression "local_20 = *(undefined4 *)(param_2 + 0x48)" (identifier "local_20") (= "=") (pointer_expression "*(undefined4 *)(param_2 + 0x48)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x48)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x48)" (( "(") (binary_expression "param_2 + 0x48" (identifier "param_2") (+ "+") (number_literal "0x48")) () ")"))))) (; ";")) (if_statement "if (*(char *)(param_2 + 0x65) == '\0') {\n        local_4c = 0;\n        local_48 = 0;\n      }\n      else {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        local_4c = FUN_00213da0(param_2,&local_24);\n        local_48 = local_4c >> 0x1f;\n      }" (if "if") (parenthesized_expression "(*(char *)(param_2 + 0x65) == '\0')" (( "(") (binary_expression "*(char *)(param_2 + 0x65) == '\0'" (pointer_expression "*(char *)(param_2 + 0x65)" (* "*") (cast_expression "(char *)(param_2 + 0x65)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x65)" (( "(") (binary_expression "param_2 + 0x65" (identifier "param_2") (+ "+") (number_literal "0x65")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        local_4c = 0;\n        local_48 = 0;\n      }" ({ "{") (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" (identifier "local_4c") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" (identifier "local_48") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        local_4c = FUN_00213da0(param_2,&local_24);\n        local_48 = local_4c >> 0x1f;\n      }" (else "else") (compound_statement "{\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        local_4c = FUN_00213da0(param_2,&local_24);\n        local_48 = local_4c >> 0x1f;\n      }" ({ "{") (expression_statement "local_24 = *(int *)(param_2 + 0x54);" (assignment_expression "local_24 = *(int *)(param_2 + 0x54)" (identifier "local_24") (= "=") (pointer_expression "*(int *)(param_2 + 0x54)" (* "*") (cast_expression "(int *)(param_2 + 0x54)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x54)" (( "(") (binary_expression "param_2 + 0x54" (identifier "param_2") (+ "+") (number_literal "0x54")) () ")"))))) (; ";")) (expression_statement "local_20 = *(undefined4 *)(param_2 + 0x58);" (assignment_expression "local_20 = *(undefined4 *)(param_2 + 0x58)" (identifier "local_20") (= "=") (pointer_expression "*(undefined4 *)(param_2 + 0x58)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x58)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x58)" (( "(") (binary_expression "param_2 + 0x58" (identifier "param_2") (+ "+") (number_literal "0x58")) () ")"))))) (; ";")) (expression_statement "local_4c = FUN_00213da0(param_2,&local_24);" (assignment_expression "local_4c = FUN_00213da0(param_2,&local_24)" (identifier "local_4c") (= "=") (call_expression "FUN_00213da0(param_2,&local_24)" (identifier "FUN_00213da0") (argument_list "(param_2,&local_24)" (( "(") (identifier "param_2") (, ",") (pointer_expression "&local_24" (& "&") (identifier "local_24")) () ")")))) (; ";")) (expression_statement "local_48 = local_4c >> 0x1f;" (assignment_expression "local_48 = local_4c >> 0x1f" (identifier "local_48") (= "=") (binary_expression "local_4c >> 0x1f" (identifier "local_4c") (>> ">>") (number_literal "0x1f"))) (; ";")) (} "}")))) (if_statement "if (*(char *)(param_2 + 0x66) != '\0') {\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }" (if "if") (parenthesized_expression "(*(char *)(param_2 + 0x66) != '\0')" (( "(") (binary_expression "*(char *)(param_2 + 0x66) != '\0'" (pointer_expression "*(char *)(param_2 + 0x66)" (* "*") (cast_expression "(char *)(param_2 + 0x66)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x66)" (( "(") (binary_expression "param_2 + 0x66" (identifier "param_2") (+ "+") (number_literal "0x66")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);\n        local_48 = local_4c >> 0x1f;\n      }" ({ "{") (expression_statement "local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);" (assignment_expression "local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10)" (identifier "local_4c") (= "=") (binary_expression "*(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10)" (pointer_expression "*(int *)(param_2 + 0x14)" (* "*") (cast_expression "(int *)(param_2 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")")))) (- "-") (pointer_expression "*(int *)(param_2 + 0x10)" (* "*") (cast_expression "(int *)(param_2 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")")))))) (; ";")) (expression_statement "local_48 = local_4c >> 0x1f;" (assignment_expression "local_48 = local_4c >> 0x1f" (identifier "local_48") (= "=") (binary_expression "local_4c >> 0x1f" (identifier "local_4c") (>> ">>") (number_literal "0x1f"))) (; ";")) (} "}"))) (expression_statement "lVar7 = FUN_001e7770(param_2 + 0x38,0,0,1);" (assignment_expression "lVar7 = FUN_001e7770(param_2 + 0x38,0,0,1)" (identifier "lVar7") (= "=") (call_expression "FUN_001e7770(param_2 + 0x38,0,0,1)" (identifier "FUN_001e7770") (argument_list "(param_2 + 0x38,0,0,1)" (( "(") (binary_expression "param_2 + 0x38" (identifier "param_2") (+ "+") (number_literal "0x38")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "1") () ")")))) (; ";")) (if_statement "if (lVar7 != -1) {\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24;\n        *(undefined4 *)((int)param_1 + 0xc) = local_20;\n        return param_1;\n      }" (if "if") (parenthesized_expression "(lVar7 != -1)" (( "(") (binary_expression "lVar7 != -1" (identifier "lVar7") (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n        *param_1 = lVar7 + CONCAT44(local_48,local_4c);\n        *(int *)(param_1 + 1) = local_24;\n        *(undefined4 *)((int)param_1 + 0xc) = local_20;\n        return param_1;\n      }" ({ "{") (expression_statement "*param_1 = lVar7 + CONCAT44(local_48,local_4c);" (assignment_expression "*param_1 = lVar7 + CONCAT44(local_48,local_4c)" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "lVar7 + CONCAT44(local_48,local_4c)" (identifier "lVar7") (+ "+") (call_expression "CONCAT44(local_48,local_4c)" (identifier "CONCAT44") (argument_list "(local_48,local_4c)" (( "(") (identifier "local_48") (, ",") (identifier "local_4c") () ")"))))) (; ";")) (expression_statement "*(int *)(param_1 + 1) = local_24;" (assignment_expression "*(int *)(param_1 + 1) = local_24" (pointer_expression "*(int *)(param_1 + 1)" (* "*") (cast_expression "(int *)(param_1 + 1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (= "=") (identifier "local_24")) (; ";")) (expression_statement "*(undefined4 *)((int)param_1 + 0xc) = local_20;" (assignment_expression "*(undefined4 *)((int)param_1 + 0xc) = local_20" (pointer_expression "*(undefined4 *)((int)param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)((int)param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0xc)" (( "(") (binary_expression "(int)param_1 + 0xc" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "local_20")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      if (*(char *)(param_2 + 0x70) != '\0') {\n        *(undefined1 *)(param_2 + 0x70) = 0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);\n      iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;\n      if ((*(char *)(param_2 + 0x65) != '\0') && (param_5 == 1)) {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }\n      FUN_00213f30(param_1,param_2,uVar3,iVar4,param_5,local_24,local_20);\n    }" (else "else") (compound_statement "{\n      if (*(char *)(param_2 + 0x70) != '\0') {\n        *(undefined1 *)(param_2 + 0x70) = 0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }\n      local_24 = *(int *)(param_2 + 0x44);\n      local_20 = *(undefined4 *)(param_2 + 0x48);\n      uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);\n      iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;\n      if ((*(char *)(param_2 + 0x65) != '\0') && (param_5 == 1)) {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }\n      FUN_00213f30(param_1,param_2,uVar3,iVar4,param_5,local_24,local_20);\n    }" ({ "{") (if_statement "if (*(char *)(param_2 + 0x70) != '\0') {\n        *(undefined1 *)(param_2 + 0x70) = 0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }" (if "if") (parenthesized_expression "(*(char *)(param_2 + 0x70) != '\0')" (( "(") (binary_expression "*(char *)(param_2 + 0x70) != '\0'" (pointer_expression "*(char *)(param_2 + 0x70)" (* "*") (cast_expression "(char *)(param_2 + 0x70)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x70)" (( "(") (binary_expression "param_2 + 0x70" (identifier "param_2") (+ "+") (number_literal "0x70")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        *(undefined1 *)(param_2 + 0x70) = 0;\n        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);\n        *(int *)(param_2 + 0x68) = iVar4;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n        *(int *)(param_2 + 8) = iVar4;\n        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);\n      }" ({ "{") (expression_statement "*(undefined1 *)(param_2 + 0x70) = 0;" (assignment_expression "*(undefined1 *)(param_2 + 0x70) = 0" (pointer_expression "*(undefined1 *)(param_2 + 0x70)" (* "*") (cast_expression "(undefined1 *)(param_2 + 0x70)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x70)" (( "(") (binary_expression "param_2 + 0x70" (identifier "param_2") (+ "+") (number_literal "0x70")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);" (assignment_expression "iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68)" (identifier "iVar4") (= "=") (binary_expression "(uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68)" (call_expression "(uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(int *)(param_2 + 8) != *(int *)(param_2 + 4))" (( "(") (binary_expression "*(int *)(param_2 + 8) != *(int *)(param_2 + 4)" (pointer_expression "*(int *)(param_2 + 8)" (* "*") (cast_expression "(int *)(param_2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) () ")"))) (+ "+") (pointer_expression "*(int *)(param_2 + 0x68)" (* "*") (cast_expression "(int *)(param_2 + 0x68)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x68)" (( "(") (binary_expression "param_2 + 0x68" (identifier "param_2") (+ "+") (number_literal "0x68")) () ")")))))) (; ";")) (expression_statement "*(int *)(param_2 + 0x68) = iVar4;" (assignment_expression "*(int *)(param_2 + 0x68) = iVar4" (pointer_expression "*(int *)(param_2 + 0x68)" (* "*") (cast_expression "(int *)(param_2 + 0x68)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x68)" (( "(") (binary_expression "param_2 + 0x68" (identifier "param_2") (+ "+") (number_literal "0x68")) () ")")))) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);" (assignment_expression "*(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c)" (pointer_expression "*(undefined4 *)(param_2 + 4)" (* "*") (cast_expression "(undefined4 *)(param_2 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(param_2 + 0x5c)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x5c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x5c)" (( "(") (binary_expression "param_2 + 0x5c" (identifier "param_2") (+ "+") (number_literal "0x5c")) () ")"))))) (; ";")) (expression_statement "*(int *)(param_2 + 8) = iVar4;" (assignment_expression "*(int *)(param_2 + 8) = iVar4" (pointer_expression "*(int *)(param_2 + 8)" (* "*") (cast_expression "(int *)(param_2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);" (assignment_expression "*(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c)" (pointer_expression "*(undefined4 *)(param_2 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0xc)" (( "(") (binary_expression "param_2 + 0xc" (identifier "param_2") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(param_2 + 0x6c)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x6c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x6c)" (( "(") (binary_expression "param_2 + 0x6c" (identifier "param_2") (+ "+") (number_literal "0x6c")) () ")"))))) (; ";")) (} "}"))) (expression_statement "local_24 = *(int *)(param_2 + 0x44);" (assignment_expression "local_24 = *(int *)(param_2 + 0x44)" (identifier "local_24") (= "=") (pointer_expression "*(int *)(param_2 + 0x44)" (* "*") (cast_expression "(int *)(param_2 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x44)" (( "(") (binary_expression "param_2 + 0x44" (identifier "param_2") (+ "+") (number_literal "0x44")) () ")"))))) (; ";")) (expression_statement "local_20 = *(undefined4 *)(param_2 + 0x48);" (assignment_expression "local_20 = *(undefined4 *)(param_2 + 0x48)" (identifier "local_20") (= "=") (pointer_expression "*(undefined4 *)(param_2 + 0x48)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x48)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x48)" (( "(") (binary_expression "param_2 + 0x48" (identifier "param_2") (+ "+") (number_literal "0x48")) () ")"))))) (; ";")) (expression_statement "uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);" (assignment_expression "uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3)" (identifier "uVar3") (= "=") (call_expression "(uint)((ulonglong)local_30 * (ulonglong)param_3)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((ulonglong)local_30 * (ulonglong)param_3)" (( "(") (binary_expression "(ulonglong)local_30 * (ulonglong)param_3" (cast_expression "(ulonglong)local_30" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "local_30")) (* "*") (cast_expression "(ulonglong)param_3" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "param_3"))) () ")")))) (; ";")) (expression_statement "iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;" (assignment_expression "iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30" (identifier "iVar4") (= "=") (binary_expression "(int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30" (binary_expression "(int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +\n              param_3 * ((int)local_30 >> 0x1f)" (cast_expression "(int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)local_30 * (ulonglong)param_3 >> 0x20)" (( "(") (binary_expression "(ulonglong)local_30 * (ulonglong)param_3 >> 0x20" (binary_expression "(ulonglong)local_30 * (ulonglong)param_3" (cast_expression "(ulonglong)local_30" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "local_30")) (* "*") (cast_expression "(ulonglong)param_3" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "param_3"))) (>> ">>") (number_literal "0x20")) () ")"))) (+ "+") (binary_expression "param_3 * ((int)local_30 >> 0x1f)" (identifier "param_3") (* "*") (parenthesized_expression "((int)local_30 >> 0x1f)" (( "(") (binary_expression "(int)local_30 >> 0x1f" (cast_expression "(int)local_30" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_30")) (>> ">>") (number_literal "0x1f")) () ")")))) (+ "+") (binary_expression "param_4 * local_30" (identifier "param_4") (* "*") (identifier "local_30")))) (; ";")) (if_statement "if ((*(char *)(param_2 + 0x65) != '\0') && (param_5 == 1)) {\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }" (if "if") (parenthesized_expression "((*(char *)(param_2 + 0x65) != '\0') && (param_5 == 1))" (( "(") (binary_expression "(*(char *)(param_2 + 0x65) != '\0') && (param_5 == 1)" (parenthesized_expression "(*(char *)(param_2 + 0x65) != '\0')" (( "(") (binary_expression "*(char *)(param_2 + 0x65) != '\0'" (pointer_expression "*(char *)(param_2 + 0x65)" (* "*") (cast_expression "(char *)(param_2 + 0x65)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x65)" (( "(") (binary_expression "param_2 + 0x65" (identifier "param_2") (+ "+") (number_literal "0x65")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(param_5 == 1)" (( "(") (binary_expression "param_5 == 1" (identifier "param_5") (== "==") (number_literal "1")) () ")"))) () ")")) (compound_statement "{\n        local_24 = *(int *)(param_2 + 0x54);\n        local_20 = *(undefined4 *)(param_2 + 0x58);\n        uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24);\n        bVar6 = CARRY4(uVar3,uVar5);\n        uVar3 = uVar3 + uVar5;\n        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;\n      }" ({ "{") (expression_statement "local_24 = *(int *)(param_2 + 0x54);" (assignment_expression "local_24 = *(int *)(param_2 + 0x54)" (identifier "local_24") (= "=") (pointer_expression "*(int *)(param_2 + 0x54)" (* "*") (cast_expression "(int *)(param_2 + 0x54)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x54)" (( "(") (binary_expression "param_2 + 0x54" (identifier "param_2") (+ "+") (number_literal "0x54")) () ")"))))) (; ";")) (expression_statement "local_20 = *(undefined4 *)(param_2 + 0x58);" (assignment_expression "local_20 = *(undefined4 *)(param_2 + 0x58)" (identifier "local_20") (= "=") (pointer_expression "*(undefined4 *)(param_2 + 0x58)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x58)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x58)" (( "(") (binary_expression "param_2 + 0x58" (identifier "param_2") (+ "+") (number_literal "0x58")) () ")"))))) (; ";")) (expression_statement "uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24);" (assignment_expression "uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24)" (identifier "uVar5") (= "=") (call_expression "FUN_00213da0(param_2,&local_24,local_24,local_24)" (identifier "FUN_00213da0") (argument_list "(param_2,&local_24,local_24,local_24)" (( "(") (identifier "param_2") (, ",") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (identifier "local_24") (, ",") (identifier "local_24") () ")")))) (; ";")) (expression_statement "bVar6 = CARRY4(uVar3,uVar5);" (assignment_expression "bVar6 = CARRY4(uVar3,uVar5)" (identifier "bVar6") (= "=") (call_expression "CARRY4(uVar3,uVar5)" (identifier "CARRY4") (argument_list "(uVar3,uVar5)" (( "(") (identifier "uVar3") (, ",") (identifier "uVar5") () ")")))) (; ";")) (expression_statement "uVar3 = uVar3 + uVar5;" (assignment_expression "uVar3 = uVar3 + uVar5" (identifier "uVar3") (= "=") (binary_expression "uVar3 + uVar5" (identifier "uVar3") (+ "+") (identifier "uVar5"))) (; ";")) (expression_statement "iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;" (assignment_expression "iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6" (identifier "iVar4") (= "=") (binary_expression "iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6" (binary_expression "iVar4 + ((int)uVar5 >> 0x1f)" (identifier "iVar4") (+ "+") (parenthesized_expression "((int)uVar5 >> 0x1f)" (( "(") (binary_expression "(int)uVar5 >> 0x1f" (cast_expression "(int)uVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar5")) (>> ">>") (number_literal "0x1f")) () ")"))) (+ "+") (cast_expression "(uint)bVar6" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar6")))) (; ";")) (} "}"))) (expression_statement "FUN_00213f30(param_1,param_2,uVar3,iVar4,param_5,local_24,local_20);" (call_expression "FUN_00213f30(param_1,param_2,uVar3,iVar4,param_5,local_24,local_20)" (identifier "FUN_00213f30") (argument_list "(param_1,param_2,uVar3,iVar4,param_5,local_24,local_20)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "uVar3") (, ",") (identifier "iVar4") (, ",") (identifier "param_5") (, ",") (identifier "local_24") (, ",") (identifier "local_20") () ")"))) (; ";")) (} "}")))) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::filebuf::seekoff(long long, std::_Ios_Seekdir, std::_Ios_Openmode) */

type_2 *
std::filebuf::var_14(type_2 *var_3,type_6 *var_1,type_1 var_8,int var_9,int var_11)

{
  int *var_2;
  char var_7;
  type_1 var_19;
  int var_21;
  type_1 var_20;
  bool var_10;
  type_2 var_15;
  int var_13;
  int local_48;
  type_1 var_17;
  type_3 local_24 [2];
  type_4 uStack_14;
  
  uStack_14 = 0x2141f9;
  var_2 = *(int **)(var_1 + 0x74);
  if (var_2 == (int *)0x0) {
    var_10 = true;
    var_17 = 0;
  }
  else {
    var_19 = (**(type_5 **)(*var_2 + 0x14))(var_2);
    var_17 = 0;
    if (-1 < (int)var_19) {
      var_17 = var_19;
    }
    var_10 = (int)var_19 < 1;
  }
  *(type_4 *)var_3 = 0xffffffff;
  *(type_4 *)((int)var_3 + 4) = 0xffffffff;
  *(type_4 *)(var_3 + 1) = 0;
  *(type_4 *)((int)var_3 + 0xc) = 0;
  var_7 = var_4<var_5>::var_6((var_4<var_5> *)(var_1 + 0x38));
  if (var_7 == '\x01') {
    if ((bool)((var_8 != 0 || var_9 != 0) & var_10)) {
      return var_3;
    }
    if (((var_11 == 1) && (var_8 == 0 && var_9 == 0)) &&
       ((var_1[0x66] == (type_6)0x0 ||
        (var_7 = (**(type_5 **)(**(int **)(var_1 + 0x74) + 0x18))(*(int **)(var_1 + 0x74)),
        var_7 != '\0')))) {
      local_24[0].__count = *(int *)(var_1 + 0x44);
      local_24[0].__value = *(type_7 *)(var_1 + 0x48);
      if (var_1[0x65] == (type_6)0x0) {
        var_13 = 0;
        local_48 = 0;
      }
      else {
        local_24[0].__count = *(int *)(var_1 + 0x54);
        local_24[0].__value = *(type_7 *)(var_1 + 0x58);
        var_13 = var_12(var_1,local_24);
        local_48 = var_13 >> 0x1f;
      }
      if (var_1[0x66] != (type_6)0x0) {
        var_13 = *(int *)(var_1 + 0x14) - *(int *)(var_1 + 0x10);
        local_48 = var_13 >> 0x1f;
      }
      var_15 = var_4<var_5>::var_14((var_4<var_5> *)(var_1 + 0x38),0,0,1);
      if (var_15 != -1) {
        *var_3 = var_15 + var_16(local_48,var_13);
        *(int *)(var_3 + 1) = local_24[0].__count;
        *(type_7 *)((int)var_3 + 0xc) = local_24[0].__value;
        return var_3;
      }
    }
    else {
      if (var_1[0x70] != (type_6)0x0) {
        var_1[0x70] = (type_6)0x0;
        var_21 = (type_1)(*(int *)(var_1 + 8) != *(int *)(var_1 + 4)) + *(int *)(var_1 + 0x68);
        *(int *)(var_1 + 0x68) = var_21;
        *(type_4 *)(var_1 + 4) = *(type_4 *)(var_1 + 0x5c);
        *(int *)(var_1 + 8) = var_21;
        *(type_4 *)(var_1 + 0xc) = *(type_4 *)(var_1 + 0x6c);
      }
      local_24[0].__count = *(int *)(var_1 + 0x44);
      local_24[0].__value = (type_7)((type_7 *)(var_1 + 0x48))->__wch;
      var_19 = (type_1)((type_8)var_17 * (type_8)var_8);
      var_21 = (int)((type_8)var_17 * (type_8)var_8 >> 0x20) +
              var_8 * ((int)var_17 >> 0x1f) + var_9 * var_17;
      if ((var_1[0x65] != (type_6)0x0) && (var_11 == 1)) {
        local_24[0].__count = *(int *)(var_1 + 0x54);
        local_24[0].__value = (type_7)((type_7 *)(var_1 + 0x58))->__wch;
        var_20 = var_12(var_1,local_24);
        var_10 = var_18(var_19,var_20);
        var_19 = var_19 + var_20;
        var_21 = var_21 + ((int)var_20 >> 0x1f) + (type_1)var_10;
      }
      var_22(var_3,var_1,var_19,var_21,var_11,local_24[0].__count,local_24[0].__value.__wch);
    }
    return var_3;
  }
  return var_3;
}


(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) 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: (type_identifier) 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: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (true))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) right: (identifier))))) consequence: (compound_statement (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (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: (char_literal (escape_sequence))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (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)))))) right: (number_literal))))))) 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)))))))) right: (binary_expression left: (identifier) right: (char_literal (escape_sequence)))))))))) consequence: (compound_statement (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (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: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (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: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (number_literal) (number_literal) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (identifier))) (return_statement (identifier))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (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: (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: (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: (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))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (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: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))) right: (number_literal)))) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (binary_expression left: (identifier) right: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (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: (char_literal (escape_sequence)))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier))))))) (return_statement (identifier)))) (return_statement (identifier)))))

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

longlong * MASKED(longlong *param_1,int param_2,uint param_3,int param_4,int param_5)

{
  int *piVar1;
  char cVar2;
  uint uVar3;
  int iVar4;
  uint uVar5;
  bool bVar6;
  longlong lVar7;
  int local_4c;
  int local_48;
  uint local_30;
  int local_24;
  undefined4 local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x2141f9;
  piVar1 = *(int **)(param_2 + 0x74);
  if (piVar1 == (int *)0x0) {
    bVar6 = true;
    local_30 = 0;
  }
  else {
    uVar3 = (**(code **)(*piVar1 + 0x14))(piVar1);
    local_30 = 0;
    if (-1 < (int)uVar3) {
      local_30 = uVar3;
    }
    bVar6 = (int)uVar3 < 1;
  }
  *(undefined4 *)param_1 = 0xffffffff;
  *(undefined4 *)((int)param_1 + 4) = 0xffffffff;
  *(undefined4 *)(param_1 + 1) = 0;
  *(undefined4 *)((int)param_1 + 0xc) = 0;
  cVar2 = FUN_001e73e0(param_2 + 0x38);
  if (cVar2 == '\x01') {
    if ((bool)((param_3 != 0 || param_4 != 0) & bVar6)) {
      return param_1;
    }
    if (((param_5 == 1) && (param_3 == 0 && param_4 == 0)) &&
       ((*(char *)(param_2 + 0x66) == '\0' ||
        (cVar2 = (**(code **)(**(int **)(param_2 + 0x74) + 0x18))(*(int **)(param_2 + 0x74)),
        cVar2 != '\0')))) {
      local_24 = *(int *)(param_2 + 0x44);
      local_20 = *(undefined4 *)(param_2 + 0x48);
      if (*(char *)(param_2 + 0x65) == '\0') {
        local_4c = 0;
        local_48 = 0;
      }
      else {
        local_24 = *(int *)(param_2 + 0x54);
        local_20 = *(undefined4 *)(param_2 + 0x58);
        local_4c = FUN_00213da0(param_2,&local_24);
        local_48 = local_4c >> 0x1f;
      }
      if (*(char *)(param_2 + 0x66) != '\0') {
        local_4c = *(int *)(param_2 + 0x14) - *(int *)(param_2 + 0x10);
        local_48 = local_4c >> 0x1f;
      }
      lVar7 = FUN_001e7770(param_2 + 0x38,0,0,1);
      if (lVar7 != -1) {
        *param_1 = lVar7 + CONCAT44(local_48,local_4c);
        *(int *)(param_1 + 1) = local_24;
        *(undefined4 *)((int)param_1 + 0xc) = local_20;
        return param_1;
      }
    }
    else {
      if (*(char *)(param_2 + 0x70) != '\0') {
        *(undefined1 *)(param_2 + 0x70) = 0;
        iVar4 = (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) + *(int *)(param_2 + 0x68);
        *(int *)(param_2 + 0x68) = iVar4;
        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);
        *(int *)(param_2 + 8) = iVar4;
        *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x6c);
      }
      local_24 = *(int *)(param_2 + 0x44);
      local_20 = *(undefined4 *)(param_2 + 0x48);
      uVar3 = (uint)((ulonglong)local_30 * (ulonglong)param_3);
      iVar4 = (int)((ulonglong)local_30 * (ulonglong)param_3 >> 0x20) +
              param_3 * ((int)local_30 >> 0x1f) + param_4 * local_30;
      if ((*(char *)(param_2 + 0x65) != '\0') && (param_5 == 1)) {
        local_24 = *(int *)(param_2 + 0x54);
        local_20 = *(undefined4 *)(param_2 + 0x58);
        uVar5 = FUN_00213da0(param_2,&local_24,local_24,local_24);
        bVar6 = CARRY4(uVar3,uVar5);
        uVar3 = uVar3 + uVar5;
        iVar4 = iVar4 + ((int)uVar5 >> 0x1f) + (uint)bVar6;
      }
      FUN_00213f30(param_1,param_2,uVar3,iVar4,param_5,local_24,local_20);
    }
    return param_1;
  }
  return param_1;
}

