
char sqlite3ExprAffinity(Expr *pExpr)

{
  byte bVar1;
  char cVar2;
  
  bVar1 = *(byte *)((long)&pExpr->flags + 1);
  while ((bVar1 & 0x10) != 0) {
    pExpr = pExpr->pLeft;
    bVar1 = *(byte *)((long)&pExpr->flags + 1);
  }
  bVar1 = pExpr->op;
  if (bVar1 == 0x88) {
    cVar2 = sqlite3ExprAffinity(((pExpr->x).pSelect)->pEList->a[0].pExpr);
  }
  else {
    if (bVar1 == 0xad) {
      bVar1 = pExpr->op2;
    }
    if (bVar1 == 0x24) {
      cVar2 = sqlite3AffinityType((pExpr->u).zToken,(Column *)0x0);
    }
    else if (((bVar1 & 0xfd) == 0xa4) && ((pExpr->y).pTab != (Table *)0x0)) {
      cVar2 = sqlite3TableColumnAffinity((pExpr->y).pTab,(int)pExpr->iColumn);
    }
    else if (bVar1 == 0xaf) {
      cVar2 = sqlite3ExprAffinity(((pExpr->pLeft->x).pSelect)->pEList->a[pExpr->iColumn].pExpr);
    }
    else if (bVar1 == 0xae) {
      cVar2 = sqlite3ExprAffinity(((pExpr->x).pList)->a[0].pExpr);
    }
    else {
      cVar2 = pExpr->affExpr;
    }
  }
  return cVar2;
}



ulong FUN_00114ad4(byte *param_1)

{
  byte bVar1;
  ulong uVar2;
  
  bVar1 = param_1[5];
  while ((bVar1 & 0x10) != 0) {
    param_1 = *(byte **)(param_1 + 0x10);
    bVar1 = param_1[5];
  }
  bVar1 = *param_1;
  if (bVar1 == 0x88) {
    uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8));
  }
  else {
    if (bVar1 == 0xad) {
      bVar1 = param_1[2];
    }
    if (bVar1 == 0x24) {
      uVar2 = FUN_0011491e(*(undefined8 *)(param_1 + 8),0);
    }
    else if (((bVar1 & 0xfd) == 0xa4) && (*(long *)(param_1 + 0x40) != 0)) {
      uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30));
    }
    else if (bVar1 == 0xaf) {
      uVar2 = FUN_00114ad4(*(undefined8 *)
                            ((long)*(short *)(param_1 + 0x30) * 0x18 +
                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));
    }
    else if (bVar1 == 0xae) {
      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));
    }
    else {
      uVar2 = (ulong)param_1[1];
    }
  }
  return uVar2;
}


SUB RSP,0x8
TEST byte ptr [RDI + 0x5],0x10
JZ 0x00114ae8
MOV RDI,qword ptr [RDI + 0x10]
TEST byte ptr [RDI + 0x5],0x10
JNZ 0x00114ade
MOVZX EAX,byte ptr [RDI]
CMP EAX,0x88
JZ 0x00114b22
CMP EAX,0xad
JZ 0x00114b35
CMP EAX,0x24
JZ 0x00114b3b
MOV EDX,EAX
AND EDX,0xfffffffd
CMP EDX,0xa4
JNZ 0x00114b4b
MOV RDX,qword ptr [RDI + 0x40]
TEST RDX,RDX
JZ 0x00114b4b
MOVSX ESI,word ptr [RDI + 0x30]
MOV RDI,RDX
CALL 0x00110035
JMP 0x00114b5d
MOV RAX,qword ptr [RDI + 0x20]
MOV RAX,qword ptr [RAX + 0x20]
MOV RDI,qword ptr [RAX + 0x8]
CALL 0x00114ad4
JMP 0x00114b5d
MOVZX EAX,byte ptr [RDI + 0x2]
JMP 0x00114af9
MOV RDI,qword ptr [RDI + 0x8]
MOV ESI,0x0
CALL 0x0011491e
JMP 0x00114b5d
CMP EAX,0xaf
JZ 0x00114b62
CMP EAX,0xae
JZ 0x00114b86
MOVZX EAX,byte ptr [RDI + 0x1]
ADD RSP,0x8
RET
MOV RAX,qword ptr [RDI + 0x10]
MOV RDX,qword ptr [RAX + 0x20]
MOVSX RAX,word ptr [RDI + 0x30]
LEA RAX,[RAX + RAX*0x2]
SHL RAX,0x3
ADD RAX,qword ptr [RDX + 0x20]
MOV RDI,qword ptr [RAX + 0x8]
CALL 0x00114ad4
JMP 0x00114b5d
MOV RAX,qword ptr [RDI + 0x20]
MOV RDI,qword ptr [RAX + 0x8]
CALL 0x00114ad4
JMP 0x00114b5d
(translation_unit "ulong FUN_00114ad4(byte *param_1)\n\n{\n  byte bVar1;\n  ulong uVar2;\n  \n  bVar1 = param_1[5];\n  while ((bVar1 & 0x10) != 0) {\n    param_1 = *(byte **)(param_1 + 0x10);\n    bVar1 = param_1[5];\n  }\n  bVar1 = *param_1;\n  if (bVar1 == 0x88) {\n    uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8));\n  }\n  else {\n    if (bVar1 == 0xad) {\n      bVar1 = param_1[2];\n    }\n    if (bVar1 == 0x24) {\n      uVar2 = FUN_0011491e(*(undefined8 *)(param_1 + 8),0);\n    }\n    else if (((bVar1 & 0xfd) == 0xa4) && (*(long *)(param_1 + 0x40) != 0)) {\n      uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30));\n    }\n    else if (bVar1 == 0xaf) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }\n    else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }\n  }\n  return uVar2;\n}\n\n" (function_definition "ulong FUN_00114ad4(byte *param_1)\n\n{\n  byte bVar1;\n  ulong uVar2;\n  \n  bVar1 = param_1[5];\n  while ((bVar1 & 0x10) != 0) {\n    param_1 = *(byte **)(param_1 + 0x10);\n    bVar1 = param_1[5];\n  }\n  bVar1 = *param_1;\n  if (bVar1 == 0x88) {\n    uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8));\n  }\n  else {\n    if (bVar1 == 0xad) {\n      bVar1 = param_1[2];\n    }\n    if (bVar1 == 0x24) {\n      uVar2 = FUN_0011491e(*(undefined8 *)(param_1 + 8),0);\n    }\n    else if (((bVar1 & 0xfd) == 0xa4) && (*(long *)(param_1 + 0x40) != 0)) {\n      uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30));\n    }\n    else if (bVar1 == 0xaf) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }\n    else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }\n  }\n  return uVar2;\n}" type_identifier (function_declarator "FUN_00114ad4(byte *param_1)" identifier (parameter_list "(byte *param_1)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  ulong uVar2;\n  \n  bVar1 = param_1[5];\n  while ((bVar1 & 0x10) != 0) {\n    param_1 = *(byte **)(param_1 + 0x10);\n    bVar1 = param_1[5];\n  }\n  bVar1 = *param_1;\n  if (bVar1 == 0x88) {\n    uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8));\n  }\n  else {\n    if (bVar1 == 0xad) {\n      bVar1 = param_1[2];\n    }\n    if (bVar1 == 0x24) {\n      uVar2 = FUN_0011491e(*(undefined8 *)(param_1 + 8),0);\n    }\n    else if (((bVar1 & 0xfd) == 0xa4) && (*(long *)(param_1 + 0x40) != 0)) {\n      uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30));\n    }\n    else if (bVar1 == 0xaf) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }\n    else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }\n  }\n  return uVar2;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (expression_statement "bVar1 = param_1[5];" (assignment_expression "bVar1 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) (while_statement "while ((bVar1 & 0x10) != 0) {\n    param_1 = *(byte **)(param_1 + 0x10);\n    bVar1 = param_1[5];\n  }" while (parenthesized_expression "((bVar1 & 0x10) != 0)" ( (binary_expression "(bVar1 & 0x10) != 0" (parenthesized_expression "(bVar1 & 0x10)" ( (binary_expression "bVar1 & 0x10" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    param_1 = *(byte **)(param_1 + 0x10);\n    bVar1 = param_1[5];\n  }" { (expression_statement "param_1 = *(byte **)(param_1 + 0x10);" (assignment_expression "param_1 = *(byte **)(param_1 + 0x10)" identifier = (pointer_expression "*(byte **)(param_1 + 0x10)" * (cast_expression "(byte **)(param_1 + 0x10)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "bVar1 = param_1[5];" (assignment_expression "bVar1 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) })) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (bVar1 == 0x88) {\n    uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8));\n  }\n  else {\n    if (bVar1 == 0xad) {\n      bVar1 = param_1[2];\n    }\n    if (bVar1 == 0x24) {\n      uVar2 = FUN_0011491e(*(undefined8 *)(param_1 + 8),0);\n    }\n    else if (((bVar1 & 0xfd) == 0xa4) && (*(long *)(param_1 + 0x40) != 0)) {\n      uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30));\n    }\n    else if (bVar1 == 0xaf) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }\n    else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }\n  }" if (parenthesized_expression "(bVar1 == 0x88)" ( (binary_expression "bVar1 == 0x88" identifier == number_literal) )) (compound_statement "{\n    uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8));\n  }" { (expression_statement "uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8));" (assignment_expression "uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8))" identifier = (call_expression "FUN_00114ad4(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8))" identifier (argument_list "(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8))" ( (pointer_expression "*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8)" * (cast_expression "(undefined8 *)(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8)" ( (binary_expression "*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8" (pointer_expression "*(long *)(*(long *)(param_1 + 0x20) + 0x20)" * (cast_expression "(long *)(*(long *)(param_1 + 0x20) + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x20) + 0x20)" ( (binary_expression "*(long *)(param_1 + 0x20) + 0x20" (pointer_expression "*(long *)(param_1 + 0x20)" * (cast_expression "(long *)(param_1 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) + number_literal) )))) + number_literal) )))) )))) ;) }) (else_clause "else {\n    if (bVar1 == 0xad) {\n      bVar1 = param_1[2];\n    }\n    if (bVar1 == 0x24) {\n      uVar2 = FUN_0011491e(*(undefined8 *)(param_1 + 8),0);\n    }\n    else if (((bVar1 & 0xfd) == 0xa4) && (*(long *)(param_1 + 0x40) != 0)) {\n      uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30));\n    }\n    else if (bVar1 == 0xaf) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }\n    else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }\n  }" else (compound_statement "{\n    if (bVar1 == 0xad) {\n      bVar1 = param_1[2];\n    }\n    if (bVar1 == 0x24) {\n      uVar2 = FUN_0011491e(*(undefined8 *)(param_1 + 8),0);\n    }\n    else if (((bVar1 & 0xfd) == 0xa4) && (*(long *)(param_1 + 0x40) != 0)) {\n      uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30));\n    }\n    else if (bVar1 == 0xaf) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }\n    else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }\n  }" { (if_statement "if (bVar1 == 0xad) {\n      bVar1 = param_1[2];\n    }" if (parenthesized_expression "(bVar1 == 0xad)" ( (binary_expression "bVar1 == 0xad" identifier == number_literal) )) (compound_statement "{\n      bVar1 = param_1[2];\n    }" { (expression_statement "bVar1 = param_1[2];" (assignment_expression "bVar1 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) })) (if_statement "if (bVar1 == 0x24) {\n      uVar2 = FUN_0011491e(*(undefined8 *)(param_1 + 8),0);\n    }\n    else if (((bVar1 & 0xfd) == 0xa4) && (*(long *)(param_1 + 0x40) != 0)) {\n      uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30));\n    }\n    else if (bVar1 == 0xaf) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }\n    else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }" if (parenthesized_expression "(bVar1 == 0x24)" ( (binary_expression "bVar1 == 0x24" identifier == number_literal) )) (compound_statement "{\n      uVar2 = FUN_0011491e(*(undefined8 *)(param_1 + 8),0);\n    }" { (expression_statement "uVar2 = FUN_0011491e(*(undefined8 *)(param_1 + 8),0);" (assignment_expression "uVar2 = FUN_0011491e(*(undefined8 *)(param_1 + 8),0)" identifier = (call_expression "FUN_0011491e(*(undefined8 *)(param_1 + 8),0)" identifier (argument_list "(*(undefined8 *)(param_1 + 8),0)" ( (pointer_expression "*(undefined8 *)(param_1 + 8)" * (cast_expression "(undefined8 *)(param_1 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , number_literal )))) ;) }) (else_clause "else if (((bVar1 & 0xfd) == 0xa4) && (*(long *)(param_1 + 0x40) != 0)) {\n      uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30));\n    }\n    else if (bVar1 == 0xaf) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }\n    else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }" else (if_statement "if (((bVar1 & 0xfd) == 0xa4) && (*(long *)(param_1 + 0x40) != 0)) {\n      uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30));\n    }\n    else if (bVar1 == 0xaf) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }\n    else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }" if (parenthesized_expression "(((bVar1 & 0xfd) == 0xa4) && (*(long *)(param_1 + 0x40) != 0))" ( (binary_expression "((bVar1 & 0xfd) == 0xa4) && (*(long *)(param_1 + 0x40) != 0)" (parenthesized_expression "((bVar1 & 0xfd) == 0xa4)" ( (binary_expression "(bVar1 & 0xfd) == 0xa4" (parenthesized_expression "(bVar1 & 0xfd)" ( (binary_expression "bVar1 & 0xfd" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "(*(long *)(param_1 + 0x40) != 0)" ( (binary_expression "*(long *)(param_1 + 0x40) != 0" (pointer_expression "*(long *)(param_1 + 0x40)" * (cast_expression "(long *)(param_1 + 0x40)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n      uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30));\n    }" { (expression_statement "uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30));" (assignment_expression "uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30))" identifier = (call_expression "FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30))" identifier (argument_list "(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30))" ( (pointer_expression "*(long *)(param_1 + 0x40)" * (cast_expression "(long *)(param_1 + 0x40)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) , (cast_expression "(int)*(short *)(param_1 + 0x30)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(short *)(param_1 + 0x30)" * (cast_expression "(short *)(param_1 + 0x30)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) )))) ;) }) (else_clause "else if (bVar1 == 0xaf) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }\n    else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }" else (if_statement "if (bVar1 == 0xaf) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }\n    else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }" if (parenthesized_expression "(bVar1 == 0xaf)" ( (binary_expression "bVar1 == 0xaf" identifier == number_literal) )) (compound_statement "{\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }" { (expression_statement "uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));" (assignment_expression "uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8))" identifier = (call_expression "FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8))" identifier (argument_list "(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8))" ( (pointer_expression "*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8)" * (cast_expression "(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8)" ( (binary_expression "(long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8" (binary_expression "(long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20)" (binary_expression "(long)*(short *)(param_1 + 0x30) * 0x18" (cast_expression "(long)*(short *)(param_1 + 0x30)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*(short *)(param_1 + 0x30)" * (cast_expression "(short *)(param_1 + 0x30)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) * number_literal) + (pointer_expression "*(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20)" * (cast_expression "(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20)" ( (binary_expression "*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20" (pointer_expression "*(long *)(*(long *)(param_1 + 0x10) + 0x20)" * (cast_expression "(long *)(*(long *)(param_1 + 0x10) + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x10) + 0x20)" ( (binary_expression "*(long *)(param_1 + 0x10) + 0x20" (pointer_expression "*(long *)(param_1 + 0x10)" * (cast_expression "(long *)(param_1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) + number_literal) )))) + number_literal) ))))) + number_literal) )))) )))) ;) }) (else_clause "else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }" else (if_statement "if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }" if (parenthesized_expression "(bVar1 == 0xae)" ( (binary_expression "bVar1 == 0xae" identifier == number_literal) )) (compound_statement "{\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }" { (expression_statement "uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));" (assignment_expression "uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8))" identifier = (call_expression "FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8))" identifier (argument_list "(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8))" ( (pointer_expression "*(undefined8 *)(*(long *)(param_1 + 0x20) + 8)" * (cast_expression "(undefined8 *)(*(long *)(param_1 + 0x20) + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x20) + 8)" ( (binary_expression "*(long *)(param_1 + 0x20) + 8" (pointer_expression "*(long *)(param_1 + 0x20)" * (cast_expression "(long *)(param_1 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) + number_literal) )))) )))) ;) }) (else_clause "else {\n      uVar2 = (ulong)param_1[1];\n    }" else (compound_statement "{\n      uVar2 = (ulong)param_1[1];\n    }" { (expression_statement "uVar2 = (ulong)param_1[1];" (assignment_expression "uVar2 = (ulong)param_1[1]" identifier = (cast_expression "(ulong)param_1[1]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) }))))))))) }))) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "char sqlite3ExprAffinity(Expr *pExpr)\n\n{\n  byte bVar1;\n  char cVar2;\n  \n  bVar1 = *(byte *)((long)&pExpr->flags + 1);\n  while ((bVar1 & 0x10) != 0) {\n    pExpr = pExpr->pLeft;\n    bVar1 = *(byte *)((long)&pExpr->flags + 1);\n  }\n  bVar1 = pExpr->op;\n  if (bVar1 == 0x88) {\n    cVar2 = sqlite3ExprAffinity(((pExpr->x).pSelect)->pEList->a[0].pExpr);\n  }\n  else {\n    if (bVar1 == 0xad) {\n      bVar1 = pExpr->op2;\n    }\n    if (bVar1 == 0x24) {\n      cVar2 = sqlite3AffinityType((pExpr->u).zToken,(Column *)0x0);\n    }\n    else if (((bVar1 & 0xfd) == 0xa4) && ((pExpr->y).pTab != (Table *)0x0)) {\n      cVar2 = sqlite3TableColumnAffinity((pExpr->y).pTab,(int)pExpr->iColumn);\n    }\n    else if (bVar1 == 0xaf) {\n      cVar2 = sqlite3ExprAffinity(((pExpr->pLeft->x).pSelect)->pEList->a[pExpr->iColumn].pExpr);\n    }\n    else if (bVar1 == 0xae) {\n      cVar2 = sqlite3ExprAffinity(((pExpr->x).pList)->a[0].pExpr);\n    }\n    else {\n      cVar2 = pExpr->affExpr;\n    }\n  }\n  return cVar2;\n}\n\n" (function_definition "char sqlite3ExprAffinity(Expr *pExpr)\n\n{\n  byte bVar1;\n  char cVar2;\n  \n  bVar1 = *(byte *)((long)&pExpr->flags + 1);\n  while ((bVar1 & 0x10) != 0) {\n    pExpr = pExpr->pLeft;\n    bVar1 = *(byte *)((long)&pExpr->flags + 1);\n  }\n  bVar1 = pExpr->op;\n  if (bVar1 == 0x88) {\n    cVar2 = sqlite3ExprAffinity(((pExpr->x).pSelect)->pEList->a[0].pExpr);\n  }\n  else {\n    if (bVar1 == 0xad) {\n      bVar1 = pExpr->op2;\n    }\n    if (bVar1 == 0x24) {\n      cVar2 = sqlite3AffinityType((pExpr->u).zToken,(Column *)0x0);\n    }\n    else if (((bVar1 & 0xfd) == 0xa4) && ((pExpr->y).pTab != (Table *)0x0)) {\n      cVar2 = sqlite3TableColumnAffinity((pExpr->y).pTab,(int)pExpr->iColumn);\n    }\n    else if (bVar1 == 0xaf) {\n      cVar2 = sqlite3ExprAffinity(((pExpr->pLeft->x).pSelect)->pEList->a[pExpr->iColumn].pExpr);\n    }\n    else if (bVar1 == 0xae) {\n      cVar2 = sqlite3ExprAffinity(((pExpr->x).pList)->a[0].pExpr);\n    }\n    else {\n      cVar2 = pExpr->affExpr;\n    }\n  }\n  return cVar2;\n}" primitive_type (function_declarator "sqlite3ExprAffinity(Expr *pExpr)" identifier (parameter_list "(Expr *pExpr)" ( (parameter_declaration "Expr *pExpr" type_identifier (pointer_declarator "*pExpr" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  char cVar2;\n  \n  bVar1 = *(byte *)((long)&pExpr->flags + 1);\n  while ((bVar1 & 0x10) != 0) {\n    pExpr = pExpr->pLeft;\n    bVar1 = *(byte *)((long)&pExpr->flags + 1);\n  }\n  bVar1 = pExpr->op;\n  if (bVar1 == 0x88) {\n    cVar2 = sqlite3ExprAffinity(((pExpr->x).pSelect)->pEList->a[0].pExpr);\n  }\n  else {\n    if (bVar1 == 0xad) {\n      bVar1 = pExpr->op2;\n    }\n    if (bVar1 == 0x24) {\n      cVar2 = sqlite3AffinityType((pExpr->u).zToken,(Column *)0x0);\n    }\n    else if (((bVar1 & 0xfd) == 0xa4) && ((pExpr->y).pTab != (Table *)0x0)) {\n      cVar2 = sqlite3TableColumnAffinity((pExpr->y).pTab,(int)pExpr->iColumn);\n    }\n    else if (bVar1 == 0xaf) {\n      cVar2 = sqlite3ExprAffinity(((pExpr->pLeft->x).pSelect)->pEList->a[pExpr->iColumn].pExpr);\n    }\n    else if (bVar1 == 0xae) {\n      cVar2 = sqlite3ExprAffinity(((pExpr->x).pList)->a[0].pExpr);\n    }\n    else {\n      cVar2 = pExpr->affExpr;\n    }\n  }\n  return cVar2;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (expression_statement "bVar1 = *(byte *)((long)&pExpr->flags + 1);" (assignment_expression "bVar1 = *(byte *)((long)&pExpr->flags + 1)" identifier = (pointer_expression "*(byte *)((long)&pExpr->flags + 1)" * (cast_expression "(byte *)((long)&pExpr->flags + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&pExpr->flags + 1)" ( (binary_expression "(long)&pExpr->flags + 1" (cast_expression "(long)&pExpr->flags" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&pExpr->flags" & (field_expression "pExpr->flags" identifier -> field_identifier))) + number_literal) ))))) ;) (while_statement "while ((bVar1 & 0x10) != 0) {\n    pExpr = pExpr->pLeft;\n    bVar1 = *(byte *)((long)&pExpr->flags + 1);\n  }" while (parenthesized_expression "((bVar1 & 0x10) != 0)" ( (binary_expression "(bVar1 & 0x10) != 0" (parenthesized_expression "(bVar1 & 0x10)" ( (binary_expression "bVar1 & 0x10" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    pExpr = pExpr->pLeft;\n    bVar1 = *(byte *)((long)&pExpr->flags + 1);\n  }" { (expression_statement "pExpr = pExpr->pLeft;" (assignment_expression "pExpr = pExpr->pLeft" identifier = (field_expression "pExpr->pLeft" identifier -> field_identifier)) ;) (expression_statement "bVar1 = *(byte *)((long)&pExpr->flags + 1);" (assignment_expression "bVar1 = *(byte *)((long)&pExpr->flags + 1)" identifier = (pointer_expression "*(byte *)((long)&pExpr->flags + 1)" * (cast_expression "(byte *)((long)&pExpr->flags + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&pExpr->flags + 1)" ( (binary_expression "(long)&pExpr->flags + 1" (cast_expression "(long)&pExpr->flags" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&pExpr->flags" & (field_expression "pExpr->flags" identifier -> field_identifier))) + number_literal) ))))) ;) })) (expression_statement "bVar1 = pExpr->op;" (assignment_expression "bVar1 = pExpr->op" identifier = (field_expression "pExpr->op" identifier -> field_identifier)) ;) (if_statement "if (bVar1 == 0x88) {\n    cVar2 = sqlite3ExprAffinity(((pExpr->x).pSelect)->pEList->a[0].pExpr);\n  }\n  else {\n    if (bVar1 == 0xad) {\n      bVar1 = pExpr->op2;\n    }\n    if (bVar1 == 0x24) {\n      cVar2 = sqlite3AffinityType((pExpr->u).zToken,(Column *)0x0);\n    }\n    else if (((bVar1 & 0xfd) == 0xa4) && ((pExpr->y).pTab != (Table *)0x0)) {\n      cVar2 = sqlite3TableColumnAffinity((pExpr->y).pTab,(int)pExpr->iColumn);\n    }\n    else if (bVar1 == 0xaf) {\n      cVar2 = sqlite3ExprAffinity(((pExpr->pLeft->x).pSelect)->pEList->a[pExpr->iColumn].pExpr);\n    }\n    else if (bVar1 == 0xae) {\n      cVar2 = sqlite3ExprAffinity(((pExpr->x).pList)->a[0].pExpr);\n    }\n    else {\n      cVar2 = pExpr->affExpr;\n    }\n  }" if (parenthesized_expression "(bVar1 == 0x88)" ( (binary_expression "bVar1 == 0x88" identifier == number_literal) )) (compound_statement "{\n    cVar2 = sqlite3ExprAffinity(((pExpr->x).pSelect)->pEList->a[0].pExpr);\n  }" { (expression_statement "cVar2 = sqlite3ExprAffinity(((pExpr->x).pSelect)->pEList->a[0].pExpr);" (assignment_expression "cVar2 = sqlite3ExprAffinity(((pExpr->x).pSelect)->pEList->a[0].pExpr)" identifier = (call_expression "sqlite3ExprAffinity(((pExpr->x).pSelect)->pEList->a[0].pExpr)" identifier (argument_list "(((pExpr->x).pSelect)->pEList->a[0].pExpr)" ( (field_expression "((pExpr->x).pSelect)->pEList->a[0].pExpr" (subscript_expression "((pExpr->x).pSelect)->pEList->a[0]" (field_expression "((pExpr->x).pSelect)->pEList->a" (field_expression "((pExpr->x).pSelect)->pEList" (parenthesized_expression "((pExpr->x).pSelect)" ( (field_expression "(pExpr->x).pSelect" (parenthesized_expression "(pExpr->x)" ( (field_expression "pExpr->x" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier) -> field_identifier) [ number_literal ]) . field_identifier) )))) ;) }) (else_clause "else {\n    if (bVar1 == 0xad) {\n      bVar1 = pExpr->op2;\n    }\n    if (bVar1 == 0x24) {\n      cVar2 = sqlite3AffinityType((pExpr->u).zToken,(Column *)0x0);\n    }\n    else if (((bVar1 & 0xfd) == 0xa4) && ((pExpr->y).pTab != (Table *)0x0)) {\n      cVar2 = sqlite3TableColumnAffinity((pExpr->y).pTab,(int)pExpr->iColumn);\n    }\n    else if (bVar1 == 0xaf) {\n      cVar2 = sqlite3ExprAffinity(((pExpr->pLeft->x).pSelect)->pEList->a[pExpr->iColumn].pExpr);\n    }\n    else if (bVar1 == 0xae) {\n      cVar2 = sqlite3ExprAffinity(((pExpr->x).pList)->a[0].pExpr);\n    }\n    else {\n      cVar2 = pExpr->affExpr;\n    }\n  }" else (compound_statement "{\n    if (bVar1 == 0xad) {\n      bVar1 = pExpr->op2;\n    }\n    if (bVar1 == 0x24) {\n      cVar2 = sqlite3AffinityType((pExpr->u).zToken,(Column *)0x0);\n    }\n    else if (((bVar1 & 0xfd) == 0xa4) && ((pExpr->y).pTab != (Table *)0x0)) {\n      cVar2 = sqlite3TableColumnAffinity((pExpr->y).pTab,(int)pExpr->iColumn);\n    }\n    else if (bVar1 == 0xaf) {\n      cVar2 = sqlite3ExprAffinity(((pExpr->pLeft->x).pSelect)->pEList->a[pExpr->iColumn].pExpr);\n    }\n    else if (bVar1 == 0xae) {\n      cVar2 = sqlite3ExprAffinity(((pExpr->x).pList)->a[0].pExpr);\n    }\n    else {\n      cVar2 = pExpr->affExpr;\n    }\n  }" { (if_statement "if (bVar1 == 0xad) {\n      bVar1 = pExpr->op2;\n    }" if (parenthesized_expression "(bVar1 == 0xad)" ( (binary_expression "bVar1 == 0xad" identifier == number_literal) )) (compound_statement "{\n      bVar1 = pExpr->op2;\n    }" { (expression_statement "bVar1 = pExpr->op2;" (assignment_expression "bVar1 = pExpr->op2" identifier = (field_expression "pExpr->op2" identifier -> field_identifier)) ;) })) (if_statement "if (bVar1 == 0x24) {\n      cVar2 = sqlite3AffinityType((pExpr->u).zToken,(Column *)0x0);\n    }\n    else if (((bVar1 & 0xfd) == 0xa4) && ((pExpr->y).pTab != (Table *)0x0)) {\n      cVar2 = sqlite3TableColumnAffinity((pExpr->y).pTab,(int)pExpr->iColumn);\n    }\n    else if (bVar1 == 0xaf) {\n      cVar2 = sqlite3ExprAffinity(((pExpr->pLeft->x).pSelect)->pEList->a[pExpr->iColumn].pExpr);\n    }\n    else if (bVar1 == 0xae) {\n      cVar2 = sqlite3ExprAffinity(((pExpr->x).pList)->a[0].pExpr);\n    }\n    else {\n      cVar2 = pExpr->affExpr;\n    }" if (parenthesized_expression "(bVar1 == 0x24)" ( (binary_expression "bVar1 == 0x24" identifier == number_literal) )) (compound_statement "{\n      cVar2 = sqlite3AffinityType((pExpr->u).zToken,(Column *)0x0);\n    }" { (expression_statement "cVar2 = sqlite3AffinityType((pExpr->u).zToken,(Column *)0x0);" (assignment_expression "cVar2 = sqlite3AffinityType((pExpr->u).zToken,(Column *)0x0)" identifier = (call_expression "sqlite3AffinityType((pExpr->u).zToken,(Column *)0x0)" identifier (argument_list "((pExpr->u).zToken,(Column *)0x0)" ( (field_expression "(pExpr->u).zToken" (parenthesized_expression "(pExpr->u)" ( (field_expression "pExpr->u" identifier -> field_identifier) )) . field_identifier) , (cast_expression "(Column *)0x0" ( (type_descriptor "Column *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) }) (else_clause "else if (((bVar1 & 0xfd) == 0xa4) && ((pExpr->y).pTab != (Table *)0x0)) {\n      cVar2 = sqlite3TableColumnAffinity((pExpr->y).pTab,(int)pExpr->iColumn);\n    }\n    else if (bVar1 == 0xaf) {\n      cVar2 = sqlite3ExprAffinity(((pExpr->pLeft->x).pSelect)->pEList->a[pExpr->iColumn].pExpr);\n    }\n    else if (bVar1 == 0xae) {\n      cVar2 = sqlite3ExprAffinity(((pExpr->x).pList)->a[0].pExpr);\n    }\n    else {\n      cVar2 = pExpr->affExpr;\n    }" else (if_statement "if (((bVar1 & 0xfd) == 0xa4) && ((pExpr->y).pTab != (Table *)0x0)) {\n      cVar2 = sqlite3TableColumnAffinity((pExpr->y).pTab,(int)pExpr->iColumn);\n    }\n    else if (bVar1 == 0xaf) {\n      cVar2 = sqlite3ExprAffinity(((pExpr->pLeft->x).pSelect)->pEList->a[pExpr->iColumn].pExpr);\n    }\n    else if (bVar1 == 0xae) {\n      cVar2 = sqlite3ExprAffinity(((pExpr->x).pList)->a[0].pExpr);\n    }\n    else {\n      cVar2 = pExpr->affExpr;\n    }" if (parenthesized_expression "(((bVar1 & 0xfd) == 0xa4) && ((pExpr->y).pTab != (Table *)0x0))" ( (binary_expression "((bVar1 & 0xfd) == 0xa4) && ((pExpr->y).pTab != (Table *)0x0)" (parenthesized_expression "((bVar1 & 0xfd) == 0xa4)" ( (binary_expression "(bVar1 & 0xfd) == 0xa4" (parenthesized_expression "(bVar1 & 0xfd)" ( (binary_expression "bVar1 & 0xfd" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "((pExpr->y).pTab != (Table *)0x0)" ( (binary_expression "(pExpr->y).pTab != (Table *)0x0" (field_expression "(pExpr->y).pTab" (parenthesized_expression "(pExpr->y)" ( (field_expression "pExpr->y" identifier -> field_identifier) )) . field_identifier) != (cast_expression "(Table *)0x0" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n      cVar2 = sqlite3TableColumnAffinity((pExpr->y).pTab,(int)pExpr->iColumn);\n    }" { (expression_statement "cVar2 = sqlite3TableColumnAffinity((pExpr->y).pTab,(int)pExpr->iColumn);" (assignment_expression "cVar2 = sqlite3TableColumnAffinity((pExpr->y).pTab,(int)pExpr->iColumn)" identifier = (call_expression "sqlite3TableColumnAffinity((pExpr->y).pTab,(int)pExpr->iColumn)" identifier (argument_list "((pExpr->y).pTab,(int)pExpr->iColumn)" ( (field_expression "(pExpr->y).pTab" (parenthesized_expression "(pExpr->y)" ( (field_expression "pExpr->y" identifier -> field_identifier) )) . field_identifier) , (cast_expression "(int)pExpr->iColumn" ( (type_descriptor "int" primitive_type) ) (field_expression "pExpr->iColumn" identifier -> field_identifier)) )))) ;) }) (else_clause "else if (bVar1 == 0xaf) {\n      cVar2 = sqlite3ExprAffinity(((pExpr->pLeft->x).pSelect)->pEList->a[pExpr->iColumn].pExpr);\n    }\n    else if (bVar1 == 0xae) {\n      cVar2 = sqlite3ExprAffinity(((pExpr->x).pList)->a[0].pExpr);\n    }\n    else {\n      cVar2 = pExpr->affExpr;\n    }" else (if_statement "if (bVar1 == 0xaf) {\n      cVar2 = sqlite3ExprAffinity(((pExpr->pLeft->x).pSelect)->pEList->a[pExpr->iColumn].pExpr);\n    }\n    else if (bVar1 == 0xae) {\n      cVar2 = sqlite3ExprAffinity(((pExpr->x).pList)->a[0].pExpr);\n    }\n    else {\n      cVar2 = pExpr->affExpr;\n    }" if (parenthesized_expression "(bVar1 == 0xaf)" ( (binary_expression "bVar1 == 0xaf" identifier == number_literal) )) (compound_statement "{\n      cVar2 = sqlite3ExprAffinity(((pExpr->pLeft->x).pSelect)->pEList->a[pExpr->iColumn].pExpr);\n    }" { (expression_statement "cVar2 = sqlite3ExprAffinity(((pExpr->pLeft->x).pSelect)->pEList->a[pExpr->iColumn].pExpr);" (assignment_expression "cVar2 = sqlite3ExprAffinity(((pExpr->pLeft->x).pSelect)->pEList->a[pExpr->iColumn].pExpr)" identifier = (call_expression "sqlite3ExprAffinity(((pExpr->pLeft->x).pSelect)->pEList->a[pExpr->iColumn].pExpr)" identifier (argument_list "(((pExpr->pLeft->x).pSelect)->pEList->a[pExpr->iColumn].pExpr)" ( (field_expression "((pExpr->pLeft->x).pSelect)->pEList->a[pExpr->iColumn].pExpr" (subscript_expression "((pExpr->pLeft->x).pSelect)->pEList->a[pExpr->iColumn]" (field_expression "((pExpr->pLeft->x).pSelect)->pEList->a" (field_expression "((pExpr->pLeft->x).pSelect)->pEList" (parenthesized_expression "((pExpr->pLeft->x).pSelect)" ( (field_expression "(pExpr->pLeft->x).pSelect" (parenthesized_expression "(pExpr->pLeft->x)" ( (field_expression "pExpr->pLeft->x" (field_expression "pExpr->pLeft" identifier -> field_identifier) -> field_identifier) )) . field_identifier) )) -> field_identifier) -> field_identifier) [ (field_expression "pExpr->iColumn" identifier -> field_identifier) ]) . field_identifier) )))) ;) }) (else_clause "else if (bVar1 == 0xae) {\n      cVar2 = sqlite3ExprAffinity(((pExpr->x).pList)->a[0].pExpr);\n    }\n    else {\n      cVar2 = pExpr->affExpr;\n    }" else (if_statement "if (bVar1 == 0xae) {\n      cVar2 = sqlite3ExprAffinity(((pExpr->x).pList)->a[0].pExpr);\n    }\n    else {\n      cVar2 = pExpr->affExpr;\n    }" if (parenthesized_expression "(bVar1 == 0xae)" ( (binary_expression "bVar1 == 0xae" identifier == number_literal) )) (compound_statement "{\n      cVar2 = sqlite3ExprAffinity(((pExpr->x).pList)->a[0].pExpr);\n    }" { (expression_statement "cVar2 = sqlite3ExprAffinity(((pExpr->x).pList)->a[0].pExpr);" (assignment_expression "cVar2 = sqlite3ExprAffinity(((pExpr->x).pList)->a[0].pExpr)" identifier = (call_expression "sqlite3ExprAffinity(((pExpr->x).pList)->a[0].pExpr)" identifier (argument_list "(((pExpr->x).pList)->a[0].pExpr)" ( (field_expression "((pExpr->x).pList)->a[0].pExpr" (subscript_expression "((pExpr->x).pList)->a[0]" (field_expression "((pExpr->x).pList)->a" (parenthesized_expression "((pExpr->x).pList)" ( (field_expression "(pExpr->x).pList" (parenthesized_expression "(pExpr->x)" ( (field_expression "pExpr->x" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier) [ number_literal ]) . field_identifier) )))) ;) }) (else_clause "else {\n      cVar2 = pExpr->affExpr;\n    }" else (compound_statement "{\n      cVar2 = pExpr->affExpr;\n    }" { (expression_statement "cVar2 = pExpr->affExpr;" (assignment_expression "cVar2 = pExpr->affExpr" identifier = (field_expression "pExpr->affExpr" identifier -> field_identifier)) ;) }))))))))) }))) (return_statement "return cVar2;" return identifier ;) })))
(translation_unit "ulong FUN_00114ad4(byte *param_1)\n\n{\n  byte bVar1;\n  ulong uVar2;\n  \n  bVar1 = param_1[5];\n  while ((bVar1 & 0x10) != 0) {\n    param_1 = *(byte **)(param_1 + 0x10);\n    bVar1 = param_1[5];\n  }\n  bVar1 = *param_1;\n  if (bVar1 == 0x88) {\n    uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8));\n  }\n  else {\n    if (bVar1 == 0xad) {\n      bVar1 = param_1[2];\n    }\n    if (bVar1 == 0x24) {\n      uVar2 = FUN_0011491e(*(undefined8 *)(param_1 + 8),0);\n    }\n    else if (((bVar1 & 0xfd) == 0xa4) && (*(long *)(param_1 + 0x40) != 0)) {\n      uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30));\n    }\n    else if (bVar1 == 0xaf) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }\n    else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }\n  }\n  return uVar2;\n}\n\n" (function_definition "ulong FUN_00114ad4(byte *param_1)\n\n{\n  byte bVar1;\n  ulong uVar2;\n  \n  bVar1 = param_1[5];\n  while ((bVar1 & 0x10) != 0) {\n    param_1 = *(byte **)(param_1 + 0x10);\n    bVar1 = param_1[5];\n  }\n  bVar1 = *param_1;\n  if (bVar1 == 0x88) {\n    uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8));\n  }\n  else {\n    if (bVar1 == 0xad) {\n      bVar1 = param_1[2];\n    }\n    if (bVar1 == 0x24) {\n      uVar2 = FUN_0011491e(*(undefined8 *)(param_1 + 8),0);\n    }\n    else if (((bVar1 & 0xfd) == 0xa4) && (*(long *)(param_1 + 0x40) != 0)) {\n      uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30));\n    }\n    else if (bVar1 == 0xaf) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }\n    else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }\n  }\n  return uVar2;\n}" type_identifier (function_declarator "FUN_00114ad4(byte *param_1)" identifier (parameter_list "(byte *param_1)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  ulong uVar2;\n  \n  bVar1 = param_1[5];\n  while ((bVar1 & 0x10) != 0) {\n    param_1 = *(byte **)(param_1 + 0x10);\n    bVar1 = param_1[5];\n  }\n  bVar1 = *param_1;\n  if (bVar1 == 0x88) {\n    uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8));\n  }\n  else {\n    if (bVar1 == 0xad) {\n      bVar1 = param_1[2];\n    }\n    if (bVar1 == 0x24) {\n      uVar2 = FUN_0011491e(*(undefined8 *)(param_1 + 8),0);\n    }\n    else if (((bVar1 & 0xfd) == 0xa4) && (*(long *)(param_1 + 0x40) != 0)) {\n      uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30));\n    }\n    else if (bVar1 == 0xaf) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }\n    else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }\n  }\n  return uVar2;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (expression_statement "bVar1 = param_1[5];" (assignment_expression "bVar1 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) (while_statement "while ((bVar1 & 0x10) != 0) {\n    param_1 = *(byte **)(param_1 + 0x10);\n    bVar1 = param_1[5];\n  }" while (parenthesized_expression "((bVar1 & 0x10) != 0)" ( (binary_expression "(bVar1 & 0x10) != 0" (parenthesized_expression "(bVar1 & 0x10)" ( (binary_expression "bVar1 & 0x10" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    param_1 = *(byte **)(param_1 + 0x10);\n    bVar1 = param_1[5];\n  }" { (expression_statement "param_1 = *(byte **)(param_1 + 0x10);" (assignment_expression "param_1 = *(byte **)(param_1 + 0x10)" identifier = (pointer_expression "*(byte **)(param_1 + 0x10)" * (cast_expression "(byte **)(param_1 + 0x10)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "bVar1 = param_1[5];" (assignment_expression "bVar1 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) })) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (bVar1 == 0x88) {\n    uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8));\n  }\n  else {\n    if (bVar1 == 0xad) {\n      bVar1 = param_1[2];\n    }\n    if (bVar1 == 0x24) {\n      uVar2 = FUN_0011491e(*(undefined8 *)(param_1 + 8),0);\n    }\n    else if (((bVar1 & 0xfd) == 0xa4) && (*(long *)(param_1 + 0x40) != 0)) {\n      uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30));\n    }\n    else if (bVar1 == 0xaf) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }\n    else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }\n  }" if (parenthesized_expression "(bVar1 == 0x88)" ( (binary_expression "bVar1 == 0x88" identifier == number_literal) )) (compound_statement "{\n    uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8));\n  }" { (expression_statement "uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8));" (assignment_expression "uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8))" identifier = (call_expression "FUN_00114ad4(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8))" identifier (argument_list "(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8))" ( (pointer_expression "*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8)" * (cast_expression "(undefined8 *)(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8)" ( (binary_expression "*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8" (pointer_expression "*(long *)(*(long *)(param_1 + 0x20) + 0x20)" * (cast_expression "(long *)(*(long *)(param_1 + 0x20) + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x20) + 0x20)" ( (binary_expression "*(long *)(param_1 + 0x20) + 0x20" (pointer_expression "*(long *)(param_1 + 0x20)" * (cast_expression "(long *)(param_1 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) + number_literal) )))) + number_literal) )))) )))) ;) }) (else_clause "else {\n    if (bVar1 == 0xad) {\n      bVar1 = param_1[2];\n    }\n    if (bVar1 == 0x24) {\n      uVar2 = FUN_0011491e(*(undefined8 *)(param_1 + 8),0);\n    }\n    else if (((bVar1 & 0xfd) == 0xa4) && (*(long *)(param_1 + 0x40) != 0)) {\n      uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30));\n    }\n    else if (bVar1 == 0xaf) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }\n    else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }\n  }" else (compound_statement "{\n    if (bVar1 == 0xad) {\n      bVar1 = param_1[2];\n    }\n    if (bVar1 == 0x24) {\n      uVar2 = FUN_0011491e(*(undefined8 *)(param_1 + 8),0);\n    }\n    else if (((bVar1 & 0xfd) == 0xa4) && (*(long *)(param_1 + 0x40) != 0)) {\n      uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30));\n    }\n    else if (bVar1 == 0xaf) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }\n    else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }\n  }" { (if_statement "if (bVar1 == 0xad) {\n      bVar1 = param_1[2];\n    }" if (parenthesized_expression "(bVar1 == 0xad)" ( (binary_expression "bVar1 == 0xad" identifier == number_literal) )) (compound_statement "{\n      bVar1 = param_1[2];\n    }" { (expression_statement "bVar1 = param_1[2];" (assignment_expression "bVar1 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) })) (if_statement "if (bVar1 == 0x24) {\n      uVar2 = FUN_0011491e(*(undefined8 *)(param_1 + 8),0);\n    }\n    else if (((bVar1 & 0xfd) == 0xa4) && (*(long *)(param_1 + 0x40) != 0)) {\n      uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30));\n    }\n    else if (bVar1 == 0xaf) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }\n    else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }" if (parenthesized_expression "(bVar1 == 0x24)" ( (binary_expression "bVar1 == 0x24" identifier == number_literal) )) (compound_statement "{\n      uVar2 = FUN_0011491e(*(undefined8 *)(param_1 + 8),0);\n    }" { (expression_statement "uVar2 = FUN_0011491e(*(undefined8 *)(param_1 + 8),0);" (assignment_expression "uVar2 = FUN_0011491e(*(undefined8 *)(param_1 + 8),0)" identifier = (call_expression "FUN_0011491e(*(undefined8 *)(param_1 + 8),0)" identifier (argument_list "(*(undefined8 *)(param_1 + 8),0)" ( (pointer_expression "*(undefined8 *)(param_1 + 8)" * (cast_expression "(undefined8 *)(param_1 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , number_literal )))) ;) }) (else_clause "else if (((bVar1 & 0xfd) == 0xa4) && (*(long *)(param_1 + 0x40) != 0)) {\n      uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30));\n    }\n    else if (bVar1 == 0xaf) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }\n    else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }" else (if_statement "if (((bVar1 & 0xfd) == 0xa4) && (*(long *)(param_1 + 0x40) != 0)) {\n      uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30));\n    }\n    else if (bVar1 == 0xaf) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }\n    else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }" if (parenthesized_expression "(((bVar1 & 0xfd) == 0xa4) && (*(long *)(param_1 + 0x40) != 0))" ( (binary_expression "((bVar1 & 0xfd) == 0xa4) && (*(long *)(param_1 + 0x40) != 0)" (parenthesized_expression "((bVar1 & 0xfd) == 0xa4)" ( (binary_expression "(bVar1 & 0xfd) == 0xa4" (parenthesized_expression "(bVar1 & 0xfd)" ( (binary_expression "bVar1 & 0xfd" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "(*(long *)(param_1 + 0x40) != 0)" ( (binary_expression "*(long *)(param_1 + 0x40) != 0" (pointer_expression "*(long *)(param_1 + 0x40)" * (cast_expression "(long *)(param_1 + 0x40)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n      uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30));\n    }" { (expression_statement "uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30));" (assignment_expression "uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30))" identifier = (call_expression "FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30))" identifier (argument_list "(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30))" ( (pointer_expression "*(long *)(param_1 + 0x40)" * (cast_expression "(long *)(param_1 + 0x40)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) , (cast_expression "(int)*(short *)(param_1 + 0x30)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(short *)(param_1 + 0x30)" * (cast_expression "(short *)(param_1 + 0x30)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) )))) ;) }) (else_clause "else if (bVar1 == 0xaf) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }\n    else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }" else (if_statement "if (bVar1 == 0xaf) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }\n    else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }" if (parenthesized_expression "(bVar1 == 0xaf)" ( (binary_expression "bVar1 == 0xaf" identifier == number_literal) )) (compound_statement "{\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }" { (expression_statement "uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));" (assignment_expression "uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8))" identifier = (call_expression "FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8))" identifier (argument_list "(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8))" ( (pointer_expression "*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8)" * (cast_expression "(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8)" ( (binary_expression "(long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8" (binary_expression "(long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20)" (binary_expression "(long)*(short *)(param_1 + 0x30) * 0x18" (cast_expression "(long)*(short *)(param_1 + 0x30)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*(short *)(param_1 + 0x30)" * (cast_expression "(short *)(param_1 + 0x30)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) * number_literal) + (pointer_expression "*(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20)" * (cast_expression "(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20)" ( (binary_expression "*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20" (pointer_expression "*(long *)(*(long *)(param_1 + 0x10) + 0x20)" * (cast_expression "(long *)(*(long *)(param_1 + 0x10) + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x10) + 0x20)" ( (binary_expression "*(long *)(param_1 + 0x10) + 0x20" (pointer_expression "*(long *)(param_1 + 0x10)" * (cast_expression "(long *)(param_1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) + number_literal) )))) + number_literal) ))))) + number_literal) )))) )))) ;) }) (else_clause "else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }" else (if_statement "if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }" if (parenthesized_expression "(bVar1 == 0xae)" ( (binary_expression "bVar1 == 0xae" identifier == number_literal) )) (compound_statement "{\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }" { (expression_statement "uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));" (assignment_expression "uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8))" identifier = (call_expression "FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8))" identifier (argument_list "(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8))" ( (pointer_expression "*(undefined8 *)(*(long *)(param_1 + 0x20) + 8)" * (cast_expression "(undefined8 *)(*(long *)(param_1 + 0x20) + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x20) + 8)" ( (binary_expression "*(long *)(param_1 + 0x20) + 8" (pointer_expression "*(long *)(param_1 + 0x20)" * (cast_expression "(long *)(param_1 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) + number_literal) )))) )))) ;) }) (else_clause "else {\n      uVar2 = (ulong)param_1[1];\n    }" else (compound_statement "{\n      uVar2 = (ulong)param_1[1];\n    }" { (expression_statement "uVar2 = (ulong)param_1[1];" (assignment_expression "uVar2 = (ulong)param_1[1]" identifier = (cast_expression "(ulong)param_1[1]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) }))))))))) }))) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (while_statement while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) + LIT) )))) )))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT )))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) * LIT) + (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) + LIT) ))))) + LIT) )))) )))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) }))))))))) }))) (return_statement return IDENT ;) })))
(function_definition "ulong FUN_00114ad4(byte *param_1)\n\n{\n  byte bVar1;\n  ulong uVar2;\n  \n  bVar1 = param_1[5];\n  while ((bVar1 & 0x10) != 0) {\n    param_1 = *(byte **)(param_1 + 0x10);\n    bVar1 = param_1[5];\n  }\n  bVar1 = *param_1;\n  if (bVar1 == 0x88) {\n    uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8));\n  }\n  else {\n    if (bVar1 == 0xad) {\n      bVar1 = param_1[2];\n    }\n    if (bVar1 == 0x24) {\n      uVar2 = FUN_0011491e(*(undefined8 *)(param_1 + 8),0);\n    }\n    else if (((bVar1 & 0xfd) == 0xa4) && (*(long *)(param_1 + 0x40) != 0)) {\n      uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30));\n    }\n    else if (bVar1 == 0xaf) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }\n    else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }\n  }\n  return uVar2;\n}" (type_identifier "ulong") (function_declarator "FUN_00114ad4(byte *param_1)" (identifier "FUN_00114ad4") (parameter_list "(byte *param_1)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  byte bVar1;\n  ulong uVar2;\n  \n  bVar1 = param_1[5];\n  while ((bVar1 & 0x10) != 0) {\n    param_1 = *(byte **)(param_1 + 0x10);\n    bVar1 = param_1[5];\n  }\n  bVar1 = *param_1;\n  if (bVar1 == 0x88) {\n    uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8));\n  }\n  else {\n    if (bVar1 == 0xad) {\n      bVar1 = param_1[2];\n    }\n    if (bVar1 == 0x24) {\n      uVar2 = FUN_0011491e(*(undefined8 *)(param_1 + 8),0);\n    }\n    else if (((bVar1 & 0xfd) == 0xa4) && (*(long *)(param_1 + 0x40) != 0)) {\n      uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30));\n    }\n    else if (bVar1 == 0xaf) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }\n    else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }\n  }\n  return uVar2;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "ulong uVar2;" (type_identifier "ulong") (identifier "uVar2") (; ";")) (expression_statement "bVar1 = param_1[5];" (assignment_expression "bVar1 = param_1[5]" (identifier "bVar1") (= "=") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]"))) (; ";")) (while_statement "while ((bVar1 & 0x10) != 0) {\n    param_1 = *(byte **)(param_1 + 0x10);\n    bVar1 = param_1[5];\n  }" (while "while") (parenthesized_expression "((bVar1 & 0x10) != 0)" (( "(") (binary_expression "(bVar1 & 0x10) != 0" (parenthesized_expression "(bVar1 & 0x10)" (( "(") (binary_expression "bVar1 & 0x10" (identifier "bVar1") (& "&") (number_literal "0x10")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    param_1 = *(byte **)(param_1 + 0x10);\n    bVar1 = param_1[5];\n  }" ({ "{") (expression_statement "param_1 = *(byte **)(param_1 + 0x10);" (assignment_expression "param_1 = *(byte **)(param_1 + 0x10)" (identifier "param_1") (= "=") (pointer_expression "*(byte **)(param_1 + 0x10)" (* "*") (cast_expression "(byte **)(param_1 + 0x10)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "bVar1 = param_1[5];" (assignment_expression "bVar1 = param_1[5]" (identifier "bVar1") (= "=") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]"))) (; ";")) (} "}"))) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" (identifier "bVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (bVar1 == 0x88) {\n    uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8));\n  }\n  else {\n    if (bVar1 == 0xad) {\n      bVar1 = param_1[2];\n    }\n    if (bVar1 == 0x24) {\n      uVar2 = FUN_0011491e(*(undefined8 *)(param_1 + 8),0);\n    }\n    else if (((bVar1 & 0xfd) == 0xa4) && (*(long *)(param_1 + 0x40) != 0)) {\n      uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30));\n    }\n    else if (bVar1 == 0xaf) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }\n    else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }\n  }" (if "if") (parenthesized_expression "(bVar1 == 0x88)" (( "(") (binary_expression "bVar1 == 0x88" (identifier "bVar1") (== "==") (number_literal "0x88")) () ")")) (compound_statement "{\n    uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8));\n  }" ({ "{") (expression_statement "uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8));" (assignment_expression "uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8))" (identifier "uVar2") (= "=") (call_expression "FUN_00114ad4(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8))" (identifier "FUN_00114ad4") (argument_list "(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8))" (( "(") (pointer_expression "*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8)" (* "*") (cast_expression "(undefined8 *)(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8)" (( "(") (binary_expression "*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8" (pointer_expression "*(long *)(*(long *)(param_1 + 0x20) + 0x20)" (* "*") (cast_expression "(long *)(*(long *)(param_1 + 0x20) + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x20) + 0x20)" (( "(") (binary_expression "*(long *)(param_1 + 0x20) + 0x20" (pointer_expression "*(long *)(param_1 + 0x20)" (* "*") (cast_expression "(long *)(param_1 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (+ "+") (number_literal "0x20")) () ")")))) (+ "+") (number_literal "8")) () ")")))) () ")")))) (; ";")) (} "}")) (else_clause "else {\n    if (bVar1 == 0xad) {\n      bVar1 = param_1[2];\n    }\n    if (bVar1 == 0x24) {\n      uVar2 = FUN_0011491e(*(undefined8 *)(param_1 + 8),0);\n    }\n    else if (((bVar1 & 0xfd) == 0xa4) && (*(long *)(param_1 + 0x40) != 0)) {\n      uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30));\n    }\n    else if (bVar1 == 0xaf) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }\n    else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }\n  }" (else "else") (compound_statement "{\n    if (bVar1 == 0xad) {\n      bVar1 = param_1[2];\n    }\n    if (bVar1 == 0x24) {\n      uVar2 = FUN_0011491e(*(undefined8 *)(param_1 + 8),0);\n    }\n    else if (((bVar1 & 0xfd) == 0xa4) && (*(long *)(param_1 + 0x40) != 0)) {\n      uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30));\n    }\n    else if (bVar1 == 0xaf) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }\n    else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }\n  }" ({ "{") (if_statement "if (bVar1 == 0xad) {\n      bVar1 = param_1[2];\n    }" (if "if") (parenthesized_expression "(bVar1 == 0xad)" (( "(") (binary_expression "bVar1 == 0xad" (identifier "bVar1") (== "==") (number_literal "0xad")) () ")")) (compound_statement "{\n      bVar1 = param_1[2];\n    }" ({ "{") (expression_statement "bVar1 = param_1[2];" (assignment_expression "bVar1 = param_1[2]" (identifier "bVar1") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (} "}"))) (if_statement "if (bVar1 == 0x24) {\n      uVar2 = FUN_0011491e(*(undefined8 *)(param_1 + 8),0);\n    }\n    else if (((bVar1 & 0xfd) == 0xa4) && (*(long *)(param_1 + 0x40) != 0)) {\n      uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30));\n    }\n    else if (bVar1 == 0xaf) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }\n    else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }" (if "if") (parenthesized_expression "(bVar1 == 0x24)" (( "(") (binary_expression "bVar1 == 0x24" (identifier "bVar1") (== "==") (number_literal "0x24")) () ")")) (compound_statement "{\n      uVar2 = FUN_0011491e(*(undefined8 *)(param_1 + 8),0);\n    }" ({ "{") (expression_statement "uVar2 = FUN_0011491e(*(undefined8 *)(param_1 + 8),0);" (assignment_expression "uVar2 = FUN_0011491e(*(undefined8 *)(param_1 + 8),0)" (identifier "uVar2") (= "=") (call_expression "FUN_0011491e(*(undefined8 *)(param_1 + 8),0)" (identifier "FUN_0011491e") (argument_list "(*(undefined8 *)(param_1 + 8),0)" (( "(") (pointer_expression "*(undefined8 *)(param_1 + 8)" (* "*") (cast_expression "(undefined8 *)(param_1 + 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (, ",") (number_literal "0") () ")")))) (; ";")) (} "}")) (else_clause "else if (((bVar1 & 0xfd) == 0xa4) && (*(long *)(param_1 + 0x40) != 0)) {\n      uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30));\n    }\n    else if (bVar1 == 0xaf) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }\n    else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }" (else "else") (if_statement "if (((bVar1 & 0xfd) == 0xa4) && (*(long *)(param_1 + 0x40) != 0)) {\n      uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30));\n    }\n    else if (bVar1 == 0xaf) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }\n    else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }" (if "if") (parenthesized_expression "(((bVar1 & 0xfd) == 0xa4) && (*(long *)(param_1 + 0x40) != 0))" (( "(") (binary_expression "((bVar1 & 0xfd) == 0xa4) && (*(long *)(param_1 + 0x40) != 0)" (parenthesized_expression "((bVar1 & 0xfd) == 0xa4)" (( "(") (binary_expression "(bVar1 & 0xfd) == 0xa4" (parenthesized_expression "(bVar1 & 0xfd)" (( "(") (binary_expression "bVar1 & 0xfd" (identifier "bVar1") (& "&") (number_literal "0xfd")) () ")")) (== "==") (number_literal "0xa4")) () ")")) (&& "&&") (parenthesized_expression "(*(long *)(param_1 + 0x40) != 0)" (( "(") (binary_expression "*(long *)(param_1 + 0x40) != 0" (pointer_expression "*(long *)(param_1 + 0x40)" (* "*") (cast_expression "(long *)(param_1 + 0x40)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30));\n    }" ({ "{") (expression_statement "uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30));" (assignment_expression "uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30))" (identifier "uVar2") (= "=") (call_expression "FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30))" (identifier "FUN_00110035") (argument_list "(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30))" (( "(") (pointer_expression "*(long *)(param_1 + 0x40)" (* "*") (cast_expression "(long *)(param_1 + 0x40)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")")))) (, ",") (cast_expression "(int)*(short *)(param_1 + 0x30)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*(short *)(param_1 + 0x30)" (* "*") (cast_expression "(short *)(param_1 + 0x30)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")"))))) () ")")))) (; ";")) (} "}")) (else_clause "else if (bVar1 == 0xaf) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }\n    else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }" (else "else") (if_statement "if (bVar1 == 0xaf) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }\n    else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }" (if "if") (parenthesized_expression "(bVar1 == 0xaf)" (( "(") (binary_expression "bVar1 == 0xaf" (identifier "bVar1") (== "==") (number_literal "0xaf")) () ")")) (compound_statement "{\n      uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));\n    }" ({ "{") (expression_statement "uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));" (assignment_expression "uVar2 = FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8))" (identifier "uVar2") (= "=") (call_expression "FUN_00114ad4(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8))" (identifier "FUN_00114ad4") (argument_list "(*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8))" (( "(") (pointer_expression "*(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8)" (* "*") (cast_expression "(undefined8 *)\n                            ((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8)" (( "(") (binary_expression "(long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8" (binary_expression "(long)*(short *)(param_1 + 0x30) * 0x18 +\n                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20)" (binary_expression "(long)*(short *)(param_1 + 0x30) * 0x18" (cast_expression "(long)*(short *)(param_1 + 0x30)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (pointer_expression "*(short *)(param_1 + 0x30)" (* "*") (cast_expression "(short *)(param_1 + 0x30)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")"))))) (* "*") (number_literal "0x18")) (+ "+") (pointer_expression "*(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20)" (* "*") (cast_expression "(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20)" (( "(") (binary_expression "*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20" (pointer_expression "*(long *)(*(long *)(param_1 + 0x10) + 0x20)" (* "*") (cast_expression "(long *)(*(long *)(param_1 + 0x10) + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x10) + 0x20)" (( "(") (binary_expression "*(long *)(param_1 + 0x10) + 0x20" (pointer_expression "*(long *)(param_1 + 0x10)" (* "*") (cast_expression "(long *)(param_1 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (number_literal "0x20")) () ")")))) (+ "+") (number_literal "0x20")) () ")"))))) (+ "+") (number_literal "8")) () ")")))) () ")")))) (; ";")) (} "}")) (else_clause "else if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }" (else "else") (if_statement "if (bVar1 == 0xae) {\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }\n    else {\n      uVar2 = (ulong)param_1[1];\n    }" (if "if") (parenthesized_expression "(bVar1 == 0xae)" (( "(") (binary_expression "bVar1 == 0xae" (identifier "bVar1") (== "==") (number_literal "0xae")) () ")")) (compound_statement "{\n      uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));\n    }" ({ "{") (expression_statement "uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));" (assignment_expression "uVar2 = FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8))" (identifier "uVar2") (= "=") (call_expression "FUN_00114ad4(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8))" (identifier "FUN_00114ad4") (argument_list "(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8))" (( "(") (pointer_expression "*(undefined8 *)(*(long *)(param_1 + 0x20) + 8)" (* "*") (cast_expression "(undefined8 *)(*(long *)(param_1 + 0x20) + 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x20) + 8)" (( "(") (binary_expression "*(long *)(param_1 + 0x20) + 8" (pointer_expression "*(long *)(param_1 + 0x20)" (* "*") (cast_expression "(long *)(param_1 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (+ "+") (number_literal "8")) () ")")))) () ")")))) (; ";")) (} "}")) (else_clause "else {\n      uVar2 = (ulong)param_1[1];\n    }" (else "else") (compound_statement "{\n      uVar2 = (ulong)param_1[1];\n    }" ({ "{") (expression_statement "uVar2 = (ulong)param_1[1];" (assignment_expression "uVar2 = (ulong)param_1[1]" (identifier "uVar2") (= "=") (cast_expression "(ulong)param_1[1]" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (} "}")))))))))) (} "}")))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))

char function_1(type_1 *pExpr)

{
  type_2 var_1;
  char cVar2;
  
  var_1 = *(type_2 *)((long)&pExpr->flags + 1);
  while ((var_1 & 0x10) != 0) {
    pExpr = pExpr->pLeft;
    var_1 = *(type_2 *)((long)&pExpr->flags + 1);
  }
  var_1 = pExpr->op;
  if (var_1 == 0x88) {
    cVar2 = function_1(((pExpr->x).pSelect)->pEList->a[0].pExpr);
  }
  else {
    if (var_1 == 0xad) {
      var_1 = pExpr->op2;
    }
    if (var_1 == 0x24) {
      cVar2 = var_2((pExpr->u).zToken,(type_3 *)0x0);
    }
    else if (((var_1 & 0xfd) == 0xa4) && ((pExpr->y).pTab != (type_4 *)0x0)) {
      cVar2 = var_3((pExpr->y).pTab,(int)pExpr->iColumn);
    }
    else if (var_1 == 0xaf) {
      cVar2 = function_1(((pExpr->pLeft->x).pSelect)->pEList->a[pExpr->iColumn].pExpr);
    }
    else if (var_1 == 0xae) {
      cVar2 = function_1(((pExpr->x).pList)->a[0].pExpr);
    }
    else {
      cVar2 = pExpr->affExpr;
    }
  }
  return cVar2;
}


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

ulong MASKED(byte *param_1)

{
  byte bVar1;
  ulong uVar2;
  
  bVar1 = param_1[5];
  while ((bVar1 & 0x10) != 0) {
    param_1 = *(byte **)(param_1 + 0x10);
    bVar1 = param_1[5];
  }
  bVar1 = *param_1;
  if (bVar1 == 0x88) {
    uVar2 = MASKED(*(undefined8 *)(*(long *)(*(long *)(param_1 + 0x20) + 0x20) + 8));
  }
  else {
    if (bVar1 == 0xad) {
      bVar1 = param_1[2];
    }
    if (bVar1 == 0x24) {
      uVar2 = FUN_0011491e(*(undefined8 *)(param_1 + 8),0);
    }
    else if (((bVar1 & 0xfd) == 0xa4) && (*(long *)(param_1 + 0x40) != 0)) {
      uVar2 = FUN_00110035(*(long *)(param_1 + 0x40),(int)*(short *)(param_1 + 0x30));
    }
    else if (bVar1 == 0xaf) {
      uVar2 = MASKED(*(undefined8 *)
                            ((long)*(short *)(param_1 + 0x30) * 0x18 +
                             *(long *)(*(long *)(*(long *)(param_1 + 0x10) + 0x20) + 0x20) + 8));
    }
    else if (bVar1 == 0xae) {
      uVar2 = MASKED(*(undefined8 *)(*(long *)(param_1 + 0x20) + 8));
    }
    else {
      uVar2 = (ulong)param_1[1];
    }
  }
  return uVar2;
}

