
NODE ** int_exists(NODE *symbol,NODE *subs)

{
  char *pcVar1;
  exp_node *peVar2;
  uint32_t uVar3;
  NODE **ppNVar4;
  NODE *pNVar5;
  long lVar6;
  NODE *pNVar7;
  
  ppNVar4 = is_integer(symbol,subs);
  if (ppNVar4 == (NODE **)0x0) {
    peVar2 = (symbol->sub).nodep.rn;
    pNVar5 = (NODE *)0x0;
    if (peVar2 != (exp_node *)0x0) {
      pNVar5 = (NODE *)(*((peVar2->sub).nodep.l.lp)->exists)(peVar2,subs);
    }
  }
  else {
    pcVar1 = (symbol->sub).val.sp;
    if (pcVar1 == (char *)0x0) {
      pNVar5 = (NODE *)0x0;
    }
    else {
      pNVar7 = (NODE *)(long)(subs->sub).val.fltnum;
      uVar3 = int_hash((uint32_t)pNVar7,(uint32_t)(symbol->sub).nodep.cnt);
      pNVar5 = *(NODE **)(pcVar1 + (ulong)uVar3 * 8);
      if (pNVar5 != (NODE *)0x0) {
        do {
          if (*(NODE **)((long)&pNVar5->sub + 0x28) != (NODE *)0x0) {
            if (pNVar7 == *(NODE **)((long)&pNVar5->sub + 8)) {
              lVar6 = 0;
LAB_0014c5a5:
              return (NODE **)((long)&pNVar5->sub + lVar6 * 8 + 0x18);
            }
            if (((NODE *)0x1 < *(NODE **)((long)&pNVar5->sub + 0x28)) &&
               (pNVar7 == *(NODE **)((long)&pNVar5->sub + 0x10))) {
              lVar6 = 1;
              goto LAB_0014c5a5;
            }
          }
          pNVar5 = *(NODE **)&pNVar5->sub;
        } while (pNVar5 != (NODE *)0x0);
        pNVar5 = (NODE *)0x0;
      }
    }
  }
  return (NODE **)pNVar5;
}



long * FUN_0014c522(long param_1,double *param_2)

{
  long *plVar1;
  uint uVar2;
  long lVar3;
  long *plVar4;
  ulong uVar5;
  
  lVar3 = FUN_0014bf85();
  if (lVar3 == 0) {
    plVar1 = *(long **)(param_1 + 0x30);
    plVar4 = (long *)0x0;
    if (plVar1 != (long *)0x0) {
      plVar4 = (long *)(**(code **)(*plVar1 + 0x20))(plVar1,param_2);
    }
  }
  else {
    lVar3 = *(long *)(param_1 + 8);
    if (lVar3 == 0) {
      plVar4 = (long *)0x0;
    }
    else {
      uVar5 = (ulong)*param_2;
      uVar2 = FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38));
      plVar4 = *(long **)(lVar3 + (ulong)uVar2 * 8);
      if (plVar4 != (long *)0x0) {
        do {
          if (plVar4[5] != 0) {
            if (uVar5 == plVar4[1]) {
              lVar3 = 0;
LAB_0014c5a5:
              return plVar4 + lVar3 + 3;
            }
            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {
              lVar3 = 1;
              goto LAB_0014c5a5;
            }
          }
          plVar4 = (long *)*plVar4;
        } while (plVar4 != (long *)0x0);
        plVar4 = (long *)0x0;
      }
    }
  }
  return plVar4;
}


PUSH R12
PUSH RBP
PUSH RBX
MOV RBX,RDI
MOV RBP,RSI
CALL 0x0014bf85
TEST RAX,RAX
JZ 0x0014c585
MOV R12,qword ptr [RBX + 0x8]
TEST R12,R12
JZ 0x0014c5af
CVTTSD2SI RBP,qword ptr [RBP]
MOV RSI,qword ptr [RBX + 0x38]
MOV EDI,EBP
CALL 0x0014b72e
MOV EAX,EAX
MOV RAX,qword ptr [R12 + RAX*0x8]
TEST RAX,RAX
JZ 0x0014c5aa
MOV RDX,qword ptr [RAX + 0x28]
TEST RDX,RDX
JZ 0x0014c576
CMP RBP,qword ptr [RAX + 0x8]
JZ 0x0014c5a0
CMP RDX,0x1
JBE 0x0014c576
CMP RBP,qword ptr [RAX + 0x10]
JZ 0x0014c599
MOV RAX,qword ptr [RAX]
TEST RAX,RAX
JNZ 0x0014c55b
MOV EAX,0x0
JMP 0x0014c5aa
MOV RDI,qword ptr [RBX + 0x30]
TEST RDI,RDI
JZ 0x0014c5aa
MOV RAX,qword ptr [RDI]
MOV RSI,RBP
CALL qword ptr [RAX + 0x20]
JMP 0x0014c5aa
MOV EDX,0x1
JMP 0x0014c5a5
MOV EDX,0x0
LEA RAX,[RAX + RDX*0x8 + 0x18]
POP RBX
POP RBP
POP R12
RET
MOV EAX,0x0
JMP 0x0014c5aa
(translation_unit "long * FUN_0014c522(long param_1,double *param_2)\n\n{\n  long *plVar1;\n  uint uVar2;\n  long lVar3;\n  long *plVar4;\n  ulong uVar5;\n  \n  lVar3 = FUN_0014bf85();\n  if (lVar3 == 0) {\n    plVar1 = *(long **)(param_1 + 0x30);\n    plVar4 = (long *)0x0;\n    if (plVar1 != (long *)0x0) {\n      plVar4 = (long *)(**(code **)(*plVar1 + 0x20))(plVar1,param_2);\n    }\n  }\n  else {\n    lVar3 = *(long *)(param_1 + 8);\n    if (lVar3 == 0) {\n      plVar4 = (long *)0x0;\n    }\n    else {\n      uVar5 = (ulong)*param_2;\n      uVar2 = FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38));\n      plVar4 = *(long **)(lVar3 + (ulong)uVar2 * 8);\n      if (plVar4 != (long *)0x0) {\n        do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);\n        plVar4 = (long *)0x0;\n      }\n    }\n  }\n  return plVar4;\n}\n\n" (function_definition "long * FUN_0014c522(long param_1,double *param_2)\n\n{\n  long *plVar1;\n  uint uVar2;\n  long lVar3;\n  long *plVar4;\n  ulong uVar5;\n  \n  lVar3 = FUN_0014bf85();\n  if (lVar3 == 0) {\n    plVar1 = *(long **)(param_1 + 0x30);\n    plVar4 = (long *)0x0;\n    if (plVar1 != (long *)0x0) {\n      plVar4 = (long *)(**(code **)(*plVar1 + 0x20))(plVar1,param_2);\n    }\n  }\n  else {\n    lVar3 = *(long *)(param_1 + 8);\n    if (lVar3 == 0) {\n      plVar4 = (long *)0x0;\n    }\n    else {\n      uVar5 = (ulong)*param_2;\n      uVar2 = FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38));\n      plVar4 = *(long **)(lVar3 + (ulong)uVar2 * 8);\n      if (plVar4 != (long *)0x0) {\n        do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);\n        plVar4 = (long *)0x0;\n      }\n    }\n  }\n  return plVar4;\n}" (sized_type_specifier "long" long) (pointer_declarator "* FUN_0014c522(long param_1,double *param_2)" * (function_declarator "FUN_0014c522(long param_1,double *param_2)" identifier (parameter_list "(long param_1,double *param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "double *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  long *plVar1;\n  uint uVar2;\n  long lVar3;\n  long *plVar4;\n  ulong uVar5;\n  \n  lVar3 = FUN_0014bf85();\n  if (lVar3 == 0) {\n    plVar1 = *(long **)(param_1 + 0x30);\n    plVar4 = (long *)0x0;\n    if (plVar1 != (long *)0x0) {\n      plVar4 = (long *)(**(code **)(*plVar1 + 0x20))(plVar1,param_2);\n    }\n  }\n  else {\n    lVar3 = *(long *)(param_1 + 8);\n    if (lVar3 == 0) {\n      plVar4 = (long *)0x0;\n    }\n    else {\n      uVar5 = (ulong)*param_2;\n      uVar2 = FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38));\n      plVar4 = *(long **)(lVar3 + (ulong)uVar2 * 8);\n      if (plVar4 != (long *)0x0) {\n        do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);\n        plVar4 = (long *)0x0;\n      }\n    }\n  }\n  return plVar4;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "long *plVar4;" (sized_type_specifier "long" long) (pointer_declarator "*plVar4" * identifier) ;) (declaration "ulong uVar5;" type_identifier identifier ;) (expression_statement "lVar3 = FUN_0014bf85();" (assignment_expression "lVar3 = FUN_0014bf85()" identifier = (call_expression "FUN_0014bf85()" identifier (argument_list "()" ( )))) ;) (if_statement "if (lVar3 == 0) {\n    plVar1 = *(long **)(param_1 + 0x30);\n    plVar4 = (long *)0x0;\n    if (plVar1 != (long *)0x0) {\n      plVar4 = (long *)(**(code **)(*plVar1 + 0x20))(plVar1,param_2);\n    }\n  }\n  else {\n    lVar3 = *(long *)(param_1 + 8);\n    if (lVar3 == 0) {\n      plVar4 = (long *)0x0;\n    }\n    else {\n      uVar5 = (ulong)*param_2;\n      uVar2 = FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38));\n      plVar4 = *(long **)(lVar3 + (ulong)uVar2 * 8);\n      if (plVar4 != (long *)0x0) {\n        do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);\n        plVar4 = (long *)0x0;\n      }\n    }\n  }" if (parenthesized_expression "(lVar3 == 0)" ( (binary_expression "lVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    plVar1 = *(long **)(param_1 + 0x30);\n    plVar4 = (long *)0x0;\n    if (plVar1 != (long *)0x0) {\n      plVar4 = (long *)(**(code **)(*plVar1 + 0x20))(plVar1,param_2);\n    }\n  }" { (expression_statement "plVar1 = *(long **)(param_1 + 0x30);" (assignment_expression "plVar1 = *(long **)(param_1 + 0x30)" identifier = (pointer_expression "*(long **)(param_1 + 0x30)" * (cast_expression "(long **)(param_1 + 0x30)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "plVar4 = (long *)0x0;" (assignment_expression "plVar4 = (long *)0x0" identifier = (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (plVar1 != (long *)0x0) {\n      plVar4 = (long *)(**(code **)(*plVar1 + 0x20))(plVar1,param_2);\n    }" if (parenthesized_expression "(plVar1 != (long *)0x0)" ( (binary_expression "plVar1 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      plVar4 = (long *)(**(code **)(*plVar1 + 0x20))(plVar1,param_2);\n    }" { (expression_statement "plVar4 = (long *)(**(code **)(*plVar1 + 0x20))(plVar1,param_2);" (assignment_expression "plVar4 = (long *)(**(code **)(*plVar1 + 0x20))(plVar1,param_2)" identifier = (cast_expression "(long *)(**(code **)(*plVar1 + 0x20))(plVar1,param_2)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(*plVar1 + 0x20))(plVar1,param_2)" (parenthesized_expression "(**(code **)(*plVar1 + 0x20))" ( (pointer_expression "**(code **)(*plVar1 + 0x20)" * (pointer_expression "*(code **)(*plVar1 + 0x20)" * (cast_expression "(code **)(*plVar1 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x20)" ( (binary_expression "*plVar1 + 0x20" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1,param_2)" ( identifier , identifier ))))) ;) })) }) (else_clause "else {\n    lVar3 = *(long *)(param_1 + 8);\n    if (lVar3 == 0) {\n      plVar4 = (long *)0x0;\n    }\n    else {\n      uVar5 = (ulong)*param_2;\n      uVar2 = FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38));\n      plVar4 = *(long **)(lVar3 + (ulong)uVar2 * 8);\n      if (plVar4 != (long *)0x0) {\n        do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);\n        plVar4 = (long *)0x0;\n      }\n    }\n  }" else (compound_statement "{\n    lVar3 = *(long *)(param_1 + 8);\n    if (lVar3 == 0) {\n      plVar4 = (long *)0x0;\n    }\n    else {\n      uVar5 = (ulong)*param_2;\n      uVar2 = FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38));\n      plVar4 = *(long **)(lVar3 + (ulong)uVar2 * 8);\n      if (plVar4 != (long *)0x0) {\n        do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);\n        plVar4 = (long *)0x0;\n      }\n    }\n  }" { (expression_statement "lVar3 = *(long *)(param_1 + 8);" (assignment_expression "lVar3 = *(long *)(param_1 + 8)" identifier = (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (lVar3 == 0) {\n      plVar4 = (long *)0x0;\n    }\n    else {\n      uVar5 = (ulong)*param_2;\n      uVar2 = FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38));\n      plVar4 = *(long **)(lVar3 + (ulong)uVar2 * 8);\n      if (plVar4 != (long *)0x0) {\n        do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);\n        plVar4 = (long *)0x0;\n      }\n    }" if (parenthesized_expression "(lVar3 == 0)" ( (binary_expression "lVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      plVar4 = (long *)0x0;\n    }" { (expression_statement "plVar4 = (long *)0x0;" (assignment_expression "plVar4 = (long *)0x0" identifier = (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      uVar5 = (ulong)*param_2;\n      uVar2 = FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38));\n      plVar4 = *(long **)(lVar3 + (ulong)uVar2 * 8);\n      if (plVar4 != (long *)0x0) {\n        do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);\n        plVar4 = (long *)0x0;\n      }\n    }" else (compound_statement "{\n      uVar5 = (ulong)*param_2;\n      uVar2 = FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38));\n      plVar4 = *(long **)(lVar3 + (ulong)uVar2 * 8);\n      if (plVar4 != (long *)0x0) {\n        do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);\n        plVar4 = (long *)0x0;\n      }\n    }" { (expression_statement "uVar5 = (ulong)*param_2;" (assignment_expression "uVar5 = (ulong)*param_2" identifier = (binary_expression "(ulong)*param_2" (parenthesized_expression "(ulong)" ( identifier )) * identifier)) ;) (expression_statement "uVar2 = FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38));" (assignment_expression "uVar2 = FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38))" identifier = (call_expression "FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38))" identifier (argument_list "(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38))" ( (binary_expression "uVar5 & 0xffffffff" identifier & number_literal) , (pointer_expression "*(undefined8 *)(param_1 + 0x38)" * (cast_expression "(undefined8 *)(param_1 + 0x38)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) )))) ;) (expression_statement "plVar4 = *(long **)(lVar3 + (ulong)uVar2 * 8);" (assignment_expression "plVar4 = *(long **)(lVar3 + (ulong)uVar2 * 8)" identifier = (pointer_expression "*(long **)(lVar3 + (ulong)uVar2 * 8)" * (cast_expression "(long **)(lVar3 + (ulong)uVar2 * 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar3 + (ulong)uVar2 * 8)" ( (binary_expression "lVar3 + (ulong)uVar2 * 8" identifier + (binary_expression "(ulong)uVar2 * 8" (cast_expression "(ulong)uVar2" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) ))))) ;) (if_statement "if (plVar4 != (long *)0x0) {\n        do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);\n        plVar4 = (long *)0x0;\n      }" if (parenthesized_expression "(plVar4 != (long *)0x0)" ( (binary_expression "plVar4 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);\n        plVar4 = (long *)0x0;\n      }" { (do_statement "do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);" do (compound_statement "{\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        }" { (if_statement "if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }" if (parenthesized_expression "(plVar4[5] != 0)" ( (binary_expression "plVar4[5] != 0" (subscript_expression "plVar4[5]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }" { (if_statement "if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }" if (parenthesized_expression "(uVar5 == plVar4[1])" ( (binary_expression "uVar5 == plVar4[1]" identifier == (subscript_expression "plVar4[1]" identifier [ number_literal ])) )) (compound_statement "{\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }" { (expression_statement "lVar3 = 0;" (assignment_expression "lVar3 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0014c5a5:\n              return plVar4 + lVar3 + 3;" statement_identifier : (return_statement "return plVar4 + lVar3 + 3;" return (binary_expression "plVar4 + lVar3 + 3" (binary_expression "plVar4 + lVar3" identifier + identifier) + number_literal) ;)) })) (if_statement "if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }" if (parenthesized_expression "((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2]))" ( (binary_expression "(1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])" (parenthesized_expression "(1 < (ulong)plVar4[5])" ( (binary_expression "1 < (ulong)plVar4[5]" number_literal < (cast_expression "(ulong)plVar4[5]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "plVar4[5]" identifier [ number_literal ]))) )) && (parenthesized_expression "(uVar5 == plVar4[2])" ( (binary_expression "uVar5 == plVar4[2]" identifier == (subscript_expression "plVar4[2]" identifier [ number_literal ])) ))) )) (compound_statement "{\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }" { (expression_statement "lVar3 = 1;" (assignment_expression "lVar3 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_0014c5a5;" goto statement_identifier ;) })) })) (expression_statement "plVar4 = (long *)*plVar4;" (assignment_expression "plVar4 = (long *)*plVar4" identifier = (cast_expression "(long *)*plVar4" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar4" * identifier))) ;) }) while (parenthesized_expression "(plVar4 != (long *)0x0)" ( (binary_expression "plVar4 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "plVar4 = (long *)0x0;" (assignment_expression "plVar4 = (long *)0x0" identifier = (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) }))) }))) (return_statement "return plVar4;" return identifier ;) })))
(translation_unit "NODE ** int_exists(NODE *symbol,NODE *subs)\n\n{\n  char *pcVar1;\n  exp_node *peVar2;\n  uint32_t uVar3;\n  NODE **ppNVar4;\n  NODE *pNVar5;\n  long lVar6;\n  NODE *pNVar7;\n  \n  ppNVar4 = is_integer(symbol,subs);\n  if (ppNVar4 == (NODE **)0x0) {\n    peVar2 = (symbol->sub).nodep.rn;\n    pNVar5 = (NODE *)0x0;\n    if (peVar2 != (exp_node *)0x0) {\n      pNVar5 = (NODE *)(*((peVar2->sub).nodep.l.lp)->exists)(peVar2,subs);\n    }\n  }\n  else {\n    pcVar1 = (symbol->sub).val.sp;\n    if (pcVar1 == (char *)0x0) {\n      pNVar5 = (NODE *)0x0;\n    }\n    else {\n      pNVar7 = (NODE *)(long)(subs->sub).val.fltnum;\n      uVar3 = int_hash((uint32_t)pNVar7,(uint32_t)(symbol->sub).nodep.cnt);\n      pNVar5 = *(NODE **)(pcVar1 + (ulong)uVar3 * 8);\n      if (pNVar5 != (NODE *)0x0) {\n        do {\n          if (*(NODE **)((long)&pNVar5->sub + 0x28) != (NODE *)0x0) {\n            if (pNVar7 == *(NODE **)((long)&pNVar5->sub + 8)) {\n              lVar6 = 0;\nLAB_0014c5a5:\n              return (NODE **)((long)&pNVar5->sub + lVar6 * 8 + 0x18);\n            }\n            if (((NODE *)0x1 < *(NODE **)((long)&pNVar5->sub + 0x28)) &&\n               (pNVar7 == *(NODE **)((long)&pNVar5->sub + 0x10))) {\n              lVar6 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          pNVar5 = *(NODE **)&pNVar5->sub;\n        } while (pNVar5 != (NODE *)0x0);\n        pNVar5 = (NODE *)0x0;\n      }\n    }\n  }\n  return (NODE **)pNVar5;\n}\n\n" (function_definition "NODE ** int_exists(NODE *symbol,NODE *subs)\n\n{\n  char *pcVar1;\n  exp_node *peVar2;\n  uint32_t uVar3;\n  NODE **ppNVar4;\n  NODE *pNVar5;\n  long lVar6;\n  NODE *pNVar7;\n  \n  ppNVar4 = is_integer(symbol,subs);\n  if (ppNVar4 == (NODE **)0x0) {\n    peVar2 = (symbol->sub).nodep.rn;\n    pNVar5 = (NODE *)0x0;\n    if (peVar2 != (exp_node *)0x0) {\n      pNVar5 = (NODE *)(*((peVar2->sub).nodep.l.lp)->exists)(peVar2,subs);\n    }\n  }\n  else {\n    pcVar1 = (symbol->sub).val.sp;\n    if (pcVar1 == (char *)0x0) {\n      pNVar5 = (NODE *)0x0;\n    }\n    else {\n      pNVar7 = (NODE *)(long)(subs->sub).val.fltnum;\n      uVar3 = int_hash((uint32_t)pNVar7,(uint32_t)(symbol->sub).nodep.cnt);\n      pNVar5 = *(NODE **)(pcVar1 + (ulong)uVar3 * 8);\n      if (pNVar5 != (NODE *)0x0) {\n        do {\n          if (*(NODE **)((long)&pNVar5->sub + 0x28) != (NODE *)0x0) {\n            if (pNVar7 == *(NODE **)((long)&pNVar5->sub + 8)) {\n              lVar6 = 0;\nLAB_0014c5a5:\n              return (NODE **)((long)&pNVar5->sub + lVar6 * 8 + 0x18);\n            }\n            if (((NODE *)0x1 < *(NODE **)((long)&pNVar5->sub + 0x28)) &&\n               (pNVar7 == *(NODE **)((long)&pNVar5->sub + 0x10))) {\n              lVar6 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          pNVar5 = *(NODE **)&pNVar5->sub;\n        } while (pNVar5 != (NODE *)0x0);\n        pNVar5 = (NODE *)0x0;\n      }\n    }\n  }\n  return (NODE **)pNVar5;\n}" type_identifier (pointer_declarator "** int_exists(NODE *symbol,NODE *subs)" * (pointer_declarator "* int_exists(NODE *symbol,NODE *subs)" * (function_declarator "int_exists(NODE *symbol,NODE *subs)" identifier (parameter_list "(NODE *symbol,NODE *subs)" ( (parameter_declaration "NODE *symbol" type_identifier (pointer_declarator "*symbol" * identifier)) , (parameter_declaration "NODE *subs" type_identifier (pointer_declarator "*subs" * identifier)) ))))) (compound_statement "{\n  char *pcVar1;\n  exp_node *peVar2;\n  uint32_t uVar3;\n  NODE **ppNVar4;\n  NODE *pNVar5;\n  long lVar6;\n  NODE *pNVar7;\n  \n  ppNVar4 = is_integer(symbol,subs);\n  if (ppNVar4 == (NODE **)0x0) {\n    peVar2 = (symbol->sub).nodep.rn;\n    pNVar5 = (NODE *)0x0;\n    if (peVar2 != (exp_node *)0x0) {\n      pNVar5 = (NODE *)(*((peVar2->sub).nodep.l.lp)->exists)(peVar2,subs);\n    }\n  }\n  else {\n    pcVar1 = (symbol->sub).val.sp;\n    if (pcVar1 == (char *)0x0) {\n      pNVar5 = (NODE *)0x0;\n    }\n    else {\n      pNVar7 = (NODE *)(long)(subs->sub).val.fltnum;\n      uVar3 = int_hash((uint32_t)pNVar7,(uint32_t)(symbol->sub).nodep.cnt);\n      pNVar5 = *(NODE **)(pcVar1 + (ulong)uVar3 * 8);\n      if (pNVar5 != (NODE *)0x0) {\n        do {\n          if (*(NODE **)((long)&pNVar5->sub + 0x28) != (NODE *)0x0) {\n            if (pNVar7 == *(NODE **)((long)&pNVar5->sub + 8)) {\n              lVar6 = 0;\nLAB_0014c5a5:\n              return (NODE **)((long)&pNVar5->sub + lVar6 * 8 + 0x18);\n            }\n            if (((NODE *)0x1 < *(NODE **)((long)&pNVar5->sub + 0x28)) &&\n               (pNVar7 == *(NODE **)((long)&pNVar5->sub + 0x10))) {\n              lVar6 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          pNVar5 = *(NODE **)&pNVar5->sub;\n        } while (pNVar5 != (NODE *)0x0);\n        pNVar5 = (NODE *)0x0;\n      }\n    }\n  }\n  return (NODE **)pNVar5;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "exp_node *peVar2;" type_identifier (pointer_declarator "*peVar2" * identifier) ;) (declaration "uint32_t uVar3;" primitive_type identifier ;) (declaration "NODE **ppNVar4;" type_identifier (pointer_declarator "**ppNVar4" * (pointer_declarator "*ppNVar4" * identifier)) ;) (declaration "NODE *pNVar5;" type_identifier (pointer_declarator "*pNVar5" * identifier) ;) (declaration "long lVar6;" (sized_type_specifier "long" long) identifier ;) (declaration "NODE *pNVar7;" type_identifier (pointer_declarator "*pNVar7" * identifier) ;) (expression_statement "ppNVar4 = is_integer(symbol,subs);" (assignment_expression "ppNVar4 = is_integer(symbol,subs)" identifier = (call_expression "is_integer(symbol,subs)" identifier (argument_list "(symbol,subs)" ( identifier , identifier )))) ;) (if_statement "if (ppNVar4 == (NODE **)0x0) {\n    peVar2 = (symbol->sub).nodep.rn;\n    pNVar5 = (NODE *)0x0;\n    if (peVar2 != (exp_node *)0x0) {\n      pNVar5 = (NODE *)(*((peVar2->sub).nodep.l.lp)->exists)(peVar2,subs);\n    }\n  }\n  else {\n    pcVar1 = (symbol->sub).val.sp;\n    if (pcVar1 == (char *)0x0) {\n      pNVar5 = (NODE *)0x0;\n    }\n    else {\n      pNVar7 = (NODE *)(long)(subs->sub).val.fltnum;\n      uVar3 = int_hash((uint32_t)pNVar7,(uint32_t)(symbol->sub).nodep.cnt);\n      pNVar5 = *(NODE **)(pcVar1 + (ulong)uVar3 * 8);\n      if (pNVar5 != (NODE *)0x0) {\n        do {\n          if (*(NODE **)((long)&pNVar5->sub + 0x28) != (NODE *)0x0) {\n            if (pNVar7 == *(NODE **)((long)&pNVar5->sub + 8)) {\n              lVar6 = 0;\nLAB_0014c5a5:\n              return (NODE **)((long)&pNVar5->sub + lVar6 * 8 + 0x18);\n            }\n            if (((NODE *)0x1 < *(NODE **)((long)&pNVar5->sub + 0x28)) &&\n               (pNVar7 == *(NODE **)((long)&pNVar5->sub + 0x10))) {\n              lVar6 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          pNVar5 = *(NODE **)&pNVar5->sub;\n        } while (pNVar5 != (NODE *)0x0);\n        pNVar5 = (NODE *)0x0;\n      }\n    }\n  }" if (parenthesized_expression "(ppNVar4 == (NODE **)0x0)" ( (binary_expression "ppNVar4 == (NODE **)0x0" identifier == (cast_expression "(NODE **)0x0" ( (type_descriptor "NODE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n    peVar2 = (symbol->sub).nodep.rn;\n    pNVar5 = (NODE *)0x0;\n    if (peVar2 != (exp_node *)0x0) {\n      pNVar5 = (NODE *)(*((peVar2->sub).nodep.l.lp)->exists)(peVar2,subs);\n    }\n  }" { (expression_statement "peVar2 = (symbol->sub).nodep.rn;" (assignment_expression "peVar2 = (symbol->sub).nodep.rn" identifier = (field_expression "(symbol->sub).nodep.rn" (field_expression "(symbol->sub).nodep" (parenthesized_expression "(symbol->sub)" ( (field_expression "symbol->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "pNVar5 = (NODE *)0x0;" (assignment_expression "pNVar5 = (NODE *)0x0" identifier = (cast_expression "(NODE *)0x0" ( (type_descriptor "NODE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (peVar2 != (exp_node *)0x0) {\n      pNVar5 = (NODE *)(*((peVar2->sub).nodep.l.lp)->exists)(peVar2,subs);\n    }" if (parenthesized_expression "(peVar2 != (exp_node *)0x0)" ( (binary_expression "peVar2 != (exp_node *)0x0" identifier != (cast_expression "(exp_node *)0x0" ( (type_descriptor "exp_node *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pNVar5 = (NODE *)(*((peVar2->sub).nodep.l.lp)->exists)(peVar2,subs);\n    }" { (expression_statement "pNVar5 = (NODE *)(*((peVar2->sub).nodep.l.lp)->exists)(peVar2,subs);" (assignment_expression "pNVar5 = (NODE *)(*((peVar2->sub).nodep.l.lp)->exists)(peVar2,subs)" identifier = (cast_expression "(NODE *)(*((peVar2->sub).nodep.l.lp)->exists)(peVar2,subs)" ( (type_descriptor "NODE *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*((peVar2->sub).nodep.l.lp)->exists)(peVar2,subs)" (parenthesized_expression "(*((peVar2->sub).nodep.l.lp)->exists)" ( (pointer_expression "*((peVar2->sub).nodep.l.lp)->exists" * (field_expression "((peVar2->sub).nodep.l.lp)->exists" (parenthesized_expression "((peVar2->sub).nodep.l.lp)" ( (field_expression "(peVar2->sub).nodep.l.lp" (field_expression "(peVar2->sub).nodep.l" (field_expression "(peVar2->sub).nodep" (parenthesized_expression "(peVar2->sub)" ( (field_expression "peVar2->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier) )) -> field_identifier)) )) (argument_list "(peVar2,subs)" ( identifier , identifier ))))) ;) })) }) (else_clause "else {\n    pcVar1 = (symbol->sub).val.sp;\n    if (pcVar1 == (char *)0x0) {\n      pNVar5 = (NODE *)0x0;\n    }\n    else {\n      pNVar7 = (NODE *)(long)(subs->sub).val.fltnum;\n      uVar3 = int_hash((uint32_t)pNVar7,(uint32_t)(symbol->sub).nodep.cnt);\n      pNVar5 = *(NODE **)(pcVar1 + (ulong)uVar3 * 8);\n      if (pNVar5 != (NODE *)0x0) {\n        do {\n          if (*(NODE **)((long)&pNVar5->sub + 0x28) != (NODE *)0x0) {\n            if (pNVar7 == *(NODE **)((long)&pNVar5->sub + 8)) {\n              lVar6 = 0;\nLAB_0014c5a5:\n              return (NODE **)((long)&pNVar5->sub + lVar6 * 8 + 0x18);\n            }\n            if (((NODE *)0x1 < *(NODE **)((long)&pNVar5->sub + 0x28)) &&\n               (pNVar7 == *(NODE **)((long)&pNVar5->sub + 0x10))) {\n              lVar6 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          pNVar5 = *(NODE **)&pNVar5->sub;\n        } while (pNVar5 != (NODE *)0x0);\n        pNVar5 = (NODE *)0x0;\n      }\n    }\n  }" else (compound_statement "{\n    pcVar1 = (symbol->sub).val.sp;\n    if (pcVar1 == (char *)0x0) {\n      pNVar5 = (NODE *)0x0;\n    }\n    else {\n      pNVar7 = (NODE *)(long)(subs->sub).val.fltnum;\n      uVar3 = int_hash((uint32_t)pNVar7,(uint32_t)(symbol->sub).nodep.cnt);\n      pNVar5 = *(NODE **)(pcVar1 + (ulong)uVar3 * 8);\n      if (pNVar5 != (NODE *)0x0) {\n        do {\n          if (*(NODE **)((long)&pNVar5->sub + 0x28) != (NODE *)0x0) {\n            if (pNVar7 == *(NODE **)((long)&pNVar5->sub + 8)) {\n              lVar6 = 0;\nLAB_0014c5a5:\n              return (NODE **)((long)&pNVar5->sub + lVar6 * 8 + 0x18);\n            }\n            if (((NODE *)0x1 < *(NODE **)((long)&pNVar5->sub + 0x28)) &&\n               (pNVar7 == *(NODE **)((long)&pNVar5->sub + 0x10))) {\n              lVar6 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          pNVar5 = *(NODE **)&pNVar5->sub;\n        } while (pNVar5 != (NODE *)0x0);\n        pNVar5 = (NODE *)0x0;\n      }\n    }\n  }" { (expression_statement "pcVar1 = (symbol->sub).val.sp;" (assignment_expression "pcVar1 = (symbol->sub).val.sp" identifier = (field_expression "(symbol->sub).val.sp" (field_expression "(symbol->sub).val" (parenthesized_expression "(symbol->sub)" ( (field_expression "symbol->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (if_statement "if (pcVar1 == (char *)0x0) {\n      pNVar5 = (NODE *)0x0;\n    }\n    else {\n      pNVar7 = (NODE *)(long)(subs->sub).val.fltnum;\n      uVar3 = int_hash((uint32_t)pNVar7,(uint32_t)(symbol->sub).nodep.cnt);\n      pNVar5 = *(NODE **)(pcVar1 + (ulong)uVar3 * 8);\n      if (pNVar5 != (NODE *)0x0) {\n        do {\n          if (*(NODE **)((long)&pNVar5->sub + 0x28) != (NODE *)0x0) {\n            if (pNVar7 == *(NODE **)((long)&pNVar5->sub + 8)) {\n              lVar6 = 0;\nLAB_0014c5a5:\n              return (NODE **)((long)&pNVar5->sub + lVar6 * 8 + 0x18);\n            }\n            if (((NODE *)0x1 < *(NODE **)((long)&pNVar5->sub + 0x28)) &&\n               (pNVar7 == *(NODE **)((long)&pNVar5->sub + 0x10))) {\n              lVar6 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          pNVar5 = *(NODE **)&pNVar5->sub;\n        } while (pNVar5 != (NODE *)0x0);\n        pNVar5 = (NODE *)0x0;\n      }\n    }" if (parenthesized_expression "(pcVar1 == (char *)0x0)" ( (binary_expression "pcVar1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pNVar5 = (NODE *)0x0;\n    }" { (expression_statement "pNVar5 = (NODE *)0x0;" (assignment_expression "pNVar5 = (NODE *)0x0" identifier = (cast_expression "(NODE *)0x0" ( (type_descriptor "NODE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      pNVar7 = (NODE *)(long)(subs->sub).val.fltnum;\n      uVar3 = int_hash((uint32_t)pNVar7,(uint32_t)(symbol->sub).nodep.cnt);\n      pNVar5 = *(NODE **)(pcVar1 + (ulong)uVar3 * 8);\n      if (pNVar5 != (NODE *)0x0) {\n        do {\n          if (*(NODE **)((long)&pNVar5->sub + 0x28) != (NODE *)0x0) {\n            if (pNVar7 == *(NODE **)((long)&pNVar5->sub + 8)) {\n              lVar6 = 0;\nLAB_0014c5a5:\n              return (NODE **)((long)&pNVar5->sub + lVar6 * 8 + 0x18);\n            }\n            if (((NODE *)0x1 < *(NODE **)((long)&pNVar5->sub + 0x28)) &&\n               (pNVar7 == *(NODE **)((long)&pNVar5->sub + 0x10))) {\n              lVar6 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          pNVar5 = *(NODE **)&pNVar5->sub;\n        } while (pNVar5 != (NODE *)0x0);\n        pNVar5 = (NODE *)0x0;\n      }\n    }" else (compound_statement "{\n      pNVar7 = (NODE *)(long)(subs->sub).val.fltnum;\n      uVar3 = int_hash((uint32_t)pNVar7,(uint32_t)(symbol->sub).nodep.cnt);\n      pNVar5 = *(NODE **)(pcVar1 + (ulong)uVar3 * 8);\n      if (pNVar5 != (NODE *)0x0) {\n        do {\n          if (*(NODE **)((long)&pNVar5->sub + 0x28) != (NODE *)0x0) {\n            if (pNVar7 == *(NODE **)((long)&pNVar5->sub + 8)) {\n              lVar6 = 0;\nLAB_0014c5a5:\n              return (NODE **)((long)&pNVar5->sub + lVar6 * 8 + 0x18);\n            }\n            if (((NODE *)0x1 < *(NODE **)((long)&pNVar5->sub + 0x28)) &&\n               (pNVar7 == *(NODE **)((long)&pNVar5->sub + 0x10))) {\n              lVar6 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          pNVar5 = *(NODE **)&pNVar5->sub;\n        } while (pNVar5 != (NODE *)0x0);\n        pNVar5 = (NODE *)0x0;\n      }\n    }" { (expression_statement "pNVar7 = (NODE *)(long)(subs->sub).val.fltnum;" (assignment_expression "pNVar7 = (NODE *)(long)(subs->sub).val.fltnum" identifier = (cast_expression "(NODE *)(long)(subs->sub).val.fltnum" ( (type_descriptor "NODE *" type_identifier (abstract_pointer_declarator "*" *)) ) (cast_expression "(long)(subs->sub).val.fltnum" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "(subs->sub).val.fltnum" (field_expression "(subs->sub).val" (parenthesized_expression "(subs->sub)" ( (field_expression "subs->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier)))) ;) (expression_statement "uVar3 = int_hash((uint32_t)pNVar7,(uint32_t)(symbol->sub).nodep.cnt);" (assignment_expression "uVar3 = int_hash((uint32_t)pNVar7,(uint32_t)(symbol->sub).nodep.cnt)" identifier = (call_expression "int_hash((uint32_t)pNVar7,(uint32_t)(symbol->sub).nodep.cnt)" identifier (argument_list "((uint32_t)pNVar7,(uint32_t)(symbol->sub).nodep.cnt)" ( (cast_expression "(uint32_t)pNVar7" ( (type_descriptor "uint32_t" primitive_type) ) identifier) , (cast_expression "(uint32_t)(symbol->sub).nodep.cnt" ( (type_descriptor "uint32_t" primitive_type) ) (field_expression "(symbol->sub).nodep.cnt" (field_expression "(symbol->sub).nodep" (parenthesized_expression "(symbol->sub)" ( (field_expression "symbol->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier)) )))) ;) (expression_statement "pNVar5 = *(NODE **)(pcVar1 + (ulong)uVar3 * 8);" (assignment_expression "pNVar5 = *(NODE **)(pcVar1 + (ulong)uVar3 * 8)" identifier = (pointer_expression "*(NODE **)(pcVar1 + (ulong)uVar3 * 8)" * (cast_expression "(NODE **)(pcVar1 + (ulong)uVar3 * 8)" ( (type_descriptor "NODE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar1 + (ulong)uVar3 * 8)" ( (binary_expression "pcVar1 + (ulong)uVar3 * 8" identifier + (binary_expression "(ulong)uVar3 * 8" (cast_expression "(ulong)uVar3" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) ))))) ;) (if_statement "if (pNVar5 != (NODE *)0x0) {\n        do {\n          if (*(NODE **)((long)&pNVar5->sub + 0x28) != (NODE *)0x0) {\n            if (pNVar7 == *(NODE **)((long)&pNVar5->sub + 8)) {\n              lVar6 = 0;\nLAB_0014c5a5:\n              return (NODE **)((long)&pNVar5->sub + lVar6 * 8 + 0x18);\n            }\n            if (((NODE *)0x1 < *(NODE **)((long)&pNVar5->sub + 0x28)) &&\n               (pNVar7 == *(NODE **)((long)&pNVar5->sub + 0x10))) {\n              lVar6 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          pNVar5 = *(NODE **)&pNVar5->sub;\n        } while (pNVar5 != (NODE *)0x0);\n        pNVar5 = (NODE *)0x0;\n      }" if (parenthesized_expression "(pNVar5 != (NODE *)0x0)" ( (binary_expression "pNVar5 != (NODE *)0x0" identifier != (cast_expression "(NODE *)0x0" ( (type_descriptor "NODE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        do {\n          if (*(NODE **)((long)&pNVar5->sub + 0x28) != (NODE *)0x0) {\n            if (pNVar7 == *(NODE **)((long)&pNVar5->sub + 8)) {\n              lVar6 = 0;\nLAB_0014c5a5:\n              return (NODE **)((long)&pNVar5->sub + lVar6 * 8 + 0x18);\n            }\n            if (((NODE *)0x1 < *(NODE **)((long)&pNVar5->sub + 0x28)) &&\n               (pNVar7 == *(NODE **)((long)&pNVar5->sub + 0x10))) {\n              lVar6 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          pNVar5 = *(NODE **)&pNVar5->sub;\n        } while (pNVar5 != (NODE *)0x0);\n        pNVar5 = (NODE *)0x0;\n      }" { (do_statement "do {\n          if (*(NODE **)((long)&pNVar5->sub + 0x28) != (NODE *)0x0) {\n            if (pNVar7 == *(NODE **)((long)&pNVar5->sub + 8)) {\n              lVar6 = 0;\nLAB_0014c5a5:\n              return (NODE **)((long)&pNVar5->sub + lVar6 * 8 + 0x18);\n            }\n            if (((NODE *)0x1 < *(NODE **)((long)&pNVar5->sub + 0x28)) &&\n               (pNVar7 == *(NODE **)((long)&pNVar5->sub + 0x10))) {\n              lVar6 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          pNVar5 = *(NODE **)&pNVar5->sub;\n        } while (pNVar5 != (NODE *)0x0);" do (compound_statement "{\n          if (*(NODE **)((long)&pNVar5->sub + 0x28) != (NODE *)0x0) {\n            if (pNVar7 == *(NODE **)((long)&pNVar5->sub + 8)) {\n              lVar6 = 0;\nLAB_0014c5a5:\n              return (NODE **)((long)&pNVar5->sub + lVar6 * 8 + 0x18);\n            }\n            if (((NODE *)0x1 < *(NODE **)((long)&pNVar5->sub + 0x28)) &&\n               (pNVar7 == *(NODE **)((long)&pNVar5->sub + 0x10))) {\n              lVar6 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          pNVar5 = *(NODE **)&pNVar5->sub;\n        }" { (if_statement "if (*(NODE **)((long)&pNVar5->sub + 0x28) != (NODE *)0x0) {\n            if (pNVar7 == *(NODE **)((long)&pNVar5->sub + 8)) {\n              lVar6 = 0;\nLAB_0014c5a5:\n              return (NODE **)((long)&pNVar5->sub + lVar6 * 8 + 0x18);\n            }\n            if (((NODE *)0x1 < *(NODE **)((long)&pNVar5->sub + 0x28)) &&\n               (pNVar7 == *(NODE **)((long)&pNVar5->sub + 0x10))) {\n              lVar6 = 1;\n              goto LAB_0014c5a5;\n            }\n          }" if (parenthesized_expression "(*(NODE **)((long)&pNVar5->sub + 0x28) != (NODE *)0x0)" ( (binary_expression "*(NODE **)((long)&pNVar5->sub + 0x28) != (NODE *)0x0" (pointer_expression "*(NODE **)((long)&pNVar5->sub + 0x28)" * (cast_expression "(NODE **)((long)&pNVar5->sub + 0x28)" ( (type_descriptor "NODE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)&pNVar5->sub + 0x28)" ( (binary_expression "(long)&pNVar5->sub + 0x28" (cast_expression "(long)&pNVar5->sub" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&pNVar5->sub" & (field_expression "pNVar5->sub" identifier -> field_identifier))) + number_literal) )))) != (cast_expression "(NODE *)0x0" ( (type_descriptor "NODE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            if (pNVar7 == *(NODE **)((long)&pNVar5->sub + 8)) {\n              lVar6 = 0;\nLAB_0014c5a5:\n              return (NODE **)((long)&pNVar5->sub + lVar6 * 8 + 0x18);\n            }\n            if (((NODE *)0x1 < *(NODE **)((long)&pNVar5->sub + 0x28)) &&\n               (pNVar7 == *(NODE **)((long)&pNVar5->sub + 0x10))) {\n              lVar6 = 1;\n              goto LAB_0014c5a5;\n            }\n          }" { (if_statement "if (pNVar7 == *(NODE **)((long)&pNVar5->sub + 8)) {\n              lVar6 = 0;\nLAB_0014c5a5:\n              return (NODE **)((long)&pNVar5->sub + lVar6 * 8 + 0x18);\n            }" if (parenthesized_expression "(pNVar7 == *(NODE **)((long)&pNVar5->sub + 8))" ( (binary_expression "pNVar7 == *(NODE **)((long)&pNVar5->sub + 8)" identifier == (pointer_expression "*(NODE **)((long)&pNVar5->sub + 8)" * (cast_expression "(NODE **)((long)&pNVar5->sub + 8)" ( (type_descriptor "NODE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)&pNVar5->sub + 8)" ( (binary_expression "(long)&pNVar5->sub + 8" (cast_expression "(long)&pNVar5->sub" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&pNVar5->sub" & (field_expression "pNVar5->sub" identifier -> field_identifier))) + number_literal) ))))) )) (compound_statement "{\n              lVar6 = 0;\nLAB_0014c5a5:\n              return (NODE **)((long)&pNVar5->sub + lVar6 * 8 + 0x18);\n            }" { (expression_statement "lVar6 = 0;" (assignment_expression "lVar6 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0014c5a5:\n              return (NODE **)((long)&pNVar5->sub + lVar6 * 8 + 0x18);" statement_identifier : (return_statement "return (NODE **)((long)&pNVar5->sub + lVar6 * 8 + 0x18);" return (cast_expression "(NODE **)((long)&pNVar5->sub + lVar6 * 8 + 0x18)" ( (type_descriptor "NODE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)&pNVar5->sub + lVar6 * 8 + 0x18)" ( (binary_expression "(long)&pNVar5->sub + lVar6 * 8 + 0x18" (binary_expression "(long)&pNVar5->sub + lVar6 * 8" (cast_expression "(long)&pNVar5->sub" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&pNVar5->sub" & (field_expression "pNVar5->sub" identifier -> field_identifier))) + (binary_expression "lVar6 * 8" identifier * number_literal)) + number_literal) ))) ;)) })) (if_statement "if (((NODE *)0x1 < *(NODE **)((long)&pNVar5->sub + 0x28)) &&\n               (pNVar7 == *(NODE **)((long)&pNVar5->sub + 0x10))) {\n              lVar6 = 1;\n              goto LAB_0014c5a5;\n            }" if (parenthesized_expression "(((NODE *)0x1 < *(NODE **)((long)&pNVar5->sub + 0x28)) &&\n               (pNVar7 == *(NODE **)((long)&pNVar5->sub + 0x10)))" ( (binary_expression "((NODE *)0x1 < *(NODE **)((long)&pNVar5->sub + 0x28)) &&\n               (pNVar7 == *(NODE **)((long)&pNVar5->sub + 0x10))" (parenthesized_expression "((NODE *)0x1 < *(NODE **)((long)&pNVar5->sub + 0x28))" ( (binary_expression "(NODE *)0x1 < *(NODE **)((long)&pNVar5->sub + 0x28)" (cast_expression "(NODE *)0x1" ( (type_descriptor "NODE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) < (pointer_expression "*(NODE **)((long)&pNVar5->sub + 0x28)" * (cast_expression "(NODE **)((long)&pNVar5->sub + 0x28)" ( (type_descriptor "NODE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)&pNVar5->sub + 0x28)" ( (binary_expression "(long)&pNVar5->sub + 0x28" (cast_expression "(long)&pNVar5->sub" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&pNVar5->sub" & (field_expression "pNVar5->sub" identifier -> field_identifier))) + number_literal) ))))) )) && (parenthesized_expression "(pNVar7 == *(NODE **)((long)&pNVar5->sub + 0x10))" ( (binary_expression "pNVar7 == *(NODE **)((long)&pNVar5->sub + 0x10)" identifier == (pointer_expression "*(NODE **)((long)&pNVar5->sub + 0x10)" * (cast_expression "(NODE **)((long)&pNVar5->sub + 0x10)" ( (type_descriptor "NODE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)&pNVar5->sub + 0x10)" ( (binary_expression "(long)&pNVar5->sub + 0x10" (cast_expression "(long)&pNVar5->sub" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&pNVar5->sub" & (field_expression "pNVar5->sub" identifier -> field_identifier))) + number_literal) ))))) ))) )) (compound_statement "{\n              lVar6 = 1;\n              goto LAB_0014c5a5;\n            }" { (expression_statement "lVar6 = 1;" (assignment_expression "lVar6 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_0014c5a5;" goto statement_identifier ;) })) })) (expression_statement "pNVar5 = *(NODE **)&pNVar5->sub;" (assignment_expression "pNVar5 = *(NODE **)&pNVar5->sub" identifier = (pointer_expression "*(NODE **)&pNVar5->sub" * (cast_expression "(NODE **)&pNVar5->sub" ( (type_descriptor "NODE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&pNVar5->sub" & (field_expression "pNVar5->sub" identifier -> field_identifier))))) ;) }) while (parenthesized_expression "(pNVar5 != (NODE *)0x0)" ( (binary_expression "pNVar5 != (NODE *)0x0" identifier != (cast_expression "(NODE *)0x0" ( (type_descriptor "NODE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "pNVar5 = (NODE *)0x0;" (assignment_expression "pNVar5 = (NODE *)0x0" identifier = (cast_expression "(NODE *)0x0" ( (type_descriptor "NODE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) }))) }))) (return_statement "return (NODE **)pNVar5;" return (cast_expression "(NODE **)pNVar5" ( (type_descriptor "NODE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier) ;) })))
(translation_unit "long * FUN_0014c522(long param_1,double *param_2)\n\n{\n  long *plVar1;\n  uint uVar2;\n  long lVar3;\n  long *plVar4;\n  ulong uVar5;\n  \n  lVar3 = FUN_0014bf85();\n  if (lVar3 == 0) {\n    plVar1 = *(long **)(param_1 + 0x30);\n    plVar4 = (long *)0x0;\n    if (plVar1 != (long *)0x0) {\n      plVar4 = (long *)(**(code **)(*plVar1 + 0x20))(plVar1,param_2);\n    }\n  }\n  else {\n    lVar3 = *(long *)(param_1 + 8);\n    if (lVar3 == 0) {\n      plVar4 = (long *)0x0;\n    }\n    else {\n      uVar5 = (ulong)*param_2;\n      uVar2 = FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38));\n      plVar4 = *(long **)(lVar3 + (ulong)uVar2 * 8);\n      if (plVar4 != (long *)0x0) {\n        do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);\n        plVar4 = (long *)0x0;\n      }\n    }\n  }\n  return plVar4;\n}\n\n" (function_definition "long * FUN_0014c522(long param_1,double *param_2)\n\n{\n  long *plVar1;\n  uint uVar2;\n  long lVar3;\n  long *plVar4;\n  ulong uVar5;\n  \n  lVar3 = FUN_0014bf85();\n  if (lVar3 == 0) {\n    plVar1 = *(long **)(param_1 + 0x30);\n    plVar4 = (long *)0x0;\n    if (plVar1 != (long *)0x0) {\n      plVar4 = (long *)(**(code **)(*plVar1 + 0x20))(plVar1,param_2);\n    }\n  }\n  else {\n    lVar3 = *(long *)(param_1 + 8);\n    if (lVar3 == 0) {\n      plVar4 = (long *)0x0;\n    }\n    else {\n      uVar5 = (ulong)*param_2;\n      uVar2 = FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38));\n      plVar4 = *(long **)(lVar3 + (ulong)uVar2 * 8);\n      if (plVar4 != (long *)0x0) {\n        do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);\n        plVar4 = (long *)0x0;\n      }\n    }\n  }\n  return plVar4;\n}" (sized_type_specifier "long" long) (pointer_declarator "* FUN_0014c522(long param_1,double *param_2)" * (function_declarator "FUN_0014c522(long param_1,double *param_2)" identifier (parameter_list "(long param_1,double *param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "double *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  long *plVar1;\n  uint uVar2;\n  long lVar3;\n  long *plVar4;\n  ulong uVar5;\n  \n  lVar3 = FUN_0014bf85();\n  if (lVar3 == 0) {\n    plVar1 = *(long **)(param_1 + 0x30);\n    plVar4 = (long *)0x0;\n    if (plVar1 != (long *)0x0) {\n      plVar4 = (long *)(**(code **)(*plVar1 + 0x20))(plVar1,param_2);\n    }\n  }\n  else {\n    lVar3 = *(long *)(param_1 + 8);\n    if (lVar3 == 0) {\n      plVar4 = (long *)0x0;\n    }\n    else {\n      uVar5 = (ulong)*param_2;\n      uVar2 = FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38));\n      plVar4 = *(long **)(lVar3 + (ulong)uVar2 * 8);\n      if (plVar4 != (long *)0x0) {\n        do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);\n        plVar4 = (long *)0x0;\n      }\n    }\n  }\n  return plVar4;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "long *plVar4;" (sized_type_specifier "long" long) (pointer_declarator "*plVar4" * identifier) ;) (declaration "ulong uVar5;" type_identifier identifier ;) (expression_statement "lVar3 = FUN_0014bf85();" (assignment_expression "lVar3 = FUN_0014bf85()" identifier = (call_expression "FUN_0014bf85()" identifier (argument_list "()" ( )))) ;) (if_statement "if (lVar3 == 0) {\n    plVar1 = *(long **)(param_1 + 0x30);\n    plVar4 = (long *)0x0;\n    if (plVar1 != (long *)0x0) {\n      plVar4 = (long *)(**(code **)(*plVar1 + 0x20))(plVar1,param_2);\n    }\n  }\n  else {\n    lVar3 = *(long *)(param_1 + 8);\n    if (lVar3 == 0) {\n      plVar4 = (long *)0x0;\n    }\n    else {\n      uVar5 = (ulong)*param_2;\n      uVar2 = FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38));\n      plVar4 = *(long **)(lVar3 + (ulong)uVar2 * 8);\n      if (plVar4 != (long *)0x0) {\n        do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);\n        plVar4 = (long *)0x0;\n      }\n    }\n  }" if (parenthesized_expression "(lVar3 == 0)" ( (binary_expression "lVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    plVar1 = *(long **)(param_1 + 0x30);\n    plVar4 = (long *)0x0;\n    if (plVar1 != (long *)0x0) {\n      plVar4 = (long *)(**(code **)(*plVar1 + 0x20))(plVar1,param_2);\n    }\n  }" { (expression_statement "plVar1 = *(long **)(param_1 + 0x30);" (assignment_expression "plVar1 = *(long **)(param_1 + 0x30)" identifier = (pointer_expression "*(long **)(param_1 + 0x30)" * (cast_expression "(long **)(param_1 + 0x30)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "plVar4 = (long *)0x0;" (assignment_expression "plVar4 = (long *)0x0" identifier = (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (plVar1 != (long *)0x0) {\n      plVar4 = (long *)(**(code **)(*plVar1 + 0x20))(plVar1,param_2);\n    }" if (parenthesized_expression "(plVar1 != (long *)0x0)" ( (binary_expression "plVar1 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      plVar4 = (long *)(**(code **)(*plVar1 + 0x20))(plVar1,param_2);\n    }" { (expression_statement "plVar4 = (long *)(**(code **)(*plVar1 + 0x20))(plVar1,param_2);" (assignment_expression "plVar4 = (long *)(**(code **)(*plVar1 + 0x20))(plVar1,param_2)" identifier = (cast_expression "(long *)(**(code **)(*plVar1 + 0x20))(plVar1,param_2)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(*plVar1 + 0x20))(plVar1,param_2)" (parenthesized_expression "(**(code **)(*plVar1 + 0x20))" ( (pointer_expression "**(code **)(*plVar1 + 0x20)" * (pointer_expression "*(code **)(*plVar1 + 0x20)" * (cast_expression "(code **)(*plVar1 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x20)" ( (binary_expression "*plVar1 + 0x20" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1,param_2)" ( identifier , identifier ))))) ;) })) }) (else_clause "else {\n    lVar3 = *(long *)(param_1 + 8);\n    if (lVar3 == 0) {\n      plVar4 = (long *)0x0;\n    }\n    else {\n      uVar5 = (ulong)*param_2;\n      uVar2 = FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38));\n      plVar4 = *(long **)(lVar3 + (ulong)uVar2 * 8);\n      if (plVar4 != (long *)0x0) {\n        do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);\n        plVar4 = (long *)0x0;\n      }\n    }\n  }" else (compound_statement "{\n    lVar3 = *(long *)(param_1 + 8);\n    if (lVar3 == 0) {\n      plVar4 = (long *)0x0;\n    }\n    else {\n      uVar5 = (ulong)*param_2;\n      uVar2 = FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38));\n      plVar4 = *(long **)(lVar3 + (ulong)uVar2 * 8);\n      if (plVar4 != (long *)0x0) {\n        do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);\n        plVar4 = (long *)0x0;\n      }\n    }\n  }" { (expression_statement "lVar3 = *(long *)(param_1 + 8);" (assignment_expression "lVar3 = *(long *)(param_1 + 8)" identifier = (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (lVar3 == 0) {\n      plVar4 = (long *)0x0;\n    }\n    else {\n      uVar5 = (ulong)*param_2;\n      uVar2 = FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38));\n      plVar4 = *(long **)(lVar3 + (ulong)uVar2 * 8);\n      if (plVar4 != (long *)0x0) {\n        do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);\n        plVar4 = (long *)0x0;\n      }\n    }" if (parenthesized_expression "(lVar3 == 0)" ( (binary_expression "lVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      plVar4 = (long *)0x0;\n    }" { (expression_statement "plVar4 = (long *)0x0;" (assignment_expression "plVar4 = (long *)0x0" identifier = (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      uVar5 = (ulong)*param_2;\n      uVar2 = FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38));\n      plVar4 = *(long **)(lVar3 + (ulong)uVar2 * 8);\n      if (plVar4 != (long *)0x0) {\n        do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);\n        plVar4 = (long *)0x0;\n      }\n    }" else (compound_statement "{\n      uVar5 = (ulong)*param_2;\n      uVar2 = FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38));\n      plVar4 = *(long **)(lVar3 + (ulong)uVar2 * 8);\n      if (plVar4 != (long *)0x0) {\n        do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);\n        plVar4 = (long *)0x0;\n      }\n    }" { (expression_statement "uVar5 = (ulong)*param_2;" (assignment_expression "uVar5 = (ulong)*param_2" identifier = (binary_expression "(ulong)*param_2" (parenthesized_expression "(ulong)" ( identifier )) * identifier)) ;) (expression_statement "uVar2 = FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38));" (assignment_expression "uVar2 = FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38))" identifier = (call_expression "FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38))" identifier (argument_list "(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38))" ( (binary_expression "uVar5 & 0xffffffff" identifier & number_literal) , (pointer_expression "*(undefined8 *)(param_1 + 0x38)" * (cast_expression "(undefined8 *)(param_1 + 0x38)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) )))) ;) (expression_statement "plVar4 = *(long **)(lVar3 + (ulong)uVar2 * 8);" (assignment_expression "plVar4 = *(long **)(lVar3 + (ulong)uVar2 * 8)" identifier = (pointer_expression "*(long **)(lVar3 + (ulong)uVar2 * 8)" * (cast_expression "(long **)(lVar3 + (ulong)uVar2 * 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar3 + (ulong)uVar2 * 8)" ( (binary_expression "lVar3 + (ulong)uVar2 * 8" identifier + (binary_expression "(ulong)uVar2 * 8" (cast_expression "(ulong)uVar2" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) ))))) ;) (if_statement "if (plVar4 != (long *)0x0) {\n        do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);\n        plVar4 = (long *)0x0;\n      }" if (parenthesized_expression "(plVar4 != (long *)0x0)" ( (binary_expression "plVar4 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);\n        plVar4 = (long *)0x0;\n      }" { (do_statement "do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);" do (compound_statement "{\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        }" { (if_statement "if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }" if (parenthesized_expression "(plVar4[5] != 0)" ( (binary_expression "plVar4[5] != 0" (subscript_expression "plVar4[5]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }" { (if_statement "if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }" if (parenthesized_expression "(uVar5 == plVar4[1])" ( (binary_expression "uVar5 == plVar4[1]" identifier == (subscript_expression "plVar4[1]" identifier [ number_literal ])) )) (compound_statement "{\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }" { (expression_statement "lVar3 = 0;" (assignment_expression "lVar3 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0014c5a5:\n              return plVar4 + lVar3 + 3;" statement_identifier : (return_statement "return plVar4 + lVar3 + 3;" return (binary_expression "plVar4 + lVar3 + 3" (binary_expression "plVar4 + lVar3" identifier + identifier) + number_literal) ;)) })) (if_statement "if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }" if (parenthesized_expression "((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2]))" ( (binary_expression "(1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])" (parenthesized_expression "(1 < (ulong)plVar4[5])" ( (binary_expression "1 < (ulong)plVar4[5]" number_literal < (cast_expression "(ulong)plVar4[5]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "plVar4[5]" identifier [ number_literal ]))) )) && (parenthesized_expression "(uVar5 == plVar4[2])" ( (binary_expression "uVar5 == plVar4[2]" identifier == (subscript_expression "plVar4[2]" identifier [ number_literal ])) ))) )) (compound_statement "{\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }" { (expression_statement "lVar3 = 1;" (assignment_expression "lVar3 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_0014c5a5;" goto statement_identifier ;) })) })) (expression_statement "plVar4 = (long *)*plVar4;" (assignment_expression "plVar4 = (long *)*plVar4" identifier = (cast_expression "(long *)*plVar4" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar4" * identifier))) ;) }) while (parenthesized_expression "(plVar4 != (long *)0x0)" ( (binary_expression "plVar4 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "plVar4 = (long *)0x0;" (assignment_expression "plVar4 = (long *)0x0" identifier = (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) }))) }))) (return_statement "return plVar4;" return identifier ;) })))
(translation_unit (function_definition (sized_type_specifier long) (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , IDENT ))))) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT & LIT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (subscript_expression IDENT [ LIT ])) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (return_statement return (binary_expression (binary_expression IDENT + IDENT) + LIT) ;)) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) && (parenthesized_expression ( (binary_expression IDENT == (subscript_expression IDENT [ LIT ])) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) ;) })) }))) }))) (return_statement return IDENT ;) })))
(function_definition "long * FUN_0014c522(long param_1,double *param_2)\n\n{\n  long *plVar1;\n  uint uVar2;\n  long lVar3;\n  long *plVar4;\n  ulong uVar5;\n  \n  lVar3 = FUN_0014bf85();\n  if (lVar3 == 0) {\n    plVar1 = *(long **)(param_1 + 0x30);\n    plVar4 = (long *)0x0;\n    if (plVar1 != (long *)0x0) {\n      plVar4 = (long *)(**(code **)(*plVar1 + 0x20))(plVar1,param_2);\n    }\n  }\n  else {\n    lVar3 = *(long *)(param_1 + 8);\n    if (lVar3 == 0) {\n      plVar4 = (long *)0x0;\n    }\n    else {\n      uVar5 = (ulong)*param_2;\n      uVar2 = FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38));\n      plVar4 = *(long **)(lVar3 + (ulong)uVar2 * 8);\n      if (plVar4 != (long *)0x0) {\n        do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);\n        plVar4 = (long *)0x0;\n      }\n    }\n  }\n  return plVar4;\n}" (sized_type_specifier "long" (long "long")) (pointer_declarator "* FUN_0014c522(long param_1,double *param_2)" (* "*") (function_declarator "FUN_0014c522(long param_1,double *param_2)" (identifier "FUN_0014c522") (parameter_list "(long param_1,double *param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "double *param_2" (primitive_type "double") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")")))) (compound_statement "{\n  long *plVar1;\n  uint uVar2;\n  long lVar3;\n  long *plVar4;\n  ulong uVar5;\n  \n  lVar3 = FUN_0014bf85();\n  if (lVar3 == 0) {\n    plVar1 = *(long **)(param_1 + 0x30);\n    plVar4 = (long *)0x0;\n    if (plVar1 != (long *)0x0) {\n      plVar4 = (long *)(**(code **)(*plVar1 + 0x20))(plVar1,param_2);\n    }\n  }\n  else {\n    lVar3 = *(long *)(param_1 + 8);\n    if (lVar3 == 0) {\n      plVar4 = (long *)0x0;\n    }\n    else {\n      uVar5 = (ulong)*param_2;\n      uVar2 = FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38));\n      plVar4 = *(long **)(lVar3 + (ulong)uVar2 * 8);\n      if (plVar4 != (long *)0x0) {\n        do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);\n        plVar4 = (long *)0x0;\n      }\n    }\n  }\n  return plVar4;\n}" ({ "{") (declaration "long *plVar1;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar1" (* "*") (identifier "plVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "long *plVar4;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar4" (* "*") (identifier "plVar4")) (; ";")) (declaration "ulong uVar5;" (type_identifier "ulong") (identifier "uVar5") (; ";")) (expression_statement "lVar3 = FUN_0014bf85();" (assignment_expression "lVar3 = FUN_0014bf85()" (identifier "lVar3") (= "=") (call_expression "FUN_0014bf85()" (identifier "FUN_0014bf85") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (lVar3 == 0) {\n    plVar1 = *(long **)(param_1 + 0x30);\n    plVar4 = (long *)0x0;\n    if (plVar1 != (long *)0x0) {\n      plVar4 = (long *)(**(code **)(*plVar1 + 0x20))(plVar1,param_2);\n    }\n  }\n  else {\n    lVar3 = *(long *)(param_1 + 8);\n    if (lVar3 == 0) {\n      plVar4 = (long *)0x0;\n    }\n    else {\n      uVar5 = (ulong)*param_2;\n      uVar2 = FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38));\n      plVar4 = *(long **)(lVar3 + (ulong)uVar2 * 8);\n      if (plVar4 != (long *)0x0) {\n        do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);\n        plVar4 = (long *)0x0;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(lVar3 == 0)" (( "(") (binary_expression "lVar3 == 0" (identifier "lVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    plVar1 = *(long **)(param_1 + 0x30);\n    plVar4 = (long *)0x0;\n    if (plVar1 != (long *)0x0) {\n      plVar4 = (long *)(**(code **)(*plVar1 + 0x20))(plVar1,param_2);\n    }\n  }" ({ "{") (expression_statement "plVar1 = *(long **)(param_1 + 0x30);" (assignment_expression "plVar1 = *(long **)(param_1 + 0x30)" (identifier "plVar1") (= "=") (pointer_expression "*(long **)(param_1 + 0x30)" (* "*") (cast_expression "(long **)(param_1 + 0x30)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "plVar4 = (long *)0x0;" (assignment_expression "plVar4 = (long *)0x0" (identifier "plVar4") (= "=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (if_statement "if (plVar1 != (long *)0x0) {\n      plVar4 = (long *)(**(code **)(*plVar1 + 0x20))(plVar1,param_2);\n    }" (if "if") (parenthesized_expression "(plVar1 != (long *)0x0)" (( "(") (binary_expression "plVar1 != (long *)0x0" (identifier "plVar1") (!= "!=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      plVar4 = (long *)(**(code **)(*plVar1 + 0x20))(plVar1,param_2);\n    }" ({ "{") (expression_statement "plVar4 = (long *)(**(code **)(*plVar1 + 0x20))(plVar1,param_2);" (assignment_expression "plVar4 = (long *)(**(code **)(*plVar1 + 0x20))(plVar1,param_2)" (identifier "plVar4") (= "=") (cast_expression "(long *)(**(code **)(*plVar1 + 0x20))(plVar1,param_2)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(*plVar1 + 0x20))(plVar1,param_2)" (parenthesized_expression "(**(code **)(*plVar1 + 0x20))" (( "(") (pointer_expression "**(code **)(*plVar1 + 0x20)" (* "*") (pointer_expression "*(code **)(*plVar1 + 0x20)" (* "*") (cast_expression "(code **)(*plVar1 + 0x20)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar1 + 0x20)" (( "(") (binary_expression "*plVar1 + 0x20" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (+ "+") (number_literal "0x20")) () ")"))))) () ")")) (argument_list "(plVar1,param_2)" (( "(") (identifier "plVar1") (, ",") (identifier "param_2") () ")"))))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    lVar3 = *(long *)(param_1 + 8);\n    if (lVar3 == 0) {\n      plVar4 = (long *)0x0;\n    }\n    else {\n      uVar5 = (ulong)*param_2;\n      uVar2 = FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38));\n      plVar4 = *(long **)(lVar3 + (ulong)uVar2 * 8);\n      if (plVar4 != (long *)0x0) {\n        do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);\n        plVar4 = (long *)0x0;\n      }\n    }\n  }" (else "else") (compound_statement "{\n    lVar3 = *(long *)(param_1 + 8);\n    if (lVar3 == 0) {\n      plVar4 = (long *)0x0;\n    }\n    else {\n      uVar5 = (ulong)*param_2;\n      uVar2 = FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38));\n      plVar4 = *(long **)(lVar3 + (ulong)uVar2 * 8);\n      if (plVar4 != (long *)0x0) {\n        do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);\n        plVar4 = (long *)0x0;\n      }\n    }\n  }" ({ "{") (expression_statement "lVar3 = *(long *)(param_1 + 8);" (assignment_expression "lVar3 = *(long *)(param_1 + 8)" (identifier "lVar3") (= "=") (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (lVar3 == 0) {\n      plVar4 = (long *)0x0;\n    }\n    else {\n      uVar5 = (ulong)*param_2;\n      uVar2 = FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38));\n      plVar4 = *(long **)(lVar3 + (ulong)uVar2 * 8);\n      if (plVar4 != (long *)0x0) {\n        do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);\n        plVar4 = (long *)0x0;\n      }\n    }" (if "if") (parenthesized_expression "(lVar3 == 0)" (( "(") (binary_expression "lVar3 == 0" (identifier "lVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      plVar4 = (long *)0x0;\n    }" ({ "{") (expression_statement "plVar4 = (long *)0x0;" (assignment_expression "plVar4 = (long *)0x0" (identifier "plVar4") (= "=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")) (else_clause "else {\n      uVar5 = (ulong)*param_2;\n      uVar2 = FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38));\n      plVar4 = *(long **)(lVar3 + (ulong)uVar2 * 8);\n      if (plVar4 != (long *)0x0) {\n        do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);\n        plVar4 = (long *)0x0;\n      }\n    }" (else "else") (compound_statement "{\n      uVar5 = (ulong)*param_2;\n      uVar2 = FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38));\n      plVar4 = *(long **)(lVar3 + (ulong)uVar2 * 8);\n      if (plVar4 != (long *)0x0) {\n        do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);\n        plVar4 = (long *)0x0;\n      }\n    }" ({ "{") (expression_statement "uVar5 = (ulong)*param_2;" (assignment_expression "uVar5 = (ulong)*param_2" (identifier "uVar5") (= "=") (binary_expression "(ulong)*param_2" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (identifier "param_2"))) (; ";")) (expression_statement "uVar2 = FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38));" (assignment_expression "uVar2 = FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38))" (identifier "uVar2") (= "=") (call_expression "FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38))" (identifier "FUN_0014b72e") (argument_list "(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38))" (( "(") (binary_expression "uVar5 & 0xffffffff" (identifier "uVar5") (& "&") (number_literal "0xffffffff")) (, ",") (pointer_expression "*(undefined8 *)(param_1 + 0x38)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x38)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")")))) () ")")))) (; ";")) (expression_statement "plVar4 = *(long **)(lVar3 + (ulong)uVar2 * 8);" (assignment_expression "plVar4 = *(long **)(lVar3 + (ulong)uVar2 * 8)" (identifier "plVar4") (= "=") (pointer_expression "*(long **)(lVar3 + (ulong)uVar2 * 8)" (* "*") (cast_expression "(long **)(lVar3 + (ulong)uVar2 * 8)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar3 + (ulong)uVar2 * 8)" (( "(") (binary_expression "lVar3 + (ulong)uVar2 * 8" (identifier "lVar3") (+ "+") (binary_expression "(ulong)uVar2 * 8" (cast_expression "(ulong)uVar2" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "uVar2")) (* "*") (number_literal "8"))) () ")"))))) (; ";")) (if_statement "if (plVar4 != (long *)0x0) {\n        do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);\n        plVar4 = (long *)0x0;\n      }" (if "if") (parenthesized_expression "(plVar4 != (long *)0x0)" (( "(") (binary_expression "plVar4 != (long *)0x0" (identifier "plVar4") (!= "!=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);\n        plVar4 = (long *)0x0;\n      }" ({ "{") (do_statement "do {\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        } while (plVar4 != (long *)0x0);" (do "do") (compound_statement "{\n          if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }\n          plVar4 = (long *)*plVar4;\n        }" ({ "{") (if_statement "if (plVar4[5] != 0) {\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }" (if "if") (parenthesized_expression "(plVar4[5] != 0)" (( "(") (binary_expression "plVar4[5] != 0" (subscript_expression "plVar4[5]" (identifier "plVar4") ([ "[") (number_literal "5") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }\n            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }\n          }" ({ "{") (if_statement "if (uVar5 == plVar4[1]) {\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }" (if "if") (parenthesized_expression "(uVar5 == plVar4[1])" (( "(") (binary_expression "uVar5 == plVar4[1]" (identifier "uVar5") (== "==") (subscript_expression "plVar4[1]" (identifier "plVar4") ([ "[") (number_literal "1") (] "]"))) () ")")) (compound_statement "{\n              lVar3 = 0;\nLAB_0014c5a5:\n              return plVar4 + lVar3 + 3;\n            }" ({ "{") (expression_statement "lVar3 = 0;" (assignment_expression "lVar3 = 0" (identifier "lVar3") (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_0014c5a5:\n              return plVar4 + lVar3 + 3;" (statement_identifier "LAB_0014c5a5") (: ":") (return_statement "return plVar4 + lVar3 + 3;" (return "return") (binary_expression "plVar4 + lVar3 + 3" (binary_expression "plVar4 + lVar3" (identifier "plVar4") (+ "+") (identifier "lVar3")) (+ "+") (number_literal "3")) (; ";"))) (} "}"))) (if_statement "if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }" (if "if") (parenthesized_expression "((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2]))" (( "(") (binary_expression "(1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])" (parenthesized_expression "(1 < (ulong)plVar4[5])" (( "(") (binary_expression "1 < (ulong)plVar4[5]" (number_literal "1") (< "<") (cast_expression "(ulong)plVar4[5]" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (subscript_expression "plVar4[5]" (identifier "plVar4") ([ "[") (number_literal "5") (] "]")))) () ")")) (&& "&&") (parenthesized_expression "(uVar5 == plVar4[2])" (( "(") (binary_expression "uVar5 == plVar4[2]" (identifier "uVar5") (== "==") (subscript_expression "plVar4[2]" (identifier "plVar4") ([ "[") (number_literal "2") (] "]"))) () ")"))) () ")")) (compound_statement "{\n              lVar3 = 1;\n              goto LAB_0014c5a5;\n            }" ({ "{") (expression_statement "lVar3 = 1;" (assignment_expression "lVar3 = 1" (identifier "lVar3") (= "=") (number_literal "1")) (; ";")) (goto_statement "goto LAB_0014c5a5;" (goto "goto") (statement_identifier "LAB_0014c5a5") (; ";")) (} "}"))) (} "}"))) (expression_statement "plVar4 = (long *)*plVar4;" (assignment_expression "plVar4 = (long *)*plVar4" (identifier "plVar4") (= "=") (cast_expression "(long *)*plVar4" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar4" (* "*") (identifier "plVar4")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(plVar4 != (long *)0x0)" (( "(") (binary_expression "plVar4 != (long *)0x0" (identifier "plVar4") (!= "!=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (expression_statement "plVar4 = (long *)0x0;" (assignment_expression "plVar4 = (long *)0x0" (identifier "plVar4") (= "=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}"))) (} "}")))) (} "}")))) (return_statement "return plVar4;" (return "return") (identifier "plVar4") (; ";")) (} "}")))

type_1 ** function_1(type_1 *symbol,type_1 *subs)

{
  char *var_4;
  type_2 *var_3;
  uint32_t uVar3;
  type_1 **var_2;
  type_1 *var_6;
  long var_8;
  type_1 *var_7;
  
  var_2 = var_1(symbol,subs);
  if (var_2 == (type_1 **)0x0) {
    var_3 = (symbol->sub).nodep.rn;
    var_6 = (type_1 *)0x0;
    if (var_3 != (type_2 *)0x0) {
      var_6 = (type_1 *)(*((var_3->sub).nodep.l.lp)->exists)(var_3,subs);
    }
  }
  else {
    var_4 = (symbol->sub).val.sp;
    if (var_4 == (char *)0x0) {
      var_6 = (type_1 *)0x0;
    }
    else {
      var_7 = (type_1 *)(long)(subs->sub).val.fltnum;
      uVar3 = var_5((uint32_t)var_7,(uint32_t)(symbol->sub).nodep.cnt);
      var_6 = *(type_1 **)(var_4 + (type_3)uVar3 * 8);
      if (var_6 != (type_1 *)0x0) {
        do {
          if (*(type_1 **)((long)&var_6->sub + 0x28) != (type_1 *)0x0) {
            if (var_7 == *(type_1 **)((long)&var_6->sub + 8)) {
              var_8 = 0;
LAB_0014c5a5:
              return (type_1 **)((long)&var_6->sub + var_8 * 8 + 0x18);
            }
            if (((type_1 *)0x1 < *(type_1 **)((long)&var_6->sub + 0x28)) &&
               (var_7 == *(type_1 **)((long)&var_6->sub + 0x10))) {
              var_8 = 1;
              goto LAB_0014c5a5;
            }
          }
          var_6 = *(type_1 **)&var_6->sub;
        } while (var_6 != (type_1 *)0x0);
        var_6 = (type_1 *)0x0;
      }
    }
  }
  return (type_1 **)var_6;
}


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

long * MASKED(long param_1,double *param_2)

{
  long *plVar1;
  uint uVar2;
  long lVar3;
  long *plVar4;
  ulong uVar5;
  
  lVar3 = FUN_0014bf85();
  if (lVar3 == 0) {
    plVar1 = *(long **)(param_1 + 0x30);
    plVar4 = (long *)0x0;
    if (plVar1 != (long *)0x0) {
      plVar4 = (long *)(**(code **)(*plVar1 + 0x20))(plVar1,param_2);
    }
  }
  else {
    lVar3 = *(long *)(param_1 + 8);
    if (lVar3 == 0) {
      plVar4 = (long *)0x0;
    }
    else {
      uVar5 = (ulong)*param_2;
      uVar2 = FUN_0014b72e(uVar5 & 0xffffffff,*(undefined8 *)(param_1 + 0x38));
      plVar4 = *(long **)(lVar3 + (ulong)uVar2 * 8);
      if (plVar4 != (long *)0x0) {
        do {
          if (plVar4[5] != 0) {
            if (uVar5 == plVar4[1]) {
              lVar3 = 0;
LAB_0014c5a5:
              return plVar4 + lVar3 + 3;
            }
            if ((1 < (ulong)plVar4[5]) && (uVar5 == plVar4[2])) {
              lVar3 = 1;
              goto LAB_0014c5a5;
            }
          }
          plVar4 = (long *)*plVar4;
        } while (plVar4 != (long *)0x0);
        plVar4 = (long *)0x0;
      }
    }
  }
  return plVar4;
}

