
Expr * sqlite3VectorFieldSubexpr(Expr *pVector,int i)

{
  u8 uVar1;
  u8 uVar3;
  int iVar2;
  
  uVar1 = pVector->op;
  uVar3 = uVar1;
  if (uVar1 == 0xad) {
    uVar3 = pVector->op2;
  }
  if (uVar3 == 0xae) {
    iVar2 = ((pVector->x).pList)->nExpr;
  }
  else {
    if (uVar3 != 0x88) {
      return pVector;
    }
    iVar2 = ((pVector->x).pSelect)->pEList->nExpr;
  }
  if (iVar2 < 2) {
    return pVector;
  }
  if ((uVar1 != 0x88) && (pVector->op2 != 0x88)) {
    return (Expr *)((pVector->x).pSelect)->addrOpenEphm[i * 4 + -4];
  }
  return ((pVector->x).pSelect)->pEList->a[i].pExpr;
}



char * FUN_00022b88(char *param_1,int param_2)

{
  char cVar1;
  char cVar3;
  int iVar2;
  
  cVar1 = *param_1;
  cVar3 = cVar1;
  if (cVar1 == -0x53) {
    cVar3 = param_1[2];
  }
  if (cVar3 == -0x52) {
    iVar2 = **(int **)(param_1 + 0x14);
  }
  else {
    if (cVar3 != -0x78) {
      return param_1;
    }
    iVar2 = **(int **)(*(int *)(param_1 + 0x14) + 0x1c);
  }
  if (iVar2 < 2) {
    return param_1;
  }
  if ((cVar1 != -0x78) && (param_1[2] != -0x78)) {
    return *(char **)(*(int *)(param_1 + 0x14) + param_2 * 0x10 + 4);
  }
  return *(char **)(*(int *)(*(int *)(param_1 + 0x14) + 0x1c) + param_2 * 0x10 + 4);
}


or v0,a0,zero
li a0,0xad
lbu v1,0x0(v0)
beq v1,a0,0x00022c18
_nop
or a0,v1,zero
li a2,0xae
beq a0,a2,0x00022c0c
_li a2,0x88
beq a0,a2,0x00022bbc
_nop
jr ra
_nop
lw a0,0x14(v0)
lw a0,0x1c(a0)
lw a0,0x0(a0)
slti a0,a0,0x2
bne a0,zero,0x00022bb4
_li a2,0x88
beq v1,a2,0x00022bf8
_lw a0,0x14(v0)
lbu v0,0x2(v0)
beq v0,a2,0x00022bf8
_nop
sll a1,a1,0x4
addu a1,a0,a1
jr ra
_lw v0,0x4(a1)
lw v0,0x1c(a0)
sll a1,a1,0x4
addu a1,v0,a1
jr ra
_lw v0,0x4(a1)
lw a0,0x14(v0)
b 0x00022bc8
_lw a0,0x0(a0)
b 0x00022ba0
_lbu a0,0x2(v0)
(translation_unit "char * FUN_00022b88(char *param_1,int param_2)\n\n{\n  char cVar1;\n  char cVar3;\n  int iVar2;\n  \n  cVar1 = *param_1;\n  cVar3 = cVar1;\n  if (cVar1 == -0x53) {\n    cVar3 = param_1[2];\n  }\n  if (cVar3 == -0x52) {\n    iVar2 = **(int **)(param_1 + 0x14);\n  }\n  else {\n    if (cVar3 != -0x78) {\n      return param_1;\n    }\n    iVar2 = **(int **)(*(int *)(param_1 + 0x14) + 0x1c);\n  }\n  if (iVar2 < 2) {\n    return param_1;\n  }\n  if ((cVar1 != -0x78) && (param_1[2] != -0x78)) {\n    return *(char **)(*(int *)(param_1 + 0x14) + param_2 * 0x10 + 4);\n  }\n  return *(char **)(*(int *)(*(int *)(param_1 + 0x14) + 0x1c) + param_2 * 0x10 + 4);\n}\n\n" (function_definition "char * FUN_00022b88(char *param_1,int param_2)\n\n{\n  char cVar1;\n  char cVar3;\n  int iVar2;\n  \n  cVar1 = *param_1;\n  cVar3 = cVar1;\n  if (cVar1 == -0x53) {\n    cVar3 = param_1[2];\n  }\n  if (cVar3 == -0x52) {\n    iVar2 = **(int **)(param_1 + 0x14);\n  }\n  else {\n    if (cVar3 != -0x78) {\n      return param_1;\n    }\n    iVar2 = **(int **)(*(int *)(param_1 + 0x14) + 0x1c);\n  }\n  if (iVar2 < 2) {\n    return param_1;\n  }\n  if ((cVar1 != -0x78) && (param_1[2] != -0x78)) {\n    return *(char **)(*(int *)(param_1 + 0x14) + param_2 * 0x10 + 4);\n  }\n  return *(char **)(*(int *)(*(int *)(param_1 + 0x14) + 0x1c) + param_2 * 0x10 + 4);\n}" primitive_type (pointer_declarator "* FUN_00022b88(char *param_1,int param_2)" * (function_declarator "FUN_00022b88(char *param_1,int param_2)" identifier (parameter_list "(char *param_1,int param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) )))) (compound_statement "{\n  char cVar1;\n  char cVar3;\n  int iVar2;\n  \n  cVar1 = *param_1;\n  cVar3 = cVar1;\n  if (cVar1 == -0x53) {\n    cVar3 = param_1[2];\n  }\n  if (cVar3 == -0x52) {\n    iVar2 = **(int **)(param_1 + 0x14);\n  }\n  else {\n    if (cVar3 != -0x78) {\n      return param_1;\n    }\n    iVar2 = **(int **)(*(int *)(param_1 + 0x14) + 0x1c);\n  }\n  if (iVar2 < 2) {\n    return param_1;\n  }\n  if ((cVar1 != -0x78) && (param_1[2] != -0x78)) {\n    return *(char **)(*(int *)(param_1 + 0x14) + param_2 * 0x10 + 4);\n  }\n  return *(char **)(*(int *)(*(int *)(param_1 + 0x14) + 0x1c) + param_2 * 0x10 + 4);\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "cVar1 = *param_1;" (assignment_expression "cVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "cVar3 = cVar1;" (assignment_expression "cVar3 = cVar1" identifier = identifier) ;) (if_statement "if (cVar1 == -0x53) {\n    cVar3 = param_1[2];\n  }" if (parenthesized_expression "(cVar1 == -0x53)" ( (binary_expression "cVar1 == -0x53" identifier == number_literal) )) (compound_statement "{\n    cVar3 = param_1[2];\n  }" { (expression_statement "cVar3 = param_1[2];" (assignment_expression "cVar3 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) })) (if_statement "if (cVar3 == -0x52) {\n    iVar2 = **(int **)(param_1 + 0x14);\n  }\n  else {\n    if (cVar3 != -0x78) {\n      return param_1;\n    }\n    iVar2 = **(int **)(*(int *)(param_1 + 0x14) + 0x1c);\n  }" if (parenthesized_expression "(cVar3 == -0x52)" ( (binary_expression "cVar3 == -0x52" identifier == number_literal) )) (compound_statement "{\n    iVar2 = **(int **)(param_1 + 0x14);\n  }" { (expression_statement "iVar2 = **(int **)(param_1 + 0x14);" (assignment_expression "iVar2 = **(int **)(param_1 + 0x14)" identifier = (pointer_expression "**(int **)(param_1 + 0x14)" * (pointer_expression "*(int **)(param_1 + 0x14)" * (cast_expression "(int **)(param_1 + 0x14)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))))) ;) }) (else_clause "else {\n    if (cVar3 != -0x78) {\n      return param_1;\n    }\n    iVar2 = **(int **)(*(int *)(param_1 + 0x14) + 0x1c);\n  }" else (compound_statement "{\n    if (cVar3 != -0x78) {\n      return param_1;\n    }\n    iVar2 = **(int **)(*(int *)(param_1 + 0x14) + 0x1c);\n  }" { (if_statement "if (cVar3 != -0x78) {\n      return param_1;\n    }" if (parenthesized_expression "(cVar3 != -0x78)" ( (binary_expression "cVar3 != -0x78" identifier != number_literal) )) (compound_statement "{\n      return param_1;\n    }" { (return_statement "return param_1;" return identifier ;) })) (expression_statement "iVar2 = **(int **)(*(int *)(param_1 + 0x14) + 0x1c);" (assignment_expression "iVar2 = **(int **)(*(int *)(param_1 + 0x14) + 0x1c)" identifier = (pointer_expression "**(int **)(*(int *)(param_1 + 0x14) + 0x1c)" * (pointer_expression "*(int **)(*(int *)(param_1 + 0x14) + 0x1c)" * (cast_expression "(int **)(*(int *)(param_1 + 0x14) + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0x14) + 0x1c)" ( (binary_expression "*(int *)(param_1 + 0x14) + 0x1c" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) + number_literal) )))))) ;) }))) (if_statement "if (iVar2 < 2) {\n    return param_1;\n  }" if (parenthesized_expression "(iVar2 < 2)" ( (binary_expression "iVar2 < 2" identifier < number_literal) )) (compound_statement "{\n    return param_1;\n  }" { (return_statement "return param_1;" return identifier ;) })) (if_statement "if ((cVar1 != -0x78) && (param_1[2] != -0x78)) {\n    return *(char **)(*(int *)(param_1 + 0x14) + param_2 * 0x10 + 4);\n  }" if (parenthesized_expression "((cVar1 != -0x78) && (param_1[2] != -0x78))" ( (binary_expression "(cVar1 != -0x78) && (param_1[2] != -0x78)" (parenthesized_expression "(cVar1 != -0x78)" ( (binary_expression "cVar1 != -0x78" identifier != number_literal) )) && (parenthesized_expression "(param_1[2] != -0x78)" ( (binary_expression "param_1[2] != -0x78" (subscript_expression "param_1[2]" identifier [ number_literal ]) != number_literal) ))) )) (compound_statement "{\n    return *(char **)(*(int *)(param_1 + 0x14) + param_2 * 0x10 + 4);\n  }" { (return_statement "return *(char **)(*(int *)(param_1 + 0x14) + param_2 * 0x10 + 4);" return (pointer_expression "*(char **)(*(int *)(param_1 + 0x14) + param_2 * 0x10 + 4)" * (cast_expression "(char **)(*(int *)(param_1 + 0x14) + param_2 * 0x10 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0x14) + param_2 * 0x10 + 4)" ( (binary_expression "*(int *)(param_1 + 0x14) + param_2 * 0x10 + 4" (binary_expression "*(int *)(param_1 + 0x14) + param_2 * 0x10" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) + (binary_expression "param_2 * 0x10" identifier * number_literal)) + number_literal) )))) ;) })) (return_statement "return *(char **)(*(int *)(*(int *)(param_1 + 0x14) + 0x1c) + param_2 * 0x10 + 4);" return (pointer_expression "*(char **)(*(int *)(*(int *)(param_1 + 0x14) + 0x1c) + param_2 * 0x10 + 4)" * (cast_expression "(char **)(*(int *)(*(int *)(param_1 + 0x14) + 0x1c) + param_2 * 0x10 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(*(int *)(param_1 + 0x14) + 0x1c) + param_2 * 0x10 + 4)" ( (binary_expression "*(int *)(*(int *)(param_1 + 0x14) + 0x1c) + param_2 * 0x10 + 4" (binary_expression "*(int *)(*(int *)(param_1 + 0x14) + 0x1c) + param_2 * 0x10" (pointer_expression "*(int *)(*(int *)(param_1 + 0x14) + 0x1c)" * (cast_expression "(int *)(*(int *)(param_1 + 0x14) + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x14) + 0x1c)" ( (binary_expression "*(int *)(param_1 + 0x14) + 0x1c" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) + number_literal) )))) + (binary_expression "param_2 * 0x10" identifier * number_literal)) + number_literal) )))) ;) })))
(translation_unit "Expr * sqlite3VectorFieldSubexpr(Expr *pVector,int i)\n\n{\n  u8 uVar1;\n  u8 uVar3;\n  int iVar2;\n  \n  uVar1 = pVector->op;\n  uVar3 = uVar1;\n  if (uVar1 == 0xad) {\n    uVar3 = pVector->op2;\n  }\n  if (uVar3 == 0xae) {\n    iVar2 = ((pVector->x).pList)->nExpr;\n  }\n  else {\n    if (uVar3 != 0x88) {\n      return pVector;\n    }\n    iVar2 = ((pVector->x).pSelect)->pEList->nExpr;\n  }\n  if (iVar2 < 2) {\n    return pVector;\n  }\n  if ((uVar1 != 0x88) && (pVector->op2 != 0x88)) {\n    return (Expr *)((pVector->x).pSelect)->addrOpenEphm[i * 4 + -4];\n  }\n  return ((pVector->x).pSelect)->pEList->a[i].pExpr;\n}\n\n" (function_definition "Expr * sqlite3VectorFieldSubexpr(Expr *pVector,int i)\n\n{\n  u8 uVar1;\n  u8 uVar3;\n  int iVar2;\n  \n  uVar1 = pVector->op;\n  uVar3 = uVar1;\n  if (uVar1 == 0xad) {\n    uVar3 = pVector->op2;\n  }\n  if (uVar3 == 0xae) {\n    iVar2 = ((pVector->x).pList)->nExpr;\n  }\n  else {\n    if (uVar3 != 0x88) {\n      return pVector;\n    }\n    iVar2 = ((pVector->x).pSelect)->pEList->nExpr;\n  }\n  if (iVar2 < 2) {\n    return pVector;\n  }\n  if ((uVar1 != 0x88) && (pVector->op2 != 0x88)) {\n    return (Expr *)((pVector->x).pSelect)->addrOpenEphm[i * 4 + -4];\n  }\n  return ((pVector->x).pSelect)->pEList->a[i].pExpr;\n}" type_identifier (pointer_declarator "* sqlite3VectorFieldSubexpr(Expr *pVector,int i)" * (function_declarator "sqlite3VectorFieldSubexpr(Expr *pVector,int i)" identifier (parameter_list "(Expr *pVector,int i)" ( (parameter_declaration "Expr *pVector" type_identifier (pointer_declarator "*pVector" * identifier)) , (parameter_declaration "int i" primitive_type identifier) )))) (compound_statement "{\n  u8 uVar1;\n  u8 uVar3;\n  int iVar2;\n  \n  uVar1 = pVector->op;\n  uVar3 = uVar1;\n  if (uVar1 == 0xad) {\n    uVar3 = pVector->op2;\n  }\n  if (uVar3 == 0xae) {\n    iVar2 = ((pVector->x).pList)->nExpr;\n  }\n  else {\n    if (uVar3 != 0x88) {\n      return pVector;\n    }\n    iVar2 = ((pVector->x).pSelect)->pEList->nExpr;\n  }\n  if (iVar2 < 2) {\n    return pVector;\n  }\n  if ((uVar1 != 0x88) && (pVector->op2 != 0x88)) {\n    return (Expr *)((pVector->x).pSelect)->addrOpenEphm[i * 4 + -4];\n  }\n  return ((pVector->x).pSelect)->pEList->a[i].pExpr;\n}" { (declaration "u8 uVar1;" type_identifier identifier ;) (declaration "u8 uVar3;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "uVar1 = pVector->op;" (assignment_expression "uVar1 = pVector->op" identifier = (field_expression "pVector->op" identifier -> field_identifier)) ;) (expression_statement "uVar3 = uVar1;" (assignment_expression "uVar3 = uVar1" identifier = identifier) ;) (if_statement "if (uVar1 == 0xad) {\n    uVar3 = pVector->op2;\n  }" if (parenthesized_expression "(uVar1 == 0xad)" ( (binary_expression "uVar1 == 0xad" identifier == number_literal) )) (compound_statement "{\n    uVar3 = pVector->op2;\n  }" { (expression_statement "uVar3 = pVector->op2;" (assignment_expression "uVar3 = pVector->op2" identifier = (field_expression "pVector->op2" identifier -> field_identifier)) ;) })) (if_statement "if (uVar3 == 0xae) {\n    iVar2 = ((pVector->x).pList)->nExpr;\n  }\n  else {\n    if (uVar3 != 0x88) {\n      return pVector;\n    }\n    iVar2 = ((pVector->x).pSelect)->pEList->nExpr;\n  }" if (parenthesized_expression "(uVar3 == 0xae)" ( (binary_expression "uVar3 == 0xae" identifier == number_literal) )) (compound_statement "{\n    iVar2 = ((pVector->x).pList)->nExpr;\n  }" { (expression_statement "iVar2 = ((pVector->x).pList)->nExpr;" (assignment_expression "iVar2 = ((pVector->x).pList)->nExpr" identifier = (field_expression "((pVector->x).pList)->nExpr" (parenthesized_expression "((pVector->x).pList)" ( (field_expression "(pVector->x).pList" (parenthesized_expression "(pVector->x)" ( (field_expression "pVector->x" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier)) ;) }) (else_clause "else {\n    if (uVar3 != 0x88) {\n      return pVector;\n    }\n    iVar2 = ((pVector->x).pSelect)->pEList->nExpr;\n  }" else (compound_statement "{\n    if (uVar3 != 0x88) {\n      return pVector;\n    }\n    iVar2 = ((pVector->x).pSelect)->pEList->nExpr;\n  }" { (if_statement "if (uVar3 != 0x88) {\n      return pVector;\n    }" if (parenthesized_expression "(uVar3 != 0x88)" ( (binary_expression "uVar3 != 0x88" identifier != number_literal) )) (compound_statement "{\n      return pVector;\n    }" { (return_statement "return pVector;" return identifier ;) })) (expression_statement "iVar2 = ((pVector->x).pSelect)->pEList->nExpr;" (assignment_expression "iVar2 = ((pVector->x).pSelect)->pEList->nExpr" identifier = (field_expression "((pVector->x).pSelect)->pEList->nExpr" (field_expression "((pVector->x).pSelect)->pEList" (parenthesized_expression "((pVector->x).pSelect)" ( (field_expression "(pVector->x).pSelect" (parenthesized_expression "(pVector->x)" ( (field_expression "pVector->x" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier) -> field_identifier)) ;) }))) (if_statement "if (iVar2 < 2) {\n    return pVector;\n  }" if (parenthesized_expression "(iVar2 < 2)" ( (binary_expression "iVar2 < 2" identifier < number_literal) )) (compound_statement "{\n    return pVector;\n  }" { (return_statement "return pVector;" return identifier ;) })) (if_statement "if ((uVar1 != 0x88) && (pVector->op2 != 0x88)) {\n    return (Expr *)((pVector->x).pSelect)->addrOpenEphm[i * 4 + -4];\n  }" if (parenthesized_expression "((uVar1 != 0x88) && (pVector->op2 != 0x88))" ( (binary_expression "(uVar1 != 0x88) && (pVector->op2 != 0x88)" (parenthesized_expression "(uVar1 != 0x88)" ( (binary_expression "uVar1 != 0x88" identifier != number_literal) )) && (parenthesized_expression "(pVector->op2 != 0x88)" ( (binary_expression "pVector->op2 != 0x88" (field_expression "pVector->op2" identifier -> field_identifier) != number_literal) ))) )) (compound_statement "{\n    return (Expr *)((pVector->x).pSelect)->addrOpenEphm[i * 4 + -4];\n  }" { (return_statement "return (Expr *)((pVector->x).pSelect)->addrOpenEphm[i * 4 + -4];" return (cast_expression "(Expr *)((pVector->x).pSelect)->addrOpenEphm[i * 4 + -4]" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "((pVector->x).pSelect)->addrOpenEphm[i * 4 + -4]" (field_expression "((pVector->x).pSelect)->addrOpenEphm" (parenthesized_expression "((pVector->x).pSelect)" ( (field_expression "(pVector->x).pSelect" (parenthesized_expression "(pVector->x)" ( (field_expression "pVector->x" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier) [ (binary_expression "i * 4 + -4" (binary_expression "i * 4" identifier * number_literal) + number_literal) ])) ;) })) (return_statement "return ((pVector->x).pSelect)->pEList->a[i].pExpr;" return (field_expression "((pVector->x).pSelect)->pEList->a[i].pExpr" (subscript_expression "((pVector->x).pSelect)->pEList->a[i]" (field_expression "((pVector->x).pSelect)->pEList->a" (field_expression "((pVector->x).pSelect)->pEList" (parenthesized_expression "((pVector->x).pSelect)" ( (field_expression "(pVector->x).pSelect" (parenthesized_expression "(pVector->x)" ( (field_expression "pVector->x" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier) -> field_identifier) [ identifier ]) . field_identifier) ;) })))
(translation_unit "char * FUN_00022b88(char *param_1,int param_2)\n\n{\n  char cVar1;\n  char cVar3;\n  int iVar2;\n  \n  cVar1 = *param_1;\n  cVar3 = cVar1;\n  if (cVar1 == -0x53) {\n    cVar3 = param_1[2];\n  }\n  if (cVar3 == -0x52) {\n    iVar2 = **(int **)(param_1 + 0x14);\n  }\n  else {\n    if (cVar3 != -0x78) {\n      return param_1;\n    }\n    iVar2 = **(int **)(*(int *)(param_1 + 0x14) + 0x1c);\n  }\n  if (iVar2 < 2) {\n    return param_1;\n  }\n  if ((cVar1 != -0x78) && (param_1[2] != -0x78)) {\n    return *(char **)(*(int *)(param_1 + 0x14) + param_2 * 0x10 + 4);\n  }\n  return *(char **)(*(int *)(*(int *)(param_1 + 0x14) + 0x1c) + param_2 * 0x10 + 4);\n}\n\n" (function_definition "char * FUN_00022b88(char *param_1,int param_2)\n\n{\n  char cVar1;\n  char cVar3;\n  int iVar2;\n  \n  cVar1 = *param_1;\n  cVar3 = cVar1;\n  if (cVar1 == -0x53) {\n    cVar3 = param_1[2];\n  }\n  if (cVar3 == -0x52) {\n    iVar2 = **(int **)(param_1 + 0x14);\n  }\n  else {\n    if (cVar3 != -0x78) {\n      return param_1;\n    }\n    iVar2 = **(int **)(*(int *)(param_1 + 0x14) + 0x1c);\n  }\n  if (iVar2 < 2) {\n    return param_1;\n  }\n  if ((cVar1 != -0x78) && (param_1[2] != -0x78)) {\n    return *(char **)(*(int *)(param_1 + 0x14) + param_2 * 0x10 + 4);\n  }\n  return *(char **)(*(int *)(*(int *)(param_1 + 0x14) + 0x1c) + param_2 * 0x10 + 4);\n}" primitive_type (pointer_declarator "* FUN_00022b88(char *param_1,int param_2)" * (function_declarator "FUN_00022b88(char *param_1,int param_2)" identifier (parameter_list "(char *param_1,int param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) )))) (compound_statement "{\n  char cVar1;\n  char cVar3;\n  int iVar2;\n  \n  cVar1 = *param_1;\n  cVar3 = cVar1;\n  if (cVar1 == -0x53) {\n    cVar3 = param_1[2];\n  }\n  if (cVar3 == -0x52) {\n    iVar2 = **(int **)(param_1 + 0x14);\n  }\n  else {\n    if (cVar3 != -0x78) {\n      return param_1;\n    }\n    iVar2 = **(int **)(*(int *)(param_1 + 0x14) + 0x1c);\n  }\n  if (iVar2 < 2) {\n    return param_1;\n  }\n  if ((cVar1 != -0x78) && (param_1[2] != -0x78)) {\n    return *(char **)(*(int *)(param_1 + 0x14) + param_2 * 0x10 + 4);\n  }\n  return *(char **)(*(int *)(*(int *)(param_1 + 0x14) + 0x1c) + param_2 * 0x10 + 4);\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "cVar1 = *param_1;" (assignment_expression "cVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "cVar3 = cVar1;" (assignment_expression "cVar3 = cVar1" identifier = identifier) ;) (if_statement "if (cVar1 == -0x53) {\n    cVar3 = param_1[2];\n  }" if (parenthesized_expression "(cVar1 == -0x53)" ( (binary_expression "cVar1 == -0x53" identifier == number_literal) )) (compound_statement "{\n    cVar3 = param_1[2];\n  }" { (expression_statement "cVar3 = param_1[2];" (assignment_expression "cVar3 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) })) (if_statement "if (cVar3 == -0x52) {\n    iVar2 = **(int **)(param_1 + 0x14);\n  }\n  else {\n    if (cVar3 != -0x78) {\n      return param_1;\n    }\n    iVar2 = **(int **)(*(int *)(param_1 + 0x14) + 0x1c);\n  }" if (parenthesized_expression "(cVar3 == -0x52)" ( (binary_expression "cVar3 == -0x52" identifier == number_literal) )) (compound_statement "{\n    iVar2 = **(int **)(param_1 + 0x14);\n  }" { (expression_statement "iVar2 = **(int **)(param_1 + 0x14);" (assignment_expression "iVar2 = **(int **)(param_1 + 0x14)" identifier = (pointer_expression "**(int **)(param_1 + 0x14)" * (pointer_expression "*(int **)(param_1 + 0x14)" * (cast_expression "(int **)(param_1 + 0x14)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))))) ;) }) (else_clause "else {\n    if (cVar3 != -0x78) {\n      return param_1;\n    }\n    iVar2 = **(int **)(*(int *)(param_1 + 0x14) + 0x1c);\n  }" else (compound_statement "{\n    if (cVar3 != -0x78) {\n      return param_1;\n    }\n    iVar2 = **(int **)(*(int *)(param_1 + 0x14) + 0x1c);\n  }" { (if_statement "if (cVar3 != -0x78) {\n      return param_1;\n    }" if (parenthesized_expression "(cVar3 != -0x78)" ( (binary_expression "cVar3 != -0x78" identifier != number_literal) )) (compound_statement "{\n      return param_1;\n    }" { (return_statement "return param_1;" return identifier ;) })) (expression_statement "iVar2 = **(int **)(*(int *)(param_1 + 0x14) + 0x1c);" (assignment_expression "iVar2 = **(int **)(*(int *)(param_1 + 0x14) + 0x1c)" identifier = (pointer_expression "**(int **)(*(int *)(param_1 + 0x14) + 0x1c)" * (pointer_expression "*(int **)(*(int *)(param_1 + 0x14) + 0x1c)" * (cast_expression "(int **)(*(int *)(param_1 + 0x14) + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0x14) + 0x1c)" ( (binary_expression "*(int *)(param_1 + 0x14) + 0x1c" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) + number_literal) )))))) ;) }))) (if_statement "if (iVar2 < 2) {\n    return param_1;\n  }" if (parenthesized_expression "(iVar2 < 2)" ( (binary_expression "iVar2 < 2" identifier < number_literal) )) (compound_statement "{\n    return param_1;\n  }" { (return_statement "return param_1;" return identifier ;) })) (if_statement "if ((cVar1 != -0x78) && (param_1[2] != -0x78)) {\n    return *(char **)(*(int *)(param_1 + 0x14) + param_2 * 0x10 + 4);\n  }" if (parenthesized_expression "((cVar1 != -0x78) && (param_1[2] != -0x78))" ( (binary_expression "(cVar1 != -0x78) && (param_1[2] != -0x78)" (parenthesized_expression "(cVar1 != -0x78)" ( (binary_expression "cVar1 != -0x78" identifier != number_literal) )) && (parenthesized_expression "(param_1[2] != -0x78)" ( (binary_expression "param_1[2] != -0x78" (subscript_expression "param_1[2]" identifier [ number_literal ]) != number_literal) ))) )) (compound_statement "{\n    return *(char **)(*(int *)(param_1 + 0x14) + param_2 * 0x10 + 4);\n  }" { (return_statement "return *(char **)(*(int *)(param_1 + 0x14) + param_2 * 0x10 + 4);" return (pointer_expression "*(char **)(*(int *)(param_1 + 0x14) + param_2 * 0x10 + 4)" * (cast_expression "(char **)(*(int *)(param_1 + 0x14) + param_2 * 0x10 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0x14) + param_2 * 0x10 + 4)" ( (binary_expression "*(int *)(param_1 + 0x14) + param_2 * 0x10 + 4" (binary_expression "*(int *)(param_1 + 0x14) + param_2 * 0x10" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) + (binary_expression "param_2 * 0x10" identifier * number_literal)) + number_literal) )))) ;) })) (return_statement "return *(char **)(*(int *)(*(int *)(param_1 + 0x14) + 0x1c) + param_2 * 0x10 + 4);" return (pointer_expression "*(char **)(*(int *)(*(int *)(param_1 + 0x14) + 0x1c) + param_2 * 0x10 + 4)" * (cast_expression "(char **)(*(int *)(*(int *)(param_1 + 0x14) + 0x1c) + param_2 * 0x10 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(*(int *)(param_1 + 0x14) + 0x1c) + param_2 * 0x10 + 4)" ( (binary_expression "*(int *)(*(int *)(param_1 + 0x14) + 0x1c) + param_2 * 0x10 + 4" (binary_expression "*(int *)(*(int *)(param_1 + 0x14) + 0x1c) + param_2 * 0x10" (pointer_expression "*(int *)(*(int *)(param_1 + 0x14) + 0x1c)" * (cast_expression "(int *)(*(int *)(param_1 + 0x14) + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x14) + 0x1c)" ( (binary_expression "*(int *)(param_1 + 0x14) + 0x1c" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) + number_literal) )))) + (binary_expression "param_2 * 0x10" identifier * number_literal)) + number_literal) )))) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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 = (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) ))) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) + LIT) )))) ;) })) (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) + (binary_expression IDENT * LIT)) + LIT) )))) ;) })))
(function_definition "char * FUN_00022b88(char *param_1,int param_2)\n\n{\n  char cVar1;\n  char cVar3;\n  int iVar2;\n  \n  cVar1 = *param_1;\n  cVar3 = cVar1;\n  if (cVar1 == -0x53) {\n    cVar3 = param_1[2];\n  }\n  if (cVar3 == -0x52) {\n    iVar2 = **(int **)(param_1 + 0x14);\n  }\n  else {\n    if (cVar3 != -0x78) {\n      return param_1;\n    }\n    iVar2 = **(int **)(*(int *)(param_1 + 0x14) + 0x1c);\n  }\n  if (iVar2 < 2) {\n    return param_1;\n  }\n  if ((cVar1 != -0x78) && (param_1[2] != -0x78)) {\n    return *(char **)(*(int *)(param_1 + 0x14) + param_2 * 0x10 + 4);\n  }\n  return *(char **)(*(int *)(*(int *)(param_1 + 0x14) + 0x1c) + param_2 * 0x10 + 4);\n}" (primitive_type "char") (pointer_declarator "* FUN_00022b88(char *param_1,int param_2)" (* "*") (function_declarator "FUN_00022b88(char *param_1,int param_2)" (identifier "FUN_00022b88") (parameter_list "(char *param_1,int param_2)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")")))) (compound_statement "{\n  char cVar1;\n  char cVar3;\n  int iVar2;\n  \n  cVar1 = *param_1;\n  cVar3 = cVar1;\n  if (cVar1 == -0x53) {\n    cVar3 = param_1[2];\n  }\n  if (cVar3 == -0x52) {\n    iVar2 = **(int **)(param_1 + 0x14);\n  }\n  else {\n    if (cVar3 != -0x78) {\n      return param_1;\n    }\n    iVar2 = **(int **)(*(int *)(param_1 + 0x14) + 0x1c);\n  }\n  if (iVar2 < 2) {\n    return param_1;\n  }\n  if ((cVar1 != -0x78) && (param_1[2] != -0x78)) {\n    return *(char **)(*(int *)(param_1 + 0x14) + param_2 * 0x10 + 4);\n  }\n  return *(char **)(*(int *)(*(int *)(param_1 + 0x14) + 0x1c) + param_2 * 0x10 + 4);\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "char cVar3;" (primitive_type "char") (identifier "cVar3") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "cVar1 = *param_1;" (assignment_expression "cVar1 = *param_1" (identifier "cVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "cVar3 = cVar1;" (assignment_expression "cVar3 = cVar1" (identifier "cVar3") (= "=") (identifier "cVar1")) (; ";")) (if_statement "if (cVar1 == -0x53) {\n    cVar3 = param_1[2];\n  }" (if "if") (parenthesized_expression "(cVar1 == -0x53)" (( "(") (binary_expression "cVar1 == -0x53" (identifier "cVar1") (== "==") (number_literal "-0x53")) () ")")) (compound_statement "{\n    cVar3 = param_1[2];\n  }" ({ "{") (expression_statement "cVar3 = param_1[2];" (assignment_expression "cVar3 = param_1[2]" (identifier "cVar3") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (} "}"))) (if_statement "if (cVar3 == -0x52) {\n    iVar2 = **(int **)(param_1 + 0x14);\n  }\n  else {\n    if (cVar3 != -0x78) {\n      return param_1;\n    }\n    iVar2 = **(int **)(*(int *)(param_1 + 0x14) + 0x1c);\n  }" (if "if") (parenthesized_expression "(cVar3 == -0x52)" (( "(") (binary_expression "cVar3 == -0x52" (identifier "cVar3") (== "==") (number_literal "-0x52")) () ")")) (compound_statement "{\n    iVar2 = **(int **)(param_1 + 0x14);\n  }" ({ "{") (expression_statement "iVar2 = **(int **)(param_1 + 0x14);" (assignment_expression "iVar2 = **(int **)(param_1 + 0x14)" (identifier "iVar2") (= "=") (pointer_expression "**(int **)(param_1 + 0x14)" (* "*") (pointer_expression "*(int **)(param_1 + 0x14)" (* "*") (cast_expression "(int **)(param_1 + 0x14)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))))) (; ";")) (} "}")) (else_clause "else {\n    if (cVar3 != -0x78) {\n      return param_1;\n    }\n    iVar2 = **(int **)(*(int *)(param_1 + 0x14) + 0x1c);\n  }" (else "else") (compound_statement "{\n    if (cVar3 != -0x78) {\n      return param_1;\n    }\n    iVar2 = **(int **)(*(int *)(param_1 + 0x14) + 0x1c);\n  }" ({ "{") (if_statement "if (cVar3 != -0x78) {\n      return param_1;\n    }" (if "if") (parenthesized_expression "(cVar3 != -0x78)" (( "(") (binary_expression "cVar3 != -0x78" (identifier "cVar3") (!= "!=") (number_literal "-0x78")) () ")")) (compound_statement "{\n      return param_1;\n    }" ({ "{") (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "iVar2 = **(int **)(*(int *)(param_1 + 0x14) + 0x1c);" (assignment_expression "iVar2 = **(int **)(*(int *)(param_1 + 0x14) + 0x1c)" (identifier "iVar2") (= "=") (pointer_expression "**(int **)(*(int *)(param_1 + 0x14) + 0x1c)" (* "*") (pointer_expression "*(int **)(*(int *)(param_1 + 0x14) + 0x1c)" (* "*") (cast_expression "(int **)(*(int *)(param_1 + 0x14) + 0x1c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x14) + 0x1c)" (( "(") (binary_expression "*(int *)(param_1 + 0x14) + 0x1c" (pointer_expression "*(int *)(param_1 + 0x14)" (* "*") (cast_expression "(int *)(param_1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (+ "+") (number_literal "0x1c")) () ")")))))) (; ";")) (} "}")))) (if_statement "if (iVar2 < 2) {\n    return param_1;\n  }" (if "if") (parenthesized_expression "(iVar2 < 2)" (( "(") (binary_expression "iVar2 < 2" (identifier "iVar2") (< "<") (number_literal "2")) () ")")) (compound_statement "{\n    return param_1;\n  }" ({ "{") (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (if_statement "if ((cVar1 != -0x78) && (param_1[2] != -0x78)) {\n    return *(char **)(*(int *)(param_1 + 0x14) + param_2 * 0x10 + 4);\n  }" (if "if") (parenthesized_expression "((cVar1 != -0x78) && (param_1[2] != -0x78))" (( "(") (binary_expression "(cVar1 != -0x78) && (param_1[2] != -0x78)" (parenthesized_expression "(cVar1 != -0x78)" (( "(") (binary_expression "cVar1 != -0x78" (identifier "cVar1") (!= "!=") (number_literal "-0x78")) () ")")) (&& "&&") (parenthesized_expression "(param_1[2] != -0x78)" (( "(") (binary_expression "param_1[2] != -0x78" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (!= "!=") (number_literal "-0x78")) () ")"))) () ")")) (compound_statement "{\n    return *(char **)(*(int *)(param_1 + 0x14) + param_2 * 0x10 + 4);\n  }" ({ "{") (return_statement "return *(char **)(*(int *)(param_1 + 0x14) + param_2 * 0x10 + 4);" (return "return") (pointer_expression "*(char **)(*(int *)(param_1 + 0x14) + param_2 * 0x10 + 4)" (* "*") (cast_expression "(char **)(*(int *)(param_1 + 0x14) + param_2 * 0x10 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x14) + param_2 * 0x10 + 4)" (( "(") (binary_expression "*(int *)(param_1 + 0x14) + param_2 * 0x10 + 4" (binary_expression "*(int *)(param_1 + 0x14) + param_2 * 0x10" (pointer_expression "*(int *)(param_1 + 0x14)" (* "*") (cast_expression "(int *)(param_1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (+ "+") (binary_expression "param_2 * 0x10" (identifier "param_2") (* "*") (number_literal "0x10"))) (+ "+") (number_literal "4")) () ")")))) (; ";")) (} "}"))) (return_statement "return *(char **)(*(int *)(*(int *)(param_1 + 0x14) + 0x1c) + param_2 * 0x10 + 4);" (return "return") (pointer_expression "*(char **)(*(int *)(*(int *)(param_1 + 0x14) + 0x1c) + param_2 * 0x10 + 4)" (* "*") (cast_expression "(char **)(*(int *)(*(int *)(param_1 + 0x14) + 0x1c) + param_2 * 0x10 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(*(int *)(param_1 + 0x14) + 0x1c) + param_2 * 0x10 + 4)" (( "(") (binary_expression "*(int *)(*(int *)(param_1 + 0x14) + 0x1c) + param_2 * 0x10 + 4" (binary_expression "*(int *)(*(int *)(param_1 + 0x14) + 0x1c) + param_2 * 0x10" (pointer_expression "*(int *)(*(int *)(param_1 + 0x14) + 0x1c)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 0x14) + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x14) + 0x1c)" (( "(") (binary_expression "*(int *)(param_1 + 0x14) + 0x1c" (pointer_expression "*(int *)(param_1 + 0x14)" (* "*") (cast_expression "(int *)(param_1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (+ "+") (number_literal "0x1c")) () ")")))) (+ "+") (binary_expression "param_2 * 0x10" (identifier "param_2") (* "*") (number_literal "0x10"))) (+ "+") (number_literal "4")) () ")")))) (; ";")) (} "}")))

type_1 * function_1(type_1 *pVector,int var_4)

{
  type_2 var_1;
  type_2 var_2;
  int var_3;
  
  var_1 = pVector->op;
  var_2 = var_1;
  if (var_1 == 0xad) {
    var_2 = pVector->op2;
  }
  if (var_2 == 0xae) {
    var_3 = ((pVector->x).pList)->nExpr;
  }
  else {
    if (var_2 != 0x88) {
      return pVector;
    }
    var_3 = ((pVector->x).pSelect)->pEList->nExpr;
  }
  if (var_3 < 2) {
    return pVector;
  }
  if ((var_1 != 0x88) && (pVector->op2 != 0x88)) {
    return (type_1 *)((pVector->x).pSelect)->addrOpenEphm[var_4 * 4 + -4];
  }
  return ((pVector->x).pSelect)->pEList->a[var_4].pExpr;
}


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

char * MASKED(char *param_1,int param_2)

{
  char cVar1;
  char cVar3;
  int iVar2;
  
  cVar1 = *param_1;
  cVar3 = cVar1;
  if (cVar1 == -0x53) {
    cVar3 = param_1[2];
  }
  if (cVar3 == -0x52) {
    iVar2 = **(int **)(param_1 + 0x14);
  }
  else {
    if (cVar3 != -0x78) {
      return param_1;
    }
    iVar2 = **(int **)(*(int *)(param_1 + 0x14) + 0x1c);
  }
  if (iVar2 < 2) {
    return param_1;
  }
  if ((cVar1 != -0x78) && (param_1[2] != -0x78)) {
    return *(char **)(*(int *)(param_1 + 0x14) + param_2 * 0x10 + 4);
  }
  return *(char **)(*(int *)(*(int *)(param_1 + 0x14) + 0x1c) + param_2 * 0x10 + 4);
}

