
int exprCodeVector(Parse *pParse,Expr *p,int *piFreeable)

{
  u8 uVar3;
  int iVar1;
  int iVar2;
  int target;
  int iVar4;
  int iVar5;
  
  uVar3 = p->op;
  if (uVar3 == 0xa4) {
    uVar3 = p->op2;
  }
  if (uVar3 == 0xa5) {
    iVar1 = ((p->x).pList)->nExpr;
  }
  else {
    if (uVar3 != '\x7f') goto LAB_000c2a28;
    iVar1 = ((p->x).pSelect)->pEList->nExpr;
  }
  if (iVar1 != 1) {
    *piFreeable = 0;
    if (p->op != '\x7f') {
      iVar5 = pParse->nMem + 1;
      pParse->nMem = pParse->nMem + iVar1;
      if (0 < iVar1) {
        iVar4 = 0;
        iVar2 = 0;
        do {
          target = iVar5 + iVar4;
          iVar2 = iVar2 + iVar4;
          iVar4 = iVar4 + 1;
          sqlite3ExprCodeFactorable(pParse,(&((p->x).pList)->a[0].pExpr)[iVar2],target);
          iVar2 = iVar4 * 4;
        } while (iVar4 != iVar1);
      }
      return iVar5;
    }
    iVar1 = sqlite3CodeSubselect(pParse,p);
    return iVar1;
  }
LAB_000c2a28:
  iVar1 = sqlite3ExprCodeTemp(pParse,p,piFreeable);
  return iVar1;
}



int FUN_000c29d4(int param_1,char *param_2,undefined4 *param_3)

{
  char cVar3;
  int iVar1;
  int iVar2;
  int iVar4;
  int iVar5;
  int iVar6;
  
  cVar3 = *param_2;
  if (cVar3 == -0x5c) {
    cVar3 = param_2[0x28];
  }
  if (cVar3 == -0x5b) {
    iVar1 = **(int **)(param_2 + 0x14);
  }
  else {
    if (cVar3 != '\x7f') goto LAB_000c2a28;
    iVar1 = *(int *)**(undefined4 **)(param_2 + 0x14);
  }
  if (iVar1 != 1) {
    *param_3 = 0;
    if (*param_2 != '\x7f') {
      iVar6 = *(int *)(param_1 + 0x2c) + 1;
      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar1;
      if (0 < iVar1) {
        iVar5 = 0;
        iVar2 = 0;
        do {
          iVar4 = iVar6 + iVar5;
          iVar2 = iVar2 + iVar5;
          iVar5 = iVar5 + 1;
          FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);
          iVar2 = iVar5 * 4;
        } while (iVar5 != iVar1);
      }
      return iVar6;
    }
    iVar1 = FUN_000bc1f4();
    return iVar1;
  }
LAB_000c2a28:
  iVar1 = FUN_000c272c();
  return iVar1;
}


lui gp,0xa
addiu gp,gp,0xbdc
addu gp,gp,t9
addiu sp,sp,-0x38
li v1,0xa4
sw gp,0x10(sp)
sw ra,0x34(sp)
sw s5,0x30(sp)
sw s4,0x2c(sp)
sw s3,0x28(sp)
sw s2,0x24(sp)
sw s1,0x20(sp)
sw s0,0x1c(sp)
lbu v0,0x0(a1)
bne v0,v1,0x000c2a18
_li v1,0xa5
lbu v0,0x28(a1)
beq v0,v1,0x000c2b00
_li v1,0x7f
beq v0,v1,0x000c2a54
_nop
lw t9,-0x7d3c(gp)
lw ra,0x34(sp)
lw s5,0x30(sp)
lw s4,0x2c(sp)
addiu t9,t9,0x272c
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
b 0x000c272c
_addiu sp,sp,0x38
lw v0,0x14(a1)
lw v0,0x0(v0)
lw s2,0x0(v0)
li v0,0x1
beq s2,v0,0x000c2a28
_li v0,0x7f
sw zero,0x0(a2)
lbu v1,0x0(a1)
beq v1,v0,0x000c2b0c
_lw t9,-0x7d3c(gp)
lw s3,0x2c(a0)
addu v0,s3,s2
addiu s3,s3,0x1
blez s2,0x000c2ad8
_sw v0,0x2c(a0)
lw s4,-0x7d3c(gp)
or s0,zero,zero
or s1,a0,zero
or s5,a1,zero
addiu s4,s4,0x3a0
sll v0,s0,0x2
lw v1,0x14(s5)
addu a2,s3,s0
addu v0,v0,s0
addiu s0,s0,0x1
sll v0,v0,0x2
or a0,s1,zero
addu v0,v1,v0
or t9,s4,zero
bal 0x000c03a0
_lw a1,0x4(v0)
bne s0,s2,0x000c2aa8
_sll v0,s0,0x2
lw ra,0x34(sp)
or v0,s3,zero
lw s5,0x30(sp)
lw s4,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x38
lw v0,0x14(a1)
b 0x000c2a60
_lw s2,0x0(v0)
lw ra,0x34(sp)
lw s5,0x30(sp)
lw s4,0x2c(sp)
addiu t9,t9,-0x3e0c
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
b 0x000bc1f4
_addiu sp,sp,0x38
(translation_unit "int FUN_000c29d4(int param_1,char *param_2,undefined4 *param_3)\n\n{\n  char cVar3;\n  int iVar1;\n  int iVar2;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  \n  cVar3 = *param_2;\n  if (cVar3 == -0x5c) {\n    cVar3 = param_2[0x28];\n  }\n  if (cVar3 == -0x5b) {\n    iVar1 = **(int **)(param_2 + 0x14);\n  }\n  else {\n    if (cVar3 != '\x7f') goto LAB_000c2a28;\n    iVar1 = *(int *)**(undefined4 **)(param_2 + 0x14);\n  }\n  if (iVar1 != 1) {\n    *param_3 = 0;\n    if (*param_2 != '\x7f') {\n      iVar6 = *(int *)(param_1 + 0x2c) + 1;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar1;\n      if (0 < iVar1) {\n        iVar5 = 0;\n        iVar2 = 0;\n        do {\n          iVar4 = iVar6 + iVar5;\n          iVar2 = iVar2 + iVar5;\n          iVar5 = iVar5 + 1;\n          FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);\n          iVar2 = iVar5 * 4;\n        } while (iVar5 != iVar1);\n      }\n      return iVar6;\n    }\n    iVar1 = FUN_000bc1f4();\n    return iVar1;\n  }\nLAB_000c2a28:\n  iVar1 = FUN_000c272c();\n  return iVar1;\n}\n\n" (function_definition "int FUN_000c29d4(int param_1,char *param_2,undefined4 *param_3)\n\n{\n  char cVar3;\n  int iVar1;\n  int iVar2;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  \n  cVar3 = *param_2;\n  if (cVar3 == -0x5c) {\n    cVar3 = param_2[0x28];\n  }\n  if (cVar3 == -0x5b) {\n    iVar1 = **(int **)(param_2 + 0x14);\n  }\n  else {\n    if (cVar3 != '\x7f') goto LAB_000c2a28;\n    iVar1 = *(int *)**(undefined4 **)(param_2 + 0x14);\n  }\n  if (iVar1 != 1) {\n    *param_3 = 0;\n    if (*param_2 != '\x7f') {\n      iVar6 = *(int *)(param_1 + 0x2c) + 1;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar1;\n      if (0 < iVar1) {\n        iVar5 = 0;\n        iVar2 = 0;\n        do {\n          iVar4 = iVar6 + iVar5;\n          iVar2 = iVar2 + iVar5;\n          iVar5 = iVar5 + 1;\n          FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);\n          iVar2 = iVar5 * 4;\n        } while (iVar5 != iVar1);\n      }\n      return iVar6;\n    }\n    iVar1 = FUN_000bc1f4();\n    return iVar1;\n  }\nLAB_000c2a28:\n  iVar1 = FUN_000c272c();\n  return iVar1;\n}" primitive_type (function_declarator "FUN_000c29d4(int param_1,char *param_2,undefined4 *param_3)" identifier (parameter_list "(int param_1,char *param_2,undefined4 *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  char cVar3;\n  int iVar1;\n  int iVar2;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  \n  cVar3 = *param_2;\n  if (cVar3 == -0x5c) {\n    cVar3 = param_2[0x28];\n  }\n  if (cVar3 == -0x5b) {\n    iVar1 = **(int **)(param_2 + 0x14);\n  }\n  else {\n    if (cVar3 != '\x7f') goto LAB_000c2a28;\n    iVar1 = *(int *)**(undefined4 **)(param_2 + 0x14);\n  }\n  if (iVar1 != 1) {\n    *param_3 = 0;\n    if (*param_2 != '\x7f') {\n      iVar6 = *(int *)(param_1 + 0x2c) + 1;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar1;\n      if (0 < iVar1) {\n        iVar5 = 0;\n        iVar2 = 0;\n        do {\n          iVar4 = iVar6 + iVar5;\n          iVar2 = iVar2 + iVar5;\n          iVar5 = iVar5 + 1;\n          FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);\n          iVar2 = iVar5 * 4;\n        } while (iVar5 != iVar1);\n      }\n      return iVar6;\n    }\n    iVar1 = FUN_000bc1f4();\n    return iVar1;\n  }\nLAB_000c2a28:\n  iVar1 = FUN_000c272c();\n  return iVar1;\n}" { (declaration "char cVar3;" primitive_type identifier ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (expression_statement "cVar3 = *param_2;" (assignment_expression "cVar3 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (cVar3 == -0x5c) {\n    cVar3 = param_2[0x28];\n  }" if (parenthesized_expression "(cVar3 == -0x5c)" ( (binary_expression "cVar3 == -0x5c" identifier == number_literal) )) (compound_statement "{\n    cVar3 = param_2[0x28];\n  }" { (expression_statement "cVar3 = param_2[0x28];" (assignment_expression "cVar3 = param_2[0x28]" identifier = (subscript_expression "param_2[0x28]" identifier [ number_literal ])) ;) })) (if_statement "if (cVar3 == -0x5b) {\n    iVar1 = **(int **)(param_2 + 0x14);\n  }\n  else {\n    if (cVar3 != '\x7f') goto LAB_000c2a28;\n    iVar1 = *(int *)**(undefined4 **)(param_2 + 0x14);\n  }" if (parenthesized_expression "(cVar3 == -0x5b)" ( (binary_expression "cVar3 == -0x5b" identifier == number_literal) )) (compound_statement "{\n    iVar1 = **(int **)(param_2 + 0x14);\n  }" { (expression_statement "iVar1 = **(int **)(param_2 + 0x14);" (assignment_expression "iVar1 = **(int **)(param_2 + 0x14)" identifier = (pointer_expression "**(int **)(param_2 + 0x14)" * (pointer_expression "*(int **)(param_2 + 0x14)" * (cast_expression "(int **)(param_2 + 0x14)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))))) ;) }) (else_clause "else {\n    if (cVar3 != '\x7f') goto LAB_000c2a28;\n    iVar1 = *(int *)**(undefined4 **)(param_2 + 0x14);\n  }" else (compound_statement "{\n    if (cVar3 != '\x7f') goto LAB_000c2a28;\n    iVar1 = *(int *)**(undefined4 **)(param_2 + 0x14);\n  }" { (if_statement "if (cVar3 != '\x7f') goto LAB_000c2a28;" if (parenthesized_expression "(cVar3 != '\x7f')" ( (binary_expression "cVar3 != '\x7f'" identifier != (char_literal "'\x7f'" ' escape_sequence ')) )) (goto_statement "goto LAB_000c2a28;" goto statement_identifier ;)) (expression_statement "iVar1 = *(int *)**(undefined4 **)(param_2 + 0x14);" (assignment_expression "iVar1 = *(int *)**(undefined4 **)(param_2 + 0x14)" identifier = (pointer_expression "*(int *)**(undefined4 **)(param_2 + 0x14)" * (cast_expression "(int *)**(undefined4 **)(param_2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(undefined4 **)(param_2 + 0x14)" * (pointer_expression "*(undefined4 **)(param_2 + 0x14)" * (cast_expression "(undefined4 **)(param_2 + 0x14)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))))))) ;) }))) (if_statement "if (iVar1 != 1) {\n    *param_3 = 0;\n    if (*param_2 != '\x7f') {\n      iVar6 = *(int *)(param_1 + 0x2c) + 1;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar1;\n      if (0 < iVar1) {\n        iVar5 = 0;\n        iVar2 = 0;\n        do {\n          iVar4 = iVar6 + iVar5;\n          iVar2 = iVar2 + iVar5;\n          iVar5 = iVar5 + 1;\n          FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);\n          iVar2 = iVar5 * 4;\n        } while (iVar5 != iVar1);\n      }\n      return iVar6;\n    }\n    iVar1 = FUN_000bc1f4();\n    return iVar1;\n  }" if (parenthesized_expression "(iVar1 != 1)" ( (binary_expression "iVar1 != 1" identifier != number_literal) )) (compound_statement "{\n    *param_3 = 0;\n    if (*param_2 != '\x7f') {\n      iVar6 = *(int *)(param_1 + 0x2c) + 1;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar1;\n      if (0 < iVar1) {\n        iVar5 = 0;\n        iVar2 = 0;\n        do {\n          iVar4 = iVar6 + iVar5;\n          iVar2 = iVar2 + iVar5;\n          iVar5 = iVar5 + 1;\n          FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);\n          iVar2 = iVar5 * 4;\n        } while (iVar5 != iVar1);\n      }\n      return iVar6;\n    }\n    iVar1 = FUN_000bc1f4();\n    return iVar1;\n  }" { (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" * identifier) = number_literal) ;) (if_statement "if (*param_2 != '\x7f') {\n      iVar6 = *(int *)(param_1 + 0x2c) + 1;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar1;\n      if (0 < iVar1) {\n        iVar5 = 0;\n        iVar2 = 0;\n        do {\n          iVar4 = iVar6 + iVar5;\n          iVar2 = iVar2 + iVar5;\n          iVar5 = iVar5 + 1;\n          FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);\n          iVar2 = iVar5 * 4;\n        } while (iVar5 != iVar1);\n      }\n      return iVar6;\n    }" if (parenthesized_expression "(*param_2 != '\x7f')" ( (binary_expression "*param_2 != '\x7f'" (pointer_expression "*param_2" * identifier) != (char_literal "'\x7f'" ' escape_sequence ')) )) (compound_statement "{\n      iVar6 = *(int *)(param_1 + 0x2c) + 1;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar1;\n      if (0 < iVar1) {\n        iVar5 = 0;\n        iVar2 = 0;\n        do {\n          iVar4 = iVar6 + iVar5;\n          iVar2 = iVar2 + iVar5;\n          iVar5 = iVar5 + 1;\n          FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);\n          iVar2 = iVar5 * 4;\n        } while (iVar5 != iVar1);\n      }\n      return iVar6;\n    }" { (expression_statement "iVar6 = *(int *)(param_1 + 0x2c) + 1;" (assignment_expression "iVar6 = *(int *)(param_1 + 0x2c) + 1" identifier = (binary_expression "*(int *)(param_1 + 0x2c) + 1" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar1;" (assignment_expression "*(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar1" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x2c) + iVar1" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) + identifier)) ;) (if_statement "if (0 < iVar1) {\n        iVar5 = 0;\n        iVar2 = 0;\n        do {\n          iVar4 = iVar6 + iVar5;\n          iVar2 = iVar2 + iVar5;\n          iVar5 = iVar5 + 1;\n          FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);\n          iVar2 = iVar5 * 4;\n        } while (iVar5 != iVar1);\n      }" if (parenthesized_expression "(0 < iVar1)" ( (binary_expression "0 < iVar1" number_literal < identifier) )) (compound_statement "{\n        iVar5 = 0;\n        iVar2 = 0;\n        do {\n          iVar4 = iVar6 + iVar5;\n          iVar2 = iVar2 + iVar5;\n          iVar5 = iVar5 + 1;\n          FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);\n          iVar2 = iVar5 * 4;\n        } while (iVar5 != iVar1);\n      }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n          iVar4 = iVar6 + iVar5;\n          iVar2 = iVar2 + iVar5;\n          iVar5 = iVar5 + 1;\n          FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);\n          iVar2 = iVar5 * 4;\n        } while (iVar5 != iVar1);" do (compound_statement "{\n          iVar4 = iVar6 + iVar5;\n          iVar2 = iVar2 + iVar5;\n          iVar5 = iVar5 + 1;\n          FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);\n          iVar2 = iVar5 * 4;\n        }" { (expression_statement "iVar4 = iVar6 + iVar5;" (assignment_expression "iVar4 = iVar6 + iVar5" identifier = (binary_expression "iVar6 + iVar5" identifier + identifier)) ;) (expression_statement "iVar2 = iVar2 + iVar5;" (assignment_expression "iVar2 = iVar2 + iVar5" identifier = (binary_expression "iVar2 + iVar5" identifier + identifier)) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);" (call_expression "FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4)" identifier (argument_list "(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4)" ( identifier , (pointer_expression "*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4)" * (cast_expression "(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4)" ( (binary_expression "*(int *)(param_2 + 0x14) + iVar2 * 4 + 4" (binary_expression "*(int *)(param_2 + 0x14) + iVar2 * 4" (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 "iVar2 * 4" identifier * number_literal)) + number_literal) )))) , identifier ))) ;) (expression_statement "iVar2 = iVar5 * 4;" (assignment_expression "iVar2 = iVar5 * 4" identifier = (binary_expression "iVar5 * 4" identifier * number_literal)) ;) }) while (parenthesized_expression "(iVar5 != iVar1)" ( (binary_expression "iVar5 != iVar1" identifier != identifier) )) ;) })) (return_statement "return iVar6;" return identifier ;) })) (expression_statement "iVar1 = FUN_000bc1f4();" (assignment_expression "iVar1 = FUN_000bc1f4()" identifier = (call_expression "FUN_000bc1f4()" identifier (argument_list "()" ( )))) ;) (return_statement "return iVar1;" return identifier ;) })) (labeled_statement "LAB_000c2a28:\n  iVar1 = FUN_000c272c();" statement_identifier : (expression_statement "iVar1 = FUN_000c272c();" (assignment_expression "iVar1 = FUN_000c272c()" identifier = (call_expression "FUN_000c272c()" identifier (argument_list "()" ( )))) ;)) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "int exprCodeVector(Parse *pParse,Expr *p,int *piFreeable)\n\n{\n  u8 uVar3;\n  int iVar1;\n  int iVar2;\n  int target;\n  int iVar4;\n  int iVar5;\n  \n  uVar3 = p->op;\n  if (uVar3 == 0xa4) {\n    uVar3 = p->op2;\n  }\n  if (uVar3 == 0xa5) {\n    iVar1 = ((p->x).pList)->nExpr;\n  }\n  else {\n    if (uVar3 != '\x7f') goto LAB_000c2a28;\n    iVar1 = ((p->x).pSelect)->pEList->nExpr;\n  }\n  if (iVar1 != 1) {\n    *piFreeable = 0;\n    if (p->op != '\x7f') {\n      iVar5 = pParse->nMem + 1;\n      pParse->nMem = pParse->nMem + iVar1;\n      if (0 < iVar1) {\n        iVar4 = 0;\n        iVar2 = 0;\n        do {\n          target = iVar5 + iVar4;\n          iVar2 = iVar2 + iVar4;\n          iVar4 = iVar4 + 1;\n          sqlite3ExprCodeFactorable(pParse,(&((p->x).pList)->a[0].pExpr)[iVar2],target);\n          iVar2 = iVar4 * 4;\n        } while (iVar4 != iVar1);\n      }\n      return iVar5;\n    }\n    iVar1 = sqlite3CodeSubselect(pParse,p);\n    return iVar1;\n  }\nLAB_000c2a28:\n  iVar1 = sqlite3ExprCodeTemp(pParse,p,piFreeable);\n  return iVar1;\n}\n\n" (function_definition "int exprCodeVector(Parse *pParse,Expr *p,int *piFreeable)\n\n{\n  u8 uVar3;\n  int iVar1;\n  int iVar2;\n  int target;\n  int iVar4;\n  int iVar5;\n  \n  uVar3 = p->op;\n  if (uVar3 == 0xa4) {\n    uVar3 = p->op2;\n  }\n  if (uVar3 == 0xa5) {\n    iVar1 = ((p->x).pList)->nExpr;\n  }\n  else {\n    if (uVar3 != '\x7f') goto LAB_000c2a28;\n    iVar1 = ((p->x).pSelect)->pEList->nExpr;\n  }\n  if (iVar1 != 1) {\n    *piFreeable = 0;\n    if (p->op != '\x7f') {\n      iVar5 = pParse->nMem + 1;\n      pParse->nMem = pParse->nMem + iVar1;\n      if (0 < iVar1) {\n        iVar4 = 0;\n        iVar2 = 0;\n        do {\n          target = iVar5 + iVar4;\n          iVar2 = iVar2 + iVar4;\n          iVar4 = iVar4 + 1;\n          sqlite3ExprCodeFactorable(pParse,(&((p->x).pList)->a[0].pExpr)[iVar2],target);\n          iVar2 = iVar4 * 4;\n        } while (iVar4 != iVar1);\n      }\n      return iVar5;\n    }\n    iVar1 = sqlite3CodeSubselect(pParse,p);\n    return iVar1;\n  }\nLAB_000c2a28:\n  iVar1 = sqlite3ExprCodeTemp(pParse,p,piFreeable);\n  return iVar1;\n}" primitive_type (function_declarator "exprCodeVector(Parse *pParse,Expr *p,int *piFreeable)" identifier (parameter_list "(Parse *pParse,Expr *p,int *piFreeable)" ( (parameter_declaration "Parse *pParse" type_identifier (pointer_declarator "*pParse" * identifier)) , (parameter_declaration "Expr *p" type_identifier (pointer_declarator "*p" * identifier)) , (parameter_declaration "int *piFreeable" primitive_type (pointer_declarator "*piFreeable" * identifier)) ))) (compound_statement "{\n  u8 uVar3;\n  int iVar1;\n  int iVar2;\n  int target;\n  int iVar4;\n  int iVar5;\n  \n  uVar3 = p->op;\n  if (uVar3 == 0xa4) {\n    uVar3 = p->op2;\n  }\n  if (uVar3 == 0xa5) {\n    iVar1 = ((p->x).pList)->nExpr;\n  }\n  else {\n    if (uVar3 != '\x7f') goto LAB_000c2a28;\n    iVar1 = ((p->x).pSelect)->pEList->nExpr;\n  }\n  if (iVar1 != 1) {\n    *piFreeable = 0;\n    if (p->op != '\x7f') {\n      iVar5 = pParse->nMem + 1;\n      pParse->nMem = pParse->nMem + iVar1;\n      if (0 < iVar1) {\n        iVar4 = 0;\n        iVar2 = 0;\n        do {\n          target = iVar5 + iVar4;\n          iVar2 = iVar2 + iVar4;\n          iVar4 = iVar4 + 1;\n          sqlite3ExprCodeFactorable(pParse,(&((p->x).pList)->a[0].pExpr)[iVar2],target);\n          iVar2 = iVar4 * 4;\n        } while (iVar4 != iVar1);\n      }\n      return iVar5;\n    }\n    iVar1 = sqlite3CodeSubselect(pParse,p);\n    return iVar1;\n  }\nLAB_000c2a28:\n  iVar1 = sqlite3ExprCodeTemp(pParse,p,piFreeable);\n  return iVar1;\n}" { (declaration "u8 uVar3;" type_identifier identifier ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int target;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (expression_statement "uVar3 = p->op;" (assignment_expression "uVar3 = p->op" identifier = (field_expression "p->op" identifier -> field_identifier)) ;) (if_statement "if (uVar3 == 0xa4) {\n    uVar3 = p->op2;\n  }" if (parenthesized_expression "(uVar3 == 0xa4)" ( (binary_expression "uVar3 == 0xa4" identifier == number_literal) )) (compound_statement "{\n    uVar3 = p->op2;\n  }" { (expression_statement "uVar3 = p->op2;" (assignment_expression "uVar3 = p->op2" identifier = (field_expression "p->op2" identifier -> field_identifier)) ;) })) (if_statement "if (uVar3 == 0xa5) {\n    iVar1 = ((p->x).pList)->nExpr;\n  }\n  else {\n    if (uVar3 != '\x7f') goto LAB_000c2a28;\n    iVar1 = ((p->x).pSelect)->pEList->nExpr;\n  }" if (parenthesized_expression "(uVar3 == 0xa5)" ( (binary_expression "uVar3 == 0xa5" identifier == number_literal) )) (compound_statement "{\n    iVar1 = ((p->x).pList)->nExpr;\n  }" { (expression_statement "iVar1 = ((p->x).pList)->nExpr;" (assignment_expression "iVar1 = ((p->x).pList)->nExpr" identifier = (field_expression "((p->x).pList)->nExpr" (parenthesized_expression "((p->x).pList)" ( (field_expression "(p->x).pList" (parenthesized_expression "(p->x)" ( (field_expression "p->x" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier)) ;) }) (else_clause "else {\n    if (uVar3 != '\x7f') goto LAB_000c2a28;\n    iVar1 = ((p->x).pSelect)->pEList->nExpr;\n  }" else (compound_statement "{\n    if (uVar3 != '\x7f') goto LAB_000c2a28;\n    iVar1 = ((p->x).pSelect)->pEList->nExpr;\n  }" { (if_statement "if (uVar3 != '\x7f') goto LAB_000c2a28;" if (parenthesized_expression "(uVar3 != '\x7f')" ( (binary_expression "uVar3 != '\x7f'" identifier != (char_literal "'\x7f'" ' escape_sequence ')) )) (goto_statement "goto LAB_000c2a28;" goto statement_identifier ;)) (expression_statement "iVar1 = ((p->x).pSelect)->pEList->nExpr;" (assignment_expression "iVar1 = ((p->x).pSelect)->pEList->nExpr" identifier = (field_expression "((p->x).pSelect)->pEList->nExpr" (field_expression "((p->x).pSelect)->pEList" (parenthesized_expression "((p->x).pSelect)" ( (field_expression "(p->x).pSelect" (parenthesized_expression "(p->x)" ( (field_expression "p->x" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier) -> field_identifier)) ;) }))) (if_statement "if (iVar1 != 1) {\n    *piFreeable = 0;\n    if (p->op != '\x7f') {\n      iVar5 = pParse->nMem + 1;\n      pParse->nMem = pParse->nMem + iVar1;\n      if (0 < iVar1) {\n        iVar4 = 0;\n        iVar2 = 0;\n        do {\n          target = iVar5 + iVar4;\n          iVar2 = iVar2 + iVar4;\n          iVar4 = iVar4 + 1;\n          sqlite3ExprCodeFactorable(pParse,(&((p->x).pList)->a[0].pExpr)[iVar2],target);\n          iVar2 = iVar4 * 4;\n        } while (iVar4 != iVar1);\n      }\n      return iVar5;\n    }\n    iVar1 = sqlite3CodeSubselect(pParse,p);\n    return iVar1;\n  }" if (parenthesized_expression "(iVar1 != 1)" ( (binary_expression "iVar1 != 1" identifier != number_literal) )) (compound_statement "{\n    *piFreeable = 0;\n    if (p->op != '\x7f') {\n      iVar5 = pParse->nMem + 1;\n      pParse->nMem = pParse->nMem + iVar1;\n      if (0 < iVar1) {\n        iVar4 = 0;\n        iVar2 = 0;\n        do {\n          target = iVar5 + iVar4;\n          iVar2 = iVar2 + iVar4;\n          iVar4 = iVar4 + 1;\n          sqlite3ExprCodeFactorable(pParse,(&((p->x).pList)->a[0].pExpr)[iVar2],target);\n          iVar2 = iVar4 * 4;\n        } while (iVar4 != iVar1);\n      }\n      return iVar5;\n    }\n    iVar1 = sqlite3CodeSubselect(pParse,p);\n    return iVar1;\n  }" { (expression_statement "*piFreeable = 0;" (assignment_expression "*piFreeable = 0" (pointer_expression "*piFreeable" * identifier) = number_literal) ;) (if_statement "if (p->op != '\x7f') {\n      iVar5 = pParse->nMem + 1;\n      pParse->nMem = pParse->nMem + iVar1;\n      if (0 < iVar1) {\n        iVar4 = 0;\n        iVar2 = 0;\n        do {\n          target = iVar5 + iVar4;\n          iVar2 = iVar2 + iVar4;\n          iVar4 = iVar4 + 1;\n          sqlite3ExprCodeFactorable(pParse,(&((p->x).pList)->a[0].pExpr)[iVar2],target);\n          iVar2 = iVar4 * 4;\n        } while (iVar4 != iVar1);\n      }\n      return iVar5;\n    }" if (parenthesized_expression "(p->op != '\x7f')" ( (binary_expression "p->op != '\x7f'" (field_expression "p->op" identifier -> field_identifier) != (char_literal "'\x7f'" ' escape_sequence ')) )) (compound_statement "{\n      iVar5 = pParse->nMem + 1;\n      pParse->nMem = pParse->nMem + iVar1;\n      if (0 < iVar1) {\n        iVar4 = 0;\n        iVar2 = 0;\n        do {\n          target = iVar5 + iVar4;\n          iVar2 = iVar2 + iVar4;\n          iVar4 = iVar4 + 1;\n          sqlite3ExprCodeFactorable(pParse,(&((p->x).pList)->a[0].pExpr)[iVar2],target);\n          iVar2 = iVar4 * 4;\n        } while (iVar4 != iVar1);\n      }\n      return iVar5;\n    }" { (expression_statement "iVar5 = pParse->nMem + 1;" (assignment_expression "iVar5 = pParse->nMem + 1" identifier = (binary_expression "pParse->nMem + 1" (field_expression "pParse->nMem" identifier -> field_identifier) + number_literal)) ;) (expression_statement "pParse->nMem = pParse->nMem + iVar1;" (assignment_expression "pParse->nMem = pParse->nMem + iVar1" (field_expression "pParse->nMem" identifier -> field_identifier) = (binary_expression "pParse->nMem + iVar1" (field_expression "pParse->nMem" identifier -> field_identifier) + identifier)) ;) (if_statement "if (0 < iVar1) {\n        iVar4 = 0;\n        iVar2 = 0;\n        do {\n          target = iVar5 + iVar4;\n          iVar2 = iVar2 + iVar4;\n          iVar4 = iVar4 + 1;\n          sqlite3ExprCodeFactorable(pParse,(&((p->x).pList)->a[0].pExpr)[iVar2],target);\n          iVar2 = iVar4 * 4;\n        } while (iVar4 != iVar1);\n      }" if (parenthesized_expression "(0 < iVar1)" ( (binary_expression "0 < iVar1" number_literal < identifier) )) (compound_statement "{\n        iVar4 = 0;\n        iVar2 = 0;\n        do {\n          target = iVar5 + iVar4;\n          iVar2 = iVar2 + iVar4;\n          iVar4 = iVar4 + 1;\n          sqlite3ExprCodeFactorable(pParse,(&((p->x).pList)->a[0].pExpr)[iVar2],target);\n          iVar2 = iVar4 * 4;\n        } while (iVar4 != iVar1);\n      }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n          target = iVar5 + iVar4;\n          iVar2 = iVar2 + iVar4;\n          iVar4 = iVar4 + 1;\n          sqlite3ExprCodeFactorable(pParse,(&((p->x).pList)->a[0].pExpr)[iVar2],target);\n          iVar2 = iVar4 * 4;\n        } while (iVar4 != iVar1);" do (compound_statement "{\n          target = iVar5 + iVar4;\n          iVar2 = iVar2 + iVar4;\n          iVar4 = iVar4 + 1;\n          sqlite3ExprCodeFactorable(pParse,(&((p->x).pList)->a[0].pExpr)[iVar2],target);\n          iVar2 = iVar4 * 4;\n        }" { (expression_statement "target = iVar5 + iVar4;" (assignment_expression "target = iVar5 + iVar4" identifier = (binary_expression "iVar5 + iVar4" identifier + identifier)) ;) (expression_statement "iVar2 = iVar2 + iVar4;" (assignment_expression "iVar2 = iVar2 + iVar4" identifier = (binary_expression "iVar2 + iVar4" identifier + identifier)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "sqlite3ExprCodeFactorable(pParse,(&((p->x).pList)->a[0].pExpr)[iVar2],target);" (call_expression "sqlite3ExprCodeFactorable(pParse,(&((p->x).pList)->a[0].pExpr)[iVar2],target)" identifier (argument_list "(pParse,(&((p->x).pList)->a[0].pExpr)[iVar2],target)" ( identifier , (subscript_expression "(&((p->x).pList)->a[0].pExpr)[iVar2]" (parenthesized_expression "(&((p->x).pList)->a[0].pExpr)" ( (pointer_expression "&((p->x).pList)->a[0].pExpr" & (field_expression "((p->x).pList)->a[0].pExpr" (subscript_expression "((p->x).pList)->a[0]" (field_expression "((p->x).pList)->a" (parenthesized_expression "((p->x).pList)" ( (field_expression "(p->x).pList" (parenthesized_expression "(p->x)" ( (field_expression "p->x" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier) [ number_literal ]) . field_identifier)) )) [ identifier ]) , identifier ))) ;) (expression_statement "iVar2 = iVar4 * 4;" (assignment_expression "iVar2 = iVar4 * 4" identifier = (binary_expression "iVar4 * 4" identifier * number_literal)) ;) }) while (parenthesized_expression "(iVar4 != iVar1)" ( (binary_expression "iVar4 != iVar1" identifier != identifier) )) ;) })) (return_statement "return iVar5;" return identifier ;) })) (expression_statement "iVar1 = sqlite3CodeSubselect(pParse,p);" (assignment_expression "iVar1 = sqlite3CodeSubselect(pParse,p)" identifier = (call_expression "sqlite3CodeSubselect(pParse,p)" identifier (argument_list "(pParse,p)" ( identifier , identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })) (labeled_statement "LAB_000c2a28:\n  iVar1 = sqlite3ExprCodeTemp(pParse,p,piFreeable);" statement_identifier : (expression_statement "iVar1 = sqlite3ExprCodeTemp(pParse,p,piFreeable);" (assignment_expression "iVar1 = sqlite3ExprCodeTemp(pParse,p,piFreeable)" identifier = (call_expression "sqlite3ExprCodeTemp(pParse,p,piFreeable)" identifier (argument_list "(pParse,p,piFreeable)" ( identifier , identifier , identifier )))) ;)) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "int FUN_000c29d4(int param_1,char *param_2,undefined4 *param_3)\n\n{\n  char cVar3;\n  int iVar1;\n  int iVar2;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  \n  cVar3 = *param_2;\n  if (cVar3 == -0x5c) {\n    cVar3 = param_2[0x28];\n  }\n  if (cVar3 == -0x5b) {\n    iVar1 = **(int **)(param_2 + 0x14);\n  }\n  else {\n    if (cVar3 != '\x7f') goto LAB_000c2a28;\n    iVar1 = *(int *)**(undefined4 **)(param_2 + 0x14);\n  }\n  if (iVar1 != 1) {\n    *param_3 = 0;\n    if (*param_2 != '\x7f') {\n      iVar6 = *(int *)(param_1 + 0x2c) + 1;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar1;\n      if (0 < iVar1) {\n        iVar5 = 0;\n        iVar2 = 0;\n        do {\n          iVar4 = iVar6 + iVar5;\n          iVar2 = iVar2 + iVar5;\n          iVar5 = iVar5 + 1;\n          FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);\n          iVar2 = iVar5 * 4;\n        } while (iVar5 != iVar1);\n      }\n      return iVar6;\n    }\n    iVar1 = FUN_000bc1f4();\n    return iVar1;\n  }\nLAB_000c2a28:\n  iVar1 = FUN_000c272c();\n  return iVar1;\n}\n\n" (function_definition "int FUN_000c29d4(int param_1,char *param_2,undefined4 *param_3)\n\n{\n  char cVar3;\n  int iVar1;\n  int iVar2;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  \n  cVar3 = *param_2;\n  if (cVar3 == -0x5c) {\n    cVar3 = param_2[0x28];\n  }\n  if (cVar3 == -0x5b) {\n    iVar1 = **(int **)(param_2 + 0x14);\n  }\n  else {\n    if (cVar3 != '\x7f') goto LAB_000c2a28;\n    iVar1 = *(int *)**(undefined4 **)(param_2 + 0x14);\n  }\n  if (iVar1 != 1) {\n    *param_3 = 0;\n    if (*param_2 != '\x7f') {\n      iVar6 = *(int *)(param_1 + 0x2c) + 1;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar1;\n      if (0 < iVar1) {\n        iVar5 = 0;\n        iVar2 = 0;\n        do {\n          iVar4 = iVar6 + iVar5;\n          iVar2 = iVar2 + iVar5;\n          iVar5 = iVar5 + 1;\n          FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);\n          iVar2 = iVar5 * 4;\n        } while (iVar5 != iVar1);\n      }\n      return iVar6;\n    }\n    iVar1 = FUN_000bc1f4();\n    return iVar1;\n  }\nLAB_000c2a28:\n  iVar1 = FUN_000c272c();\n  return iVar1;\n}" primitive_type (function_declarator "FUN_000c29d4(int param_1,char *param_2,undefined4 *param_3)" identifier (parameter_list "(int param_1,char *param_2,undefined4 *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  char cVar3;\n  int iVar1;\n  int iVar2;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  \n  cVar3 = *param_2;\n  if (cVar3 == -0x5c) {\n    cVar3 = param_2[0x28];\n  }\n  if (cVar3 == -0x5b) {\n    iVar1 = **(int **)(param_2 + 0x14);\n  }\n  else {\n    if (cVar3 != '\x7f') goto LAB_000c2a28;\n    iVar1 = *(int *)**(undefined4 **)(param_2 + 0x14);\n  }\n  if (iVar1 != 1) {\n    *param_3 = 0;\n    if (*param_2 != '\x7f') {\n      iVar6 = *(int *)(param_1 + 0x2c) + 1;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar1;\n      if (0 < iVar1) {\n        iVar5 = 0;\n        iVar2 = 0;\n        do {\n          iVar4 = iVar6 + iVar5;\n          iVar2 = iVar2 + iVar5;\n          iVar5 = iVar5 + 1;\n          FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);\n          iVar2 = iVar5 * 4;\n        } while (iVar5 != iVar1);\n      }\n      return iVar6;\n    }\n    iVar1 = FUN_000bc1f4();\n    return iVar1;\n  }\nLAB_000c2a28:\n  iVar1 = FUN_000c272c();\n  return iVar1;\n}" { (declaration "char cVar3;" primitive_type identifier ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (expression_statement "cVar3 = *param_2;" (assignment_expression "cVar3 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (cVar3 == -0x5c) {\n    cVar3 = param_2[0x28];\n  }" if (parenthesized_expression "(cVar3 == -0x5c)" ( (binary_expression "cVar3 == -0x5c" identifier == number_literal) )) (compound_statement "{\n    cVar3 = param_2[0x28];\n  }" { (expression_statement "cVar3 = param_2[0x28];" (assignment_expression "cVar3 = param_2[0x28]" identifier = (subscript_expression "param_2[0x28]" identifier [ number_literal ])) ;) })) (if_statement "if (cVar3 == -0x5b) {\n    iVar1 = **(int **)(param_2 + 0x14);\n  }\n  else {\n    if (cVar3 != '\x7f') goto LAB_000c2a28;\n    iVar1 = *(int *)**(undefined4 **)(param_2 + 0x14);\n  }" if (parenthesized_expression "(cVar3 == -0x5b)" ( (binary_expression "cVar3 == -0x5b" identifier == number_literal) )) (compound_statement "{\n    iVar1 = **(int **)(param_2 + 0x14);\n  }" { (expression_statement "iVar1 = **(int **)(param_2 + 0x14);" (assignment_expression "iVar1 = **(int **)(param_2 + 0x14)" identifier = (pointer_expression "**(int **)(param_2 + 0x14)" * (pointer_expression "*(int **)(param_2 + 0x14)" * (cast_expression "(int **)(param_2 + 0x14)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))))) ;) }) (else_clause "else {\n    if (cVar3 != '\x7f') goto LAB_000c2a28;\n    iVar1 = *(int *)**(undefined4 **)(param_2 + 0x14);\n  }" else (compound_statement "{\n    if (cVar3 != '\x7f') goto LAB_000c2a28;\n    iVar1 = *(int *)**(undefined4 **)(param_2 + 0x14);\n  }" { (if_statement "if (cVar3 != '\x7f') goto LAB_000c2a28;" if (parenthesized_expression "(cVar3 != '\x7f')" ( (binary_expression "cVar3 != '\x7f'" identifier != (char_literal "'\x7f'" ' escape_sequence ')) )) (goto_statement "goto LAB_000c2a28;" goto statement_identifier ;)) (expression_statement "iVar1 = *(int *)**(undefined4 **)(param_2 + 0x14);" (assignment_expression "iVar1 = *(int *)**(undefined4 **)(param_2 + 0x14)" identifier = (pointer_expression "*(int *)**(undefined4 **)(param_2 + 0x14)" * (cast_expression "(int *)**(undefined4 **)(param_2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(undefined4 **)(param_2 + 0x14)" * (pointer_expression "*(undefined4 **)(param_2 + 0x14)" * (cast_expression "(undefined4 **)(param_2 + 0x14)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))))))) ;) }))) (if_statement "if (iVar1 != 1) {\n    *param_3 = 0;\n    if (*param_2 != '\x7f') {\n      iVar6 = *(int *)(param_1 + 0x2c) + 1;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar1;\n      if (0 < iVar1) {\n        iVar5 = 0;\n        iVar2 = 0;\n        do {\n          iVar4 = iVar6 + iVar5;\n          iVar2 = iVar2 + iVar5;\n          iVar5 = iVar5 + 1;\n          FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);\n          iVar2 = iVar5 * 4;\n        } while (iVar5 != iVar1);\n      }\n      return iVar6;\n    }\n    iVar1 = FUN_000bc1f4();\n    return iVar1;\n  }" if (parenthesized_expression "(iVar1 != 1)" ( (binary_expression "iVar1 != 1" identifier != number_literal) )) (compound_statement "{\n    *param_3 = 0;\n    if (*param_2 != '\x7f') {\n      iVar6 = *(int *)(param_1 + 0x2c) + 1;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar1;\n      if (0 < iVar1) {\n        iVar5 = 0;\n        iVar2 = 0;\n        do {\n          iVar4 = iVar6 + iVar5;\n          iVar2 = iVar2 + iVar5;\n          iVar5 = iVar5 + 1;\n          FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);\n          iVar2 = iVar5 * 4;\n        } while (iVar5 != iVar1);\n      }\n      return iVar6;\n    }\n    iVar1 = FUN_000bc1f4();\n    return iVar1;\n  }" { (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" * identifier) = number_literal) ;) (if_statement "if (*param_2 != '\x7f') {\n      iVar6 = *(int *)(param_1 + 0x2c) + 1;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar1;\n      if (0 < iVar1) {\n        iVar5 = 0;\n        iVar2 = 0;\n        do {\n          iVar4 = iVar6 + iVar5;\n          iVar2 = iVar2 + iVar5;\n          iVar5 = iVar5 + 1;\n          FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);\n          iVar2 = iVar5 * 4;\n        } while (iVar5 != iVar1);\n      }\n      return iVar6;\n    }" if (parenthesized_expression "(*param_2 != '\x7f')" ( (binary_expression "*param_2 != '\x7f'" (pointer_expression "*param_2" * identifier) != (char_literal "'\x7f'" ' escape_sequence ')) )) (compound_statement "{\n      iVar6 = *(int *)(param_1 + 0x2c) + 1;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar1;\n      if (0 < iVar1) {\n        iVar5 = 0;\n        iVar2 = 0;\n        do {\n          iVar4 = iVar6 + iVar5;\n          iVar2 = iVar2 + iVar5;\n          iVar5 = iVar5 + 1;\n          FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);\n          iVar2 = iVar5 * 4;\n        } while (iVar5 != iVar1);\n      }\n      return iVar6;\n    }" { (expression_statement "iVar6 = *(int *)(param_1 + 0x2c) + 1;" (assignment_expression "iVar6 = *(int *)(param_1 + 0x2c) + 1" identifier = (binary_expression "*(int *)(param_1 + 0x2c) + 1" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar1;" (assignment_expression "*(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar1" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x2c) + iVar1" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) + identifier)) ;) (if_statement "if (0 < iVar1) {\n        iVar5 = 0;\n        iVar2 = 0;\n        do {\n          iVar4 = iVar6 + iVar5;\n          iVar2 = iVar2 + iVar5;\n          iVar5 = iVar5 + 1;\n          FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);\n          iVar2 = iVar5 * 4;\n        } while (iVar5 != iVar1);\n      }" if (parenthesized_expression "(0 < iVar1)" ( (binary_expression "0 < iVar1" number_literal < identifier) )) (compound_statement "{\n        iVar5 = 0;\n        iVar2 = 0;\n        do {\n          iVar4 = iVar6 + iVar5;\n          iVar2 = iVar2 + iVar5;\n          iVar5 = iVar5 + 1;\n          FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);\n          iVar2 = iVar5 * 4;\n        } while (iVar5 != iVar1);\n      }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n          iVar4 = iVar6 + iVar5;\n          iVar2 = iVar2 + iVar5;\n          iVar5 = iVar5 + 1;\n          FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);\n          iVar2 = iVar5 * 4;\n        } while (iVar5 != iVar1);" do (compound_statement "{\n          iVar4 = iVar6 + iVar5;\n          iVar2 = iVar2 + iVar5;\n          iVar5 = iVar5 + 1;\n          FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);\n          iVar2 = iVar5 * 4;\n        }" { (expression_statement "iVar4 = iVar6 + iVar5;" (assignment_expression "iVar4 = iVar6 + iVar5" identifier = (binary_expression "iVar6 + iVar5" identifier + identifier)) ;) (expression_statement "iVar2 = iVar2 + iVar5;" (assignment_expression "iVar2 = iVar2 + iVar5" identifier = (binary_expression "iVar2 + iVar5" identifier + identifier)) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);" (call_expression "FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4)" identifier (argument_list "(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4)" ( identifier , (pointer_expression "*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4)" * (cast_expression "(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4)" ( (binary_expression "*(int *)(param_2 + 0x14) + iVar2 * 4 + 4" (binary_expression "*(int *)(param_2 + 0x14) + iVar2 * 4" (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 "iVar2 * 4" identifier * number_literal)) + number_literal) )))) , identifier ))) ;) (expression_statement "iVar2 = iVar5 * 4;" (assignment_expression "iVar2 = iVar5 * 4" identifier = (binary_expression "iVar5 * 4" identifier * number_literal)) ;) }) while (parenthesized_expression "(iVar5 != iVar1)" ( (binary_expression "iVar5 != iVar1" identifier != identifier) )) ;) })) (return_statement "return iVar6;" return identifier ;) })) (expression_statement "iVar1 = FUN_000bc1f4();" (assignment_expression "iVar1 = FUN_000bc1f4()" identifier = (call_expression "FUN_000bc1f4()" identifier (argument_list "()" ( )))) ;) (return_statement "return iVar1;" return identifier ;) })) (labeled_statement "LAB_000c2a28:\n  iVar1 = FUN_000c272c();" statement_identifier : (expression_statement "iVar1 = FUN_000c272c();" (assignment_expression "iVar1 = FUN_000c272c()" identifier = (call_expression "FUN_000c272c()" identifier (argument_list "()" ( )))) ;)) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * 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 != (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (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) )))) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (return_statement return IDENT ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;)) (return_statement return IDENT ;) })))
(function_definition "int FUN_000c29d4(int param_1,char *param_2,undefined4 *param_3)\n\n{\n  char cVar3;\n  int iVar1;\n  int iVar2;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  \n  cVar3 = *param_2;\n  if (cVar3 == -0x5c) {\n    cVar3 = param_2[0x28];\n  }\n  if (cVar3 == -0x5b) {\n    iVar1 = **(int **)(param_2 + 0x14);\n  }\n  else {\n    if (cVar3 != '\x7f') goto LAB_000c2a28;\n    iVar1 = *(int *)**(undefined4 **)(param_2 + 0x14);\n  }\n  if (iVar1 != 1) {\n    *param_3 = 0;\n    if (*param_2 != '\x7f') {\n      iVar6 = *(int *)(param_1 + 0x2c) + 1;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar1;\n      if (0 < iVar1) {\n        iVar5 = 0;\n        iVar2 = 0;\n        do {\n          iVar4 = iVar6 + iVar5;\n          iVar2 = iVar2 + iVar5;\n          iVar5 = iVar5 + 1;\n          FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);\n          iVar2 = iVar5 * 4;\n        } while (iVar5 != iVar1);\n      }\n      return iVar6;\n    }\n    iVar1 = FUN_000bc1f4();\n    return iVar1;\n  }\nLAB_000c2a28:\n  iVar1 = FUN_000c272c();\n  return iVar1;\n}" (primitive_type "int") (function_declarator "FUN_000c29d4(int param_1,char *param_2,undefined4 *param_3)" (identifier "FUN_000c29d4") (parameter_list "(int param_1,char *param_2,undefined4 *param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  char cVar3;\n  int iVar1;\n  int iVar2;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  \n  cVar3 = *param_2;\n  if (cVar3 == -0x5c) {\n    cVar3 = param_2[0x28];\n  }\n  if (cVar3 == -0x5b) {\n    iVar1 = **(int **)(param_2 + 0x14);\n  }\n  else {\n    if (cVar3 != '\x7f') goto LAB_000c2a28;\n    iVar1 = *(int *)**(undefined4 **)(param_2 + 0x14);\n  }\n  if (iVar1 != 1) {\n    *param_3 = 0;\n    if (*param_2 != '\x7f') {\n      iVar6 = *(int *)(param_1 + 0x2c) + 1;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar1;\n      if (0 < iVar1) {\n        iVar5 = 0;\n        iVar2 = 0;\n        do {\n          iVar4 = iVar6 + iVar5;\n          iVar2 = iVar2 + iVar5;\n          iVar5 = iVar5 + 1;\n          FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);\n          iVar2 = iVar5 * 4;\n        } while (iVar5 != iVar1);\n      }\n      return iVar6;\n    }\n    iVar1 = FUN_000bc1f4();\n    return iVar1;\n  }\nLAB_000c2a28:\n  iVar1 = FUN_000c272c();\n  return iVar1;\n}" ({ "{") (declaration "char cVar3;" (primitive_type "char") (identifier "cVar3") (; ";")) (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (expression_statement "cVar3 = *param_2;" (assignment_expression "cVar3 = *param_2" (identifier "cVar3") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (if_statement "if (cVar3 == -0x5c) {\n    cVar3 = param_2[0x28];\n  }" (if "if") (parenthesized_expression "(cVar3 == -0x5c)" (( "(") (binary_expression "cVar3 == -0x5c" (identifier "cVar3") (== "==") (number_literal "-0x5c")) () ")")) (compound_statement "{\n    cVar3 = param_2[0x28];\n  }" ({ "{") (expression_statement "cVar3 = param_2[0x28];" (assignment_expression "cVar3 = param_2[0x28]" (identifier "cVar3") (= "=") (subscript_expression "param_2[0x28]" (identifier "param_2") ([ "[") (number_literal "0x28") (] "]"))) (; ";")) (} "}"))) (if_statement "if (cVar3 == -0x5b) {\n    iVar1 = **(int **)(param_2 + 0x14);\n  }\n  else {\n    if (cVar3 != '\x7f') goto LAB_000c2a28;\n    iVar1 = *(int *)**(undefined4 **)(param_2 + 0x14);\n  }" (if "if") (parenthesized_expression "(cVar3 == -0x5b)" (( "(") (binary_expression "cVar3 == -0x5b" (identifier "cVar3") (== "==") (number_literal "-0x5b")) () ")")) (compound_statement "{\n    iVar1 = **(int **)(param_2 + 0x14);\n  }" ({ "{") (expression_statement "iVar1 = **(int **)(param_2 + 0x14);" (assignment_expression "iVar1 = **(int **)(param_2 + 0x14)" (identifier "iVar1") (= "=") (pointer_expression "**(int **)(param_2 + 0x14)" (* "*") (pointer_expression "*(int **)(param_2 + 0x14)" (* "*") (cast_expression "(int **)(param_2 + 0x14)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")")))))) (; ";")) (} "}")) (else_clause "else {\n    if (cVar3 != '\x7f') goto LAB_000c2a28;\n    iVar1 = *(int *)**(undefined4 **)(param_2 + 0x14);\n  }" (else "else") (compound_statement "{\n    if (cVar3 != '\x7f') goto LAB_000c2a28;\n    iVar1 = *(int *)**(undefined4 **)(param_2 + 0x14);\n  }" ({ "{") (if_statement "if (cVar3 != '\x7f') goto LAB_000c2a28;" (if "if") (parenthesized_expression "(cVar3 != '\x7f')" (( "(") (binary_expression "cVar3 != '\x7f'" (identifier "cVar3") (!= "!=") (char_literal "'\x7f'" (' "'") (escape_sequence "\x7f") (' "'"))) () ")")) (goto_statement "goto LAB_000c2a28;" (goto "goto") (statement_identifier "LAB_000c2a28") (; ";"))) (expression_statement "iVar1 = *(int *)**(undefined4 **)(param_2 + 0x14);" (assignment_expression "iVar1 = *(int *)**(undefined4 **)(param_2 + 0x14)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)**(undefined4 **)(param_2 + 0x14)" (* "*") (cast_expression "(int *)**(undefined4 **)(param_2 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "**(undefined4 **)(param_2 + 0x14)" (* "*") (pointer_expression "*(undefined4 **)(param_2 + 0x14)" (* "*") (cast_expression "(undefined4 **)(param_2 + 0x14)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")")))))))) (; ";")) (} "}")))) (if_statement "if (iVar1 != 1) {\n    *param_3 = 0;\n    if (*param_2 != '\x7f') {\n      iVar6 = *(int *)(param_1 + 0x2c) + 1;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar1;\n      if (0 < iVar1) {\n        iVar5 = 0;\n        iVar2 = 0;\n        do {\n          iVar4 = iVar6 + iVar5;\n          iVar2 = iVar2 + iVar5;\n          iVar5 = iVar5 + 1;\n          FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);\n          iVar2 = iVar5 * 4;\n        } while (iVar5 != iVar1);\n      }\n      return iVar6;\n    }\n    iVar1 = FUN_000bc1f4();\n    return iVar1;\n  }" (if "if") (parenthesized_expression "(iVar1 != 1)" (( "(") (binary_expression "iVar1 != 1" (identifier "iVar1") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n    *param_3 = 0;\n    if (*param_2 != '\x7f') {\n      iVar6 = *(int *)(param_1 + 0x2c) + 1;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar1;\n      if (0 < iVar1) {\n        iVar5 = 0;\n        iVar2 = 0;\n        do {\n          iVar4 = iVar6 + iVar5;\n          iVar2 = iVar2 + iVar5;\n          iVar5 = iVar5 + 1;\n          FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);\n          iVar2 = iVar5 * 4;\n        } while (iVar5 != iVar1);\n      }\n      return iVar6;\n    }\n    iVar1 = FUN_000bc1f4();\n    return iVar1;\n  }" ({ "{") (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (*param_2 != '\x7f') {\n      iVar6 = *(int *)(param_1 + 0x2c) + 1;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar1;\n      if (0 < iVar1) {\n        iVar5 = 0;\n        iVar2 = 0;\n        do {\n          iVar4 = iVar6 + iVar5;\n          iVar2 = iVar2 + iVar5;\n          iVar5 = iVar5 + 1;\n          FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);\n          iVar2 = iVar5 * 4;\n        } while (iVar5 != iVar1);\n      }\n      return iVar6;\n    }" (if "if") (parenthesized_expression "(*param_2 != '\x7f')" (( "(") (binary_expression "*param_2 != '\x7f'" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (!= "!=") (char_literal "'\x7f'" (' "'") (escape_sequence "\x7f") (' "'"))) () ")")) (compound_statement "{\n      iVar6 = *(int *)(param_1 + 0x2c) + 1;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar1;\n      if (0 < iVar1) {\n        iVar5 = 0;\n        iVar2 = 0;\n        do {\n          iVar4 = iVar6 + iVar5;\n          iVar2 = iVar2 + iVar5;\n          iVar5 = iVar5 + 1;\n          FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);\n          iVar2 = iVar5 * 4;\n        } while (iVar5 != iVar1);\n      }\n      return iVar6;\n    }" ({ "{") (expression_statement "iVar6 = *(int *)(param_1 + 0x2c) + 1;" (assignment_expression "iVar6 = *(int *)(param_1 + 0x2c) + 1" (identifier "iVar6") (= "=") (binary_expression "*(int *)(param_1 + 0x2c) + 1" (pointer_expression "*(int *)(param_1 + 0x2c)" (* "*") (cast_expression "(int *)(param_1 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar1;" (assignment_expression "*(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar1" (pointer_expression "*(int *)(param_1 + 0x2c)" (* "*") (cast_expression "(int *)(param_1 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (binary_expression "*(int *)(param_1 + 0x2c) + iVar1" (pointer_expression "*(int *)(param_1 + 0x2c)" (* "*") (cast_expression "(int *)(param_1 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (+ "+") (identifier "iVar1"))) (; ";")) (if_statement "if (0 < iVar1) {\n        iVar5 = 0;\n        iVar2 = 0;\n        do {\n          iVar4 = iVar6 + iVar5;\n          iVar2 = iVar2 + iVar5;\n          iVar5 = iVar5 + 1;\n          FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);\n          iVar2 = iVar5 * 4;\n        } while (iVar5 != iVar1);\n      }" (if "if") (parenthesized_expression "(0 < iVar1)" (( "(") (binary_expression "0 < iVar1" (number_literal "0") (< "<") (identifier "iVar1")) () ")")) (compound_statement "{\n        iVar5 = 0;\n        iVar2 = 0;\n        do {\n          iVar4 = iVar6 + iVar5;\n          iVar2 = iVar2 + iVar5;\n          iVar5 = iVar5 + 1;\n          FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);\n          iVar2 = iVar5 * 4;\n        } while (iVar5 != iVar1);\n      }" ({ "{") (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n          iVar4 = iVar6 + iVar5;\n          iVar2 = iVar2 + iVar5;\n          iVar5 = iVar5 + 1;\n          FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);\n          iVar2 = iVar5 * 4;\n        } while (iVar5 != iVar1);" (do "do") (compound_statement "{\n          iVar4 = iVar6 + iVar5;\n          iVar2 = iVar2 + iVar5;\n          iVar5 = iVar5 + 1;\n          FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);\n          iVar2 = iVar5 * 4;\n        }" ({ "{") (expression_statement "iVar4 = iVar6 + iVar5;" (assignment_expression "iVar4 = iVar6 + iVar5" (identifier "iVar4") (= "=") (binary_expression "iVar6 + iVar5" (identifier "iVar6") (+ "+") (identifier "iVar5"))) (; ";")) (expression_statement "iVar2 = iVar2 + iVar5;" (assignment_expression "iVar2 = iVar2 + iVar5" (identifier "iVar2") (= "=") (binary_expression "iVar2 + iVar5" (identifier "iVar2") (+ "+") (identifier "iVar5"))) (; ";")) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);" (call_expression "FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4)" (identifier "FUN_000c03a0") (argument_list "(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4)" (( "(") (identifier "param_1") (, ",") (pointer_expression "*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4)" (( "(") (binary_expression "*(int *)(param_2 + 0x14) + iVar2 * 4 + 4" (binary_expression "*(int *)(param_2 + 0x14) + iVar2 * 4" (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 "iVar2 * 4" (identifier "iVar2") (* "*") (number_literal "4"))) (+ "+") (number_literal "4")) () ")")))) (, ",") (identifier "iVar4") () ")"))) (; ";")) (expression_statement "iVar2 = iVar5 * 4;" (assignment_expression "iVar2 = iVar5 * 4" (identifier "iVar2") (= "=") (binary_expression "iVar5 * 4" (identifier "iVar5") (* "*") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar5 != iVar1)" (( "(") (binary_expression "iVar5 != iVar1" (identifier "iVar5") (!= "!=") (identifier "iVar1")) () ")")) (; ";")) (} "}"))) (return_statement "return iVar6;" (return "return") (identifier "iVar6") (; ";")) (} "}"))) (expression_statement "iVar1 = FUN_000bc1f4();" (assignment_expression "iVar1 = FUN_000bc1f4()" (identifier "iVar1") (= "=") (call_expression "FUN_000bc1f4()" (identifier "FUN_000bc1f4") (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (labeled_statement "LAB_000c2a28:\n  iVar1 = FUN_000c272c();" (statement_identifier "LAB_000c2a28") (: ":") (expression_statement "iVar1 = FUN_000c272c();" (assignment_expression "iVar1 = FUN_000c272c()" (identifier "iVar1") (= "=") (call_expression "FUN_000c272c()" (identifier "FUN_000c272c") (argument_list "()" (( "(") () ")")))) (; ";"))) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}")))

int function_1(type_1 *pParse,type_2 *p,int *piFreeable)

{
  type_3 var_1;
  int var_2;
  int var_5;
  int target;
  int var_4;
  int var_3;
  
  var_1 = p->op;
  if (var_1 == 0xa4) {
    var_1 = p->op2;
  }
  if (var_1 == 0xa5) {
    var_2 = ((p->x).pList)->nExpr;
  }
  else {
    if (var_1 != '\x7f') goto LAB_000c2a28;
    var_2 = ((p->x).pSelect)->pEList->nExpr;
  }
  if (var_2 != 1) {
    *piFreeable = 0;
    if (p->op != '\x7f') {
      var_3 = pParse->nMem + 1;
      pParse->nMem = pParse->nMem + var_2;
      if (0 < var_2) {
        var_4 = 0;
        var_5 = 0;
        do {
          target = var_3 + var_4;
          var_5 = var_5 + var_4;
          var_4 = var_4 + 1;
          var_6(pParse,(&((p->x).pList)->a[0].pExpr)[var_5],target);
          var_5 = var_4 * 4;
        } while (var_4 != var_2);
      }
      return var_3;
    }
    var_2 = var_7(pParse,p);
    return var_2;
  }
LAB_000c2a28:
  var_2 = var_8(pParse,p,piFreeable);
  return var_2;
}


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

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

{
  char cVar3;
  int iVar1;
  int iVar2;
  int iVar4;
  int iVar5;
  int iVar6;
  
  cVar3 = *param_2;
  if (cVar3 == -0x5c) {
    cVar3 = param_2[0x28];
  }
  if (cVar3 == -0x5b) {
    iVar1 = **(int **)(param_2 + 0x14);
  }
  else {
    if (cVar3 != '\x7f') goto LAB_000c2a28;
    iVar1 = *(int *)**(undefined4 **)(param_2 + 0x14);
  }
  if (iVar1 != 1) {
    *param_3 = 0;
    if (*param_2 != '\x7f') {
      iVar6 = *(int *)(param_1 + 0x2c) + 1;
      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + iVar1;
      if (0 < iVar1) {
        iVar5 = 0;
        iVar2 = 0;
        do {
          iVar4 = iVar6 + iVar5;
          iVar2 = iVar2 + iVar5;
          iVar5 = iVar5 + 1;
          FUN_000c03a0(param_1,*(undefined4 *)(*(int *)(param_2 + 0x14) + iVar2 * 4 + 4),iVar4);
          iVar2 = iVar5 * 4;
        } while (iVar5 != iVar1);
      }
      return iVar6;
    }
    iVar1 = FUN_000bc1f4();
    return iVar1;
  }
LAB_000c2a28:
  iVar1 = FUN_000c272c();
  return iVar1;
}

