
void btreeEnterAll(sqlite3 *db)

{
  Btree *p;
  int iVar1;
  u8 uVar2;
  int iVar3;
  
  uVar2 = '\x01';
  iVar1 = db->nDb;
  if (0 < iVar1) {
    iVar3 = 0;
    uVar2 = '\x01';
    do {
      while( true ) {
        p = db->aDb[iVar3].pBt;
        iVar3 = iVar3 + 1;
        if ((p != (Btree *)0x0) && (p->sharable != '\0')) break;
        if (iVar1 <= iVar3) goto LAB_000571d4;
      }
      sqlite3BtreeEnter(p);
      iVar1 = db->nDb;
      uVar2 = '\0';
    } while (iVar3 < iVar1);
  }
LAB_000571d4:
  db->noSharedCache = uVar2;
  return;
}



void FUN_00057140(int param_1)

{
  undefined1 uVar1;
  int iVar2;
  int iVar3;
  undefined1 uVar4;
  int iVar5;
  
  uVar4 = 1;
  iVar3 = *(int *)(param_1 + 0x14);
  if (0 < iVar3) {
    iVar5 = 0;
    uVar1 = 1;
    do {
      while( true ) {
        uVar4 = uVar1;
        iVar2 = *(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4);
        iVar5 = iVar5 + 1;
        if ((iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0')) break;
        uVar1 = uVar4;
        if (iVar3 <= iVar5) goto LAB_000571d4;
      }
      FUN_00057108();
      iVar3 = *(int *)(param_1 + 0x14);
      uVar4 = 0;
      uVar1 = 0;
    } while (iVar5 < iVar3);
  }
LAB_000571d4:
  *(undefined1 *)(param_1 + 0x59) = uVar4;
  return;
}


lui gp,0x14
addiu gp,gp,0x17e0
addu gp,gp,t9
addiu sp,sp,-0x28
li a2,0x1
sw s1,0x1c(sp)
sw gp,0x10(sp)
sw ra,0x24(sp)
sw s2,0x20(sp)
sw s0,0x18(sp)
lw a1,0x14(a0)
blez a1,0x000571d4
_or s1,a0,zero
lw s2,-0x7d78(gp)
or s0,zero,zero
b 0x00057190
_addiu s2,s2,0x7108
slt v0,s0,a1
beq v0,zero,0x000571d0
_nop
lw v1,0x10(s1)
sll v0,s0,0x4
addu v0,v1,v0
lw a0,0x4(v0)
beq a0,zero,0x00057184
_addiu s0,s0,0x1
lbu v0,0x9(a0)
beq v0,zero,0x00057188
_slt v0,s0,a1
or t9,s2,zero
bal 0x00057108
_nop
lw a1,0x14(s1)
slt v0,s0,a1
bne v0,zero,0x00057190
_or a2,zero,zero
andi a2,a2,0xff
sb a2,0x59(s1)
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "void FUN_00057140(int param_1)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined1 uVar4;\n  int iVar5;\n  \n  uVar4 = 1;\n  iVar3 = *(int *)(param_1 + 0x14);\n  if (0 < iVar3) {\n    iVar5 = 0;\n    uVar1 = 1;\n    do {\n      while( true ) {\n        uVar4 = uVar1;\n        iVar2 = *(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4);\n        iVar5 = iVar5 + 1;\n        if ((iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0')) break;\n        uVar1 = uVar4;\n        if (iVar3 <= iVar5) goto LAB_000571d4;\n      }\n      FUN_00057108();\n      iVar3 = *(int *)(param_1 + 0x14);\n      uVar4 = 0;\n      uVar1 = 0;\n    } while (iVar5 < iVar3);\n  }\nLAB_000571d4:\n  *(undefined1 *)(param_1 + 0x59) = uVar4;\n  return;\n}\n\n" (function_definition "void FUN_00057140(int param_1)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined1 uVar4;\n  int iVar5;\n  \n  uVar4 = 1;\n  iVar3 = *(int *)(param_1 + 0x14);\n  if (0 < iVar3) {\n    iVar5 = 0;\n    uVar1 = 1;\n    do {\n      while( true ) {\n        uVar4 = uVar1;\n        iVar2 = *(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4);\n        iVar5 = iVar5 + 1;\n        if ((iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0')) break;\n        uVar1 = uVar4;\n        if (iVar3 <= iVar5) goto LAB_000571d4;\n      }\n      FUN_00057108();\n      iVar3 = *(int *)(param_1 + 0x14);\n      uVar4 = 0;\n      uVar1 = 0;\n    } while (iVar5 < iVar3);\n  }\nLAB_000571d4:\n  *(undefined1 *)(param_1 + 0x59) = uVar4;\n  return;\n}" primitive_type (function_declarator "FUN_00057140(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined1 uVar4;\n  int iVar5;\n  \n  uVar4 = 1;\n  iVar3 = *(int *)(param_1 + 0x14);\n  if (0 < iVar3) {\n    iVar5 = 0;\n    uVar1 = 1;\n    do {\n      while( true ) {\n        uVar4 = uVar1;\n        iVar2 = *(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4);\n        iVar5 = iVar5 + 1;\n        if ((iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0')) break;\n        uVar1 = uVar4;\n        if (iVar3 <= iVar5) goto LAB_000571d4;\n      }\n      FUN_00057108();\n      iVar3 = *(int *)(param_1 + 0x14);\n      uVar4 = 0;\n      uVar1 = 0;\n    } while (iVar5 < iVar3);\n  }\nLAB_000571d4:\n  *(undefined1 *)(param_1 + 0x59) = uVar4;\n  return;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined1 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x14)" identifier = (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (0 < iVar3) {\n    iVar5 = 0;\n    uVar1 = 1;\n    do {\n      while( true ) {\n        uVar4 = uVar1;\n        iVar2 = *(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4);\n        iVar5 = iVar5 + 1;\n        if ((iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0')) break;\n        uVar1 = uVar4;\n        if (iVar3 <= iVar5) goto LAB_000571d4;\n      }\n      FUN_00057108();\n      iVar3 = *(int *)(param_1 + 0x14);\n      uVar4 = 0;\n      uVar1 = 0;\n    } while (iVar5 < iVar3);\n  }" if (parenthesized_expression "(0 < iVar3)" ( (binary_expression "0 < iVar3" number_literal < identifier) )) (compound_statement "{\n    iVar5 = 0;\n    uVar1 = 1;\n    do {\n      while( true ) {\n        uVar4 = uVar1;\n        iVar2 = *(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4);\n        iVar5 = iVar5 + 1;\n        if ((iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0')) break;\n        uVar1 = uVar4;\n        if (iVar3 <= iVar5) goto LAB_000571d4;\n      }\n      FUN_00057108();\n      iVar3 = *(int *)(param_1 + 0x14);\n      uVar4 = 0;\n      uVar1 = 0;\n    } while (iVar5 < iVar3);\n  }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;) (do_statement "do {\n      while( true ) {\n        uVar4 = uVar1;\n        iVar2 = *(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4);\n        iVar5 = iVar5 + 1;\n        if ((iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0')) break;\n        uVar1 = uVar4;\n        if (iVar3 <= iVar5) goto LAB_000571d4;\n      }\n      FUN_00057108();\n      iVar3 = *(int *)(param_1 + 0x14);\n      uVar4 = 0;\n      uVar1 = 0;\n    } while (iVar5 < iVar3);" do (compound_statement "{\n      while( true ) {\n        uVar4 = uVar1;\n        iVar2 = *(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4);\n        iVar5 = iVar5 + 1;\n        if ((iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0')) break;\n        uVar1 = uVar4;\n        if (iVar3 <= iVar5) goto LAB_000571d4;\n      }\n      FUN_00057108();\n      iVar3 = *(int *)(param_1 + 0x14);\n      uVar4 = 0;\n      uVar1 = 0;\n    }" { (while_statement "while( true ) {\n        uVar4 = uVar1;\n        iVar2 = *(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4);\n        iVar5 = iVar5 + 1;\n        if ((iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0')) break;\n        uVar1 = uVar4;\n        if (iVar3 <= iVar5) goto LAB_000571d4;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        uVar4 = uVar1;\n        iVar2 = *(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4);\n        iVar5 = iVar5 + 1;\n        if ((iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0')) break;\n        uVar1 = uVar4;\n        if (iVar3 <= iVar5) goto LAB_000571d4;\n      }" { (expression_statement "uVar4 = uVar1;" (assignment_expression "uVar4 = uVar1" identifier = identifier) ;) (expression_statement "iVar2 = *(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4);" (assignment_expression "iVar2 = *(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4)" * (cast_expression "(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4)" ( (binary_expression "*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4" (binary_expression "*(int *)(param_1 + 0x10) + iVar5 * 0x10" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) + (binary_expression "iVar5 * 0x10" identifier * number_literal)) + number_literal) ))))) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (if_statement "if ((iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0')) break;" if (parenthesized_expression "((iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0'))" ( (binary_expression "(iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0')" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(char *)(iVar2 + 9) != '\0')" ( (binary_expression "*(char *)(iVar2 + 9) != '\0'" (pointer_expression "*(char *)(iVar2 + 9)" * (cast_expression "(char *)(iVar2 + 9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 9)" ( (binary_expression "iVar2 + 9" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (break_statement "break;" break ;)) (expression_statement "uVar1 = uVar4;" (assignment_expression "uVar1 = uVar4" identifier = identifier) ;) (if_statement "if (iVar3 <= iVar5) goto LAB_000571d4;" if (parenthesized_expression "(iVar3 <= iVar5)" ( (binary_expression "iVar3 <= iVar5" identifier <= identifier) )) (goto_statement "goto LAB_000571d4;" goto statement_identifier ;)) })) (expression_statement "FUN_00057108();" (call_expression "FUN_00057108()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x14)" identifier = (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) }) while (parenthesized_expression "(iVar5 < iVar3)" ( (binary_expression "iVar5 < iVar3" identifier < identifier) )) ;) })) (labeled_statement "LAB_000571d4:\n  *(undefined1 *)(param_1 + 0x59) = uVar4;" statement_identifier : (expression_statement "*(undefined1 *)(param_1 + 0x59) = uVar4;" (assignment_expression "*(undefined1 *)(param_1 + 0x59) = uVar4" (pointer_expression "*(undefined1 *)(param_1 + 0x59)" * (cast_expression "(undefined1 *)(param_1 + 0x59)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x59)" ( (binary_expression "param_1 + 0x59" identifier + number_literal) )))) = identifier) ;)) (return_statement "return;" return ;) })))
(translation_unit "void btreeEnterAll(sqlite3 *db)\n\n{\n  Btree *p;\n  int iVar1;\n  u8 uVar2;\n  int iVar3;\n  \n  uVar2 = '\x01';\n  iVar1 = db->nDb;\n  if (0 < iVar1) {\n    iVar3 = 0;\n    uVar2 = '\x01';\n    do {\n      while( true ) {\n        p = db->aDb[iVar3].pBt;\n        iVar3 = iVar3 + 1;\n        if ((p != (Btree *)0x0) && (p->sharable != '\0')) break;\n        if (iVar1 <= iVar3) goto LAB_000571d4;\n      }\n      sqlite3BtreeEnter(p);\n      iVar1 = db->nDb;\n      uVar2 = '\0';\n    } while (iVar3 < iVar1);\n  }\nLAB_000571d4:\n  db->noSharedCache = uVar2;\n  return;\n}\n\n" (function_definition "void btreeEnterAll(sqlite3 *db)\n\n{\n  Btree *p;\n  int iVar1;\n  u8 uVar2;\n  int iVar3;\n  \n  uVar2 = '\x01';\n  iVar1 = db->nDb;\n  if (0 < iVar1) {\n    iVar3 = 0;\n    uVar2 = '\x01';\n    do {\n      while( true ) {\n        p = db->aDb[iVar3].pBt;\n        iVar3 = iVar3 + 1;\n        if ((p != (Btree *)0x0) && (p->sharable != '\0')) break;\n        if (iVar1 <= iVar3) goto LAB_000571d4;\n      }\n      sqlite3BtreeEnter(p);\n      iVar1 = db->nDb;\n      uVar2 = '\0';\n    } while (iVar3 < iVar1);\n  }\nLAB_000571d4:\n  db->noSharedCache = uVar2;\n  return;\n}" primitive_type (function_declarator "btreeEnterAll(sqlite3 *db)" identifier (parameter_list "(sqlite3 *db)" ( (parameter_declaration "sqlite3 *db" type_identifier (pointer_declarator "*db" * identifier)) ))) (compound_statement "{\n  Btree *p;\n  int iVar1;\n  u8 uVar2;\n  int iVar3;\n  \n  uVar2 = '\x01';\n  iVar1 = db->nDb;\n  if (0 < iVar1) {\n    iVar3 = 0;\n    uVar2 = '\x01';\n    do {\n      while( true ) {\n        p = db->aDb[iVar3].pBt;\n        iVar3 = iVar3 + 1;\n        if ((p != (Btree *)0x0) && (p->sharable != '\0')) break;\n        if (iVar1 <= iVar3) goto LAB_000571d4;\n      }\n      sqlite3BtreeEnter(p);\n      iVar1 = db->nDb;\n      uVar2 = '\0';\n    } while (iVar3 < iVar1);\n  }\nLAB_000571d4:\n  db->noSharedCache = uVar2;\n  return;\n}" { (declaration "Btree *p;" type_identifier (pointer_declarator "*p" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "u8 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "uVar2 = '\x01';" (assignment_expression "uVar2 = '\x01'" identifier = (char_literal "'\x01'" ' escape_sequence ')) ;) (expression_statement "iVar1 = db->nDb;" (assignment_expression "iVar1 = db->nDb" identifier = (field_expression "db->nDb" identifier -> field_identifier)) ;) (if_statement "if (0 < iVar1) {\n    iVar3 = 0;\n    uVar2 = '\x01';\n    do {\n      while( true ) {\n        p = db->aDb[iVar3].pBt;\n        iVar3 = iVar3 + 1;\n        if ((p != (Btree *)0x0) && (p->sharable != '\0')) break;\n        if (iVar1 <= iVar3) goto LAB_000571d4;\n      }\n      sqlite3BtreeEnter(p);\n      iVar1 = db->nDb;\n      uVar2 = '\0';\n    } while (iVar3 < iVar1);\n  }" if (parenthesized_expression "(0 < iVar1)" ( (binary_expression "0 < iVar1" number_literal < identifier) )) (compound_statement "{\n    iVar3 = 0;\n    uVar2 = '\x01';\n    do {\n      while( true ) {\n        p = db->aDb[iVar3].pBt;\n        iVar3 = iVar3 + 1;\n        if ((p != (Btree *)0x0) && (p->sharable != '\0')) break;\n        if (iVar1 <= iVar3) goto LAB_000571d4;\n      }\n      sqlite3BtreeEnter(p);\n      iVar1 = db->nDb;\n      uVar2 = '\0';\n    } while (iVar3 < iVar1);\n  }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "uVar2 = '\x01';" (assignment_expression "uVar2 = '\x01'" identifier = (char_literal "'\x01'" ' escape_sequence ')) ;) (do_statement "do {\n      while( true ) {\n        p = db->aDb[iVar3].pBt;\n        iVar3 = iVar3 + 1;\n        if ((p != (Btree *)0x0) && (p->sharable != '\0')) break;\n        if (iVar1 <= iVar3) goto LAB_000571d4;\n      }\n      sqlite3BtreeEnter(p);\n      iVar1 = db->nDb;\n      uVar2 = '\0';\n    } while (iVar3 < iVar1);" do (compound_statement "{\n      while( true ) {\n        p = db->aDb[iVar3].pBt;\n        iVar3 = iVar3 + 1;\n        if ((p != (Btree *)0x0) && (p->sharable != '\0')) break;\n        if (iVar1 <= iVar3) goto LAB_000571d4;\n      }\n      sqlite3BtreeEnter(p);\n      iVar1 = db->nDb;\n      uVar2 = '\0';\n    }" { (while_statement "while( true ) {\n        p = db->aDb[iVar3].pBt;\n        iVar3 = iVar3 + 1;\n        if ((p != (Btree *)0x0) && (p->sharable != '\0')) break;\n        if (iVar1 <= iVar3) goto LAB_000571d4;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        p = db->aDb[iVar3].pBt;\n        iVar3 = iVar3 + 1;\n        if ((p != (Btree *)0x0) && (p->sharable != '\0')) break;\n        if (iVar1 <= iVar3) goto LAB_000571d4;\n      }" { (expression_statement "p = db->aDb[iVar3].pBt;" (assignment_expression "p = db->aDb[iVar3].pBt" identifier = (field_expression "db->aDb[iVar3].pBt" (subscript_expression "db->aDb[iVar3]" (field_expression "db->aDb" identifier -> field_identifier) [ identifier ]) . field_identifier)) ;) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (if_statement "if ((p != (Btree *)0x0) && (p->sharable != '\0')) break;" if (parenthesized_expression "((p != (Btree *)0x0) && (p->sharable != '\0'))" ( (binary_expression "(p != (Btree *)0x0) && (p->sharable != '\0')" (parenthesized_expression "(p != (Btree *)0x0)" ( (binary_expression "p != (Btree *)0x0" identifier != (cast_expression "(Btree *)0x0" ( (type_descriptor "Btree *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(p->sharable != '\0')" ( (binary_expression "p->sharable != '\0'" (field_expression "p->sharable" identifier -> field_identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (break_statement "break;" break ;)) (if_statement "if (iVar1 <= iVar3) goto LAB_000571d4;" if (parenthesized_expression "(iVar1 <= iVar3)" ( (binary_expression "iVar1 <= iVar3" identifier <= identifier) )) (goto_statement "goto LAB_000571d4;" goto statement_identifier ;)) })) (expression_statement "sqlite3BtreeEnter(p);" (call_expression "sqlite3BtreeEnter(p)" identifier (argument_list "(p)" ( identifier ))) ;) (expression_statement "iVar1 = db->nDb;" (assignment_expression "iVar1 = db->nDb" identifier = (field_expression "db->nDb" identifier -> field_identifier)) ;) (expression_statement "uVar2 = '\0';" (assignment_expression "uVar2 = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) }) while (parenthesized_expression "(iVar3 < iVar1)" ( (binary_expression "iVar3 < iVar1" identifier < identifier) )) ;) })) (labeled_statement "LAB_000571d4:\n  db->noSharedCache = uVar2;" statement_identifier : (expression_statement "db->noSharedCache = uVar2;" (assignment_expression "db->noSharedCache = uVar2" (field_expression "db->noSharedCache" identifier -> field_identifier) = identifier) ;)) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00057140(int param_1)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined1 uVar4;\n  int iVar5;\n  \n  uVar4 = 1;\n  iVar3 = *(int *)(param_1 + 0x14);\n  if (0 < iVar3) {\n    iVar5 = 0;\n    uVar1 = 1;\n    do {\n      while( true ) {\n        uVar4 = uVar1;\n        iVar2 = *(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4);\n        iVar5 = iVar5 + 1;\n        if ((iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0')) break;\n        uVar1 = uVar4;\n        if (iVar3 <= iVar5) goto LAB_000571d4;\n      }\n      FUN_00057108();\n      iVar3 = *(int *)(param_1 + 0x14);\n      uVar4 = 0;\n      uVar1 = 0;\n    } while (iVar5 < iVar3);\n  }\nLAB_000571d4:\n  *(undefined1 *)(param_1 + 0x59) = uVar4;\n  return;\n}\n\n" (function_definition "void FUN_00057140(int param_1)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined1 uVar4;\n  int iVar5;\n  \n  uVar4 = 1;\n  iVar3 = *(int *)(param_1 + 0x14);\n  if (0 < iVar3) {\n    iVar5 = 0;\n    uVar1 = 1;\n    do {\n      while( true ) {\n        uVar4 = uVar1;\n        iVar2 = *(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4);\n        iVar5 = iVar5 + 1;\n        if ((iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0')) break;\n        uVar1 = uVar4;\n        if (iVar3 <= iVar5) goto LAB_000571d4;\n      }\n      FUN_00057108();\n      iVar3 = *(int *)(param_1 + 0x14);\n      uVar4 = 0;\n      uVar1 = 0;\n    } while (iVar5 < iVar3);\n  }\nLAB_000571d4:\n  *(undefined1 *)(param_1 + 0x59) = uVar4;\n  return;\n}" primitive_type (function_declarator "FUN_00057140(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined1 uVar4;\n  int iVar5;\n  \n  uVar4 = 1;\n  iVar3 = *(int *)(param_1 + 0x14);\n  if (0 < iVar3) {\n    iVar5 = 0;\n    uVar1 = 1;\n    do {\n      while( true ) {\n        uVar4 = uVar1;\n        iVar2 = *(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4);\n        iVar5 = iVar5 + 1;\n        if ((iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0')) break;\n        uVar1 = uVar4;\n        if (iVar3 <= iVar5) goto LAB_000571d4;\n      }\n      FUN_00057108();\n      iVar3 = *(int *)(param_1 + 0x14);\n      uVar4 = 0;\n      uVar1 = 0;\n    } while (iVar5 < iVar3);\n  }\nLAB_000571d4:\n  *(undefined1 *)(param_1 + 0x59) = uVar4;\n  return;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined1 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x14)" identifier = (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (0 < iVar3) {\n    iVar5 = 0;\n    uVar1 = 1;\n    do {\n      while( true ) {\n        uVar4 = uVar1;\n        iVar2 = *(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4);\n        iVar5 = iVar5 + 1;\n        if ((iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0')) break;\n        uVar1 = uVar4;\n        if (iVar3 <= iVar5) goto LAB_000571d4;\n      }\n      FUN_00057108();\n      iVar3 = *(int *)(param_1 + 0x14);\n      uVar4 = 0;\n      uVar1 = 0;\n    } while (iVar5 < iVar3);\n  }" if (parenthesized_expression "(0 < iVar3)" ( (binary_expression "0 < iVar3" number_literal < identifier) )) (compound_statement "{\n    iVar5 = 0;\n    uVar1 = 1;\n    do {\n      while( true ) {\n        uVar4 = uVar1;\n        iVar2 = *(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4);\n        iVar5 = iVar5 + 1;\n        if ((iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0')) break;\n        uVar1 = uVar4;\n        if (iVar3 <= iVar5) goto LAB_000571d4;\n      }\n      FUN_00057108();\n      iVar3 = *(int *)(param_1 + 0x14);\n      uVar4 = 0;\n      uVar1 = 0;\n    } while (iVar5 < iVar3);\n  }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;) (do_statement "do {\n      while( true ) {\n        uVar4 = uVar1;\n        iVar2 = *(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4);\n        iVar5 = iVar5 + 1;\n        if ((iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0')) break;\n        uVar1 = uVar4;\n        if (iVar3 <= iVar5) goto LAB_000571d4;\n      }\n      FUN_00057108();\n      iVar3 = *(int *)(param_1 + 0x14);\n      uVar4 = 0;\n      uVar1 = 0;\n    } while (iVar5 < iVar3);" do (compound_statement "{\n      while( true ) {\n        uVar4 = uVar1;\n        iVar2 = *(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4);\n        iVar5 = iVar5 + 1;\n        if ((iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0')) break;\n        uVar1 = uVar4;\n        if (iVar3 <= iVar5) goto LAB_000571d4;\n      }\n      FUN_00057108();\n      iVar3 = *(int *)(param_1 + 0x14);\n      uVar4 = 0;\n      uVar1 = 0;\n    }" { (while_statement "while( true ) {\n        uVar4 = uVar1;\n        iVar2 = *(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4);\n        iVar5 = iVar5 + 1;\n        if ((iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0')) break;\n        uVar1 = uVar4;\n        if (iVar3 <= iVar5) goto LAB_000571d4;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        uVar4 = uVar1;\n        iVar2 = *(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4);\n        iVar5 = iVar5 + 1;\n        if ((iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0')) break;\n        uVar1 = uVar4;\n        if (iVar3 <= iVar5) goto LAB_000571d4;\n      }" { (expression_statement "uVar4 = uVar1;" (assignment_expression "uVar4 = uVar1" identifier = identifier) ;) (expression_statement "iVar2 = *(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4);" (assignment_expression "iVar2 = *(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4)" * (cast_expression "(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4)" ( (binary_expression "*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4" (binary_expression "*(int *)(param_1 + 0x10) + iVar5 * 0x10" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) + (binary_expression "iVar5 * 0x10" identifier * number_literal)) + number_literal) ))))) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (if_statement "if ((iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0')) break;" if (parenthesized_expression "((iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0'))" ( (binary_expression "(iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0')" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(char *)(iVar2 + 9) != '\0')" ( (binary_expression "*(char *)(iVar2 + 9) != '\0'" (pointer_expression "*(char *)(iVar2 + 9)" * (cast_expression "(char *)(iVar2 + 9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 9)" ( (binary_expression "iVar2 + 9" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (break_statement "break;" break ;)) (expression_statement "uVar1 = uVar4;" (assignment_expression "uVar1 = uVar4" identifier = identifier) ;) (if_statement "if (iVar3 <= iVar5) goto LAB_000571d4;" if (parenthesized_expression "(iVar3 <= iVar5)" ( (binary_expression "iVar3 <= iVar5" identifier <= identifier) )) (goto_statement "goto LAB_000571d4;" goto statement_identifier ;)) })) (expression_statement "FUN_00057108();" (call_expression "FUN_00057108()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x14)" identifier = (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) }) while (parenthesized_expression "(iVar5 < iVar3)" ( (binary_expression "iVar5 < iVar3" identifier < identifier) )) ;) })) (labeled_statement "LAB_000571d4:\n  *(undefined1 *)(param_1 + 0x59) = uVar4;" statement_identifier : (expression_statement "*(undefined1 *)(param_1 + 0x59) = uVar4;" (assignment_expression "*(undefined1 *)(param_1 + 0x59) = uVar4" (pointer_expression "*(undefined1 *)(param_1 + 0x59)" * (cast_expression "(undefined1 *)(param_1 + 0x59)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x59)" ( (binary_expression "param_1 + 0x59" identifier + number_literal) )))) = identifier) ;)) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (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) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) ))) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (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 = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;)) (return_statement return ;) })))
(function_definition "void FUN_00057140(int param_1)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined1 uVar4;\n  int iVar5;\n  \n  uVar4 = 1;\n  iVar3 = *(int *)(param_1 + 0x14);\n  if (0 < iVar3) {\n    iVar5 = 0;\n    uVar1 = 1;\n    do {\n      while( true ) {\n        uVar4 = uVar1;\n        iVar2 = *(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4);\n        iVar5 = iVar5 + 1;\n        if ((iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0')) break;\n        uVar1 = uVar4;\n        if (iVar3 <= iVar5) goto LAB_000571d4;\n      }\n      FUN_00057108();\n      iVar3 = *(int *)(param_1 + 0x14);\n      uVar4 = 0;\n      uVar1 = 0;\n    } while (iVar5 < iVar3);\n  }\nLAB_000571d4:\n  *(undefined1 *)(param_1 + 0x59) = uVar4;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00057140(int param_1)" (identifier "FUN_00057140") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined1 uVar4;\n  int iVar5;\n  \n  uVar4 = 1;\n  iVar3 = *(int *)(param_1 + 0x14);\n  if (0 < iVar3) {\n    iVar5 = 0;\n    uVar1 = 1;\n    do {\n      while( true ) {\n        uVar4 = uVar1;\n        iVar2 = *(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4);\n        iVar5 = iVar5 + 1;\n        if ((iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0')) break;\n        uVar1 = uVar4;\n        if (iVar3 <= iVar5) goto LAB_000571d4;\n      }\n      FUN_00057108();\n      iVar3 = *(int *)(param_1 + 0x14);\n      uVar4 = 0;\n      uVar1 = 0;\n    } while (iVar5 < iVar3);\n  }\nLAB_000571d4:\n  *(undefined1 *)(param_1 + 0x59) = uVar4;\n  return;\n}" ({ "{") (declaration "undefined1 uVar1;" (type_identifier "undefined1") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined1 uVar4;" (type_identifier "undefined1") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" (identifier "uVar4") (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar3 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x14)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0x14)" (* "*") (cast_expression "(int *)(param_1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (0 < iVar3) {\n    iVar5 = 0;\n    uVar1 = 1;\n    do {\n      while( true ) {\n        uVar4 = uVar1;\n        iVar2 = *(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4);\n        iVar5 = iVar5 + 1;\n        if ((iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0')) break;\n        uVar1 = uVar4;\n        if (iVar3 <= iVar5) goto LAB_000571d4;\n      }\n      FUN_00057108();\n      iVar3 = *(int *)(param_1 + 0x14);\n      uVar4 = 0;\n      uVar1 = 0;\n    } while (iVar5 < iVar3);\n  }" (if "if") (parenthesized_expression "(0 < iVar3)" (( "(") (binary_expression "0 < iVar3" (number_literal "0") (< "<") (identifier "iVar3")) () ")")) (compound_statement "{\n    iVar5 = 0;\n    uVar1 = 1;\n    do {\n      while( true ) {\n        uVar4 = uVar1;\n        iVar2 = *(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4);\n        iVar5 = iVar5 + 1;\n        if ((iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0')) break;\n        uVar1 = uVar4;\n        if (iVar3 <= iVar5) goto LAB_000571d4;\n      }\n      FUN_00057108();\n      iVar3 = *(int *)(param_1 + 0x14);\n      uVar4 = 0;\n      uVar1 = 0;\n    } while (iVar5 < iVar3);\n  }" ({ "{") (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" (identifier "uVar1") (= "=") (number_literal "1")) (; ";")) (do_statement "do {\n      while( true ) {\n        uVar4 = uVar1;\n        iVar2 = *(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4);\n        iVar5 = iVar5 + 1;\n        if ((iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0')) break;\n        uVar1 = uVar4;\n        if (iVar3 <= iVar5) goto LAB_000571d4;\n      }\n      FUN_00057108();\n      iVar3 = *(int *)(param_1 + 0x14);\n      uVar4 = 0;\n      uVar1 = 0;\n    } while (iVar5 < iVar3);" (do "do") (compound_statement "{\n      while( true ) {\n        uVar4 = uVar1;\n        iVar2 = *(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4);\n        iVar5 = iVar5 + 1;\n        if ((iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0')) break;\n        uVar1 = uVar4;\n        if (iVar3 <= iVar5) goto LAB_000571d4;\n      }\n      FUN_00057108();\n      iVar3 = *(int *)(param_1 + 0x14);\n      uVar4 = 0;\n      uVar1 = 0;\n    }" ({ "{") (while_statement "while( true ) {\n        uVar4 = uVar1;\n        iVar2 = *(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4);\n        iVar5 = iVar5 + 1;\n        if ((iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0')) break;\n        uVar1 = uVar4;\n        if (iVar3 <= iVar5) goto LAB_000571d4;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        uVar4 = uVar1;\n        iVar2 = *(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4);\n        iVar5 = iVar5 + 1;\n        if ((iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0')) break;\n        uVar1 = uVar4;\n        if (iVar3 <= iVar5) goto LAB_000571d4;\n      }" ({ "{") (expression_statement "uVar4 = uVar1;" (assignment_expression "uVar4 = uVar1" (identifier "uVar4") (= "=") (identifier "uVar1")) (; ";")) (expression_statement "iVar2 = *(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4);" (assignment_expression "iVar2 = *(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4)" (( "(") (binary_expression "*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4" (binary_expression "*(int *)(param_1 + 0x10) + iVar5 * 0x10" (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (binary_expression "iVar5 * 0x10" (identifier "iVar5") (* "*") (number_literal "0x10"))) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0')) break;" (if "if") (parenthesized_expression "((iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0'))" (( "(") (binary_expression "(iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0')" (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(char *)(iVar2 + 9) != '\0')" (( "(") (binary_expression "*(char *)(iVar2 + 9) != '\0'" (pointer_expression "*(char *)(iVar2 + 9)" (* "*") (cast_expression "(char *)(iVar2 + 9)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 9)" (( "(") (binary_expression "iVar2 + 9" (identifier "iVar2") (+ "+") (number_literal "9")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar1 = uVar4;" (assignment_expression "uVar1 = uVar4" (identifier "uVar1") (= "=") (identifier "uVar4")) (; ";")) (if_statement "if (iVar3 <= iVar5) goto LAB_000571d4;" (if "if") (parenthesized_expression "(iVar3 <= iVar5)" (( "(") (binary_expression "iVar3 <= iVar5" (identifier "iVar3") (<= "<=") (identifier "iVar5")) () ")")) (goto_statement "goto LAB_000571d4;" (goto "goto") (statement_identifier "LAB_000571d4") (; ";"))) (} "}"))) (expression_statement "FUN_00057108();" (call_expression "FUN_00057108()" (identifier "FUN_00057108") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar3 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x14)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0x14)" (* "*") (cast_expression "(int *)(param_1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar5 < iVar3)" (( "(") (binary_expression "iVar5 < iVar3" (identifier "iVar5") (< "<") (identifier "iVar3")) () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_000571d4:\n  *(undefined1 *)(param_1 + 0x59) = uVar4;" (statement_identifier "LAB_000571d4") (: ":") (expression_statement "*(undefined1 *)(param_1 + 0x59) = uVar4;" (assignment_expression "*(undefined1 *)(param_1 + 0x59) = uVar4" (pointer_expression "*(undefined1 *)(param_1 + 0x59)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x59)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x59)" (( "(") (binary_expression "param_1 + 0x59" (identifier "param_1") (+ "+") (number_literal "0x59")) () ")")))) (= "=") (identifier "uVar4")) (; ";"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) 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: (char_literal (escape_sequence)))))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (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: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))) (return_statement))))

void MASKED(int param_1)

{
  undefined1 uVar1;
  int iVar2;
  int iVar3;
  undefined1 uVar4;
  int iVar5;
  
  uVar4 = 1;
  iVar3 = *(int *)(param_1 + 0x14);
  if (0 < iVar3) {
    iVar5 = 0;
    uVar1 = 1;
    do {
      while( true ) {
        uVar4 = uVar1;
        iVar2 = *(int *)(*(int *)(param_1 + 0x10) + iVar5 * 0x10 + 4);
        iVar5 = iVar5 + 1;
        if ((iVar2 != 0) && (*(char *)(iVar2 + 9) != '\0')) break;
        uVar1 = uVar4;
        if (iVar3 <= iVar5) goto LAB_000571d4;
      }
      FUN_00057108();
      iVar3 = *(int *)(param_1 + 0x14);
      uVar4 = 0;
      uVar1 = 0;
    } while (iVar5 < iVar3);
  }
LAB_000571d4:
  *(undefined1 *)(param_1 + 0x59) = uVar4;
  return;
}

