
/* __cxxabiv1::__vmi_class_type_info::__do_upcast(__cxxabiv1::__class_type_info const*, void const*,
   __cxxabiv1::__class_type_info::__upcast_result&) const */

uint __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;
  uint uVar2;
  uint uVar3;
  int iVar4;
  __vmi_class_type_info *p_Var5;
  int iVar6;
  int local_40;
  uint local_3c;
  uint local_38;
  int local_34;
  uint local_30;
  
  uVar1 = (*(code *)PTR___do_upcast_004c50a8)();
  if (uVar1 == 0) {
    uVar1 = *(uint *)(param_3 + 8);
    if ((uVar1 & 0x10) != 0) {
      uVar1 = *(uint *)(this + 8);
    }
    iVar6 = *(int *)(this + 0xc);
    p_Var5 = this + iVar6 * 8;
    for (; iVar6 != 0; iVar6 = iVar6 + -1) {
      uVar3 = *(uint *)(p_Var5 + 0xc);
      local_40 = 0;
      local_3c = 0;
      local_34 = 0;
      if ((uVar1 & 1) != 0 || (uVar3 & 2) != 0) {
        if (param_2 == (void *)0x0) {
          iVar4 = 0;
        }
        else {
          iVar4 = (int)uVar3 >> 8;
          if ((uVar3 & 1) != 0) {
                    /* WARNING: Load size is inaccurate */
            iVar4 = *(int *)(*param_2 + iVar4);
          }
          iVar4 = (int)param_2 + iVar4;
        }
        local_38 = uVar1;
        uVar2 = (**(code **)(**(int **)(p_Var5 + 8) + 0x18))
                          (*(int **)(p_Var5 + 8),param_1,iVar4,&local_40);
        if (uVar2 != 0) {
          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {
            local_34 = *(int *)(p_Var5 + 8);
          }
          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {
            local_3c = local_3c & 0xfffffffd;
          }
          iVar4 = *(int *)(param_3 + 0xc);
          if (iVar4 == 0) {
            *(int *)param_3 = local_40;
            *(uint *)(param_3 + 4) = local_3c;
            *(uint *)(param_3 + 8) = local_38;
            *(int *)(param_3 + 0xc) = local_34;
            if ((int)local_3c < 4) {
              return uVar2;
            }
            if ((local_3c & 2) == 0) {
              if ((local_3c & 1) == 0) {
                return uVar2;
              }
              uVar3 = *(uint *)(this + 8) & 2;
            }
            else {
              uVar3 = *(uint *)(this + 8) & 1;
            }
            if (uVar3 == 0) {
              return uVar2;
            }
          }
          else {
            if (*(int *)param_3 != local_40) {
              *(undefined4 *)param_3 = 0;
              *(undefined4 *)(param_3 + 4) = 2;
              return uVar2;
            }
            if ((*(int *)param_3 == 0) &&
               (((local_34 == 8 || (iVar4 == 8)) ||
                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&
                 ((**(char **)(local_34 + 4) == '*' ||
                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,
                  iVar4 != 0)))))))) {
              *(undefined4 *)(param_3 + 4) = 2;
              return uVar2;
            }
            *(uint *)(param_3 + 4) = *(uint *)(param_3 + 4) | local_3c;
          }
        }
      }
      p_Var5 = p_Var5 + -8;
    }
    uVar1 = (uint)(*(int *)(param_3 + 4) != 0);
  }
  return uVar1;
}



uint FUN_0038ca7c(int param_1,undefined4 param_2,int *param_3,int *param_4)

{
  uint uVar1;
  uint uVar2;
  uint uVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  int local_40;
  uint local_3c;
  uint local_38;
  int local_34;
  uint local_30;
  
  uVar1 = (*(code *)PTR___do_upcast_004c50a8)();
  if (uVar1 == 0) {
    uVar1 = param_4[2];
    if ((uVar1 & 0x10) != 0) {
      uVar1 = *(uint *)(param_1 + 8);
    }
    iVar6 = *(int *)(param_1 + 0xc);
    iVar5 = param_1 + iVar6 * 8;
    for (; iVar6 != 0; iVar6 = iVar6 + -1) {
      uVar3 = *(uint *)(iVar5 + 0xc);
      local_40 = 0;
      local_3c = 0;
      local_34 = 0;
      if ((uVar1 & 1) != 0 || (uVar3 & 2) != 0) {
        if (param_3 == (int *)0x0) {
          iVar4 = 0;
        }
        else {
          iVar4 = (int)uVar3 >> 8;
          if ((uVar3 & 1) != 0) {
            iVar4 = *(int *)(*param_3 + iVar4);
          }
          iVar4 = (int)param_3 + iVar4;
        }
        local_38 = uVar1;
        uVar2 = (**(code **)(**(int **)(iVar5 + 8) + 0x18))
                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40);
        if (uVar2 != 0) {
          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {
            local_34 = *(int *)(iVar5 + 8);
          }
          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {
            local_3c = local_3c & 0xfffffffd;
          }
          iVar4 = param_4[3];
          if (iVar4 == 0) {
            *param_4 = local_40;
            param_4[1] = local_3c;
            param_4[2] = local_38;
            param_4[3] = local_34;
            if ((int)local_3c < 4) {
              return uVar2;
            }
            if ((local_3c & 2) == 0) {
              if ((local_3c & 1) == 0) {
                return uVar2;
              }
              uVar3 = *(uint *)(param_1 + 8) & 2;
            }
            else {
              uVar3 = *(uint *)(param_1 + 8) & 1;
            }
            if (uVar3 == 0) {
              return uVar2;
            }
          }
          else {
            if (*param_4 != local_40) {
              *param_4 = 0;
              param_4[1] = 2;
              return uVar2;
            }
            if ((*param_4 == 0) &&
               (((local_34 == 8 || (iVar4 == 8)) ||
                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&
                 ((**(char **)(local_34 + 4) == '*' ||
                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,
                  iVar4 != 0)))))))) {
              param_4[1] = 2;
              return uVar2;
            }
            param_4[1] = param_4[1] | local_3c;
          }
        }
      }
      iVar5 = iVar5 + -8;
    }
    uVar1 = (uint)(param_4[1] != 0);
  }
  return uVar1;
}


lui gp,0x14
addiu gp,gp,-0x383c
addu gp,gp,t9
addiu sp,sp,-0x58
lw t9,-0x4198(gp)
sw s6,0x48(sp)
or s6,a3,zero
sw s4,0x40(sp)
or s4,a2,zero
sw gp,0x10(sp)
sw ra,0x54(sp)
sw s8,0x50(sp)
sw s7,0x4c(sp)
sw s5,0x44(sp)
sw s3,0x3c(sp)
sw s2,0x38(sp)
sw s1,0x34(sp)
sw s0,0x30(sp)
sw a0,0x58(sp)
jalr t9
_sw a1,0x5c(sp)
bne v0,zero,0x0038cbe8
_or a2,v0,zero
lw s0,0x8(s6)
andi v0,s0,0x10
bne v0,zero,0x0038cd20
_lw v0,0x58(sp)
lw v0,0x58(sp)
addiu s5,sp,0x18
andi s1,s0,0x1
lw s8,0xc(v0)
sll s7,s8,0x3
beq s8,zero,0x0038cbe0
_addu s7,v0,s7
lw a2,0xc(s7)
sw zero,0x18(sp)
sw zero,0x1c(sp)
andi s3,a2,0x2
sw s0,0x20(sp)
or v0,s1,s3
sw zero,0x24(sp)
beq v0,zero,0x0038cbd0
_andi s2,a2,0x1
beq s4,zero,0x0038cc1c
_nop
beq s2,zero,0x0038cb44
_sra a2,a2,0x8
lw v0,0x0(s4)
addu a2,v0,a2
lw a2,0x0(a2)
addu a2,s4,a2
lw v0,0x8(s7)
or a3,s5,zero
or a0,v0,zero
lw v0,0x0(v0)
lw t9,0x18(v0)
jalr t9
_lw a1,0x5c(sp)
lw gp,0x10(sp)
beq v0,zero,0x0038cbd0
_or a2,v0,zero
lw v0,0x24(sp)
li v1,0x8
beq v0,v1,0x0038cc24
_nop
lw v0,0x1c(sp)
slti a0,v0,0x4
bne a0,zero,0x0038cba0
_nop
bne s3,zero,0x0038cba0
_li v1,-0x3
and v0,v0,v1
sw v0,0x1c(sp)
lw v0,0xc(s6)
beq v0,zero,0x0038cc38
_lw a0,0x18(sp)
lw v1,0x0(s6)
bne v1,a0,0x0038cd28
_nop
beq v1,zero,0x0038cc84
_lw v1,0x24(sp)
lw v0,0x4(s6)
lw v1,0x1c(sp)
or v0,v0,v1
sw v0,0x4(s6)
addiu s8,s8,-0x1
addiu s7,s7,-0x8
bne s8,zero,0x0038cb04
_nop
lw a2,0x4(s6)
sltu a2,zero,a2
lw ra,0x54(sp)
or v0,a2,zero
lw s8,0x50(sp)
lw s7,0x4c(sp)
lw s6,0x48(sp)
lw s5,0x44(sp)
lw s4,0x40(sp)
lw s3,0x3c(sp)
lw s2,0x38(sp)
lw s1,0x34(sp)
lw s0,0x30(sp)
jr ra
_addiu sp,sp,0x58
b 0x0038cb48
_or a2,zero,zero
beq s2,zero,0x0038cb84
_lw v0,0x1c(sp)
lw v0,0x8(s7)
b 0x0038cb80
_sw v0,0x24(sp)
lw v0,0x1c(sp)
sw a0,0x0(s6)
lw a0,0x20(sp)
slti v1,v0,0x4
sw v0,0x4(s6)
sw a0,0x8(s6)
lw a0,0x24(sp)
bne v1,zero,0x0038cbe8
_sw a0,0xc(s6)
andi v1,v0,0x2
beq v1,zero,0x0038cd00
_andi v0,v0,0x1
lw v0,0x58(sp)
lw v0,0x8(v0)
andi v0,v0,0x1
beq v0,zero,0x0038cbe8
_addiu s8,s8,-0x1
b 0x0038cbd8
_addiu s7,s7,-0x8
li a0,0x8
beq v1,a0,0x0038ccc8
_lw ra,0x54(sp)
beq v0,a0,0x0038ccc8
_nop
lw a0,0x4(v1)
lw a1,0x4(v0)
beq a0,a1,0x0038cbc0
_li v1,0x2a
lb v0,0x0(a0)
beq v0,v1,0x0038ccc8
_lw t9,-0x37d8(gp)
jalr t9
_sw a2,0x28(sp)
beq v0,zero,0x0038cbc0
_lw a2,0x28(sp)
lw ra,0x54(sp)
li v0,0x2
lw s8,0x50(sp)
lw s7,0x4c(sp)
lw s5,0x44(sp)
lw s4,0x40(sp)
lw s3,0x3c(sp)
lw s2,0x38(sp)
lw s1,0x34(sp)
lw s0,0x30(sp)
sw v0,0x4(s6)
or v0,a2,zero
lw s6,0x48(sp)
jr ra
_addiu sp,sp,0x58
beq v0,zero,0x0038cbe8
_lw v0,0x58(sp)
lw v0,0x8(v0)
andi v0,v0,0x2
beq v0,zero,0x0038cbe8
_addiu s8,s8,-0x1
b 0x0038cbd8
_addiu s7,s7,-0x8
b 0x0038cae8
_lw s0,0x8(v0)
li v0,0x2
sw zero,0x0(s6)
b 0x0038cbe8
_sw v0,0x4(s6)
(translation_unit "uint FUN_0038ca7c(int param_1,undefined4 param_2,int *param_3,int *param_4)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int local_40;\n  uint local_3c;\n  uint local_38;\n  int local_34;\n  uint local_30;\n  \n  uVar1 = (*(code *)PTR___do_upcast_004c50a8)();\n  if (uVar1 == 0) {\n    uVar1 = param_4[2];\n    if ((uVar1 & 0x10) != 0) {\n      uVar1 = *(uint *)(param_1 + 8);\n    }\n    iVar6 = *(int *)(param_1 + 0xc);\n    iVar5 = param_1 + iVar6 * 8;\n    for (; iVar6 != 0; iVar6 = iVar6 + -1) {\n      uVar3 = *(uint *)(iVar5 + 0xc);\n      local_40 = 0;\n      local_3c = 0;\n      local_34 = 0;\n      if ((uVar1 & 1) != 0 || (uVar3 & 2) != 0) {\n        if (param_3 == (int *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = param_4[3];\n          if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }\n        }\n      }\n      iVar5 = iVar5 + -8;\n    }\n    uVar1 = (uint)(param_4[1] != 0);\n  }\n  return uVar1;\n}\n\n" (function_definition "uint FUN_0038ca7c(int param_1,undefined4 param_2,int *param_3,int *param_4)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int local_40;\n  uint local_3c;\n  uint local_38;\n  int local_34;\n  uint local_30;\n  \n  uVar1 = (*(code *)PTR___do_upcast_004c50a8)();\n  if (uVar1 == 0) {\n    uVar1 = param_4[2];\n    if ((uVar1 & 0x10) != 0) {\n      uVar1 = *(uint *)(param_1 + 8);\n    }\n    iVar6 = *(int *)(param_1 + 0xc);\n    iVar5 = param_1 + iVar6 * 8;\n    for (; iVar6 != 0; iVar6 = iVar6 + -1) {\n      uVar3 = *(uint *)(iVar5 + 0xc);\n      local_40 = 0;\n      local_3c = 0;\n      local_34 = 0;\n      if ((uVar1 & 1) != 0 || (uVar3 & 2) != 0) {\n        if (param_3 == (int *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = param_4[3];\n          if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }\n        }\n      }\n      iVar5 = iVar5 + -8;\n    }\n    uVar1 = (uint)(param_4[1] != 0);\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_0038ca7c(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  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int local_40;\n  uint local_3c;\n  uint local_38;\n  int local_34;\n  uint local_30;\n  \n  uVar1 = (*(code *)PTR___do_upcast_004c50a8)();\n  if (uVar1 == 0) {\n    uVar1 = param_4[2];\n    if ((uVar1 & 0x10) != 0) {\n      uVar1 = *(uint *)(param_1 + 8);\n    }\n    iVar6 = *(int *)(param_1 + 0xc);\n    iVar5 = param_1 + iVar6 * 8;\n    for (; iVar6 != 0; iVar6 = iVar6 + -1) {\n      uVar3 = *(uint *)(iVar5 + 0xc);\n      local_40 = 0;\n      local_3c = 0;\n      local_34 = 0;\n      if ((uVar1 & 1) != 0 || (uVar3 & 2) != 0) {\n        if (param_3 == (int *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = param_4[3];\n          if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }\n        }\n      }\n      iVar5 = iVar5 + -8;\n    }\n    uVar1 = (uint)(param_4[1] != 0);\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int local_40;" primitive_type identifier ;) (declaration "uint local_3c;" type_identifier identifier ;) (declaration "uint local_38;" type_identifier identifier ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "uint local_30;" type_identifier identifier ;) (expression_statement "uVar1 = (*(code *)PTR___do_upcast_004c50a8)();" (assignment_expression "uVar1 = (*(code *)PTR___do_upcast_004c50a8)()" identifier = (call_expression "(*(code *)PTR___do_upcast_004c50a8)()" (parenthesized_expression "(*(code *)PTR___do_upcast_004c50a8)" ( (pointer_expression "*(code *)PTR___do_upcast_004c50a8" * (cast_expression "(code *)PTR___do_upcast_004c50a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (uVar1 == 0) {\n    uVar1 = param_4[2];\n    if ((uVar1 & 0x10) != 0) {\n      uVar1 = *(uint *)(param_1 + 8);\n    }\n    iVar6 = *(int *)(param_1 + 0xc);\n    iVar5 = param_1 + iVar6 * 8;\n    for (; iVar6 != 0; iVar6 = iVar6 + -1) {\n      uVar3 = *(uint *)(iVar5 + 0xc);\n      local_40 = 0;\n      local_3c = 0;\n      local_34 = 0;\n      if ((uVar1 & 1) != 0 || (uVar3 & 2) != 0) {\n        if (param_3 == (int *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = param_4[3];\n          if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }\n        }\n      }\n      iVar5 = iVar5 + -8;\n    }\n    uVar1 = (uint)(param_4[1] != 0);\n  }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar1 = param_4[2];\n    if ((uVar1 & 0x10) != 0) {\n      uVar1 = *(uint *)(param_1 + 8);\n    }\n    iVar6 = *(int *)(param_1 + 0xc);\n    iVar5 = param_1 + iVar6 * 8;\n    for (; iVar6 != 0; iVar6 = iVar6 + -1) {\n      uVar3 = *(uint *)(iVar5 + 0xc);\n      local_40 = 0;\n      local_3c = 0;\n      local_34 = 0;\n      if ((uVar1 & 1) != 0 || (uVar3 & 2) != 0) {\n        if (param_3 == (int *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = param_4[3];\n          if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }\n        }\n      }\n      iVar5 = iVar5 + -8;\n    }\n    uVar1 = (uint)(param_4[1] != 0);\n  }" { (expression_statement "uVar1 = param_4[2];" (assignment_expression "uVar1 = param_4[2]" identifier = (subscript_expression "param_4[2]" identifier [ number_literal ])) ;) (if_statement "if ((uVar1 & 0x10) != 0) {\n      uVar1 = *(uint *)(param_1 + 8);\n    }" if (parenthesized_expression "((uVar1 & 0x10) != 0)" ( (binary_expression "(uVar1 & 0x10) != 0" (parenthesized_expression "(uVar1 & 0x10)" ( (binary_expression "uVar1 & 0x10" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      uVar1 = *(uint *)(param_1 + 8);\n    }" { (expression_statement "uVar1 = *(uint *)(param_1 + 8);" (assignment_expression "uVar1 = *(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) ))))) ;) (expression_statement "iVar5 = param_1 + iVar6 * 8;" (assignment_expression "iVar5 = param_1 + iVar6 * 8" identifier = (binary_expression "param_1 + iVar6 * 8" identifier + (binary_expression "iVar6 * 8" identifier * number_literal))) ;) (for_statement "for (; iVar6 != 0; iVar6 = iVar6 + -1) {\n      uVar3 = *(uint *)(iVar5 + 0xc);\n      local_40 = 0;\n      local_3c = 0;\n      local_34 = 0;\n      if ((uVar1 & 1) != 0 || (uVar3 & 2) != 0) {\n        if (param_3 == (int *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = param_4[3];\n          if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }\n        }\n      }\n      iVar5 = iVar5 + -8;\n    }" for ( ; (binary_expression "iVar6 != 0" identifier != number_literal) ; (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ) (compound_statement "{\n      uVar3 = *(uint *)(iVar5 + 0xc);\n      local_40 = 0;\n      local_3c = 0;\n      local_34 = 0;\n      if ((uVar1 & 1) != 0 || (uVar3 & 2) != 0) {\n        if (param_3 == (int *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = param_4[3];\n          if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }\n        }\n      }\n      iVar5 = iVar5 + -8;\n    }" { (expression_statement "uVar3 = *(uint *)(iVar5 + 0xc);" (assignment_expression "uVar3 = *(uint *)(iVar5 + 0xc)" identifier = (pointer_expression "*(uint *)(iVar5 + 0xc)" * (cast_expression "(uint *)(iVar5 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xc)" ( (binary_expression "iVar5 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" identifier = number_literal) ;) (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" identifier = number_literal) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (if_statement "if ((uVar1 & 1) != 0 || (uVar3 & 2) != 0) {\n        if (param_3 == (int *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = param_4[3];\n          if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }\n        }\n      }" if (parenthesized_expression "((uVar1 & 1) != 0 || (uVar3 & 2) != 0)" ( (binary_expression "(uVar1 & 1) != 0 || (uVar3 & 2) != 0" (binary_expression "(uVar1 & 1) != 0" (parenthesized_expression "(uVar1 & 1)" ( (binary_expression "uVar1 & 1" identifier & number_literal) )) != number_literal) || (binary_expression "(uVar3 & 2) != 0" (parenthesized_expression "(uVar3 & 2)" ( (binary_expression "uVar3 & 2" identifier & number_literal) )) != number_literal)) )) (compound_statement "{\n        if (param_3 == (int *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = param_4[3];\n          if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }\n        }\n      }" { (if_statement "if (param_3 == (int *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\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          iVar4 = 0;\n        }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\n        }" else (compound_statement "{\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\n        }" { (expression_statement "iVar4 = (int)uVar3 >> 8;" (assignment_expression "iVar4 = (int)uVar3 >> 8" identifier = (binary_expression "(int)uVar3 >> 8" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (if_statement "if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }" if (parenthesized_expression "((uVar3 & 1) != 0)" ( (binary_expression "(uVar3 & 1) != 0" (parenthesized_expression "(uVar3 & 1)" ( (binary_expression "uVar3 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }" { (expression_statement "iVar4 = *(int *)(*param_3 + iVar4);" (assignment_expression "iVar4 = *(int *)(*param_3 + iVar4)" identifier = (pointer_expression "*(int *)(*param_3 + iVar4)" * (cast_expression "(int *)(*param_3 + iVar4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + iVar4)" ( (binary_expression "*param_3 + iVar4" (pointer_expression "*param_3" * identifier) + identifier) ))))) ;) })) (expression_statement "iVar4 = (int)param_3 + iVar4;" (assignment_expression "iVar4 = (int)param_3 + iVar4" identifier = (binary_expression "(int)param_3 + iVar4" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) + identifier)) ;) }))) (expression_statement "local_38 = uVar1;" (assignment_expression "local_38 = uVar1" identifier = identifier) ;) (expression_statement "uVar2 = (**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40);" (assignment_expression "uVar2 = (**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40)" identifier = (call_expression "(**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40)" (parenthesized_expression "(**(code **)(**(int **)(iVar5 + 8) + 0x18))" ( (pointer_expression "**(code **)(**(int **)(iVar5 + 8) + 0x18)" * (pointer_expression "*(code **)(**(int **)(iVar5 + 8) + 0x18)" * (cast_expression "(code **)(**(int **)(iVar5 + 8) + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(iVar5 + 8) + 0x18)" ( (binary_expression "**(int **)(iVar5 + 8) + 0x18" (pointer_expression "**(int **)(iVar5 + 8)" * (pointer_expression "*(int **)(iVar5 + 8)" * (cast_expression "(int **)(iVar5 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "(*(int **)(iVar5 + 8),param_2,iVar4,&local_40)" ( (pointer_expression "*(int **)(iVar5 + 8)" * (cast_expression "(int **)(iVar5 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) )))) , identifier , identifier , (pointer_expression "&local_40" & identifier) )))) ;) (if_statement "if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = param_4[3];\n          if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }\n        }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = param_4[3];\n          if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }\n        }" { (if_statement "if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }" if (parenthesized_expression "((local_34 == 8) && ((uVar3 & 1) != 0))" ( (binary_expression "(local_34 == 8) && ((uVar3 & 1) != 0)" (parenthesized_expression "(local_34 == 8)" ( (binary_expression "local_34 == 8" identifier == number_literal) )) && (parenthesized_expression "((uVar3 & 1) != 0)" ( (binary_expression "(uVar3 & 1) != 0" (parenthesized_expression "(uVar3 & 1)" ( (binary_expression "uVar3 & 1" identifier & number_literal) )) != number_literal) ))) )) (compound_statement "{\n            local_34 = *(int *)(iVar5 + 8);\n          }" { (expression_statement "local_34 = *(int *)(iVar5 + 8);" (assignment_expression "local_34 = *(int *)(iVar5 + 8)" identifier = (pointer_expression "*(int *)(iVar5 + 8)" * (cast_expression "(int *)(iVar5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) ))))) ;) })) (if_statement "if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }" if (parenthesized_expression "((3 < (int)local_3c) && ((uVar3 & 2) == 0))" ( (binary_expression "(3 < (int)local_3c) && ((uVar3 & 2) == 0)" (parenthesized_expression "(3 < (int)local_3c)" ( (binary_expression "3 < (int)local_3c" number_literal < (cast_expression "(int)local_3c" ( (type_descriptor "int" primitive_type) ) identifier)) )) && (parenthesized_expression "((uVar3 & 2) == 0)" ( (binary_expression "(uVar3 & 2) == 0" (parenthesized_expression "(uVar3 & 2)" ( (binary_expression "uVar3 & 2" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n            local_3c = local_3c & 0xfffffffd;\n          }" { (expression_statement "local_3c = local_3c & 0xfffffffd;" (assignment_expression "local_3c = local_3c & 0xfffffffd" identifier = (binary_expression "local_3c & 0xfffffffd" identifier & number_literal)) ;) })) (expression_statement "iVar4 = param_4[3];" (assignment_expression "iVar4 = param_4[3]" identifier = (subscript_expression "param_4[3]" identifier [ number_literal ])) ;) (if_statement "if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }" { (expression_statement "*param_4 = local_40;" (assignment_expression "*param_4 = local_40" (pointer_expression "*param_4" * identifier) = identifier) ;) (expression_statement "param_4[1] = local_3c;" (assignment_expression "param_4[1] = local_3c" (subscript_expression "param_4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_4[2] = local_38;" (assignment_expression "param_4[2] = local_38" (subscript_expression "param_4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_4[3] = local_34;" (assignment_expression "param_4[3] = local_34" (subscript_expression "param_4[3]" identifier [ number_literal ]) = identifier) ;) (if_statement "if ((int)local_3c < 4) {\n              return uVar2;\n            }" if (parenthesized_expression "((int)local_3c < 4)" ( (binary_expression "(int)local_3c < 4" (cast_expression "(int)local_3c" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n              return uVar2;\n            }" { (return_statement "return uVar2;" return identifier ;) })) (if_statement "if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }" if (parenthesized_expression "((local_3c & 2) == 0)" ( (binary_expression "(local_3c & 2) == 0" (parenthesized_expression "(local_3c & 2)" ( (binary_expression "local_3c & 2" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }" { (if_statement "if ((local_3c & 1) == 0) {\n                return uVar2;\n              }" if (parenthesized_expression "((local_3c & 1) == 0)" ( (binary_expression "(local_3c & 1) == 0" (parenthesized_expression "(local_3c & 1)" ( (binary_expression "local_3c & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n                return uVar2;\n              }" { (return_statement "return uVar2;" return identifier ;) })) (expression_statement "uVar3 = *(uint *)(param_1 + 8) & 2;" (assignment_expression "uVar3 = *(uint *)(param_1 + 8) & 2" identifier = (binary_expression "*(uint *)(param_1 + 8) & 2" (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) )))) & number_literal)) ;) }) (else_clause "else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }" else (compound_statement "{\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }" { (expression_statement "uVar3 = *(uint *)(param_1 + 8) & 1;" (assignment_expression "uVar3 = *(uint *)(param_1 + 8) & 1" identifier = (binary_expression "*(uint *)(param_1 + 8) & 1" (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) )))) & number_literal)) ;) }))) (if_statement "if (uVar3 == 0) {\n              return uVar2;\n            }" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (compound_statement "{\n              return uVar2;\n            }" { (return_statement "return uVar2;" return identifier ;) })) }) (else_clause "else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }" else (compound_statement "{\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }" { (if_statement "if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }" if (parenthesized_expression "(*param_4 != local_40)" ( (binary_expression "*param_4 != local_40" (pointer_expression "*param_4" * identifier) != identifier) )) (compound_statement "{\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\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 uVar2;" return identifier ;) })) (if_statement "if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }" if (parenthesized_expression "((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0))))))))" ( (binary_expression "(*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))" (parenthesized_expression "(*param_4 == 0)" ( (binary_expression "*param_4 == 0" (pointer_expression "*param_4" * identifier) == number_literal) )) && (parenthesized_expression "(((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))" ( (parenthesized_expression "((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0))))))" ( (binary_expression "(local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))" (parenthesized_expression "(local_34 == 8 || (iVar4 == 8))" ( (binary_expression "local_34 == 8 || (iVar4 == 8)" (binary_expression "local_34 == 8" identifier == number_literal) || (parenthesized_expression "(iVar4 == 8)" ( (binary_expression "iVar4 == 8" identifier == number_literal) ))) )) || (parenthesized_expression "((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))" ( (parenthesized_expression "(*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0))))" ( (binary_expression "*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))" (binary_expression "*(char **)(local_34 + 4) != *(char **)(iVar4 + 4)" (pointer_expression "*(char **)(local_34 + 4)" * (cast_expression "(char **)(local_34 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_34 + 4)" ( (binary_expression "local_34 + 4" identifier + number_literal) )))) != (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 "((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))" ( (parenthesized_expression "(**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0))" ( (binary_expression "**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)" (binary_expression "**(char **)(local_34 + 4) == '*'" (pointer_expression "**(char **)(local_34 + 4)" * (pointer_expression "*(char **)(local_34 + 4)" * (cast_expression "(char **)(local_34 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_34 + 4)" ( (binary_expression "local_34 + 4" identifier + number_literal) ))))) == (char_literal "'*'" ' character ')) || (parenthesized_expression "(local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)" ( (comma_expression "local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0" (assignment_expression "local_30 = uVar2" identifier = identifier) , (comma_expression "iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_004c5a68)()" identifier = (call_expression "(*(code *)PTR_strcmp_004c5a68)()" (parenthesized_expression "(*(code *)PTR_strcmp_004c5a68)" ( (pointer_expression "*(code *)PTR_strcmp_004c5a68" * (cast_expression "(code *)PTR_strcmp_004c5a68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) , (comma_expression "uVar2 = local_30,\n                  iVar4 != 0" (assignment_expression "uVar2 = local_30" identifier = identifier) , (binary_expression "iVar4 != 0" identifier != number_literal)))) ))) )) ))) )) ))) )) ))) )) (compound_statement "{\n              param_4[1] = 2;\n              return uVar2;\n            }" { (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 uVar2;" return identifier ;) })) (expression_statement "param_4[1] = param_4[1] | local_3c;" (assignment_expression "param_4[1] = param_4[1] | local_3c" (subscript_expression "param_4[1]" identifier [ number_literal ]) = (binary_expression "param_4[1] | local_3c" (subscript_expression "param_4[1]" identifier [ number_literal ]) | identifier)) ;) }))) })) })) (expression_statement "iVar5 = iVar5 + -8;" (assignment_expression "iVar5 = iVar5 + -8" identifier = (binary_expression "iVar5 + -8" identifier + number_literal)) ;) })) (expression_statement "uVar1 = (uint)(param_4[1] != 0);" (assignment_expression "uVar1 = (uint)(param_4[1] != 0)" identifier = (call_expression "(uint)(param_4[1] != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_4[1] != 0)" ( (binary_expression "param_4[1] != 0" (subscript_expression "param_4[1]" identifier [ number_literal ]) != number_literal) )))) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* __cxxabiv1::__vmi_class_type_info::__do_upcast(__cxxabiv1::__class_type_info const*, void const*,\n   __cxxabiv1::__class_type_info::__upcast_result&) const */\n\nuint __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  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  __vmi_class_type_info *p_Var5;\n  int iVar6;\n  int local_40;\n  uint local_3c;\n  uint local_38;\n  int local_34;\n  uint local_30;\n  \n  uVar1 = (*(code *)PTR___do_upcast_004c50a8)();\n  if (uVar1 == 0) {\n    uVar1 = *(uint *)(param_3 + 8);\n    if ((uVar1 & 0x10) != 0) {\n      uVar1 = *(uint *)(this + 8);\n    }\n    iVar6 = *(int *)(this + 0xc);\n    p_Var5 = this + iVar6 * 8;\n    for (; iVar6 != 0; iVar6 = iVar6 + -1) {\n      uVar3 = *(uint *)(p_Var5 + 0xc);\n      local_40 = 0;\n      local_3c = 0;\n      local_34 = 0;\n      if ((uVar1 & 1) != 0 || (uVar3 & 2) != 0) {\n        if (param_2 == (void *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n                    /* WARNING: Load size is inaccurate */\n            iVar4 = *(int *)(*param_2 + iVar4);\n          }\n          iVar4 = (int)param_2 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(p_Var5 + 8) + 0x18))\n                          (*(int **)(p_Var5 + 8),param_1,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(p_Var5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = *(int *)(param_3 + 0xc);\n          if (iVar4 == 0) {\n            *(int *)param_3 = local_40;\n            *(uint *)(param_3 + 4) = local_3c;\n            *(uint *)(param_3 + 8) = local_38;\n            *(int *)(param_3 + 0xc) = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(this + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(this + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*(int *)param_3 != local_40) {\n              *(undefined4 *)param_3 = 0;\n              *(undefined4 *)(param_3 + 4) = 2;\n              return uVar2;\n            }\n            if ((*(int *)param_3 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              *(undefined4 *)(param_3 + 4) = 2;\n              return uVar2;\n            }\n            *(uint *)(param_3 + 4) = *(uint *)(param_3 + 4) | local_3c;\n          }\n        }\n      }\n      p_Var5 = p_Var5 + -8;\n    }\n    uVar1 = (uint)(*(int *)(param_3 + 4) != 0);\n  }\n  return uVar1;\n}\n\n" comment (function_definition "uint __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  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  __vmi_class_type_info *p_Var5;\n  int iVar6;\n  int local_40;\n  uint local_3c;\n  uint local_38;\n  int local_34;\n  uint local_30;\n  \n  uVar1 = (*(code *)PTR___do_upcast_004c50a8)();\n  if (uVar1 == 0) {\n    uVar1 = *(uint *)(param_3 + 8);\n    if ((uVar1 & 0x10) != 0) {\n      uVar1 = *(uint *)(this + 8);\n    }\n    iVar6 = *(int *)(this + 0xc);\n    p_Var5 = this + iVar6 * 8;\n    for (; iVar6 != 0; iVar6 = iVar6 + -1) {\n      uVar3 = *(uint *)(p_Var5 + 0xc);\n      local_40 = 0;\n      local_3c = 0;\n      local_34 = 0;\n      if ((uVar1 & 1) != 0 || (uVar3 & 2) != 0) {\n        if (param_2 == (void *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n                    /* WARNING: Load size is inaccurate */\n            iVar4 = *(int *)(*param_2 + iVar4);\n          }\n          iVar4 = (int)param_2 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(p_Var5 + 8) + 0x18))\n                          (*(int **)(p_Var5 + 8),param_1,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(p_Var5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = *(int *)(param_3 + 0xc);\n          if (iVar4 == 0) {\n            *(int *)param_3 = local_40;\n            *(uint *)(param_3 + 4) = local_3c;\n            *(uint *)(param_3 + 8) = local_38;\n            *(int *)(param_3 + 0xc) = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(this + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(this + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*(int *)param_3 != local_40) {\n              *(undefined4 *)param_3 = 0;\n              *(undefined4 *)(param_3 + 4) = 2;\n              return uVar2;\n            }\n            if ((*(int *)param_3 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              *(undefined4 *)(param_3 + 4) = 2;\n              return uVar2;\n            }\n            *(uint *)(param_3 + 4) = *(uint *)(param_3 + 4) | local_3c;\n          }\n        }\n      }\n      p_Var5 = p_Var5 + -8;\n    }\n    uVar1 = (uint)(*(int *)(param_3 + 4) != 0);\n  }\n  return uVar1;\n}" type_identifier (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  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  __vmi_class_type_info *p_Var5;\n  int iVar6;\n  int local_40;\n  uint local_3c;\n  uint local_38;\n  int local_34;\n  uint local_30;\n  \n  uVar1 = (*(code *)PTR___do_upcast_004c50a8)();\n  if (uVar1 == 0) {\n    uVar1 = *(uint *)(param_3 + 8);\n    if ((uVar1 & 0x10) != 0) {\n      uVar1 = *(uint *)(this + 8);\n    }\n    iVar6 = *(int *)(this + 0xc);\n    p_Var5 = this + iVar6 * 8;\n    for (; iVar6 != 0; iVar6 = iVar6 + -1) {\n      uVar3 = *(uint *)(p_Var5 + 0xc);\n      local_40 = 0;\n      local_3c = 0;\n      local_34 = 0;\n      if ((uVar1 & 1) != 0 || (uVar3 & 2) != 0) {\n        if (param_2 == (void *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n                    /* WARNING: Load size is inaccurate */\n            iVar4 = *(int *)(*param_2 + iVar4);\n          }\n          iVar4 = (int)param_2 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(p_Var5 + 8) + 0x18))\n                          (*(int **)(p_Var5 + 8),param_1,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(p_Var5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = *(int *)(param_3 + 0xc);\n          if (iVar4 == 0) {\n            *(int *)param_3 = local_40;\n            *(uint *)(param_3 + 4) = local_3c;\n            *(uint *)(param_3 + 8) = local_38;\n            *(int *)(param_3 + 0xc) = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(this + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(this + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*(int *)param_3 != local_40) {\n              *(undefined4 *)param_3 = 0;\n              *(undefined4 *)(param_3 + 4) = 2;\n              return uVar2;\n            }\n            if ((*(int *)param_3 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              *(undefined4 *)(param_3 + 4) = 2;\n              return uVar2;\n            }\n            *(uint *)(param_3 + 4) = *(uint *)(param_3 + 4) | local_3c;\n          }\n        }\n      }\n      p_Var5 = p_Var5 + -8;\n    }\n    uVar1 = (uint)(*(int *)(param_3 + 4) != 0);\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "__vmi_class_type_info *p_Var5;" type_identifier (pointer_declarator "*p_Var5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int local_40;" primitive_type identifier ;) (declaration "uint local_3c;" type_identifier identifier ;) (declaration "uint local_38;" type_identifier identifier ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "uint local_30;" type_identifier identifier ;) (expression_statement "uVar1 = (*(code *)PTR___do_upcast_004c50a8)();" (assignment_expression "uVar1 = (*(code *)PTR___do_upcast_004c50a8)()" identifier = (call_expression "(*(code *)PTR___do_upcast_004c50a8)()" (parenthesized_expression "(*(code *)PTR___do_upcast_004c50a8)" ( (pointer_expression "*(code *)PTR___do_upcast_004c50a8" * (cast_expression "(code *)PTR___do_upcast_004c50a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (uVar1 == 0) {\n    uVar1 = *(uint *)(param_3 + 8);\n    if ((uVar1 & 0x10) != 0) {\n      uVar1 = *(uint *)(this + 8);\n    }\n    iVar6 = *(int *)(this + 0xc);\n    p_Var5 = this + iVar6 * 8;\n    for (; iVar6 != 0; iVar6 = iVar6 + -1) {\n      uVar3 = *(uint *)(p_Var5 + 0xc);\n      local_40 = 0;\n      local_3c = 0;\n      local_34 = 0;\n      if ((uVar1 & 1) != 0 || (uVar3 & 2) != 0) {\n        if (param_2 == (void *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n                    /* WARNING: Load size is inaccurate */\n            iVar4 = *(int *)(*param_2 + iVar4);\n          }\n          iVar4 = (int)param_2 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(p_Var5 + 8) + 0x18))\n                          (*(int **)(p_Var5 + 8),param_1,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(p_Var5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = *(int *)(param_3 + 0xc);\n          if (iVar4 == 0) {\n            *(int *)param_3 = local_40;\n            *(uint *)(param_3 + 4) = local_3c;\n            *(uint *)(param_3 + 8) = local_38;\n            *(int *)(param_3 + 0xc) = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(this + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(this + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*(int *)param_3 != local_40) {\n              *(undefined4 *)param_3 = 0;\n              *(undefined4 *)(param_3 + 4) = 2;\n              return uVar2;\n            }\n            if ((*(int *)param_3 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              *(undefined4 *)(param_3 + 4) = 2;\n              return uVar2;\n            }\n            *(uint *)(param_3 + 4) = *(uint *)(param_3 + 4) | local_3c;\n          }\n        }\n      }\n      p_Var5 = p_Var5 + -8;\n    }\n    uVar1 = (uint)(*(int *)(param_3 + 4) != 0);\n  }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar1 = *(uint *)(param_3 + 8);\n    if ((uVar1 & 0x10) != 0) {\n      uVar1 = *(uint *)(this + 8);\n    }\n    iVar6 = *(int *)(this + 0xc);\n    p_Var5 = this + iVar6 * 8;\n    for (; iVar6 != 0; iVar6 = iVar6 + -1) {\n      uVar3 = *(uint *)(p_Var5 + 0xc);\n      local_40 = 0;\n      local_3c = 0;\n      local_34 = 0;\n      if ((uVar1 & 1) != 0 || (uVar3 & 2) != 0) {\n        if (param_2 == (void *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n                    /* WARNING: Load size is inaccurate */\n            iVar4 = *(int *)(*param_2 + iVar4);\n          }\n          iVar4 = (int)param_2 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(p_Var5 + 8) + 0x18))\n                          (*(int **)(p_Var5 + 8),param_1,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(p_Var5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = *(int *)(param_3 + 0xc);\n          if (iVar4 == 0) {\n            *(int *)param_3 = local_40;\n            *(uint *)(param_3 + 4) = local_3c;\n            *(uint *)(param_3 + 8) = local_38;\n            *(int *)(param_3 + 0xc) = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(this + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(this + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*(int *)param_3 != local_40) {\n              *(undefined4 *)param_3 = 0;\n              *(undefined4 *)(param_3 + 4) = 2;\n              return uVar2;\n            }\n            if ((*(int *)param_3 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              *(undefined4 *)(param_3 + 4) = 2;\n              return uVar2;\n            }\n            *(uint *)(param_3 + 4) = *(uint *)(param_3 + 4) | local_3c;\n          }\n        }\n      }\n      p_Var5 = p_Var5 + -8;\n    }\n    uVar1 = (uint)(*(int *)(param_3 + 4) != 0);\n  }" { (expression_statement "uVar1 = *(uint *)(param_3 + 8);" (assignment_expression "uVar1 = *(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 ((uVar1 & 0x10) != 0) {\n      uVar1 = *(uint *)(this + 8);\n    }" if (parenthesized_expression "((uVar1 & 0x10) != 0)" ( (binary_expression "(uVar1 & 0x10) != 0" (parenthesized_expression "(uVar1 & 0x10)" ( (binary_expression "uVar1 & 0x10" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      uVar1 = *(uint *)(this + 8);\n    }" { (expression_statement "uVar1 = *(uint *)(this + 8);" (assignment_expression "uVar1 = *(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 "iVar6 = *(int *)(this + 0xc);" (assignment_expression "iVar6 = *(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) ))))) ;) (expression_statement "p_Var5 = this + iVar6 * 8;" (assignment_expression "p_Var5 = this + iVar6 * 8" identifier = (binary_expression "this + iVar6 * 8" identifier + (binary_expression "iVar6 * 8" identifier * number_literal))) ;) (for_statement "for (; iVar6 != 0; iVar6 = iVar6 + -1) {\n      uVar3 = *(uint *)(p_Var5 + 0xc);\n      local_40 = 0;\n      local_3c = 0;\n      local_34 = 0;\n      if ((uVar1 & 1) != 0 || (uVar3 & 2) != 0) {\n        if (param_2 == (void *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n                    /* WARNING: Load size is inaccurate */\n            iVar4 = *(int *)(*param_2 + iVar4);\n          }\n          iVar4 = (int)param_2 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(p_Var5 + 8) + 0x18))\n                          (*(int **)(p_Var5 + 8),param_1,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(p_Var5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = *(int *)(param_3 + 0xc);\n          if (iVar4 == 0) {\n            *(int *)param_3 = local_40;\n            *(uint *)(param_3 + 4) = local_3c;\n            *(uint *)(param_3 + 8) = local_38;\n            *(int *)(param_3 + 0xc) = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(this + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(this + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*(int *)param_3 != local_40) {\n              *(undefined4 *)param_3 = 0;\n              *(undefined4 *)(param_3 + 4) = 2;\n              return uVar2;\n            }\n            if ((*(int *)param_3 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              *(undefined4 *)(param_3 + 4) = 2;\n              return uVar2;\n            }\n            *(uint *)(param_3 + 4) = *(uint *)(param_3 + 4) | local_3c;\n          }\n        }\n      }\n      p_Var5 = p_Var5 + -8;\n    }" for ( ; (binary_expression "iVar6 != 0" identifier != number_literal) ; (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ) (compound_statement "{\n      uVar3 = *(uint *)(p_Var5 + 0xc);\n      local_40 = 0;\n      local_3c = 0;\n      local_34 = 0;\n      if ((uVar1 & 1) != 0 || (uVar3 & 2) != 0) {\n        if (param_2 == (void *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n                    /* WARNING: Load size is inaccurate */\n            iVar4 = *(int *)(*param_2 + iVar4);\n          }\n          iVar4 = (int)param_2 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(p_Var5 + 8) + 0x18))\n                          (*(int **)(p_Var5 + 8),param_1,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(p_Var5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = *(int *)(param_3 + 0xc);\n          if (iVar4 == 0) {\n            *(int *)param_3 = local_40;\n            *(uint *)(param_3 + 4) = local_3c;\n            *(uint *)(param_3 + 8) = local_38;\n            *(int *)(param_3 + 0xc) = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(this + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(this + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*(int *)param_3 != local_40) {\n              *(undefined4 *)param_3 = 0;\n              *(undefined4 *)(param_3 + 4) = 2;\n              return uVar2;\n            }\n            if ((*(int *)param_3 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              *(undefined4 *)(param_3 + 4) = 2;\n              return uVar2;\n            }\n            *(uint *)(param_3 + 4) = *(uint *)(param_3 + 4) | local_3c;\n          }\n        }\n      }\n      p_Var5 = p_Var5 + -8;\n    }" { (expression_statement "uVar3 = *(uint *)(p_Var5 + 0xc);" (assignment_expression "uVar3 = *(uint *)(p_Var5 + 0xc)" identifier = (pointer_expression "*(uint *)(p_Var5 + 0xc)" * (cast_expression "(uint *)(p_Var5 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(p_Var5 + 0xc)" ( (binary_expression "p_Var5 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" identifier = number_literal) ;) (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" identifier = number_literal) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (if_statement "if ((uVar1 & 1) != 0 || (uVar3 & 2) != 0) {\n        if (param_2 == (void *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n                    /* WARNING: Load size is inaccurate */\n            iVar4 = *(int *)(*param_2 + iVar4);\n          }\n          iVar4 = (int)param_2 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(p_Var5 + 8) + 0x18))\n                          (*(int **)(p_Var5 + 8),param_1,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(p_Var5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = *(int *)(param_3 + 0xc);\n          if (iVar4 == 0) {\n            *(int *)param_3 = local_40;\n            *(uint *)(param_3 + 4) = local_3c;\n            *(uint *)(param_3 + 8) = local_38;\n            *(int *)(param_3 + 0xc) = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(this + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(this + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*(int *)param_3 != local_40) {\n              *(undefined4 *)param_3 = 0;\n              *(undefined4 *)(param_3 + 4) = 2;\n              return uVar2;\n            }\n            if ((*(int *)param_3 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              *(undefined4 *)(param_3 + 4) = 2;\n              return uVar2;\n            }\n            *(uint *)(param_3 + 4) = *(uint *)(param_3 + 4) | local_3c;\n          }\n        }\n      }" if (parenthesized_expression "((uVar1 & 1) != 0 || (uVar3 & 2) != 0)" ( (binary_expression "(uVar1 & 1) != 0 || (uVar3 & 2) != 0" (binary_expression "(uVar1 & 1) != 0" (parenthesized_expression "(uVar1 & 1)" ( (binary_expression "uVar1 & 1" identifier & number_literal) )) != number_literal) || (binary_expression "(uVar3 & 2) != 0" (parenthesized_expression "(uVar3 & 2)" ( (binary_expression "uVar3 & 2" identifier & number_literal) )) != number_literal)) )) (compound_statement "{\n        if (param_2 == (void *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n                    /* WARNING: Load size is inaccurate */\n            iVar4 = *(int *)(*param_2 + iVar4);\n          }\n          iVar4 = (int)param_2 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(p_Var5 + 8) + 0x18))\n                          (*(int **)(p_Var5 + 8),param_1,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(p_Var5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = *(int *)(param_3 + 0xc);\n          if (iVar4 == 0) {\n            *(int *)param_3 = local_40;\n            *(uint *)(param_3 + 4) = local_3c;\n            *(uint *)(param_3 + 8) = local_38;\n            *(int *)(param_3 + 0xc) = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(this + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(this + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*(int *)param_3 != local_40) {\n              *(undefined4 *)param_3 = 0;\n              *(undefined4 *)(param_3 + 4) = 2;\n              return uVar2;\n            }\n            if ((*(int *)param_3 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              *(undefined4 *)(param_3 + 4) = 2;\n              return uVar2;\n            }\n            *(uint *)(param_3 + 4) = *(uint *)(param_3 + 4) | local_3c;\n          }\n        }\n      }" { (if_statement "if (param_2 == (void *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n                    /* WARNING: Load size is inaccurate */\n            iVar4 = *(int *)(*param_2 + iVar4);\n          }\n          iVar4 = (int)param_2 + iVar4;\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 = 0;\n        }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n                    /* WARNING: Load size is inaccurate */\n            iVar4 = *(int *)(*param_2 + iVar4);\n          }\n          iVar4 = (int)param_2 + iVar4;\n        }" else (compound_statement "{\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n                    /* WARNING: Load size is inaccurate */\n            iVar4 = *(int *)(*param_2 + iVar4);\n          }\n          iVar4 = (int)param_2 + iVar4;\n        }" { (expression_statement "iVar4 = (int)uVar3 >> 8;" (assignment_expression "iVar4 = (int)uVar3 >> 8" identifier = (binary_expression "(int)uVar3 >> 8" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (if_statement "if ((uVar3 & 1) != 0) {\n                    /* WARNING: Load size is inaccurate */\n            iVar4 = *(int *)(*param_2 + iVar4);\n          }" if (parenthesized_expression "((uVar3 & 1) != 0)" ( (binary_expression "(uVar3 & 1) != 0" (parenthesized_expression "(uVar3 & 1)" ( (binary_expression "uVar3 & 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 = (int)param_2 + iVar4;" (assignment_expression "iVar4 = (int)param_2 + iVar4" identifier = (binary_expression "(int)param_2 + iVar4" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + identifier)) ;) }))) (expression_statement "local_38 = uVar1;" (assignment_expression "local_38 = uVar1" identifier = identifier) ;) (expression_statement "uVar2 = (**(code **)(**(int **)(p_Var5 + 8) + 0x18))\n                          (*(int **)(p_Var5 + 8),param_1,iVar4,&local_40);" (assignment_expression "uVar2 = (**(code **)(**(int **)(p_Var5 + 8) + 0x18))\n                          (*(int **)(p_Var5 + 8),param_1,iVar4,&local_40)" identifier = (call_expression "(**(code **)(**(int **)(p_Var5 + 8) + 0x18))\n                          (*(int **)(p_Var5 + 8),param_1,iVar4,&local_40)" (parenthesized_expression "(**(code **)(**(int **)(p_Var5 + 8) + 0x18))" ( (pointer_expression "**(code **)(**(int **)(p_Var5 + 8) + 0x18)" * (pointer_expression "*(code **)(**(int **)(p_Var5 + 8) + 0x18)" * (cast_expression "(code **)(**(int **)(p_Var5 + 8) + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(p_Var5 + 8) + 0x18)" ( (binary_expression "**(int **)(p_Var5 + 8) + 0x18" (pointer_expression "**(int **)(p_Var5 + 8)" * (pointer_expression "*(int **)(p_Var5 + 8)" * (cast_expression "(int **)(p_Var5 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(p_Var5 + 8)" ( (binary_expression "p_Var5 + 8" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "(*(int **)(p_Var5 + 8),param_1,iVar4,&local_40)" ( (pointer_expression "*(int **)(p_Var5 + 8)" * (cast_expression "(int **)(p_Var5 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(p_Var5 + 8)" ( (binary_expression "p_Var5 + 8" identifier + number_literal) )))) , identifier , identifier , (pointer_expression "&local_40" & identifier) )))) ;) (if_statement "if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(p_Var5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = *(int *)(param_3 + 0xc);\n          if (iVar4 == 0) {\n            *(int *)param_3 = local_40;\n            *(uint *)(param_3 + 4) = local_3c;\n            *(uint *)(param_3 + 8) = local_38;\n            *(int *)(param_3 + 0xc) = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(this + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(this + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*(int *)param_3 != local_40) {\n              *(undefined4 *)param_3 = 0;\n              *(undefined4 *)(param_3 + 4) = 2;\n              return uVar2;\n            }\n            if ((*(int *)param_3 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              *(undefined4 *)(param_3 + 4) = 2;\n              return uVar2;\n            }\n            *(uint *)(param_3 + 4) = *(uint *)(param_3 + 4) | local_3c;\n          }\n        }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(p_Var5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = *(int *)(param_3 + 0xc);\n          if (iVar4 == 0) {\n            *(int *)param_3 = local_40;\n            *(uint *)(param_3 + 4) = local_3c;\n            *(uint *)(param_3 + 8) = local_38;\n            *(int *)(param_3 + 0xc) = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(this + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(this + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*(int *)param_3 != local_40) {\n              *(undefined4 *)param_3 = 0;\n              *(undefined4 *)(param_3 + 4) = 2;\n              return uVar2;\n            }\n            if ((*(int *)param_3 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              *(undefined4 *)(param_3 + 4) = 2;\n              return uVar2;\n            }\n            *(uint *)(param_3 + 4) = *(uint *)(param_3 + 4) | local_3c;\n          }\n        }" { (if_statement "if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(p_Var5 + 8);\n          }" if (parenthesized_expression "((local_34 == 8) && ((uVar3 & 1) != 0))" ( (binary_expression "(local_34 == 8) && ((uVar3 & 1) != 0)" (parenthesized_expression "(local_34 == 8)" ( (binary_expression "local_34 == 8" identifier == number_literal) )) && (parenthesized_expression "((uVar3 & 1) != 0)" ( (binary_expression "(uVar3 & 1) != 0" (parenthesized_expression "(uVar3 & 1)" ( (binary_expression "uVar3 & 1" identifier & number_literal) )) != number_literal) ))) )) (compound_statement "{\n            local_34 = *(int *)(p_Var5 + 8);\n          }" { (expression_statement "local_34 = *(int *)(p_Var5 + 8);" (assignment_expression "local_34 = *(int *)(p_Var5 + 8)" identifier = (pointer_expression "*(int *)(p_Var5 + 8)" * (cast_expression "(int *)(p_Var5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(p_Var5 + 8)" ( (binary_expression "p_Var5 + 8" identifier + number_literal) ))))) ;) })) (if_statement "if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }" if (parenthesized_expression "((3 < (int)local_3c) && ((uVar3 & 2) == 0))" ( (binary_expression "(3 < (int)local_3c) && ((uVar3 & 2) == 0)" (parenthesized_expression "(3 < (int)local_3c)" ( (binary_expression "3 < (int)local_3c" number_literal < (cast_expression "(int)local_3c" ( (type_descriptor "int" primitive_type) ) identifier)) )) && (parenthesized_expression "((uVar3 & 2) == 0)" ( (binary_expression "(uVar3 & 2) == 0" (parenthesized_expression "(uVar3 & 2)" ( (binary_expression "uVar3 & 2" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n            local_3c = local_3c & 0xfffffffd;\n          }" { (expression_statement "local_3c = local_3c & 0xfffffffd;" (assignment_expression "local_3c = local_3c & 0xfffffffd" identifier = (binary_expression "local_3c & 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_40;\n            *(uint *)(param_3 + 4) = local_3c;\n            *(uint *)(param_3 + 8) = local_38;\n            *(int *)(param_3 + 0xc) = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(this + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(this + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*(int *)param_3 != local_40) {\n              *(undefined4 *)param_3 = 0;\n              *(undefined4 *)(param_3 + 4) = 2;\n              return uVar2;\n            }\n            if ((*(int *)param_3 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              *(undefined4 *)(param_3 + 4) = 2;\n              return uVar2;\n            }\n            *(uint *)(param_3 + 4) = *(uint *)(param_3 + 4) | local_3c;\n          }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n            *(int *)param_3 = local_40;\n            *(uint *)(param_3 + 4) = local_3c;\n            *(uint *)(param_3 + 8) = local_38;\n            *(int *)(param_3 + 0xc) = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(this + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(this + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }" { (expression_statement "*(int *)param_3 = local_40;" (assignment_expression "*(int *)param_3 = local_40" (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 + 4) = local_3c;" (assignment_expression "*(uint *)(param_3 + 4) = local_3c" (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 "*(uint *)(param_3 + 8) = local_38;" (assignment_expression "*(uint *)(param_3 + 8) = local_38" (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 "*(int *)(param_3 + 0xc) = local_34;" (assignment_expression "*(int *)(param_3 + 0xc) = local_34" (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_3c < 4) {\n              return uVar2;\n            }" if (parenthesized_expression "((int)local_3c < 4)" ( (binary_expression "(int)local_3c < 4" (cast_expression "(int)local_3c" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n              return uVar2;\n            }" { (return_statement "return uVar2;" return identifier ;) })) (if_statement "if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(this + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(this + 8) & 1;\n            }" if (parenthesized_expression "((local_3c & 2) == 0)" ( (binary_expression "(local_3c & 2) == 0" (parenthesized_expression "(local_3c & 2)" ( (binary_expression "local_3c & 2" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(this + 8) & 2;\n            }" { (if_statement "if ((local_3c & 1) == 0) {\n                return uVar2;\n              }" if (parenthesized_expression "((local_3c & 1) == 0)" ( (binary_expression "(local_3c & 1) == 0" (parenthesized_expression "(local_3c & 1)" ( (binary_expression "local_3c & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n                return uVar2;\n              }" { (return_statement "return uVar2;" return identifier ;) })) (expression_statement "uVar3 = *(uint *)(this + 8) & 2;" (assignment_expression "uVar3 = *(uint *)(this + 8) & 2" identifier = (binary_expression "*(uint *)(this + 8) & 2" (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) )))) & number_literal)) ;) }) (else_clause "else {\n              uVar3 = *(uint *)(this + 8) & 1;\n            }" else (compound_statement "{\n              uVar3 = *(uint *)(this + 8) & 1;\n            }" { (expression_statement "uVar3 = *(uint *)(this + 8) & 1;" (assignment_expression "uVar3 = *(uint *)(this + 8) & 1" identifier = (binary_expression "*(uint *)(this + 8) & 1" (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) )))) & number_literal)) ;) }))) (if_statement "if (uVar3 == 0) {\n              return uVar2;\n            }" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (compound_statement "{\n              return uVar2;\n            }" { (return_statement "return uVar2;" return identifier ;) })) }) (else_clause "else {\n            if (*(int *)param_3 != local_40) {\n              *(undefined4 *)param_3 = 0;\n              *(undefined4 *)(param_3 + 4) = 2;\n              return uVar2;\n            }\n            if ((*(int *)param_3 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              *(undefined4 *)(param_3 + 4) = 2;\n              return uVar2;\n            }\n            *(uint *)(param_3 + 4) = *(uint *)(param_3 + 4) | local_3c;\n          }" else (compound_statement "{\n            if (*(int *)param_3 != local_40) {\n              *(undefined4 *)param_3 = 0;\n              *(undefined4 *)(param_3 + 4) = 2;\n              return uVar2;\n            }\n            if ((*(int *)param_3 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              *(undefined4 *)(param_3 + 4) = 2;\n              return uVar2;\n            }\n            *(uint *)(param_3 + 4) = *(uint *)(param_3 + 4) | local_3c;\n          }" { (if_statement "if (*(int *)param_3 != local_40) {\n              *(undefined4 *)param_3 = 0;\n              *(undefined4 *)(param_3 + 4) = 2;\n              return uVar2;\n            }" if (parenthesized_expression "(*(int *)param_3 != local_40)" ( (binary_expression "*(int *)param_3 != local_40" (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 uVar2;\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 uVar2;" return identifier ;) })) (if_statement "if ((*(int *)param_3 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              *(undefined4 *)(param_3 + 4) = 2;\n              return uVar2;\n            }" if (parenthesized_expression "((*(int *)param_3 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0))))))))" ( (binary_expression "(*(int *)param_3 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))" (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) )) && (parenthesized_expression "(((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))" ( (parenthesized_expression "((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0))))))" ( (binary_expression "(local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))" (parenthesized_expression "(local_34 == 8 || (iVar4 == 8))" ( (binary_expression "local_34 == 8 || (iVar4 == 8)" (binary_expression "local_34 == 8" identifier == number_literal) || (parenthesized_expression "(iVar4 == 8)" ( (binary_expression "iVar4 == 8" identifier == number_literal) ))) )) || (parenthesized_expression "((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))" ( (parenthesized_expression "(*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0))))" ( (binary_expression "*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))" (binary_expression "*(char **)(local_34 + 4) != *(char **)(iVar4 + 4)" (pointer_expression "*(char **)(local_34 + 4)" * (cast_expression "(char **)(local_34 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_34 + 4)" ( (binary_expression "local_34 + 4" identifier + number_literal) )))) != (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 "((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))" ( (parenthesized_expression "(**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0))" ( (binary_expression "**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)" (binary_expression "**(char **)(local_34 + 4) == '*'" (pointer_expression "**(char **)(local_34 + 4)" * (pointer_expression "*(char **)(local_34 + 4)" * (cast_expression "(char **)(local_34 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_34 + 4)" ( (binary_expression "local_34 + 4" identifier + number_literal) ))))) == (char_literal "'*'" ' character ')) || (parenthesized_expression "(local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)" ( (comma_expression "local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0" (assignment_expression "local_30 = uVar2" identifier = identifier) , (comma_expression "iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_004c5a68)()" identifier = (call_expression "(*(code *)PTR_strcmp_004c5a68)()" (parenthesized_expression "(*(code *)PTR_strcmp_004c5a68)" ( (pointer_expression "*(code *)PTR_strcmp_004c5a68" * (cast_expression "(code *)PTR_strcmp_004c5a68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) , (comma_expression "uVar2 = local_30,\n                  iVar4 != 0" (assignment_expression "uVar2 = local_30" identifier = identifier) , (binary_expression "iVar4 != 0" identifier != number_literal)))) ))) )) ))) )) ))) )) ))) )) (compound_statement "{\n              *(undefined4 *)(param_3 + 4) = 2;\n              return uVar2;\n            }" { (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 uVar2;" return identifier ;) })) (expression_statement "*(uint *)(param_3 + 4) = *(uint *)(param_3 + 4) | local_3c;" (assignment_expression "*(uint *)(param_3 + 4) = *(uint *)(param_3 + 4) | local_3c" (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_3c" (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 "p_Var5 = p_Var5 + -8;" (assignment_expression "p_Var5 = p_Var5 + -8" identifier = (binary_expression "p_Var5 + -8" identifier + number_literal)) ;) })) (expression_statement "uVar1 = (uint)(*(int *)(param_3 + 4) != 0);" (assignment_expression "uVar1 = (uint)(*(int *)(param_3 + 4) != 0)" identifier = (call_expression "(uint)(*(int *)(param_3 + 4) != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(param_3 + 4) != 0)" ( (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) )))) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "uint FUN_0038ca7c(int param_1,undefined4 param_2,int *param_3,int *param_4)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int local_40;\n  uint local_3c;\n  uint local_38;\n  int local_34;\n  uint local_30;\n  \n  uVar1 = (*(code *)PTR___do_upcast_004c50a8)();\n  if (uVar1 == 0) {\n    uVar1 = param_4[2];\n    if ((uVar1 & 0x10) != 0) {\n      uVar1 = *(uint *)(param_1 + 8);\n    }\n    iVar6 = *(int *)(param_1 + 0xc);\n    iVar5 = param_1 + iVar6 * 8;\n    for (; iVar6 != 0; iVar6 = iVar6 + -1) {\n      uVar3 = *(uint *)(iVar5 + 0xc);\n      local_40 = 0;\n      local_3c = 0;\n      local_34 = 0;\n      if ((uVar1 & 1) != 0 || (uVar3 & 2) != 0) {\n        if (param_3 == (int *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = param_4[3];\n          if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }\n        }\n      }\n      iVar5 = iVar5 + -8;\n    }\n    uVar1 = (uint)(param_4[1] != 0);\n  }\n  return uVar1;\n}\n\n" (function_definition "uint FUN_0038ca7c(int param_1,undefined4 param_2,int *param_3,int *param_4)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int local_40;\n  uint local_3c;\n  uint local_38;\n  int local_34;\n  uint local_30;\n  \n  uVar1 = (*(code *)PTR___do_upcast_004c50a8)();\n  if (uVar1 == 0) {\n    uVar1 = param_4[2];\n    if ((uVar1 & 0x10) != 0) {\n      uVar1 = *(uint *)(param_1 + 8);\n    }\n    iVar6 = *(int *)(param_1 + 0xc);\n    iVar5 = param_1 + iVar6 * 8;\n    for (; iVar6 != 0; iVar6 = iVar6 + -1) {\n      uVar3 = *(uint *)(iVar5 + 0xc);\n      local_40 = 0;\n      local_3c = 0;\n      local_34 = 0;\n      if ((uVar1 & 1) != 0 || (uVar3 & 2) != 0) {\n        if (param_3 == (int *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = param_4[3];\n          if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }\n        }\n      }\n      iVar5 = iVar5 + -8;\n    }\n    uVar1 = (uint)(param_4[1] != 0);\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_0038ca7c(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  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int local_40;\n  uint local_3c;\n  uint local_38;\n  int local_34;\n  uint local_30;\n  \n  uVar1 = (*(code *)PTR___do_upcast_004c50a8)();\n  if (uVar1 == 0) {\n    uVar1 = param_4[2];\n    if ((uVar1 & 0x10) != 0) {\n      uVar1 = *(uint *)(param_1 + 8);\n    }\n    iVar6 = *(int *)(param_1 + 0xc);\n    iVar5 = param_1 + iVar6 * 8;\n    for (; iVar6 != 0; iVar6 = iVar6 + -1) {\n      uVar3 = *(uint *)(iVar5 + 0xc);\n      local_40 = 0;\n      local_3c = 0;\n      local_34 = 0;\n      if ((uVar1 & 1) != 0 || (uVar3 & 2) != 0) {\n        if (param_3 == (int *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = param_4[3];\n          if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }\n        }\n      }\n      iVar5 = iVar5 + -8;\n    }\n    uVar1 = (uint)(param_4[1] != 0);\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int local_40;" primitive_type identifier ;) (declaration "uint local_3c;" type_identifier identifier ;) (declaration "uint local_38;" type_identifier identifier ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "uint local_30;" type_identifier identifier ;) (expression_statement "uVar1 = (*(code *)PTR___do_upcast_004c50a8)();" (assignment_expression "uVar1 = (*(code *)PTR___do_upcast_004c50a8)()" identifier = (call_expression "(*(code *)PTR___do_upcast_004c50a8)()" (parenthesized_expression "(*(code *)PTR___do_upcast_004c50a8)" ( (pointer_expression "*(code *)PTR___do_upcast_004c50a8" * (cast_expression "(code *)PTR___do_upcast_004c50a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (uVar1 == 0) {\n    uVar1 = param_4[2];\n    if ((uVar1 & 0x10) != 0) {\n      uVar1 = *(uint *)(param_1 + 8);\n    }\n    iVar6 = *(int *)(param_1 + 0xc);\n    iVar5 = param_1 + iVar6 * 8;\n    for (; iVar6 != 0; iVar6 = iVar6 + -1) {\n      uVar3 = *(uint *)(iVar5 + 0xc);\n      local_40 = 0;\n      local_3c = 0;\n      local_34 = 0;\n      if ((uVar1 & 1) != 0 || (uVar3 & 2) != 0) {\n        if (param_3 == (int *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = param_4[3];\n          if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }\n        }\n      }\n      iVar5 = iVar5 + -8;\n    }\n    uVar1 = (uint)(param_4[1] != 0);\n  }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar1 = param_4[2];\n    if ((uVar1 & 0x10) != 0) {\n      uVar1 = *(uint *)(param_1 + 8);\n    }\n    iVar6 = *(int *)(param_1 + 0xc);\n    iVar5 = param_1 + iVar6 * 8;\n    for (; iVar6 != 0; iVar6 = iVar6 + -1) {\n      uVar3 = *(uint *)(iVar5 + 0xc);\n      local_40 = 0;\n      local_3c = 0;\n      local_34 = 0;\n      if ((uVar1 & 1) != 0 || (uVar3 & 2) != 0) {\n        if (param_3 == (int *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = param_4[3];\n          if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }\n        }\n      }\n      iVar5 = iVar5 + -8;\n    }\n    uVar1 = (uint)(param_4[1] != 0);\n  }" { (expression_statement "uVar1 = param_4[2];" (assignment_expression "uVar1 = param_4[2]" identifier = (subscript_expression "param_4[2]" identifier [ number_literal ])) ;) (if_statement "if ((uVar1 & 0x10) != 0) {\n      uVar1 = *(uint *)(param_1 + 8);\n    }" if (parenthesized_expression "((uVar1 & 0x10) != 0)" ( (binary_expression "(uVar1 & 0x10) != 0" (parenthesized_expression "(uVar1 & 0x10)" ( (binary_expression "uVar1 & 0x10" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      uVar1 = *(uint *)(param_1 + 8);\n    }" { (expression_statement "uVar1 = *(uint *)(param_1 + 8);" (assignment_expression "uVar1 = *(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) ))))) ;) (expression_statement "iVar5 = param_1 + iVar6 * 8;" (assignment_expression "iVar5 = param_1 + iVar6 * 8" identifier = (binary_expression "param_1 + iVar6 * 8" identifier + (binary_expression "iVar6 * 8" identifier * number_literal))) ;) (for_statement "for (; iVar6 != 0; iVar6 = iVar6 + -1) {\n      uVar3 = *(uint *)(iVar5 + 0xc);\n      local_40 = 0;\n      local_3c = 0;\n      local_34 = 0;\n      if ((uVar1 & 1) != 0 || (uVar3 & 2) != 0) {\n        if (param_3 == (int *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = param_4[3];\n          if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }\n        }\n      }\n      iVar5 = iVar5 + -8;\n    }" for ( ; (binary_expression "iVar6 != 0" identifier != number_literal) ; (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ) (compound_statement "{\n      uVar3 = *(uint *)(iVar5 + 0xc);\n      local_40 = 0;\n      local_3c = 0;\n      local_34 = 0;\n      if ((uVar1 & 1) != 0 || (uVar3 & 2) != 0) {\n        if (param_3 == (int *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = param_4[3];\n          if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }\n        }\n      }\n      iVar5 = iVar5 + -8;\n    }" { (expression_statement "uVar3 = *(uint *)(iVar5 + 0xc);" (assignment_expression "uVar3 = *(uint *)(iVar5 + 0xc)" identifier = (pointer_expression "*(uint *)(iVar5 + 0xc)" * (cast_expression "(uint *)(iVar5 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xc)" ( (binary_expression "iVar5 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" identifier = number_literal) ;) (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" identifier = number_literal) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (if_statement "if ((uVar1 & 1) != 0 || (uVar3 & 2) != 0) {\n        if (param_3 == (int *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = param_4[3];\n          if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }\n        }\n      }" if (parenthesized_expression "((uVar1 & 1) != 0 || (uVar3 & 2) != 0)" ( (binary_expression "(uVar1 & 1) != 0 || (uVar3 & 2) != 0" (binary_expression "(uVar1 & 1) != 0" (parenthesized_expression "(uVar1 & 1)" ( (binary_expression "uVar1 & 1" identifier & number_literal) )) != number_literal) || (binary_expression "(uVar3 & 2) != 0" (parenthesized_expression "(uVar3 & 2)" ( (binary_expression "uVar3 & 2" identifier & number_literal) )) != number_literal)) )) (compound_statement "{\n        if (param_3 == (int *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = param_4[3];\n          if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }\n        }\n      }" { (if_statement "if (param_3 == (int *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\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          iVar4 = 0;\n        }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\n        }" else (compound_statement "{\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\n        }" { (expression_statement "iVar4 = (int)uVar3 >> 8;" (assignment_expression "iVar4 = (int)uVar3 >> 8" identifier = (binary_expression "(int)uVar3 >> 8" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (if_statement "if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }" if (parenthesized_expression "((uVar3 & 1) != 0)" ( (binary_expression "(uVar3 & 1) != 0" (parenthesized_expression "(uVar3 & 1)" ( (binary_expression "uVar3 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }" { (expression_statement "iVar4 = *(int *)(*param_3 + iVar4);" (assignment_expression "iVar4 = *(int *)(*param_3 + iVar4)" identifier = (pointer_expression "*(int *)(*param_3 + iVar4)" * (cast_expression "(int *)(*param_3 + iVar4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + iVar4)" ( (binary_expression "*param_3 + iVar4" (pointer_expression "*param_3" * identifier) + identifier) ))))) ;) })) (expression_statement "iVar4 = (int)param_3 + iVar4;" (assignment_expression "iVar4 = (int)param_3 + iVar4" identifier = (binary_expression "(int)param_3 + iVar4" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) + identifier)) ;) }))) (expression_statement "local_38 = uVar1;" (assignment_expression "local_38 = uVar1" identifier = identifier) ;) (expression_statement "uVar2 = (**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40);" (assignment_expression "uVar2 = (**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40)" identifier = (call_expression "(**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40)" (parenthesized_expression "(**(code **)(**(int **)(iVar5 + 8) + 0x18))" ( (pointer_expression "**(code **)(**(int **)(iVar5 + 8) + 0x18)" * (pointer_expression "*(code **)(**(int **)(iVar5 + 8) + 0x18)" * (cast_expression "(code **)(**(int **)(iVar5 + 8) + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(iVar5 + 8) + 0x18)" ( (binary_expression "**(int **)(iVar5 + 8) + 0x18" (pointer_expression "**(int **)(iVar5 + 8)" * (pointer_expression "*(int **)(iVar5 + 8)" * (cast_expression "(int **)(iVar5 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "(*(int **)(iVar5 + 8),param_2,iVar4,&local_40)" ( (pointer_expression "*(int **)(iVar5 + 8)" * (cast_expression "(int **)(iVar5 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) )))) , identifier , identifier , (pointer_expression "&local_40" & identifier) )))) ;) (if_statement "if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = param_4[3];\n          if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }\n        }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = param_4[3];\n          if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }\n        }" { (if_statement "if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }" if (parenthesized_expression "((local_34 == 8) && ((uVar3 & 1) != 0))" ( (binary_expression "(local_34 == 8) && ((uVar3 & 1) != 0)" (parenthesized_expression "(local_34 == 8)" ( (binary_expression "local_34 == 8" identifier == number_literal) )) && (parenthesized_expression "((uVar3 & 1) != 0)" ( (binary_expression "(uVar3 & 1) != 0" (parenthesized_expression "(uVar3 & 1)" ( (binary_expression "uVar3 & 1" identifier & number_literal) )) != number_literal) ))) )) (compound_statement "{\n            local_34 = *(int *)(iVar5 + 8);\n          }" { (expression_statement "local_34 = *(int *)(iVar5 + 8);" (assignment_expression "local_34 = *(int *)(iVar5 + 8)" identifier = (pointer_expression "*(int *)(iVar5 + 8)" * (cast_expression "(int *)(iVar5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) ))))) ;) })) (if_statement "if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }" if (parenthesized_expression "((3 < (int)local_3c) && ((uVar3 & 2) == 0))" ( (binary_expression "(3 < (int)local_3c) && ((uVar3 & 2) == 0)" (parenthesized_expression "(3 < (int)local_3c)" ( (binary_expression "3 < (int)local_3c" number_literal < (cast_expression "(int)local_3c" ( (type_descriptor "int" primitive_type) ) identifier)) )) && (parenthesized_expression "((uVar3 & 2) == 0)" ( (binary_expression "(uVar3 & 2) == 0" (parenthesized_expression "(uVar3 & 2)" ( (binary_expression "uVar3 & 2" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n            local_3c = local_3c & 0xfffffffd;\n          }" { (expression_statement "local_3c = local_3c & 0xfffffffd;" (assignment_expression "local_3c = local_3c & 0xfffffffd" identifier = (binary_expression "local_3c & 0xfffffffd" identifier & number_literal)) ;) })) (expression_statement "iVar4 = param_4[3];" (assignment_expression "iVar4 = param_4[3]" identifier = (subscript_expression "param_4[3]" identifier [ number_literal ])) ;) (if_statement "if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }" { (expression_statement "*param_4 = local_40;" (assignment_expression "*param_4 = local_40" (pointer_expression "*param_4" * identifier) = identifier) ;) (expression_statement "param_4[1] = local_3c;" (assignment_expression "param_4[1] = local_3c" (subscript_expression "param_4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_4[2] = local_38;" (assignment_expression "param_4[2] = local_38" (subscript_expression "param_4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_4[3] = local_34;" (assignment_expression "param_4[3] = local_34" (subscript_expression "param_4[3]" identifier [ number_literal ]) = identifier) ;) (if_statement "if ((int)local_3c < 4) {\n              return uVar2;\n            }" if (parenthesized_expression "((int)local_3c < 4)" ( (binary_expression "(int)local_3c < 4" (cast_expression "(int)local_3c" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n              return uVar2;\n            }" { (return_statement "return uVar2;" return identifier ;) })) (if_statement "if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }" if (parenthesized_expression "((local_3c & 2) == 0)" ( (binary_expression "(local_3c & 2) == 0" (parenthesized_expression "(local_3c & 2)" ( (binary_expression "local_3c & 2" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }" { (if_statement "if ((local_3c & 1) == 0) {\n                return uVar2;\n              }" if (parenthesized_expression "((local_3c & 1) == 0)" ( (binary_expression "(local_3c & 1) == 0" (parenthesized_expression "(local_3c & 1)" ( (binary_expression "local_3c & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n                return uVar2;\n              }" { (return_statement "return uVar2;" return identifier ;) })) (expression_statement "uVar3 = *(uint *)(param_1 + 8) & 2;" (assignment_expression "uVar3 = *(uint *)(param_1 + 8) & 2" identifier = (binary_expression "*(uint *)(param_1 + 8) & 2" (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) )))) & number_literal)) ;) }) (else_clause "else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }" else (compound_statement "{\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }" { (expression_statement "uVar3 = *(uint *)(param_1 + 8) & 1;" (assignment_expression "uVar3 = *(uint *)(param_1 + 8) & 1" identifier = (binary_expression "*(uint *)(param_1 + 8) & 1" (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) )))) & number_literal)) ;) }))) (if_statement "if (uVar3 == 0) {\n              return uVar2;\n            }" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (compound_statement "{\n              return uVar2;\n            }" { (return_statement "return uVar2;" return identifier ;) })) }) (else_clause "else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }" else (compound_statement "{\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }" { (if_statement "if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }" if (parenthesized_expression "(*param_4 != local_40)" ( (binary_expression "*param_4 != local_40" (pointer_expression "*param_4" * identifier) != identifier) )) (compound_statement "{\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\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 uVar2;" return identifier ;) })) (if_statement "if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }" if (parenthesized_expression "((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0))))))))" ( (binary_expression "(*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))" (parenthesized_expression "(*param_4 == 0)" ( (binary_expression "*param_4 == 0" (pointer_expression "*param_4" * identifier) == number_literal) )) && (parenthesized_expression "(((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))" ( (parenthesized_expression "((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0))))))" ( (binary_expression "(local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))" (parenthesized_expression "(local_34 == 8 || (iVar4 == 8))" ( (binary_expression "local_34 == 8 || (iVar4 == 8)" (binary_expression "local_34 == 8" identifier == number_literal) || (parenthesized_expression "(iVar4 == 8)" ( (binary_expression "iVar4 == 8" identifier == number_literal) ))) )) || (parenthesized_expression "((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))" ( (parenthesized_expression "(*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0))))" ( (binary_expression "*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))" (binary_expression "*(char **)(local_34 + 4) != *(char **)(iVar4 + 4)" (pointer_expression "*(char **)(local_34 + 4)" * (cast_expression "(char **)(local_34 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_34 + 4)" ( (binary_expression "local_34 + 4" identifier + number_literal) )))) != (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 "((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))" ( (parenthesized_expression "(**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0))" ( (binary_expression "**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)" (binary_expression "**(char **)(local_34 + 4) == '*'" (pointer_expression "**(char **)(local_34 + 4)" * (pointer_expression "*(char **)(local_34 + 4)" * (cast_expression "(char **)(local_34 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_34 + 4)" ( (binary_expression "local_34 + 4" identifier + number_literal) ))))) == (char_literal "'*'" ' character ')) || (parenthesized_expression "(local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)" ( (comma_expression "local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0" (assignment_expression "local_30 = uVar2" identifier = identifier) , (comma_expression "iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_004c5a68)()" identifier = (call_expression "(*(code *)PTR_strcmp_004c5a68)()" (parenthesized_expression "(*(code *)PTR_strcmp_004c5a68)" ( (pointer_expression "*(code *)PTR_strcmp_004c5a68" * (cast_expression "(code *)PTR_strcmp_004c5a68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) , (comma_expression "uVar2 = local_30,\n                  iVar4 != 0" (assignment_expression "uVar2 = local_30" identifier = identifier) , (binary_expression "iVar4 != 0" identifier != number_literal)))) ))) )) ))) )) ))) )) ))) )) (compound_statement "{\n              param_4[1] = 2;\n              return uVar2;\n            }" { (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 uVar2;" return identifier ;) })) (expression_statement "param_4[1] = param_4[1] | local_3c;" (assignment_expression "param_4[1] = param_4[1] | local_3c" (subscript_expression "param_4[1]" identifier [ number_literal ]) = (binary_expression "param_4[1] | local_3c" (subscript_expression "param_4[1]" identifier [ number_literal ]) | identifier)) ;) }))) })) })) (expression_statement "iVar5 = iVar5 + -8;" (assignment_expression "iVar5 = iVar5 + -8" identifier = (binary_expression "iVar5 + -8" identifier + number_literal)) ;) })) (expression_statement "uVar1 = (uint)(param_4[1] != 0);" (assignment_expression "uVar1 = (uint)(param_4[1] != 0)" identifier = (call_expression "(uint)(param_4[1] != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_4[1] != 0)" ( (binary_expression "param_4[1] != 0" (subscript_expression "param_4[1]" identifier [ number_literal ]) != number_literal) )))) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(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 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 (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (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) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (for_statement for ( ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (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 { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (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 (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT)) ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (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 * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (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) ))))) ;) })) (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 (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) == (char_literal ' character ')) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != LIT)))) ))) )) ))) )) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) | IDENT)) ;) }))) })) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )))) ;) })) (return_statement return IDENT ;) })))
(function_definition "uint FUN_0038ca7c(int param_1,undefined4 param_2,int *param_3,int *param_4)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int local_40;\n  uint local_3c;\n  uint local_38;\n  int local_34;\n  uint local_30;\n  \n  uVar1 = (*(code *)PTR___do_upcast_004c50a8)();\n  if (uVar1 == 0) {\n    uVar1 = param_4[2];\n    if ((uVar1 & 0x10) != 0) {\n      uVar1 = *(uint *)(param_1 + 8);\n    }\n    iVar6 = *(int *)(param_1 + 0xc);\n    iVar5 = param_1 + iVar6 * 8;\n    for (; iVar6 != 0; iVar6 = iVar6 + -1) {\n      uVar3 = *(uint *)(iVar5 + 0xc);\n      local_40 = 0;\n      local_3c = 0;\n      local_34 = 0;\n      if ((uVar1 & 1) != 0 || (uVar3 & 2) != 0) {\n        if (param_3 == (int *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = param_4[3];\n          if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }\n        }\n      }\n      iVar5 = iVar5 + -8;\n    }\n    uVar1 = (uint)(param_4[1] != 0);\n  }\n  return uVar1;\n}" (type_identifier "uint") (function_declarator "FUN_0038ca7c(int param_1,undefined4 param_2,int *param_3,int *param_4)" (identifier "FUN_0038ca7c") (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  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int local_40;\n  uint local_3c;\n  uint local_38;\n  int local_34;\n  uint local_30;\n  \n  uVar1 = (*(code *)PTR___do_upcast_004c50a8)();\n  if (uVar1 == 0) {\n    uVar1 = param_4[2];\n    if ((uVar1 & 0x10) != 0) {\n      uVar1 = *(uint *)(param_1 + 8);\n    }\n    iVar6 = *(int *)(param_1 + 0xc);\n    iVar5 = param_1 + iVar6 * 8;\n    for (; iVar6 != 0; iVar6 = iVar6 + -1) {\n      uVar3 = *(uint *)(iVar5 + 0xc);\n      local_40 = 0;\n      local_3c = 0;\n      local_34 = 0;\n      if ((uVar1 & 1) != 0 || (uVar3 & 2) != 0) {\n        if (param_3 == (int *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = param_4[3];\n          if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }\n        }\n      }\n      iVar5 = iVar5 + -8;\n    }\n    uVar1 = (uint)(param_4[1] != 0);\n  }\n  return uVar1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int local_40;" (primitive_type "int") (identifier "local_40") (; ";")) (declaration "uint local_3c;" (type_identifier "uint") (identifier "local_3c") (; ";")) (declaration "uint local_38;" (type_identifier "uint") (identifier "local_38") (; ";")) (declaration "int local_34;" (primitive_type "int") (identifier "local_34") (; ";")) (declaration "uint local_30;" (type_identifier "uint") (identifier "local_30") (; ";")) (expression_statement "uVar1 = (*(code *)PTR___do_upcast_004c50a8)();" (assignment_expression "uVar1 = (*(code *)PTR___do_upcast_004c50a8)()" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR___do_upcast_004c50a8)()" (parenthesized_expression "(*(code *)PTR___do_upcast_004c50a8)" (( "(") (pointer_expression "*(code *)PTR___do_upcast_004c50a8" (* "*") (cast_expression "(code *)PTR___do_upcast_004c50a8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___do_upcast_004c50a8"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (uVar1 == 0) {\n    uVar1 = param_4[2];\n    if ((uVar1 & 0x10) != 0) {\n      uVar1 = *(uint *)(param_1 + 8);\n    }\n    iVar6 = *(int *)(param_1 + 0xc);\n    iVar5 = param_1 + iVar6 * 8;\n    for (; iVar6 != 0; iVar6 = iVar6 + -1) {\n      uVar3 = *(uint *)(iVar5 + 0xc);\n      local_40 = 0;\n      local_3c = 0;\n      local_34 = 0;\n      if ((uVar1 & 1) != 0 || (uVar3 & 2) != 0) {\n        if (param_3 == (int *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = param_4[3];\n          if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }\n        }\n      }\n      iVar5 = iVar5 + -8;\n    }\n    uVar1 = (uint)(param_4[1] != 0);\n  }" (if "if") (parenthesized_expression "(uVar1 == 0)" (( "(") (binary_expression "uVar1 == 0" (identifier "uVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = param_4[2];\n    if ((uVar1 & 0x10) != 0) {\n      uVar1 = *(uint *)(param_1 + 8);\n    }\n    iVar6 = *(int *)(param_1 + 0xc);\n    iVar5 = param_1 + iVar6 * 8;\n    for (; iVar6 != 0; iVar6 = iVar6 + -1) {\n      uVar3 = *(uint *)(iVar5 + 0xc);\n      local_40 = 0;\n      local_3c = 0;\n      local_34 = 0;\n      if ((uVar1 & 1) != 0 || (uVar3 & 2) != 0) {\n        if (param_3 == (int *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = param_4[3];\n          if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }\n        }\n      }\n      iVar5 = iVar5 + -8;\n    }\n    uVar1 = (uint)(param_4[1] != 0);\n  }" ({ "{") (expression_statement "uVar1 = param_4[2];" (assignment_expression "uVar1 = param_4[2]" (identifier "uVar1") (= "=") (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]"))) (; ";")) (if_statement "if ((uVar1 & 0x10) != 0) {\n      uVar1 = *(uint *)(param_1 + 8);\n    }" (if "if") (parenthesized_expression "((uVar1 & 0x10) != 0)" (( "(") (binary_expression "(uVar1 & 0x10) != 0" (parenthesized_expression "(uVar1 & 0x10)" (( "(") (binary_expression "uVar1 & 0x10" (identifier "uVar1") (& "&") (number_literal "0x10")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar1 = *(uint *)(param_1 + 8);\n    }" ({ "{") (expression_statement "uVar1 = *(uint *)(param_1 + 8);" (assignment_expression "uVar1 = *(uint *)(param_1 + 8)" (identifier "uVar1") (= "=") (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")) () ")"))))) (; ";")) (expression_statement "iVar5 = param_1 + iVar6 * 8;" (assignment_expression "iVar5 = param_1 + iVar6 * 8" (identifier "iVar5") (= "=") (binary_expression "param_1 + iVar6 * 8" (identifier "param_1") (+ "+") (binary_expression "iVar6 * 8" (identifier "iVar6") (* "*") (number_literal "8")))) (; ";")) (for_statement "for (; iVar6 != 0; iVar6 = iVar6 + -1) {\n      uVar3 = *(uint *)(iVar5 + 0xc);\n      local_40 = 0;\n      local_3c = 0;\n      local_34 = 0;\n      if ((uVar1 & 1) != 0 || (uVar3 & 2) != 0) {\n        if (param_3 == (int *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = param_4[3];\n          if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }\n        }\n      }\n      iVar5 = iVar5 + -8;\n    }" (for "for") (( "(") (; ";") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar6 = iVar6 + -1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n      uVar3 = *(uint *)(iVar5 + 0xc);\n      local_40 = 0;\n      local_3c = 0;\n      local_34 = 0;\n      if ((uVar1 & 1) != 0 || (uVar3 & 2) != 0) {\n        if (param_3 == (int *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = param_4[3];\n          if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }\n        }\n      }\n      iVar5 = iVar5 + -8;\n    }" ({ "{") (expression_statement "uVar3 = *(uint *)(iVar5 + 0xc);" (assignment_expression "uVar3 = *(uint *)(iVar5 + 0xc)" (identifier "uVar3") (= "=") (pointer_expression "*(uint *)(iVar5 + 0xc)" (* "*") (cast_expression "(uint *)(iVar5 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0xc)" (( "(") (binary_expression "iVar5 + 0xc" (identifier "iVar5") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" (identifier "local_40") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" (identifier "local_3c") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" (identifier "local_34") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((uVar1 & 1) != 0 || (uVar3 & 2) != 0) {\n        if (param_3 == (int *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = param_4[3];\n          if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }\n        }\n      }" (if "if") (parenthesized_expression "((uVar1 & 1) != 0 || (uVar3 & 2) != 0)" (( "(") (binary_expression "(uVar1 & 1) != 0 || (uVar3 & 2) != 0" (binary_expression "(uVar1 & 1) != 0" (parenthesized_expression "(uVar1 & 1)" (( "(") (binary_expression "uVar1 & 1" (identifier "uVar1") (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) (|| "||") (binary_expression "(uVar3 & 2) != 0" (parenthesized_expression "(uVar3 & 2)" (( "(") (binary_expression "uVar3 & 2" (identifier "uVar3") (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n        if (param_3 == (int *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\n        }\n        local_38 = uVar1;\n        uVar2 = (**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40);\n        if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = param_4[3];\n          if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }\n        }\n      }" ({ "{") (if_statement "if (param_3 == (int *)0x0) {\n          iVar4 = 0;\n        }\n        else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\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          iVar4 = 0;\n        }" ({ "{") (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\n        }" (else "else") (compound_statement "{\n          iVar4 = (int)uVar3 >> 8;\n          if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }\n          iVar4 = (int)param_3 + iVar4;\n        }" ({ "{") (expression_statement "iVar4 = (int)uVar3 >> 8;" (assignment_expression "iVar4 = (int)uVar3 >> 8" (identifier "iVar4") (= "=") (binary_expression "(int)uVar3 >> 8" (cast_expression "(int)uVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar3")) (>> ">>") (number_literal "8"))) (; ";")) (if_statement "if ((uVar3 & 1) != 0) {\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }" (if "if") (parenthesized_expression "((uVar3 & 1) != 0)" (( "(") (binary_expression "(uVar3 & 1) != 0" (parenthesized_expression "(uVar3 & 1)" (( "(") (binary_expression "uVar3 & 1" (identifier "uVar3") (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            iVar4 = *(int *)(*param_3 + iVar4);\n          }" ({ "{") (expression_statement "iVar4 = *(int *)(*param_3 + iVar4);" (assignment_expression "iVar4 = *(int *)(*param_3 + iVar4)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(*param_3 + iVar4)" (* "*") (cast_expression "(int *)(*param_3 + iVar4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_3 + iVar4)" (( "(") (binary_expression "*param_3 + iVar4" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (identifier "iVar4")) () ")"))))) (; ";")) (} "}"))) (expression_statement "iVar4 = (int)param_3 + iVar4;" (assignment_expression "iVar4 = (int)param_3 + iVar4" (identifier "iVar4") (= "=") (binary_expression "(int)param_3 + iVar4" (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3")) (+ "+") (identifier "iVar4"))) (; ";")) (} "}")))) (expression_statement "local_38 = uVar1;" (assignment_expression "local_38 = uVar1" (identifier "local_38") (= "=") (identifier "uVar1")) (; ";")) (expression_statement "uVar2 = (**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40);" (assignment_expression "uVar2 = (**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40)" (identifier "uVar2") (= "=") (call_expression "(**(code **)(**(int **)(iVar5 + 8) + 0x18))\n                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40)" (parenthesized_expression "(**(code **)(**(int **)(iVar5 + 8) + 0x18))" (( "(") (pointer_expression "**(code **)(**(int **)(iVar5 + 8) + 0x18)" (* "*") (pointer_expression "*(code **)(**(int **)(iVar5 + 8) + 0x18)" (* "*") (cast_expression "(code **)(**(int **)(iVar5 + 8) + 0x18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(**(int **)(iVar5 + 8) + 0x18)" (( "(") (binary_expression "**(int **)(iVar5 + 8) + 0x18" (pointer_expression "**(int **)(iVar5 + 8)" (* "*") (pointer_expression "*(int **)(iVar5 + 8)" (* "*") (cast_expression "(int **)(iVar5 + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar5 + 8)" (( "(") (binary_expression "iVar5 + 8" (identifier "iVar5") (+ "+") (number_literal "8")) () ")"))))) (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (argument_list "(*(int **)(iVar5 + 8),param_2,iVar4,&local_40)" (( "(") (pointer_expression "*(int **)(iVar5 + 8)" (* "*") (cast_expression "(int **)(iVar5 + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar5 + 8)" (( "(") (binary_expression "iVar5 + 8" (identifier "iVar5") (+ "+") (number_literal "8")) () ")")))) (, ",") (identifier "param_2") (, ",") (identifier "iVar4") (, ",") (pointer_expression "&local_40" (& "&") (identifier "local_40")) () ")")))) (; ";")) (if_statement "if (uVar2 != 0) {\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = param_4[3];\n          if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }\n        }" (if "if") (parenthesized_expression "(uVar2 != 0)" (( "(") (binary_expression "uVar2 != 0" (identifier "uVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }\n          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }\n          iVar4 = param_4[3];\n          if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }\n        }" ({ "{") (if_statement "if ((local_34 == 8) && ((uVar3 & 1) != 0)) {\n            local_34 = *(int *)(iVar5 + 8);\n          }" (if "if") (parenthesized_expression "((local_34 == 8) && ((uVar3 & 1) != 0))" (( "(") (binary_expression "(local_34 == 8) && ((uVar3 & 1) != 0)" (parenthesized_expression "(local_34 == 8)" (( "(") (binary_expression "local_34 == 8" (identifier "local_34") (== "==") (number_literal "8")) () ")")) (&& "&&") (parenthesized_expression "((uVar3 & 1) != 0)" (( "(") (binary_expression "(uVar3 & 1) != 0" (parenthesized_expression "(uVar3 & 1)" (( "(") (binary_expression "uVar3 & 1" (identifier "uVar3") (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n            local_34 = *(int *)(iVar5 + 8);\n          }" ({ "{") (expression_statement "local_34 = *(int *)(iVar5 + 8);" (assignment_expression "local_34 = *(int *)(iVar5 + 8)" (identifier "local_34") (= "=") (pointer_expression "*(int *)(iVar5 + 8)" (* "*") (cast_expression "(int *)(iVar5 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 8)" (( "(") (binary_expression "iVar5 + 8" (identifier "iVar5") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (} "}"))) (if_statement "if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {\n            local_3c = local_3c & 0xfffffffd;\n          }" (if "if") (parenthesized_expression "((3 < (int)local_3c) && ((uVar3 & 2) == 0))" (( "(") (binary_expression "(3 < (int)local_3c) && ((uVar3 & 2) == 0)" (parenthesized_expression "(3 < (int)local_3c)" (( "(") (binary_expression "3 < (int)local_3c" (number_literal "3") (< "<") (cast_expression "(int)local_3c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_3c"))) () ")")) (&& "&&") (parenthesized_expression "((uVar3 & 2) == 0)" (( "(") (binary_expression "(uVar3 & 2) == 0" (parenthesized_expression "(uVar3 & 2)" (( "(") (binary_expression "uVar3 & 2" (identifier "uVar3") (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n            local_3c = local_3c & 0xfffffffd;\n          }" ({ "{") (expression_statement "local_3c = local_3c & 0xfffffffd;" (assignment_expression "local_3c = local_3c & 0xfffffffd" (identifier "local_3c") (= "=") (binary_expression "local_3c & 0xfffffffd" (identifier "local_3c") (& "&") (number_literal "0xfffffffd"))) (; ";")) (} "}"))) (expression_statement "iVar4 = param_4[3];" (assignment_expression "iVar4 = param_4[3]" (identifier "iVar4") (= "=") (subscript_expression "param_4[3]" (identifier "param_4") ([ "[") (number_literal "3") (] "]"))) (; ";")) (if_statement "if (iVar4 == 0) {\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }\n          else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            *param_4 = local_40;\n            param_4[1] = local_3c;\n            param_4[2] = local_38;\n            param_4[3] = local_34;\n            if ((int)local_3c < 4) {\n              return uVar2;\n            }\n            if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }\n            if (uVar3 == 0) {\n              return uVar2;\n            }\n          }" ({ "{") (expression_statement "*param_4 = local_40;" (assignment_expression "*param_4 = local_40" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (identifier "local_40")) (; ";")) (expression_statement "param_4[1] = local_3c;" (assignment_expression "param_4[1] = local_3c" (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_3c")) (; ";")) (expression_statement "param_4[2] = local_38;" (assignment_expression "param_4[2] = local_38" (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "local_38")) (; ";")) (expression_statement "param_4[3] = local_34;" (assignment_expression "param_4[3] = local_34" (subscript_expression "param_4[3]" (identifier "param_4") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "local_34")) (; ";")) (if_statement "if ((int)local_3c < 4) {\n              return uVar2;\n            }" (if "if") (parenthesized_expression "((int)local_3c < 4)" (( "(") (binary_expression "(int)local_3c < 4" (cast_expression "(int)local_3c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_3c")) (< "<") (number_literal "4")) () ")")) (compound_statement "{\n              return uVar2;\n            }" ({ "{") (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (if_statement "if ((local_3c & 2) == 0) {\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }\n            else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }" (if "if") (parenthesized_expression "((local_3c & 2) == 0)" (( "(") (binary_expression "(local_3c & 2) == 0" (parenthesized_expression "(local_3c & 2)" (( "(") (binary_expression "local_3c & 2" (identifier "local_3c") (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              if ((local_3c & 1) == 0) {\n                return uVar2;\n              }\n              uVar3 = *(uint *)(param_1 + 8) & 2;\n            }" ({ "{") (if_statement "if ((local_3c & 1) == 0) {\n                return uVar2;\n              }" (if "if") (parenthesized_expression "((local_3c & 1) == 0)" (( "(") (binary_expression "(local_3c & 1) == 0" (parenthesized_expression "(local_3c & 1)" (( "(") (binary_expression "local_3c & 1" (identifier "local_3c") (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                return uVar2;\n              }" ({ "{") (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (expression_statement "uVar3 = *(uint *)(param_1 + 8) & 2;" (assignment_expression "uVar3 = *(uint *)(param_1 + 8) & 2" (identifier "uVar3") (= "=") (binary_expression "*(uint *)(param_1 + 8) & 2" (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")) () ")")))) (& "&") (number_literal "2"))) (; ";")) (} "}")) (else_clause "else {\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }" (else "else") (compound_statement "{\n              uVar3 = *(uint *)(param_1 + 8) & 1;\n            }" ({ "{") (expression_statement "uVar3 = *(uint *)(param_1 + 8) & 1;" (assignment_expression "uVar3 = *(uint *)(param_1 + 8) & 1" (identifier "uVar3") (= "=") (binary_expression "*(uint *)(param_1 + 8) & 1" (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")) () ")")))) (& "&") (number_literal "1"))) (; ";")) (} "}")))) (if_statement "if (uVar3 == 0) {\n              return uVar2;\n            }" (if "if") (parenthesized_expression "(uVar3 == 0)" (( "(") (binary_expression "uVar3 == 0" (identifier "uVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              return uVar2;\n            }" ({ "{") (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }" (else "else") (compound_statement "{\n            if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }\n            if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }\n            param_4[1] = param_4[1] | local_3c;\n          }" ({ "{") (if_statement "if (*param_4 != local_40) {\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\n            }" (if "if") (parenthesized_expression "(*param_4 != local_40)" (( "(") (binary_expression "*param_4 != local_40" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (!= "!=") (identifier "local_40")) () ")")) (compound_statement "{\n              *param_4 = 0;\n              param_4[1] = 2;\n              return uVar2;\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 uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (if_statement "if ((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))) {\n              param_4[1] = 2;\n              return uVar2;\n            }" (if "if") (parenthesized_expression "((*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0))))))))" (( "(") (binary_expression "(*param_4 == 0) &&\n               (((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))" (parenthesized_expression "(*param_4 == 0)" (( "(") (binary_expression "*param_4 == 0" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))))" (( "(") (parenthesized_expression "((local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0))))))" (( "(") (binary_expression "(local_34 == 8 || (iVar4 == 8)) ||\n                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))" (parenthesized_expression "(local_34 == 8 || (iVar4 == 8))" (( "(") (binary_expression "local_34 == 8 || (iVar4 == 8)" (binary_expression "local_34 == 8" (identifier "local_34") (== "==") (number_literal "8")) (|| "||") (parenthesized_expression "(iVar4 == 8)" (( "(") (binary_expression "iVar4 == 8" (identifier "iVar4") (== "==") (number_literal "8")) () ")"))) () ")")) (|| "||") (parenthesized_expression "((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))))" (( "(") (parenthesized_expression "(*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0))))" (( "(") (binary_expression "*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&\n                 ((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))" (binary_expression "*(char **)(local_34 + 4) != *(char **)(iVar4 + 4)" (pointer_expression "*(char **)(local_34 + 4)" (* "*") (cast_expression "(char **)(local_34 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(local_34 + 4)" (( "(") (binary_expression "local_34 + 4" (identifier "local_34") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (pointer_expression "*(char **)(iVar4 + 4)" (* "*") (cast_expression "(char **)(iVar4 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar4 + 4)" (( "(") (binary_expression "iVar4 + 4" (identifier "iVar4") (+ "+") (number_literal "4")) () ")"))))) (&& "&&") (parenthesized_expression "((**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)))" (( "(") (parenthesized_expression "(**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0))" (( "(") (binary_expression "**(char **)(local_34 + 4) == '*' ||\n                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)" (binary_expression "**(char **)(local_34 + 4) == '*'" (pointer_expression "**(char **)(local_34 + 4)" (* "*") (pointer_expression "*(char **)(local_34 + 4)" (* "*") (cast_expression "(char **)(local_34 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(local_34 + 4)" (( "(") (binary_expression "local_34 + 4" (identifier "local_34") (+ "+") (number_literal "4")) () ")"))))) (== "==") (char_literal "'*'" (' "'") (character "*") (' "'"))) (|| "||") (parenthesized_expression "(local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0)" (( "(") (comma_expression "local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0" (assignment_expression "local_30 = uVar2" (identifier "local_30") (= "=") (identifier "uVar2")) (, ",") (comma_expression "iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,\n                  iVar4 != 0" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_004c5a68)()" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_strcmp_004c5a68)()" (parenthesized_expression "(*(code *)PTR_strcmp_004c5a68)" (( "(") (pointer_expression "*(code *)PTR_strcmp_004c5a68" (* "*") (cast_expression "(code *)PTR_strcmp_004c5a68" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_004c5a68"))) () ")")) (argument_list "()" (( "(") () ")")))) (, ",") (comma_expression "uVar2 = local_30,\n                  iVar4 != 0" (assignment_expression "uVar2 = local_30" (identifier "uVar2") (= "=") (identifier "local_30")) (, ",") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0"))))) () ")"))) () ")")) () ")"))) () ")")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n              param_4[1] = 2;\n              return uVar2;\n            }" ({ "{") (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 uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (expression_statement "param_4[1] = param_4[1] | local_3c;" (assignment_expression "param_4[1] = param_4[1] | local_3c" (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "param_4[1] | local_3c" (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]")) (| "|") (identifier "local_3c"))) (; ";")) (} "}")))) (} "}"))) (} "}"))) (expression_statement "iVar5 = iVar5 + -8;" (assignment_expression "iVar5 = iVar5 + -8" (identifier "iVar5") (= "=") (binary_expression "iVar5 + -8" (identifier "iVar5") (+ "+") (number_literal "-8"))) (; ";")) (} "}"))) (expression_statement "uVar1 = (uint)(param_4[1] != 0);" (assignment_expression "uVar1 = (uint)(param_4[1] != 0)" (identifier "uVar1") (= "=") (call_expression "(uint)(param_4[1] != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_4[1] != 0)" (( "(") (binary_expression "param_4[1] != 0" (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")")))) (; ";")) (} "}"))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

/* __cxxabiv1::__vmi_class_type_info::__do_upcast(__cxxabiv1::__class_type_info const*, void const*,
   __cxxabiv1::__class_type_info::__upcast_result&) const */

type_1 __thiscall
__cxxabiv1::type_2::function_1
          (type_2 *var_3,type_3 *param_1,void *var_7,
          type_4 *var_2)

{
  type_1 var_1;
  type_1 var_9;
  type_1 var_6;
  int var_8;
  type_2 *var_5;
  int var_4;
  int var_12;
  type_1 var_11;
  type_1 local_38;
  int var_10;
  type_1 local_30;
  
  var_1 = (*(type_5 *)PTR___do_upcast_004c50a8)();
  if (var_1 == 0) {
    var_1 = *(type_1 *)(var_2 + 8);
    if ((var_1 & 0x10) != 0) {
      var_1 = *(type_1 *)(var_3 + 8);
    }
    var_4 = *(int *)(var_3 + 0xc);
    var_5 = var_3 + var_4 * 8;
    for (; var_4 != 0; var_4 = var_4 + -1) {
      var_6 = *(type_1 *)(var_5 + 0xc);
      var_12 = 0;
      var_11 = 0;
      var_10 = 0;
      if ((var_1 & 1) != 0 || (var_6 & 2) != 0) {
        if (var_7 == (void *)0x0) {
          var_8 = 0;
        }
        else {
          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 = (int)var_7 + var_8;
        }
        local_38 = var_1;
        var_9 = (**(type_5 **)(**(int **)(var_5 + 8) + 0x18))
                          (*(int **)(var_5 + 8),param_1,var_8,&var_12);
        if (var_9 != 0) {
          if ((var_10 == 8) && ((var_6 & 1) != 0)) {
            var_10 = *(int *)(var_5 + 8);
          }
          if ((3 < (int)var_11) && ((var_6 & 2) == 0)) {
            var_11 = var_11 & 0xfffffffd;
          }
          var_8 = *(int *)(var_2 + 0xc);
          if (var_8 == 0) {
            *(int *)var_2 = var_12;
            *(type_1 *)(var_2 + 4) = var_11;
            *(type_1 *)(var_2 + 8) = local_38;
            *(int *)(var_2 + 0xc) = var_10;
            if ((int)var_11 < 4) {
              return var_9;
            }
            if ((var_11 & 2) == 0) {
              if ((var_11 & 1) == 0) {
                return var_9;
              }
              var_6 = *(type_1 *)(var_3 + 8) & 2;
            }
            else {
              var_6 = *(type_1 *)(var_3 + 8) & 1;
            }
            if (var_6 == 0) {
              return var_9;
            }
          }
          else {
            if (*(int *)var_2 != var_12) {
              *(type_6 *)var_2 = 0;
              *(type_6 *)(var_2 + 4) = 2;
              return var_9;
            }
            if ((*(int *)var_2 == 0) &&
               (((var_10 == 8 || (var_8 == 8)) ||
                ((*(char **)(var_10 + 4) != *(char **)(var_8 + 4) &&
                 ((**(char **)(var_10 + 4) == '*' ||
                  (local_30 = var_9, var_8 = (*(type_5 *)PTR_strcmp_004c5a68)(), var_9 = local_30,
                  var_8 != 0)))))))) {
              *(type_6 *)(var_2 + 4) = 2;
              return var_9;
            }
            *(type_1 *)(var_2 + 4) = *(type_1 *)(var_2 + 4) | var_11;
          }
        }
      }
      var_5 = var_5 + -8;
    }
    var_1 = (type_1)(*(int *)(var_2 + 4) != 0);
  }
  return var_1;
}


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

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

{
  uint uVar1;
  uint uVar2;
  uint uVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  int local_40;
  uint local_3c;
  uint local_38;
  int local_34;
  uint local_30;
  
  uVar1 = (*(code *)PTR___do_upcast_004c50a8)();
  if (uVar1 == 0) {
    uVar1 = param_4[2];
    if ((uVar1 & 0x10) != 0) {
      uVar1 = *(uint *)(param_1 + 8);
    }
    iVar6 = *(int *)(param_1 + 0xc);
    iVar5 = param_1 + iVar6 * 8;
    for (; iVar6 != 0; iVar6 = iVar6 + -1) {
      uVar3 = *(uint *)(iVar5 + 0xc);
      local_40 = 0;
      local_3c = 0;
      local_34 = 0;
      if ((uVar1 & 1) != 0 || (uVar3 & 2) != 0) {
        if (param_3 == (int *)0x0) {
          iVar4 = 0;
        }
        else {
          iVar4 = (int)uVar3 >> 8;
          if ((uVar3 & 1) != 0) {
            iVar4 = *(int *)(*param_3 + iVar4);
          }
          iVar4 = (int)param_3 + iVar4;
        }
        local_38 = uVar1;
        uVar2 = (**(code **)(**(int **)(iVar5 + 8) + 0x18))
                          (*(int **)(iVar5 + 8),param_2,iVar4,&local_40);
        if (uVar2 != 0) {
          if ((local_34 == 8) && ((uVar3 & 1) != 0)) {
            local_34 = *(int *)(iVar5 + 8);
          }
          if ((3 < (int)local_3c) && ((uVar3 & 2) == 0)) {
            local_3c = local_3c & 0xfffffffd;
          }
          iVar4 = param_4[3];
          if (iVar4 == 0) {
            *param_4 = local_40;
            param_4[1] = local_3c;
            param_4[2] = local_38;
            param_4[3] = local_34;
            if ((int)local_3c < 4) {
              return uVar2;
            }
            if ((local_3c & 2) == 0) {
              if ((local_3c & 1) == 0) {
                return uVar2;
              }
              uVar3 = *(uint *)(param_1 + 8) & 2;
            }
            else {
              uVar3 = *(uint *)(param_1 + 8) & 1;
            }
            if (uVar3 == 0) {
              return uVar2;
            }
          }
          else {
            if (*param_4 != local_40) {
              *param_4 = 0;
              param_4[1] = 2;
              return uVar2;
            }
            if ((*param_4 == 0) &&
               (((local_34 == 8 || (iVar4 == 8)) ||
                ((*(char **)(local_34 + 4) != *(char **)(iVar4 + 4) &&
                 ((**(char **)(local_34 + 4) == '*' ||
                  (local_30 = uVar2, iVar4 = (*(code *)PTR_strcmp_004c5a68)(), uVar2 = local_30,
                  iVar4 != 0)))))))) {
              param_4[1] = 2;
              return uVar2;
            }
            param_4[1] = param_4[1] | local_3c;
          }
        }
      }
      iVar5 = iVar5 + -8;
    }
    uVar1 = (uint)(param_4[1] != 0);
  }
  return uVar1;
}

