
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* __cxxabiv1::__vmi_class_type_info::__do_upcast(__cxxabiv1::__class_type_info const*, void const*,
   __cxxabiv1::__class_type_info::__upcast_result&) const */

char __thiscall
__cxxabiv1::__vmi_class_type_info::__do_upcast
          (__vmi_class_type_info *this,__class_type_info *param_1,void *param_2,
          __upcast_result *param_3)

{
  uint uVar1;
  char *__s1;
  byte bVar2;
  char cVar3;
  int iVar4;
  int iVar5;
  uint local_40;
  int local_2c;
  uint local_28;
  uint local_24;
  int local_20;
  
  cVar3 = __class_type_info::__do_upcast((__class_type_info *)this,param_1,param_2,param_3);
  if (cVar3 != '\0') {
    return cVar3;
  }
  local_40 = *(uint *)(param_3 + 8);
  if ((local_40 & 0x10) != 0) {
    local_40 = *(uint *)(this + 8);
  }
  iVar5 = *(int *)(this + 0xc);
  do {
    if (iVar5 == 0) {
      return *(int *)(param_3 + 4) != 0;
    }
    uVar1 = *(uint *)(this + iVar5 * 8 + 0xc);
    local_2c = 0;
    local_28 = 0;
    local_24 = local_40;
    local_20 = 0;
    if ((local_40 & 1) != 0 || (uVar1 & 2) != 0) {
      iVar4 = 0;
      if (param_2 != (void *)0x0) {
        iVar4 = (int)uVar1 >> 8;
        if ((uVar1 & 1) != 0) {
                    /* WARNING: Load size is inaccurate */
          iVar4 = *(int *)(*param_2 + iVar4);
        }
        iVar4 = iVar4 + (int)param_2;
      }
      cVar3 = (**(code **)(**(int **)(this + iVar5 * 8 + 8) + 0x18))
                        (*(int **)(this + iVar5 * 8 + 8),param_1,iVar4,&local_2c);
      if (cVar3 != '\0') {
        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {
          local_20 = *(int *)(this + iVar5 * 8 + 8);
        }
        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {
          local_28 = local_28 & 0xfffffffd;
        }
        iVar4 = *(int *)(param_3 + 0xc);
        if (iVar4 == 0) {
          *(int *)param_3 = local_2c;
          *(uint *)(param_3 + 8) = local_24;
          *(uint *)(param_3 + 4) = local_28;
          *(int *)(param_3 + 0xc) = local_20;
          if ((int)local_28 < 4) {
            return cVar3;
          }
          if ((local_28 & 2) == 0) {
            if ((local_28 & 1) == 0) {
              return cVar3;
            }
            bVar2 = (byte)this[8] & 2;
          }
          else {
            bVar2 = (byte)this[8] & 1;
          }
          if (bVar2 == 0) {
            return cVar3;
          }
        }
        else {
          if (*(int *)param_3 != local_2c) {
            *(undefined4 *)param_3 = 0;
            *(undefined4 *)(param_3 + 4) = 2;
            return cVar3;
          }
          if (*(int *)param_3 == 0) {
            if ((local_20 == 8) || (iVar4 == 8)) {
LAB_001c8683:
              *(undefined4 *)(param_3 + 4) = 2;
              return cVar3;
            }
            __s1 = *(char **)(local_20 + 4);
            if ((__s1 != *(char **)(iVar4 + 4)) &&
               ((*__s1 == '*' || (iVar4 = strcmp(__s1,*(char **)(iVar4 + 4)), iVar4 != 0))))
            goto LAB_001c8683;
          }
          *(uint *)(param_3 + 4) = *(uint *)(param_3 + 4) | local_28;
        }
      }
    }
    iVar5 = iVar5 + -1;
  } while( true );
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

char FUN_001c84c0(int param_1,undefined4 param_2,int *param_3,int *param_4)

{
  uint uVar1;
  int *piVar2;
  char *__s1;
  byte bVar3;
  char cVar4;
  int iVar5;
  int iVar6;
  uint local_40;
  int local_2c;
  uint local_28;
  uint local_24;
  int local_20;
  
  cVar4 = FUN_00180970(param_1,param_2,param_3,param_4);
  if (cVar4 != '\0') {
    return cVar4;
  }
  local_40 = param_4[2];
  if ((local_40 & 0x10) != 0) {
    local_40 = *(uint *)(param_1 + 8);
  }
  iVar6 = *(int *)(param_1 + 0xc);
  do {
    if (iVar6 == 0) {
      return param_4[1] != 0;
    }
    uVar1 = *(uint *)(param_1 + 0xc + iVar6 * 8);
    local_2c = 0;
    local_28 = 0;
    local_24 = local_40;
    local_20 = 0;
    if ((local_40 & 1) != 0 || (uVar1 & 2) != 0) {
      iVar5 = 0;
      if (param_3 != (int *)0x0) {
        iVar5 = (int)uVar1 >> 8;
        if ((uVar1 & 1) != 0) {
          iVar5 = *(int *)(*param_3 + iVar5);
        }
        iVar5 = iVar5 + (int)param_3;
      }
      piVar2 = *(int **)(param_1 + 8 + iVar6 * 8);
      cVar4 = (**(code **)(*piVar2 + 0x18))(piVar2,param_2,iVar5,&local_2c);
      if (cVar4 != '\0') {
        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {
          local_20 = *(int *)(param_1 + 8 + iVar6 * 8);
        }
        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {
          local_28 = local_28 & 0xfffffffd;
        }
        iVar5 = param_4[3];
        if (iVar5 == 0) {
          *param_4 = local_2c;
          param_4[2] = local_24;
          param_4[1] = local_28;
          param_4[3] = local_20;
          if ((int)local_28 < 4) {
            return cVar4;
          }
          if ((local_28 & 2) == 0) {
            if ((local_28 & 1) == 0) {
              return cVar4;
            }
            bVar3 = *(byte *)(param_1 + 8) & 2;
          }
          else {
            bVar3 = *(byte *)(param_1 + 8) & 1;
          }
          if (bVar3 == 0) {
            return cVar4;
          }
        }
        else {
          if (*param_4 != local_2c) {
            *param_4 = 0;
            param_4[1] = 2;
            return cVar4;
          }
          if (*param_4 == 0) {
            if ((local_20 == 8) || (iVar5 == 8)) {
LAB_001c8683:
              param_4[1] = 2;
              return cVar4;
            }
            __s1 = *(char **)(local_20 + 4);
            if ((__s1 != *(char **)(iVar5 + 4)) &&
               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))
            goto LAB_001c8683;
          }
          param_4[1] = param_4[1] | local_28;
        }
      }
    }
    iVar6 = iVar6 + -1;
  } while( true );
}


CALL 0x0004fb76
ADD EAX,0x139b3b
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x3c
MOV EBX,EAX
MOV EDI,dword ptr [ESP + 0x50]
MOV dword ptr [ESP + 0x18],EAX
PUSH dword ptr [ESP + 0x5c]
PUSH dword ptr [ESP + 0x5c]
PUSH dword ptr [ESP + 0x5c]
PUSH EDI
CALL 0x00180970
ADD ESP,0x10
MOV EDX,EAX
TEST AL,AL
JNZ 0x001c8631
MOV EAX,dword ptr [ESP + 0x5c]
MOV EAX,dword ptr [EAX + 0x8]
MOV dword ptr [ESP + 0xc],EAX
TEST AL,0x10
JNZ 0x001c86d0
MOV EAX,dword ptr [ESP + 0xc]
MOV ESI,dword ptr [EDI + 0xc]
AND EAX,0x1
MOV dword ptr [ESP + 0x10],EAX
LEA EAX,[ESP + 0x20]
MOV dword ptr [ESP + 0x14],EAX
JMP 0x001c854e
MOV EBX,dword ptr [ESP + 0x5c]
MOV ECX,dword ptr [EBX]
CMP ECX,dword ptr [ESP + 0x20]
JNZ 0x001c86f6
TEST ECX,ECX
JZ 0x001c8640
MOV ECX,dword ptr [ESP + 0x5c]
MOV EAX,dword ptr [ESP + 0x24]
OR dword ptr [ECX + 0x4],EAX
SUB ESI,0x1
TEST ESI,ESI
JZ 0x001c86e0
MOV EAX,dword ptr [ESP + 0xc]
MOV EBX,dword ptr [EDI + ESI*0x8 + 0xc]
MOV dword ptr [ESP + 0x20],0x0
MOV dword ptr [ESP + 0x24],0x0
MOV dword ptr [ESP + 0x28],EAX
MOV EBP,EBX
MOV EAX,dword ptr [ESP + 0x10]
MOV EDX,EBX
AND EBP,0x2
AND EDX,0x1
MOV dword ptr [ESP + 0x2c],0x0
OR EAX,EBP
JZ 0x001c854b
MOV ECX,dword ptr [ESP + 0x58]
XOR EAX,EAX
TEST ECX,ECX
JZ 0x001c85ac
MOV EAX,EBX
SAR EAX,0x8
TEST EDX,EDX
JZ 0x001c85a8
MOV ECX,dword ptr [ESP + 0x58]
MOV EDX,dword ptr [ECX]
MOV EAX,dword ptr [EDX + EAX*0x1]
ADD EAX,dword ptr [ESP + 0x58]
MOV EDX,dword ptr [EDI + ESI*0x8 + 0x8]
MOV ECX,dword ptr [EDX]
PUSH dword ptr [ESP + 0x14]
PUSH EAX
PUSH dword ptr [ESP + 0x5c]
PUSH EDX
CALL dword ptr [ECX + 0x18]
MOV EDX,EAX
ADD ESP,0x10
TEST AL,AL
JZ 0x001c854b
CMP dword ptr [ESP + 0x2c],0x8
JNZ 0x001c85d8
AND EBX,0x1
JNZ 0x001c86a0
MOV EAX,dword ptr [ESP + 0x24]
CMP EAX,0x3
JLE 0x001c85ec
TEST EBP,EBP
JNZ 0x001c85ec
AND EAX,0xfffffffd
MOV dword ptr [ESP + 0x24],EAX
MOV EAX,dword ptr [ESP + 0x5c]
MOV EAX,dword ptr [EAX + 0xc]
TEST EAX,EAX
JNZ 0x001c8528
MOV EBX,dword ptr [ESP + 0x5c]
MOV EAX,dword ptr [ESP + 0x20]
MOV ECX,dword ptr [ESP + 0x28]
MOV dword ptr [EBX],EAX
MOV EAX,dword ptr [ESP + 0x24]
MOV dword ptr [EBX + 0x8],ECX
MOV ECX,dword ptr [ESP + 0x2c]
MOV dword ptr [EBX + 0x4],EAX
MOV dword ptr [EBX + 0xc],ECX
CMP EAX,0x3
JLE 0x001c8631
TEST AL,0x2
JZ 0x001c86b0
TEST byte ptr [EDI + 0x8],0x1
JNZ 0x001c854b
ADD ESP,0x3c
MOV EAX,EDX
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV ECX,dword ptr [ESP + 0x2c]
CMP ECX,0x8
JZ 0x001c8683
CMP EAX,0x8
JZ 0x001c8683
MOV ECX,dword ptr [ECX + 0x4]
MOV EAX,dword ptr [EAX + 0x4]
CMP ECX,EAX
JZ 0x001c8540
CMP byte ptr [ECX],0x2a
JZ 0x001c8683
MOV byte ptr [ESP + 0x1f],DL
SUB ESP,0x8
PUSH EAX
PUSH ECX
MOV EBX,dword ptr [ESP + 0x28]
CALL 0x00026b10
ADD ESP,0x10
MOVZX EDX,byte ptr [ESP + 0x1f]
TEST EAX,EAX
JZ 0x001c8540
MOV EAX,dword ptr [ESP + 0x5c]
MOV dword ptr [EAX + 0x4],0x2
ADD ESP,0x3c
MOV EAX,EDX
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [EDI + ESI*0x8 + 0x8]
MOV dword ptr [ESP + 0x2c],EAX
JMP 0x001c85d8
TEST AL,0x1
JZ 0x001c8631
TEST byte ptr [EDI + 0x8],0x2
JNZ 0x001c854b
JMP 0x001c8631
MOV EAX,dword ptr [EDI + 0x8]
MOV dword ptr [ESP + 0xc],EAX
JMP 0x001c850d
MOV EAX,dword ptr [ESP + 0x5c]
MOV EAX,dword ptr [EAX + 0x4]
TEST EAX,EAX
SETNZ DL
ADD ESP,0x3c
POP EBX
MOV EAX,EDX
POP ESI
POP EDI
POP EBP
RET
MOV dword ptr [EBX],0x0
MOV dword ptr [EBX + 0x4],0x2
JMP 0x001c8631
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nchar FUN_001c84c0(int param_1,undefined4 param_2,int *param_3,int *param_4)\n\n{\n  uint uVar1;\n  int *piVar2;\n  char *__s1;\n  byte bVar3;\n  char cVar4;\n  int iVar5;\n  int iVar6;\n  uint local_40;\n  int local_2c;\n  uint local_28;\n  uint local_24;\n  int local_20;\n  \n  cVar4 = FUN_00180970(param_1,param_2,param_3,param_4);\n  if (cVar4 != '\0') {\n    return cVar4;\n  }\n  local_40 = param_4[2];\n  if ((local_40 & 0x10) != 0) {\n    local_40 = *(uint *)(param_1 + 8);\n  }\n  iVar6 = *(int *)(param_1 + 0xc);\n  do {\n    if (iVar6 == 0) {\n      return param_4[1] != 0;\n    }\n    uVar1 = *(uint *)(param_1 + 0xc + iVar6 * 8);\n    local_2c = 0;\n    local_28 = 0;\n    local_24 = local_40;\n    local_20 = 0;\n    if ((local_40 & 1) != 0 || (uVar1 & 2) != 0) {\n      iVar5 = 0;\n      if (param_3 != (int *)0x0) {\n        iVar5 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n          iVar5 = *(int *)(*param_3 + iVar5);\n        }\n        iVar5 = iVar5 + (int)param_3;\n      }\n      piVar2 = *(int **)(param_1 + 8 + iVar6 * 8);\n      cVar4 = (**(code **)(*piVar2 + 0x18))(piVar2,param_2,iVar5,&local_2c);\n      if (cVar4 != '\0') {\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(param_1 + 8 + iVar6 * 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar5 = param_4[3];\n        if (iVar5 == 0) {\n          *param_4 = local_2c;\n          param_4[2] = local_24;\n          param_4[1] = local_28;\n          param_4[3] = local_20;\n          if ((int)local_28 < 4) {\n            return cVar4;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }\n          if (bVar3 == 0) {\n            return cVar4;\n          }\n        }\n        else {\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }\n      }\n    }\n    iVar6 = iVar6 + -1;\n  } while( true );\n}\n\n" comment (function_definition "char FUN_001c84c0(int param_1,undefined4 param_2,int *param_3,int *param_4)\n\n{\n  uint uVar1;\n  int *piVar2;\n  char *__s1;\n  byte bVar3;\n  char cVar4;\n  int iVar5;\n  int iVar6;\n  uint local_40;\n  int local_2c;\n  uint local_28;\n  uint local_24;\n  int local_20;\n  \n  cVar4 = FUN_00180970(param_1,param_2,param_3,param_4);\n  if (cVar4 != '\0') {\n    return cVar4;\n  }\n  local_40 = param_4[2];\n  if ((local_40 & 0x10) != 0) {\n    local_40 = *(uint *)(param_1 + 8);\n  }\n  iVar6 = *(int *)(param_1 + 0xc);\n  do {\n    if (iVar6 == 0) {\n      return param_4[1] != 0;\n    }\n    uVar1 = *(uint *)(param_1 + 0xc + iVar6 * 8);\n    local_2c = 0;\n    local_28 = 0;\n    local_24 = local_40;\n    local_20 = 0;\n    if ((local_40 & 1) != 0 || (uVar1 & 2) != 0) {\n      iVar5 = 0;\n      if (param_3 != (int *)0x0) {\n        iVar5 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n          iVar5 = *(int *)(*param_3 + iVar5);\n        }\n        iVar5 = iVar5 + (int)param_3;\n      }\n      piVar2 = *(int **)(param_1 + 8 + iVar6 * 8);\n      cVar4 = (**(code **)(*piVar2 + 0x18))(piVar2,param_2,iVar5,&local_2c);\n      if (cVar4 != '\0') {\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(param_1 + 8 + iVar6 * 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar5 = param_4[3];\n        if (iVar5 == 0) {\n          *param_4 = local_2c;\n          param_4[2] = local_24;\n          param_4[1] = local_28;\n          param_4[3] = local_20;\n          if ((int)local_28 < 4) {\n            return cVar4;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }\n          if (bVar3 == 0) {\n            return cVar4;\n          }\n        }\n        else {\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }\n      }\n    }\n    iVar6 = iVar6 + -1;\n  } while( true );\n}" primitive_type (function_declarator "FUN_001c84c0(int param_1,undefined4 param_2,int *param_3,int *param_4)" identifier (parameter_list "(int param_1,undefined4 param_2,int *param_3,int *param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int *piVar2;\n  char *__s1;\n  byte bVar3;\n  char cVar4;\n  int iVar5;\n  int iVar6;\n  uint local_40;\n  int local_2c;\n  uint local_28;\n  uint local_24;\n  int local_20;\n  \n  cVar4 = FUN_00180970(param_1,param_2,param_3,param_4);\n  if (cVar4 != '\0') {\n    return cVar4;\n  }\n  local_40 = param_4[2];\n  if ((local_40 & 0x10) != 0) {\n    local_40 = *(uint *)(param_1 + 8);\n  }\n  iVar6 = *(int *)(param_1 + 0xc);\n  do {\n    if (iVar6 == 0) {\n      return param_4[1] != 0;\n    }\n    uVar1 = *(uint *)(param_1 + 0xc + iVar6 * 8);\n    local_2c = 0;\n    local_28 = 0;\n    local_24 = local_40;\n    local_20 = 0;\n    if ((local_40 & 1) != 0 || (uVar1 & 2) != 0) {\n      iVar5 = 0;\n      if (param_3 != (int *)0x0) {\n        iVar5 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n          iVar5 = *(int *)(*param_3 + iVar5);\n        }\n        iVar5 = iVar5 + (int)param_3;\n      }\n      piVar2 = *(int **)(param_1 + 8 + iVar6 * 8);\n      cVar4 = (**(code **)(*piVar2 + 0x18))(piVar2,param_2,iVar5,&local_2c);\n      if (cVar4 != '\0') {\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(param_1 + 8 + iVar6 * 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar5 = param_4[3];\n        if (iVar5 == 0) {\n          *param_4 = local_2c;\n          param_4[2] = local_24;\n          param_4[1] = local_28;\n          param_4[3] = local_20;\n          if ((int)local_28 < 4) {\n            return cVar4;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }\n          if (bVar3 == 0) {\n            return cVar4;\n          }\n        }\n        else {\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }\n      }\n    }\n    iVar6 = iVar6 + -1;\n  } while( true );\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "char cVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint local_40;" type_identifier identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "uint local_28;" type_identifier identifier ;) (declaration "uint local_24;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "cVar4 = FUN_00180970(param_1,param_2,param_3,param_4);" (assignment_expression "cVar4 = FUN_00180970(param_1,param_2,param_3,param_4)" identifier = (call_expression "FUN_00180970(param_1,param_2,param_3,param_4)" identifier (argument_list "(param_1,param_2,param_3,param_4)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (cVar4 != '\0') {\n    return cVar4;\n  }" if (parenthesized_expression "(cVar4 != '\0')" ( (binary_expression "cVar4 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return cVar4;\n  }" { (return_statement "return cVar4;" return identifier ;) })) (expression_statement "local_40 = param_4[2];" (assignment_expression "local_40 = param_4[2]" identifier = (subscript_expression "param_4[2]" identifier [ number_literal ])) ;) (if_statement "if ((local_40 & 0x10) != 0) {\n    local_40 = *(uint *)(param_1 + 8);\n  }" if (parenthesized_expression "((local_40 & 0x10) != 0)" ( (binary_expression "(local_40 & 0x10) != 0" (parenthesized_expression "(local_40 & 0x10)" ( (binary_expression "local_40 & 0x10" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    local_40 = *(uint *)(param_1 + 8);\n  }" { (expression_statement "local_40 = *(uint *)(param_1 + 8);" (assignment_expression "local_40 = *(uint *)(param_1 + 8)" identifier = (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) })) (expression_statement "iVar6 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar6 = *(int *)(param_1 + 0xc)" identifier = (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (do_statement "do {\n    if (iVar6 == 0) {\n      return param_4[1] != 0;\n    }\n    uVar1 = *(uint *)(param_1 + 0xc + iVar6 * 8);\n    local_2c = 0;\n    local_28 = 0;\n    local_24 = local_40;\n    local_20 = 0;\n    if ((local_40 & 1) != 0 || (uVar1 & 2) != 0) {\n      iVar5 = 0;\n      if (param_3 != (int *)0x0) {\n        iVar5 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n          iVar5 = *(int *)(*param_3 + iVar5);\n        }\n        iVar5 = iVar5 + (int)param_3;\n      }\n      piVar2 = *(int **)(param_1 + 8 + iVar6 * 8);\n      cVar4 = (**(code **)(*piVar2 + 0x18))(piVar2,param_2,iVar5,&local_2c);\n      if (cVar4 != '\0') {\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(param_1 + 8 + iVar6 * 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar5 = param_4[3];\n        if (iVar5 == 0) {\n          *param_4 = local_2c;\n          param_4[2] = local_24;\n          param_4[1] = local_28;\n          param_4[3] = local_20;\n          if ((int)local_28 < 4) {\n            return cVar4;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }\n          if (bVar3 == 0) {\n            return cVar4;\n          }\n        }\n        else {\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }\n      }\n    }\n    iVar6 = iVar6 + -1;\n  } while( true );" do (compound_statement "{\n    if (iVar6 == 0) {\n      return param_4[1] != 0;\n    }\n    uVar1 = *(uint *)(param_1 + 0xc + iVar6 * 8);\n    local_2c = 0;\n    local_28 = 0;\n    local_24 = local_40;\n    local_20 = 0;\n    if ((local_40 & 1) != 0 || (uVar1 & 2) != 0) {\n      iVar5 = 0;\n      if (param_3 != (int *)0x0) {\n        iVar5 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n          iVar5 = *(int *)(*param_3 + iVar5);\n        }\n        iVar5 = iVar5 + (int)param_3;\n      }\n      piVar2 = *(int **)(param_1 + 8 + iVar6 * 8);\n      cVar4 = (**(code **)(*piVar2 + 0x18))(piVar2,param_2,iVar5,&local_2c);\n      if (cVar4 != '\0') {\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(param_1 + 8 + iVar6 * 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar5 = param_4[3];\n        if (iVar5 == 0) {\n          *param_4 = local_2c;\n          param_4[2] = local_24;\n          param_4[1] = local_28;\n          param_4[3] = local_20;\n          if ((int)local_28 < 4) {\n            return cVar4;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }\n          if (bVar3 == 0) {\n            return cVar4;\n          }\n        }\n        else {\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }\n      }\n    }\n    iVar6 = iVar6 + -1;\n  }" { (if_statement "if (iVar6 == 0) {\n      return param_4[1] != 0;\n    }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n      return param_4[1] != 0;\n    }" { (return_statement "return param_4[1] != 0;" return (binary_expression "param_4[1] != 0" (subscript_expression "param_4[1]" identifier [ number_literal ]) != number_literal) ;) })) (expression_statement "uVar1 = *(uint *)(param_1 + 0xc + iVar6 * 8);" (assignment_expression "uVar1 = *(uint *)(param_1 + 0xc + iVar6 * 8)" identifier = (pointer_expression "*(uint *)(param_1 + 0xc + iVar6 * 8)" * (cast_expression "(uint *)(param_1 + 0xc + iVar6 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc + iVar6 * 8)" ( (binary_expression "param_1 + 0xc + iVar6 * 8" (binary_expression "param_1 + 0xc" identifier + number_literal) + (binary_expression "iVar6 * 8" identifier * number_literal)) ))))) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "local_24 = local_40;" (assignment_expression "local_24 = local_40" identifier = identifier) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (if_statement "if ((local_40 & 1) != 0 || (uVar1 & 2) != 0) {\n      iVar5 = 0;\n      if (param_3 != (int *)0x0) {\n        iVar5 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n          iVar5 = *(int *)(*param_3 + iVar5);\n        }\n        iVar5 = iVar5 + (int)param_3;\n      }\n      piVar2 = *(int **)(param_1 + 8 + iVar6 * 8);\n      cVar4 = (**(code **)(*piVar2 + 0x18))(piVar2,param_2,iVar5,&local_2c);\n      if (cVar4 != '\0') {\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(param_1 + 8 + iVar6 * 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar5 = param_4[3];\n        if (iVar5 == 0) {\n          *param_4 = local_2c;\n          param_4[2] = local_24;\n          param_4[1] = local_28;\n          param_4[3] = local_20;\n          if ((int)local_28 < 4) {\n            return cVar4;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }\n          if (bVar3 == 0) {\n            return cVar4;\n          }\n        }\n        else {\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }\n      }\n    }" if (parenthesized_expression "((local_40 & 1) != 0 || (uVar1 & 2) != 0)" ( (binary_expression "(local_40 & 1) != 0 || (uVar1 & 2) != 0" (binary_expression "(local_40 & 1) != 0" (parenthesized_expression "(local_40 & 1)" ( (binary_expression "local_40 & 1" identifier & number_literal) )) != number_literal) || (binary_expression "(uVar1 & 2) != 0" (parenthesized_expression "(uVar1 & 2)" ( (binary_expression "uVar1 & 2" identifier & number_literal) )) != number_literal)) )) (compound_statement "{\n      iVar5 = 0;\n      if (param_3 != (int *)0x0) {\n        iVar5 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n          iVar5 = *(int *)(*param_3 + iVar5);\n        }\n        iVar5 = iVar5 + (int)param_3;\n      }\n      piVar2 = *(int **)(param_1 + 8 + iVar6 * 8);\n      cVar4 = (**(code **)(*piVar2 + 0x18))(piVar2,param_2,iVar5,&local_2c);\n      if (cVar4 != '\0') {\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(param_1 + 8 + iVar6 * 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar5 = param_4[3];\n        if (iVar5 == 0) {\n          *param_4 = local_2c;\n          param_4[2] = local_24;\n          param_4[1] = local_28;\n          param_4[3] = local_20;\n          if ((int)local_28 < 4) {\n            return cVar4;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }\n          if (bVar3 == 0) {\n            return cVar4;\n          }\n        }\n        else {\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }\n      }\n    }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (if_statement "if (param_3 != (int *)0x0) {\n        iVar5 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n          iVar5 = *(int *)(*param_3 + iVar5);\n        }\n        iVar5 = iVar5 + (int)param_3;\n      }" if (parenthesized_expression "(param_3 != (int *)0x0)" ( (binary_expression "param_3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        iVar5 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n          iVar5 = *(int *)(*param_3 + iVar5);\n        }\n        iVar5 = iVar5 + (int)param_3;\n      }" { (expression_statement "iVar5 = (int)uVar1 >> 8;" (assignment_expression "iVar5 = (int)uVar1 >> 8" identifier = (binary_expression "(int)uVar1 >> 8" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (if_statement "if ((uVar1 & 1) != 0) {\n          iVar5 = *(int *)(*param_3 + iVar5);\n        }" if (parenthesized_expression "((uVar1 & 1) != 0)" ( (binary_expression "(uVar1 & 1) != 0" (parenthesized_expression "(uVar1 & 1)" ( (binary_expression "uVar1 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n          iVar5 = *(int *)(*param_3 + iVar5);\n        }" { (expression_statement "iVar5 = *(int *)(*param_3 + iVar5);" (assignment_expression "iVar5 = *(int *)(*param_3 + iVar5)" identifier = (pointer_expression "*(int *)(*param_3 + iVar5)" * (cast_expression "(int *)(*param_3 + iVar5)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + iVar5)" ( (binary_expression "*param_3 + iVar5" (pointer_expression "*param_3" * identifier) + identifier) ))))) ;) })) (expression_statement "iVar5 = iVar5 + (int)param_3;" (assignment_expression "iVar5 = iVar5 + (int)param_3" identifier = (binary_expression "iVar5 + (int)param_3" identifier + (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier))) ;) })) (expression_statement "piVar2 = *(int **)(param_1 + 8 + iVar6 * 8);" (assignment_expression "piVar2 = *(int **)(param_1 + 8 + iVar6 * 8)" identifier = (pointer_expression "*(int **)(param_1 + 8 + iVar6 * 8)" * (cast_expression "(int **)(param_1 + 8 + iVar6 * 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8 + iVar6 * 8)" ( (binary_expression "param_1 + 8 + iVar6 * 8" (binary_expression "param_1 + 8" identifier + number_literal) + (binary_expression "iVar6 * 8" identifier * number_literal)) ))))) ;) (expression_statement "cVar4 = (**(code **)(*piVar2 + 0x18))(piVar2,param_2,iVar5,&local_2c);" (assignment_expression "cVar4 = (**(code **)(*piVar2 + 0x18))(piVar2,param_2,iVar5,&local_2c)" identifier = (call_expression "(**(code **)(*piVar2 + 0x18))(piVar2,param_2,iVar5,&local_2c)" (parenthesized_expression "(**(code **)(*piVar2 + 0x18))" ( (pointer_expression "**(code **)(*piVar2 + 0x18)" * (pointer_expression "*(code **)(*piVar2 + 0x18)" * (cast_expression "(code **)(*piVar2 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0x18)" ( (binary_expression "*piVar2 + 0x18" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) )) (argument_list "(piVar2,param_2,iVar5,&local_2c)" ( identifier , identifier , identifier , (pointer_expression "&local_2c" & identifier) )))) ;) (if_statement "if (cVar4 != '\0') {\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(param_1 + 8 + iVar6 * 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar5 = param_4[3];\n        if (iVar5 == 0) {\n          *param_4 = local_2c;\n          param_4[2] = local_24;\n          param_4[1] = local_28;\n          param_4[3] = local_20;\n          if ((int)local_28 < 4) {\n            return cVar4;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }\n          if (bVar3 == 0) {\n            return cVar4;\n          }\n        }\n        else {\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }\n      }" if (parenthesized_expression "(cVar4 != '\0')" ( (binary_expression "cVar4 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(param_1 + 8 + iVar6 * 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar5 = param_4[3];\n        if (iVar5 == 0) {\n          *param_4 = local_2c;\n          param_4[2] = local_24;\n          param_4[1] = local_28;\n          param_4[3] = local_20;\n          if ((int)local_28 < 4) {\n            return cVar4;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }\n          if (bVar3 == 0) {\n            return cVar4;\n          }\n        }\n        else {\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }\n      }" { (if_statement "if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(param_1 + 8 + iVar6 * 8);\n        }" if (parenthesized_expression "((local_20 == 8) && ((uVar1 & 1) != 0))" ( (binary_expression "(local_20 == 8) && ((uVar1 & 1) != 0)" (parenthesized_expression "(local_20 == 8)" ( (binary_expression "local_20 == 8" identifier == number_literal) )) && (parenthesized_expression "((uVar1 & 1) != 0)" ( (binary_expression "(uVar1 & 1) != 0" (parenthesized_expression "(uVar1 & 1)" ( (binary_expression "uVar1 & 1" identifier & number_literal) )) != number_literal) ))) )) (compound_statement "{\n          local_20 = *(int *)(param_1 + 8 + iVar6 * 8);\n        }" { (expression_statement "local_20 = *(int *)(param_1 + 8 + iVar6 * 8);" (assignment_expression "local_20 = *(int *)(param_1 + 8 + iVar6 * 8)" identifier = (pointer_expression "*(int *)(param_1 + 8 + iVar6 * 8)" * (cast_expression "(int *)(param_1 + 8 + iVar6 * 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8 + iVar6 * 8)" ( (binary_expression "param_1 + 8 + iVar6 * 8" (binary_expression "param_1 + 8" identifier + number_literal) + (binary_expression "iVar6 * 8" identifier * number_literal)) ))))) ;) })) (if_statement "if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }" if (parenthesized_expression "((3 < (int)local_28) && ((uVar1 & 2) == 0))" ( (binary_expression "(3 < (int)local_28) && ((uVar1 & 2) == 0)" (parenthesized_expression "(3 < (int)local_28)" ( (binary_expression "3 < (int)local_28" number_literal < (cast_expression "(int)local_28" ( (type_descriptor "int" primitive_type) ) identifier)) )) && (parenthesized_expression "((uVar1 & 2) == 0)" ( (binary_expression "(uVar1 & 2) == 0" (parenthesized_expression "(uVar1 & 2)" ( (binary_expression "uVar1 & 2" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n          local_28 = local_28 & 0xfffffffd;\n        }" { (expression_statement "local_28 = local_28 & 0xfffffffd;" (assignment_expression "local_28 = local_28 & 0xfffffffd" identifier = (binary_expression "local_28 & 0xfffffffd" identifier & number_literal)) ;) })) (expression_statement "iVar5 = param_4[3];" (assignment_expression "iVar5 = param_4[3]" identifier = (subscript_expression "param_4[3]" identifier [ number_literal ])) ;) (if_statement "if (iVar5 == 0) {\n          *param_4 = local_2c;\n          param_4[2] = local_24;\n          param_4[1] = local_28;\n          param_4[3] = local_20;\n          if ((int)local_28 < 4) {\n            return cVar4;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }\n          if (bVar3 == 0) {\n            return cVar4;\n          }\n        }\n        else {\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n          *param_4 = local_2c;\n          param_4[2] = local_24;\n          param_4[1] = local_28;\n          param_4[3] = local_20;\n          if ((int)local_28 < 4) {\n            return cVar4;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }\n          if (bVar3 == 0) {\n            return cVar4;\n          }\n        }" { (expression_statement "*param_4 = local_2c;" (assignment_expression "*param_4 = local_2c" (pointer_expression "*param_4" * identifier) = identifier) ;) (expression_statement "param_4[2] = local_24;" (assignment_expression "param_4[2] = local_24" (subscript_expression "param_4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_4[1] = local_28;" (assignment_expression "param_4[1] = local_28" (subscript_expression "param_4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_4[3] = local_20;" (assignment_expression "param_4[3] = local_20" (subscript_expression "param_4[3]" identifier [ number_literal ]) = identifier) ;) (if_statement "if ((int)local_28 < 4) {\n            return cVar4;\n          }" if (parenthesized_expression "((int)local_28 < 4)" ( (binary_expression "(int)local_28 < 4" (cast_expression "(int)local_28" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n            return cVar4;\n          }" { (return_statement "return cVar4;" return identifier ;) })) (if_statement "if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }" if (parenthesized_expression "((local_28 & 2) == 0)" ( (binary_expression "(local_28 & 2) == 0" (parenthesized_expression "(local_28 & 2)" ( (binary_expression "local_28 & 2" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }" { (if_statement "if ((local_28 & 1) == 0) {\n              return cVar4;\n            }" if (parenthesized_expression "((local_28 & 1) == 0)" ( (binary_expression "(local_28 & 1) == 0" (parenthesized_expression "(local_28 & 1)" ( (binary_expression "local_28 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n              return cVar4;\n            }" { (return_statement "return cVar4;" return identifier ;) })) (expression_statement "bVar3 = *(byte *)(param_1 + 8) & 2;" (assignment_expression "bVar3 = *(byte *)(param_1 + 8) & 2" identifier = (binary_expression "*(byte *)(param_1 + 8) & 2" (pointer_expression "*(byte *)(param_1 + 8)" * (cast_expression "(byte *)(param_1 + 8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) & number_literal)) ;) }) (else_clause "else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }" else (compound_statement "{\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }" { (expression_statement "bVar3 = *(byte *)(param_1 + 8) & 1;" (assignment_expression "bVar3 = *(byte *)(param_1 + 8) & 1" identifier = (binary_expression "*(byte *)(param_1 + 8) & 1" (pointer_expression "*(byte *)(param_1 + 8)" * (cast_expression "(byte *)(param_1 + 8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) & number_literal)) ;) }))) (if_statement "if (bVar3 == 0) {\n            return cVar4;\n          }" if (parenthesized_expression "(bVar3 == 0)" ( (binary_expression "bVar3 == 0" identifier == number_literal) )) (compound_statement "{\n            return cVar4;\n          }" { (return_statement "return cVar4;" return identifier ;) })) }) (else_clause "else {\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }" else (compound_statement "{\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }" { (if_statement "if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }" if (parenthesized_expression "(*param_4 != local_2c)" ( (binary_expression "*param_4 != local_2c" (pointer_expression "*param_4" * identifier) != identifier) )) (compound_statement "{\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }" { (expression_statement "*param_4 = 0;" (assignment_expression "*param_4 = 0" (pointer_expression "*param_4" * identifier) = number_literal) ;) (expression_statement "param_4[1] = 2;" (assignment_expression "param_4[1] = 2" (subscript_expression "param_4[1]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return cVar4;" return identifier ;) })) (if_statement "if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }" if (parenthesized_expression "(*param_4 == 0)" ( (binary_expression "*param_4 == 0" (pointer_expression "*param_4" * identifier) == number_literal) )) (compound_statement "{\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }" { (if_statement "if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }" if (parenthesized_expression "((local_20 == 8) || (iVar5 == 8))" ( (binary_expression "(local_20 == 8) || (iVar5 == 8)" (parenthesized_expression "(local_20 == 8)" ( (binary_expression "local_20 == 8" identifier == number_literal) )) || (parenthesized_expression "(iVar5 == 8)" ( (binary_expression "iVar5 == 8" identifier == number_literal) ))) )) (compound_statement "{\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }" { (labeled_statement "LAB_001c8683:\n              param_4[1] = 2;" statement_identifier : (expression_statement "param_4[1] = 2;" (assignment_expression "param_4[1] = 2" (subscript_expression "param_4[1]" identifier [ number_literal ]) = number_literal) ;)) (return_statement "return cVar4;" return identifier ;) })) (expression_statement "__s1 = *(char **)(local_20 + 4);" (assignment_expression "__s1 = *(char **)(local_20 + 4)" identifier = (pointer_expression "*(char **)(local_20 + 4)" * (cast_expression "(char **)(local_20 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_20 + 4)" ( (binary_expression "local_20 + 4" identifier + number_literal) ))))) ;) (if_statement "if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;" if (parenthesized_expression "((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))" ( (binary_expression "(__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0)))" (parenthesized_expression "(__s1 != *(char **)(iVar5 + 4))" ( (binary_expression "__s1 != *(char **)(iVar5 + 4)" identifier != (pointer_expression "*(char **)(iVar5 + 4)" * (cast_expression "(char **)(iVar5 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 4)" ( (binary_expression "iVar5 + 4" identifier + number_literal) ))))) )) && (parenthesized_expression "((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0)))" ( (parenthesized_expression "(*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))" ( (binary_expression "*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0)" (binary_expression "*__s1 == '*'" (pointer_expression "*__s1" * identifier) == (char_literal "'*'" ' character ')) || (parenthesized_expression "(iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0)" ( (comma_expression "iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0" (assignment_expression "iVar5 = strcmp(__s1,*(char **)(iVar5 + 4))" identifier = (call_expression "strcmp(__s1,*(char **)(iVar5 + 4))" identifier (argument_list "(__s1,*(char **)(iVar5 + 4))" ( identifier , (pointer_expression "*(char **)(iVar5 + 4)" * (cast_expression "(char **)(iVar5 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 4)" ( (binary_expression "iVar5 + 4" identifier + number_literal) )))) )))) , (binary_expression "iVar5 != 0" identifier != number_literal)) ))) )) ))) )) (goto_statement "goto LAB_001c8683;" goto statement_identifier ;)) })) (expression_statement "param_4[1] = param_4[1] | local_28;" (assignment_expression "param_4[1] = param_4[1] | local_28" (subscript_expression "param_4[1]" identifier [ number_literal ]) = (binary_expression "param_4[1] | local_28" (subscript_expression "param_4[1]" identifier [ number_literal ]) | identifier)) ;) }))) })) })) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* __cxxabiv1::__vmi_class_type_info::__do_upcast(__cxxabiv1::__class_type_info const*, void const*,\n   __cxxabiv1::__class_type_info::__upcast_result&) const */\n\nchar __thiscall\n__cxxabiv1::__vmi_class_type_info::__do_upcast\n          (__vmi_class_type_info *this,__class_type_info *param_1,void *param_2,\n          __upcast_result *param_3)\n\n{\n  uint uVar1;\n  char *__s1;\n  byte bVar2;\n  char cVar3;\n  int iVar4;\n  int iVar5;\n  uint local_40;\n  int local_2c;\n  uint local_28;\n  uint local_24;\n  int local_20;\n  \n  cVar3 = __class_type_info::__do_upcast((__class_type_info *)this,param_1,param_2,param_3);\n  if (cVar3 != '\0') {\n    return cVar3;\n  }\n  local_40 = *(uint *)(param_3 + 8);\n  if ((local_40 & 0x10) != 0) {\n    local_40 = *(uint *)(this + 8);\n  }\n  iVar5 = *(int *)(this + 0xc);\n  do {\n    if (iVar5 == 0) {\n      return *(int *)(param_3 + 4) != 0;\n    }\n    uVar1 = *(uint *)(this + iVar5 * 8 + 0xc);\n    local_2c = 0;\n    local_28 = 0;\n    local_24 = local_40;\n    local_20 = 0;\n    if ((local_40 & 1) != 0 || (uVar1 & 2) != 0) {\n      iVar4 = 0;\n      if (param_2 != (void *)0x0) {\n        iVar4 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n                    /* WARNING: Load size is inaccurate */\n          iVar4 = *(int *)(*param_2 + iVar4);\n        }\n        iVar4 = iVar4 + (int)param_2;\n      }\n      cVar3 = (**(code **)(**(int **)(this + iVar5 * 8 + 8) + 0x18))\n                        (*(int **)(this + iVar5 * 8 + 8),param_1,iVar4,&local_2c);\n      if (cVar3 != '\0') {\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(this + iVar5 * 8 + 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar4 = *(int *)(param_3 + 0xc);\n        if (iVar4 == 0) {\n          *(int *)param_3 = local_2c;\n          *(uint *)(param_3 + 8) = local_24;\n          *(uint *)(param_3 + 4) = local_28;\n          *(int *)(param_3 + 0xc) = local_20;\n          if ((int)local_28 < 4) {\n            return cVar3;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar3;\n            }\n            bVar2 = (byte)this[8] & 2;\n          }\n          else {\n            bVar2 = (byte)this[8] & 1;\n          }\n          if (bVar2 == 0) {\n            return cVar3;\n          }\n        }\n        else {\n          if (*(int *)param_3 != local_2c) {\n            *(undefined4 *)param_3 = 0;\n            *(undefined4 *)(param_3 + 4) = 2;\n            return cVar3;\n          }\n          if (*(int *)param_3 == 0) {\n            if ((local_20 == 8) || (iVar4 == 8)) {\nLAB_001c8683:\n              *(undefined4 *)(param_3 + 4) = 2;\n              return cVar3;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar4 + 4)) &&\n               ((*__s1 == '*' || (iVar4 = strcmp(__s1,*(char **)(iVar4 + 4)), iVar4 != 0))))\n            goto LAB_001c8683;\n          }\n          *(uint *)(param_3 + 4) = *(uint *)(param_3 + 4) | local_28;\n        }\n      }\n    }\n    iVar5 = iVar5 + -1;\n  } while( true );\n}\n\n" comment comment (function_definition "char __thiscall\n__cxxabiv1::__vmi_class_type_info::__do_upcast\n          (__vmi_class_type_info *this,__class_type_info *param_1,void *param_2,\n          __upcast_result *param_3)\n\n{\n  uint uVar1;\n  char *__s1;\n  byte bVar2;\n  char cVar3;\n  int iVar4;\n  int iVar5;\n  uint local_40;\n  int local_2c;\n  uint local_28;\n  uint local_24;\n  int local_20;\n  \n  cVar3 = __class_type_info::__do_upcast((__class_type_info *)this,param_1,param_2,param_3);\n  if (cVar3 != '\0') {\n    return cVar3;\n  }\n  local_40 = *(uint *)(param_3 + 8);\n  if ((local_40 & 0x10) != 0) {\n    local_40 = *(uint *)(this + 8);\n  }\n  iVar5 = *(int *)(this + 0xc);\n  do {\n    if (iVar5 == 0) {\n      return *(int *)(param_3 + 4) != 0;\n    }\n    uVar1 = *(uint *)(this + iVar5 * 8 + 0xc);\n    local_2c = 0;\n    local_28 = 0;\n    local_24 = local_40;\n    local_20 = 0;\n    if ((local_40 & 1) != 0 || (uVar1 & 2) != 0) {\n      iVar4 = 0;\n      if (param_2 != (void *)0x0) {\n        iVar4 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n                    /* WARNING: Load size is inaccurate */\n          iVar4 = *(int *)(*param_2 + iVar4);\n        }\n        iVar4 = iVar4 + (int)param_2;\n      }\n      cVar3 = (**(code **)(**(int **)(this + iVar5 * 8 + 8) + 0x18))\n                        (*(int **)(this + iVar5 * 8 + 8),param_1,iVar4,&local_2c);\n      if (cVar3 != '\0') {\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(this + iVar5 * 8 + 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar4 = *(int *)(param_3 + 0xc);\n        if (iVar4 == 0) {\n          *(int *)param_3 = local_2c;\n          *(uint *)(param_3 + 8) = local_24;\n          *(uint *)(param_3 + 4) = local_28;\n          *(int *)(param_3 + 0xc) = local_20;\n          if ((int)local_28 < 4) {\n            return cVar3;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar3;\n            }\n            bVar2 = (byte)this[8] & 2;\n          }\n          else {\n            bVar2 = (byte)this[8] & 1;\n          }\n          if (bVar2 == 0) {\n            return cVar3;\n          }\n        }\n        else {\n          if (*(int *)param_3 != local_2c) {\n            *(undefined4 *)param_3 = 0;\n            *(undefined4 *)(param_3 + 4) = 2;\n            return cVar3;\n          }\n          if (*(int *)param_3 == 0) {\n            if ((local_20 == 8) || (iVar4 == 8)) {\nLAB_001c8683:\n              *(undefined4 *)(param_3 + 4) = 2;\n              return cVar3;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar4 + 4)) &&\n               ((*__s1 == '*' || (iVar4 = strcmp(__s1,*(char **)(iVar4 + 4)), iVar4 != 0))))\n            goto LAB_001c8683;\n          }\n          *(uint *)(param_3 + 4) = *(uint *)(param_3 + 4) | local_28;\n        }\n      }\n    }\n    iVar5 = iVar5 + -1;\n  } while( true );\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "__cxxabiv1::__vmi_class_type_info::" identifier : : identifier : :) (function_declarator "__do_upcast\n          (__vmi_class_type_info *this,__class_type_info *param_1,void *param_2,\n          __upcast_result *param_3)" identifier (parameter_list "(__vmi_class_type_info *this,__class_type_info *param_1,void *param_2,\n          __upcast_result *param_3)" ( (parameter_declaration "__vmi_class_type_info *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "__class_type_info *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "void *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "__upcast_result *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  char *__s1;\n  byte bVar2;\n  char cVar3;\n  int iVar4;\n  int iVar5;\n  uint local_40;\n  int local_2c;\n  uint local_28;\n  uint local_24;\n  int local_20;\n  \n  cVar3 = __class_type_info::__do_upcast((__class_type_info *)this,param_1,param_2,param_3);\n  if (cVar3 != '\0') {\n    return cVar3;\n  }\n  local_40 = *(uint *)(param_3 + 8);\n  if ((local_40 & 0x10) != 0) {\n    local_40 = *(uint *)(this + 8);\n  }\n  iVar5 = *(int *)(this + 0xc);\n  do {\n    if (iVar5 == 0) {\n      return *(int *)(param_3 + 4) != 0;\n    }\n    uVar1 = *(uint *)(this + iVar5 * 8 + 0xc);\n    local_2c = 0;\n    local_28 = 0;\n    local_24 = local_40;\n    local_20 = 0;\n    if ((local_40 & 1) != 0 || (uVar1 & 2) != 0) {\n      iVar4 = 0;\n      if (param_2 != (void *)0x0) {\n        iVar4 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n                    /* WARNING: Load size is inaccurate */\n          iVar4 = *(int *)(*param_2 + iVar4);\n        }\n        iVar4 = iVar4 + (int)param_2;\n      }\n      cVar3 = (**(code **)(**(int **)(this + iVar5 * 8 + 8) + 0x18))\n                        (*(int **)(this + iVar5 * 8 + 8),param_1,iVar4,&local_2c);\n      if (cVar3 != '\0') {\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(this + iVar5 * 8 + 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar4 = *(int *)(param_3 + 0xc);\n        if (iVar4 == 0) {\n          *(int *)param_3 = local_2c;\n          *(uint *)(param_3 + 8) = local_24;\n          *(uint *)(param_3 + 4) = local_28;\n          *(int *)(param_3 + 0xc) = local_20;\n          if ((int)local_28 < 4) {\n            return cVar3;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar3;\n            }\n            bVar2 = (byte)this[8] & 2;\n          }\n          else {\n            bVar2 = (byte)this[8] & 1;\n          }\n          if (bVar2 == 0) {\n            return cVar3;\n          }\n        }\n        else {\n          if (*(int *)param_3 != local_2c) {\n            *(undefined4 *)param_3 = 0;\n            *(undefined4 *)(param_3 + 4) = 2;\n            return cVar3;\n          }\n          if (*(int *)param_3 == 0) {\n            if ((local_20 == 8) || (iVar4 == 8)) {\nLAB_001c8683:\n              *(undefined4 *)(param_3 + 4) = 2;\n              return cVar3;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar4 + 4)) &&\n               ((*__s1 == '*' || (iVar4 = strcmp(__s1,*(char **)(iVar4 + 4)), iVar4 != 0))))\n            goto LAB_001c8683;\n          }\n          *(uint *)(param_3 + 4) = *(uint *)(param_3 + 4) | local_28;\n        }\n      }\n    }\n    iVar5 = iVar5 + -1;\n  } while( true );\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint local_40;" type_identifier identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "uint local_28;" type_identifier identifier ;) (declaration "uint local_24;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (ERROR "cVar3 = __class_type_info::" (assignment_expression "cVar3 = __class_type_info" identifier = identifier) : :) (expression_statement "__do_upcast((__class_type_info *)this,param_1,param_2,param_3);" (call_expression "__do_upcast((__class_type_info *)this,param_1,param_2,param_3)" identifier (argument_list "((__class_type_info *)this,param_1,param_2,param_3)" ( (cast_expression "(__class_type_info *)this" ( (type_descriptor "__class_type_info *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier , identifier , identifier ))) ;) (if_statement "if (cVar3 != '\0') {\n    return cVar3;\n  }" if (parenthesized_expression "(cVar3 != '\0')" ( (binary_expression "cVar3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return cVar3;\n  }" { (return_statement "return cVar3;" return identifier ;) })) (expression_statement "local_40 = *(uint *)(param_3 + 8);" (assignment_expression "local_40 = *(uint *)(param_3 + 8)" identifier = (pointer_expression "*(uint *)(param_3 + 8)" * (cast_expression "(uint *)(param_3 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) ))))) ;) (if_statement "if ((local_40 & 0x10) != 0) {\n    local_40 = *(uint *)(this + 8);\n  }" if (parenthesized_expression "((local_40 & 0x10) != 0)" ( (binary_expression "(local_40 & 0x10) != 0" (parenthesized_expression "(local_40 & 0x10)" ( (binary_expression "local_40 & 0x10" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    local_40 = *(uint *)(this + 8);\n  }" { (expression_statement "local_40 = *(uint *)(this + 8);" (assignment_expression "local_40 = *(uint *)(this + 8)" identifier = (pointer_expression "*(uint *)(this + 8)" * (cast_expression "(uint *)(this + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))))) ;) })) (expression_statement "iVar5 = *(int *)(this + 0xc);" (assignment_expression "iVar5 = *(int *)(this + 0xc)" identifier = (pointer_expression "*(int *)(this + 0xc)" * (cast_expression "(int *)(this + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) ))))) ;) (do_statement "do {\n    if (iVar5 == 0) {\n      return *(int *)(param_3 + 4) != 0;\n    }\n    uVar1 = *(uint *)(this + iVar5 * 8 + 0xc);\n    local_2c = 0;\n    local_28 = 0;\n    local_24 = local_40;\n    local_20 = 0;\n    if ((local_40 & 1) != 0 || (uVar1 & 2) != 0) {\n      iVar4 = 0;\n      if (param_2 != (void *)0x0) {\n        iVar4 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n                    /* WARNING: Load size is inaccurate */\n          iVar4 = *(int *)(*param_2 + iVar4);\n        }\n        iVar4 = iVar4 + (int)param_2;\n      }\n      cVar3 = (**(code **)(**(int **)(this + iVar5 * 8 + 8) + 0x18))\n                        (*(int **)(this + iVar5 * 8 + 8),param_1,iVar4,&local_2c);\n      if (cVar3 != '\0') {\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(this + iVar5 * 8 + 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar4 = *(int *)(param_3 + 0xc);\n        if (iVar4 == 0) {\n          *(int *)param_3 = local_2c;\n          *(uint *)(param_3 + 8) = local_24;\n          *(uint *)(param_3 + 4) = local_28;\n          *(int *)(param_3 + 0xc) = local_20;\n          if ((int)local_28 < 4) {\n            return cVar3;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar3;\n            }\n            bVar2 = (byte)this[8] & 2;\n          }\n          else {\n            bVar2 = (byte)this[8] & 1;\n          }\n          if (bVar2 == 0) {\n            return cVar3;\n          }\n        }\n        else {\n          if (*(int *)param_3 != local_2c) {\n            *(undefined4 *)param_3 = 0;\n            *(undefined4 *)(param_3 + 4) = 2;\n            return cVar3;\n          }\n          if (*(int *)param_3 == 0) {\n            if ((local_20 == 8) || (iVar4 == 8)) {\nLAB_001c8683:\n              *(undefined4 *)(param_3 + 4) = 2;\n              return cVar3;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar4 + 4)) &&\n               ((*__s1 == '*' || (iVar4 = strcmp(__s1,*(char **)(iVar4 + 4)), iVar4 != 0))))\n            goto LAB_001c8683;\n          }\n          *(uint *)(param_3 + 4) = *(uint *)(param_3 + 4) | local_28;\n        }\n      }\n    }\n    iVar5 = iVar5 + -1;\n  } while( true );" do (compound_statement "{\n    if (iVar5 == 0) {\n      return *(int *)(param_3 + 4) != 0;\n    }\n    uVar1 = *(uint *)(this + iVar5 * 8 + 0xc);\n    local_2c = 0;\n    local_28 = 0;\n    local_24 = local_40;\n    local_20 = 0;\n    if ((local_40 & 1) != 0 || (uVar1 & 2) != 0) {\n      iVar4 = 0;\n      if (param_2 != (void *)0x0) {\n        iVar4 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n                    /* WARNING: Load size is inaccurate */\n          iVar4 = *(int *)(*param_2 + iVar4);\n        }\n        iVar4 = iVar4 + (int)param_2;\n      }\n      cVar3 = (**(code **)(**(int **)(this + iVar5 * 8 + 8) + 0x18))\n                        (*(int **)(this + iVar5 * 8 + 8),param_1,iVar4,&local_2c);\n      if (cVar3 != '\0') {\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(this + iVar5 * 8 + 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar4 = *(int *)(param_3 + 0xc);\n        if (iVar4 == 0) {\n          *(int *)param_3 = local_2c;\n          *(uint *)(param_3 + 8) = local_24;\n          *(uint *)(param_3 + 4) = local_28;\n          *(int *)(param_3 + 0xc) = local_20;\n          if ((int)local_28 < 4) {\n            return cVar3;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar3;\n            }\n            bVar2 = (byte)this[8] & 2;\n          }\n          else {\n            bVar2 = (byte)this[8] & 1;\n          }\n          if (bVar2 == 0) {\n            return cVar3;\n          }\n        }\n        else {\n          if (*(int *)param_3 != local_2c) {\n            *(undefined4 *)param_3 = 0;\n            *(undefined4 *)(param_3 + 4) = 2;\n            return cVar3;\n          }\n          if (*(int *)param_3 == 0) {\n            if ((local_20 == 8) || (iVar4 == 8)) {\nLAB_001c8683:\n              *(undefined4 *)(param_3 + 4) = 2;\n              return cVar3;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar4 + 4)) &&\n               ((*__s1 == '*' || (iVar4 = strcmp(__s1,*(char **)(iVar4 + 4)), iVar4 != 0))))\n            goto LAB_001c8683;\n          }\n          *(uint *)(param_3 + 4) = *(uint *)(param_3 + 4) | local_28;\n        }\n      }\n    }\n    iVar5 = iVar5 + -1;\n  }" { (if_statement "if (iVar5 == 0) {\n      return *(int *)(param_3 + 4) != 0;\n    }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n      return *(int *)(param_3 + 4) != 0;\n    }" { (return_statement "return *(int *)(param_3 + 4) != 0;" return (binary_expression "*(int *)(param_3 + 4) != 0" (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) != number_literal) ;) })) (expression_statement "uVar1 = *(uint *)(this + iVar5 * 8 + 0xc);" (assignment_expression "uVar1 = *(uint *)(this + iVar5 * 8 + 0xc)" identifier = (pointer_expression "*(uint *)(this + iVar5 * 8 + 0xc)" * (cast_expression "(uint *)(this + iVar5 * 8 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + iVar5 * 8 + 0xc)" ( (binary_expression "this + iVar5 * 8 + 0xc" (binary_expression "this + iVar5 * 8" identifier + (binary_expression "iVar5 * 8" identifier * number_literal)) + number_literal) ))))) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "local_24 = local_40;" (assignment_expression "local_24 = local_40" identifier = identifier) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (if_statement "if ((local_40 & 1) != 0 || (uVar1 & 2) != 0) {\n      iVar4 = 0;\n      if (param_2 != (void *)0x0) {\n        iVar4 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n                    /* WARNING: Load size is inaccurate */\n          iVar4 = *(int *)(*param_2 + iVar4);\n        }\n        iVar4 = iVar4 + (int)param_2;\n      }\n      cVar3 = (**(code **)(**(int **)(this + iVar5 * 8 + 8) + 0x18))\n                        (*(int **)(this + iVar5 * 8 + 8),param_1,iVar4,&local_2c);\n      if (cVar3 != '\0') {\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(this + iVar5 * 8 + 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar4 = *(int *)(param_3 + 0xc);\n        if (iVar4 == 0) {\n          *(int *)param_3 = local_2c;\n          *(uint *)(param_3 + 8) = local_24;\n          *(uint *)(param_3 + 4) = local_28;\n          *(int *)(param_3 + 0xc) = local_20;\n          if ((int)local_28 < 4) {\n            return cVar3;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar3;\n            }\n            bVar2 = (byte)this[8] & 2;\n          }\n          else {\n            bVar2 = (byte)this[8] & 1;\n          }\n          if (bVar2 == 0) {\n            return cVar3;\n          }\n        }\n        else {\n          if (*(int *)param_3 != local_2c) {\n            *(undefined4 *)param_3 = 0;\n            *(undefined4 *)(param_3 + 4) = 2;\n            return cVar3;\n          }\n          if (*(int *)param_3 == 0) {\n            if ((local_20 == 8) || (iVar4 == 8)) {\nLAB_001c8683:\n              *(undefined4 *)(param_3 + 4) = 2;\n              return cVar3;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar4 + 4)) &&\n               ((*__s1 == '*' || (iVar4 = strcmp(__s1,*(char **)(iVar4 + 4)), iVar4 != 0))))\n            goto LAB_001c8683;\n          }\n          *(uint *)(param_3 + 4) = *(uint *)(param_3 + 4) | local_28;\n        }\n      }\n    }" if (parenthesized_expression "((local_40 & 1) != 0 || (uVar1 & 2) != 0)" ( (binary_expression "(local_40 & 1) != 0 || (uVar1 & 2) != 0" (binary_expression "(local_40 & 1) != 0" (parenthesized_expression "(local_40 & 1)" ( (binary_expression "local_40 & 1" identifier & number_literal) )) != number_literal) || (binary_expression "(uVar1 & 2) != 0" (parenthesized_expression "(uVar1 & 2)" ( (binary_expression "uVar1 & 2" identifier & number_literal) )) != number_literal)) )) (compound_statement "{\n      iVar4 = 0;\n      if (param_2 != (void *)0x0) {\n        iVar4 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n                    /* WARNING: Load size is inaccurate */\n          iVar4 = *(int *)(*param_2 + iVar4);\n        }\n        iVar4 = iVar4 + (int)param_2;\n      }\n      cVar3 = (**(code **)(**(int **)(this + iVar5 * 8 + 8) + 0x18))\n                        (*(int **)(this + iVar5 * 8 + 8),param_1,iVar4,&local_2c);\n      if (cVar3 != '\0') {\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(this + iVar5 * 8 + 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar4 = *(int *)(param_3 + 0xc);\n        if (iVar4 == 0) {\n          *(int *)param_3 = local_2c;\n          *(uint *)(param_3 + 8) = local_24;\n          *(uint *)(param_3 + 4) = local_28;\n          *(int *)(param_3 + 0xc) = local_20;\n          if ((int)local_28 < 4) {\n            return cVar3;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar3;\n            }\n            bVar2 = (byte)this[8] & 2;\n          }\n          else {\n            bVar2 = (byte)this[8] & 1;\n          }\n          if (bVar2 == 0) {\n            return cVar3;\n          }\n        }\n        else {\n          if (*(int *)param_3 != local_2c) {\n            *(undefined4 *)param_3 = 0;\n            *(undefined4 *)(param_3 + 4) = 2;\n            return cVar3;\n          }\n          if (*(int *)param_3 == 0) {\n            if ((local_20 == 8) || (iVar4 == 8)) {\nLAB_001c8683:\n              *(undefined4 *)(param_3 + 4) = 2;\n              return cVar3;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar4 + 4)) &&\n               ((*__s1 == '*' || (iVar4 = strcmp(__s1,*(char **)(iVar4 + 4)), iVar4 != 0))))\n            goto LAB_001c8683;\n          }\n          *(uint *)(param_3 + 4) = *(uint *)(param_3 + 4) | local_28;\n        }\n      }\n    }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (if_statement "if (param_2 != (void *)0x0) {\n        iVar4 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n                    /* WARNING: Load size is inaccurate */\n          iVar4 = *(int *)(*param_2 + iVar4);\n        }\n        iVar4 = iVar4 + (int)param_2;\n      }" if (parenthesized_expression "(param_2 != (void *)0x0)" ( (binary_expression "param_2 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        iVar4 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n                    /* WARNING: Load size is inaccurate */\n          iVar4 = *(int *)(*param_2 + iVar4);\n        }\n        iVar4 = iVar4 + (int)param_2;\n      }" { (expression_statement "iVar4 = (int)uVar1 >> 8;" (assignment_expression "iVar4 = (int)uVar1 >> 8" identifier = (binary_expression "(int)uVar1 >> 8" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (if_statement "if ((uVar1 & 1) != 0) {\n                    /* WARNING: Load size is inaccurate */\n          iVar4 = *(int *)(*param_2 + iVar4);\n        }" if (parenthesized_expression "((uVar1 & 1) != 0)" ( (binary_expression "(uVar1 & 1) != 0" (parenthesized_expression "(uVar1 & 1)" ( (binary_expression "uVar1 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n                    /* WARNING: Load size is inaccurate */\n          iVar4 = *(int *)(*param_2 + iVar4);\n        }" { comment (expression_statement "iVar4 = *(int *)(*param_2 + iVar4);" (assignment_expression "iVar4 = *(int *)(*param_2 + iVar4)" identifier = (pointer_expression "*(int *)(*param_2 + iVar4)" * (cast_expression "(int *)(*param_2 + iVar4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + iVar4)" ( (binary_expression "*param_2 + iVar4" (pointer_expression "*param_2" * identifier) + identifier) ))))) ;) })) (expression_statement "iVar4 = iVar4 + (int)param_2;" (assignment_expression "iVar4 = iVar4 + (int)param_2" identifier = (binary_expression "iVar4 + (int)param_2" identifier + (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier))) ;) })) (expression_statement "cVar3 = (**(code **)(**(int **)(this + iVar5 * 8 + 8) + 0x18))\n                        (*(int **)(this + iVar5 * 8 + 8),param_1,iVar4,&local_2c);" (assignment_expression "cVar3 = (**(code **)(**(int **)(this + iVar5 * 8 + 8) + 0x18))\n                        (*(int **)(this + iVar5 * 8 + 8),param_1,iVar4,&local_2c)" identifier = (call_expression "(**(code **)(**(int **)(this + iVar5 * 8 + 8) + 0x18))\n                        (*(int **)(this + iVar5 * 8 + 8),param_1,iVar4,&local_2c)" (parenthesized_expression "(**(code **)(**(int **)(this + iVar5 * 8 + 8) + 0x18))" ( (pointer_expression "**(code **)(**(int **)(this + iVar5 * 8 + 8) + 0x18)" * (pointer_expression "*(code **)(**(int **)(this + iVar5 * 8 + 8) + 0x18)" * (cast_expression "(code **)(**(int **)(this + iVar5 * 8 + 8) + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(this + iVar5 * 8 + 8) + 0x18)" ( (binary_expression "**(int **)(this + iVar5 * 8 + 8) + 0x18" (pointer_expression "**(int **)(this + iVar5 * 8 + 8)" * (pointer_expression "*(int **)(this + iVar5 * 8 + 8)" * (cast_expression "(int **)(this + iVar5 * 8 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + iVar5 * 8 + 8)" ( (binary_expression "this + iVar5 * 8 + 8" (binary_expression "this + iVar5 * 8" identifier + (binary_expression "iVar5 * 8" identifier * number_literal)) + number_literal) ))))) + number_literal) ))))) )) (argument_list "(*(int **)(this + iVar5 * 8 + 8),param_1,iVar4,&local_2c)" ( (pointer_expression "*(int **)(this + iVar5 * 8 + 8)" * (cast_expression "(int **)(this + iVar5 * 8 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + iVar5 * 8 + 8)" ( (binary_expression "this + iVar5 * 8 + 8" (binary_expression "this + iVar5 * 8" identifier + (binary_expression "iVar5 * 8" identifier * number_literal)) + number_literal) )))) , identifier , identifier , (pointer_expression "&local_2c" & identifier) )))) ;) (if_statement "if (cVar3 != '\0') {\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(this + iVar5 * 8 + 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar4 = *(int *)(param_3 + 0xc);\n        if (iVar4 == 0) {\n          *(int *)param_3 = local_2c;\n          *(uint *)(param_3 + 8) = local_24;\n          *(uint *)(param_3 + 4) = local_28;\n          *(int *)(param_3 + 0xc) = local_20;\n          if ((int)local_28 < 4) {\n            return cVar3;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar3;\n            }\n            bVar2 = (byte)this[8] & 2;\n          }\n          else {\n            bVar2 = (byte)this[8] & 1;\n          }\n          if (bVar2 == 0) {\n            return cVar3;\n          }\n        }\n        else {\n          if (*(int *)param_3 != local_2c) {\n            *(undefined4 *)param_3 = 0;\n            *(undefined4 *)(param_3 + 4) = 2;\n            return cVar3;\n          }\n          if (*(int *)param_3 == 0) {\n            if ((local_20 == 8) || (iVar4 == 8)) {\nLAB_001c8683:\n              *(undefined4 *)(param_3 + 4) = 2;\n              return cVar3;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar4 + 4)) &&\n               ((*__s1 == '*' || (iVar4 = strcmp(__s1,*(char **)(iVar4 + 4)), iVar4 != 0))))\n            goto LAB_001c8683;\n          }\n          *(uint *)(param_3 + 4) = *(uint *)(param_3 + 4) | local_28;\n        }\n      }" if (parenthesized_expression "(cVar3 != '\0')" ( (binary_expression "cVar3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(this + iVar5 * 8 + 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar4 = *(int *)(param_3 + 0xc);\n        if (iVar4 == 0) {\n          *(int *)param_3 = local_2c;\n          *(uint *)(param_3 + 8) = local_24;\n          *(uint *)(param_3 + 4) = local_28;\n          *(int *)(param_3 + 0xc) = local_20;\n          if ((int)local_28 < 4) {\n            return cVar3;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar3;\n            }\n            bVar2 = (byte)this[8] & 2;\n          }\n          else {\n            bVar2 = (byte)this[8] & 1;\n          }\n          if (bVar2 == 0) {\n            return cVar3;\n          }\n        }\n        else {\n          if (*(int *)param_3 != local_2c) {\n            *(undefined4 *)param_3 = 0;\n            *(undefined4 *)(param_3 + 4) = 2;\n            return cVar3;\n          }\n          if (*(int *)param_3 == 0) {\n            if ((local_20 == 8) || (iVar4 == 8)) {\nLAB_001c8683:\n              *(undefined4 *)(param_3 + 4) = 2;\n              return cVar3;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar4 + 4)) &&\n               ((*__s1 == '*' || (iVar4 = strcmp(__s1,*(char **)(iVar4 + 4)), iVar4 != 0))))\n            goto LAB_001c8683;\n          }\n          *(uint *)(param_3 + 4) = *(uint *)(param_3 + 4) | local_28;\n        }\n      }" { (if_statement "if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(this + iVar5 * 8 + 8);\n        }" if (parenthesized_expression "((local_20 == 8) && ((uVar1 & 1) != 0))" ( (binary_expression "(local_20 == 8) && ((uVar1 & 1) != 0)" (parenthesized_expression "(local_20 == 8)" ( (binary_expression "local_20 == 8" identifier == number_literal) )) && (parenthesized_expression "((uVar1 & 1) != 0)" ( (binary_expression "(uVar1 & 1) != 0" (parenthesized_expression "(uVar1 & 1)" ( (binary_expression "uVar1 & 1" identifier & number_literal) )) != number_literal) ))) )) (compound_statement "{\n          local_20 = *(int *)(this + iVar5 * 8 + 8);\n        }" { (expression_statement "local_20 = *(int *)(this + iVar5 * 8 + 8);" (assignment_expression "local_20 = *(int *)(this + iVar5 * 8 + 8)" identifier = (pointer_expression "*(int *)(this + iVar5 * 8 + 8)" * (cast_expression "(int *)(this + iVar5 * 8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + iVar5 * 8 + 8)" ( (binary_expression "this + iVar5 * 8 + 8" (binary_expression "this + iVar5 * 8" identifier + (binary_expression "iVar5 * 8" identifier * number_literal)) + number_literal) ))))) ;) })) (if_statement "if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }" if (parenthesized_expression "((3 < (int)local_28) && ((uVar1 & 2) == 0))" ( (binary_expression "(3 < (int)local_28) && ((uVar1 & 2) == 0)" (parenthesized_expression "(3 < (int)local_28)" ( (binary_expression "3 < (int)local_28" number_literal < (cast_expression "(int)local_28" ( (type_descriptor "int" primitive_type) ) identifier)) )) && (parenthesized_expression "((uVar1 & 2) == 0)" ( (binary_expression "(uVar1 & 2) == 0" (parenthesized_expression "(uVar1 & 2)" ( (binary_expression "uVar1 & 2" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n          local_28 = local_28 & 0xfffffffd;\n        }" { (expression_statement "local_28 = local_28 & 0xfffffffd;" (assignment_expression "local_28 = local_28 & 0xfffffffd" identifier = (binary_expression "local_28 & 0xfffffffd" identifier & number_literal)) ;) })) (expression_statement "iVar4 = *(int *)(param_3 + 0xc);" (assignment_expression "iVar4 = *(int *)(param_3 + 0xc)" identifier = (pointer_expression "*(int *)(param_3 + 0xc)" * (cast_expression "(int *)(param_3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (iVar4 == 0) {\n          *(int *)param_3 = local_2c;\n          *(uint *)(param_3 + 8) = local_24;\n          *(uint *)(param_3 + 4) = local_28;\n          *(int *)(param_3 + 0xc) = local_20;\n          if ((int)local_28 < 4) {\n            return cVar3;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar3;\n            }\n            bVar2 = (byte)this[8] & 2;\n          }\n          else {\n            bVar2 = (byte)this[8] & 1;\n          }\n          if (bVar2 == 0) {\n            return cVar3;\n          }\n        }\n        else {\n          if (*(int *)param_3 != local_2c) {\n            *(undefined4 *)param_3 = 0;\n            *(undefined4 *)(param_3 + 4) = 2;\n            return cVar3;\n          }\n          if (*(int *)param_3 == 0) {\n            if ((local_20 == 8) || (iVar4 == 8)) {\nLAB_001c8683:\n              *(undefined4 *)(param_3 + 4) = 2;\n              return cVar3;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar4 + 4)) &&\n               ((*__s1 == '*' || (iVar4 = strcmp(__s1,*(char **)(iVar4 + 4)), iVar4 != 0))))\n            goto LAB_001c8683;\n          }\n          *(uint *)(param_3 + 4) = *(uint *)(param_3 + 4) | local_28;\n        }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n          *(int *)param_3 = local_2c;\n          *(uint *)(param_3 + 8) = local_24;\n          *(uint *)(param_3 + 4) = local_28;\n          *(int *)(param_3 + 0xc) = local_20;\n          if ((int)local_28 < 4) {\n            return cVar3;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar3;\n            }\n            bVar2 = (byte)this[8] & 2;\n          }\n          else {\n            bVar2 = (byte)this[8] & 1;\n          }\n          if (bVar2 == 0) {\n            return cVar3;\n          }\n        }" { (expression_statement "*(int *)param_3 = local_2c;" (assignment_expression "*(int *)param_3 = local_2c" (pointer_expression "*(int *)param_3" * (cast_expression "(int *)param_3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(uint *)(param_3 + 8) = local_24;" (assignment_expression "*(uint *)(param_3 + 8) = local_24" (pointer_expression "*(uint *)(param_3 + 8)" * (cast_expression "(uint *)(param_3 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(param_3 + 4) = local_28;" (assignment_expression "*(uint *)(param_3 + 4) = local_28" (pointer_expression "*(uint *)(param_3 + 4)" * (cast_expression "(uint *)(param_3 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(param_3 + 0xc) = local_20;" (assignment_expression "*(int *)(param_3 + 0xc) = local_20" (pointer_expression "*(int *)(param_3 + 0xc)" * (cast_expression "(int *)(param_3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) )))) = identifier) ;) (if_statement "if ((int)local_28 < 4) {\n            return cVar3;\n          }" if (parenthesized_expression "((int)local_28 < 4)" ( (binary_expression "(int)local_28 < 4" (cast_expression "(int)local_28" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n            return cVar3;\n          }" { (return_statement "return cVar3;" return identifier ;) })) (if_statement "if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar3;\n            }\n            bVar2 = (byte)this[8] & 2;\n          }\n          else {\n            bVar2 = (byte)this[8] & 1;\n          }" if (parenthesized_expression "((local_28 & 2) == 0)" ( (binary_expression "(local_28 & 2) == 0" (parenthesized_expression "(local_28 & 2)" ( (binary_expression "local_28 & 2" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n            if ((local_28 & 1) == 0) {\n              return cVar3;\n            }\n            bVar2 = (byte)this[8] & 2;\n          }" { (if_statement "if ((local_28 & 1) == 0) {\n              return cVar3;\n            }" if (parenthesized_expression "((local_28 & 1) == 0)" ( (binary_expression "(local_28 & 1) == 0" (parenthesized_expression "(local_28 & 1)" ( (binary_expression "local_28 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n              return cVar3;\n            }" { (return_statement "return cVar3;" return identifier ;) })) (expression_statement "bVar2 = (byte)this[8] & 2;" (assignment_expression "bVar2 = (byte)this[8] & 2" identifier = (binary_expression "(byte)this[8] & 2" (cast_expression "(byte)this[8]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "this[8]" identifier [ number_literal ])) & number_literal)) ;) }) (else_clause "else {\n            bVar2 = (byte)this[8] & 1;\n          }" else (compound_statement "{\n            bVar2 = (byte)this[8] & 1;\n          }" { (expression_statement "bVar2 = (byte)this[8] & 1;" (assignment_expression "bVar2 = (byte)this[8] & 1" identifier = (binary_expression "(byte)this[8] & 1" (cast_expression "(byte)this[8]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "this[8]" identifier [ number_literal ])) & number_literal)) ;) }))) (if_statement "if (bVar2 == 0) {\n            return cVar3;\n          }" if (parenthesized_expression "(bVar2 == 0)" ( (binary_expression "bVar2 == 0" identifier == number_literal) )) (compound_statement "{\n            return cVar3;\n          }" { (return_statement "return cVar3;" return identifier ;) })) }) (else_clause "else {\n          if (*(int *)param_3 != local_2c) {\n            *(undefined4 *)param_3 = 0;\n            *(undefined4 *)(param_3 + 4) = 2;\n            return cVar3;\n          }\n          if (*(int *)param_3 == 0) {\n            if ((local_20 == 8) || (iVar4 == 8)) {\nLAB_001c8683:\n              *(undefined4 *)(param_3 + 4) = 2;\n              return cVar3;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar4 + 4)) &&\n               ((*__s1 == '*' || (iVar4 = strcmp(__s1,*(char **)(iVar4 + 4)), iVar4 != 0))))\n            goto LAB_001c8683;\n          }\n          *(uint *)(param_3 + 4) = *(uint *)(param_3 + 4) | local_28;\n        }" else (compound_statement "{\n          if (*(int *)param_3 != local_2c) {\n            *(undefined4 *)param_3 = 0;\n            *(undefined4 *)(param_3 + 4) = 2;\n            return cVar3;\n          }\n          if (*(int *)param_3 == 0) {\n            if ((local_20 == 8) || (iVar4 == 8)) {\nLAB_001c8683:\n              *(undefined4 *)(param_3 + 4) = 2;\n              return cVar3;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar4 + 4)) &&\n               ((*__s1 == '*' || (iVar4 = strcmp(__s1,*(char **)(iVar4 + 4)), iVar4 != 0))))\n            goto LAB_001c8683;\n          }\n          *(uint *)(param_3 + 4) = *(uint *)(param_3 + 4) | local_28;\n        }" { (if_statement "if (*(int *)param_3 != local_2c) {\n            *(undefined4 *)param_3 = 0;\n            *(undefined4 *)(param_3 + 4) = 2;\n            return cVar3;\n          }" if (parenthesized_expression "(*(int *)param_3 != local_2c)" ( (binary_expression "*(int *)param_3 != local_2c" (pointer_expression "*(int *)param_3" * (cast_expression "(int *)param_3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != identifier) )) (compound_statement "{\n            *(undefined4 *)param_3 = 0;\n            *(undefined4 *)(param_3 + 4) = 2;\n            return cVar3;\n          }" { (expression_statement "*(undefined4 *)param_3 = 0;" (assignment_expression "*(undefined4 *)param_3 = 0" (pointer_expression "*(undefined4 *)param_3" * (cast_expression "(undefined4 *)param_3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "*(undefined4 *)(param_3 + 4) = 2;" (assignment_expression "*(undefined4 *)(param_3 + 4) = 2" (pointer_expression "*(undefined4 *)(param_3 + 4)" * (cast_expression "(undefined4 *)(param_3 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) = number_literal) ;) (return_statement "return cVar3;" return identifier ;) })) (if_statement "if (*(int *)param_3 == 0) {\n            if ((local_20 == 8) || (iVar4 == 8)) {\nLAB_001c8683:\n              *(undefined4 *)(param_3 + 4) = 2;\n              return cVar3;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar4 + 4)) &&\n               ((*__s1 == '*' || (iVar4 = strcmp(__s1,*(char **)(iVar4 + 4)), iVar4 != 0))))\n            goto LAB_001c8683;\n          }" if (parenthesized_expression "(*(int *)param_3 == 0)" ( (binary_expression "*(int *)param_3 == 0" (pointer_expression "*(int *)param_3" * (cast_expression "(int *)param_3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n            if ((local_20 == 8) || (iVar4 == 8)) {\nLAB_001c8683:\n              *(undefined4 *)(param_3 + 4) = 2;\n              return cVar3;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar4 + 4)) &&\n               ((*__s1 == '*' || (iVar4 = strcmp(__s1,*(char **)(iVar4 + 4)), iVar4 != 0))))\n            goto LAB_001c8683;\n          }" { (if_statement "if ((local_20 == 8) || (iVar4 == 8)) {\nLAB_001c8683:\n              *(undefined4 *)(param_3 + 4) = 2;\n              return cVar3;\n            }" if (parenthesized_expression "((local_20 == 8) || (iVar4 == 8))" ( (binary_expression "(local_20 == 8) || (iVar4 == 8)" (parenthesized_expression "(local_20 == 8)" ( (binary_expression "local_20 == 8" identifier == number_literal) )) || (parenthesized_expression "(iVar4 == 8)" ( (binary_expression "iVar4 == 8" identifier == number_literal) ))) )) (compound_statement "{\nLAB_001c8683:\n              *(undefined4 *)(param_3 + 4) = 2;\n              return cVar3;\n            }" { (labeled_statement "LAB_001c8683:\n              *(undefined4 *)(param_3 + 4) = 2;" statement_identifier : (expression_statement "*(undefined4 *)(param_3 + 4) = 2;" (assignment_expression "*(undefined4 *)(param_3 + 4) = 2" (pointer_expression "*(undefined4 *)(param_3 + 4)" * (cast_expression "(undefined4 *)(param_3 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) = number_literal) ;)) (return_statement "return cVar3;" return identifier ;) })) (expression_statement "__s1 = *(char **)(local_20 + 4);" (assignment_expression "__s1 = *(char **)(local_20 + 4)" identifier = (pointer_expression "*(char **)(local_20 + 4)" * (cast_expression "(char **)(local_20 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_20 + 4)" ( (binary_expression "local_20 + 4" identifier + number_literal) ))))) ;) (if_statement "if ((__s1 != *(char **)(iVar4 + 4)) &&\n               ((*__s1 == '*' || (iVar4 = strcmp(__s1,*(char **)(iVar4 + 4)), iVar4 != 0))))\n            goto LAB_001c8683;" if (parenthesized_expression "((__s1 != *(char **)(iVar4 + 4)) &&\n               ((*__s1 == '*' || (iVar4 = strcmp(__s1,*(char **)(iVar4 + 4)), iVar4 != 0))))" ( (binary_expression "(__s1 != *(char **)(iVar4 + 4)) &&\n               ((*__s1 == '*' || (iVar4 = strcmp(__s1,*(char **)(iVar4 + 4)), iVar4 != 0)))" (parenthesized_expression "(__s1 != *(char **)(iVar4 + 4))" ( (binary_expression "__s1 != *(char **)(iVar4 + 4)" identifier != (pointer_expression "*(char **)(iVar4 + 4)" * (cast_expression "(char **)(iVar4 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) ))))) )) && (parenthesized_expression "((*__s1 == '*' || (iVar4 = strcmp(__s1,*(char **)(iVar4 + 4)), iVar4 != 0)))" ( (parenthesized_expression "(*__s1 == '*' || (iVar4 = strcmp(__s1,*(char **)(iVar4 + 4)), iVar4 != 0))" ( (binary_expression "*__s1 == '*' || (iVar4 = strcmp(__s1,*(char **)(iVar4 + 4)), iVar4 != 0)" (binary_expression "*__s1 == '*'" (pointer_expression "*__s1" * identifier) == (char_literal "'*'" ' character ')) || (parenthesized_expression "(iVar4 = strcmp(__s1,*(char **)(iVar4 + 4)), iVar4 != 0)" ( (comma_expression "iVar4 = strcmp(__s1,*(char **)(iVar4 + 4)), iVar4 != 0" (assignment_expression "iVar4 = strcmp(__s1,*(char **)(iVar4 + 4))" identifier = (call_expression "strcmp(__s1,*(char **)(iVar4 + 4))" identifier (argument_list "(__s1,*(char **)(iVar4 + 4))" ( identifier , (pointer_expression "*(char **)(iVar4 + 4)" * (cast_expression "(char **)(iVar4 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) )))) )))) , (binary_expression "iVar4 != 0" identifier != number_literal)) ))) )) ))) )) (goto_statement "goto LAB_001c8683;" goto statement_identifier ;)) })) (expression_statement "*(uint *)(param_3 + 4) = *(uint *)(param_3 + 4) | local_28;" (assignment_expression "*(uint *)(param_3 + 4) = *(uint *)(param_3 + 4) | local_28" (pointer_expression "*(uint *)(param_3 + 4)" * (cast_expression "(uint *)(param_3 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) = (binary_expression "*(uint *)(param_3 + 4) | local_28" (pointer_expression "*(uint *)(param_3 + 4)" * (cast_expression "(uint *)(param_3 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) | identifier)) ;) }))) })) })) (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "char FUN_001c84c0(int param_1,undefined4 param_2,int *param_3,int *param_4)\n\n{\n  uint uVar1;\n  int *piVar2;\n  char *__s1;\n  byte bVar3;\n  char cVar4;\n  int iVar5;\n  int iVar6;\n  uint local_40;\n  int local_2c;\n  uint local_28;\n  uint local_24;\n  int local_20;\n  \n  cVar4 = FUN_00180970(param_1,param_2,param_3,param_4);\n  if (cVar4 != '\0') {\n    return cVar4;\n  }\n  local_40 = param_4[2];\n  if ((local_40 & 0x10) != 0) {\n    local_40 = *(uint *)(param_1 + 8);\n  }\n  iVar6 = *(int *)(param_1 + 0xc);\n  do {\n    if (iVar6 == 0) {\n      return param_4[1] != 0;\n    }\n    uVar1 = *(uint *)(param_1 + 0xc + iVar6 * 8);\n    local_2c = 0;\n    local_28 = 0;\n    local_24 = local_40;\n    local_20 = 0;\n    if ((local_40 & 1) != 0 || (uVar1 & 2) != 0) {\n      iVar5 = 0;\n      if (param_3 != (int *)0x0) {\n        iVar5 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n          iVar5 = *(int *)(*param_3 + iVar5);\n        }\n        iVar5 = iVar5 + (int)param_3;\n      }\n      piVar2 = *(int **)(param_1 + 8 + iVar6 * 8);\n      cVar4 = (**(code **)(*piVar2 + 0x18))(piVar2,param_2,iVar5,&local_2c);\n      if (cVar4 != '\0') {\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(param_1 + 8 + iVar6 * 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar5 = param_4[3];\n        if (iVar5 == 0) {\n          *param_4 = local_2c;\n          param_4[2] = local_24;\n          param_4[1] = local_28;\n          param_4[3] = local_20;\n          if ((int)local_28 < 4) {\n            return cVar4;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }\n          if (bVar3 == 0) {\n            return cVar4;\n          }\n        }\n        else {\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }\n      }\n    }\n    iVar6 = iVar6 + -1;\n  } while( true );\n}\n\n" (function_definition "char FUN_001c84c0(int param_1,undefined4 param_2,int *param_3,int *param_4)\n\n{\n  uint uVar1;\n  int *piVar2;\n  char *__s1;\n  byte bVar3;\n  char cVar4;\n  int iVar5;\n  int iVar6;\n  uint local_40;\n  int local_2c;\n  uint local_28;\n  uint local_24;\n  int local_20;\n  \n  cVar4 = FUN_00180970(param_1,param_2,param_3,param_4);\n  if (cVar4 != '\0') {\n    return cVar4;\n  }\n  local_40 = param_4[2];\n  if ((local_40 & 0x10) != 0) {\n    local_40 = *(uint *)(param_1 + 8);\n  }\n  iVar6 = *(int *)(param_1 + 0xc);\n  do {\n    if (iVar6 == 0) {\n      return param_4[1] != 0;\n    }\n    uVar1 = *(uint *)(param_1 + 0xc + iVar6 * 8);\n    local_2c = 0;\n    local_28 = 0;\n    local_24 = local_40;\n    local_20 = 0;\n    if ((local_40 & 1) != 0 || (uVar1 & 2) != 0) {\n      iVar5 = 0;\n      if (param_3 != (int *)0x0) {\n        iVar5 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n          iVar5 = *(int *)(*param_3 + iVar5);\n        }\n        iVar5 = iVar5 + (int)param_3;\n      }\n      piVar2 = *(int **)(param_1 + 8 + iVar6 * 8);\n      cVar4 = (**(code **)(*piVar2 + 0x18))(piVar2,param_2,iVar5,&local_2c);\n      if (cVar4 != '\0') {\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(param_1 + 8 + iVar6 * 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar5 = param_4[3];\n        if (iVar5 == 0) {\n          *param_4 = local_2c;\n          param_4[2] = local_24;\n          param_4[1] = local_28;\n          param_4[3] = local_20;\n          if ((int)local_28 < 4) {\n            return cVar4;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }\n          if (bVar3 == 0) {\n            return cVar4;\n          }\n        }\n        else {\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }\n      }\n    }\n    iVar6 = iVar6 + -1;\n  } while( true );\n}" primitive_type (function_declarator "FUN_001c84c0(int param_1,undefined4 param_2,int *param_3,int *param_4)" identifier (parameter_list "(int param_1,undefined4 param_2,int *param_3,int *param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int *piVar2;\n  char *__s1;\n  byte bVar3;\n  char cVar4;\n  int iVar5;\n  int iVar6;\n  uint local_40;\n  int local_2c;\n  uint local_28;\n  uint local_24;\n  int local_20;\n  \n  cVar4 = FUN_00180970(param_1,param_2,param_3,param_4);\n  if (cVar4 != '\0') {\n    return cVar4;\n  }\n  local_40 = param_4[2];\n  if ((local_40 & 0x10) != 0) {\n    local_40 = *(uint *)(param_1 + 8);\n  }\n  iVar6 = *(int *)(param_1 + 0xc);\n  do {\n    if (iVar6 == 0) {\n      return param_4[1] != 0;\n    }\n    uVar1 = *(uint *)(param_1 + 0xc + iVar6 * 8);\n    local_2c = 0;\n    local_28 = 0;\n    local_24 = local_40;\n    local_20 = 0;\n    if ((local_40 & 1) != 0 || (uVar1 & 2) != 0) {\n      iVar5 = 0;\n      if (param_3 != (int *)0x0) {\n        iVar5 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n          iVar5 = *(int *)(*param_3 + iVar5);\n        }\n        iVar5 = iVar5 + (int)param_3;\n      }\n      piVar2 = *(int **)(param_1 + 8 + iVar6 * 8);\n      cVar4 = (**(code **)(*piVar2 + 0x18))(piVar2,param_2,iVar5,&local_2c);\n      if (cVar4 != '\0') {\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(param_1 + 8 + iVar6 * 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar5 = param_4[3];\n        if (iVar5 == 0) {\n          *param_4 = local_2c;\n          param_4[2] = local_24;\n          param_4[1] = local_28;\n          param_4[3] = local_20;\n          if ((int)local_28 < 4) {\n            return cVar4;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }\n          if (bVar3 == 0) {\n            return cVar4;\n          }\n        }\n        else {\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }\n      }\n    }\n    iVar6 = iVar6 + -1;\n  } while( true );\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "char cVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint local_40;" type_identifier identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "uint local_28;" type_identifier identifier ;) (declaration "uint local_24;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "cVar4 = FUN_00180970(param_1,param_2,param_3,param_4);" (assignment_expression "cVar4 = FUN_00180970(param_1,param_2,param_3,param_4)" identifier = (call_expression "FUN_00180970(param_1,param_2,param_3,param_4)" identifier (argument_list "(param_1,param_2,param_3,param_4)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (cVar4 != '\0') {\n    return cVar4;\n  }" if (parenthesized_expression "(cVar4 != '\0')" ( (binary_expression "cVar4 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return cVar4;\n  }" { (return_statement "return cVar4;" return identifier ;) })) (expression_statement "local_40 = param_4[2];" (assignment_expression "local_40 = param_4[2]" identifier = (subscript_expression "param_4[2]" identifier [ number_literal ])) ;) (if_statement "if ((local_40 & 0x10) != 0) {\n    local_40 = *(uint *)(param_1 + 8);\n  }" if (parenthesized_expression "((local_40 & 0x10) != 0)" ( (binary_expression "(local_40 & 0x10) != 0" (parenthesized_expression "(local_40 & 0x10)" ( (binary_expression "local_40 & 0x10" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    local_40 = *(uint *)(param_1 + 8);\n  }" { (expression_statement "local_40 = *(uint *)(param_1 + 8);" (assignment_expression "local_40 = *(uint *)(param_1 + 8)" identifier = (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) })) (expression_statement "iVar6 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar6 = *(int *)(param_1 + 0xc)" identifier = (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (do_statement "do {\n    if (iVar6 == 0) {\n      return param_4[1] != 0;\n    }\n    uVar1 = *(uint *)(param_1 + 0xc + iVar6 * 8);\n    local_2c = 0;\n    local_28 = 0;\n    local_24 = local_40;\n    local_20 = 0;\n    if ((local_40 & 1) != 0 || (uVar1 & 2) != 0) {\n      iVar5 = 0;\n      if (param_3 != (int *)0x0) {\n        iVar5 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n          iVar5 = *(int *)(*param_3 + iVar5);\n        }\n        iVar5 = iVar5 + (int)param_3;\n      }\n      piVar2 = *(int **)(param_1 + 8 + iVar6 * 8);\n      cVar4 = (**(code **)(*piVar2 + 0x18))(piVar2,param_2,iVar5,&local_2c);\n      if (cVar4 != '\0') {\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(param_1 + 8 + iVar6 * 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar5 = param_4[3];\n        if (iVar5 == 0) {\n          *param_4 = local_2c;\n          param_4[2] = local_24;\n          param_4[1] = local_28;\n          param_4[3] = local_20;\n          if ((int)local_28 < 4) {\n            return cVar4;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }\n          if (bVar3 == 0) {\n            return cVar4;\n          }\n        }\n        else {\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }\n      }\n    }\n    iVar6 = iVar6 + -1;\n  } while( true );" do (compound_statement "{\n    if (iVar6 == 0) {\n      return param_4[1] != 0;\n    }\n    uVar1 = *(uint *)(param_1 + 0xc + iVar6 * 8);\n    local_2c = 0;\n    local_28 = 0;\n    local_24 = local_40;\n    local_20 = 0;\n    if ((local_40 & 1) != 0 || (uVar1 & 2) != 0) {\n      iVar5 = 0;\n      if (param_3 != (int *)0x0) {\n        iVar5 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n          iVar5 = *(int *)(*param_3 + iVar5);\n        }\n        iVar5 = iVar5 + (int)param_3;\n      }\n      piVar2 = *(int **)(param_1 + 8 + iVar6 * 8);\n      cVar4 = (**(code **)(*piVar2 + 0x18))(piVar2,param_2,iVar5,&local_2c);\n      if (cVar4 != '\0') {\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(param_1 + 8 + iVar6 * 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar5 = param_4[3];\n        if (iVar5 == 0) {\n          *param_4 = local_2c;\n          param_4[2] = local_24;\n          param_4[1] = local_28;\n          param_4[3] = local_20;\n          if ((int)local_28 < 4) {\n            return cVar4;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }\n          if (bVar3 == 0) {\n            return cVar4;\n          }\n        }\n        else {\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }\n      }\n    }\n    iVar6 = iVar6 + -1;\n  }" { (if_statement "if (iVar6 == 0) {\n      return param_4[1] != 0;\n    }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n      return param_4[1] != 0;\n    }" { (return_statement "return param_4[1] != 0;" return (binary_expression "param_4[1] != 0" (subscript_expression "param_4[1]" identifier [ number_literal ]) != number_literal) ;) })) (expression_statement "uVar1 = *(uint *)(param_1 + 0xc + iVar6 * 8);" (assignment_expression "uVar1 = *(uint *)(param_1 + 0xc + iVar6 * 8)" identifier = (pointer_expression "*(uint *)(param_1 + 0xc + iVar6 * 8)" * (cast_expression "(uint *)(param_1 + 0xc + iVar6 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc + iVar6 * 8)" ( (binary_expression "param_1 + 0xc + iVar6 * 8" (binary_expression "param_1 + 0xc" identifier + number_literal) + (binary_expression "iVar6 * 8" identifier * number_literal)) ))))) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "local_24 = local_40;" (assignment_expression "local_24 = local_40" identifier = identifier) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (if_statement "if ((local_40 & 1) != 0 || (uVar1 & 2) != 0) {\n      iVar5 = 0;\n      if (param_3 != (int *)0x0) {\n        iVar5 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n          iVar5 = *(int *)(*param_3 + iVar5);\n        }\n        iVar5 = iVar5 + (int)param_3;\n      }\n      piVar2 = *(int **)(param_1 + 8 + iVar6 * 8);\n      cVar4 = (**(code **)(*piVar2 + 0x18))(piVar2,param_2,iVar5,&local_2c);\n      if (cVar4 != '\0') {\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(param_1 + 8 + iVar6 * 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar5 = param_4[3];\n        if (iVar5 == 0) {\n          *param_4 = local_2c;\n          param_4[2] = local_24;\n          param_4[1] = local_28;\n          param_4[3] = local_20;\n          if ((int)local_28 < 4) {\n            return cVar4;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }\n          if (bVar3 == 0) {\n            return cVar4;\n          }\n        }\n        else {\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }\n      }\n    }" if (parenthesized_expression "((local_40 & 1) != 0 || (uVar1 & 2) != 0)" ( (binary_expression "(local_40 & 1) != 0 || (uVar1 & 2) != 0" (binary_expression "(local_40 & 1) != 0" (parenthesized_expression "(local_40 & 1)" ( (binary_expression "local_40 & 1" identifier & number_literal) )) != number_literal) || (binary_expression "(uVar1 & 2) != 0" (parenthesized_expression "(uVar1 & 2)" ( (binary_expression "uVar1 & 2" identifier & number_literal) )) != number_literal)) )) (compound_statement "{\n      iVar5 = 0;\n      if (param_3 != (int *)0x0) {\n        iVar5 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n          iVar5 = *(int *)(*param_3 + iVar5);\n        }\n        iVar5 = iVar5 + (int)param_3;\n      }\n      piVar2 = *(int **)(param_1 + 8 + iVar6 * 8);\n      cVar4 = (**(code **)(*piVar2 + 0x18))(piVar2,param_2,iVar5,&local_2c);\n      if (cVar4 != '\0') {\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(param_1 + 8 + iVar6 * 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar5 = param_4[3];\n        if (iVar5 == 0) {\n          *param_4 = local_2c;\n          param_4[2] = local_24;\n          param_4[1] = local_28;\n          param_4[3] = local_20;\n          if ((int)local_28 < 4) {\n            return cVar4;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }\n          if (bVar3 == 0) {\n            return cVar4;\n          }\n        }\n        else {\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }\n      }\n    }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (if_statement "if (param_3 != (int *)0x0) {\n        iVar5 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n          iVar5 = *(int *)(*param_3 + iVar5);\n        }\n        iVar5 = iVar5 + (int)param_3;\n      }" if (parenthesized_expression "(param_3 != (int *)0x0)" ( (binary_expression "param_3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        iVar5 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n          iVar5 = *(int *)(*param_3 + iVar5);\n        }\n        iVar5 = iVar5 + (int)param_3;\n      }" { (expression_statement "iVar5 = (int)uVar1 >> 8;" (assignment_expression "iVar5 = (int)uVar1 >> 8" identifier = (binary_expression "(int)uVar1 >> 8" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (if_statement "if ((uVar1 & 1) != 0) {\n          iVar5 = *(int *)(*param_3 + iVar5);\n        }" if (parenthesized_expression "((uVar1 & 1) != 0)" ( (binary_expression "(uVar1 & 1) != 0" (parenthesized_expression "(uVar1 & 1)" ( (binary_expression "uVar1 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n          iVar5 = *(int *)(*param_3 + iVar5);\n        }" { (expression_statement "iVar5 = *(int *)(*param_3 + iVar5);" (assignment_expression "iVar5 = *(int *)(*param_3 + iVar5)" identifier = (pointer_expression "*(int *)(*param_3 + iVar5)" * (cast_expression "(int *)(*param_3 + iVar5)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + iVar5)" ( (binary_expression "*param_3 + iVar5" (pointer_expression "*param_3" * identifier) + identifier) ))))) ;) })) (expression_statement "iVar5 = iVar5 + (int)param_3;" (assignment_expression "iVar5 = iVar5 + (int)param_3" identifier = (binary_expression "iVar5 + (int)param_3" identifier + (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier))) ;) })) (expression_statement "piVar2 = *(int **)(param_1 + 8 + iVar6 * 8);" (assignment_expression "piVar2 = *(int **)(param_1 + 8 + iVar6 * 8)" identifier = (pointer_expression "*(int **)(param_1 + 8 + iVar6 * 8)" * (cast_expression "(int **)(param_1 + 8 + iVar6 * 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8 + iVar6 * 8)" ( (binary_expression "param_1 + 8 + iVar6 * 8" (binary_expression "param_1 + 8" identifier + number_literal) + (binary_expression "iVar6 * 8" identifier * number_literal)) ))))) ;) (expression_statement "cVar4 = (**(code **)(*piVar2 + 0x18))(piVar2,param_2,iVar5,&local_2c);" (assignment_expression "cVar4 = (**(code **)(*piVar2 + 0x18))(piVar2,param_2,iVar5,&local_2c)" identifier = (call_expression "(**(code **)(*piVar2 + 0x18))(piVar2,param_2,iVar5,&local_2c)" (parenthesized_expression "(**(code **)(*piVar2 + 0x18))" ( (pointer_expression "**(code **)(*piVar2 + 0x18)" * (pointer_expression "*(code **)(*piVar2 + 0x18)" * (cast_expression "(code **)(*piVar2 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0x18)" ( (binary_expression "*piVar2 + 0x18" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) )) (argument_list "(piVar2,param_2,iVar5,&local_2c)" ( identifier , identifier , identifier , (pointer_expression "&local_2c" & identifier) )))) ;) (if_statement "if (cVar4 != '\0') {\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(param_1 + 8 + iVar6 * 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar5 = param_4[3];\n        if (iVar5 == 0) {\n          *param_4 = local_2c;\n          param_4[2] = local_24;\n          param_4[1] = local_28;\n          param_4[3] = local_20;\n          if ((int)local_28 < 4) {\n            return cVar4;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }\n          if (bVar3 == 0) {\n            return cVar4;\n          }\n        }\n        else {\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }\n      }" if (parenthesized_expression "(cVar4 != '\0')" ( (binary_expression "cVar4 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(param_1 + 8 + iVar6 * 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar5 = param_4[3];\n        if (iVar5 == 0) {\n          *param_4 = local_2c;\n          param_4[2] = local_24;\n          param_4[1] = local_28;\n          param_4[3] = local_20;\n          if ((int)local_28 < 4) {\n            return cVar4;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }\n          if (bVar3 == 0) {\n            return cVar4;\n          }\n        }\n        else {\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }\n      }" { (if_statement "if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(param_1 + 8 + iVar6 * 8);\n        }" if (parenthesized_expression "((local_20 == 8) && ((uVar1 & 1) != 0))" ( (binary_expression "(local_20 == 8) && ((uVar1 & 1) != 0)" (parenthesized_expression "(local_20 == 8)" ( (binary_expression "local_20 == 8" identifier == number_literal) )) && (parenthesized_expression "((uVar1 & 1) != 0)" ( (binary_expression "(uVar1 & 1) != 0" (parenthesized_expression "(uVar1 & 1)" ( (binary_expression "uVar1 & 1" identifier & number_literal) )) != number_literal) ))) )) (compound_statement "{\n          local_20 = *(int *)(param_1 + 8 + iVar6 * 8);\n        }" { (expression_statement "local_20 = *(int *)(param_1 + 8 + iVar6 * 8);" (assignment_expression "local_20 = *(int *)(param_1 + 8 + iVar6 * 8)" identifier = (pointer_expression "*(int *)(param_1 + 8 + iVar6 * 8)" * (cast_expression "(int *)(param_1 + 8 + iVar6 * 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8 + iVar6 * 8)" ( (binary_expression "param_1 + 8 + iVar6 * 8" (binary_expression "param_1 + 8" identifier + number_literal) + (binary_expression "iVar6 * 8" identifier * number_literal)) ))))) ;) })) (if_statement "if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }" if (parenthesized_expression "((3 < (int)local_28) && ((uVar1 & 2) == 0))" ( (binary_expression "(3 < (int)local_28) && ((uVar1 & 2) == 0)" (parenthesized_expression "(3 < (int)local_28)" ( (binary_expression "3 < (int)local_28" number_literal < (cast_expression "(int)local_28" ( (type_descriptor "int" primitive_type) ) identifier)) )) && (parenthesized_expression "((uVar1 & 2) == 0)" ( (binary_expression "(uVar1 & 2) == 0" (parenthesized_expression "(uVar1 & 2)" ( (binary_expression "uVar1 & 2" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n          local_28 = local_28 & 0xfffffffd;\n        }" { (expression_statement "local_28 = local_28 & 0xfffffffd;" (assignment_expression "local_28 = local_28 & 0xfffffffd" identifier = (binary_expression "local_28 & 0xfffffffd" identifier & number_literal)) ;) })) (expression_statement "iVar5 = param_4[3];" (assignment_expression "iVar5 = param_4[3]" identifier = (subscript_expression "param_4[3]" identifier [ number_literal ])) ;) (if_statement "if (iVar5 == 0) {\n          *param_4 = local_2c;\n          param_4[2] = local_24;\n          param_4[1] = local_28;\n          param_4[3] = local_20;\n          if ((int)local_28 < 4) {\n            return cVar4;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }\n          if (bVar3 == 0) {\n            return cVar4;\n          }\n        }\n        else {\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n          *param_4 = local_2c;\n          param_4[2] = local_24;\n          param_4[1] = local_28;\n          param_4[3] = local_20;\n          if ((int)local_28 < 4) {\n            return cVar4;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }\n          if (bVar3 == 0) {\n            return cVar4;\n          }\n        }" { (expression_statement "*param_4 = local_2c;" (assignment_expression "*param_4 = local_2c" (pointer_expression "*param_4" * identifier) = identifier) ;) (expression_statement "param_4[2] = local_24;" (assignment_expression "param_4[2] = local_24" (subscript_expression "param_4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_4[1] = local_28;" (assignment_expression "param_4[1] = local_28" (subscript_expression "param_4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_4[3] = local_20;" (assignment_expression "param_4[3] = local_20" (subscript_expression "param_4[3]" identifier [ number_literal ]) = identifier) ;) (if_statement "if ((int)local_28 < 4) {\n            return cVar4;\n          }" if (parenthesized_expression "((int)local_28 < 4)" ( (binary_expression "(int)local_28 < 4" (cast_expression "(int)local_28" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n            return cVar4;\n          }" { (return_statement "return cVar4;" return identifier ;) })) (if_statement "if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }" if (parenthesized_expression "((local_28 & 2) == 0)" ( (binary_expression "(local_28 & 2) == 0" (parenthesized_expression "(local_28 & 2)" ( (binary_expression "local_28 & 2" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }" { (if_statement "if ((local_28 & 1) == 0) {\n              return cVar4;\n            }" if (parenthesized_expression "((local_28 & 1) == 0)" ( (binary_expression "(local_28 & 1) == 0" (parenthesized_expression "(local_28 & 1)" ( (binary_expression "local_28 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n              return cVar4;\n            }" { (return_statement "return cVar4;" return identifier ;) })) (expression_statement "bVar3 = *(byte *)(param_1 + 8) & 2;" (assignment_expression "bVar3 = *(byte *)(param_1 + 8) & 2" identifier = (binary_expression "*(byte *)(param_1 + 8) & 2" (pointer_expression "*(byte *)(param_1 + 8)" * (cast_expression "(byte *)(param_1 + 8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) & number_literal)) ;) }) (else_clause "else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }" else (compound_statement "{\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }" { (expression_statement "bVar3 = *(byte *)(param_1 + 8) & 1;" (assignment_expression "bVar3 = *(byte *)(param_1 + 8) & 1" identifier = (binary_expression "*(byte *)(param_1 + 8) & 1" (pointer_expression "*(byte *)(param_1 + 8)" * (cast_expression "(byte *)(param_1 + 8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) & number_literal)) ;) }))) (if_statement "if (bVar3 == 0) {\n            return cVar4;\n          }" if (parenthesized_expression "(bVar3 == 0)" ( (binary_expression "bVar3 == 0" identifier == number_literal) )) (compound_statement "{\n            return cVar4;\n          }" { (return_statement "return cVar4;" return identifier ;) })) }) (else_clause "else {\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }" else (compound_statement "{\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }" { (if_statement "if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }" if (parenthesized_expression "(*param_4 != local_2c)" ( (binary_expression "*param_4 != local_2c" (pointer_expression "*param_4" * identifier) != identifier) )) (compound_statement "{\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }" { (expression_statement "*param_4 = 0;" (assignment_expression "*param_4 = 0" (pointer_expression "*param_4" * identifier) = number_literal) ;) (expression_statement "param_4[1] = 2;" (assignment_expression "param_4[1] = 2" (subscript_expression "param_4[1]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return cVar4;" return identifier ;) })) (if_statement "if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }" if (parenthesized_expression "(*param_4 == 0)" ( (binary_expression "*param_4 == 0" (pointer_expression "*param_4" * identifier) == number_literal) )) (compound_statement "{\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }" { (if_statement "if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }" if (parenthesized_expression "((local_20 == 8) || (iVar5 == 8))" ( (binary_expression "(local_20 == 8) || (iVar5 == 8)" (parenthesized_expression "(local_20 == 8)" ( (binary_expression "local_20 == 8" identifier == number_literal) )) || (parenthesized_expression "(iVar5 == 8)" ( (binary_expression "iVar5 == 8" identifier == number_literal) ))) )) (compound_statement "{\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }" { (labeled_statement "LAB_001c8683:\n              param_4[1] = 2;" statement_identifier : (expression_statement "param_4[1] = 2;" (assignment_expression "param_4[1] = 2" (subscript_expression "param_4[1]" identifier [ number_literal ]) = number_literal) ;)) (return_statement "return cVar4;" return identifier ;) })) (expression_statement "__s1 = *(char **)(local_20 + 4);" (assignment_expression "__s1 = *(char **)(local_20 + 4)" identifier = (pointer_expression "*(char **)(local_20 + 4)" * (cast_expression "(char **)(local_20 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_20 + 4)" ( (binary_expression "local_20 + 4" identifier + number_literal) ))))) ;) (if_statement "if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;" if (parenthesized_expression "((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))" ( (binary_expression "(__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0)))" (parenthesized_expression "(__s1 != *(char **)(iVar5 + 4))" ( (binary_expression "__s1 != *(char **)(iVar5 + 4)" identifier != (pointer_expression "*(char **)(iVar5 + 4)" * (cast_expression "(char **)(iVar5 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 4)" ( (binary_expression "iVar5 + 4" identifier + number_literal) ))))) )) && (parenthesized_expression "((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0)))" ( (parenthesized_expression "(*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))" ( (binary_expression "*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0)" (binary_expression "*__s1 == '*'" (pointer_expression "*__s1" * identifier) == (char_literal "'*'" ' character ')) || (parenthesized_expression "(iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0)" ( (comma_expression "iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0" (assignment_expression "iVar5 = strcmp(__s1,*(char **)(iVar5 + 4))" identifier = (call_expression "strcmp(__s1,*(char **)(iVar5 + 4))" identifier (argument_list "(__s1,*(char **)(iVar5 + 4))" ( identifier , (pointer_expression "*(char **)(iVar5 + 4)" * (cast_expression "(char **)(iVar5 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 4)" ( (binary_expression "iVar5 + 4" identifier + number_literal) )))) )))) , (binary_expression "iVar5 != 0" identifier != number_literal)) ))) )) ))) )) (goto_statement "goto LAB_001c8683;" goto statement_identifier ;)) })) (expression_statement "param_4[1] = param_4[1] | local_28;" (assignment_expression "param_4[1] = param_4[1] | local_28" (subscript_expression "param_4[1]" identifier [ number_literal ]) = (binary_expression "param_4[1] | local_28" (subscript_expression "param_4[1]" identifier [ number_literal ]) | identifier)) ;) }))) })) })) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != 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) ))))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) || (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT)) )) (compound_statement { (expression_statement (assignment_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 = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + IDENT) ))))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) ))))) ;) (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 , IDENT , IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT)) ;) }) (else_clause else (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) )))) & LIT)) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return IDENT ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;)) (return_statement return IDENT ;) })) (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 (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) , (binary_expression IDENT != LIT)) ))) )) ))) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) | IDENT)) ;) }))) })) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "char FUN_001c84c0(int param_1,undefined4 param_2,int *param_3,int *param_4)\n\n{\n  uint uVar1;\n  int *piVar2;\n  char *__s1;\n  byte bVar3;\n  char cVar4;\n  int iVar5;\n  int iVar6;\n  uint local_40;\n  int local_2c;\n  uint local_28;\n  uint local_24;\n  int local_20;\n  \n  cVar4 = FUN_00180970(param_1,param_2,param_3,param_4);\n  if (cVar4 != '\0') {\n    return cVar4;\n  }\n  local_40 = param_4[2];\n  if ((local_40 & 0x10) != 0) {\n    local_40 = *(uint *)(param_1 + 8);\n  }\n  iVar6 = *(int *)(param_1 + 0xc);\n  do {\n    if (iVar6 == 0) {\n      return param_4[1] != 0;\n    }\n    uVar1 = *(uint *)(param_1 + 0xc + iVar6 * 8);\n    local_2c = 0;\n    local_28 = 0;\n    local_24 = local_40;\n    local_20 = 0;\n    if ((local_40 & 1) != 0 || (uVar1 & 2) != 0) {\n      iVar5 = 0;\n      if (param_3 != (int *)0x0) {\n        iVar5 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n          iVar5 = *(int *)(*param_3 + iVar5);\n        }\n        iVar5 = iVar5 + (int)param_3;\n      }\n      piVar2 = *(int **)(param_1 + 8 + iVar6 * 8);\n      cVar4 = (**(code **)(*piVar2 + 0x18))(piVar2,param_2,iVar5,&local_2c);\n      if (cVar4 != '\0') {\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(param_1 + 8 + iVar6 * 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar5 = param_4[3];\n        if (iVar5 == 0) {\n          *param_4 = local_2c;\n          param_4[2] = local_24;\n          param_4[1] = local_28;\n          param_4[3] = local_20;\n          if ((int)local_28 < 4) {\n            return cVar4;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }\n          if (bVar3 == 0) {\n            return cVar4;\n          }\n        }\n        else {\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }\n      }\n    }\n    iVar6 = iVar6 + -1;\n  } while( true );\n}" (primitive_type "char") (function_declarator "FUN_001c84c0(int param_1,undefined4 param_2,int *param_3,int *param_4)" (identifier "FUN_001c84c0") (parameter_list "(int param_1,undefined4 param_2,int *param_3,int *param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "int *param_4" (primitive_type "int") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  int *piVar2;\n  char *__s1;\n  byte bVar3;\n  char cVar4;\n  int iVar5;\n  int iVar6;\n  uint local_40;\n  int local_2c;\n  uint local_28;\n  uint local_24;\n  int local_20;\n  \n  cVar4 = FUN_00180970(param_1,param_2,param_3,param_4);\n  if (cVar4 != '\0') {\n    return cVar4;\n  }\n  local_40 = param_4[2];\n  if ((local_40 & 0x10) != 0) {\n    local_40 = *(uint *)(param_1 + 8);\n  }\n  iVar6 = *(int *)(param_1 + 0xc);\n  do {\n    if (iVar6 == 0) {\n      return param_4[1] != 0;\n    }\n    uVar1 = *(uint *)(param_1 + 0xc + iVar6 * 8);\n    local_2c = 0;\n    local_28 = 0;\n    local_24 = local_40;\n    local_20 = 0;\n    if ((local_40 & 1) != 0 || (uVar1 & 2) != 0) {\n      iVar5 = 0;\n      if (param_3 != (int *)0x0) {\n        iVar5 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n          iVar5 = *(int *)(*param_3 + iVar5);\n        }\n        iVar5 = iVar5 + (int)param_3;\n      }\n      piVar2 = *(int **)(param_1 + 8 + iVar6 * 8);\n      cVar4 = (**(code **)(*piVar2 + 0x18))(piVar2,param_2,iVar5,&local_2c);\n      if (cVar4 != '\0') {\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(param_1 + 8 + iVar6 * 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar5 = param_4[3];\n        if (iVar5 == 0) {\n          *param_4 = local_2c;\n          param_4[2] = local_24;\n          param_4[1] = local_28;\n          param_4[3] = local_20;\n          if ((int)local_28 < 4) {\n            return cVar4;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }\n          if (bVar3 == 0) {\n            return cVar4;\n          }\n        }\n        else {\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }\n      }\n    }\n    iVar6 = iVar6 + -1;\n  } while( true );\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "char *__s1;" (primitive_type "char") (pointer_declarator "*__s1" (* "*") (identifier "__s1")) (; ";")) (declaration "byte bVar3;" (type_identifier "byte") (identifier "bVar3") (; ";")) (declaration "char cVar4;" (primitive_type "char") (identifier "cVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "uint local_40;" (type_identifier "uint") (identifier "local_40") (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (declaration "uint local_28;" (type_identifier "uint") (identifier "local_28") (; ";")) (declaration "uint local_24;" (type_identifier "uint") (identifier "local_24") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (expression_statement "cVar4 = FUN_00180970(param_1,param_2,param_3,param_4);" (assignment_expression "cVar4 = FUN_00180970(param_1,param_2,param_3,param_4)" (identifier "cVar4") (= "=") (call_expression "FUN_00180970(param_1,param_2,param_3,param_4)" (identifier "FUN_00180970") (argument_list "(param_1,param_2,param_3,param_4)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") () ")")))) (; ";")) (if_statement "if (cVar4 != '\0') {\n    return cVar4;\n  }" (if "if") (parenthesized_expression "(cVar4 != '\0')" (( "(") (binary_expression "cVar4 != '\0'" (identifier "cVar4") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    return cVar4;\n  }" ({ "{") (return_statement "return cVar4;" (return "return") (identifier "cVar4") (; ";")) (} "}"))) (expression_statement "local_40 = param_4[2];" (assignment_expression "local_40 = param_4[2]" (identifier "local_40") (= "=") (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]"))) (; ";")) (if_statement "if ((local_40 & 0x10) != 0) {\n    local_40 = *(uint *)(param_1 + 8);\n  }" (if "if") (parenthesized_expression "((local_40 & 0x10) != 0)" (( "(") (binary_expression "(local_40 & 0x10) != 0" (parenthesized_expression "(local_40 & 0x10)" (( "(") (binary_expression "local_40 & 0x10" (identifier "local_40") (& "&") (number_literal "0x10")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    local_40 = *(uint *)(param_1 + 8);\n  }" ({ "{") (expression_statement "local_40 = *(uint *)(param_1 + 8);" (assignment_expression "local_40 = *(uint *)(param_1 + 8)" (identifier "local_40") (= "=") (pointer_expression "*(uint *)(param_1 + 8)" (* "*") (cast_expression "(uint *)(param_1 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (} "}"))) (expression_statement "iVar6 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar6 = *(int *)(param_1 + 0xc)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (do_statement "do {\n    if (iVar6 == 0) {\n      return param_4[1] != 0;\n    }\n    uVar1 = *(uint *)(param_1 + 0xc + iVar6 * 8);\n    local_2c = 0;\n    local_28 = 0;\n    local_24 = local_40;\n    local_20 = 0;\n    if ((local_40 & 1) != 0 || (uVar1 & 2) != 0) {\n      iVar5 = 0;\n      if (param_3 != (int *)0x0) {\n        iVar5 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n          iVar5 = *(int *)(*param_3 + iVar5);\n        }\n        iVar5 = iVar5 + (int)param_3;\n      }\n      piVar2 = *(int **)(param_1 + 8 + iVar6 * 8);\n      cVar4 = (**(code **)(*piVar2 + 0x18))(piVar2,param_2,iVar5,&local_2c);\n      if (cVar4 != '\0') {\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(param_1 + 8 + iVar6 * 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar5 = param_4[3];\n        if (iVar5 == 0) {\n          *param_4 = local_2c;\n          param_4[2] = local_24;\n          param_4[1] = local_28;\n          param_4[3] = local_20;\n          if ((int)local_28 < 4) {\n            return cVar4;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }\n          if (bVar3 == 0) {\n            return cVar4;\n          }\n        }\n        else {\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }\n      }\n    }\n    iVar6 = iVar6 + -1;\n  } while( true );" (do "do") (compound_statement "{\n    if (iVar6 == 0) {\n      return param_4[1] != 0;\n    }\n    uVar1 = *(uint *)(param_1 + 0xc + iVar6 * 8);\n    local_2c = 0;\n    local_28 = 0;\n    local_24 = local_40;\n    local_20 = 0;\n    if ((local_40 & 1) != 0 || (uVar1 & 2) != 0) {\n      iVar5 = 0;\n      if (param_3 != (int *)0x0) {\n        iVar5 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n          iVar5 = *(int *)(*param_3 + iVar5);\n        }\n        iVar5 = iVar5 + (int)param_3;\n      }\n      piVar2 = *(int **)(param_1 + 8 + iVar6 * 8);\n      cVar4 = (**(code **)(*piVar2 + 0x18))(piVar2,param_2,iVar5,&local_2c);\n      if (cVar4 != '\0') {\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(param_1 + 8 + iVar6 * 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar5 = param_4[3];\n        if (iVar5 == 0) {\n          *param_4 = local_2c;\n          param_4[2] = local_24;\n          param_4[1] = local_28;\n          param_4[3] = local_20;\n          if ((int)local_28 < 4) {\n            return cVar4;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }\n          if (bVar3 == 0) {\n            return cVar4;\n          }\n        }\n        else {\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }\n      }\n    }\n    iVar6 = iVar6 + -1;\n  }" ({ "{") (if_statement "if (iVar6 == 0) {\n      return param_4[1] != 0;\n    }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return param_4[1] != 0;\n    }" ({ "{") (return_statement "return param_4[1] != 0;" (return "return") (binary_expression "param_4[1] != 0" (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "uVar1 = *(uint *)(param_1 + 0xc + iVar6 * 8);" (assignment_expression "uVar1 = *(uint *)(param_1 + 0xc + iVar6 * 8)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(param_1 + 0xc + iVar6 * 8)" (* "*") (cast_expression "(uint *)(param_1 + 0xc + iVar6 * 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc + iVar6 * 8)" (( "(") (binary_expression "param_1 + 0xc + iVar6 * 8" (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) (+ "+") (binary_expression "iVar6 * 8" (identifier "iVar6") (* "*") (number_literal "8"))) () ")"))))) (; ";")) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" (identifier "local_2c") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" (identifier "local_28") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_24 = local_40;" (assignment_expression "local_24 = local_40" (identifier "local_24") (= "=") (identifier "local_40")) (; ";")) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" (identifier "local_20") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((local_40 & 1) != 0 || (uVar1 & 2) != 0) {\n      iVar5 = 0;\n      if (param_3 != (int *)0x0) {\n        iVar5 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n          iVar5 = *(int *)(*param_3 + iVar5);\n        }\n        iVar5 = iVar5 + (int)param_3;\n      }\n      piVar2 = *(int **)(param_1 + 8 + iVar6 * 8);\n      cVar4 = (**(code **)(*piVar2 + 0x18))(piVar2,param_2,iVar5,&local_2c);\n      if (cVar4 != '\0') {\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(param_1 + 8 + iVar6 * 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar5 = param_4[3];\n        if (iVar5 == 0) {\n          *param_4 = local_2c;\n          param_4[2] = local_24;\n          param_4[1] = local_28;\n          param_4[3] = local_20;\n          if ((int)local_28 < 4) {\n            return cVar4;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }\n          if (bVar3 == 0) {\n            return cVar4;\n          }\n        }\n        else {\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }\n      }\n    }" (if "if") (parenthesized_expression "((local_40 & 1) != 0 || (uVar1 & 2) != 0)" (( "(") (binary_expression "(local_40 & 1) != 0 || (uVar1 & 2) != 0" (binary_expression "(local_40 & 1) != 0" (parenthesized_expression "(local_40 & 1)" (( "(") (binary_expression "local_40 & 1" (identifier "local_40") (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) (|| "||") (binary_expression "(uVar1 & 2) != 0" (parenthesized_expression "(uVar1 & 2)" (( "(") (binary_expression "uVar1 & 2" (identifier "uVar1") (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n      iVar5 = 0;\n      if (param_3 != (int *)0x0) {\n        iVar5 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n          iVar5 = *(int *)(*param_3 + iVar5);\n        }\n        iVar5 = iVar5 + (int)param_3;\n      }\n      piVar2 = *(int **)(param_1 + 8 + iVar6 * 8);\n      cVar4 = (**(code **)(*piVar2 + 0x18))(piVar2,param_2,iVar5,&local_2c);\n      if (cVar4 != '\0') {\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(param_1 + 8 + iVar6 * 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar5 = param_4[3];\n        if (iVar5 == 0) {\n          *param_4 = local_2c;\n          param_4[2] = local_24;\n          param_4[1] = local_28;\n          param_4[3] = local_20;\n          if ((int)local_28 < 4) {\n            return cVar4;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }\n          if (bVar3 == 0) {\n            return cVar4;\n          }\n        }\n        else {\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }\n      }\n    }" ({ "{") (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_3 != (int *)0x0) {\n        iVar5 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n          iVar5 = *(int *)(*param_3 + iVar5);\n        }\n        iVar5 = iVar5 + (int)param_3;\n      }" (if "if") (parenthesized_expression "(param_3 != (int *)0x0)" (( "(") (binary_expression "param_3 != (int *)0x0" (identifier "param_3") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        iVar5 = (int)uVar1 >> 8;\n        if ((uVar1 & 1) != 0) {\n          iVar5 = *(int *)(*param_3 + iVar5);\n        }\n        iVar5 = iVar5 + (int)param_3;\n      }" ({ "{") (expression_statement "iVar5 = (int)uVar1 >> 8;" (assignment_expression "iVar5 = (int)uVar1 >> 8" (identifier "iVar5") (= "=") (binary_expression "(int)uVar1 >> 8" (cast_expression "(int)uVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar1")) (>> ">>") (number_literal "8"))) (; ";")) (if_statement "if ((uVar1 & 1) != 0) {\n          iVar5 = *(int *)(*param_3 + iVar5);\n        }" (if "if") (parenthesized_expression "((uVar1 & 1) != 0)" (( "(") (binary_expression "(uVar1 & 1) != 0" (parenthesized_expression "(uVar1 & 1)" (( "(") (binary_expression "uVar1 & 1" (identifier "uVar1") (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          iVar5 = *(int *)(*param_3 + iVar5);\n        }" ({ "{") (expression_statement "iVar5 = *(int *)(*param_3 + iVar5);" (assignment_expression "iVar5 = *(int *)(*param_3 + iVar5)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(*param_3 + iVar5)" (* "*") (cast_expression "(int *)(*param_3 + iVar5)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_3 + iVar5)" (( "(") (binary_expression "*param_3 + iVar5" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (identifier "iVar5")) () ")"))))) (; ";")) (} "}"))) (expression_statement "iVar5 = iVar5 + (int)param_3;" (assignment_expression "iVar5 = iVar5 + (int)param_3" (identifier "iVar5") (= "=") (binary_expression "iVar5 + (int)param_3" (identifier "iVar5") (+ "+") (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3")))) (; ";")) (} "}"))) (expression_statement "piVar2 = *(int **)(param_1 + 8 + iVar6 * 8);" (assignment_expression "piVar2 = *(int **)(param_1 + 8 + iVar6 * 8)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(param_1 + 8 + iVar6 * 8)" (* "*") (cast_expression "(int **)(param_1 + 8 + iVar6 * 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8 + iVar6 * 8)" (( "(") (binary_expression "param_1 + 8 + iVar6 * 8" (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) (+ "+") (binary_expression "iVar6 * 8" (identifier "iVar6") (* "*") (number_literal "8"))) () ")"))))) (; ";")) (expression_statement "cVar4 = (**(code **)(*piVar2 + 0x18))(piVar2,param_2,iVar5,&local_2c);" (assignment_expression "cVar4 = (**(code **)(*piVar2 + 0x18))(piVar2,param_2,iVar5,&local_2c)" (identifier "cVar4") (= "=") (call_expression "(**(code **)(*piVar2 + 0x18))(piVar2,param_2,iVar5,&local_2c)" (parenthesized_expression "(**(code **)(*piVar2 + 0x18))" (( "(") (pointer_expression "**(code **)(*piVar2 + 0x18)" (* "*") (pointer_expression "*(code **)(*piVar2 + 0x18)" (* "*") (cast_expression "(code **)(*piVar2 + 0x18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar2 + 0x18)" (( "(") (binary_expression "*piVar2 + 0x18" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (argument_list "(piVar2,param_2,iVar5,&local_2c)" (( "(") (identifier "piVar2") (, ",") (identifier "param_2") (, ",") (identifier "iVar5") (, ",") (pointer_expression "&local_2c" (& "&") (identifier "local_2c")) () ")")))) (; ";")) (if_statement "if (cVar4 != '\0') {\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(param_1 + 8 + iVar6 * 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar5 = param_4[3];\n        if (iVar5 == 0) {\n          *param_4 = local_2c;\n          param_4[2] = local_24;\n          param_4[1] = local_28;\n          param_4[3] = local_20;\n          if ((int)local_28 < 4) {\n            return cVar4;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }\n          if (bVar3 == 0) {\n            return cVar4;\n          }\n        }\n        else {\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }\n      }" (if "if") (parenthesized_expression "(cVar4 != '\0')" (( "(") (binary_expression "cVar4 != '\0'" (identifier "cVar4") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(param_1 + 8 + iVar6 * 8);\n        }\n        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }\n        iVar5 = param_4[3];\n        if (iVar5 == 0) {\n          *param_4 = local_2c;\n          param_4[2] = local_24;\n          param_4[1] = local_28;\n          param_4[3] = local_20;\n          if ((int)local_28 < 4) {\n            return cVar4;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }\n          if (bVar3 == 0) {\n            return cVar4;\n          }\n        }\n        else {\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }\n      }" ({ "{") (if_statement "if ((local_20 == 8) && ((uVar1 & 1) != 0)) {\n          local_20 = *(int *)(param_1 + 8 + iVar6 * 8);\n        }" (if "if") (parenthesized_expression "((local_20 == 8) && ((uVar1 & 1) != 0))" (( "(") (binary_expression "(local_20 == 8) && ((uVar1 & 1) != 0)" (parenthesized_expression "(local_20 == 8)" (( "(") (binary_expression "local_20 == 8" (identifier "local_20") (== "==") (number_literal "8")) () ")")) (&& "&&") (parenthesized_expression "((uVar1 & 1) != 0)" (( "(") (binary_expression "(uVar1 & 1) != 0" (parenthesized_expression "(uVar1 & 1)" (( "(") (binary_expression "uVar1 & 1" (identifier "uVar1") (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n          local_20 = *(int *)(param_1 + 8 + iVar6 * 8);\n        }" ({ "{") (expression_statement "local_20 = *(int *)(param_1 + 8 + iVar6 * 8);" (assignment_expression "local_20 = *(int *)(param_1 + 8 + iVar6 * 8)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(param_1 + 8 + iVar6 * 8)" (* "*") (cast_expression "(int *)(param_1 + 8 + iVar6 * 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8 + iVar6 * 8)" (( "(") (binary_expression "param_1 + 8 + iVar6 * 8" (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) (+ "+") (binary_expression "iVar6 * 8" (identifier "iVar6") (* "*") (number_literal "8"))) () ")"))))) (; ";")) (} "}"))) (if_statement "if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {\n          local_28 = local_28 & 0xfffffffd;\n        }" (if "if") (parenthesized_expression "((3 < (int)local_28) && ((uVar1 & 2) == 0))" (( "(") (binary_expression "(3 < (int)local_28) && ((uVar1 & 2) == 0)" (parenthesized_expression "(3 < (int)local_28)" (( "(") (binary_expression "3 < (int)local_28" (number_literal "3") (< "<") (cast_expression "(int)local_28" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_28"))) () ")")) (&& "&&") (parenthesized_expression "((uVar1 & 2) == 0)" (( "(") (binary_expression "(uVar1 & 2) == 0" (parenthesized_expression "(uVar1 & 2)" (( "(") (binary_expression "uVar1 & 2" (identifier "uVar1") (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n          local_28 = local_28 & 0xfffffffd;\n        }" ({ "{") (expression_statement "local_28 = local_28 & 0xfffffffd;" (assignment_expression "local_28 = local_28 & 0xfffffffd" (identifier "local_28") (= "=") (binary_expression "local_28 & 0xfffffffd" (identifier "local_28") (& "&") (number_literal "0xfffffffd"))) (; ";")) (} "}"))) (expression_statement "iVar5 = param_4[3];" (assignment_expression "iVar5 = param_4[3]" (identifier "iVar5") (= "=") (subscript_expression "param_4[3]" (identifier "param_4") ([ "[") (number_literal "3") (] "]"))) (; ";")) (if_statement "if (iVar5 == 0) {\n          *param_4 = local_2c;\n          param_4[2] = local_24;\n          param_4[1] = local_28;\n          param_4[3] = local_20;\n          if ((int)local_28 < 4) {\n            return cVar4;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }\n          if (bVar3 == 0) {\n            return cVar4;\n          }\n        }\n        else {\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          *param_4 = local_2c;\n          param_4[2] = local_24;\n          param_4[1] = local_28;\n          param_4[3] = local_20;\n          if ((int)local_28 < 4) {\n            return cVar4;\n          }\n          if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }\n          if (bVar3 == 0) {\n            return cVar4;\n          }\n        }" ({ "{") (expression_statement "*param_4 = local_2c;" (assignment_expression "*param_4 = local_2c" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (identifier "local_2c")) (; ";")) (expression_statement "param_4[2] = local_24;" (assignment_expression "param_4[2] = local_24" (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "local_24")) (; ";")) (expression_statement "param_4[1] = local_28;" (assignment_expression "param_4[1] = local_28" (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_28")) (; ";")) (expression_statement "param_4[3] = local_20;" (assignment_expression "param_4[3] = local_20" (subscript_expression "param_4[3]" (identifier "param_4") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "local_20")) (; ";")) (if_statement "if ((int)local_28 < 4) {\n            return cVar4;\n          }" (if "if") (parenthesized_expression "((int)local_28 < 4)" (( "(") (binary_expression "(int)local_28 < 4" (cast_expression "(int)local_28" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_28")) (< "<") (number_literal "4")) () ")")) (compound_statement "{\n            return cVar4;\n          }" ({ "{") (return_statement "return cVar4;" (return "return") (identifier "cVar4") (; ";")) (} "}"))) (if_statement "if ((local_28 & 2) == 0) {\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }\n          else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }" (if "if") (parenthesized_expression "((local_28 & 2) == 0)" (( "(") (binary_expression "(local_28 & 2) == 0" (parenthesized_expression "(local_28 & 2)" (( "(") (binary_expression "local_28 & 2" (identifier "local_28") (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            if ((local_28 & 1) == 0) {\n              return cVar4;\n            }\n            bVar3 = *(byte *)(param_1 + 8) & 2;\n          }" ({ "{") (if_statement "if ((local_28 & 1) == 0) {\n              return cVar4;\n            }" (if "if") (parenthesized_expression "((local_28 & 1) == 0)" (( "(") (binary_expression "(local_28 & 1) == 0" (parenthesized_expression "(local_28 & 1)" (( "(") (binary_expression "local_28 & 1" (identifier "local_28") (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              return cVar4;\n            }" ({ "{") (return_statement "return cVar4;" (return "return") (identifier "cVar4") (; ";")) (} "}"))) (expression_statement "bVar3 = *(byte *)(param_1 + 8) & 2;" (assignment_expression "bVar3 = *(byte *)(param_1 + 8) & 2" (identifier "bVar3") (= "=") (binary_expression "*(byte *)(param_1 + 8) & 2" (pointer_expression "*(byte *)(param_1 + 8)" (* "*") (cast_expression "(byte *)(param_1 + 8)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (& "&") (number_literal "2"))) (; ";")) (} "}")) (else_clause "else {\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }" (else "else") (compound_statement "{\n            bVar3 = *(byte *)(param_1 + 8) & 1;\n          }" ({ "{") (expression_statement "bVar3 = *(byte *)(param_1 + 8) & 1;" (assignment_expression "bVar3 = *(byte *)(param_1 + 8) & 1" (identifier "bVar3") (= "=") (binary_expression "*(byte *)(param_1 + 8) & 1" (pointer_expression "*(byte *)(param_1 + 8)" (* "*") (cast_expression "(byte *)(param_1 + 8)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (& "&") (number_literal "1"))) (; ";")) (} "}")))) (if_statement "if (bVar3 == 0) {\n            return cVar4;\n          }" (if "if") (parenthesized_expression "(bVar3 == 0)" (( "(") (binary_expression "bVar3 == 0" (identifier "bVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            return cVar4;\n          }" ({ "{") (return_statement "return cVar4;" (return "return") (identifier "cVar4") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }" (else "else") (compound_statement "{\n          if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }\n          if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }\n          param_4[1] = param_4[1] | local_28;\n        }" ({ "{") (if_statement "if (*param_4 != local_2c) {\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }" (if "if") (parenthesized_expression "(*param_4 != local_2c)" (( "(") (binary_expression "*param_4 != local_2c" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (!= "!=") (identifier "local_2c")) () ")")) (compound_statement "{\n            *param_4 = 0;\n            param_4[1] = 2;\n            return cVar4;\n          }" ({ "{") (expression_statement "*param_4 = 0;" (assignment_expression "*param_4 = 0" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_4[1] = 2;" (assignment_expression "param_4[1] = 2" (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "2")) (; ";")) (return_statement "return cVar4;" (return "return") (identifier "cVar4") (; ";")) (} "}"))) (if_statement "if (*param_4 == 0) {\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }" (if "if") (parenthesized_expression "(*param_4 == 0)" (( "(") (binary_expression "*param_4 == 0" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }\n            __s1 = *(char **)(local_20 + 4);\n            if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;\n          }" ({ "{") (if_statement "if ((local_20 == 8) || (iVar5 == 8)) {\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }" (if "if") (parenthesized_expression "((local_20 == 8) || (iVar5 == 8))" (( "(") (binary_expression "(local_20 == 8) || (iVar5 == 8)" (parenthesized_expression "(local_20 == 8)" (( "(") (binary_expression "local_20 == 8" (identifier "local_20") (== "==") (number_literal "8")) () ")")) (|| "||") (parenthesized_expression "(iVar5 == 8)" (( "(") (binary_expression "iVar5 == 8" (identifier "iVar5") (== "==") (number_literal "8")) () ")"))) () ")")) (compound_statement "{\nLAB_001c8683:\n              param_4[1] = 2;\n              return cVar4;\n            }" ({ "{") (labeled_statement "LAB_001c8683:\n              param_4[1] = 2;" (statement_identifier "LAB_001c8683") (: ":") (expression_statement "param_4[1] = 2;" (assignment_expression "param_4[1] = 2" (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "2")) (; ";"))) (return_statement "return cVar4;" (return "return") (identifier "cVar4") (; ";")) (} "}"))) (expression_statement "__s1 = *(char **)(local_20 + 4);" (assignment_expression "__s1 = *(char **)(local_20 + 4)" (identifier "__s1") (= "=") (pointer_expression "*(char **)(local_20 + 4)" (* "*") (cast_expression "(char **)(local_20 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(local_20 + 4)" (( "(") (binary_expression "local_20 + 4" (identifier "local_20") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if ((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))\n            goto LAB_001c8683;" (if "if") (parenthesized_expression "((__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))" (( "(") (binary_expression "(__s1 != *(char **)(iVar5 + 4)) &&\n               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0)))" (parenthesized_expression "(__s1 != *(char **)(iVar5 + 4))" (( "(") (binary_expression "__s1 != *(char **)(iVar5 + 4)" (identifier "__s1") (!= "!=") (pointer_expression "*(char **)(iVar5 + 4)" (* "*") (cast_expression "(char **)(iVar5 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar5 + 4)" (( "(") (binary_expression "iVar5 + 4" (identifier "iVar5") (+ "+") (number_literal "4")) () ")"))))) () ")")) (&& "&&") (parenthesized_expression "((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0)))" (( "(") (parenthesized_expression "(*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))" (( "(") (binary_expression "*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0)" (binary_expression "*__s1 == '*'" (pointer_expression "*__s1" (* "*") (identifier "__s1")) (== "==") (char_literal "'*'" (' "'") (character "*") (' "'"))) (|| "||") (parenthesized_expression "(iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0)" (( "(") (comma_expression "iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0" (assignment_expression "iVar5 = strcmp(__s1,*(char **)(iVar5 + 4))" (identifier "iVar5") (= "=") (call_expression "strcmp(__s1,*(char **)(iVar5 + 4))" (identifier "strcmp") (argument_list "(__s1,*(char **)(iVar5 + 4))" (( "(") (identifier "__s1") (, ",") (pointer_expression "*(char **)(iVar5 + 4)" (* "*") (cast_expression "(char **)(iVar5 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar5 + 4)" (( "(") (binary_expression "iVar5 + 4" (identifier "iVar5") (+ "+") (number_literal "4")) () ")")))) () ")")))) (, ",") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0"))) () ")"))) () ")")) () ")"))) () ")")) (goto_statement "goto LAB_001c8683;" (goto "goto") (statement_identifier "LAB_001c8683") (; ";"))) (} "}"))) (expression_statement "param_4[1] = param_4[1] | local_28;" (assignment_expression "param_4[1] = param_4[1] | local_28" (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "param_4[1] | local_28" (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]")) (| "|") (identifier "local_28"))) (; ";")) (} "}")))) (} "}"))) (} "}"))) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* __cxxabiv1::__vmi_class_type_info::__do_upcast(__cxxabiv1::__class_type_info const*, void const*,
   __cxxabiv1::__class_type_info::__upcast_result&) const */

char __thiscall
__cxxabiv1::type_1::function_1
          (type_1 *var_4,type_2 *param_1,void *var_7,
          type_3 *var_2)

{
  type_4 var_6;
  char *var_13;
  type_5 var_11;
  char var_1;
  int var_8;
  int var_5;
  type_4 var_3;
  int var_12;
  type_4 var_10;
  type_4 local_24;
  int var_9;
  
  var_1 = type_2::function_1((type_2 *)var_4,param_1,var_7,var_2);
  if (var_1 != '\0') {
    return var_1;
  }
  var_3 = *(type_4 *)(var_2 + 8);
  if ((var_3 & 0x10) != 0) {
    var_3 = *(type_4 *)(var_4 + 8);
  }
  var_5 = *(int *)(var_4 + 0xc);
  do {
    if (var_5 == 0) {
      return *(int *)(var_2 + 4) != 0;
    }
    var_6 = *(type_4 *)(var_4 + var_5 * 8 + 0xc);
    var_12 = 0;
    var_10 = 0;
    local_24 = var_3;
    var_9 = 0;
    if ((var_3 & 1) != 0 || (var_6 & 2) != 0) {
      var_8 = 0;
      if (var_7 != (void *)0x0) {
        var_8 = (int)var_6 >> 8;
        if ((var_6 & 1) != 0) {
                    /* WARNING: Load size is inaccurate */
          var_8 = *(int *)(*var_7 + var_8);
        }
        var_8 = var_8 + (int)var_7;
      }
      var_1 = (**(type_6 **)(**(int **)(var_4 + var_5 * 8 + 8) + 0x18))
                        (*(int **)(var_4 + var_5 * 8 + 8),param_1,var_8,&var_12);
      if (var_1 != '\0') {
        if ((var_9 == 8) && ((var_6 & 1) != 0)) {
          var_9 = *(int *)(var_4 + var_5 * 8 + 8);
        }
        if ((3 < (int)var_10) && ((var_6 & 2) == 0)) {
          var_10 = var_10 & 0xfffffffd;
        }
        var_8 = *(int *)(var_2 + 0xc);
        if (var_8 == 0) {
          *(int *)var_2 = var_12;
          *(type_4 *)(var_2 + 8) = local_24;
          *(type_4 *)(var_2 + 4) = var_10;
          *(int *)(var_2 + 0xc) = var_9;
          if ((int)var_10 < 4) {
            return var_1;
          }
          if ((var_10 & 2) == 0) {
            if ((var_10 & 1) == 0) {
              return var_1;
            }
            var_11 = (type_5)var_4[8] & 2;
          }
          else {
            var_11 = (type_5)var_4[8] & 1;
          }
          if (var_11 == 0) {
            return var_1;
          }
        }
        else {
          if (*(int *)var_2 != var_12) {
            *(type_7 *)var_2 = 0;
            *(type_7 *)(var_2 + 4) = 2;
            return var_1;
          }
          if (*(int *)var_2 == 0) {
            if ((var_9 == 8) || (var_8 == 8)) {
LAB_001c8683:
              *(type_7 *)(var_2 + 4) = 2;
              return var_1;
            }
            var_13 = *(char **)(var_9 + 4);
            if ((var_13 != *(char **)(var_8 + 4)) &&
               ((*var_13 == '*' || (var_8 = var_14(var_13,*(char **)(var_8 + 4)), var_8 != 0))))
            goto LAB_001c8683;
          }
          *(type_4 *)(var_2 + 4) = *(type_4 *)(var_2 + 4) | var_10;
        }
      }
    }
    var_5 = var_5 + -1;
  } while( true );
}


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

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

char MASKED(int param_1,undefined4 param_2,int *param_3,int *param_4)

{
  uint uVar1;
  int *piVar2;
  char *__s1;
  byte bVar3;
  char cVar4;
  int iVar5;
  int iVar6;
  uint local_40;
  int local_2c;
  uint local_28;
  uint local_24;
  int local_20;
  
  cVar4 = FUN_00180970(param_1,param_2,param_3,param_4);
  if (cVar4 != '\0') {
    return cVar4;
  }
  local_40 = param_4[2];
  if ((local_40 & 0x10) != 0) {
    local_40 = *(uint *)(param_1 + 8);
  }
  iVar6 = *(int *)(param_1 + 0xc);
  do {
    if (iVar6 == 0) {
      return param_4[1] != 0;
    }
    uVar1 = *(uint *)(param_1 + 0xc + iVar6 * 8);
    local_2c = 0;
    local_28 = 0;
    local_24 = local_40;
    local_20 = 0;
    if ((local_40 & 1) != 0 || (uVar1 & 2) != 0) {
      iVar5 = 0;
      if (param_3 != (int *)0x0) {
        iVar5 = (int)uVar1 >> 8;
        if ((uVar1 & 1) != 0) {
          iVar5 = *(int *)(*param_3 + iVar5);
        }
        iVar5 = iVar5 + (int)param_3;
      }
      piVar2 = *(int **)(param_1 + 8 + iVar6 * 8);
      cVar4 = (**(code **)(*piVar2 + 0x18))(piVar2,param_2,iVar5,&local_2c);
      if (cVar4 != '\0') {
        if ((local_20 == 8) && ((uVar1 & 1) != 0)) {
          local_20 = *(int *)(param_1 + 8 + iVar6 * 8);
        }
        if ((3 < (int)local_28) && ((uVar1 & 2) == 0)) {
          local_28 = local_28 & 0xfffffffd;
        }
        iVar5 = param_4[3];
        if (iVar5 == 0) {
          *param_4 = local_2c;
          param_4[2] = local_24;
          param_4[1] = local_28;
          param_4[3] = local_20;
          if ((int)local_28 < 4) {
            return cVar4;
          }
          if ((local_28 & 2) == 0) {
            if ((local_28 & 1) == 0) {
              return cVar4;
            }
            bVar3 = *(byte *)(param_1 + 8) & 2;
          }
          else {
            bVar3 = *(byte *)(param_1 + 8) & 1;
          }
          if (bVar3 == 0) {
            return cVar4;
          }
        }
        else {
          if (*param_4 != local_2c) {
            *param_4 = 0;
            param_4[1] = 2;
            return cVar4;
          }
          if (*param_4 == 0) {
            if ((local_20 == 8) || (iVar5 == 8)) {
LAB_001c8683:
              param_4[1] = 2;
              return cVar4;
            }
            __s1 = *(char **)(local_20 + 4);
            if ((__s1 != *(char **)(iVar5 + 4)) &&
               ((*__s1 == '*' || (iVar5 = strcmp(__s1,*(char **)(iVar5 + 4)), iVar5 != 0))))
            goto LAB_001c8683;
          }
          param_4[1] = param_4[1] | local_28;
        }
      }
    }
    iVar6 = iVar6 + -1;
  } while( true );
}

