
Expr * sqlite3ExprForVectorField(Parse *pParse,Expr *pVector,int iField)

{
  Expr *pRet;
  Expr *pEVar1;
  RenameToken *pRVar2;
  Expr *pEVar3;
  
  if (pVector->op == 0x88) {
    pEVar3 = sqlite3PExpr(pParse,0xaf,(Expr *)0x0,(Expr *)0x0);
    if (pEVar3 == (Expr *)0x0) {
      return (Expr *)0x0;
    }
    pEVar3->iColumn = (ynVar)iField;
    pEVar3->pLeft = pVector;
    return pEVar3;
  }
  if (pVector->op == 0xae) {
    pEVar1 = ((pVector->x).pList)->a[iField].pExpr;
    pEVar3 = (Expr *)0x0;
    pVector = pEVar1;
    if (pEVar1 == (Expr *)0x0) goto LAB_0006a6dc;
  }
  pEVar1 = exprDup(pParse->db,pVector,0,(u8 **)0x0);
  pEVar3 = pVector;
LAB_0006a6dc:
  pRVar2 = pParse->pRename;
  while( true ) {
    if (pRVar2 == (RenameToken *)0x0) {
      return pEVar1;
    }
    if ((Expr *)pRVar2->p == pEVar3) break;
    pRVar2 = pRVar2->pNext;
  }
  pRVar2->p = pEVar1;
  return pEVar1;
}



void FUN_0006a67c(undefined4 *param_1,char *param_2,int param_3)

{
  char *pcVar1;
  int iVar2;
  undefined4 *puVar3;
  char *pcVar4;
  
  if (*param_2 == -0x78) {
    iVar2 = FUN_0005a2d0(param_1,0xaf,0,0);
    if (iVar2 == 0) {
      return;
    }
    *(short *)(iVar2 + 0x20) = (short)param_3;
    *(char **)(iVar2 + 0xc) = param_2;
    return;
  }
  if (*param_2 == -0x52) {
    pcVar1 = *(char **)(*(int *)(param_2 + 0x14) + param_3 * 0x10 + 4);
    pcVar4 = (char *)0x0;
    param_2 = pcVar1;
    if (pcVar1 == (char *)0x0) goto LAB_0006a6dc;
  }
  pcVar1 = (char *)FUN_00068968(*param_1,param_2,0,0);
  pcVar4 = param_2;
LAB_0006a6dc:
  puVar3 = (undefined4 *)param_1[0x45];
  while( true ) {
    if (puVar3 == (undefined4 *)0x0) {
      return;
    }
    if ((char *)*puVar3 == pcVar4) break;
    puVar3 = (undefined4 *)puVar3[3];
  }
  *puVar3 = pcVar1;
  return;
}


lui gp,0x9
addiu gp,gp,0x2c24
addu gp,gp,t9
addiu sp,sp,-0x28
li v1,0x88
sw s2,0x20(sp)
or s2,a2,zero
sw s0,0x18(sp)
sw gp,0x10(sp)
sw ra,0x24(sp)
sw s1,0x1c(sp)
lbu v0,0x0(a1)
beq v0,v1,0x0006a744
_or s0,a1,zero
li v1,0xae
beq v0,v1,0x0006a724
_or s1,a0,zero
lw t9,-0x7fa4(gp)
or a3,zero,zero
lw a0,0x0(s1)
or a2,zero,zero
addiu t9,t9,-0x7698
bal 0x00068968
_or a1,s0,zero
lw v1,0x114(s1)
bne v1,zero,0x0006a6fc
_lw ra,0x24(sp)
b 0x0006a714
_lw s2,0x20(sp)
lw v1,0xc(v1)
beq v1,zero,0x0006a710
_lw ra,0x24(sp)
lw a0,0x0(v1)
bne a0,s0,0x0006a6f0
_nop
sw v0,0x0(v1)
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
lw v0,0x14(a1)
sll s2,a2,0x4
addu s2,v0,s2
lw v0,0x4(s2)
beq v0,zero,0x0006a6dc
_or s0,zero,zero
b 0x0006a6c0
_or s0,v0,zero
lw t9,-0x7fa0(gp)
or a3,zero,zero
or a2,zero,zero
addiu t9,t9,-0x5d30
bal 0x0005a2d0
_li a1,0xaf
beq v0,zero,0x0006a70c
_lw ra,0x24(sp)
lw s1,0x1c(sp)
sh s2,0x20(v0)
sw s0,0xc(v0)
lw s2,0x20(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "void FUN_0006a67c(undefined4 *param_1,char *param_2,int param_3)\n\n{\n  char *pcVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  char *pcVar4;\n  \n  if (*param_2 == -0x78) {\n    iVar2 = FUN_0005a2d0(param_1,0xaf,0,0);\n    if (iVar2 == 0) {\n      return;\n    }\n    *(short *)(iVar2 + 0x20) = (short)param_3;\n    *(char **)(iVar2 + 0xc) = param_2;\n    return;\n  }\n  if (*param_2 == -0x52) {\n    pcVar1 = *(char **)(*(int *)(param_2 + 0x14) + param_3 * 0x10 + 4);\n    pcVar4 = (char *)0x0;\n    param_2 = pcVar1;\n    if (pcVar1 == (char *)0x0) goto LAB_0006a6dc;\n  }\n  pcVar1 = (char *)FUN_00068968(*param_1,param_2,0,0);\n  pcVar4 = param_2;\nLAB_0006a6dc:\n  puVar3 = (undefined4 *)param_1[0x45];\n  while( true ) {\n    if (puVar3 == (undefined4 *)0x0) {\n      return;\n    }\n    if ((char *)*puVar3 == pcVar4) break;\n    puVar3 = (undefined4 *)puVar3[3];\n  }\n  *puVar3 = pcVar1;\n  return;\n}\n\n" (function_definition "void FUN_0006a67c(undefined4 *param_1,char *param_2,int param_3)\n\n{\n  char *pcVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  char *pcVar4;\n  \n  if (*param_2 == -0x78) {\n    iVar2 = FUN_0005a2d0(param_1,0xaf,0,0);\n    if (iVar2 == 0) {\n      return;\n    }\n    *(short *)(iVar2 + 0x20) = (short)param_3;\n    *(char **)(iVar2 + 0xc) = param_2;\n    return;\n  }\n  if (*param_2 == -0x52) {\n    pcVar1 = *(char **)(*(int *)(param_2 + 0x14) + param_3 * 0x10 + 4);\n    pcVar4 = (char *)0x0;\n    param_2 = pcVar1;\n    if (pcVar1 == (char *)0x0) goto LAB_0006a6dc;\n  }\n  pcVar1 = (char *)FUN_00068968(*param_1,param_2,0,0);\n  pcVar4 = param_2;\nLAB_0006a6dc:\n  puVar3 = (undefined4 *)param_1[0x45];\n  while( true ) {\n    if (puVar3 == (undefined4 *)0x0) {\n      return;\n    }\n    if ((char *)*puVar3 == pcVar4) break;\n    puVar3 = (undefined4 *)puVar3[3];\n  }\n  *puVar3 = pcVar1;\n  return;\n}" primitive_type (function_declarator "FUN_0006a67c(undefined4 *param_1,char *param_2,int param_3)" identifier (parameter_list "(undefined4 *param_1,char *param_2,int param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  char *pcVar4;\n  \n  if (*param_2 == -0x78) {\n    iVar2 = FUN_0005a2d0(param_1,0xaf,0,0);\n    if (iVar2 == 0) {\n      return;\n    }\n    *(short *)(iVar2 + 0x20) = (short)param_3;\n    *(char **)(iVar2 + 0xc) = param_2;\n    return;\n  }\n  if (*param_2 == -0x52) {\n    pcVar1 = *(char **)(*(int *)(param_2 + 0x14) + param_3 * 0x10 + 4);\n    pcVar4 = (char *)0x0;\n    param_2 = pcVar1;\n    if (pcVar1 == (char *)0x0) goto LAB_0006a6dc;\n  }\n  pcVar1 = (char *)FUN_00068968(*param_1,param_2,0,0);\n  pcVar4 = param_2;\nLAB_0006a6dc:\n  puVar3 = (undefined4 *)param_1[0x45];\n  while( true ) {\n    if (puVar3 == (undefined4 *)0x0) {\n      return;\n    }\n    if ((char *)*puVar3 == pcVar4) break;\n    puVar3 = (undefined4 *)puVar3[3];\n  }\n  *puVar3 = pcVar1;\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (if_statement "if (*param_2 == -0x78) {\n    iVar2 = FUN_0005a2d0(param_1,0xaf,0,0);\n    if (iVar2 == 0) {\n      return;\n    }\n    *(short *)(iVar2 + 0x20) = (short)param_3;\n    *(char **)(iVar2 + 0xc) = param_2;\n    return;\n  }" if (parenthesized_expression "(*param_2 == -0x78)" ( (binary_expression "*param_2 == -0x78" (pointer_expression "*param_2" * identifier) == number_literal) )) (compound_statement "{\n    iVar2 = FUN_0005a2d0(param_1,0xaf,0,0);\n    if (iVar2 == 0) {\n      return;\n    }\n    *(short *)(iVar2 + 0x20) = (short)param_3;\n    *(char **)(iVar2 + 0xc) = param_2;\n    return;\n  }" { (expression_statement "iVar2 = FUN_0005a2d0(param_1,0xaf,0,0);" (assignment_expression "iVar2 = FUN_0005a2d0(param_1,0xaf,0,0)" identifier = (call_expression "FUN_0005a2d0(param_1,0xaf,0,0)" identifier (argument_list "(param_1,0xaf,0,0)" ( identifier , number_literal , number_literal , number_literal )))) ;) (if_statement "if (iVar2 == 0) {\n      return;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "*(short *)(iVar2 + 0x20) = (short)param_3;" (assignment_expression "*(short *)(iVar2 + 0x20) = (short)param_3" (pointer_expression "*(short *)(iVar2 + 0x20)" * (cast_expression "(short *)(iVar2 + 0x20)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x20)" ( (binary_expression "iVar2 + 0x20" identifier + number_literal) )))) = (cast_expression "(short)param_3" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) (expression_statement "*(char **)(iVar2 + 0xc) = param_2;" (assignment_expression "*(char **)(iVar2 + 0xc) = param_2" (pointer_expression "*(char **)(iVar2 + 0xc)" * (cast_expression "(char **)(iVar2 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (if_statement "if (*param_2 == -0x52) {\n    pcVar1 = *(char **)(*(int *)(param_2 + 0x14) + param_3 * 0x10 + 4);\n    pcVar4 = (char *)0x0;\n    param_2 = pcVar1;\n    if (pcVar1 == (char *)0x0) goto LAB_0006a6dc;\n  }" if (parenthesized_expression "(*param_2 == -0x52)" ( (binary_expression "*param_2 == -0x52" (pointer_expression "*param_2" * identifier) == number_literal) )) (compound_statement "{\n    pcVar1 = *(char **)(*(int *)(param_2 + 0x14) + param_3 * 0x10 + 4);\n    pcVar4 = (char *)0x0;\n    param_2 = pcVar1;\n    if (pcVar1 == (char *)0x0) goto LAB_0006a6dc;\n  }" { (expression_statement "pcVar1 = *(char **)(*(int *)(param_2 + 0x14) + param_3 * 0x10 + 4);" (assignment_expression "pcVar1 = *(char **)(*(int *)(param_2 + 0x14) + param_3 * 0x10 + 4)" identifier = (pointer_expression "*(char **)(*(int *)(param_2 + 0x14) + param_3 * 0x10 + 4)" * (cast_expression "(char **)(*(int *)(param_2 + 0x14) + param_3 * 0x10 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_2 + 0x14) + param_3 * 0x10 + 4)" ( (binary_expression "*(int *)(param_2 + 0x14) + param_3 * 0x10 + 4" (binary_expression "*(int *)(param_2 + 0x14) + param_3 * 0x10" (pointer_expression "*(int *)(param_2 + 0x14)" * (cast_expression "(int *)(param_2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) + (binary_expression "param_3 * 0x10" identifier * number_literal)) + number_literal) ))))) ;) (expression_statement "pcVar4 = (char *)0x0;" (assignment_expression "pcVar4 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "param_2 = pcVar1;" (assignment_expression "param_2 = pcVar1" identifier = identifier) ;) (if_statement "if (pcVar1 == (char *)0x0) goto LAB_0006a6dc;" if (parenthesized_expression "(pcVar1 == (char *)0x0)" ( (binary_expression "pcVar1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0006a6dc;" goto statement_identifier ;)) })) (expression_statement "pcVar1 = (char *)FUN_00068968(*param_1,param_2,0,0);" (assignment_expression "pcVar1 = (char *)FUN_00068968(*param_1,param_2,0,0)" identifier = (cast_expression "(char *)FUN_00068968(*param_1,param_2,0,0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00068968(*param_1,param_2,0,0)" identifier (argument_list "(*param_1,param_2,0,0)" ( (pointer_expression "*param_1" * identifier) , identifier , number_literal , number_literal ))))) ;) (expression_statement "pcVar4 = param_2;" (assignment_expression "pcVar4 = param_2" identifier = identifier) ;) (labeled_statement "LAB_0006a6dc:\n  puVar3 = (undefined4 *)param_1[0x45];" statement_identifier : (expression_statement "puVar3 = (undefined4 *)param_1[0x45];" (assignment_expression "puVar3 = (undefined4 *)param_1[0x45]" identifier = (cast_expression "(undefined4 *)param_1[0x45]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x45]" identifier [ number_literal ]))) ;)) (while_statement "while( true ) {\n    if (puVar3 == (undefined4 *)0x0) {\n      return;\n    }\n    if ((char *)*puVar3 == pcVar4) break;\n    puVar3 = (undefined4 *)puVar3[3];\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (puVar3 == (undefined4 *)0x0) {\n      return;\n    }\n    if ((char *)*puVar3 == pcVar4) break;\n    puVar3 = (undefined4 *)puVar3[3];\n  }" { (if_statement "if (puVar3 == (undefined4 *)0x0) {\n      return;\n    }" if (parenthesized_expression "(puVar3 == (undefined4 *)0x0)" ( (binary_expression "puVar3 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (if_statement "if ((char *)*puVar3 == pcVar4) break;" if (parenthesized_expression "((char *)*puVar3 == pcVar4)" ( (binary_expression "(char *)*puVar3 == pcVar4" (cast_expression "(char *)*puVar3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier)) == identifier) )) (break_statement "break;" break ;)) (expression_statement "puVar3 = (undefined4 *)puVar3[3];" (assignment_expression "puVar3 = (undefined4 *)puVar3[3]" identifier = (cast_expression "(undefined4 *)puVar3[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar3[3]" identifier [ number_literal ]))) ;) })) (expression_statement "*puVar3 = pcVar1;" (assignment_expression "*puVar3 = pcVar1" (pointer_expression "*puVar3" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "Expr * sqlite3ExprForVectorField(Parse *pParse,Expr *pVector,int iField)\n\n{\n  Expr *pRet;\n  Expr *pEVar1;\n  RenameToken *pRVar2;\n  Expr *pEVar3;\n  \n  if (pVector->op == 0x88) {\n    pEVar3 = sqlite3PExpr(pParse,0xaf,(Expr *)0x0,(Expr *)0x0);\n    if (pEVar3 == (Expr *)0x0) {\n      return (Expr *)0x0;\n    }\n    pEVar3->iColumn = (ynVar)iField;\n    pEVar3->pLeft = pVector;\n    return pEVar3;\n  }\n  if (pVector->op == 0xae) {\n    pEVar1 = ((pVector->x).pList)->a[iField].pExpr;\n    pEVar3 = (Expr *)0x0;\n    pVector = pEVar1;\n    if (pEVar1 == (Expr *)0x0) goto LAB_0006a6dc;\n  }\n  pEVar1 = exprDup(pParse->db,pVector,0,(u8 **)0x0);\n  pEVar3 = pVector;\nLAB_0006a6dc:\n  pRVar2 = pParse->pRename;\n  while( true ) {\n    if (pRVar2 == (RenameToken *)0x0) {\n      return pEVar1;\n    }\n    if ((Expr *)pRVar2->p == pEVar3) break;\n    pRVar2 = pRVar2->pNext;\n  }\n  pRVar2->p = pEVar1;\n  return pEVar1;\n}\n\n" (function_definition "Expr * sqlite3ExprForVectorField(Parse *pParse,Expr *pVector,int iField)\n\n{\n  Expr *pRet;\n  Expr *pEVar1;\n  RenameToken *pRVar2;\n  Expr *pEVar3;\n  \n  if (pVector->op == 0x88) {\n    pEVar3 = sqlite3PExpr(pParse,0xaf,(Expr *)0x0,(Expr *)0x0);\n    if (pEVar3 == (Expr *)0x0) {\n      return (Expr *)0x0;\n    }\n    pEVar3->iColumn = (ynVar)iField;\n    pEVar3->pLeft = pVector;\n    return pEVar3;\n  }\n  if (pVector->op == 0xae) {\n    pEVar1 = ((pVector->x).pList)->a[iField].pExpr;\n    pEVar3 = (Expr *)0x0;\n    pVector = pEVar1;\n    if (pEVar1 == (Expr *)0x0) goto LAB_0006a6dc;\n  }\n  pEVar1 = exprDup(pParse->db,pVector,0,(u8 **)0x0);\n  pEVar3 = pVector;\nLAB_0006a6dc:\n  pRVar2 = pParse->pRename;\n  while( true ) {\n    if (pRVar2 == (RenameToken *)0x0) {\n      return pEVar1;\n    }\n    if ((Expr *)pRVar2->p == pEVar3) break;\n    pRVar2 = pRVar2->pNext;\n  }\n  pRVar2->p = pEVar1;\n  return pEVar1;\n}" type_identifier (pointer_declarator "* sqlite3ExprForVectorField(Parse *pParse,Expr *pVector,int iField)" * (function_declarator "sqlite3ExprForVectorField(Parse *pParse,Expr *pVector,int iField)" identifier (parameter_list "(Parse *pParse,Expr *pVector,int iField)" ( (parameter_declaration "Parse *pParse" type_identifier (pointer_declarator "*pParse" * identifier)) , (parameter_declaration "Expr *pVector" type_identifier (pointer_declarator "*pVector" * identifier)) , (parameter_declaration "int iField" primitive_type identifier) )))) (compound_statement "{\n  Expr *pRet;\n  Expr *pEVar1;\n  RenameToken *pRVar2;\n  Expr *pEVar3;\n  \n  if (pVector->op == 0x88) {\n    pEVar3 = sqlite3PExpr(pParse,0xaf,(Expr *)0x0,(Expr *)0x0);\n    if (pEVar3 == (Expr *)0x0) {\n      return (Expr *)0x0;\n    }\n    pEVar3->iColumn = (ynVar)iField;\n    pEVar3->pLeft = pVector;\n    return pEVar3;\n  }\n  if (pVector->op == 0xae) {\n    pEVar1 = ((pVector->x).pList)->a[iField].pExpr;\n    pEVar3 = (Expr *)0x0;\n    pVector = pEVar1;\n    if (pEVar1 == (Expr *)0x0) goto LAB_0006a6dc;\n  }\n  pEVar1 = exprDup(pParse->db,pVector,0,(u8 **)0x0);\n  pEVar3 = pVector;\nLAB_0006a6dc:\n  pRVar2 = pParse->pRename;\n  while( true ) {\n    if (pRVar2 == (RenameToken *)0x0) {\n      return pEVar1;\n    }\n    if ((Expr *)pRVar2->p == pEVar3) break;\n    pRVar2 = pRVar2->pNext;\n  }\n  pRVar2->p = pEVar1;\n  return pEVar1;\n}" { (declaration "Expr *pRet;" type_identifier (pointer_declarator "*pRet" * identifier) ;) (declaration "Expr *pEVar1;" type_identifier (pointer_declarator "*pEVar1" * identifier) ;) (declaration "RenameToken *pRVar2;" type_identifier (pointer_declarator "*pRVar2" * identifier) ;) (declaration "Expr *pEVar3;" type_identifier (pointer_declarator "*pEVar3" * identifier) ;) (if_statement "if (pVector->op == 0x88) {\n    pEVar3 = sqlite3PExpr(pParse,0xaf,(Expr *)0x0,(Expr *)0x0);\n    if (pEVar3 == (Expr *)0x0) {\n      return (Expr *)0x0;\n    }\n    pEVar3->iColumn = (ynVar)iField;\n    pEVar3->pLeft = pVector;\n    return pEVar3;\n  }" if (parenthesized_expression "(pVector->op == 0x88)" ( (binary_expression "pVector->op == 0x88" (field_expression "pVector->op" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    pEVar3 = sqlite3PExpr(pParse,0xaf,(Expr *)0x0,(Expr *)0x0);\n    if (pEVar3 == (Expr *)0x0) {\n      return (Expr *)0x0;\n    }\n    pEVar3->iColumn = (ynVar)iField;\n    pEVar3->pLeft = pVector;\n    return pEVar3;\n  }" { (expression_statement "pEVar3 = sqlite3PExpr(pParse,0xaf,(Expr *)0x0,(Expr *)0x0);" (assignment_expression "pEVar3 = sqlite3PExpr(pParse,0xaf,(Expr *)0x0,(Expr *)0x0)" identifier = (call_expression "sqlite3PExpr(pParse,0xaf,(Expr *)0x0,(Expr *)0x0)" identifier (argument_list "(pParse,0xaf,(Expr *)0x0,(Expr *)0x0)" ( identifier , number_literal , (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (if_statement "if (pEVar3 == (Expr *)0x0) {\n      return (Expr *)0x0;\n    }" if (parenthesized_expression "(pEVar3 == (Expr *)0x0)" ( (binary_expression "pEVar3 == (Expr *)0x0" identifier == (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return (Expr *)0x0;\n    }" { (return_statement "return (Expr *)0x0;" return (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "pEVar3->iColumn = (ynVar)iField;" (assignment_expression "pEVar3->iColumn = (ynVar)iField" (field_expression "pEVar3->iColumn" identifier -> field_identifier) = (cast_expression "(ynVar)iField" ( (type_descriptor "ynVar" type_identifier) ) identifier)) ;) (expression_statement "pEVar3->pLeft = pVector;" (assignment_expression "pEVar3->pLeft = pVector" (field_expression "pEVar3->pLeft" identifier -> field_identifier) = identifier) ;) (return_statement "return pEVar3;" return identifier ;) })) (if_statement "if (pVector->op == 0xae) {\n    pEVar1 = ((pVector->x).pList)->a[iField].pExpr;\n    pEVar3 = (Expr *)0x0;\n    pVector = pEVar1;\n    if (pEVar1 == (Expr *)0x0) goto LAB_0006a6dc;\n  }" if (parenthesized_expression "(pVector->op == 0xae)" ( (binary_expression "pVector->op == 0xae" (field_expression "pVector->op" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    pEVar1 = ((pVector->x).pList)->a[iField].pExpr;\n    pEVar3 = (Expr *)0x0;\n    pVector = pEVar1;\n    if (pEVar1 == (Expr *)0x0) goto LAB_0006a6dc;\n  }" { (expression_statement "pEVar1 = ((pVector->x).pList)->a[iField].pExpr;" (assignment_expression "pEVar1 = ((pVector->x).pList)->a[iField].pExpr" identifier = (field_expression "((pVector->x).pList)->a[iField].pExpr" (subscript_expression "((pVector->x).pList)->a[iField]" (field_expression "((pVector->x).pList)->a" (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) [ identifier ]) . field_identifier)) ;) (expression_statement "pEVar3 = (Expr *)0x0;" (assignment_expression "pEVar3 = (Expr *)0x0" identifier = (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pVector = pEVar1;" (assignment_expression "pVector = pEVar1" identifier = identifier) ;) (if_statement "if (pEVar1 == (Expr *)0x0) goto LAB_0006a6dc;" if (parenthesized_expression "(pEVar1 == (Expr *)0x0)" ( (binary_expression "pEVar1 == (Expr *)0x0" identifier == (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0006a6dc;" goto statement_identifier ;)) })) (expression_statement "pEVar1 = exprDup(pParse->db,pVector,0,(u8 **)0x0);" (assignment_expression "pEVar1 = exprDup(pParse->db,pVector,0,(u8 **)0x0)" identifier = (call_expression "exprDup(pParse->db,pVector,0,(u8 **)0x0)" identifier (argument_list "(pParse->db,pVector,0,(u8 **)0x0)" ( (field_expression "pParse->db" identifier -> field_identifier) , identifier , number_literal , (cast_expression "(u8 **)0x0" ( (type_descriptor "u8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) )))) ;) (expression_statement "pEVar3 = pVector;" (assignment_expression "pEVar3 = pVector" identifier = identifier) ;) (labeled_statement "LAB_0006a6dc:\n  pRVar2 = pParse->pRename;" statement_identifier : (expression_statement "pRVar2 = pParse->pRename;" (assignment_expression "pRVar2 = pParse->pRename" identifier = (field_expression "pParse->pRename" identifier -> field_identifier)) ;)) (while_statement "while( true ) {\n    if (pRVar2 == (RenameToken *)0x0) {\n      return pEVar1;\n    }\n    if ((Expr *)pRVar2->p == pEVar3) break;\n    pRVar2 = pRVar2->pNext;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (pRVar2 == (RenameToken *)0x0) {\n      return pEVar1;\n    }\n    if ((Expr *)pRVar2->p == pEVar3) break;\n    pRVar2 = pRVar2->pNext;\n  }" { (if_statement "if (pRVar2 == (RenameToken *)0x0) {\n      return pEVar1;\n    }" if (parenthesized_expression "(pRVar2 == (RenameToken *)0x0)" ( (binary_expression "pRVar2 == (RenameToken *)0x0" identifier == (cast_expression "(RenameToken *)0x0" ( (type_descriptor "RenameToken *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return pEVar1;\n    }" { (return_statement "return pEVar1;" return identifier ;) })) (if_statement "if ((Expr *)pRVar2->p == pEVar3) break;" if (parenthesized_expression "((Expr *)pRVar2->p == pEVar3)" ( (binary_expression "(Expr *)pRVar2->p == pEVar3" (cast_expression "(Expr *)pRVar2->p" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pRVar2->p" identifier -> field_identifier)) == identifier) )) (break_statement "break;" break ;)) (expression_statement "pRVar2 = pRVar2->pNext;" (assignment_expression "pRVar2 = pRVar2->pNext" identifier = (field_expression "pRVar2->pNext" identifier -> field_identifier)) ;) })) (expression_statement "pRVar2->p = pEVar1;" (assignment_expression "pRVar2->p = pEVar1" (field_expression "pRVar2->p" identifier -> field_identifier) = identifier) ;) (return_statement "return pEVar1;" return identifier ;) })))
(translation_unit "void FUN_0006a67c(undefined4 *param_1,char *param_2,int param_3)\n\n{\n  char *pcVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  char *pcVar4;\n  \n  if (*param_2 == -0x78) {\n    iVar2 = FUN_0005a2d0(param_1,0xaf,0,0);\n    if (iVar2 == 0) {\n      return;\n    }\n    *(short *)(iVar2 + 0x20) = (short)param_3;\n    *(char **)(iVar2 + 0xc) = param_2;\n    return;\n  }\n  if (*param_2 == -0x52) {\n    pcVar1 = *(char **)(*(int *)(param_2 + 0x14) + param_3 * 0x10 + 4);\n    pcVar4 = (char *)0x0;\n    param_2 = pcVar1;\n    if (pcVar1 == (char *)0x0) goto LAB_0006a6dc;\n  }\n  pcVar1 = (char *)FUN_00068968(*param_1,param_2,0,0);\n  pcVar4 = param_2;\nLAB_0006a6dc:\n  puVar3 = (undefined4 *)param_1[0x45];\n  while( true ) {\n    if (puVar3 == (undefined4 *)0x0) {\n      return;\n    }\n    if ((char *)*puVar3 == pcVar4) break;\n    puVar3 = (undefined4 *)puVar3[3];\n  }\n  *puVar3 = pcVar1;\n  return;\n}\n\n" (function_definition "void FUN_0006a67c(undefined4 *param_1,char *param_2,int param_3)\n\n{\n  char *pcVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  char *pcVar4;\n  \n  if (*param_2 == -0x78) {\n    iVar2 = FUN_0005a2d0(param_1,0xaf,0,0);\n    if (iVar2 == 0) {\n      return;\n    }\n    *(short *)(iVar2 + 0x20) = (short)param_3;\n    *(char **)(iVar2 + 0xc) = param_2;\n    return;\n  }\n  if (*param_2 == -0x52) {\n    pcVar1 = *(char **)(*(int *)(param_2 + 0x14) + param_3 * 0x10 + 4);\n    pcVar4 = (char *)0x0;\n    param_2 = pcVar1;\n    if (pcVar1 == (char *)0x0) goto LAB_0006a6dc;\n  }\n  pcVar1 = (char *)FUN_00068968(*param_1,param_2,0,0);\n  pcVar4 = param_2;\nLAB_0006a6dc:\n  puVar3 = (undefined4 *)param_1[0x45];\n  while( true ) {\n    if (puVar3 == (undefined4 *)0x0) {\n      return;\n    }\n    if ((char *)*puVar3 == pcVar4) break;\n    puVar3 = (undefined4 *)puVar3[3];\n  }\n  *puVar3 = pcVar1;\n  return;\n}" primitive_type (function_declarator "FUN_0006a67c(undefined4 *param_1,char *param_2,int param_3)" identifier (parameter_list "(undefined4 *param_1,char *param_2,int param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  char *pcVar4;\n  \n  if (*param_2 == -0x78) {\n    iVar2 = FUN_0005a2d0(param_1,0xaf,0,0);\n    if (iVar2 == 0) {\n      return;\n    }\n    *(short *)(iVar2 + 0x20) = (short)param_3;\n    *(char **)(iVar2 + 0xc) = param_2;\n    return;\n  }\n  if (*param_2 == -0x52) {\n    pcVar1 = *(char **)(*(int *)(param_2 + 0x14) + param_3 * 0x10 + 4);\n    pcVar4 = (char *)0x0;\n    param_2 = pcVar1;\n    if (pcVar1 == (char *)0x0) goto LAB_0006a6dc;\n  }\n  pcVar1 = (char *)FUN_00068968(*param_1,param_2,0,0);\n  pcVar4 = param_2;\nLAB_0006a6dc:\n  puVar3 = (undefined4 *)param_1[0x45];\n  while( true ) {\n    if (puVar3 == (undefined4 *)0x0) {\n      return;\n    }\n    if ((char *)*puVar3 == pcVar4) break;\n    puVar3 = (undefined4 *)puVar3[3];\n  }\n  *puVar3 = pcVar1;\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (if_statement "if (*param_2 == -0x78) {\n    iVar2 = FUN_0005a2d0(param_1,0xaf,0,0);\n    if (iVar2 == 0) {\n      return;\n    }\n    *(short *)(iVar2 + 0x20) = (short)param_3;\n    *(char **)(iVar2 + 0xc) = param_2;\n    return;\n  }" if (parenthesized_expression "(*param_2 == -0x78)" ( (binary_expression "*param_2 == -0x78" (pointer_expression "*param_2" * identifier) == number_literal) )) (compound_statement "{\n    iVar2 = FUN_0005a2d0(param_1,0xaf,0,0);\n    if (iVar2 == 0) {\n      return;\n    }\n    *(short *)(iVar2 + 0x20) = (short)param_3;\n    *(char **)(iVar2 + 0xc) = param_2;\n    return;\n  }" { (expression_statement "iVar2 = FUN_0005a2d0(param_1,0xaf,0,0);" (assignment_expression "iVar2 = FUN_0005a2d0(param_1,0xaf,0,0)" identifier = (call_expression "FUN_0005a2d0(param_1,0xaf,0,0)" identifier (argument_list "(param_1,0xaf,0,0)" ( identifier , number_literal , number_literal , number_literal )))) ;) (if_statement "if (iVar2 == 0) {\n      return;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "*(short *)(iVar2 + 0x20) = (short)param_3;" (assignment_expression "*(short *)(iVar2 + 0x20) = (short)param_3" (pointer_expression "*(short *)(iVar2 + 0x20)" * (cast_expression "(short *)(iVar2 + 0x20)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x20)" ( (binary_expression "iVar2 + 0x20" identifier + number_literal) )))) = (cast_expression "(short)param_3" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) (expression_statement "*(char **)(iVar2 + 0xc) = param_2;" (assignment_expression "*(char **)(iVar2 + 0xc) = param_2" (pointer_expression "*(char **)(iVar2 + 0xc)" * (cast_expression "(char **)(iVar2 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (if_statement "if (*param_2 == -0x52) {\n    pcVar1 = *(char **)(*(int *)(param_2 + 0x14) + param_3 * 0x10 + 4);\n    pcVar4 = (char *)0x0;\n    param_2 = pcVar1;\n    if (pcVar1 == (char *)0x0) goto LAB_0006a6dc;\n  }" if (parenthesized_expression "(*param_2 == -0x52)" ( (binary_expression "*param_2 == -0x52" (pointer_expression "*param_2" * identifier) == number_literal) )) (compound_statement "{\n    pcVar1 = *(char **)(*(int *)(param_2 + 0x14) + param_3 * 0x10 + 4);\n    pcVar4 = (char *)0x0;\n    param_2 = pcVar1;\n    if (pcVar1 == (char *)0x0) goto LAB_0006a6dc;\n  }" { (expression_statement "pcVar1 = *(char **)(*(int *)(param_2 + 0x14) + param_3 * 0x10 + 4);" (assignment_expression "pcVar1 = *(char **)(*(int *)(param_2 + 0x14) + param_3 * 0x10 + 4)" identifier = (pointer_expression "*(char **)(*(int *)(param_2 + 0x14) + param_3 * 0x10 + 4)" * (cast_expression "(char **)(*(int *)(param_2 + 0x14) + param_3 * 0x10 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_2 + 0x14) + param_3 * 0x10 + 4)" ( (binary_expression "*(int *)(param_2 + 0x14) + param_3 * 0x10 + 4" (binary_expression "*(int *)(param_2 + 0x14) + param_3 * 0x10" (pointer_expression "*(int *)(param_2 + 0x14)" * (cast_expression "(int *)(param_2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) + (binary_expression "param_3 * 0x10" identifier * number_literal)) + number_literal) ))))) ;) (expression_statement "pcVar4 = (char *)0x0;" (assignment_expression "pcVar4 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "param_2 = pcVar1;" (assignment_expression "param_2 = pcVar1" identifier = identifier) ;) (if_statement "if (pcVar1 == (char *)0x0) goto LAB_0006a6dc;" if (parenthesized_expression "(pcVar1 == (char *)0x0)" ( (binary_expression "pcVar1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0006a6dc;" goto statement_identifier ;)) })) (expression_statement "pcVar1 = (char *)FUN_00068968(*param_1,param_2,0,0);" (assignment_expression "pcVar1 = (char *)FUN_00068968(*param_1,param_2,0,0)" identifier = (cast_expression "(char *)FUN_00068968(*param_1,param_2,0,0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00068968(*param_1,param_2,0,0)" identifier (argument_list "(*param_1,param_2,0,0)" ( (pointer_expression "*param_1" * identifier) , identifier , number_literal , number_literal ))))) ;) (expression_statement "pcVar4 = param_2;" (assignment_expression "pcVar4 = param_2" identifier = identifier) ;) (labeled_statement "LAB_0006a6dc:\n  puVar3 = (undefined4 *)param_1[0x45];" statement_identifier : (expression_statement "puVar3 = (undefined4 *)param_1[0x45];" (assignment_expression "puVar3 = (undefined4 *)param_1[0x45]" identifier = (cast_expression "(undefined4 *)param_1[0x45]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x45]" identifier [ number_literal ]))) ;)) (while_statement "while( true ) {\n    if (puVar3 == (undefined4 *)0x0) {\n      return;\n    }\n    if ((char *)*puVar3 == pcVar4) break;\n    puVar3 = (undefined4 *)puVar3[3];\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (puVar3 == (undefined4 *)0x0) {\n      return;\n    }\n    if ((char *)*puVar3 == pcVar4) break;\n    puVar3 = (undefined4 *)puVar3[3];\n  }" { (if_statement "if (puVar3 == (undefined4 *)0x0) {\n      return;\n    }" if (parenthesized_expression "(puVar3 == (undefined4 *)0x0)" ( (binary_expression "puVar3 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (if_statement "if ((char *)*puVar3 == pcVar4) break;" if (parenthesized_expression "((char *)*puVar3 == pcVar4)" ( (binary_expression "(char *)*puVar3 == pcVar4" (cast_expression "(char *)*puVar3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier)) == identifier) )) (break_statement "break;" break ;)) (expression_statement "puVar3 = (undefined4 *)puVar3[3];" (assignment_expression "puVar3 = (undefined4 *)puVar3[3]" identifier = (cast_expression "(undefined4 *)puVar3[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar3[3]" identifier [ number_literal ]))) ;) })) (expression_statement "*puVar3 = pcVar1;" (assignment_expression "*puVar3 = pcVar1" (pointer_expression "*puVar3" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor (sized_type_specifier short)) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == 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 (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT , LIT , LIT ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;)) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) == IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_0006a67c(undefined4 *param_1,char *param_2,int param_3)\n\n{\n  char *pcVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  char *pcVar4;\n  \n  if (*param_2 == -0x78) {\n    iVar2 = FUN_0005a2d0(param_1,0xaf,0,0);\n    if (iVar2 == 0) {\n      return;\n    }\n    *(short *)(iVar2 + 0x20) = (short)param_3;\n    *(char **)(iVar2 + 0xc) = param_2;\n    return;\n  }\n  if (*param_2 == -0x52) {\n    pcVar1 = *(char **)(*(int *)(param_2 + 0x14) + param_3 * 0x10 + 4);\n    pcVar4 = (char *)0x0;\n    param_2 = pcVar1;\n    if (pcVar1 == (char *)0x0) goto LAB_0006a6dc;\n  }\n  pcVar1 = (char *)FUN_00068968(*param_1,param_2,0,0);\n  pcVar4 = param_2;\nLAB_0006a6dc:\n  puVar3 = (undefined4 *)param_1[0x45];\n  while( true ) {\n    if (puVar3 == (undefined4 *)0x0) {\n      return;\n    }\n    if ((char *)*puVar3 == pcVar4) break;\n    puVar3 = (undefined4 *)puVar3[3];\n  }\n  *puVar3 = pcVar1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0006a67c(undefined4 *param_1,char *param_2,int param_3)" (identifier "FUN_0006a67c") (parameter_list "(undefined4 *param_1,char *param_2,int param_3)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  char *pcVar4;\n  \n  if (*param_2 == -0x78) {\n    iVar2 = FUN_0005a2d0(param_1,0xaf,0,0);\n    if (iVar2 == 0) {\n      return;\n    }\n    *(short *)(iVar2 + 0x20) = (short)param_3;\n    *(char **)(iVar2 + 0xc) = param_2;\n    return;\n  }\n  if (*param_2 == -0x52) {\n    pcVar1 = *(char **)(*(int *)(param_2 + 0x14) + param_3 * 0x10 + 4);\n    pcVar4 = (char *)0x0;\n    param_2 = pcVar1;\n    if (pcVar1 == (char *)0x0) goto LAB_0006a6dc;\n  }\n  pcVar1 = (char *)FUN_00068968(*param_1,param_2,0,0);\n  pcVar4 = param_2;\nLAB_0006a6dc:\n  puVar3 = (undefined4 *)param_1[0x45];\n  while( true ) {\n    if (puVar3 == (undefined4 *)0x0) {\n      return;\n    }\n    if ((char *)*puVar3 == pcVar4) break;\n    puVar3 = (undefined4 *)puVar3[3];\n  }\n  *puVar3 = pcVar1;\n  return;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (if_statement "if (*param_2 == -0x78) {\n    iVar2 = FUN_0005a2d0(param_1,0xaf,0,0);\n    if (iVar2 == 0) {\n      return;\n    }\n    *(short *)(iVar2 + 0x20) = (short)param_3;\n    *(char **)(iVar2 + 0xc) = param_2;\n    return;\n  }" (if "if") (parenthesized_expression "(*param_2 == -0x78)" (( "(") (binary_expression "*param_2 == -0x78" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (== "==") (number_literal "-0x78")) () ")")) (compound_statement "{\n    iVar2 = FUN_0005a2d0(param_1,0xaf,0,0);\n    if (iVar2 == 0) {\n      return;\n    }\n    *(short *)(iVar2 + 0x20) = (short)param_3;\n    *(char **)(iVar2 + 0xc) = param_2;\n    return;\n  }" ({ "{") (expression_statement "iVar2 = FUN_0005a2d0(param_1,0xaf,0,0);" (assignment_expression "iVar2 = FUN_0005a2d0(param_1,0xaf,0,0)" (identifier "iVar2") (= "=") (call_expression "FUN_0005a2d0(param_1,0xaf,0,0)" (identifier "FUN_0005a2d0") (argument_list "(param_1,0xaf,0,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0xaf") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n      return;\n    }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "*(short *)(iVar2 + 0x20) = (short)param_3;" (assignment_expression "*(short *)(iVar2 + 0x20) = (short)param_3" (pointer_expression "*(short *)(iVar2 + 0x20)" (* "*") (cast_expression "(short *)(iVar2 + 0x20)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x20)" (( "(") (binary_expression "iVar2 + 0x20" (identifier "iVar2") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (cast_expression "(short)param_3" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (identifier "param_3"))) (; ";")) (expression_statement "*(char **)(iVar2 + 0xc) = param_2;" (assignment_expression "*(char **)(iVar2 + 0xc) = param_2" (pointer_expression "*(char **)(iVar2 + 0xc)" (* "*") (cast_expression "(char **)(iVar2 + 0xc)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar2 + 0xc)" (( "(") (binary_expression "iVar2 + 0xc" (identifier "iVar2") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (*param_2 == -0x52) {\n    pcVar1 = *(char **)(*(int *)(param_2 + 0x14) + param_3 * 0x10 + 4);\n    pcVar4 = (char *)0x0;\n    param_2 = pcVar1;\n    if (pcVar1 == (char *)0x0) goto LAB_0006a6dc;\n  }" (if "if") (parenthesized_expression "(*param_2 == -0x52)" (( "(") (binary_expression "*param_2 == -0x52" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (== "==") (number_literal "-0x52")) () ")")) (compound_statement "{\n    pcVar1 = *(char **)(*(int *)(param_2 + 0x14) + param_3 * 0x10 + 4);\n    pcVar4 = (char *)0x0;\n    param_2 = pcVar1;\n    if (pcVar1 == (char *)0x0) goto LAB_0006a6dc;\n  }" ({ "{") (expression_statement "pcVar1 = *(char **)(*(int *)(param_2 + 0x14) + param_3 * 0x10 + 4);" (assignment_expression "pcVar1 = *(char **)(*(int *)(param_2 + 0x14) + param_3 * 0x10 + 4)" (identifier "pcVar1") (= "=") (pointer_expression "*(char **)(*(int *)(param_2 + 0x14) + param_3 * 0x10 + 4)" (* "*") (cast_expression "(char **)(*(int *)(param_2 + 0x14) + param_3 * 0x10 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(param_2 + 0x14) + param_3 * 0x10 + 4)" (( "(") (binary_expression "*(int *)(param_2 + 0x14) + param_3 * 0x10 + 4" (binary_expression "*(int *)(param_2 + 0x14) + param_3 * 0x10" (pointer_expression "*(int *)(param_2 + 0x14)" (* "*") (cast_expression "(int *)(param_2 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")")))) (+ "+") (binary_expression "param_3 * 0x10" (identifier "param_3") (* "*") (number_literal "0x10"))) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "pcVar4 = (char *)0x0;" (assignment_expression "pcVar4 = (char *)0x0" (identifier "pcVar4") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "param_2 = pcVar1;" (assignment_expression "param_2 = pcVar1" (identifier "param_2") (= "=") (identifier "pcVar1")) (; ";")) (if_statement "if (pcVar1 == (char *)0x0) goto LAB_0006a6dc;" (if "if") (parenthesized_expression "(pcVar1 == (char *)0x0)" (( "(") (binary_expression "pcVar1 == (char *)0x0" (identifier "pcVar1") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0006a6dc;" (goto "goto") (statement_identifier "LAB_0006a6dc") (; ";"))) (} "}"))) (expression_statement "pcVar1 = (char *)FUN_00068968(*param_1,param_2,0,0);" (assignment_expression "pcVar1 = (char *)FUN_00068968(*param_1,param_2,0,0)" (identifier "pcVar1") (= "=") (cast_expression "(char *)FUN_00068968(*param_1,param_2,0,0)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00068968(*param_1,param_2,0,0)" (identifier "FUN_00068968") (argument_list "(*param_1,param_2,0,0)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (identifier "param_2") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")"))))) (; ";")) (expression_statement "pcVar4 = param_2;" (assignment_expression "pcVar4 = param_2" (identifier "pcVar4") (= "=") (identifier "param_2")) (; ";")) (labeled_statement "LAB_0006a6dc:\n  puVar3 = (undefined4 *)param_1[0x45];" (statement_identifier "LAB_0006a6dc") (: ":") (expression_statement "puVar3 = (undefined4 *)param_1[0x45];" (assignment_expression "puVar3 = (undefined4 *)param_1[0x45]" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)param_1[0x45]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x45]" (identifier "param_1") ([ "[") (number_literal "0x45") (] "]")))) (; ";"))) (while_statement "while( true ) {\n    if (puVar3 == (undefined4 *)0x0) {\n      return;\n    }\n    if ((char *)*puVar3 == pcVar4) break;\n    puVar3 = (undefined4 *)puVar3[3];\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    if (puVar3 == (undefined4 *)0x0) {\n      return;\n    }\n    if ((char *)*puVar3 == pcVar4) break;\n    puVar3 = (undefined4 *)puVar3[3];\n  }" ({ "{") (if_statement "if (puVar3 == (undefined4 *)0x0) {\n      return;\n    }" (if "if") (parenthesized_expression "(puVar3 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar3 == (undefined4 *)0x0" (identifier "puVar3") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if ((char *)*puVar3 == pcVar4) break;" (if "if") (parenthesized_expression "((char *)*puVar3 == pcVar4)" (( "(") (binary_expression "(char *)*puVar3 == pcVar4" (cast_expression "(char *)*puVar3" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (== "==") (identifier "pcVar4")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "puVar3 = (undefined4 *)puVar3[3];" (assignment_expression "puVar3 = (undefined4 *)puVar3[3]" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)puVar3[3]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar3[3]" (identifier "puVar3") ([ "[") (number_literal "3") (] "]")))) (; ";")) (} "}"))) (expression_statement "*puVar3 = pcVar1;" (assignment_expression "*puVar3 = pcVar1" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (identifier "pcVar1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (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: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))) (expression_statement (assignment_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: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator 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))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (number_literal) (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))) right: (identifier))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement))))

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

{
  char *pcVar1;
  int iVar2;
  undefined4 *puVar3;
  char *pcVar4;
  
  if (*param_2 == -0x78) {
    iVar2 = FUN_0005a2d0(param_1,0xaf,0,0);
    if (iVar2 == 0) {
      return;
    }
    *(short *)(iVar2 + 0x20) = (short)param_3;
    *(char **)(iVar2 + 0xc) = param_2;
    return;
  }
  if (*param_2 == -0x52) {
    pcVar1 = *(char **)(*(int *)(param_2 + 0x14) + param_3 * 0x10 + 4);
    pcVar4 = (char *)0x0;
    param_2 = pcVar1;
    if (pcVar1 == (char *)0x0) goto LAB_0006a6dc;
  }
  pcVar1 = (char *)FUN_00068968(*param_1,param_2,0,0);
  pcVar4 = param_2;
LAB_0006a6dc:
  puVar3 = (undefined4 *)param_1[0x45];
  while( true ) {
    if (puVar3 == (undefined4 *)0x0) {
      return;
    }
    if ((char *)*puVar3 == pcVar4) break;
    puVar3 = (undefined4 *)puVar3[3];
  }
  *puVar3 = pcVar1;
  return;
}

