
/* DWARF original prototype: SrcList * targetSrcList(Parse * pParse, TriggerStep * pStep,
   TriggerStep * pStep) */

SrcList * targetSrcList(Parse *pParse,TriggerStep *pStep,TriggerStep *pStep_1)

{
  SrcList *pSVar1;
  char *pcVar2;
  int iVar3;
  int iVar4;
  undefined4 uVar5;
  Db *pDVar6;
  sqlite3 *psVar7;
  code *pcVar8;
  
  psVar7 = pParse->db;
  pSVar1 = sqlite3SrcListAppend(pParse,(SrcList *)0x0,(Token *)0x0,(Token *)0x0);
  if (pSVar1 != (SrcList *)0x0) {
    iVar4 = pSVar1->nSrc;
    uVar5._0_1_ = pStep_1->op;
    uVar5._1_1_ = pStep_1->orconf;
    uVar5._2_2_ = *(undefined2 *)&pStep_1->field_0x2;
    pcVar8 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);
    pcVar2 = (char *)(*pcVar8)(psVar7,uVar5);
    pSVar1->a[iVar4 + -1].zName = pcVar2;
    if (*(int *)(*(int *)pStep + 0x14) != 0) {
      iVar4 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(psVar7);
      if (iVar4 == 0) {
        iVar3 = 0;
        pDVar6 = psVar7->aDb;
      }
      else {
        iVar3 = iVar4 << 4;
        if (iVar4 < 2) {
          return pSVar1;
        }
        pDVar6 = psVar7->aDb;
      }
      iVar4 = pSVar1->nSrc;
      pcVar2 = (char *)(*pcVar8)(psVar7,*(undefined4 *)((int)&pDVar6->zDbSName + iVar3));
      pSVar1->a[iVar4 + -1].zDatabase = pcVar2;
    }
  }
  return pSVar1;
}



int * FUN_00079b40(int *param_1,int *param_2,undefined4 *param_3)

{
  int *piVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  code *pcVar6;
  
  iVar5 = *param_1;
  piVar1 = (int *)FUN_00079974(param_1,0,0,0);
  if (piVar1 != (int *)0x0) {
    iVar3 = *piVar1;
    pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);
    iVar2 = (*pcVar6)(iVar5,*param_3);
    piVar1[(iVar3 + -1) * 0x12 + 4] = iVar2;
    if (*(int *)(*param_2 + 0x14) != 0) {
      iVar2 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(iVar5);
      if (iVar2 == 0) {
        iVar3 = 0;
        iVar2 = *(int *)(iVar5 + 0x10);
      }
      else {
        iVar3 = iVar2 << 4;
        if (iVar2 < 2) {
          return piVar1;
        }
        iVar2 = *(int *)(iVar5 + 0x10);
      }
      iVar4 = *piVar1;
      iVar5 = (*pcVar6)(iVar5,*(undefined4 *)(iVar2 + iVar3));
      piVar1[(iVar4 + -1) * 0x12 + 3] = iVar5;
    }
  }
  return piVar1;
}


lui gp,0xf
addiu gp,gp,-0x6590
addu gp,gp,t9
addiu sp,sp,-0x30
lw t9,-0x7e9c(gp)
or a3,zero,zero
sw s3,0x24(sp)
addiu t9,t9,-0x668c
sw s2,0x20(sp)
or s3,a2,zero
or s2,a1,zero
sw gp,0x10(sp)
or a2,zero,zero
sw s0,0x18(sp)
or a1,zero,zero
sw ra,0x2c(sp)
sw s4,0x28(sp)
sw s1,0x1c(sp)
bal 0x00079974
_lw s1,0x0(a0)
lw gp,0x10(sp)
beq v0,zero,0x00079c30
_or s0,v0,zero
lw s4,-0x7ed8(gp)
or a0,s1,zero
lw v1,0x0(v0)
lw a1,0x0(s3)
addiu s4,s4,-0x23a0
or t9,s4,zero
jalr t9
_addiu s3,v1,-0x1
sll v1,s3,0x3
lw gp,0x10(sp)
addu v1,v1,s3
sll v1,v1,0x3
addu v1,s0,v1
sw v0,0x10(v1)
lw v0,0x0(s2)
lw a1,0x14(v0)
beq a1,zero,0x00079c30
_lw t9,-0x7ef0(gp)
addiu t9,t9,-0x65f0
jalr t9
_or a0,s1,zero
bne v0,zero,0x00079c54
_slti v1,v0,0x2
or v0,zero,zero
lw a1,0x10(s1)
or a0,s1,zero
lw v1,0x0(s0)
or t9,s4,zero
addu v0,a1,v0
addiu s1,v1,-0x1
jalr t9
_lw a1,0x0(v0)
sll v1,s1,0x3
addu v1,v1,s1
sll v1,v1,0x3
addu v1,s0,v1
sw v0,0xc(v1)
lw ra,0x2c(sp)
or v0,s0,zero
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x30
bne v1,zero,0x00079c30
_sll v0,v0,0x4
b 0x00079c00
_lw a1,0x10(s1)
(translation_unit "int * FUN_00079b40(int *param_1,int *param_2,undefined4 *param_3)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  code *pcVar6;\n  \n  iVar5 = *param_1;\n  piVar1 = (int *)FUN_00079974(param_1,0,0,0);\n  if (piVar1 != (int *)0x0) {\n    iVar3 = *piVar1;\n    pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n    iVar2 = (*pcVar6)(iVar5,*param_3);\n    piVar1[(iVar3 + -1) * 0x12 + 4] = iVar2;\n    if (*(int *)(*param_2 + 0x14) != 0) {\n      iVar2 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(iVar5);\n      if (iVar2 == 0) {\n        iVar3 = 0;\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      else {\n        iVar3 = iVar2 << 4;\n        if (iVar2 < 2) {\n          return piVar1;\n        }\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      iVar4 = *piVar1;\n      iVar5 = (*pcVar6)(iVar5,*(undefined4 *)(iVar2 + iVar3));\n      piVar1[(iVar4 + -1) * 0x12 + 3] = iVar5;\n    }\n  }\n  return piVar1;\n}\n\n" (function_definition "int * FUN_00079b40(int *param_1,int *param_2,undefined4 *param_3)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  code *pcVar6;\n  \n  iVar5 = *param_1;\n  piVar1 = (int *)FUN_00079974(param_1,0,0,0);\n  if (piVar1 != (int *)0x0) {\n    iVar3 = *piVar1;\n    pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n    iVar2 = (*pcVar6)(iVar5,*param_3);\n    piVar1[(iVar3 + -1) * 0x12 + 4] = iVar2;\n    if (*(int *)(*param_2 + 0x14) != 0) {\n      iVar2 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(iVar5);\n      if (iVar2 == 0) {\n        iVar3 = 0;\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      else {\n        iVar3 = iVar2 << 4;\n        if (iVar2 < 2) {\n          return piVar1;\n        }\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      iVar4 = *piVar1;\n      iVar5 = (*pcVar6)(iVar5,*(undefined4 *)(iVar2 + iVar3));\n      piVar1[(iVar4 + -1) * 0x12 + 3] = iVar5;\n    }\n  }\n  return piVar1;\n}" primitive_type (pointer_declarator "* FUN_00079b40(int *param_1,int *param_2,undefined4 *param_3)" * (function_declarator "FUN_00079b40(int *param_1,int *param_2,undefined4 *param_3)" identifier (parameter_list "(int *param_1,int *param_2,undefined4 *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  code *pcVar6;\n  \n  iVar5 = *param_1;\n  piVar1 = (int *)FUN_00079974(param_1,0,0,0);\n  if (piVar1 != (int *)0x0) {\n    iVar3 = *piVar1;\n    pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n    iVar2 = (*pcVar6)(iVar5,*param_3);\n    piVar1[(iVar3 + -1) * 0x12 + 4] = iVar2;\n    if (*(int *)(*param_2 + 0x14) != 0) {\n      iVar2 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(iVar5);\n      if (iVar2 == 0) {\n        iVar3 = 0;\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      else {\n        iVar3 = iVar2 << 4;\n        if (iVar2 < 2) {\n          return piVar1;\n        }\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      iVar4 = *piVar1;\n      iVar5 = (*pcVar6)(iVar5,*(undefined4 *)(iVar2 + iVar3));\n      piVar1[(iVar4 + -1) * 0x12 + 3] = iVar5;\n    }\n  }\n  return piVar1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "code *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (expression_statement "iVar5 = *param_1;" (assignment_expression "iVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "piVar1 = (int *)FUN_00079974(param_1,0,0,0);" (assignment_expression "piVar1 = (int *)FUN_00079974(param_1,0,0,0)" identifier = (cast_expression "(int *)FUN_00079974(param_1,0,0,0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00079974(param_1,0,0,0)" identifier (argument_list "(param_1,0,0,0)" ( identifier , number_literal , number_literal , number_literal ))))) ;) (if_statement "if (piVar1 != (int *)0x0) {\n    iVar3 = *piVar1;\n    pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n    iVar2 = (*pcVar6)(iVar5,*param_3);\n    piVar1[(iVar3 + -1) * 0x12 + 4] = iVar2;\n    if (*(int *)(*param_2 + 0x14) != 0) {\n      iVar2 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(iVar5);\n      if (iVar2 == 0) {\n        iVar3 = 0;\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      else {\n        iVar3 = iVar2 << 4;\n        if (iVar2 < 2) {\n          return piVar1;\n        }\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      iVar4 = *piVar1;\n      iVar5 = (*pcVar6)(iVar5,*(undefined4 *)(iVar2 + iVar3));\n      piVar1[(iVar4 + -1) * 0x12 + 3] = iVar5;\n    }\n  }" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar3 = *piVar1;\n    pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n    iVar2 = (*pcVar6)(iVar5,*param_3);\n    piVar1[(iVar3 + -1) * 0x12 + 4] = iVar2;\n    if (*(int *)(*param_2 + 0x14) != 0) {\n      iVar2 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(iVar5);\n      if (iVar2 == 0) {\n        iVar3 = 0;\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      else {\n        iVar3 = iVar2 << 4;\n        if (iVar2 < 2) {\n          return piVar1;\n        }\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      iVar4 = *piVar1;\n      iVar5 = (*pcVar6)(iVar5,*(undefined4 *)(iVar2 + iVar3));\n      piVar1[(iVar4 + -1) * 0x12 + 3] = iVar5;\n    }\n  }" { (expression_statement "iVar3 = *piVar1;" (assignment_expression "iVar3 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (expression_statement "pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);" (assignment_expression "pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0)" identifier = (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x23a0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x23a0)" ( (binary_expression "PTR_LAB_0015b6d8 + -0x23a0" identifier + number_literal) )))) ;) (expression_statement "iVar2 = (*pcVar6)(iVar5,*param_3);" (assignment_expression "iVar2 = (*pcVar6)(iVar5,*param_3)" identifier = (call_expression "(*pcVar6)(iVar5,*param_3)" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(iVar5,*param_3)" ( identifier , (pointer_expression "*param_3" * identifier) )))) ;) (expression_statement "piVar1[(iVar3 + -1) * 0x12 + 4] = iVar2;" (assignment_expression "piVar1[(iVar3 + -1) * 0x12 + 4] = iVar2" (subscript_expression "piVar1[(iVar3 + -1) * 0x12 + 4]" identifier [ (binary_expression "(iVar3 + -1) * 0x12 + 4" (binary_expression "(iVar3 + -1) * 0x12" (parenthesized_expression "(iVar3 + -1)" ( (binary_expression "iVar3 + -1" identifier + number_literal) )) * number_literal) + number_literal) ]) = identifier) ;) (if_statement "if (*(int *)(*param_2 + 0x14) != 0) {\n      iVar2 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(iVar5);\n      if (iVar2 == 0) {\n        iVar3 = 0;\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      else {\n        iVar3 = iVar2 << 4;\n        if (iVar2 < 2) {\n          return piVar1;\n        }\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      iVar4 = *piVar1;\n      iVar5 = (*pcVar6)(iVar5,*(undefined4 *)(iVar2 + iVar3));\n      piVar1[(iVar4 + -1) * 0x12 + 3] = iVar5;\n    }" if (parenthesized_expression "(*(int *)(*param_2 + 0x14) != 0)" ( (binary_expression "*(int *)(*param_2 + 0x14) != 0" (pointer_expression "*(int *)(*param_2 + 0x14)" * (cast_expression "(int *)(*param_2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + 0x14)" ( (binary_expression "*param_2 + 0x14" (pointer_expression "*param_2" * identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n      iVar2 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(iVar5);\n      if (iVar2 == 0) {\n        iVar3 = 0;\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      else {\n        iVar3 = iVar2 << 4;\n        if (iVar2 < 2) {\n          return piVar1;\n        }\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      iVar4 = *piVar1;\n      iVar5 = (*pcVar6)(iVar5,*(undefined4 *)(iVar2 + iVar3));\n      piVar1[(iVar4 + -1) * 0x12 + 3] = iVar5;\n    }" { (expression_statement "iVar2 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(iVar5);" (assignment_expression "iVar2 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(iVar5)" identifier = (call_expression "(*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(iVar5)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6c0 + -0x65f0))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6c0 + -0x65f0)" * (cast_expression "(code *)(PTR_LAB_0015b6c0 + -0x65f0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6c0 + -0x65f0)" ( (binary_expression "PTR_LAB_0015b6c0 + -0x65f0" identifier + number_literal) )))) )) (argument_list "(iVar5)" ( identifier )))) ;) (if_statement "if (iVar2 == 0) {\n        iVar3 = 0;\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      else {\n        iVar3 = iVar2 << 4;\n        if (iVar2 < 2) {\n          return piVar1;\n        }\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar3 = 0;\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "iVar2 = *(int *)(iVar5 + 0x10);" (assignment_expression "iVar2 = *(int *)(iVar5 + 0x10)" identifier = (pointer_expression "*(int *)(iVar5 + 0x10)" * (cast_expression "(int *)(iVar5 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) ))))) ;) }) (else_clause "else {\n        iVar3 = iVar2 << 4;\n        if (iVar2 < 2) {\n          return piVar1;\n        }\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }" else (compound_statement "{\n        iVar3 = iVar2 << 4;\n        if (iVar2 < 2) {\n          return piVar1;\n        }\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }" { (expression_statement "iVar3 = iVar2 << 4;" (assignment_expression "iVar3 = iVar2 << 4" identifier = (binary_expression "iVar2 << 4" identifier << number_literal)) ;) (if_statement "if (iVar2 < 2) {\n          return piVar1;\n        }" if (parenthesized_expression "(iVar2 < 2)" ( (binary_expression "iVar2 < 2" identifier < number_literal) )) (compound_statement "{\n          return piVar1;\n        }" { (return_statement "return piVar1;" return identifier ;) })) (expression_statement "iVar2 = *(int *)(iVar5 + 0x10);" (assignment_expression "iVar2 = *(int *)(iVar5 + 0x10)" identifier = (pointer_expression "*(int *)(iVar5 + 0x10)" * (cast_expression "(int *)(iVar5 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) ))))) ;) }))) (expression_statement "iVar4 = *piVar1;" (assignment_expression "iVar4 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (expression_statement "iVar5 = (*pcVar6)(iVar5,*(undefined4 *)(iVar2 + iVar3));" (assignment_expression "iVar5 = (*pcVar6)(iVar5,*(undefined4 *)(iVar2 + iVar3))" identifier = (call_expression "(*pcVar6)(iVar5,*(undefined4 *)(iVar2 + iVar3))" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(iVar5,*(undefined4 *)(iVar2 + iVar3))" ( identifier , (pointer_expression "*(undefined4 *)(iVar2 + iVar3)" * (cast_expression "(undefined4 *)(iVar2 + iVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar3)" ( (binary_expression "iVar2 + iVar3" identifier + identifier) )))) )))) ;) (expression_statement "piVar1[(iVar4 + -1) * 0x12 + 3] = iVar5;" (assignment_expression "piVar1[(iVar4 + -1) * 0x12 + 3] = iVar5" (subscript_expression "piVar1[(iVar4 + -1) * 0x12 + 3]" identifier [ (binary_expression "(iVar4 + -1) * 0x12 + 3" (binary_expression "(iVar4 + -1) * 0x12" (parenthesized_expression "(iVar4 + -1)" ( (binary_expression "iVar4 + -1" identifier + number_literal) )) * number_literal) + number_literal) ]) = identifier) ;) })) })) (return_statement "return piVar1;" return identifier ;) })))
(translation_unit "/* DWARF original prototype: SrcList * targetSrcList(Parse * pParse, TriggerStep * pStep,\n   TriggerStep * pStep) */\n\nSrcList * targetSrcList(Parse *pParse,TriggerStep *pStep,TriggerStep *pStep_1)\n\n{\n  SrcList *pSVar1;\n  char *pcVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  Db *pDVar6;\n  sqlite3 *psVar7;\n  code *pcVar8;\n  \n  psVar7 = pParse->db;\n  pSVar1 = sqlite3SrcListAppend(pParse,(SrcList *)0x0,(Token *)0x0,(Token *)0x0);\n  if (pSVar1 != (SrcList *)0x0) {\n    iVar4 = pSVar1->nSrc;\n    uVar5._0_1_ = pStep_1->op;\n    uVar5._1_1_ = pStep_1->orconf;\n    uVar5._2_2_ = *(undefined2 *)&pStep_1->field_0x2;\n    pcVar8 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n    pcVar2 = (char *)(*pcVar8)(psVar7,uVar5);\n    pSVar1->a[iVar4 + -1].zName = pcVar2;\n    if (*(int *)(*(int *)pStep + 0x14) != 0) {\n      iVar4 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(psVar7);\n      if (iVar4 == 0) {\n        iVar3 = 0;\n        pDVar6 = psVar7->aDb;\n      }\n      else {\n        iVar3 = iVar4 << 4;\n        if (iVar4 < 2) {\n          return pSVar1;\n        }\n        pDVar6 = psVar7->aDb;\n      }\n      iVar4 = pSVar1->nSrc;\n      pcVar2 = (char *)(*pcVar8)(psVar7,*(undefined4 *)((int)&pDVar6->zDbSName + iVar3));\n      pSVar1->a[iVar4 + -1].zDatabase = pcVar2;\n    }\n  }\n  return pSVar1;\n}\n\n" comment (function_definition "SrcList * targetSrcList(Parse *pParse,TriggerStep *pStep,TriggerStep *pStep_1)\n\n{\n  SrcList *pSVar1;\n  char *pcVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  Db *pDVar6;\n  sqlite3 *psVar7;\n  code *pcVar8;\n  \n  psVar7 = pParse->db;\n  pSVar1 = sqlite3SrcListAppend(pParse,(SrcList *)0x0,(Token *)0x0,(Token *)0x0);\n  if (pSVar1 != (SrcList *)0x0) {\n    iVar4 = pSVar1->nSrc;\n    uVar5._0_1_ = pStep_1->op;\n    uVar5._1_1_ = pStep_1->orconf;\n    uVar5._2_2_ = *(undefined2 *)&pStep_1->field_0x2;\n    pcVar8 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n    pcVar2 = (char *)(*pcVar8)(psVar7,uVar5);\n    pSVar1->a[iVar4 + -1].zName = pcVar2;\n    if (*(int *)(*(int *)pStep + 0x14) != 0) {\n      iVar4 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(psVar7);\n      if (iVar4 == 0) {\n        iVar3 = 0;\n        pDVar6 = psVar7->aDb;\n      }\n      else {\n        iVar3 = iVar4 << 4;\n        if (iVar4 < 2) {\n          return pSVar1;\n        }\n        pDVar6 = psVar7->aDb;\n      }\n      iVar4 = pSVar1->nSrc;\n      pcVar2 = (char *)(*pcVar8)(psVar7,*(undefined4 *)((int)&pDVar6->zDbSName + iVar3));\n      pSVar1->a[iVar4 + -1].zDatabase = pcVar2;\n    }\n  }\n  return pSVar1;\n}" type_identifier (pointer_declarator "* targetSrcList(Parse *pParse,TriggerStep *pStep,TriggerStep *pStep_1)" * (function_declarator "targetSrcList(Parse *pParse,TriggerStep *pStep,TriggerStep *pStep_1)" identifier (parameter_list "(Parse *pParse,TriggerStep *pStep,TriggerStep *pStep_1)" ( (parameter_declaration "Parse *pParse" type_identifier (pointer_declarator "*pParse" * identifier)) , (parameter_declaration "TriggerStep *pStep" type_identifier (pointer_declarator "*pStep" * identifier)) , (parameter_declaration "TriggerStep *pStep_1" type_identifier (pointer_declarator "*pStep_1" * identifier)) )))) (compound_statement "{\n  SrcList *pSVar1;\n  char *pcVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  Db *pDVar6;\n  sqlite3 *psVar7;\n  code *pcVar8;\n  \n  psVar7 = pParse->db;\n  pSVar1 = sqlite3SrcListAppend(pParse,(SrcList *)0x0,(Token *)0x0,(Token *)0x0);\n  if (pSVar1 != (SrcList *)0x0) {\n    iVar4 = pSVar1->nSrc;\n    uVar5._0_1_ = pStep_1->op;\n    uVar5._1_1_ = pStep_1->orconf;\n    uVar5._2_2_ = *(undefined2 *)&pStep_1->field_0x2;\n    pcVar8 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n    pcVar2 = (char *)(*pcVar8)(psVar7,uVar5);\n    pSVar1->a[iVar4 + -1].zName = pcVar2;\n    if (*(int *)(*(int *)pStep + 0x14) != 0) {\n      iVar4 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(psVar7);\n      if (iVar4 == 0) {\n        iVar3 = 0;\n        pDVar6 = psVar7->aDb;\n      }\n      else {\n        iVar3 = iVar4 << 4;\n        if (iVar4 < 2) {\n          return pSVar1;\n        }\n        pDVar6 = psVar7->aDb;\n      }\n      iVar4 = pSVar1->nSrc;\n      pcVar2 = (char *)(*pcVar8)(psVar7,*(undefined4 *)((int)&pDVar6->zDbSName + iVar3));\n      pSVar1->a[iVar4 + -1].zDatabase = pcVar2;\n    }\n  }\n  return pSVar1;\n}" { (declaration "SrcList *pSVar1;" type_identifier (pointer_declarator "*pSVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "Db *pDVar6;" type_identifier (pointer_declarator "*pDVar6" * identifier) ;) (declaration "sqlite3 *psVar7;" type_identifier (pointer_declarator "*psVar7" * identifier) ;) (declaration "code *pcVar8;" type_identifier (pointer_declarator "*pcVar8" * identifier) ;) (expression_statement "psVar7 = pParse->db;" (assignment_expression "psVar7 = pParse->db" identifier = (field_expression "pParse->db" identifier -> field_identifier)) ;) (expression_statement "pSVar1 = sqlite3SrcListAppend(pParse,(SrcList *)0x0,(Token *)0x0,(Token *)0x0);" (assignment_expression "pSVar1 = sqlite3SrcListAppend(pParse,(SrcList *)0x0,(Token *)0x0,(Token *)0x0)" identifier = (call_expression "sqlite3SrcListAppend(pParse,(SrcList *)0x0,(Token *)0x0,(Token *)0x0)" identifier (argument_list "(pParse,(SrcList *)0x0,(Token *)0x0,(Token *)0x0)" ( identifier , (cast_expression "(SrcList *)0x0" ( (type_descriptor "SrcList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(Token *)0x0" ( (type_descriptor "Token *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(Token *)0x0" ( (type_descriptor "Token *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (if_statement "if (pSVar1 != (SrcList *)0x0) {\n    iVar4 = pSVar1->nSrc;\n    uVar5._0_1_ = pStep_1->op;\n    uVar5._1_1_ = pStep_1->orconf;\n    uVar5._2_2_ = *(undefined2 *)&pStep_1->field_0x2;\n    pcVar8 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n    pcVar2 = (char *)(*pcVar8)(psVar7,uVar5);\n    pSVar1->a[iVar4 + -1].zName = pcVar2;\n    if (*(int *)(*(int *)pStep + 0x14) != 0) {\n      iVar4 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(psVar7);\n      if (iVar4 == 0) {\n        iVar3 = 0;\n        pDVar6 = psVar7->aDb;\n      }\n      else {\n        iVar3 = iVar4 << 4;\n        if (iVar4 < 2) {\n          return pSVar1;\n        }\n        pDVar6 = psVar7->aDb;\n      }\n      iVar4 = pSVar1->nSrc;\n      pcVar2 = (char *)(*pcVar8)(psVar7,*(undefined4 *)((int)&pDVar6->zDbSName + iVar3));\n      pSVar1->a[iVar4 + -1].zDatabase = pcVar2;\n    }\n  }" if (parenthesized_expression "(pSVar1 != (SrcList *)0x0)" ( (binary_expression "pSVar1 != (SrcList *)0x0" identifier != (cast_expression "(SrcList *)0x0" ( (type_descriptor "SrcList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar4 = pSVar1->nSrc;\n    uVar5._0_1_ = pStep_1->op;\n    uVar5._1_1_ = pStep_1->orconf;\n    uVar5._2_2_ = *(undefined2 *)&pStep_1->field_0x2;\n    pcVar8 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n    pcVar2 = (char *)(*pcVar8)(psVar7,uVar5);\n    pSVar1->a[iVar4 + -1].zName = pcVar2;\n    if (*(int *)(*(int *)pStep + 0x14) != 0) {\n      iVar4 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(psVar7);\n      if (iVar4 == 0) {\n        iVar3 = 0;\n        pDVar6 = psVar7->aDb;\n      }\n      else {\n        iVar3 = iVar4 << 4;\n        if (iVar4 < 2) {\n          return pSVar1;\n        }\n        pDVar6 = psVar7->aDb;\n      }\n      iVar4 = pSVar1->nSrc;\n      pcVar2 = (char *)(*pcVar8)(psVar7,*(undefined4 *)((int)&pDVar6->zDbSName + iVar3));\n      pSVar1->a[iVar4 + -1].zDatabase = pcVar2;\n    }\n  }" { (expression_statement "iVar4 = pSVar1->nSrc;" (assignment_expression "iVar4 = pSVar1->nSrc" identifier = (field_expression "pSVar1->nSrc" identifier -> field_identifier)) ;) (expression_statement "uVar5._0_1_ = pStep_1->op;" (assignment_expression "uVar5._0_1_ = pStep_1->op" (field_expression "uVar5._0_1_" identifier . field_identifier) = (field_expression "pStep_1->op" identifier -> field_identifier)) ;) (expression_statement "uVar5._1_1_ = pStep_1->orconf;" (assignment_expression "uVar5._1_1_ = pStep_1->orconf" (field_expression "uVar5._1_1_" identifier . field_identifier) = (field_expression "pStep_1->orconf" identifier -> field_identifier)) ;) (expression_statement "uVar5._2_2_ = *(undefined2 *)&pStep_1->field_0x2;" (assignment_expression "uVar5._2_2_ = *(undefined2 *)&pStep_1->field_0x2" (field_expression "uVar5._2_2_" identifier . field_identifier) = (pointer_expression "*(undefined2 *)&pStep_1->field_0x2" * (cast_expression "(undefined2 *)&pStep_1->field_0x2" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pStep_1->field_0x2" & (field_expression "pStep_1->field_0x2" identifier -> field_identifier))))) ;) (expression_statement "pcVar8 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);" (assignment_expression "pcVar8 = (code *)(PTR_LAB_0015b6d8 + -0x23a0)" identifier = (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x23a0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x23a0)" ( (binary_expression "PTR_LAB_0015b6d8 + -0x23a0" identifier + number_literal) )))) ;) (expression_statement "pcVar2 = (char *)(*pcVar8)(psVar7,uVar5);" (assignment_expression "pcVar2 = (char *)(*pcVar8)(psVar7,uVar5)" identifier = (cast_expression "(char *)(*pcVar8)(psVar7,uVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar8)(psVar7,uVar5)" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "(psVar7,uVar5)" ( identifier , identifier ))))) ;) (expression_statement "pSVar1->a[iVar4 + -1].zName = pcVar2;" (assignment_expression "pSVar1->a[iVar4 + -1].zName = pcVar2" (field_expression "pSVar1->a[iVar4 + -1].zName" (subscript_expression "pSVar1->a[iVar4 + -1]" (field_expression "pSVar1->a" identifier -> field_identifier) [ (binary_expression "iVar4 + -1" identifier + number_literal) ]) . field_identifier) = identifier) ;) (if_statement "if (*(int *)(*(int *)pStep + 0x14) != 0) {\n      iVar4 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(psVar7);\n      if (iVar4 == 0) {\n        iVar3 = 0;\n        pDVar6 = psVar7->aDb;\n      }\n      else {\n        iVar3 = iVar4 << 4;\n        if (iVar4 < 2) {\n          return pSVar1;\n        }\n        pDVar6 = psVar7->aDb;\n      }\n      iVar4 = pSVar1->nSrc;\n      pcVar2 = (char *)(*pcVar8)(psVar7,*(undefined4 *)((int)&pDVar6->zDbSName + iVar3));\n      pSVar1->a[iVar4 + -1].zDatabase = pcVar2;\n    }" if (parenthesized_expression "(*(int *)(*(int *)pStep + 0x14) != 0)" ( (binary_expression "*(int *)(*(int *)pStep + 0x14) != 0" (pointer_expression "*(int *)(*(int *)pStep + 0x14)" * (cast_expression "(int *)(*(int *)pStep + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)pStep + 0x14)" ( (binary_expression "*(int *)pStep + 0x14" (pointer_expression "*(int *)pStep" * (cast_expression "(int *)pStep" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) != number_literal) )) (compound_statement "{\n      iVar4 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(psVar7);\n      if (iVar4 == 0) {\n        iVar3 = 0;\n        pDVar6 = psVar7->aDb;\n      }\n      else {\n        iVar3 = iVar4 << 4;\n        if (iVar4 < 2) {\n          return pSVar1;\n        }\n        pDVar6 = psVar7->aDb;\n      }\n      iVar4 = pSVar1->nSrc;\n      pcVar2 = (char *)(*pcVar8)(psVar7,*(undefined4 *)((int)&pDVar6->zDbSName + iVar3));\n      pSVar1->a[iVar4 + -1].zDatabase = pcVar2;\n    }" { (expression_statement "iVar4 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(psVar7);" (assignment_expression "iVar4 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(psVar7)" identifier = (call_expression "(*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(psVar7)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6c0 + -0x65f0))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6c0 + -0x65f0)" * (cast_expression "(code *)(PTR_LAB_0015b6c0 + -0x65f0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6c0 + -0x65f0)" ( (binary_expression "PTR_LAB_0015b6c0 + -0x65f0" identifier + number_literal) )))) )) (argument_list "(psVar7)" ( identifier )))) ;) (if_statement "if (iVar4 == 0) {\n        iVar3 = 0;\n        pDVar6 = psVar7->aDb;\n      }\n      else {\n        iVar3 = iVar4 << 4;\n        if (iVar4 < 2) {\n          return pSVar1;\n        }\n        pDVar6 = psVar7->aDb;\n      }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar3 = 0;\n        pDVar6 = psVar7->aDb;\n      }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "pDVar6 = psVar7->aDb;" (assignment_expression "pDVar6 = psVar7->aDb" identifier = (field_expression "psVar7->aDb" identifier -> field_identifier)) ;) }) (else_clause "else {\n        iVar3 = iVar4 << 4;\n        if (iVar4 < 2) {\n          return pSVar1;\n        }\n        pDVar6 = psVar7->aDb;\n      }" else (compound_statement "{\n        iVar3 = iVar4 << 4;\n        if (iVar4 < 2) {\n          return pSVar1;\n        }\n        pDVar6 = psVar7->aDb;\n      }" { (expression_statement "iVar3 = iVar4 << 4;" (assignment_expression "iVar3 = iVar4 << 4" identifier = (binary_expression "iVar4 << 4" identifier << number_literal)) ;) (if_statement "if (iVar4 < 2) {\n          return pSVar1;\n        }" if (parenthesized_expression "(iVar4 < 2)" ( (binary_expression "iVar4 < 2" identifier < number_literal) )) (compound_statement "{\n          return pSVar1;\n        }" { (return_statement "return pSVar1;" return identifier ;) })) (expression_statement "pDVar6 = psVar7->aDb;" (assignment_expression "pDVar6 = psVar7->aDb" identifier = (field_expression "psVar7->aDb" identifier -> field_identifier)) ;) }))) (expression_statement "iVar4 = pSVar1->nSrc;" (assignment_expression "iVar4 = pSVar1->nSrc" identifier = (field_expression "pSVar1->nSrc" identifier -> field_identifier)) ;) (expression_statement "pcVar2 = (char *)(*pcVar8)(psVar7,*(undefined4 *)((int)&pDVar6->zDbSName + iVar3));" (assignment_expression "pcVar2 = (char *)(*pcVar8)(psVar7,*(undefined4 *)((int)&pDVar6->zDbSName + iVar3))" identifier = (cast_expression "(char *)(*pcVar8)(psVar7,*(undefined4 *)((int)&pDVar6->zDbSName + iVar3))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar8)(psVar7,*(undefined4 *)((int)&pDVar6->zDbSName + iVar3))" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "(psVar7,*(undefined4 *)((int)&pDVar6->zDbSName + iVar3))" ( identifier , (pointer_expression "*(undefined4 *)((int)&pDVar6->zDbSName + iVar3)" * (cast_expression "(undefined4 *)((int)&pDVar6->zDbSName + iVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pDVar6->zDbSName + iVar3)" ( (binary_expression "(int)&pDVar6->zDbSName + iVar3" (cast_expression "(int)&pDVar6->zDbSName" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pDVar6->zDbSName" & (field_expression "pDVar6->zDbSName" identifier -> field_identifier))) + identifier) )))) ))))) ;) (expression_statement "pSVar1->a[iVar4 + -1].zDatabase = pcVar2;" (assignment_expression "pSVar1->a[iVar4 + -1].zDatabase = pcVar2" (field_expression "pSVar1->a[iVar4 + -1].zDatabase" (subscript_expression "pSVar1->a[iVar4 + -1]" (field_expression "pSVar1->a" identifier -> field_identifier) [ (binary_expression "iVar4 + -1" identifier + number_literal) ]) . field_identifier) = identifier) ;) })) })) (return_statement "return pSVar1;" return identifier ;) })))
(translation_unit "int * FUN_00079b40(int *param_1,int *param_2,undefined4 *param_3)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  code *pcVar6;\n  \n  iVar5 = *param_1;\n  piVar1 = (int *)FUN_00079974(param_1,0,0,0);\n  if (piVar1 != (int *)0x0) {\n    iVar3 = *piVar1;\n    pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n    iVar2 = (*pcVar6)(iVar5,*param_3);\n    piVar1[(iVar3 + -1) * 0x12 + 4] = iVar2;\n    if (*(int *)(*param_2 + 0x14) != 0) {\n      iVar2 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(iVar5);\n      if (iVar2 == 0) {\n        iVar3 = 0;\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      else {\n        iVar3 = iVar2 << 4;\n        if (iVar2 < 2) {\n          return piVar1;\n        }\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      iVar4 = *piVar1;\n      iVar5 = (*pcVar6)(iVar5,*(undefined4 *)(iVar2 + iVar3));\n      piVar1[(iVar4 + -1) * 0x12 + 3] = iVar5;\n    }\n  }\n  return piVar1;\n}\n\n" (function_definition "int * FUN_00079b40(int *param_1,int *param_2,undefined4 *param_3)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  code *pcVar6;\n  \n  iVar5 = *param_1;\n  piVar1 = (int *)FUN_00079974(param_1,0,0,0);\n  if (piVar1 != (int *)0x0) {\n    iVar3 = *piVar1;\n    pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n    iVar2 = (*pcVar6)(iVar5,*param_3);\n    piVar1[(iVar3 + -1) * 0x12 + 4] = iVar2;\n    if (*(int *)(*param_2 + 0x14) != 0) {\n      iVar2 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(iVar5);\n      if (iVar2 == 0) {\n        iVar3 = 0;\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      else {\n        iVar3 = iVar2 << 4;\n        if (iVar2 < 2) {\n          return piVar1;\n        }\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      iVar4 = *piVar1;\n      iVar5 = (*pcVar6)(iVar5,*(undefined4 *)(iVar2 + iVar3));\n      piVar1[(iVar4 + -1) * 0x12 + 3] = iVar5;\n    }\n  }\n  return piVar1;\n}" primitive_type (pointer_declarator "* FUN_00079b40(int *param_1,int *param_2,undefined4 *param_3)" * (function_declarator "FUN_00079b40(int *param_1,int *param_2,undefined4 *param_3)" identifier (parameter_list "(int *param_1,int *param_2,undefined4 *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  code *pcVar6;\n  \n  iVar5 = *param_1;\n  piVar1 = (int *)FUN_00079974(param_1,0,0,0);\n  if (piVar1 != (int *)0x0) {\n    iVar3 = *piVar1;\n    pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n    iVar2 = (*pcVar6)(iVar5,*param_3);\n    piVar1[(iVar3 + -1) * 0x12 + 4] = iVar2;\n    if (*(int *)(*param_2 + 0x14) != 0) {\n      iVar2 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(iVar5);\n      if (iVar2 == 0) {\n        iVar3 = 0;\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      else {\n        iVar3 = iVar2 << 4;\n        if (iVar2 < 2) {\n          return piVar1;\n        }\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      iVar4 = *piVar1;\n      iVar5 = (*pcVar6)(iVar5,*(undefined4 *)(iVar2 + iVar3));\n      piVar1[(iVar4 + -1) * 0x12 + 3] = iVar5;\n    }\n  }\n  return piVar1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "code *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (expression_statement "iVar5 = *param_1;" (assignment_expression "iVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "piVar1 = (int *)FUN_00079974(param_1,0,0,0);" (assignment_expression "piVar1 = (int *)FUN_00079974(param_1,0,0,0)" identifier = (cast_expression "(int *)FUN_00079974(param_1,0,0,0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00079974(param_1,0,0,0)" identifier (argument_list "(param_1,0,0,0)" ( identifier , number_literal , number_literal , number_literal ))))) ;) (if_statement "if (piVar1 != (int *)0x0) {\n    iVar3 = *piVar1;\n    pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n    iVar2 = (*pcVar6)(iVar5,*param_3);\n    piVar1[(iVar3 + -1) * 0x12 + 4] = iVar2;\n    if (*(int *)(*param_2 + 0x14) != 0) {\n      iVar2 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(iVar5);\n      if (iVar2 == 0) {\n        iVar3 = 0;\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      else {\n        iVar3 = iVar2 << 4;\n        if (iVar2 < 2) {\n          return piVar1;\n        }\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      iVar4 = *piVar1;\n      iVar5 = (*pcVar6)(iVar5,*(undefined4 *)(iVar2 + iVar3));\n      piVar1[(iVar4 + -1) * 0x12 + 3] = iVar5;\n    }\n  }" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar3 = *piVar1;\n    pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n    iVar2 = (*pcVar6)(iVar5,*param_3);\n    piVar1[(iVar3 + -1) * 0x12 + 4] = iVar2;\n    if (*(int *)(*param_2 + 0x14) != 0) {\n      iVar2 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(iVar5);\n      if (iVar2 == 0) {\n        iVar3 = 0;\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      else {\n        iVar3 = iVar2 << 4;\n        if (iVar2 < 2) {\n          return piVar1;\n        }\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      iVar4 = *piVar1;\n      iVar5 = (*pcVar6)(iVar5,*(undefined4 *)(iVar2 + iVar3));\n      piVar1[(iVar4 + -1) * 0x12 + 3] = iVar5;\n    }\n  }" { (expression_statement "iVar3 = *piVar1;" (assignment_expression "iVar3 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (expression_statement "pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);" (assignment_expression "pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0)" identifier = (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x23a0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x23a0)" ( (binary_expression "PTR_LAB_0015b6d8 + -0x23a0" identifier + number_literal) )))) ;) (expression_statement "iVar2 = (*pcVar6)(iVar5,*param_3);" (assignment_expression "iVar2 = (*pcVar6)(iVar5,*param_3)" identifier = (call_expression "(*pcVar6)(iVar5,*param_3)" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(iVar5,*param_3)" ( identifier , (pointer_expression "*param_3" * identifier) )))) ;) (expression_statement "piVar1[(iVar3 + -1) * 0x12 + 4] = iVar2;" (assignment_expression "piVar1[(iVar3 + -1) * 0x12 + 4] = iVar2" (subscript_expression "piVar1[(iVar3 + -1) * 0x12 + 4]" identifier [ (binary_expression "(iVar3 + -1) * 0x12 + 4" (binary_expression "(iVar3 + -1) * 0x12" (parenthesized_expression "(iVar3 + -1)" ( (binary_expression "iVar3 + -1" identifier + number_literal) )) * number_literal) + number_literal) ]) = identifier) ;) (if_statement "if (*(int *)(*param_2 + 0x14) != 0) {\n      iVar2 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(iVar5);\n      if (iVar2 == 0) {\n        iVar3 = 0;\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      else {\n        iVar3 = iVar2 << 4;\n        if (iVar2 < 2) {\n          return piVar1;\n        }\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      iVar4 = *piVar1;\n      iVar5 = (*pcVar6)(iVar5,*(undefined4 *)(iVar2 + iVar3));\n      piVar1[(iVar4 + -1) * 0x12 + 3] = iVar5;\n    }" if (parenthesized_expression "(*(int *)(*param_2 + 0x14) != 0)" ( (binary_expression "*(int *)(*param_2 + 0x14) != 0" (pointer_expression "*(int *)(*param_2 + 0x14)" * (cast_expression "(int *)(*param_2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + 0x14)" ( (binary_expression "*param_2 + 0x14" (pointer_expression "*param_2" * identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n      iVar2 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(iVar5);\n      if (iVar2 == 0) {\n        iVar3 = 0;\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      else {\n        iVar3 = iVar2 << 4;\n        if (iVar2 < 2) {\n          return piVar1;\n        }\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      iVar4 = *piVar1;\n      iVar5 = (*pcVar6)(iVar5,*(undefined4 *)(iVar2 + iVar3));\n      piVar1[(iVar4 + -1) * 0x12 + 3] = iVar5;\n    }" { (expression_statement "iVar2 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(iVar5);" (assignment_expression "iVar2 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(iVar5)" identifier = (call_expression "(*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(iVar5)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6c0 + -0x65f0))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6c0 + -0x65f0)" * (cast_expression "(code *)(PTR_LAB_0015b6c0 + -0x65f0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6c0 + -0x65f0)" ( (binary_expression "PTR_LAB_0015b6c0 + -0x65f0" identifier + number_literal) )))) )) (argument_list "(iVar5)" ( identifier )))) ;) (if_statement "if (iVar2 == 0) {\n        iVar3 = 0;\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      else {\n        iVar3 = iVar2 << 4;\n        if (iVar2 < 2) {\n          return piVar1;\n        }\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar3 = 0;\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "iVar2 = *(int *)(iVar5 + 0x10);" (assignment_expression "iVar2 = *(int *)(iVar5 + 0x10)" identifier = (pointer_expression "*(int *)(iVar5 + 0x10)" * (cast_expression "(int *)(iVar5 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) ))))) ;) }) (else_clause "else {\n        iVar3 = iVar2 << 4;\n        if (iVar2 < 2) {\n          return piVar1;\n        }\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }" else (compound_statement "{\n        iVar3 = iVar2 << 4;\n        if (iVar2 < 2) {\n          return piVar1;\n        }\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }" { (expression_statement "iVar3 = iVar2 << 4;" (assignment_expression "iVar3 = iVar2 << 4" identifier = (binary_expression "iVar2 << 4" identifier << number_literal)) ;) (if_statement "if (iVar2 < 2) {\n          return piVar1;\n        }" if (parenthesized_expression "(iVar2 < 2)" ( (binary_expression "iVar2 < 2" identifier < number_literal) )) (compound_statement "{\n          return piVar1;\n        }" { (return_statement "return piVar1;" return identifier ;) })) (expression_statement "iVar2 = *(int *)(iVar5 + 0x10);" (assignment_expression "iVar2 = *(int *)(iVar5 + 0x10)" identifier = (pointer_expression "*(int *)(iVar5 + 0x10)" * (cast_expression "(int *)(iVar5 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) ))))) ;) }))) (expression_statement "iVar4 = *piVar1;" (assignment_expression "iVar4 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (expression_statement "iVar5 = (*pcVar6)(iVar5,*(undefined4 *)(iVar2 + iVar3));" (assignment_expression "iVar5 = (*pcVar6)(iVar5,*(undefined4 *)(iVar2 + iVar3))" identifier = (call_expression "(*pcVar6)(iVar5,*(undefined4 *)(iVar2 + iVar3))" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(iVar5,*(undefined4 *)(iVar2 + iVar3))" ( identifier , (pointer_expression "*(undefined4 *)(iVar2 + iVar3)" * (cast_expression "(undefined4 *)(iVar2 + iVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar3)" ( (binary_expression "iVar2 + iVar3" identifier + identifier) )))) )))) ;) (expression_statement "piVar1[(iVar4 + -1) * 0x12 + 3] = iVar5;" (assignment_expression "piVar1[(iVar4 + -1) * 0x12 + 3] = iVar5" (subscript_expression "piVar1[(iVar4 + -1) * 0x12 + 3]" identifier [ (binary_expression "(iVar4 + -1) * 0x12 + 3" (binary_expression "(iVar4 + -1) * 0x12" (parenthesized_expression "(iVar4 + -1)" ( (binary_expression "iVar4 + -1" identifier + number_literal) )) * number_literal) + number_literal) ]) = identifier) ;) })) })) (return_statement "return piVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , LIT , LIT , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (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 , (pointer_expression * IDENT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT) + LIT) ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT << LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT) + LIT) ]) = IDENT) ;) })) })) (return_statement return IDENT ;) })))
(function_definition "int * FUN_00079b40(int *param_1,int *param_2,undefined4 *param_3)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  code *pcVar6;\n  \n  iVar5 = *param_1;\n  piVar1 = (int *)FUN_00079974(param_1,0,0,0);\n  if (piVar1 != (int *)0x0) {\n    iVar3 = *piVar1;\n    pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n    iVar2 = (*pcVar6)(iVar5,*param_3);\n    piVar1[(iVar3 + -1) * 0x12 + 4] = iVar2;\n    if (*(int *)(*param_2 + 0x14) != 0) {\n      iVar2 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(iVar5);\n      if (iVar2 == 0) {\n        iVar3 = 0;\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      else {\n        iVar3 = iVar2 << 4;\n        if (iVar2 < 2) {\n          return piVar1;\n        }\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      iVar4 = *piVar1;\n      iVar5 = (*pcVar6)(iVar5,*(undefined4 *)(iVar2 + iVar3));\n      piVar1[(iVar4 + -1) * 0x12 + 3] = iVar5;\n    }\n  }\n  return piVar1;\n}" (primitive_type "int") (pointer_declarator "* FUN_00079b40(int *param_1,int *param_2,undefined4 *param_3)" (* "*") (function_declarator "FUN_00079b40(int *param_1,int *param_2,undefined4 *param_3)" (identifier "FUN_00079b40") (parameter_list "(int *param_1,int *param_2,undefined4 *param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")")))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  code *pcVar6;\n  \n  iVar5 = *param_1;\n  piVar1 = (int *)FUN_00079974(param_1,0,0,0);\n  if (piVar1 != (int *)0x0) {\n    iVar3 = *piVar1;\n    pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n    iVar2 = (*pcVar6)(iVar5,*param_3);\n    piVar1[(iVar3 + -1) * 0x12 + 4] = iVar2;\n    if (*(int *)(*param_2 + 0x14) != 0) {\n      iVar2 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(iVar5);\n      if (iVar2 == 0) {\n        iVar3 = 0;\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      else {\n        iVar3 = iVar2 << 4;\n        if (iVar2 < 2) {\n          return piVar1;\n        }\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      iVar4 = *piVar1;\n      iVar5 = (*pcVar6)(iVar5,*(undefined4 *)(iVar2 + iVar3));\n      piVar1[(iVar4 + -1) * 0x12 + 3] = iVar5;\n    }\n  }\n  return piVar1;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "code *pcVar6;" (type_identifier "code") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (expression_statement "iVar5 = *param_1;" (assignment_expression "iVar5 = *param_1" (identifier "iVar5") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "piVar1 = (int *)FUN_00079974(param_1,0,0,0);" (assignment_expression "piVar1 = (int *)FUN_00079974(param_1,0,0,0)" (identifier "piVar1") (= "=") (cast_expression "(int *)FUN_00079974(param_1,0,0,0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00079974(param_1,0,0,0)" (identifier "FUN_00079974") (argument_list "(param_1,0,0,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")"))))) (; ";")) (if_statement "if (piVar1 != (int *)0x0) {\n    iVar3 = *piVar1;\n    pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n    iVar2 = (*pcVar6)(iVar5,*param_3);\n    piVar1[(iVar3 + -1) * 0x12 + 4] = iVar2;\n    if (*(int *)(*param_2 + 0x14) != 0) {\n      iVar2 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(iVar5);\n      if (iVar2 == 0) {\n        iVar3 = 0;\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      else {\n        iVar3 = iVar2 << 4;\n        if (iVar2 < 2) {\n          return piVar1;\n        }\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      iVar4 = *piVar1;\n      iVar5 = (*pcVar6)(iVar5,*(undefined4 *)(iVar2 + iVar3));\n      piVar1[(iVar4 + -1) * 0x12 + 3] = iVar5;\n    }\n  }" (if "if") (parenthesized_expression "(piVar1 != (int *)0x0)" (( "(") (binary_expression "piVar1 != (int *)0x0" (identifier "piVar1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    iVar3 = *piVar1;\n    pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n    iVar2 = (*pcVar6)(iVar5,*param_3);\n    piVar1[(iVar3 + -1) * 0x12 + 4] = iVar2;\n    if (*(int *)(*param_2 + 0x14) != 0) {\n      iVar2 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(iVar5);\n      if (iVar2 == 0) {\n        iVar3 = 0;\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      else {\n        iVar3 = iVar2 << 4;\n        if (iVar2 < 2) {\n          return piVar1;\n        }\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      iVar4 = *piVar1;\n      iVar5 = (*pcVar6)(iVar5,*(undefined4 *)(iVar2 + iVar3));\n      piVar1[(iVar4 + -1) * 0x12 + 3] = iVar5;\n    }\n  }" ({ "{") (expression_statement "iVar3 = *piVar1;" (assignment_expression "iVar3 = *piVar1" (identifier "iVar3") (= "=") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) (; ";")) (expression_statement "pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);" (assignment_expression "pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0)" (identifier "pcVar6") (= "=") (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x23a0)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x23a0)" (( "(") (binary_expression "PTR_LAB_0015b6d8 + -0x23a0" (identifier "PTR_LAB_0015b6d8") (+ "+") (number_literal "-0x23a0")) () ")")))) (; ";")) (expression_statement "iVar2 = (*pcVar6)(iVar5,*param_3);" (assignment_expression "iVar2 = (*pcVar6)(iVar5,*param_3)" (identifier "iVar2") (= "=") (call_expression "(*pcVar6)(iVar5,*param_3)" (parenthesized_expression "(*pcVar6)" (( "(") (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) () ")")) (argument_list "(iVar5,*param_3)" (( "(") (identifier "iVar5") (, ",") (pointer_expression "*param_3" (* "*") (identifier "param_3")) () ")")))) (; ";")) (expression_statement "piVar1[(iVar3 + -1) * 0x12 + 4] = iVar2;" (assignment_expression "piVar1[(iVar3 + -1) * 0x12 + 4] = iVar2" (subscript_expression "piVar1[(iVar3 + -1) * 0x12 + 4]" (identifier "piVar1") ([ "[") (binary_expression "(iVar3 + -1) * 0x12 + 4" (binary_expression "(iVar3 + -1) * 0x12" (parenthesized_expression "(iVar3 + -1)" (( "(") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1")) () ")")) (* "*") (number_literal "0x12")) (+ "+") (number_literal "4")) (] "]")) (= "=") (identifier "iVar2")) (; ";")) (if_statement "if (*(int *)(*param_2 + 0x14) != 0) {\n      iVar2 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(iVar5);\n      if (iVar2 == 0) {\n        iVar3 = 0;\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      else {\n        iVar3 = iVar2 << 4;\n        if (iVar2 < 2) {\n          return piVar1;\n        }\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      iVar4 = *piVar1;\n      iVar5 = (*pcVar6)(iVar5,*(undefined4 *)(iVar2 + iVar3));\n      piVar1[(iVar4 + -1) * 0x12 + 3] = iVar5;\n    }" (if "if") (parenthesized_expression "(*(int *)(*param_2 + 0x14) != 0)" (( "(") (binary_expression "*(int *)(*param_2 + 0x14) != 0" (pointer_expression "*(int *)(*param_2 + 0x14)" (* "*") (cast_expression "(int *)(*param_2 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_2 + 0x14)" (( "(") (binary_expression "*param_2 + 0x14" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0x14")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar2 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(iVar5);\n      if (iVar2 == 0) {\n        iVar3 = 0;\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      else {\n        iVar3 = iVar2 << 4;\n        if (iVar2 < 2) {\n          return piVar1;\n        }\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      iVar4 = *piVar1;\n      iVar5 = (*pcVar6)(iVar5,*(undefined4 *)(iVar2 + iVar3));\n      piVar1[(iVar4 + -1) * 0x12 + 3] = iVar5;\n    }" ({ "{") (expression_statement "iVar2 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(iVar5);" (assignment_expression "iVar2 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(iVar5)" (identifier "iVar2") (= "=") (call_expression "(*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(iVar5)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6c0 + -0x65f0))" (( "(") (pointer_expression "*(code *)(PTR_LAB_0015b6c0 + -0x65f0)" (* "*") (cast_expression "(code *)(PTR_LAB_0015b6c0 + -0x65f0)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0015b6c0 + -0x65f0)" (( "(") (binary_expression "PTR_LAB_0015b6c0 + -0x65f0" (identifier "PTR_LAB_0015b6c0") (+ "+") (number_literal "-0x65f0")) () ")")))) () ")")) (argument_list "(iVar5)" (( "(") (identifier "iVar5") () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n        iVar3 = 0;\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }\n      else {\n        iVar3 = iVar2 << 4;\n        if (iVar2 < 2) {\n          return piVar1;\n        }\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar3 = 0;\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }" ({ "{") (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar2 = *(int *)(iVar5 + 0x10);" (assignment_expression "iVar2 = *(int *)(iVar5 + 0x10)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar5 + 0x10)" (* "*") (cast_expression "(int *)(iVar5 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x10)" (( "(") (binary_expression "iVar5 + 0x10" (identifier "iVar5") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n        iVar3 = iVar2 << 4;\n        if (iVar2 < 2) {\n          return piVar1;\n        }\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }" (else "else") (compound_statement "{\n        iVar3 = iVar2 << 4;\n        if (iVar2 < 2) {\n          return piVar1;\n        }\n        iVar2 = *(int *)(iVar5 + 0x10);\n      }" ({ "{") (expression_statement "iVar3 = iVar2 << 4;" (assignment_expression "iVar3 = iVar2 << 4" (identifier "iVar3") (= "=") (binary_expression "iVar2 << 4" (identifier "iVar2") (<< "<<") (number_literal "4"))) (; ";")) (if_statement "if (iVar2 < 2) {\n          return piVar1;\n        }" (if "if") (parenthesized_expression "(iVar2 < 2)" (( "(") (binary_expression "iVar2 < 2" (identifier "iVar2") (< "<") (number_literal "2")) () ")")) (compound_statement "{\n          return piVar1;\n        }" ({ "{") (return_statement "return piVar1;" (return "return") (identifier "piVar1") (; ";")) (} "}"))) (expression_statement "iVar2 = *(int *)(iVar5 + 0x10);" (assignment_expression "iVar2 = *(int *)(iVar5 + 0x10)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar5 + 0x10)" (* "*") (cast_expression "(int *)(iVar5 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x10)" (( "(") (binary_expression "iVar5 + 0x10" (identifier "iVar5") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (} "}")))) (expression_statement "iVar4 = *piVar1;" (assignment_expression "iVar4 = *piVar1" (identifier "iVar4") (= "=") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) (; ";")) (expression_statement "iVar5 = (*pcVar6)(iVar5,*(undefined4 *)(iVar2 + iVar3));" (assignment_expression "iVar5 = (*pcVar6)(iVar5,*(undefined4 *)(iVar2 + iVar3))" (identifier "iVar5") (= "=") (call_expression "(*pcVar6)(iVar5,*(undefined4 *)(iVar2 + iVar3))" (parenthesized_expression "(*pcVar6)" (( "(") (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) () ")")) (argument_list "(iVar5,*(undefined4 *)(iVar2 + iVar3))" (( "(") (identifier "iVar5") (, ",") (pointer_expression "*(undefined4 *)(iVar2 + iVar3)" (* "*") (cast_expression "(undefined4 *)(iVar2 + iVar3)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + iVar3)" (( "(") (binary_expression "iVar2 + iVar3" (identifier "iVar2") (+ "+") (identifier "iVar3")) () ")")))) () ")")))) (; ";")) (expression_statement "piVar1[(iVar4 + -1) * 0x12 + 3] = iVar5;" (assignment_expression "piVar1[(iVar4 + -1) * 0x12 + 3] = iVar5" (subscript_expression "piVar1[(iVar4 + -1) * 0x12 + 3]" (identifier "piVar1") ([ "[") (binary_expression "(iVar4 + -1) * 0x12 + 3" (binary_expression "(iVar4 + -1) * 0x12" (parenthesized_expression "(iVar4 + -1)" (( "(") (binary_expression "iVar4 + -1" (identifier "iVar4") (+ "+") (number_literal "-1")) () ")")) (* "*") (number_literal "0x12")) (+ "+") (number_literal "3")) (] "]")) (= "=") (identifier "iVar5")) (; ";")) (} "}"))) (} "}"))) (return_statement "return piVar1;" (return "return") (identifier "piVar1") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal) (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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) (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)) right: (number_literal))) right: (identifier))) (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: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (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)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)) right: (number_literal))) right: (identifier))))))) (return_statement (identifier)))))

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

{
  int *piVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  code *pcVar6;
  
  iVar5 = *param_1;
  piVar1 = (int *)FUN_00079974(param_1,0,0,0);
  if (piVar1 != (int *)0x0) {
    iVar3 = *piVar1;
    pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);
    iVar2 = (*pcVar6)(iVar5,*param_3);
    piVar1[(iVar3 + -1) * 0x12 + 4] = iVar2;
    if (*(int *)(*param_2 + 0x14) != 0) {
      iVar2 = (*(code *)(PTR_LAB_0015b6c0 + -0x65f0))(iVar5);
      if (iVar2 == 0) {
        iVar3 = 0;
        iVar2 = *(int *)(iVar5 + 0x10);
      }
      else {
        iVar3 = iVar2 << 4;
        if (iVar2 < 2) {
          return piVar1;
        }
        iVar2 = *(int *)(iVar5 + 0x10);
      }
      iVar4 = *piVar1;
      iVar5 = (*pcVar6)(iVar5,*(undefined4 *)(iVar2 + iVar3));
      piVar1[(iVar4 + -1) * 0x12 + 3] = iVar5;
    }
  }
  return piVar1;
}

