
/* DWARF original prototype: void invalidateIncrblobCursors(Btree * pBtree, Pgno pgnoRoot, i64 iRow,
   int isClearTable, Btree * pBtree) */

void invalidateIncrblobCursors
               (Btree *pBtree,Pgno pgnoRoot,i64 iRow,int isClearTable,Btree *pBtree_1)

{
  byte bVar1;
  BtCursor *p;
  undefined1 *puVar2;
  int in_stack_00000018;
  
  *(undefined1 *)pgnoRoot = 0;
  puVar2 = *(undefined1 **)&pBtree->inTrans;
  if (puVar2 == (undefined1 *)0x0) {
    return;
  }
  bVar1 = puVar2[1];
  do {
    if (((bVar1 & 0x10) == 0) ||
       (*(undefined1 *)pgnoRoot = 1, *(int *)(puVar2 + 0x40) != isClearTable)) {
LAB_0002d418:
      puVar2 = *(undefined1 **)(puVar2 + 0x18);
    }
    else {
      if (in_stack_00000018 == 0) {
        if ((*(int *)(puVar2 + 0x20) != iRow._0_4_) || (*(int *)(puVar2 + 0x24) != iRow._4_4_))
        goto LAB_0002d418;
        *puVar2 = 1;
      }
      else {
        *puVar2 = 1;
      }
      puVar2 = *(undefined1 **)(puVar2 + 0x18);
    }
    if (puVar2 == (undefined1 *)0x0) {
      return;
    }
    bVar1 = puVar2[1];
  } while( true );
}



void FUN_0002d3f8(int param_1,undefined1 *param_2,int param_3,undefined4 param_4,int param_5,
                 int param_6,int param_7)

{
  byte bVar1;
  undefined1 *puVar2;
  
  *param_2 = 0;
  puVar2 = *(undefined1 **)(param_1 + 8);
  if (puVar2 == (undefined1 *)0x0) {
    return;
  }
  bVar1 = puVar2[1];
  do {
    if (((bVar1 & 0x10) == 0) || (*param_2 = 1, *(int *)(puVar2 + 0x40) != param_3)) {
LAB_0002d418:
      puVar2 = *(undefined1 **)(puVar2 + 0x18);
    }
    else {
      if (param_7 == 0) {
        if ((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))
        goto LAB_0002d418;
        *puVar2 = 1;
      }
      else {
        *puVar2 = 1;
      }
      puVar2 = *(undefined1 **)(puVar2 + 0x18);
    }
    if (puVar2 == (undefined1 *)0x0) {
      return;
    }
    bVar1 = puVar2[1];
  } while( true );
}


lw a3,0x10(sp)
lw t0,0x14(sp)
sb zero,0x0(a1)
lw v0,0x8(a0)
beq v0,zero,0x0002d45c
_li a0,0x1
b 0x0002d428
_lbu v1,0x1(v0)
lw v0,0x18(v0)
beq v0,zero,0x0002d45c
_nop
lbu v1,0x1(v0)
andi v1,v1,0x10
beq v1,zero,0x0002d418
_nop
sb a0,0x0(a1)
lw v1,0x40(v0)
bne v1,a2,0x0002d418
_lw v1,0x18(sp)
beq v1,zero,0x0002d464
_nop
sb a0,0x0(v0)
lw v0,0x18(v0)
bne v0,zero,0x0002d424
_nop
jr ra
_nop
lw v1,0x20(v0)
bne v1,a3,0x0002d418
_nop
lw v1,0x24(v0)
bne v1,t0,0x0002d418
_nop
b 0x0002d450
_sb a0,0x0(v0)
(translation_unit "void FUN_0002d3f8(int param_1,undefined1 *param_2,int param_3,undefined4 param_4,int param_5,\n                 int param_6,int param_7)\n\n{\n  byte bVar1;\n  undefined1 *puVar2;\n  \n  *param_2 = 0;\n  puVar2 = *(undefined1 **)(param_1 + 8);\n  if (puVar2 == (undefined1 *)0x0) {\n    return;\n  }\n  bVar1 = puVar2[1];\n  do {\n    if (((bVar1 & 0x10) == 0) || (*param_2 = 1, *(int *)(puVar2 + 0x40) != param_3)) {\nLAB_0002d418:\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    else {\n      if (param_7 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    if (puVar2 == (undefined1 *)0x0) {\n      return;\n    }\n    bVar1 = puVar2[1];\n  } while( true );\n}\n\n" (function_definition "void FUN_0002d3f8(int param_1,undefined1 *param_2,int param_3,undefined4 param_4,int param_5,\n                 int param_6,int param_7)\n\n{\n  byte bVar1;\n  undefined1 *puVar2;\n  \n  *param_2 = 0;\n  puVar2 = *(undefined1 **)(param_1 + 8);\n  if (puVar2 == (undefined1 *)0x0) {\n    return;\n  }\n  bVar1 = puVar2[1];\n  do {\n    if (((bVar1 & 0x10) == 0) || (*param_2 = 1, *(int *)(puVar2 + 0x40) != param_3)) {\nLAB_0002d418:\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    else {\n      if (param_7 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    if (puVar2 == (undefined1 *)0x0) {\n      return;\n    }\n    bVar1 = puVar2[1];\n  } while( true );\n}" primitive_type (function_declarator "FUN_0002d3f8(int param_1,undefined1 *param_2,int param_3,undefined4 param_4,int param_5,\n                 int param_6,int param_7)" identifier (parameter_list "(int param_1,undefined1 *param_2,int param_3,undefined4 param_4,int param_5,\n                 int param_6,int param_7)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined1 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "int param_6" primitive_type identifier) , (parameter_declaration "int param_7" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  undefined1 *puVar2;\n  \n  *param_2 = 0;\n  puVar2 = *(undefined1 **)(param_1 + 8);\n  if (puVar2 == (undefined1 *)0x0) {\n    return;\n  }\n  bVar1 = puVar2[1];\n  do {\n    if (((bVar1 & 0x10) == 0) || (*param_2 = 1, *(int *)(puVar2 + 0x40) != param_3)) {\nLAB_0002d418:\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    else {\n      if (param_7 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    if (puVar2 == (undefined1 *)0x0) {\n      return;\n    }\n    bVar1 = puVar2[1];\n  } while( true );\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "puVar2 = *(undefined1 **)(param_1 + 8);" (assignment_expression "puVar2 = *(undefined1 **)(param_1 + 8)" identifier = (pointer_expression "*(undefined1 **)(param_1 + 8)" * (cast_expression "(undefined1 **)(param_1 + 8)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (puVar2 == (undefined1 *)0x0) {\n    return;\n  }" if (parenthesized_expression "(puVar2 == (undefined1 *)0x0)" ( (binary_expression "puVar2 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "bVar1 = puVar2[1];" (assignment_expression "bVar1 = puVar2[1]" identifier = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) (do_statement "do {\n    if (((bVar1 & 0x10) == 0) || (*param_2 = 1, *(int *)(puVar2 + 0x40) != param_3)) {\nLAB_0002d418:\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    else {\n      if (param_7 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    if (puVar2 == (undefined1 *)0x0) {\n      return;\n    }\n    bVar1 = puVar2[1];\n  } while( true );" do (compound_statement "{\n    if (((bVar1 & 0x10) == 0) || (*param_2 = 1, *(int *)(puVar2 + 0x40) != param_3)) {\nLAB_0002d418:\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    else {\n      if (param_7 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    if (puVar2 == (undefined1 *)0x0) {\n      return;\n    }\n    bVar1 = puVar2[1];\n  }" { (if_statement "if (((bVar1 & 0x10) == 0) || (*param_2 = 1, *(int *)(puVar2 + 0x40) != param_3)) {\nLAB_0002d418:\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    else {\n      if (param_7 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }" if (parenthesized_expression "(((bVar1 & 0x10) == 0) || (*param_2 = 1, *(int *)(puVar2 + 0x40) != param_3))" ( (binary_expression "((bVar1 & 0x10) == 0) || (*param_2 = 1, *(int *)(puVar2 + 0x40) != param_3)" (parenthesized_expression "((bVar1 & 0x10) == 0)" ( (binary_expression "(bVar1 & 0x10) == 0" (parenthesized_expression "(bVar1 & 0x10)" ( (binary_expression "bVar1 & 0x10" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "(*param_2 = 1, *(int *)(puVar2 + 0x40) != param_3)" ( (comma_expression "*param_2 = 1, *(int *)(puVar2 + 0x40) != param_3" (assignment_expression "*param_2 = 1" (pointer_expression "*param_2" * identifier) = number_literal) , (binary_expression "*(int *)(puVar2 + 0x40) != param_3" (pointer_expression "*(int *)(puVar2 + 0x40)" * (cast_expression "(int *)(puVar2 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0x40)" ( (binary_expression "puVar2 + 0x40" identifier + number_literal) )))) != identifier)) ))) )) (compound_statement "{\nLAB_0002d418:\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }" { (labeled_statement "LAB_0002d418:\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);" statement_identifier : (expression_statement "puVar2 = *(undefined1 **)(puVar2 + 0x18);" (assignment_expression "puVar2 = *(undefined1 **)(puVar2 + 0x18)" identifier = (pointer_expression "*(undefined1 **)(puVar2 + 0x18)" * (cast_expression "(undefined1 **)(puVar2 + 0x18)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar2 + 0x18)" ( (binary_expression "puVar2 + 0x18" identifier + number_literal) ))))) ;)) }) (else_clause "else {\n      if (param_7 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }" else (compound_statement "{\n      if (param_7 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }" { (if_statement "if (param_7 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }" if (parenthesized_expression "(param_7 == 0)" ( (binary_expression "param_7 == 0" identifier == number_literal) )) (compound_statement "{\n        if ((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }" { (if_statement "if ((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))\n        goto LAB_0002d418;" if (parenthesized_expression "((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))" ( (binary_expression "(*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6)" (parenthesized_expression "(*(int *)(puVar2 + 0x20) != param_5)" ( (binary_expression "*(int *)(puVar2 + 0x20) != param_5" (pointer_expression "*(int *)(puVar2 + 0x20)" * (cast_expression "(int *)(puVar2 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0x20)" ( (binary_expression "puVar2 + 0x20" identifier + number_literal) )))) != identifier) )) || (parenthesized_expression "(*(int *)(puVar2 + 0x24) != param_6)" ( (binary_expression "*(int *)(puVar2 + 0x24) != param_6" (pointer_expression "*(int *)(puVar2 + 0x24)" * (cast_expression "(int *)(puVar2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0x24)" ( (binary_expression "puVar2 + 0x24" identifier + number_literal) )))) != identifier) ))) )) (goto_statement "goto LAB_0002d418;" goto statement_identifier ;)) (expression_statement "*puVar2 = 1;" (assignment_expression "*puVar2 = 1" (pointer_expression "*puVar2" * identifier) = number_literal) ;) }) (else_clause "else {\n        *puVar2 = 1;\n      }" else (compound_statement "{\n        *puVar2 = 1;\n      }" { (expression_statement "*puVar2 = 1;" (assignment_expression "*puVar2 = 1" (pointer_expression "*puVar2" * identifier) = number_literal) ;) }))) (expression_statement "puVar2 = *(undefined1 **)(puVar2 + 0x18);" (assignment_expression "puVar2 = *(undefined1 **)(puVar2 + 0x18)" identifier = (pointer_expression "*(undefined1 **)(puVar2 + 0x18)" * (cast_expression "(undefined1 **)(puVar2 + 0x18)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar2 + 0x18)" ( (binary_expression "puVar2 + 0x18" identifier + number_literal) ))))) ;) }))) (if_statement "if (puVar2 == (undefined1 *)0x0) {\n      return;\n    }" if (parenthesized_expression "(puVar2 == (undefined1 *)0x0)" ( (binary_expression "puVar2 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "bVar1 = puVar2[1];" (assignment_expression "bVar1 = puVar2[1]" identifier = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "/* DWARF original prototype: void invalidateIncrblobCursors(Btree * pBtree, Pgno pgnoRoot, i64 iRow,\n   int isClearTable, Btree * pBtree) */\n\nvoid invalidateIncrblobCursors\n               (Btree *pBtree,Pgno pgnoRoot,i64 iRow,int isClearTable,Btree *pBtree_1)\n\n{\n  byte bVar1;\n  BtCursor *p;\n  undefined1 *puVar2;\n  int in_stack_00000018;\n  \n  *(undefined1 *)pgnoRoot = 0;\n  puVar2 = *(undefined1 **)&pBtree->inTrans;\n  if (puVar2 == (undefined1 *)0x0) {\n    return;\n  }\n  bVar1 = puVar2[1];\n  do {\n    if (((bVar1 & 0x10) == 0) ||\n       (*(undefined1 *)pgnoRoot = 1, *(int *)(puVar2 + 0x40) != isClearTable)) {\nLAB_0002d418:\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    else {\n      if (in_stack_00000018 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != iRow._0_4_) || (*(int *)(puVar2 + 0x24) != iRow._4_4_))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    if (puVar2 == (undefined1 *)0x0) {\n      return;\n    }\n    bVar1 = puVar2[1];\n  } while( true );\n}\n\n" comment (function_definition "void invalidateIncrblobCursors\n               (Btree *pBtree,Pgno pgnoRoot,i64 iRow,int isClearTable,Btree *pBtree_1)\n\n{\n  byte bVar1;\n  BtCursor *p;\n  undefined1 *puVar2;\n  int in_stack_00000018;\n  \n  *(undefined1 *)pgnoRoot = 0;\n  puVar2 = *(undefined1 **)&pBtree->inTrans;\n  if (puVar2 == (undefined1 *)0x0) {\n    return;\n  }\n  bVar1 = puVar2[1];\n  do {\n    if (((bVar1 & 0x10) == 0) ||\n       (*(undefined1 *)pgnoRoot = 1, *(int *)(puVar2 + 0x40) != isClearTable)) {\nLAB_0002d418:\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    else {\n      if (in_stack_00000018 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != iRow._0_4_) || (*(int *)(puVar2 + 0x24) != iRow._4_4_))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    if (puVar2 == (undefined1 *)0x0) {\n      return;\n    }\n    bVar1 = puVar2[1];\n  } while( true );\n}" primitive_type (function_declarator "invalidateIncrblobCursors\n               (Btree *pBtree,Pgno pgnoRoot,i64 iRow,int isClearTable,Btree *pBtree_1)" identifier (parameter_list "(Btree *pBtree,Pgno pgnoRoot,i64 iRow,int isClearTable,Btree *pBtree_1)" ( (parameter_declaration "Btree *pBtree" type_identifier (pointer_declarator "*pBtree" * identifier)) , (parameter_declaration "Pgno pgnoRoot" type_identifier identifier) , (parameter_declaration "i64 iRow" type_identifier identifier) , (parameter_declaration "int isClearTable" primitive_type identifier) , (parameter_declaration "Btree *pBtree_1" type_identifier (pointer_declarator "*pBtree_1" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  BtCursor *p;\n  undefined1 *puVar2;\n  int in_stack_00000018;\n  \n  *(undefined1 *)pgnoRoot = 0;\n  puVar2 = *(undefined1 **)&pBtree->inTrans;\n  if (puVar2 == (undefined1 *)0x0) {\n    return;\n  }\n  bVar1 = puVar2[1];\n  do {\n    if (((bVar1 & 0x10) == 0) ||\n       (*(undefined1 *)pgnoRoot = 1, *(int *)(puVar2 + 0x40) != isClearTable)) {\nLAB_0002d418:\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    else {\n      if (in_stack_00000018 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != iRow._0_4_) || (*(int *)(puVar2 + 0x24) != iRow._4_4_))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    if (puVar2 == (undefined1 *)0x0) {\n      return;\n    }\n    bVar1 = puVar2[1];\n  } while( true );\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "BtCursor *p;" type_identifier (pointer_declarator "*p" * identifier) ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int in_stack_00000018;" primitive_type identifier ;) (expression_statement "*(undefined1 *)pgnoRoot = 0;" (assignment_expression "*(undefined1 *)pgnoRoot = 0" (pointer_expression "*(undefined1 *)pgnoRoot" * (cast_expression "(undefined1 *)pgnoRoot" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "puVar2 = *(undefined1 **)&pBtree->inTrans;" (assignment_expression "puVar2 = *(undefined1 **)&pBtree->inTrans" identifier = (pointer_expression "*(undefined1 **)&pBtree->inTrans" * (cast_expression "(undefined1 **)&pBtree->inTrans" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&pBtree->inTrans" & (field_expression "pBtree->inTrans" identifier -> field_identifier))))) ;) (if_statement "if (puVar2 == (undefined1 *)0x0) {\n    return;\n  }" if (parenthesized_expression "(puVar2 == (undefined1 *)0x0)" ( (binary_expression "puVar2 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "bVar1 = puVar2[1];" (assignment_expression "bVar1 = puVar2[1]" identifier = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) (do_statement "do {\n    if (((bVar1 & 0x10) == 0) ||\n       (*(undefined1 *)pgnoRoot = 1, *(int *)(puVar2 + 0x40) != isClearTable)) {\nLAB_0002d418:\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    else {\n      if (in_stack_00000018 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != iRow._0_4_) || (*(int *)(puVar2 + 0x24) != iRow._4_4_))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    if (puVar2 == (undefined1 *)0x0) {\n      return;\n    }\n    bVar1 = puVar2[1];\n  } while( true );" do (compound_statement "{\n    if (((bVar1 & 0x10) == 0) ||\n       (*(undefined1 *)pgnoRoot = 1, *(int *)(puVar2 + 0x40) != isClearTable)) {\nLAB_0002d418:\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    else {\n      if (in_stack_00000018 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != iRow._0_4_) || (*(int *)(puVar2 + 0x24) != iRow._4_4_))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    if (puVar2 == (undefined1 *)0x0) {\n      return;\n    }\n    bVar1 = puVar2[1];\n  }" { (if_statement "if (((bVar1 & 0x10) == 0) ||\n       (*(undefined1 *)pgnoRoot = 1, *(int *)(puVar2 + 0x40) != isClearTable)) {\nLAB_0002d418:\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    else {\n      if (in_stack_00000018 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != iRow._0_4_) || (*(int *)(puVar2 + 0x24) != iRow._4_4_))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }" if (parenthesized_expression "(((bVar1 & 0x10) == 0) ||\n       (*(undefined1 *)pgnoRoot = 1, *(int *)(puVar2 + 0x40) != isClearTable))" ( (binary_expression "((bVar1 & 0x10) == 0) ||\n       (*(undefined1 *)pgnoRoot = 1, *(int *)(puVar2 + 0x40) != isClearTable)" (parenthesized_expression "((bVar1 & 0x10) == 0)" ( (binary_expression "(bVar1 & 0x10) == 0" (parenthesized_expression "(bVar1 & 0x10)" ( (binary_expression "bVar1 & 0x10" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "(*(undefined1 *)pgnoRoot = 1, *(int *)(puVar2 + 0x40) != isClearTable)" ( (comma_expression "*(undefined1 *)pgnoRoot = 1, *(int *)(puVar2 + 0x40) != isClearTable" (assignment_expression "*(undefined1 *)pgnoRoot = 1" (pointer_expression "*(undefined1 *)pgnoRoot" * (cast_expression "(undefined1 *)pgnoRoot" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) , (binary_expression "*(int *)(puVar2 + 0x40) != isClearTable" (pointer_expression "*(int *)(puVar2 + 0x40)" * (cast_expression "(int *)(puVar2 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0x40)" ( (binary_expression "puVar2 + 0x40" identifier + number_literal) )))) != identifier)) ))) )) (compound_statement "{\nLAB_0002d418:\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }" { (labeled_statement "LAB_0002d418:\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);" statement_identifier : (expression_statement "puVar2 = *(undefined1 **)(puVar2 + 0x18);" (assignment_expression "puVar2 = *(undefined1 **)(puVar2 + 0x18)" identifier = (pointer_expression "*(undefined1 **)(puVar2 + 0x18)" * (cast_expression "(undefined1 **)(puVar2 + 0x18)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar2 + 0x18)" ( (binary_expression "puVar2 + 0x18" identifier + number_literal) ))))) ;)) }) (else_clause "else {\n      if (in_stack_00000018 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != iRow._0_4_) || (*(int *)(puVar2 + 0x24) != iRow._4_4_))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }" else (compound_statement "{\n      if (in_stack_00000018 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != iRow._0_4_) || (*(int *)(puVar2 + 0x24) != iRow._4_4_))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }" { (if_statement "if (in_stack_00000018 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != iRow._0_4_) || (*(int *)(puVar2 + 0x24) != iRow._4_4_))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }" if (parenthesized_expression "(in_stack_00000018 == 0)" ( (binary_expression "in_stack_00000018 == 0" identifier == number_literal) )) (compound_statement "{\n        if ((*(int *)(puVar2 + 0x20) != iRow._0_4_) || (*(int *)(puVar2 + 0x24) != iRow._4_4_))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }" { (if_statement "if ((*(int *)(puVar2 + 0x20) != iRow._0_4_) || (*(int *)(puVar2 + 0x24) != iRow._4_4_))\n        goto LAB_0002d418;" if (parenthesized_expression "((*(int *)(puVar2 + 0x20) != iRow._0_4_) || (*(int *)(puVar2 + 0x24) != iRow._4_4_))" ( (binary_expression "(*(int *)(puVar2 + 0x20) != iRow._0_4_) || (*(int *)(puVar2 + 0x24) != iRow._4_4_)" (parenthesized_expression "(*(int *)(puVar2 + 0x20) != iRow._0_4_)" ( (binary_expression "*(int *)(puVar2 + 0x20) != iRow._0_4_" (pointer_expression "*(int *)(puVar2 + 0x20)" * (cast_expression "(int *)(puVar2 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0x20)" ( (binary_expression "puVar2 + 0x20" identifier + number_literal) )))) != (field_expression "iRow._0_4_" identifier . field_identifier)) )) || (parenthesized_expression "(*(int *)(puVar2 + 0x24) != iRow._4_4_)" ( (binary_expression "*(int *)(puVar2 + 0x24) != iRow._4_4_" (pointer_expression "*(int *)(puVar2 + 0x24)" * (cast_expression "(int *)(puVar2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0x24)" ( (binary_expression "puVar2 + 0x24" identifier + number_literal) )))) != (field_expression "iRow._4_4_" identifier . field_identifier)) ))) )) (goto_statement "goto LAB_0002d418;" goto statement_identifier ;)) (expression_statement "*puVar2 = 1;" (assignment_expression "*puVar2 = 1" (pointer_expression "*puVar2" * identifier) = number_literal) ;) }) (else_clause "else {\n        *puVar2 = 1;\n      }" else (compound_statement "{\n        *puVar2 = 1;\n      }" { (expression_statement "*puVar2 = 1;" (assignment_expression "*puVar2 = 1" (pointer_expression "*puVar2" * identifier) = number_literal) ;) }))) (expression_statement "puVar2 = *(undefined1 **)(puVar2 + 0x18);" (assignment_expression "puVar2 = *(undefined1 **)(puVar2 + 0x18)" identifier = (pointer_expression "*(undefined1 **)(puVar2 + 0x18)" * (cast_expression "(undefined1 **)(puVar2 + 0x18)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar2 + 0x18)" ( (binary_expression "puVar2 + 0x18" identifier + number_literal) ))))) ;) }))) (if_statement "if (puVar2 == (undefined1 *)0x0) {\n      return;\n    }" if (parenthesized_expression "(puVar2 == (undefined1 *)0x0)" ( (binary_expression "puVar2 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "bVar1 = puVar2[1];" (assignment_expression "bVar1 = puVar2[1]" identifier = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "void FUN_0002d3f8(int param_1,undefined1 *param_2,int param_3,undefined4 param_4,int param_5,\n                 int param_6,int param_7)\n\n{\n  byte bVar1;\n  undefined1 *puVar2;\n  \n  *param_2 = 0;\n  puVar2 = *(undefined1 **)(param_1 + 8);\n  if (puVar2 == (undefined1 *)0x0) {\n    return;\n  }\n  bVar1 = puVar2[1];\n  do {\n    if (((bVar1 & 0x10) == 0) || (*param_2 = 1, *(int *)(puVar2 + 0x40) != param_3)) {\nLAB_0002d418:\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    else {\n      if (param_7 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    if (puVar2 == (undefined1 *)0x0) {\n      return;\n    }\n    bVar1 = puVar2[1];\n  } while( true );\n}\n\n" (function_definition "void FUN_0002d3f8(int param_1,undefined1 *param_2,int param_3,undefined4 param_4,int param_5,\n                 int param_6,int param_7)\n\n{\n  byte bVar1;\n  undefined1 *puVar2;\n  \n  *param_2 = 0;\n  puVar2 = *(undefined1 **)(param_1 + 8);\n  if (puVar2 == (undefined1 *)0x0) {\n    return;\n  }\n  bVar1 = puVar2[1];\n  do {\n    if (((bVar1 & 0x10) == 0) || (*param_2 = 1, *(int *)(puVar2 + 0x40) != param_3)) {\nLAB_0002d418:\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    else {\n      if (param_7 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    if (puVar2 == (undefined1 *)0x0) {\n      return;\n    }\n    bVar1 = puVar2[1];\n  } while( true );\n}" primitive_type (function_declarator "FUN_0002d3f8(int param_1,undefined1 *param_2,int param_3,undefined4 param_4,int param_5,\n                 int param_6,int param_7)" identifier (parameter_list "(int param_1,undefined1 *param_2,int param_3,undefined4 param_4,int param_5,\n                 int param_6,int param_7)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined1 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "int param_6" primitive_type identifier) , (parameter_declaration "int param_7" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  undefined1 *puVar2;\n  \n  *param_2 = 0;\n  puVar2 = *(undefined1 **)(param_1 + 8);\n  if (puVar2 == (undefined1 *)0x0) {\n    return;\n  }\n  bVar1 = puVar2[1];\n  do {\n    if (((bVar1 & 0x10) == 0) || (*param_2 = 1, *(int *)(puVar2 + 0x40) != param_3)) {\nLAB_0002d418:\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    else {\n      if (param_7 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    if (puVar2 == (undefined1 *)0x0) {\n      return;\n    }\n    bVar1 = puVar2[1];\n  } while( true );\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "puVar2 = *(undefined1 **)(param_1 + 8);" (assignment_expression "puVar2 = *(undefined1 **)(param_1 + 8)" identifier = (pointer_expression "*(undefined1 **)(param_1 + 8)" * (cast_expression "(undefined1 **)(param_1 + 8)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (puVar2 == (undefined1 *)0x0) {\n    return;\n  }" if (parenthesized_expression "(puVar2 == (undefined1 *)0x0)" ( (binary_expression "puVar2 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "bVar1 = puVar2[1];" (assignment_expression "bVar1 = puVar2[1]" identifier = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) (do_statement "do {\n    if (((bVar1 & 0x10) == 0) || (*param_2 = 1, *(int *)(puVar2 + 0x40) != param_3)) {\nLAB_0002d418:\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    else {\n      if (param_7 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    if (puVar2 == (undefined1 *)0x0) {\n      return;\n    }\n    bVar1 = puVar2[1];\n  } while( true );" do (compound_statement "{\n    if (((bVar1 & 0x10) == 0) || (*param_2 = 1, *(int *)(puVar2 + 0x40) != param_3)) {\nLAB_0002d418:\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    else {\n      if (param_7 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    if (puVar2 == (undefined1 *)0x0) {\n      return;\n    }\n    bVar1 = puVar2[1];\n  }" { (if_statement "if (((bVar1 & 0x10) == 0) || (*param_2 = 1, *(int *)(puVar2 + 0x40) != param_3)) {\nLAB_0002d418:\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    else {\n      if (param_7 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }" if (parenthesized_expression "(((bVar1 & 0x10) == 0) || (*param_2 = 1, *(int *)(puVar2 + 0x40) != param_3))" ( (binary_expression "((bVar1 & 0x10) == 0) || (*param_2 = 1, *(int *)(puVar2 + 0x40) != param_3)" (parenthesized_expression "((bVar1 & 0x10) == 0)" ( (binary_expression "(bVar1 & 0x10) == 0" (parenthesized_expression "(bVar1 & 0x10)" ( (binary_expression "bVar1 & 0x10" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "(*param_2 = 1, *(int *)(puVar2 + 0x40) != param_3)" ( (comma_expression "*param_2 = 1, *(int *)(puVar2 + 0x40) != param_3" (assignment_expression "*param_2 = 1" (pointer_expression "*param_2" * identifier) = number_literal) , (binary_expression "*(int *)(puVar2 + 0x40) != param_3" (pointer_expression "*(int *)(puVar2 + 0x40)" * (cast_expression "(int *)(puVar2 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0x40)" ( (binary_expression "puVar2 + 0x40" identifier + number_literal) )))) != identifier)) ))) )) (compound_statement "{\nLAB_0002d418:\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }" { (labeled_statement "LAB_0002d418:\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);" statement_identifier : (expression_statement "puVar2 = *(undefined1 **)(puVar2 + 0x18);" (assignment_expression "puVar2 = *(undefined1 **)(puVar2 + 0x18)" identifier = (pointer_expression "*(undefined1 **)(puVar2 + 0x18)" * (cast_expression "(undefined1 **)(puVar2 + 0x18)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar2 + 0x18)" ( (binary_expression "puVar2 + 0x18" identifier + number_literal) ))))) ;)) }) (else_clause "else {\n      if (param_7 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }" else (compound_statement "{\n      if (param_7 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }" { (if_statement "if (param_7 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }" if (parenthesized_expression "(param_7 == 0)" ( (binary_expression "param_7 == 0" identifier == number_literal) )) (compound_statement "{\n        if ((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }" { (if_statement "if ((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))\n        goto LAB_0002d418;" if (parenthesized_expression "((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))" ( (binary_expression "(*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6)" (parenthesized_expression "(*(int *)(puVar2 + 0x20) != param_5)" ( (binary_expression "*(int *)(puVar2 + 0x20) != param_5" (pointer_expression "*(int *)(puVar2 + 0x20)" * (cast_expression "(int *)(puVar2 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0x20)" ( (binary_expression "puVar2 + 0x20" identifier + number_literal) )))) != identifier) )) || (parenthesized_expression "(*(int *)(puVar2 + 0x24) != param_6)" ( (binary_expression "*(int *)(puVar2 + 0x24) != param_6" (pointer_expression "*(int *)(puVar2 + 0x24)" * (cast_expression "(int *)(puVar2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0x24)" ( (binary_expression "puVar2 + 0x24" identifier + number_literal) )))) != identifier) ))) )) (goto_statement "goto LAB_0002d418;" goto statement_identifier ;)) (expression_statement "*puVar2 = 1;" (assignment_expression "*puVar2 = 1" (pointer_expression "*puVar2" * identifier) = number_literal) ;) }) (else_clause "else {\n        *puVar2 = 1;\n      }" else (compound_statement "{\n        *puVar2 = 1;\n      }" { (expression_statement "*puVar2 = 1;" (assignment_expression "*puVar2 = 1" (pointer_expression "*puVar2" * identifier) = number_literal) ;) }))) (expression_statement "puVar2 = *(undefined1 **)(puVar2 + 0x18);" (assignment_expression "puVar2 = *(undefined1 **)(puVar2 + 0x18)" identifier = (pointer_expression "*(undefined1 **)(puVar2 + 0x18)" * (cast_expression "(undefined1 **)(puVar2 + 0x18)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar2 + 0x18)" ( (binary_expression "puVar2 + 0x18" identifier + number_literal) ))))) ;) }))) (if_statement "if (puVar2 == (undefined1 *)0x0) {\n      return;\n    }" if (parenthesized_expression "(puVar2 == (undefined1 *)0x0)" ( (binary_expression "puVar2 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "bVar1 = puVar2[1];" (assignment_expression "bVar1 = puVar2[1]" identifier = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression (pointer_expression * IDENT) = LIT) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT)) ))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "void FUN_0002d3f8(int param_1,undefined1 *param_2,int param_3,undefined4 param_4,int param_5,\n                 int param_6,int param_7)\n\n{\n  byte bVar1;\n  undefined1 *puVar2;\n  \n  *param_2 = 0;\n  puVar2 = *(undefined1 **)(param_1 + 8);\n  if (puVar2 == (undefined1 *)0x0) {\n    return;\n  }\n  bVar1 = puVar2[1];\n  do {\n    if (((bVar1 & 0x10) == 0) || (*param_2 = 1, *(int *)(puVar2 + 0x40) != param_3)) {\nLAB_0002d418:\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    else {\n      if (param_7 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    if (puVar2 == (undefined1 *)0x0) {\n      return;\n    }\n    bVar1 = puVar2[1];\n  } while( true );\n}" (primitive_type "void") (function_declarator "FUN_0002d3f8(int param_1,undefined1 *param_2,int param_3,undefined4 param_4,int param_5,\n                 int param_6,int param_7)" (identifier "FUN_0002d3f8") (parameter_list "(int param_1,undefined1 *param_2,int param_3,undefined4 param_4,int param_5,\n                 int param_6,int param_7)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined1 *param_2" (type_identifier "undefined1") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) (, ",") (parameter_declaration "int param_6" (primitive_type "int") (identifier "param_6")) (, ",") (parameter_declaration "int param_7" (primitive_type "int") (identifier "param_7")) () ")"))) (compound_statement "{\n  byte bVar1;\n  undefined1 *puVar2;\n  \n  *param_2 = 0;\n  puVar2 = *(undefined1 **)(param_1 + 8);\n  if (puVar2 == (undefined1 *)0x0) {\n    return;\n  }\n  bVar1 = puVar2[1];\n  do {\n    if (((bVar1 & 0x10) == 0) || (*param_2 = 1, *(int *)(puVar2 + 0x40) != param_3)) {\nLAB_0002d418:\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    else {\n      if (param_7 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    if (puVar2 == (undefined1 *)0x0) {\n      return;\n    }\n    bVar1 = puVar2[1];\n  } while( true );\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "undefined1 *puVar2;" (type_identifier "undefined1") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2 = *(undefined1 **)(param_1 + 8);" (assignment_expression "puVar2 = *(undefined1 **)(param_1 + 8)" (identifier "puVar2") (= "=") (pointer_expression "*(undefined1 **)(param_1 + 8)" (* "*") (cast_expression "(undefined1 **)(param_1 + 8)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (puVar2 == (undefined1 *)0x0) {\n    return;\n  }" (if "if") (parenthesized_expression "(puVar2 == (undefined1 *)0x0)" (( "(") (binary_expression "puVar2 == (undefined1 *)0x0" (identifier "puVar2") (== "==") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "bVar1 = puVar2[1];" (assignment_expression "bVar1 = puVar2[1]" (identifier "bVar1") (= "=") (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (do_statement "do {\n    if (((bVar1 & 0x10) == 0) || (*param_2 = 1, *(int *)(puVar2 + 0x40) != param_3)) {\nLAB_0002d418:\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    else {\n      if (param_7 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    if (puVar2 == (undefined1 *)0x0) {\n      return;\n    }\n    bVar1 = puVar2[1];\n  } while( true );" (do "do") (compound_statement "{\n    if (((bVar1 & 0x10) == 0) || (*param_2 = 1, *(int *)(puVar2 + 0x40) != param_3)) {\nLAB_0002d418:\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    else {\n      if (param_7 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    if (puVar2 == (undefined1 *)0x0) {\n      return;\n    }\n    bVar1 = puVar2[1];\n  }" ({ "{") (if_statement "if (((bVar1 & 0x10) == 0) || (*param_2 = 1, *(int *)(puVar2 + 0x40) != param_3)) {\nLAB_0002d418:\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }\n    else {\n      if (param_7 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }" (if "if") (parenthesized_expression "(((bVar1 & 0x10) == 0) || (*param_2 = 1, *(int *)(puVar2 + 0x40) != param_3))" (( "(") (binary_expression "((bVar1 & 0x10) == 0) || (*param_2 = 1, *(int *)(puVar2 + 0x40) != param_3)" (parenthesized_expression "((bVar1 & 0x10) == 0)" (( "(") (binary_expression "(bVar1 & 0x10) == 0" (parenthesized_expression "(bVar1 & 0x10)" (( "(") (binary_expression "bVar1 & 0x10" (identifier "bVar1") (& "&") (number_literal "0x10")) () ")")) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*param_2 = 1, *(int *)(puVar2 + 0x40) != param_3)" (( "(") (comma_expression "*param_2 = 1, *(int *)(puVar2 + 0x40) != param_3" (assignment_expression "*param_2 = 1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "1")) (, ",") (binary_expression "*(int *)(puVar2 + 0x40) != param_3" (pointer_expression "*(int *)(puVar2 + 0x40)" (* "*") (cast_expression "(int *)(puVar2 + 0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 0x40)" (( "(") (binary_expression "puVar2 + 0x40" (identifier "puVar2") (+ "+") (number_literal "0x40")) () ")")))) (!= "!=") (identifier "param_3"))) () ")"))) () ")")) (compound_statement "{\nLAB_0002d418:\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }" ({ "{") (labeled_statement "LAB_0002d418:\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);" (statement_identifier "LAB_0002d418") (: ":") (expression_statement "puVar2 = *(undefined1 **)(puVar2 + 0x18);" (assignment_expression "puVar2 = *(undefined1 **)(puVar2 + 0x18)" (identifier "puVar2") (= "=") (pointer_expression "*(undefined1 **)(puVar2 + 0x18)" (* "*") (cast_expression "(undefined1 **)(puVar2 + 0x18)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar2 + 0x18)" (( "(") (binary_expression "puVar2 + 0x18" (identifier "puVar2") (+ "+") (number_literal "0x18")) () ")"))))) (; ";"))) (} "}")) (else_clause "else {\n      if (param_7 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }" (else "else") (compound_statement "{\n      if (param_7 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }\n      puVar2 = *(undefined1 **)(puVar2 + 0x18);\n    }" ({ "{") (if_statement "if (param_7 == 0) {\n        if ((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }\n      else {\n        *puVar2 = 1;\n      }" (if "if") (parenthesized_expression "(param_7 == 0)" (( "(") (binary_expression "param_7 == 0" (identifier "param_7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        if ((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))\n        goto LAB_0002d418;\n        *puVar2 = 1;\n      }" ({ "{") (if_statement "if ((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))\n        goto LAB_0002d418;" (if "if") (parenthesized_expression "((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))" (( "(") (binary_expression "(*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6)" (parenthesized_expression "(*(int *)(puVar2 + 0x20) != param_5)" (( "(") (binary_expression "*(int *)(puVar2 + 0x20) != param_5" (pointer_expression "*(int *)(puVar2 + 0x20)" (* "*") (cast_expression "(int *)(puVar2 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 0x20)" (( "(") (binary_expression "puVar2 + 0x20" (identifier "puVar2") (+ "+") (number_literal "0x20")) () ")")))) (!= "!=") (identifier "param_5")) () ")")) (|| "||") (parenthesized_expression "(*(int *)(puVar2 + 0x24) != param_6)" (( "(") (binary_expression "*(int *)(puVar2 + 0x24) != param_6" (pointer_expression "*(int *)(puVar2 + 0x24)" (* "*") (cast_expression "(int *)(puVar2 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 0x24)" (( "(") (binary_expression "puVar2 + 0x24" (identifier "puVar2") (+ "+") (number_literal "0x24")) () ")")))) (!= "!=") (identifier "param_6")) () ")"))) () ")")) (goto_statement "goto LAB_0002d418;" (goto "goto") (statement_identifier "LAB_0002d418") (; ";"))) (expression_statement "*puVar2 = 1;" (assignment_expression "*puVar2 = 1" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n        *puVar2 = 1;\n      }" (else "else") (compound_statement "{\n        *puVar2 = 1;\n      }" ({ "{") (expression_statement "*puVar2 = 1;" (assignment_expression "*puVar2 = 1" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (number_literal "1")) (; ";")) (} "}")))) (expression_statement "puVar2 = *(undefined1 **)(puVar2 + 0x18);" (assignment_expression "puVar2 = *(undefined1 **)(puVar2 + 0x18)" (identifier "puVar2") (= "=") (pointer_expression "*(undefined1 **)(puVar2 + 0x18)" (* "*") (cast_expression "(undefined1 **)(puVar2 + 0x18)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar2 + 0x18)" (( "(") (binary_expression "puVar2 + 0x18" (identifier "puVar2") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (} "}")))) (if_statement "if (puVar2 == (undefined1 *)0x0) {\n      return;\n    }" (if "if") (parenthesized_expression "(puVar2 == (undefined1 *)0x0)" (( "(") (binary_expression "puVar2 == (undefined1 *)0x0" (identifier "puVar2") (== "==") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "bVar1 = puVar2[1];" (assignment_expression "bVar1 = puVar2[1]" (identifier "bVar1") (= "=") (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

/* DWARF original prototype: void invalidateIncrblobCursors(Btree * pBtree, Pgno pgnoRoot, i64 iRow,
   int isClearTable, Btree * pBtree) */

void function_1
               (type_1 *pBtree,type_2 pgnoRoot,type_3 iRow,int var_3,type_1 *pBtree_1)

{
  type_4 var_2;
  type_5 *p;
  type_6 *var_1;
  int var_4;
  
  *(type_6 *)pgnoRoot = 0;
  var_1 = *(type_6 **)&pBtree->inTrans;
  if (var_1 == (type_6 *)0x0) {
    return;
  }
  var_2 = var_1[1];
  do {
    if (((var_2 & 0x10) == 0) ||
       (*(type_6 *)pgnoRoot = 1, *(int *)(var_1 + 0x40) != var_3)) {
LAB_0002d418:
      var_1 = *(type_6 **)(var_1 + 0x18);
    }
    else {
      if (var_4 == 0) {
        if ((*(int *)(var_1 + 0x20) != iRow._0_4_) || (*(int *)(var_1 + 0x24) != iRow._4_4_))
        goto LAB_0002d418;
        *var_1 = 1;
      }
      else {
        *var_1 = 1;
      }
      var_1 = *(type_6 **)(var_1 + 0x18);
    }
    if (var_1 == (type_6 *)0x0) {
      return;
    }
    var_2 = var_1[1];
  } while( true );
}


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

void MASKED(int param_1,undefined1 *param_2,int param_3,undefined4 param_4,int param_5,
                 int param_6,int param_7)

{
  byte bVar1;
  undefined1 *puVar2;
  
  *param_2 = 0;
  puVar2 = *(undefined1 **)(param_1 + 8);
  if (puVar2 == (undefined1 *)0x0) {
    return;
  }
  bVar1 = puVar2[1];
  do {
    if (((bVar1 & 0x10) == 0) || (*param_2 = 1, *(int *)(puVar2 + 0x40) != param_3)) {
LAB_0002d418:
      puVar2 = *(undefined1 **)(puVar2 + 0x18);
    }
    else {
      if (param_7 == 0) {
        if ((*(int *)(puVar2 + 0x20) != param_5) || (*(int *)(puVar2 + 0x24) != param_6))
        goto LAB_0002d418;
        *puVar2 = 1;
      }
      else {
        *puVar2 = 1;
      }
      puVar2 = *(undefined1 **)(puVar2 + 0x18);
    }
    if (puVar2 == (undefined1 *)0x0) {
      return;
    }
    bVar1 = puVar2[1];
  } while( true );
}

