
int sqlite3FixSrcList(DbFixer *pFix,SrcList *pList)

{
  byte bVar1;
  int iVar2;
  code *pcVar3;
  int iVar4;
  Schema *pSVar5;
  int iVar6;
  sqlite3 *psVar7;
  SrcList_item *pSVar8;
  code *pcVar9;
  code *pcVar10;
  
  psVar7 = pFix->pParse->db;
  pcVar10 = (code *)(PTR_LAB_000f52ec + -0x60c4);
  iVar2 = (*pcVar10)(psVar7,pFix->zDb);
  if ((pList != (SrcList *)0x0) && (pSVar8 = pList->a, 0 < pList->nSrc)) {
    iVar6 = 0;
    pcVar3 = (code *)(PTR_LAB_000f530c + -0x4ed0);
    pcVar9 = (code *)(PTR_LAB_000f52ec + -0x7728);
    do {
      if (pFix->bTemp == '\0') {
        if (pSVar8->zDatabase != (char *)0x0) {
          iVar4 = (*pcVar10)(psVar7);
          if (iVar4 != iVar2) {
            sqlite3ErrorMsg(pFix->pParse,PTR_LAB_000f52cc + 0x76a4,pFix->zType,pFix->pName,
                            pSVar8->zDatabase);
            return 1;
          }
          if (pSVar8->zDatabase != (char *)0x0) {
            (*pcVar9)(psVar7);
          }
        }
        bVar1 = (pSVar8->fg).field_0x1;
        pSVar5 = pFix->pSchema;
        pSVar8->zDatabase = (char *)0x0;
        pSVar8->pSchema = pSVar5;
        (pSVar8->fg).field_0x1 = bVar1 & 0xfd | 2;
      }
      iVar4 = sqlite3FixSelect(pFix,pSVar8->pSelect);
      if (((iVar4 != 0) || (iVar4 = sqlite3FixExpr(pFix,pSVar8->pOn), iVar4 != 0)) ||
         ((((pSVar8->fg).field_0x1 & 0x20) != 0 &&
          (iVar4 = (*pcVar3)(pFix,(pSVar8->u1).zIndexedBy), iVar4 != 0)))) {
        return 1;
      }
      iVar6 = iVar6 + 1;
      pSVar8 = pSVar8 + 1;
    } while (iVar6 < pList->nSrc);
  }
  return 0;
}



undefined4 FUN_0004b39c(undefined4 *param_1,int *param_2)

{
  int iVar1;
  code *pcVar2;
  int iVar3;
  int iVar4;
  undefined4 uVar5;
  int *piVar6;
  code *pcVar7;
  code *pcVar8;
  
  uVar5 = *(undefined4 *)*param_1;
  pcVar8 = (code *)(PTR_LAB_000f52ec + -0x60c4);
  iVar1 = (*pcVar8)(uVar5,param_1[3]);
  if ((param_2 != (int *)0x0) && (piVar6 = param_2 + 2, 0 < *param_2)) {
    iVar4 = 0;
    pcVar2 = (code *)(PTR_LAB_000f530c + -0x4ed0);
    pcVar7 = (code *)(PTR_LAB_000f52ec + -0x7728);
    do {
      if (*(char *)(param_1 + 2) == '\0') {
        if (piVar6[1] != 0) {
          iVar3 = (*pcVar8)(uVar5);
          if (iVar3 != iVar1) {
            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);
            return 1;
          }
          if (piVar6[1] != 0) {
            (*pcVar7)(uVar5);
          }
        }
        iVar3 = param_1[1];
        piVar6[1] = 0;
        *piVar6 = iVar3;
        *(byte *)((int)piVar6 + 0x25) = *(byte *)((int)piVar6 + 0x25) & 0xfd | 2;
      }
      iVar3 = FUN_0004b204(param_1,piVar6[5]);
      if (((iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)) ||
         (((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&
          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)))) {
        return 1;
      }
      iVar4 = iVar4 + 1;
      piVar6 = piVar6 + 0x12;
    } while (iVar4 < *param_2);
  }
  return 0;
}


lui gp,0xb
addiu gp,gp,0x1f04
addu gp,gp,t9
addiu sp,sp,-0x50
lw v0,0x0(a0)
sw s6,0x40(sp)
sw s5,0x3c(sp)
sw s2,0x30(sp)
or s2,a1,zero
lw s6,-0x7fb4(gp)
lw s5,0x0(v0)
lw a1,0xc(a0)
addiu t9,s6,-0x60c4
sw gp,0x18(sp)
sw s0,0x28(sp)
or s0,a0,zero
sw ra,0x4c(sp)
or a0,s5,zero
sw s8,0x48(sp)
sw s7,0x44(sp)
sw s4,0x38(sp)
sw s3,0x34(sp)
sw s1,0x2c(sp)
jalr t9
_sw t9,0x20(sp)
beq s2,zero,0x0004b534
_lw gp,0x18(sp)
or s8,v0,zero
lw v0,0x0(s2)
blez v0,0x0004b534
_addiu s6,s2,0x8
lw v0,-0x7f94(gp)
or s1,zero,zero
lw s7,-0x7fb4(gp)
lw s3,-0x7f94(gp)
lw s4,-0x7f94(gp)
addiu v0,v0,-0x4ed0
addiu s7,s7,-0x7728
addiu s3,s3,-0x4dfc
sw v0,0x24(sp)
b 0x0004b458
_addiu s4,s4,-0x5058
lw v0,0x0(s2)
addiu s1,s1,0x1
slt v0,s1,v0
beq v0,zero,0x0004b534
_addiu s6,s6,0x48
lbu v0,0x8(s0)
bne v0,zero,0x0004b4b0
_nop
lw a1,0x4(s6)
beq a1,zero,0x0004b494
_lw t9,0x20(sp)
jalr t9
_or a0,s5,zero
bne v0,s8,0x0004b568
_lw gp,0x18(sp)
lw a1,0x4(s6)
beq a1,zero,0x0004b494
_or t9,s7,zero
jalr t9
_or a0,s5,zero
lbu v0,0x25(s6)
li a1,0x1
lw a0,0x4(s0)
sw zero,0x4(s6)
ins v0,a1,0x1,0x1
sw a0,0x0(s6)
sb v0,0x25(s6)
lw a1,0x14(s6)
or t9,s3,zero
bal 0x0004b204
_or a0,s0,zero
bne v0,zero,0x0004b500
_or t9,s4,zero
lw a1,0x2c(s6)
bal 0x0004afa8
_or a0,s0,zero
bne v0,zero,0x0004b504
_li v0,0x1
lbu v0,0x25(s6)
andi v0,v0,0x20
beq v0,zero,0x0004b444
_lw t9,0x24(sp)
lw a1,0x40(s6)
jalr t9
_or a0,s0,zero
beq v0,zero,0x0004b444
_nop
li v0,0x1
lw ra,0x4c(sp)
lw s8,0x48(sp)
lw s7,0x44(sp)
lw s6,0x40(sp)
lw s5,0x3c(sp)
lw s4,0x38(sp)
lw s3,0x34(sp)
lw s2,0x30(sp)
lw s1,0x2c(sp)
lw s0,0x28(sp)
jr ra
_addiu sp,sp,0x50
lw ra,0x4c(sp)
or v0,zero,zero
lw s8,0x48(sp)
lw s7,0x44(sp)
lw s6,0x40(sp)
lw s5,0x3c(sp)
lw s4,0x38(sp)
lw s3,0x34(sp)
lw s2,0x30(sp)
lw s1,0x2c(sp)
lw s0,0x28(sp)
jr ra
_addiu sp,sp,0x50
lw a1,-0x7fd4(gp)
lw t9,-0x7f94(gp)
lw v0,0x4(s6)
lw a3,0x14(s0)
addiu a1,a1,0x76a4
lw a2,0x10(s0)
addiu t9,t9,-0x61d8
lw a0,0x0(s0)
bal 0x00049e28
_sw v0,0x10(sp)
b 0x0004b504
_li v0,0x1
(translation_unit "undefined4 FUN_0004b39c(undefined4 *param_1,int *param_2)\n\n{\n  int iVar1;\n  code *pcVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int *piVar6;\n  code *pcVar7;\n  code *pcVar8;\n  \n  uVar5 = *(undefined4 *)*param_1;\n  pcVar8 = (code *)(PTR_LAB_000f52ec + -0x60c4);\n  iVar1 = (*pcVar8)(uVar5,param_1[3]);\n  if ((param_2 != (int *)0x0) && (piVar6 = param_2 + 2, 0 < *param_2)) {\n    iVar4 = 0;\n    pcVar2 = (code *)(PTR_LAB_000f530c + -0x4ed0);\n    pcVar7 = (code *)(PTR_LAB_000f52ec + -0x7728);\n    do {\n      if (*(char *)(param_1 + 2) == '\0') {\n        if (piVar6[1] != 0) {\n          iVar3 = (*pcVar8)(uVar5);\n          if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }\n          if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }\n        }\n        iVar3 = param_1[1];\n        piVar6[1] = 0;\n        *piVar6 = iVar3;\n        *(byte *)((int)piVar6 + 0x25) = *(byte *)((int)piVar6 + 0x25) & 0xfd | 2;\n      }\n      iVar3 = FUN_0004b204(param_1,piVar6[5]);\n      if (((iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)) ||\n         (((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)))) {\n        return 1;\n      }\n      iVar4 = iVar4 + 1;\n      piVar6 = piVar6 + 0x12;\n    } while (iVar4 < *param_2);\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0004b39c(undefined4 *param_1,int *param_2)\n\n{\n  int iVar1;\n  code *pcVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int *piVar6;\n  code *pcVar7;\n  code *pcVar8;\n  \n  uVar5 = *(undefined4 *)*param_1;\n  pcVar8 = (code *)(PTR_LAB_000f52ec + -0x60c4);\n  iVar1 = (*pcVar8)(uVar5,param_1[3]);\n  if ((param_2 != (int *)0x0) && (piVar6 = param_2 + 2, 0 < *param_2)) {\n    iVar4 = 0;\n    pcVar2 = (code *)(PTR_LAB_000f530c + -0x4ed0);\n    pcVar7 = (code *)(PTR_LAB_000f52ec + -0x7728);\n    do {\n      if (*(char *)(param_1 + 2) == '\0') {\n        if (piVar6[1] != 0) {\n          iVar3 = (*pcVar8)(uVar5);\n          if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }\n          if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }\n        }\n        iVar3 = param_1[1];\n        piVar6[1] = 0;\n        *piVar6 = iVar3;\n        *(byte *)((int)piVar6 + 0x25) = *(byte *)((int)piVar6 + 0x25) & 0xfd | 2;\n      }\n      iVar3 = FUN_0004b204(param_1,piVar6[5]);\n      if (((iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)) ||\n         (((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)))) {\n        return 1;\n      }\n      iVar4 = iVar4 + 1;\n      piVar6 = piVar6 + 0x12;\n    } while (iVar4 < *param_2);\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0004b39c(undefined4 *param_1,int *param_2)" identifier (parameter_list "(undefined4 *param_1,int *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  code *pcVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int *piVar6;\n  code *pcVar7;\n  code *pcVar8;\n  \n  uVar5 = *(undefined4 *)*param_1;\n  pcVar8 = (code *)(PTR_LAB_000f52ec + -0x60c4);\n  iVar1 = (*pcVar8)(uVar5,param_1[3]);\n  if ((param_2 != (int *)0x0) && (piVar6 = param_2 + 2, 0 < *param_2)) {\n    iVar4 = 0;\n    pcVar2 = (code *)(PTR_LAB_000f530c + -0x4ed0);\n    pcVar7 = (code *)(PTR_LAB_000f52ec + -0x7728);\n    do {\n      if (*(char *)(param_1 + 2) == '\0') {\n        if (piVar6[1] != 0) {\n          iVar3 = (*pcVar8)(uVar5);\n          if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }\n          if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }\n        }\n        iVar3 = param_1[1];\n        piVar6[1] = 0;\n        *piVar6 = iVar3;\n        *(byte *)((int)piVar6 + 0x25) = *(byte *)((int)piVar6 + 0x25) & 0xfd | 2;\n      }\n      iVar3 = FUN_0004b204(param_1,piVar6[5]);\n      if (((iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)) ||\n         (((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)))) {\n        return 1;\n      }\n      iVar4 = iVar4 + 1;\n      piVar6 = piVar6 + 0x12;\n    } while (iVar4 < *param_2);\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "code *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "code *pcVar7;" type_identifier (pointer_declarator "*pcVar7" * identifier) ;) (declaration "code *pcVar8;" type_identifier (pointer_declarator "*pcVar8" * identifier) ;) (expression_statement "uVar5 = *(undefined4 *)*param_1;" (assignment_expression "uVar5 = *(undefined4 *)*param_1" identifier = (pointer_expression "*(undefined4 *)*param_1" * (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)))) ;) (expression_statement "pcVar8 = (code *)(PTR_LAB_000f52ec + -0x60c4);" (assignment_expression "pcVar8 = (code *)(PTR_LAB_000f52ec + -0x60c4)" identifier = (cast_expression "(code *)(PTR_LAB_000f52ec + -0x60c4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52ec + -0x60c4)" ( (binary_expression "PTR_LAB_000f52ec + -0x60c4" identifier + number_literal) )))) ;) (expression_statement "iVar1 = (*pcVar8)(uVar5,param_1[3]);" (assignment_expression "iVar1 = (*pcVar8)(uVar5,param_1[3])" identifier = (call_expression "(*pcVar8)(uVar5,param_1[3])" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "(uVar5,param_1[3])" ( identifier , (subscript_expression "param_1[3]" identifier [ number_literal ]) )))) ;) (if_statement "if ((param_2 != (int *)0x0) && (piVar6 = param_2 + 2, 0 < *param_2)) {\n    iVar4 = 0;\n    pcVar2 = (code *)(PTR_LAB_000f530c + -0x4ed0);\n    pcVar7 = (code *)(PTR_LAB_000f52ec + -0x7728);\n    do {\n      if (*(char *)(param_1 + 2) == '\0') {\n        if (piVar6[1] != 0) {\n          iVar3 = (*pcVar8)(uVar5);\n          if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }\n          if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }\n        }\n        iVar3 = param_1[1];\n        piVar6[1] = 0;\n        *piVar6 = iVar3;\n        *(byte *)((int)piVar6 + 0x25) = *(byte *)((int)piVar6 + 0x25) & 0xfd | 2;\n      }\n      iVar3 = FUN_0004b204(param_1,piVar6[5]);\n      if (((iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)) ||\n         (((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)))) {\n        return 1;\n      }\n      iVar4 = iVar4 + 1;\n      piVar6 = piVar6 + 0x12;\n    } while (iVar4 < *param_2);\n  }" if (parenthesized_expression "((param_2 != (int *)0x0) && (piVar6 = param_2 + 2, 0 < *param_2))" ( (binary_expression "(param_2 != (int *)0x0) && (piVar6 = param_2 + 2, 0 < *param_2)" (parenthesized_expression "(param_2 != (int *)0x0)" ( (binary_expression "param_2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(piVar6 = param_2 + 2, 0 < *param_2)" ( (comma_expression "piVar6 = param_2 + 2, 0 < *param_2" (assignment_expression "piVar6 = param_2 + 2" identifier = (binary_expression "param_2 + 2" identifier + number_literal)) , (binary_expression "0 < *param_2" number_literal < (pointer_expression "*param_2" * identifier))) ))) )) (compound_statement "{\n    iVar4 = 0;\n    pcVar2 = (code *)(PTR_LAB_000f530c + -0x4ed0);\n    pcVar7 = (code *)(PTR_LAB_000f52ec + -0x7728);\n    do {\n      if (*(char *)(param_1 + 2) == '\0') {\n        if (piVar6[1] != 0) {\n          iVar3 = (*pcVar8)(uVar5);\n          if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }\n          if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }\n        }\n        iVar3 = param_1[1];\n        piVar6[1] = 0;\n        *piVar6 = iVar3;\n        *(byte *)((int)piVar6 + 0x25) = *(byte *)((int)piVar6 + 0x25) & 0xfd | 2;\n      }\n      iVar3 = FUN_0004b204(param_1,piVar6[5]);\n      if (((iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)) ||\n         (((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)))) {\n        return 1;\n      }\n      iVar4 = iVar4 + 1;\n      piVar6 = piVar6 + 0x12;\n    } while (iVar4 < *param_2);\n  }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "pcVar2 = (code *)(PTR_LAB_000f530c + -0x4ed0);" (assignment_expression "pcVar2 = (code *)(PTR_LAB_000f530c + -0x4ed0)" identifier = (cast_expression "(code *)(PTR_LAB_000f530c + -0x4ed0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f530c + -0x4ed0)" ( (binary_expression "PTR_LAB_000f530c + -0x4ed0" identifier + number_literal) )))) ;) (expression_statement "pcVar7 = (code *)(PTR_LAB_000f52ec + -0x7728);" (assignment_expression "pcVar7 = (code *)(PTR_LAB_000f52ec + -0x7728)" identifier = (cast_expression "(code *)(PTR_LAB_000f52ec + -0x7728)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52ec + -0x7728)" ( (binary_expression "PTR_LAB_000f52ec + -0x7728" identifier + number_literal) )))) ;) (do_statement "do {\n      if (*(char *)(param_1 + 2) == '\0') {\n        if (piVar6[1] != 0) {\n          iVar3 = (*pcVar8)(uVar5);\n          if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }\n          if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }\n        }\n        iVar3 = param_1[1];\n        piVar6[1] = 0;\n        *piVar6 = iVar3;\n        *(byte *)((int)piVar6 + 0x25) = *(byte *)((int)piVar6 + 0x25) & 0xfd | 2;\n      }\n      iVar3 = FUN_0004b204(param_1,piVar6[5]);\n      if (((iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)) ||\n         (((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)))) {\n        return 1;\n      }\n      iVar4 = iVar4 + 1;\n      piVar6 = piVar6 + 0x12;\n    } while (iVar4 < *param_2);" do (compound_statement "{\n      if (*(char *)(param_1 + 2) == '\0') {\n        if (piVar6[1] != 0) {\n          iVar3 = (*pcVar8)(uVar5);\n          if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }\n          if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }\n        }\n        iVar3 = param_1[1];\n        piVar6[1] = 0;\n        *piVar6 = iVar3;\n        *(byte *)((int)piVar6 + 0x25) = *(byte *)((int)piVar6 + 0x25) & 0xfd | 2;\n      }\n      iVar3 = FUN_0004b204(param_1,piVar6[5]);\n      if (((iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)) ||\n         (((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)))) {\n        return 1;\n      }\n      iVar4 = iVar4 + 1;\n      piVar6 = piVar6 + 0x12;\n    }" { (if_statement "if (*(char *)(param_1 + 2) == '\0') {\n        if (piVar6[1] != 0) {\n          iVar3 = (*pcVar8)(uVar5);\n          if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }\n          if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }\n        }\n        iVar3 = param_1[1];\n        piVar6[1] = 0;\n        *piVar6 = iVar3;\n        *(byte *)((int)piVar6 + 0x25) = *(byte *)((int)piVar6 + 0x25) & 0xfd | 2;\n      }" if (parenthesized_expression "(*(char *)(param_1 + 2) == '\0')" ( (binary_expression "*(char *)(param_1 + 2) == '\0'" (pointer_expression "*(char *)(param_1 + 2)" * (cast_expression "(char *)(param_1 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        if (piVar6[1] != 0) {\n          iVar3 = (*pcVar8)(uVar5);\n          if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }\n          if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }\n        }\n        iVar3 = param_1[1];\n        piVar6[1] = 0;\n        *piVar6 = iVar3;\n        *(byte *)((int)piVar6 + 0x25) = *(byte *)((int)piVar6 + 0x25) & 0xfd | 2;\n      }" { (if_statement "if (piVar6[1] != 0) {\n          iVar3 = (*pcVar8)(uVar5);\n          if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }\n          if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }\n        }" if (parenthesized_expression "(piVar6[1] != 0)" ( (binary_expression "piVar6[1] != 0" (subscript_expression "piVar6[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n          iVar3 = (*pcVar8)(uVar5);\n          if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }\n          if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }\n        }" { (expression_statement "iVar3 = (*pcVar8)(uVar5);" (assignment_expression "iVar3 = (*pcVar8)(uVar5)" identifier = (call_expression "(*pcVar8)(uVar5)" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "(uVar5)" ( identifier )))) ;) (if_statement "if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }" if (parenthesized_expression "(iVar3 != iVar1)" ( (binary_expression "iVar3 != iVar1" identifier != identifier) )) (compound_statement "{\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }" { (expression_statement "FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);" (call_expression "FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1])" identifier (argument_list "(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1])" ( (pointer_expression "*param_1" * identifier) , (binary_expression "PTR_LAB_000f52cc + 0x76a4" identifier + number_literal) , (subscript_expression "param_1[4]" identifier [ number_literal ]) , (subscript_expression "param_1[5]" identifier [ number_literal ]) , (subscript_expression "piVar6[1]" identifier [ number_literal ]) ))) ;) (return_statement "return 1;" return number_literal ;) })) (if_statement "if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }" if (parenthesized_expression "(piVar6[1] != 0)" ( (binary_expression "piVar6[1] != 0" (subscript_expression "piVar6[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n            (*pcVar7)(uVar5);\n          }" { (expression_statement "(*pcVar7)(uVar5);" (call_expression "(*pcVar7)(uVar5)" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "(uVar5)" ( identifier ))) ;) })) })) (expression_statement "iVar3 = param_1[1];" (assignment_expression "iVar3 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "piVar6[1] = 0;" (assignment_expression "piVar6[1] = 0" (subscript_expression "piVar6[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*piVar6 = iVar3;" (assignment_expression "*piVar6 = iVar3" (pointer_expression "*piVar6" * identifier) = identifier) ;) (expression_statement "*(byte *)((int)piVar6 + 0x25) = *(byte *)((int)piVar6 + 0x25) & 0xfd | 2;" (assignment_expression "*(byte *)((int)piVar6 + 0x25) = *(byte *)((int)piVar6 + 0x25) & 0xfd | 2" (pointer_expression "*(byte *)((int)piVar6 + 0x25)" * (cast_expression "(byte *)((int)piVar6 + 0x25)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar6 + 0x25)" ( (binary_expression "(int)piVar6 + 0x25" (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "*(byte *)((int)piVar6 + 0x25) & 0xfd | 2" (binary_expression "*(byte *)((int)piVar6 + 0x25) & 0xfd" (pointer_expression "*(byte *)((int)piVar6 + 0x25)" * (cast_expression "(byte *)((int)piVar6 + 0x25)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar6 + 0x25)" ( (binary_expression "(int)piVar6 + 0x25" (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) | number_literal)) ;) })) (expression_statement "iVar3 = FUN_0004b204(param_1,piVar6[5]);" (assignment_expression "iVar3 = FUN_0004b204(param_1,piVar6[5])" identifier = (call_expression "FUN_0004b204(param_1,piVar6[5])" identifier (argument_list "(param_1,piVar6[5])" ( identifier , (subscript_expression "piVar6[5]" identifier [ number_literal ]) )))) ;) (if_statement "if (((iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)) ||\n         (((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)))) {\n        return 1;\n      }" if (parenthesized_expression "(((iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)) ||\n         (((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0))))" ( (binary_expression "((iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)) ||\n         (((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)))" (parenthesized_expression "((iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0))" ( (binary_expression "(iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)" (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) || (parenthesized_expression "(iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)" ( (comma_expression "iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0" (assignment_expression "iVar3 = FUN_0004afa8(param_1,piVar6[0xb])" identifier = (call_expression "FUN_0004afa8(param_1,piVar6[0xb])" identifier (argument_list "(param_1,piVar6[0xb])" ( identifier , (subscript_expression "piVar6[0xb]" identifier [ number_literal ]) )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) || (parenthesized_expression "(((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)))" ( (parenthesized_expression "((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0))" ( (binary_expression "(*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)" (binary_expression "(*(byte *)((int)piVar6 + 0x25) & 0x20) != 0" (parenthesized_expression "(*(byte *)((int)piVar6 + 0x25) & 0x20)" ( (binary_expression "*(byte *)((int)piVar6 + 0x25) & 0x20" (pointer_expression "*(byte *)((int)piVar6 + 0x25)" * (cast_expression "(byte *)((int)piVar6 + 0x25)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar6 + 0x25)" ( (binary_expression "(int)piVar6 + 0x25" (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) )) != number_literal) && (parenthesized_expression "(iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)" ( (comma_expression "iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0" (assignment_expression "iVar3 = (*pcVar2)(param_1,piVar6[0x10])" identifier = (call_expression "(*pcVar2)(param_1,piVar6[0x10])" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "(param_1,piVar6[0x10])" ( identifier , (subscript_expression "piVar6[0x10]" identifier [ number_literal ]) )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) ))) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "piVar6 = piVar6 + 0x12;" (assignment_expression "piVar6 = piVar6 + 0x12" identifier = (binary_expression "piVar6 + 0x12" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 < *param_2)" ( (binary_expression "iVar4 < *param_2" identifier < (pointer_expression "*param_2" * identifier)) )) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "int sqlite3FixSrcList(DbFixer *pFix,SrcList *pList)\n\n{\n  byte bVar1;\n  int iVar2;\n  code *pcVar3;\n  int iVar4;\n  Schema *pSVar5;\n  int iVar6;\n  sqlite3 *psVar7;\n  SrcList_item *pSVar8;\n  code *pcVar9;\n  code *pcVar10;\n  \n  psVar7 = pFix->pParse->db;\n  pcVar10 = (code *)(PTR_LAB_000f52ec + -0x60c4);\n  iVar2 = (*pcVar10)(psVar7,pFix->zDb);\n  if ((pList != (SrcList *)0x0) && (pSVar8 = pList->a, 0 < pList->nSrc)) {\n    iVar6 = 0;\n    pcVar3 = (code *)(PTR_LAB_000f530c + -0x4ed0);\n    pcVar9 = (code *)(PTR_LAB_000f52ec + -0x7728);\n    do {\n      if (pFix->bTemp == '\0') {\n        if (pSVar8->zDatabase != (char *)0x0) {\n          iVar4 = (*pcVar10)(psVar7);\n          if (iVar4 != iVar2) {\n            sqlite3ErrorMsg(pFix->pParse,PTR_LAB_000f52cc + 0x76a4,pFix->zType,pFix->pName,\n                            pSVar8->zDatabase);\n            return 1;\n          }\n          if (pSVar8->zDatabase != (char *)0x0) {\n            (*pcVar9)(psVar7);\n          }\n        }\n        bVar1 = (pSVar8->fg).field_0x1;\n        pSVar5 = pFix->pSchema;\n        pSVar8->zDatabase = (char *)0x0;\n        pSVar8->pSchema = pSVar5;\n        (pSVar8->fg).field_0x1 = bVar1 & 0xfd | 2;\n      }\n      iVar4 = sqlite3FixSelect(pFix,pSVar8->pSelect);\n      if (((iVar4 != 0) || (iVar4 = sqlite3FixExpr(pFix,pSVar8->pOn), iVar4 != 0)) ||\n         ((((pSVar8->fg).field_0x1 & 0x20) != 0 &&\n          (iVar4 = (*pcVar3)(pFix,(pSVar8->u1).zIndexedBy), iVar4 != 0)))) {\n        return 1;\n      }\n      iVar6 = iVar6 + 1;\n      pSVar8 = pSVar8 + 1;\n    } while (iVar6 < pList->nSrc);\n  }\n  return 0;\n}\n\n" (function_definition "int sqlite3FixSrcList(DbFixer *pFix,SrcList *pList)\n\n{\n  byte bVar1;\n  int iVar2;\n  code *pcVar3;\n  int iVar4;\n  Schema *pSVar5;\n  int iVar6;\n  sqlite3 *psVar7;\n  SrcList_item *pSVar8;\n  code *pcVar9;\n  code *pcVar10;\n  \n  psVar7 = pFix->pParse->db;\n  pcVar10 = (code *)(PTR_LAB_000f52ec + -0x60c4);\n  iVar2 = (*pcVar10)(psVar7,pFix->zDb);\n  if ((pList != (SrcList *)0x0) && (pSVar8 = pList->a, 0 < pList->nSrc)) {\n    iVar6 = 0;\n    pcVar3 = (code *)(PTR_LAB_000f530c + -0x4ed0);\n    pcVar9 = (code *)(PTR_LAB_000f52ec + -0x7728);\n    do {\n      if (pFix->bTemp == '\0') {\n        if (pSVar8->zDatabase != (char *)0x0) {\n          iVar4 = (*pcVar10)(psVar7);\n          if (iVar4 != iVar2) {\n            sqlite3ErrorMsg(pFix->pParse,PTR_LAB_000f52cc + 0x76a4,pFix->zType,pFix->pName,\n                            pSVar8->zDatabase);\n            return 1;\n          }\n          if (pSVar8->zDatabase != (char *)0x0) {\n            (*pcVar9)(psVar7);\n          }\n        }\n        bVar1 = (pSVar8->fg).field_0x1;\n        pSVar5 = pFix->pSchema;\n        pSVar8->zDatabase = (char *)0x0;\n        pSVar8->pSchema = pSVar5;\n        (pSVar8->fg).field_0x1 = bVar1 & 0xfd | 2;\n      }\n      iVar4 = sqlite3FixSelect(pFix,pSVar8->pSelect);\n      if (((iVar4 != 0) || (iVar4 = sqlite3FixExpr(pFix,pSVar8->pOn), iVar4 != 0)) ||\n         ((((pSVar8->fg).field_0x1 & 0x20) != 0 &&\n          (iVar4 = (*pcVar3)(pFix,(pSVar8->u1).zIndexedBy), iVar4 != 0)))) {\n        return 1;\n      }\n      iVar6 = iVar6 + 1;\n      pSVar8 = pSVar8 + 1;\n    } while (iVar6 < pList->nSrc);\n  }\n  return 0;\n}" primitive_type (function_declarator "sqlite3FixSrcList(DbFixer *pFix,SrcList *pList)" identifier (parameter_list "(DbFixer *pFix,SrcList *pList)" ( (parameter_declaration "DbFixer *pFix" type_identifier (pointer_declarator "*pFix" * identifier)) , (parameter_declaration "SrcList *pList" type_identifier (pointer_declarator "*pList" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  code *pcVar3;\n  int iVar4;\n  Schema *pSVar5;\n  int iVar6;\n  sqlite3 *psVar7;\n  SrcList_item *pSVar8;\n  code *pcVar9;\n  code *pcVar10;\n  \n  psVar7 = pFix->pParse->db;\n  pcVar10 = (code *)(PTR_LAB_000f52ec + -0x60c4);\n  iVar2 = (*pcVar10)(psVar7,pFix->zDb);\n  if ((pList != (SrcList *)0x0) && (pSVar8 = pList->a, 0 < pList->nSrc)) {\n    iVar6 = 0;\n    pcVar3 = (code *)(PTR_LAB_000f530c + -0x4ed0);\n    pcVar9 = (code *)(PTR_LAB_000f52ec + -0x7728);\n    do {\n      if (pFix->bTemp == '\0') {\n        if (pSVar8->zDatabase != (char *)0x0) {\n          iVar4 = (*pcVar10)(psVar7);\n          if (iVar4 != iVar2) {\n            sqlite3ErrorMsg(pFix->pParse,PTR_LAB_000f52cc + 0x76a4,pFix->zType,pFix->pName,\n                            pSVar8->zDatabase);\n            return 1;\n          }\n          if (pSVar8->zDatabase != (char *)0x0) {\n            (*pcVar9)(psVar7);\n          }\n        }\n        bVar1 = (pSVar8->fg).field_0x1;\n        pSVar5 = pFix->pSchema;\n        pSVar8->zDatabase = (char *)0x0;\n        pSVar8->pSchema = pSVar5;\n        (pSVar8->fg).field_0x1 = bVar1 & 0xfd | 2;\n      }\n      iVar4 = sqlite3FixSelect(pFix,pSVar8->pSelect);\n      if (((iVar4 != 0) || (iVar4 = sqlite3FixExpr(pFix,pSVar8->pOn), iVar4 != 0)) ||\n         ((((pSVar8->fg).field_0x1 & 0x20) != 0 &&\n          (iVar4 = (*pcVar3)(pFix,(pSVar8->u1).zIndexedBy), iVar4 != 0)))) {\n        return 1;\n      }\n      iVar6 = iVar6 + 1;\n      pSVar8 = pSVar8 + 1;\n    } while (iVar6 < pList->nSrc);\n  }\n  return 0;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "code *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "Schema *pSVar5;" type_identifier (pointer_declarator "*pSVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "sqlite3 *psVar7;" type_identifier (pointer_declarator "*psVar7" * identifier) ;) (declaration "SrcList_item *pSVar8;" type_identifier (pointer_declarator "*pSVar8" * identifier) ;) (declaration "code *pcVar9;" type_identifier (pointer_declarator "*pcVar9" * identifier) ;) (declaration "code *pcVar10;" type_identifier (pointer_declarator "*pcVar10" * identifier) ;) (expression_statement "psVar7 = pFix->pParse->db;" (assignment_expression "psVar7 = pFix->pParse->db" identifier = (field_expression "pFix->pParse->db" (field_expression "pFix->pParse" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "pcVar10 = (code *)(PTR_LAB_000f52ec + -0x60c4);" (assignment_expression "pcVar10 = (code *)(PTR_LAB_000f52ec + -0x60c4)" identifier = (cast_expression "(code *)(PTR_LAB_000f52ec + -0x60c4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52ec + -0x60c4)" ( (binary_expression "PTR_LAB_000f52ec + -0x60c4" identifier + number_literal) )))) ;) (expression_statement "iVar2 = (*pcVar10)(psVar7,pFix->zDb);" (assignment_expression "iVar2 = (*pcVar10)(psVar7,pFix->zDb)" identifier = (call_expression "(*pcVar10)(psVar7,pFix->zDb)" (parenthesized_expression "(*pcVar10)" ( (pointer_expression "*pcVar10" * identifier) )) (argument_list "(psVar7,pFix->zDb)" ( identifier , (field_expression "pFix->zDb" identifier -> field_identifier) )))) ;) (if_statement "if ((pList != (SrcList *)0x0) && (pSVar8 = pList->a, 0 < pList->nSrc)) {\n    iVar6 = 0;\n    pcVar3 = (code *)(PTR_LAB_000f530c + -0x4ed0);\n    pcVar9 = (code *)(PTR_LAB_000f52ec + -0x7728);\n    do {\n      if (pFix->bTemp == '\0') {\n        if (pSVar8->zDatabase != (char *)0x0) {\n          iVar4 = (*pcVar10)(psVar7);\n          if (iVar4 != iVar2) {\n            sqlite3ErrorMsg(pFix->pParse,PTR_LAB_000f52cc + 0x76a4,pFix->zType,pFix->pName,\n                            pSVar8->zDatabase);\n            return 1;\n          }\n          if (pSVar8->zDatabase != (char *)0x0) {\n            (*pcVar9)(psVar7);\n          }\n        }\n        bVar1 = (pSVar8->fg).field_0x1;\n        pSVar5 = pFix->pSchema;\n        pSVar8->zDatabase = (char *)0x0;\n        pSVar8->pSchema = pSVar5;\n        (pSVar8->fg).field_0x1 = bVar1 & 0xfd | 2;\n      }\n      iVar4 = sqlite3FixSelect(pFix,pSVar8->pSelect);\n      if (((iVar4 != 0) || (iVar4 = sqlite3FixExpr(pFix,pSVar8->pOn), iVar4 != 0)) ||\n         ((((pSVar8->fg).field_0x1 & 0x20) != 0 &&\n          (iVar4 = (*pcVar3)(pFix,(pSVar8->u1).zIndexedBy), iVar4 != 0)))) {\n        return 1;\n      }\n      iVar6 = iVar6 + 1;\n      pSVar8 = pSVar8 + 1;\n    } while (iVar6 < pList->nSrc);\n  }" if (parenthesized_expression "((pList != (SrcList *)0x0) && (pSVar8 = pList->a, 0 < pList->nSrc))" ( (binary_expression "(pList != (SrcList *)0x0) && (pSVar8 = pList->a, 0 < pList->nSrc)" (parenthesized_expression "(pList != (SrcList *)0x0)" ( (binary_expression "pList != (SrcList *)0x0" identifier != (cast_expression "(SrcList *)0x0" ( (type_descriptor "SrcList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(pSVar8 = pList->a, 0 < pList->nSrc)" ( (comma_expression "pSVar8 = pList->a, 0 < pList->nSrc" (assignment_expression "pSVar8 = pList->a" identifier = (field_expression "pList->a" identifier -> field_identifier)) , (binary_expression "0 < pList->nSrc" number_literal < (field_expression "pList->nSrc" identifier -> field_identifier))) ))) )) (compound_statement "{\n    iVar6 = 0;\n    pcVar3 = (code *)(PTR_LAB_000f530c + -0x4ed0);\n    pcVar9 = (code *)(PTR_LAB_000f52ec + -0x7728);\n    do {\n      if (pFix->bTemp == '\0') {\n        if (pSVar8->zDatabase != (char *)0x0) {\n          iVar4 = (*pcVar10)(psVar7);\n          if (iVar4 != iVar2) {\n            sqlite3ErrorMsg(pFix->pParse,PTR_LAB_000f52cc + 0x76a4,pFix->zType,pFix->pName,\n                            pSVar8->zDatabase);\n            return 1;\n          }\n          if (pSVar8->zDatabase != (char *)0x0) {\n            (*pcVar9)(psVar7);\n          }\n        }\n        bVar1 = (pSVar8->fg).field_0x1;\n        pSVar5 = pFix->pSchema;\n        pSVar8->zDatabase = (char *)0x0;\n        pSVar8->pSchema = pSVar5;\n        (pSVar8->fg).field_0x1 = bVar1 & 0xfd | 2;\n      }\n      iVar4 = sqlite3FixSelect(pFix,pSVar8->pSelect);\n      if (((iVar4 != 0) || (iVar4 = sqlite3FixExpr(pFix,pSVar8->pOn), iVar4 != 0)) ||\n         ((((pSVar8->fg).field_0x1 & 0x20) != 0 &&\n          (iVar4 = (*pcVar3)(pFix,(pSVar8->u1).zIndexedBy), iVar4 != 0)))) {\n        return 1;\n      }\n      iVar6 = iVar6 + 1;\n      pSVar8 = pSVar8 + 1;\n    } while (iVar6 < pList->nSrc);\n  }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "pcVar3 = (code *)(PTR_LAB_000f530c + -0x4ed0);" (assignment_expression "pcVar3 = (code *)(PTR_LAB_000f530c + -0x4ed0)" identifier = (cast_expression "(code *)(PTR_LAB_000f530c + -0x4ed0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f530c + -0x4ed0)" ( (binary_expression "PTR_LAB_000f530c + -0x4ed0" identifier + number_literal) )))) ;) (expression_statement "pcVar9 = (code *)(PTR_LAB_000f52ec + -0x7728);" (assignment_expression "pcVar9 = (code *)(PTR_LAB_000f52ec + -0x7728)" identifier = (cast_expression "(code *)(PTR_LAB_000f52ec + -0x7728)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52ec + -0x7728)" ( (binary_expression "PTR_LAB_000f52ec + -0x7728" identifier + number_literal) )))) ;) (do_statement "do {\n      if (pFix->bTemp == '\0') {\n        if (pSVar8->zDatabase != (char *)0x0) {\n          iVar4 = (*pcVar10)(psVar7);\n          if (iVar4 != iVar2) {\n            sqlite3ErrorMsg(pFix->pParse,PTR_LAB_000f52cc + 0x76a4,pFix->zType,pFix->pName,\n                            pSVar8->zDatabase);\n            return 1;\n          }\n          if (pSVar8->zDatabase != (char *)0x0) {\n            (*pcVar9)(psVar7);\n          }\n        }\n        bVar1 = (pSVar8->fg).field_0x1;\n        pSVar5 = pFix->pSchema;\n        pSVar8->zDatabase = (char *)0x0;\n        pSVar8->pSchema = pSVar5;\n        (pSVar8->fg).field_0x1 = bVar1 & 0xfd | 2;\n      }\n      iVar4 = sqlite3FixSelect(pFix,pSVar8->pSelect);\n      if (((iVar4 != 0) || (iVar4 = sqlite3FixExpr(pFix,pSVar8->pOn), iVar4 != 0)) ||\n         ((((pSVar8->fg).field_0x1 & 0x20) != 0 &&\n          (iVar4 = (*pcVar3)(pFix,(pSVar8->u1).zIndexedBy), iVar4 != 0)))) {\n        return 1;\n      }\n      iVar6 = iVar6 + 1;\n      pSVar8 = pSVar8 + 1;\n    } while (iVar6 < pList->nSrc);" do (compound_statement "{\n      if (pFix->bTemp == '\0') {\n        if (pSVar8->zDatabase != (char *)0x0) {\n          iVar4 = (*pcVar10)(psVar7);\n          if (iVar4 != iVar2) {\n            sqlite3ErrorMsg(pFix->pParse,PTR_LAB_000f52cc + 0x76a4,pFix->zType,pFix->pName,\n                            pSVar8->zDatabase);\n            return 1;\n          }\n          if (pSVar8->zDatabase != (char *)0x0) {\n            (*pcVar9)(psVar7);\n          }\n        }\n        bVar1 = (pSVar8->fg).field_0x1;\n        pSVar5 = pFix->pSchema;\n        pSVar8->zDatabase = (char *)0x0;\n        pSVar8->pSchema = pSVar5;\n        (pSVar8->fg).field_0x1 = bVar1 & 0xfd | 2;\n      }\n      iVar4 = sqlite3FixSelect(pFix,pSVar8->pSelect);\n      if (((iVar4 != 0) || (iVar4 = sqlite3FixExpr(pFix,pSVar8->pOn), iVar4 != 0)) ||\n         ((((pSVar8->fg).field_0x1 & 0x20) != 0 &&\n          (iVar4 = (*pcVar3)(pFix,(pSVar8->u1).zIndexedBy), iVar4 != 0)))) {\n        return 1;\n      }\n      iVar6 = iVar6 + 1;\n      pSVar8 = pSVar8 + 1;\n    }" { (if_statement "if (pFix->bTemp == '\0') {\n        if (pSVar8->zDatabase != (char *)0x0) {\n          iVar4 = (*pcVar10)(psVar7);\n          if (iVar4 != iVar2) {\n            sqlite3ErrorMsg(pFix->pParse,PTR_LAB_000f52cc + 0x76a4,pFix->zType,pFix->pName,\n                            pSVar8->zDatabase);\n            return 1;\n          }\n          if (pSVar8->zDatabase != (char *)0x0) {\n            (*pcVar9)(psVar7);\n          }\n        }\n        bVar1 = (pSVar8->fg).field_0x1;\n        pSVar5 = pFix->pSchema;\n        pSVar8->zDatabase = (char *)0x0;\n        pSVar8->pSchema = pSVar5;\n        (pSVar8->fg).field_0x1 = bVar1 & 0xfd | 2;\n      }" if (parenthesized_expression "(pFix->bTemp == '\0')" ( (binary_expression "pFix->bTemp == '\0'" (field_expression "pFix->bTemp" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        if (pSVar8->zDatabase != (char *)0x0) {\n          iVar4 = (*pcVar10)(psVar7);\n          if (iVar4 != iVar2) {\n            sqlite3ErrorMsg(pFix->pParse,PTR_LAB_000f52cc + 0x76a4,pFix->zType,pFix->pName,\n                            pSVar8->zDatabase);\n            return 1;\n          }\n          if (pSVar8->zDatabase != (char *)0x0) {\n            (*pcVar9)(psVar7);\n          }\n        }\n        bVar1 = (pSVar8->fg).field_0x1;\n        pSVar5 = pFix->pSchema;\n        pSVar8->zDatabase = (char *)0x0;\n        pSVar8->pSchema = pSVar5;\n        (pSVar8->fg).field_0x1 = bVar1 & 0xfd | 2;\n      }" { (if_statement "if (pSVar8->zDatabase != (char *)0x0) {\n          iVar4 = (*pcVar10)(psVar7);\n          if (iVar4 != iVar2) {\n            sqlite3ErrorMsg(pFix->pParse,PTR_LAB_000f52cc + 0x76a4,pFix->zType,pFix->pName,\n                            pSVar8->zDatabase);\n            return 1;\n          }\n          if (pSVar8->zDatabase != (char *)0x0) {\n            (*pcVar9)(psVar7);\n          }\n        }" if (parenthesized_expression "(pSVar8->zDatabase != (char *)0x0)" ( (binary_expression "pSVar8->zDatabase != (char *)0x0" (field_expression "pSVar8->zDatabase" identifier -> field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          iVar4 = (*pcVar10)(psVar7);\n          if (iVar4 != iVar2) {\n            sqlite3ErrorMsg(pFix->pParse,PTR_LAB_000f52cc + 0x76a4,pFix->zType,pFix->pName,\n                            pSVar8->zDatabase);\n            return 1;\n          }\n          if (pSVar8->zDatabase != (char *)0x0) {\n            (*pcVar9)(psVar7);\n          }\n        }" { (expression_statement "iVar4 = (*pcVar10)(psVar7);" (assignment_expression "iVar4 = (*pcVar10)(psVar7)" identifier = (call_expression "(*pcVar10)(psVar7)" (parenthesized_expression "(*pcVar10)" ( (pointer_expression "*pcVar10" * identifier) )) (argument_list "(psVar7)" ( identifier )))) ;) (if_statement "if (iVar4 != iVar2) {\n            sqlite3ErrorMsg(pFix->pParse,PTR_LAB_000f52cc + 0x76a4,pFix->zType,pFix->pName,\n                            pSVar8->zDatabase);\n            return 1;\n          }" if (parenthesized_expression "(iVar4 != iVar2)" ( (binary_expression "iVar4 != iVar2" identifier != identifier) )) (compound_statement "{\n            sqlite3ErrorMsg(pFix->pParse,PTR_LAB_000f52cc + 0x76a4,pFix->zType,pFix->pName,\n                            pSVar8->zDatabase);\n            return 1;\n          }" { (expression_statement "sqlite3ErrorMsg(pFix->pParse,PTR_LAB_000f52cc + 0x76a4,pFix->zType,pFix->pName,\n                            pSVar8->zDatabase);" (call_expression "sqlite3ErrorMsg(pFix->pParse,PTR_LAB_000f52cc + 0x76a4,pFix->zType,pFix->pName,\n                            pSVar8->zDatabase)" identifier (argument_list "(pFix->pParse,PTR_LAB_000f52cc + 0x76a4,pFix->zType,pFix->pName,\n                            pSVar8->zDatabase)" ( (field_expression "pFix->pParse" identifier -> field_identifier) , (binary_expression "PTR_LAB_000f52cc + 0x76a4" identifier + number_literal) , (field_expression "pFix->zType" identifier -> field_identifier) , (field_expression "pFix->pName" identifier -> field_identifier) , (field_expression "pSVar8->zDatabase" identifier -> field_identifier) ))) ;) (return_statement "return 1;" return number_literal ;) })) (if_statement "if (pSVar8->zDatabase != (char *)0x0) {\n            (*pcVar9)(psVar7);\n          }" if (parenthesized_expression "(pSVar8->zDatabase != (char *)0x0)" ( (binary_expression "pSVar8->zDatabase != (char *)0x0" (field_expression "pSVar8->zDatabase" identifier -> field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*pcVar9)(psVar7);\n          }" { (expression_statement "(*pcVar9)(psVar7);" (call_expression "(*pcVar9)(psVar7)" (parenthesized_expression "(*pcVar9)" ( (pointer_expression "*pcVar9" * identifier) )) (argument_list "(psVar7)" ( identifier ))) ;) })) })) (expression_statement "bVar1 = (pSVar8->fg).field_0x1;" (assignment_expression "bVar1 = (pSVar8->fg).field_0x1" identifier = (field_expression "(pSVar8->fg).field_0x1" (parenthesized_expression "(pSVar8->fg)" ( (field_expression "pSVar8->fg" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "pSVar5 = pFix->pSchema;" (assignment_expression "pSVar5 = pFix->pSchema" identifier = (field_expression "pFix->pSchema" identifier -> field_identifier)) ;) (expression_statement "pSVar8->zDatabase = (char *)0x0;" (assignment_expression "pSVar8->zDatabase = (char *)0x0" (field_expression "pSVar8->zDatabase" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pSVar8->pSchema = pSVar5;" (assignment_expression "pSVar8->pSchema = pSVar5" (field_expression "pSVar8->pSchema" identifier -> field_identifier) = identifier) ;) (expression_statement "(pSVar8->fg).field_0x1 = bVar1 & 0xfd | 2;" (assignment_expression "(pSVar8->fg).field_0x1 = bVar1 & 0xfd | 2" (field_expression "(pSVar8->fg).field_0x1" (parenthesized_expression "(pSVar8->fg)" ( (field_expression "pSVar8->fg" identifier -> field_identifier) )) . field_identifier) = (binary_expression "bVar1 & 0xfd | 2" (binary_expression "bVar1 & 0xfd" identifier & number_literal) | number_literal)) ;) })) (expression_statement "iVar4 = sqlite3FixSelect(pFix,pSVar8->pSelect);" (assignment_expression "iVar4 = sqlite3FixSelect(pFix,pSVar8->pSelect)" identifier = (call_expression "sqlite3FixSelect(pFix,pSVar8->pSelect)" identifier (argument_list "(pFix,pSVar8->pSelect)" ( identifier , (field_expression "pSVar8->pSelect" identifier -> field_identifier) )))) ;) (if_statement "if (((iVar4 != 0) || (iVar4 = sqlite3FixExpr(pFix,pSVar8->pOn), iVar4 != 0)) ||\n         ((((pSVar8->fg).field_0x1 & 0x20) != 0 &&\n          (iVar4 = (*pcVar3)(pFix,(pSVar8->u1).zIndexedBy), iVar4 != 0)))) {\n        return 1;\n      }" if (parenthesized_expression "(((iVar4 != 0) || (iVar4 = sqlite3FixExpr(pFix,pSVar8->pOn), iVar4 != 0)) ||\n         ((((pSVar8->fg).field_0x1 & 0x20) != 0 &&\n          (iVar4 = (*pcVar3)(pFix,(pSVar8->u1).zIndexedBy), iVar4 != 0))))" ( (binary_expression "((iVar4 != 0) || (iVar4 = sqlite3FixExpr(pFix,pSVar8->pOn), iVar4 != 0)) ||\n         ((((pSVar8->fg).field_0x1 & 0x20) != 0 &&\n          (iVar4 = (*pcVar3)(pFix,(pSVar8->u1).zIndexedBy), iVar4 != 0)))" (parenthesized_expression "((iVar4 != 0) || (iVar4 = sqlite3FixExpr(pFix,pSVar8->pOn), iVar4 != 0))" ( (binary_expression "(iVar4 != 0) || (iVar4 = sqlite3FixExpr(pFix,pSVar8->pOn), iVar4 != 0)" (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) || (parenthesized_expression "(iVar4 = sqlite3FixExpr(pFix,pSVar8->pOn), iVar4 != 0)" ( (comma_expression "iVar4 = sqlite3FixExpr(pFix,pSVar8->pOn), iVar4 != 0" (assignment_expression "iVar4 = sqlite3FixExpr(pFix,pSVar8->pOn)" identifier = (call_expression "sqlite3FixExpr(pFix,pSVar8->pOn)" identifier (argument_list "(pFix,pSVar8->pOn)" ( identifier , (field_expression "pSVar8->pOn" identifier -> field_identifier) )))) , (binary_expression "iVar4 != 0" identifier != number_literal)) ))) )) || (parenthesized_expression "((((pSVar8->fg).field_0x1 & 0x20) != 0 &&\n          (iVar4 = (*pcVar3)(pFix,(pSVar8->u1).zIndexedBy), iVar4 != 0)))" ( (parenthesized_expression "(((pSVar8->fg).field_0x1 & 0x20) != 0 &&\n          (iVar4 = (*pcVar3)(pFix,(pSVar8->u1).zIndexedBy), iVar4 != 0))" ( (binary_expression "((pSVar8->fg).field_0x1 & 0x20) != 0 &&\n          (iVar4 = (*pcVar3)(pFix,(pSVar8->u1).zIndexedBy), iVar4 != 0)" (binary_expression "((pSVar8->fg).field_0x1 & 0x20) != 0" (parenthesized_expression "((pSVar8->fg).field_0x1 & 0x20)" ( (binary_expression "(pSVar8->fg).field_0x1 & 0x20" (field_expression "(pSVar8->fg).field_0x1" (parenthesized_expression "(pSVar8->fg)" ( (field_expression "pSVar8->fg" identifier -> field_identifier) )) . field_identifier) & number_literal) )) != number_literal) && (parenthesized_expression "(iVar4 = (*pcVar3)(pFix,(pSVar8->u1).zIndexedBy), iVar4 != 0)" ( (comma_expression "iVar4 = (*pcVar3)(pFix,(pSVar8->u1).zIndexedBy), iVar4 != 0" (assignment_expression "iVar4 = (*pcVar3)(pFix,(pSVar8->u1).zIndexedBy)" identifier = (call_expression "(*pcVar3)(pFix,(pSVar8->u1).zIndexedBy)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(pFix,(pSVar8->u1).zIndexedBy)" ( identifier , (field_expression "(pSVar8->u1).zIndexedBy" (parenthesized_expression "(pSVar8->u1)" ( (field_expression "pSVar8->u1" identifier -> field_identifier) )) . field_identifier) )))) , (binary_expression "iVar4 != 0" identifier != number_literal)) ))) )) ))) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "pSVar8 = pSVar8 + 1;" (assignment_expression "pSVar8 = pSVar8 + 1" identifier = (binary_expression "pSVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar6 < pList->nSrc)" ( (binary_expression "iVar6 < pList->nSrc" identifier < (field_expression "pList->nSrc" identifier -> field_identifier)) )) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 FUN_0004b39c(undefined4 *param_1,int *param_2)\n\n{\n  int iVar1;\n  code *pcVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int *piVar6;\n  code *pcVar7;\n  code *pcVar8;\n  \n  uVar5 = *(undefined4 *)*param_1;\n  pcVar8 = (code *)(PTR_LAB_000f52ec + -0x60c4);\n  iVar1 = (*pcVar8)(uVar5,param_1[3]);\n  if ((param_2 != (int *)0x0) && (piVar6 = param_2 + 2, 0 < *param_2)) {\n    iVar4 = 0;\n    pcVar2 = (code *)(PTR_LAB_000f530c + -0x4ed0);\n    pcVar7 = (code *)(PTR_LAB_000f52ec + -0x7728);\n    do {\n      if (*(char *)(param_1 + 2) == '\0') {\n        if (piVar6[1] != 0) {\n          iVar3 = (*pcVar8)(uVar5);\n          if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }\n          if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }\n        }\n        iVar3 = param_1[1];\n        piVar6[1] = 0;\n        *piVar6 = iVar3;\n        *(byte *)((int)piVar6 + 0x25) = *(byte *)((int)piVar6 + 0x25) & 0xfd | 2;\n      }\n      iVar3 = FUN_0004b204(param_1,piVar6[5]);\n      if (((iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)) ||\n         (((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)))) {\n        return 1;\n      }\n      iVar4 = iVar4 + 1;\n      piVar6 = piVar6 + 0x12;\n    } while (iVar4 < *param_2);\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0004b39c(undefined4 *param_1,int *param_2)\n\n{\n  int iVar1;\n  code *pcVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int *piVar6;\n  code *pcVar7;\n  code *pcVar8;\n  \n  uVar5 = *(undefined4 *)*param_1;\n  pcVar8 = (code *)(PTR_LAB_000f52ec + -0x60c4);\n  iVar1 = (*pcVar8)(uVar5,param_1[3]);\n  if ((param_2 != (int *)0x0) && (piVar6 = param_2 + 2, 0 < *param_2)) {\n    iVar4 = 0;\n    pcVar2 = (code *)(PTR_LAB_000f530c + -0x4ed0);\n    pcVar7 = (code *)(PTR_LAB_000f52ec + -0x7728);\n    do {\n      if (*(char *)(param_1 + 2) == '\0') {\n        if (piVar6[1] != 0) {\n          iVar3 = (*pcVar8)(uVar5);\n          if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }\n          if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }\n        }\n        iVar3 = param_1[1];\n        piVar6[1] = 0;\n        *piVar6 = iVar3;\n        *(byte *)((int)piVar6 + 0x25) = *(byte *)((int)piVar6 + 0x25) & 0xfd | 2;\n      }\n      iVar3 = FUN_0004b204(param_1,piVar6[5]);\n      if (((iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)) ||\n         (((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)))) {\n        return 1;\n      }\n      iVar4 = iVar4 + 1;\n      piVar6 = piVar6 + 0x12;\n    } while (iVar4 < *param_2);\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0004b39c(undefined4 *param_1,int *param_2)" identifier (parameter_list "(undefined4 *param_1,int *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  code *pcVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int *piVar6;\n  code *pcVar7;\n  code *pcVar8;\n  \n  uVar5 = *(undefined4 *)*param_1;\n  pcVar8 = (code *)(PTR_LAB_000f52ec + -0x60c4);\n  iVar1 = (*pcVar8)(uVar5,param_1[3]);\n  if ((param_2 != (int *)0x0) && (piVar6 = param_2 + 2, 0 < *param_2)) {\n    iVar4 = 0;\n    pcVar2 = (code *)(PTR_LAB_000f530c + -0x4ed0);\n    pcVar7 = (code *)(PTR_LAB_000f52ec + -0x7728);\n    do {\n      if (*(char *)(param_1 + 2) == '\0') {\n        if (piVar6[1] != 0) {\n          iVar3 = (*pcVar8)(uVar5);\n          if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }\n          if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }\n        }\n        iVar3 = param_1[1];\n        piVar6[1] = 0;\n        *piVar6 = iVar3;\n        *(byte *)((int)piVar6 + 0x25) = *(byte *)((int)piVar6 + 0x25) & 0xfd | 2;\n      }\n      iVar3 = FUN_0004b204(param_1,piVar6[5]);\n      if (((iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)) ||\n         (((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)))) {\n        return 1;\n      }\n      iVar4 = iVar4 + 1;\n      piVar6 = piVar6 + 0x12;\n    } while (iVar4 < *param_2);\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "code *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "code *pcVar7;" type_identifier (pointer_declarator "*pcVar7" * identifier) ;) (declaration "code *pcVar8;" type_identifier (pointer_declarator "*pcVar8" * identifier) ;) (expression_statement "uVar5 = *(undefined4 *)*param_1;" (assignment_expression "uVar5 = *(undefined4 *)*param_1" identifier = (pointer_expression "*(undefined4 *)*param_1" * (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)))) ;) (expression_statement "pcVar8 = (code *)(PTR_LAB_000f52ec + -0x60c4);" (assignment_expression "pcVar8 = (code *)(PTR_LAB_000f52ec + -0x60c4)" identifier = (cast_expression "(code *)(PTR_LAB_000f52ec + -0x60c4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52ec + -0x60c4)" ( (binary_expression "PTR_LAB_000f52ec + -0x60c4" identifier + number_literal) )))) ;) (expression_statement "iVar1 = (*pcVar8)(uVar5,param_1[3]);" (assignment_expression "iVar1 = (*pcVar8)(uVar5,param_1[3])" identifier = (call_expression "(*pcVar8)(uVar5,param_1[3])" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "(uVar5,param_1[3])" ( identifier , (subscript_expression "param_1[3]" identifier [ number_literal ]) )))) ;) (if_statement "if ((param_2 != (int *)0x0) && (piVar6 = param_2 + 2, 0 < *param_2)) {\n    iVar4 = 0;\n    pcVar2 = (code *)(PTR_LAB_000f530c + -0x4ed0);\n    pcVar7 = (code *)(PTR_LAB_000f52ec + -0x7728);\n    do {\n      if (*(char *)(param_1 + 2) == '\0') {\n        if (piVar6[1] != 0) {\n          iVar3 = (*pcVar8)(uVar5);\n          if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }\n          if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }\n        }\n        iVar3 = param_1[1];\n        piVar6[1] = 0;\n        *piVar6 = iVar3;\n        *(byte *)((int)piVar6 + 0x25) = *(byte *)((int)piVar6 + 0x25) & 0xfd | 2;\n      }\n      iVar3 = FUN_0004b204(param_1,piVar6[5]);\n      if (((iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)) ||\n         (((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)))) {\n        return 1;\n      }\n      iVar4 = iVar4 + 1;\n      piVar6 = piVar6 + 0x12;\n    } while (iVar4 < *param_2);\n  }" if (parenthesized_expression "((param_2 != (int *)0x0) && (piVar6 = param_2 + 2, 0 < *param_2))" ( (binary_expression "(param_2 != (int *)0x0) && (piVar6 = param_2 + 2, 0 < *param_2)" (parenthesized_expression "(param_2 != (int *)0x0)" ( (binary_expression "param_2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(piVar6 = param_2 + 2, 0 < *param_2)" ( (comma_expression "piVar6 = param_2 + 2, 0 < *param_2" (assignment_expression "piVar6 = param_2 + 2" identifier = (binary_expression "param_2 + 2" identifier + number_literal)) , (binary_expression "0 < *param_2" number_literal < (pointer_expression "*param_2" * identifier))) ))) )) (compound_statement "{\n    iVar4 = 0;\n    pcVar2 = (code *)(PTR_LAB_000f530c + -0x4ed0);\n    pcVar7 = (code *)(PTR_LAB_000f52ec + -0x7728);\n    do {\n      if (*(char *)(param_1 + 2) == '\0') {\n        if (piVar6[1] != 0) {\n          iVar3 = (*pcVar8)(uVar5);\n          if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }\n          if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }\n        }\n        iVar3 = param_1[1];\n        piVar6[1] = 0;\n        *piVar6 = iVar3;\n        *(byte *)((int)piVar6 + 0x25) = *(byte *)((int)piVar6 + 0x25) & 0xfd | 2;\n      }\n      iVar3 = FUN_0004b204(param_1,piVar6[5]);\n      if (((iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)) ||\n         (((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)))) {\n        return 1;\n      }\n      iVar4 = iVar4 + 1;\n      piVar6 = piVar6 + 0x12;\n    } while (iVar4 < *param_2);\n  }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "pcVar2 = (code *)(PTR_LAB_000f530c + -0x4ed0);" (assignment_expression "pcVar2 = (code *)(PTR_LAB_000f530c + -0x4ed0)" identifier = (cast_expression "(code *)(PTR_LAB_000f530c + -0x4ed0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f530c + -0x4ed0)" ( (binary_expression "PTR_LAB_000f530c + -0x4ed0" identifier + number_literal) )))) ;) (expression_statement "pcVar7 = (code *)(PTR_LAB_000f52ec + -0x7728);" (assignment_expression "pcVar7 = (code *)(PTR_LAB_000f52ec + -0x7728)" identifier = (cast_expression "(code *)(PTR_LAB_000f52ec + -0x7728)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52ec + -0x7728)" ( (binary_expression "PTR_LAB_000f52ec + -0x7728" identifier + number_literal) )))) ;) (do_statement "do {\n      if (*(char *)(param_1 + 2) == '\0') {\n        if (piVar6[1] != 0) {\n          iVar3 = (*pcVar8)(uVar5);\n          if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }\n          if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }\n        }\n        iVar3 = param_1[1];\n        piVar6[1] = 0;\n        *piVar6 = iVar3;\n        *(byte *)((int)piVar6 + 0x25) = *(byte *)((int)piVar6 + 0x25) & 0xfd | 2;\n      }\n      iVar3 = FUN_0004b204(param_1,piVar6[5]);\n      if (((iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)) ||\n         (((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)))) {\n        return 1;\n      }\n      iVar4 = iVar4 + 1;\n      piVar6 = piVar6 + 0x12;\n    } while (iVar4 < *param_2);" do (compound_statement "{\n      if (*(char *)(param_1 + 2) == '\0') {\n        if (piVar6[1] != 0) {\n          iVar3 = (*pcVar8)(uVar5);\n          if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }\n          if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }\n        }\n        iVar3 = param_1[1];\n        piVar6[1] = 0;\n        *piVar6 = iVar3;\n        *(byte *)((int)piVar6 + 0x25) = *(byte *)((int)piVar6 + 0x25) & 0xfd | 2;\n      }\n      iVar3 = FUN_0004b204(param_1,piVar6[5]);\n      if (((iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)) ||\n         (((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)))) {\n        return 1;\n      }\n      iVar4 = iVar4 + 1;\n      piVar6 = piVar6 + 0x12;\n    }" { (if_statement "if (*(char *)(param_1 + 2) == '\0') {\n        if (piVar6[1] != 0) {\n          iVar3 = (*pcVar8)(uVar5);\n          if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }\n          if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }\n        }\n        iVar3 = param_1[1];\n        piVar6[1] = 0;\n        *piVar6 = iVar3;\n        *(byte *)((int)piVar6 + 0x25) = *(byte *)((int)piVar6 + 0x25) & 0xfd | 2;\n      }" if (parenthesized_expression "(*(char *)(param_1 + 2) == '\0')" ( (binary_expression "*(char *)(param_1 + 2) == '\0'" (pointer_expression "*(char *)(param_1 + 2)" * (cast_expression "(char *)(param_1 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        if (piVar6[1] != 0) {\n          iVar3 = (*pcVar8)(uVar5);\n          if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }\n          if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }\n        }\n        iVar3 = param_1[1];\n        piVar6[1] = 0;\n        *piVar6 = iVar3;\n        *(byte *)((int)piVar6 + 0x25) = *(byte *)((int)piVar6 + 0x25) & 0xfd | 2;\n      }" { (if_statement "if (piVar6[1] != 0) {\n          iVar3 = (*pcVar8)(uVar5);\n          if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }\n          if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }\n        }" if (parenthesized_expression "(piVar6[1] != 0)" ( (binary_expression "piVar6[1] != 0" (subscript_expression "piVar6[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n          iVar3 = (*pcVar8)(uVar5);\n          if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }\n          if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }\n        }" { (expression_statement "iVar3 = (*pcVar8)(uVar5);" (assignment_expression "iVar3 = (*pcVar8)(uVar5)" identifier = (call_expression "(*pcVar8)(uVar5)" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "(uVar5)" ( identifier )))) ;) (if_statement "if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }" if (parenthesized_expression "(iVar3 != iVar1)" ( (binary_expression "iVar3 != iVar1" identifier != identifier) )) (compound_statement "{\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }" { (expression_statement "FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);" (call_expression "FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1])" identifier (argument_list "(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1])" ( (pointer_expression "*param_1" * identifier) , (binary_expression "PTR_LAB_000f52cc + 0x76a4" identifier + number_literal) , (subscript_expression "param_1[4]" identifier [ number_literal ]) , (subscript_expression "param_1[5]" identifier [ number_literal ]) , (subscript_expression "piVar6[1]" identifier [ number_literal ]) ))) ;) (return_statement "return 1;" return number_literal ;) })) (if_statement "if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }" if (parenthesized_expression "(piVar6[1] != 0)" ( (binary_expression "piVar6[1] != 0" (subscript_expression "piVar6[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n            (*pcVar7)(uVar5);\n          }" { (expression_statement "(*pcVar7)(uVar5);" (call_expression "(*pcVar7)(uVar5)" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "(uVar5)" ( identifier ))) ;) })) })) (expression_statement "iVar3 = param_1[1];" (assignment_expression "iVar3 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "piVar6[1] = 0;" (assignment_expression "piVar6[1] = 0" (subscript_expression "piVar6[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*piVar6 = iVar3;" (assignment_expression "*piVar6 = iVar3" (pointer_expression "*piVar6" * identifier) = identifier) ;) (expression_statement "*(byte *)((int)piVar6 + 0x25) = *(byte *)((int)piVar6 + 0x25) & 0xfd | 2;" (assignment_expression "*(byte *)((int)piVar6 + 0x25) = *(byte *)((int)piVar6 + 0x25) & 0xfd | 2" (pointer_expression "*(byte *)((int)piVar6 + 0x25)" * (cast_expression "(byte *)((int)piVar6 + 0x25)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar6 + 0x25)" ( (binary_expression "(int)piVar6 + 0x25" (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "*(byte *)((int)piVar6 + 0x25) & 0xfd | 2" (binary_expression "*(byte *)((int)piVar6 + 0x25) & 0xfd" (pointer_expression "*(byte *)((int)piVar6 + 0x25)" * (cast_expression "(byte *)((int)piVar6 + 0x25)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar6 + 0x25)" ( (binary_expression "(int)piVar6 + 0x25" (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) | number_literal)) ;) })) (expression_statement "iVar3 = FUN_0004b204(param_1,piVar6[5]);" (assignment_expression "iVar3 = FUN_0004b204(param_1,piVar6[5])" identifier = (call_expression "FUN_0004b204(param_1,piVar6[5])" identifier (argument_list "(param_1,piVar6[5])" ( identifier , (subscript_expression "piVar6[5]" identifier [ number_literal ]) )))) ;) (if_statement "if (((iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)) ||\n         (((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)))) {\n        return 1;\n      }" if (parenthesized_expression "(((iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)) ||\n         (((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0))))" ( (binary_expression "((iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)) ||\n         (((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)))" (parenthesized_expression "((iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0))" ( (binary_expression "(iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)" (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) || (parenthesized_expression "(iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)" ( (comma_expression "iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0" (assignment_expression "iVar3 = FUN_0004afa8(param_1,piVar6[0xb])" identifier = (call_expression "FUN_0004afa8(param_1,piVar6[0xb])" identifier (argument_list "(param_1,piVar6[0xb])" ( identifier , (subscript_expression "piVar6[0xb]" identifier [ number_literal ]) )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) || (parenthesized_expression "(((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)))" ( (parenthesized_expression "((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0))" ( (binary_expression "(*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)" (binary_expression "(*(byte *)((int)piVar6 + 0x25) & 0x20) != 0" (parenthesized_expression "(*(byte *)((int)piVar6 + 0x25) & 0x20)" ( (binary_expression "*(byte *)((int)piVar6 + 0x25) & 0x20" (pointer_expression "*(byte *)((int)piVar6 + 0x25)" * (cast_expression "(byte *)((int)piVar6 + 0x25)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar6 + 0x25)" ( (binary_expression "(int)piVar6 + 0x25" (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) )) != number_literal) && (parenthesized_expression "(iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)" ( (comma_expression "iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0" (assignment_expression "iVar3 = (*pcVar2)(param_1,piVar6[0x10])" identifier = (call_expression "(*pcVar2)(param_1,piVar6[0x10])" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "(param_1,piVar6[0x10])" ( identifier , (subscript_expression "piVar6[0x10]" identifier [ number_literal ]) )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) ))) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "piVar6 = piVar6 + 0x12;" (assignment_expression "piVar6 = piVar6 + 0x12" identifier = (binary_expression "piVar6 + 0x12" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 < *param_2)" ( (binary_expression "iVar4 < *param_2" identifier < (pointer_expression "*param_2" * identifier)) )) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression LIT < (pointer_expression * IDENT))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , (binary_expression IDENT + LIT) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) ))) ;) (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))) ;) })) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) & LIT) | LIT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) )))) , (binary_expression IDENT != LIT)) ))) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) & LIT) )) != LIT) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) )))) , (binary_expression IDENT != LIT)) ))) )) ))) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * IDENT)) )) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_0004b39c(undefined4 *param_1,int *param_2)\n\n{\n  int iVar1;\n  code *pcVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int *piVar6;\n  code *pcVar7;\n  code *pcVar8;\n  \n  uVar5 = *(undefined4 *)*param_1;\n  pcVar8 = (code *)(PTR_LAB_000f52ec + -0x60c4);\n  iVar1 = (*pcVar8)(uVar5,param_1[3]);\n  if ((param_2 != (int *)0x0) && (piVar6 = param_2 + 2, 0 < *param_2)) {\n    iVar4 = 0;\n    pcVar2 = (code *)(PTR_LAB_000f530c + -0x4ed0);\n    pcVar7 = (code *)(PTR_LAB_000f52ec + -0x7728);\n    do {\n      if (*(char *)(param_1 + 2) == '\0') {\n        if (piVar6[1] != 0) {\n          iVar3 = (*pcVar8)(uVar5);\n          if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }\n          if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }\n        }\n        iVar3 = param_1[1];\n        piVar6[1] = 0;\n        *piVar6 = iVar3;\n        *(byte *)((int)piVar6 + 0x25) = *(byte *)((int)piVar6 + 0x25) & 0xfd | 2;\n      }\n      iVar3 = FUN_0004b204(param_1,piVar6[5]);\n      if (((iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)) ||\n         (((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)))) {\n        return 1;\n      }\n      iVar4 = iVar4 + 1;\n      piVar6 = piVar6 + 0x12;\n    } while (iVar4 < *param_2);\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_0004b39c(undefined4 *param_1,int *param_2)" (identifier "FUN_0004b39c") (parameter_list "(undefined4 *param_1,int *param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  code *pcVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int *piVar6;\n  code *pcVar7;\n  code *pcVar8;\n  \n  uVar5 = *(undefined4 *)*param_1;\n  pcVar8 = (code *)(PTR_LAB_000f52ec + -0x60c4);\n  iVar1 = (*pcVar8)(uVar5,param_1[3]);\n  if ((param_2 != (int *)0x0) && (piVar6 = param_2 + 2, 0 < *param_2)) {\n    iVar4 = 0;\n    pcVar2 = (code *)(PTR_LAB_000f530c + -0x4ed0);\n    pcVar7 = (code *)(PTR_LAB_000f52ec + -0x7728);\n    do {\n      if (*(char *)(param_1 + 2) == '\0') {\n        if (piVar6[1] != 0) {\n          iVar3 = (*pcVar8)(uVar5);\n          if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }\n          if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }\n        }\n        iVar3 = param_1[1];\n        piVar6[1] = 0;\n        *piVar6 = iVar3;\n        *(byte *)((int)piVar6 + 0x25) = *(byte *)((int)piVar6 + 0x25) & 0xfd | 2;\n      }\n      iVar3 = FUN_0004b204(param_1,piVar6[5]);\n      if (((iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)) ||\n         (((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)))) {\n        return 1;\n      }\n      iVar4 = iVar4 + 1;\n      piVar6 = piVar6 + 0x12;\n    } while (iVar4 < *param_2);\n  }\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "code *pcVar2;" (type_identifier "code") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "code *pcVar7;" (type_identifier "code") (pointer_declarator "*pcVar7" (* "*") (identifier "pcVar7")) (; ";")) (declaration "code *pcVar8;" (type_identifier "code") (pointer_declarator "*pcVar8" (* "*") (identifier "pcVar8")) (; ";")) (expression_statement "uVar5 = *(undefined4 *)*param_1;" (assignment_expression "uVar5 = *(undefined4 *)*param_1" (identifier "uVar5") (= "=") (pointer_expression "*(undefined4 *)*param_1" (* "*") (cast_expression "(undefined4 *)*param_1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))))) (; ";")) (expression_statement "pcVar8 = (code *)(PTR_LAB_000f52ec + -0x60c4);" (assignment_expression "pcVar8 = (code *)(PTR_LAB_000f52ec + -0x60c4)" (identifier "pcVar8") (= "=") (cast_expression "(code *)(PTR_LAB_000f52ec + -0x60c4)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f52ec + -0x60c4)" (( "(") (binary_expression "PTR_LAB_000f52ec + -0x60c4" (identifier "PTR_LAB_000f52ec") (+ "+") (number_literal "-0x60c4")) () ")")))) (; ";")) (expression_statement "iVar1 = (*pcVar8)(uVar5,param_1[3]);" (assignment_expression "iVar1 = (*pcVar8)(uVar5,param_1[3])" (identifier "iVar1") (= "=") (call_expression "(*pcVar8)(uVar5,param_1[3])" (parenthesized_expression "(*pcVar8)" (( "(") (pointer_expression "*pcVar8" (* "*") (identifier "pcVar8")) () ")")) (argument_list "(uVar5,param_1[3])" (( "(") (identifier "uVar5") (, ",") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) () ")")))) (; ";")) (if_statement "if ((param_2 != (int *)0x0) && (piVar6 = param_2 + 2, 0 < *param_2)) {\n    iVar4 = 0;\n    pcVar2 = (code *)(PTR_LAB_000f530c + -0x4ed0);\n    pcVar7 = (code *)(PTR_LAB_000f52ec + -0x7728);\n    do {\n      if (*(char *)(param_1 + 2) == '\0') {\n        if (piVar6[1] != 0) {\n          iVar3 = (*pcVar8)(uVar5);\n          if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }\n          if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }\n        }\n        iVar3 = param_1[1];\n        piVar6[1] = 0;\n        *piVar6 = iVar3;\n        *(byte *)((int)piVar6 + 0x25) = *(byte *)((int)piVar6 + 0x25) & 0xfd | 2;\n      }\n      iVar3 = FUN_0004b204(param_1,piVar6[5]);\n      if (((iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)) ||\n         (((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)))) {\n        return 1;\n      }\n      iVar4 = iVar4 + 1;\n      piVar6 = piVar6 + 0x12;\n    } while (iVar4 < *param_2);\n  }" (if "if") (parenthesized_expression "((param_2 != (int *)0x0) && (piVar6 = param_2 + 2, 0 < *param_2))" (( "(") (binary_expression "(param_2 != (int *)0x0) && (piVar6 = param_2 + 2, 0 < *param_2)" (parenthesized_expression "(param_2 != (int *)0x0)" (( "(") (binary_expression "param_2 != (int *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(piVar6 = param_2 + 2, 0 < *param_2)" (( "(") (comma_expression "piVar6 = param_2 + 2, 0 < *param_2" (assignment_expression "piVar6 = param_2 + 2" (identifier "piVar6") (= "=") (binary_expression "param_2 + 2" (identifier "param_2") (+ "+") (number_literal "2"))) (, ",") (binary_expression "0 < *param_2" (number_literal "0") (< "<") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) () ")"))) () ")")) (compound_statement "{\n    iVar4 = 0;\n    pcVar2 = (code *)(PTR_LAB_000f530c + -0x4ed0);\n    pcVar7 = (code *)(PTR_LAB_000f52ec + -0x7728);\n    do {\n      if (*(char *)(param_1 + 2) == '\0') {\n        if (piVar6[1] != 0) {\n          iVar3 = (*pcVar8)(uVar5);\n          if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }\n          if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }\n        }\n        iVar3 = param_1[1];\n        piVar6[1] = 0;\n        *piVar6 = iVar3;\n        *(byte *)((int)piVar6 + 0x25) = *(byte *)((int)piVar6 + 0x25) & 0xfd | 2;\n      }\n      iVar3 = FUN_0004b204(param_1,piVar6[5]);\n      if (((iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)) ||\n         (((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)))) {\n        return 1;\n      }\n      iVar4 = iVar4 + 1;\n      piVar6 = piVar6 + 0x12;\n    } while (iVar4 < *param_2);\n  }" ({ "{") (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar2 = (code *)(PTR_LAB_000f530c + -0x4ed0);" (assignment_expression "pcVar2 = (code *)(PTR_LAB_000f530c + -0x4ed0)" (identifier "pcVar2") (= "=") (cast_expression "(code *)(PTR_LAB_000f530c + -0x4ed0)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f530c + -0x4ed0)" (( "(") (binary_expression "PTR_LAB_000f530c + -0x4ed0" (identifier "PTR_LAB_000f530c") (+ "+") (number_literal "-0x4ed0")) () ")")))) (; ";")) (expression_statement "pcVar7 = (code *)(PTR_LAB_000f52ec + -0x7728);" (assignment_expression "pcVar7 = (code *)(PTR_LAB_000f52ec + -0x7728)" (identifier "pcVar7") (= "=") (cast_expression "(code *)(PTR_LAB_000f52ec + -0x7728)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f52ec + -0x7728)" (( "(") (binary_expression "PTR_LAB_000f52ec + -0x7728" (identifier "PTR_LAB_000f52ec") (+ "+") (number_literal "-0x7728")) () ")")))) (; ";")) (do_statement "do {\n      if (*(char *)(param_1 + 2) == '\0') {\n        if (piVar6[1] != 0) {\n          iVar3 = (*pcVar8)(uVar5);\n          if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }\n          if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }\n        }\n        iVar3 = param_1[1];\n        piVar6[1] = 0;\n        *piVar6 = iVar3;\n        *(byte *)((int)piVar6 + 0x25) = *(byte *)((int)piVar6 + 0x25) & 0xfd | 2;\n      }\n      iVar3 = FUN_0004b204(param_1,piVar6[5]);\n      if (((iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)) ||\n         (((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)))) {\n        return 1;\n      }\n      iVar4 = iVar4 + 1;\n      piVar6 = piVar6 + 0x12;\n    } while (iVar4 < *param_2);" (do "do") (compound_statement "{\n      if (*(char *)(param_1 + 2) == '\0') {\n        if (piVar6[1] != 0) {\n          iVar3 = (*pcVar8)(uVar5);\n          if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }\n          if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }\n        }\n        iVar3 = param_1[1];\n        piVar6[1] = 0;\n        *piVar6 = iVar3;\n        *(byte *)((int)piVar6 + 0x25) = *(byte *)((int)piVar6 + 0x25) & 0xfd | 2;\n      }\n      iVar3 = FUN_0004b204(param_1,piVar6[5]);\n      if (((iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)) ||\n         (((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)))) {\n        return 1;\n      }\n      iVar4 = iVar4 + 1;\n      piVar6 = piVar6 + 0x12;\n    }" ({ "{") (if_statement "if (*(char *)(param_1 + 2) == '\0') {\n        if (piVar6[1] != 0) {\n          iVar3 = (*pcVar8)(uVar5);\n          if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }\n          if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }\n        }\n        iVar3 = param_1[1];\n        piVar6[1] = 0;\n        *piVar6 = iVar3;\n        *(byte *)((int)piVar6 + 0x25) = *(byte *)((int)piVar6 + 0x25) & 0xfd | 2;\n      }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 2) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + 2) == '\0'" (pointer_expression "*(char *)(param_1 + 2)" (* "*") (cast_expression "(char *)(param_1 + 2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        if (piVar6[1] != 0) {\n          iVar3 = (*pcVar8)(uVar5);\n          if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }\n          if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }\n        }\n        iVar3 = param_1[1];\n        piVar6[1] = 0;\n        *piVar6 = iVar3;\n        *(byte *)((int)piVar6 + 0x25) = *(byte *)((int)piVar6 + 0x25) & 0xfd | 2;\n      }" ({ "{") (if_statement "if (piVar6[1] != 0) {\n          iVar3 = (*pcVar8)(uVar5);\n          if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }\n          if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }\n        }" (if "if") (parenthesized_expression "(piVar6[1] != 0)" (( "(") (binary_expression "piVar6[1] != 0" (subscript_expression "piVar6[1]" (identifier "piVar6") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          iVar3 = (*pcVar8)(uVar5);\n          if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }\n          if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }\n        }" ({ "{") (expression_statement "iVar3 = (*pcVar8)(uVar5);" (assignment_expression "iVar3 = (*pcVar8)(uVar5)" (identifier "iVar3") (= "=") (call_expression "(*pcVar8)(uVar5)" (parenthesized_expression "(*pcVar8)" (( "(") (pointer_expression "*pcVar8" (* "*") (identifier "pcVar8")) () ")")) (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")")))) (; ";")) (if_statement "if (iVar3 != iVar1) {\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }" (if "if") (parenthesized_expression "(iVar3 != iVar1)" (( "(") (binary_expression "iVar3 != iVar1" (identifier "iVar3") (!= "!=") (identifier "iVar1")) () ")")) (compound_statement "{\n            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);\n            return 1;\n          }" ({ "{") (expression_statement "FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);" (call_expression "FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1])" (identifier "FUN_00049e28") (argument_list "(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1])" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (binary_expression "PTR_LAB_000f52cc + 0x76a4" (identifier "PTR_LAB_000f52cc") (+ "+") (number_literal "0x76a4")) (, ",") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (, ",") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (, ",") (subscript_expression "piVar6[1]" (identifier "piVar6") ([ "[") (number_literal "1") (] "]")) () ")"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (if_statement "if (piVar6[1] != 0) {\n            (*pcVar7)(uVar5);\n          }" (if "if") (parenthesized_expression "(piVar6[1] != 0)" (( "(") (binary_expression "piVar6[1] != 0" (subscript_expression "piVar6[1]" (identifier "piVar6") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            (*pcVar7)(uVar5);\n          }" ({ "{") (expression_statement "(*pcVar7)(uVar5);" (call_expression "(*pcVar7)(uVar5)" (parenthesized_expression "(*pcVar7)" (( "(") (pointer_expression "*pcVar7" (* "*") (identifier "pcVar7")) () ")")) (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar3 = param_1[1];" (assignment_expression "iVar3 = param_1[1]" (identifier "iVar3") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "piVar6[1] = 0;" (assignment_expression "piVar6[1] = 0" (subscript_expression "piVar6[1]" (identifier "piVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*piVar6 = iVar3;" (assignment_expression "*piVar6 = iVar3" (pointer_expression "*piVar6" (* "*") (identifier "piVar6")) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "*(byte *)((int)piVar6 + 0x25) = *(byte *)((int)piVar6 + 0x25) & 0xfd | 2;" (assignment_expression "*(byte *)((int)piVar6 + 0x25) = *(byte *)((int)piVar6 + 0x25) & 0xfd | 2" (pointer_expression "*(byte *)((int)piVar6 + 0x25)" (* "*") (cast_expression "(byte *)((int)piVar6 + 0x25)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar6 + 0x25)" (( "(") (binary_expression "(int)piVar6 + 0x25" (cast_expression "(int)piVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar6")) (+ "+") (number_literal "0x25")) () ")")))) (= "=") (binary_expression "*(byte *)((int)piVar6 + 0x25) & 0xfd | 2" (binary_expression "*(byte *)((int)piVar6 + 0x25) & 0xfd" (pointer_expression "*(byte *)((int)piVar6 + 0x25)" (* "*") (cast_expression "(byte *)((int)piVar6 + 0x25)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar6 + 0x25)" (( "(") (binary_expression "(int)piVar6 + 0x25" (cast_expression "(int)piVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar6")) (+ "+") (number_literal "0x25")) () ")")))) (& "&") (number_literal "0xfd")) (| "|") (number_literal "2"))) (; ";")) (} "}"))) (expression_statement "iVar3 = FUN_0004b204(param_1,piVar6[5]);" (assignment_expression "iVar3 = FUN_0004b204(param_1,piVar6[5])" (identifier "iVar3") (= "=") (call_expression "FUN_0004b204(param_1,piVar6[5])" (identifier "FUN_0004b204") (argument_list "(param_1,piVar6[5])" (( "(") (identifier "param_1") (, ",") (subscript_expression "piVar6[5]" (identifier "piVar6") ([ "[") (number_literal "5") (] "]")) () ")")))) (; ";")) (if_statement "if (((iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)) ||\n         (((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)))) {\n        return 1;\n      }" (if "if") (parenthesized_expression "(((iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)) ||\n         (((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0))))" (( "(") (binary_expression "((iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)) ||\n         (((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)))" (parenthesized_expression "((iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0))" (( "(") (binary_expression "(iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)" (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)" (( "(") (comma_expression "iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0" (assignment_expression "iVar3 = FUN_0004afa8(param_1,piVar6[0xb])" (identifier "iVar3") (= "=") (call_expression "FUN_0004afa8(param_1,piVar6[0xb])" (identifier "FUN_0004afa8") (argument_list "(param_1,piVar6[0xb])" (( "(") (identifier "param_1") (, ",") (subscript_expression "piVar6[0xb]" (identifier "piVar6") ([ "[") (number_literal "0xb") (] "]")) () ")")))) (, ",") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)))" (( "(") (parenthesized_expression "((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0))" (( "(") (binary_expression "(*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&\n          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)" (binary_expression "(*(byte *)((int)piVar6 + 0x25) & 0x20) != 0" (parenthesized_expression "(*(byte *)((int)piVar6 + 0x25) & 0x20)" (( "(") (binary_expression "*(byte *)((int)piVar6 + 0x25) & 0x20" (pointer_expression "*(byte *)((int)piVar6 + 0x25)" (* "*") (cast_expression "(byte *)((int)piVar6 + 0x25)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar6 + 0x25)" (( "(") (binary_expression "(int)piVar6 + 0x25" (cast_expression "(int)piVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar6")) (+ "+") (number_literal "0x25")) () ")")))) (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) (&& "&&") (parenthesized_expression "(iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)" (( "(") (comma_expression "iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0" (assignment_expression "iVar3 = (*pcVar2)(param_1,piVar6[0x10])" (identifier "iVar3") (= "=") (call_expression "(*pcVar2)(param_1,piVar6[0x10])" (parenthesized_expression "(*pcVar2)" (( "(") (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2")) () ")")) (argument_list "(param_1,piVar6[0x10])" (( "(") (identifier "param_1") (, ",") (subscript_expression "piVar6[0x10]" (identifier "piVar6") ([ "[") (number_literal "0x10") (] "]")) () ")")))) (, ",") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0"))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n        return 1;\n      }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar6 = piVar6 + 0x12;" (assignment_expression "piVar6 = piVar6 + 0x12" (identifier "piVar6") (= "=") (binary_expression "piVar6 + 0x12" (identifier "piVar6") (+ "+") (number_literal "0x12"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 < *param_2)" (( "(") (binary_expression "iVar4 < *param_2" (identifier "iVar4") (< "<") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) () ")")) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (subscript_expression argument: (identifier) index: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (number_literal) right: (pointer_expression argument: (identifier))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (binary_expression left: (identifier) right: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal))))) (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier)))))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (subscript_expression argument: (identifier) index: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (subscript_expression argument: (identifier) index: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) right: (number_literal)) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (subscript_expression argument: (identifier) index: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal))))))))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (identifier))))))) (return_statement (number_literal)))))

undefined4 MASKED(undefined4 *param_1,int *param_2)

{
  int iVar1;
  code *pcVar2;
  int iVar3;
  int iVar4;
  undefined4 uVar5;
  int *piVar6;
  code *pcVar7;
  code *pcVar8;
  
  uVar5 = *(undefined4 *)*param_1;
  pcVar8 = (code *)(PTR_LAB_000f52ec + -0x60c4);
  iVar1 = (*pcVar8)(uVar5,param_1[3]);
  if ((param_2 != (int *)0x0) && (piVar6 = param_2 + 2, 0 < *param_2)) {
    iVar4 = 0;
    pcVar2 = (code *)(PTR_LAB_000f530c + -0x4ed0);
    pcVar7 = (code *)(PTR_LAB_000f52ec + -0x7728);
    do {
      if (*(char *)(param_1 + 2) == '\0') {
        if (piVar6[1] != 0) {
          iVar3 = (*pcVar8)(uVar5);
          if (iVar3 != iVar1) {
            FUN_00049e28(*param_1,PTR_LAB_000f52cc + 0x76a4,param_1[4],param_1[5],piVar6[1]);
            return 1;
          }
          if (piVar6[1] != 0) {
            (*pcVar7)(uVar5);
          }
        }
        iVar3 = param_1[1];
        piVar6[1] = 0;
        *piVar6 = iVar3;
        *(byte *)((int)piVar6 + 0x25) = *(byte *)((int)piVar6 + 0x25) & 0xfd | 2;
      }
      iVar3 = FUN_0004b204(param_1,piVar6[5]);
      if (((iVar3 != 0) || (iVar3 = FUN_0004afa8(param_1,piVar6[0xb]), iVar3 != 0)) ||
         (((*(byte *)((int)piVar6 + 0x25) & 0x20) != 0 &&
          (iVar3 = (*pcVar2)(param_1,piVar6[0x10]), iVar3 != 0)))) {
        return 1;
      }
      iVar4 = iVar4 + 1;
      piVar6 = piVar6 + 0x12;
    } while (iVar4 < *param_2);
  }
  return 0;
}

