
void fts5SegIterInit(Fts5Index *p,Fts5StructureSegment *pSeg,Fts5SegIter *pIter)

{
  int in_t9;
  
  if ((pSeg->pgnoFirst != 0) && (p->rc == 0)) {
    (**(code **)(in_t9 + 0x4b0e8))(pIter,0,0x58);
    if ((pIter->flags & 2U) == 0) {
      if (p->pConfig->eDetail == 1) {
        pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)
                       (*(int *)(in_t9 + 0x4af60) + 0x5f4);
      }
      else {
        pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)
                       (*(int *)(in_t9 + 0x4af60) + 0x10c);
      }
    }
    else {
      pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)
                     (*(int *)(in_t9 + 0x4af60) + 0x36ac);
    }
    pIter->pSeg = pSeg;
    pIter->iLeafPgno = pSeg->pgnoFirst + -1;
    fts5SegIterNextPage(p,pIter);
    if (p->rc == 0) {
      pIter->iLeafOffset = 4;
      pIter->iPgidxOff = pIter->pLeaf->szLeaf + 1;
      fts5SegIterLoadTerm(p,pIter,0);
      if (p->rc == 0) {
                    /* WARNING: Could not recover jumptable at 0x001109e8. Too many branches */
                    /* WARNING: Treating indirect jump as call */
        (*(code *)(*(int *)(in_t9 + 0x4adf4) + 0x320c))(p->pConfig,pIter);
        return;
      }
    }
    return;
  }
  return;
}



void FUN_001108cc(int *param_1,int param_2,int *param_3)

{
  if ((*(int *)(param_2 + 4) != 0) && (param_1[9] == 0)) {
    (*(code *)PTR_memset_0015b9b4)(param_3,0,0x58);
    if ((param_3[1] & 2U) == 0) {
      if (*(int *)(*param_1 + 0x30) == 1) {
        param_3[6] = (int)(PTR_LAB_0015b82c + 0x5f4);
      }
      else {
        param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c);
      }
    }
    else {
      param_3[6] = (int)(PTR_LAB_0015b82c + 0x36ac);
    }
    *param_3 = param_2;
    param_3[2] = *(int *)(param_2 + 4) + -1;
    FUN_0010fd9c(param_1,param_3);
    if (param_1[9] == 0) {
      param_3[5] = 4;
      param_3[9] = *(int *)(param_3[3] + 8) + 1;
      FUN_0010ff78(param_1,param_3,0);
      if (param_1[9] == 0) {
        (*(code *)(PTR_LAB_0015b6c0 + 0x320c))(*param_1,param_3);
        return;
      }
    }
    return;
  }
  return;
}


lui gp,0x5
addiu gp,gp,0x2ce4
addu gp,gp,t9
lw v0,0x4(a1)
beq v0,zero,0x001108f0
_nop
lw v0,0x24(a0)
beq v0,zero,0x001108f8
_nop
jr ra
_nop
(translation_unit "void FUN_001108cc(int *param_1,int param_2,int *param_3)\n\n{\n  if ((*(int *)(param_2 + 4) != 0) && (param_1[9] == 0)) {\n    (*(code *)PTR_memset_0015b9b4)(param_3,0,0x58);\n    if ((param_3[1] & 2U) == 0) {\n      if (*(int *)(*param_1 + 0x30) == 1) {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x5f4);\n      }\n      else {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c);\n      }\n    }\n    else {\n      param_3[6] = (int)(PTR_LAB_0015b82c + 0x36ac);\n    }\n    *param_3 = param_2;\n    param_3[2] = *(int *)(param_2 + 4) + -1;\n    FUN_0010fd9c(param_1,param_3);\n    if (param_1[9] == 0) {\n      param_3[5] = 4;\n      param_3[9] = *(int *)(param_3[3] + 8) + 1;\n      FUN_0010ff78(param_1,param_3,0);\n      if (param_1[9] == 0) {\n        (*(code *)(PTR_LAB_0015b6c0 + 0x320c))(*param_1,param_3);\n        return;\n      }\n    }\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_001108cc(int *param_1,int param_2,int *param_3)\n\n{\n  if ((*(int *)(param_2 + 4) != 0) && (param_1[9] == 0)) {\n    (*(code *)PTR_memset_0015b9b4)(param_3,0,0x58);\n    if ((param_3[1] & 2U) == 0) {\n      if (*(int *)(*param_1 + 0x30) == 1) {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x5f4);\n      }\n      else {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c);\n      }\n    }\n    else {\n      param_3[6] = (int)(PTR_LAB_0015b82c + 0x36ac);\n    }\n    *param_3 = param_2;\n    param_3[2] = *(int *)(param_2 + 4) + -1;\n    FUN_0010fd9c(param_1,param_3);\n    if (param_1[9] == 0) {\n      param_3[5] = 4;\n      param_3[9] = *(int *)(param_3[3] + 8) + 1;\n      FUN_0010ff78(param_1,param_3,0);\n      if (param_1[9] == 0) {\n        (*(code *)(PTR_LAB_0015b6c0 + 0x320c))(*param_1,param_3);\n        return;\n      }\n    }\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001108cc(int *param_1,int param_2,int *param_3)" identifier (parameter_list "(int *param_1,int param_2,int *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  if ((*(int *)(param_2 + 4) != 0) && (param_1[9] == 0)) {\n    (*(code *)PTR_memset_0015b9b4)(param_3,0,0x58);\n    if ((param_3[1] & 2U) == 0) {\n      if (*(int *)(*param_1 + 0x30) == 1) {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x5f4);\n      }\n      else {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c);\n      }\n    }\n    else {\n      param_3[6] = (int)(PTR_LAB_0015b82c + 0x36ac);\n    }\n    *param_3 = param_2;\n    param_3[2] = *(int *)(param_2 + 4) + -1;\n    FUN_0010fd9c(param_1,param_3);\n    if (param_1[9] == 0) {\n      param_3[5] = 4;\n      param_3[9] = *(int *)(param_3[3] + 8) + 1;\n      FUN_0010ff78(param_1,param_3,0);\n      if (param_1[9] == 0) {\n        (*(code *)(PTR_LAB_0015b6c0 + 0x320c))(*param_1,param_3);\n        return;\n      }\n    }\n    return;\n  }\n  return;\n}" { (if_statement "if ((*(int *)(param_2 + 4) != 0) && (param_1[9] == 0)) {\n    (*(code *)PTR_memset_0015b9b4)(param_3,0,0x58);\n    if ((param_3[1] & 2U) == 0) {\n      if (*(int *)(*param_1 + 0x30) == 1) {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x5f4);\n      }\n      else {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c);\n      }\n    }\n    else {\n      param_3[6] = (int)(PTR_LAB_0015b82c + 0x36ac);\n    }\n    *param_3 = param_2;\n    param_3[2] = *(int *)(param_2 + 4) + -1;\n    FUN_0010fd9c(param_1,param_3);\n    if (param_1[9] == 0) {\n      param_3[5] = 4;\n      param_3[9] = *(int *)(param_3[3] + 8) + 1;\n      FUN_0010ff78(param_1,param_3,0);\n      if (param_1[9] == 0) {\n        (*(code *)(PTR_LAB_0015b6c0 + 0x320c))(*param_1,param_3);\n        return;\n      }\n    }\n    return;\n  }" if (parenthesized_expression "((*(int *)(param_2 + 4) != 0) && (param_1[9] == 0))" ( (binary_expression "(*(int *)(param_2 + 4) != 0) && (param_1[9] == 0)" (parenthesized_expression "(*(int *)(param_2 + 4) != 0)" ( (binary_expression "*(int *)(param_2 + 4) != 0" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(param_1[9] == 0)" ( (binary_expression "param_1[9] == 0" (subscript_expression "param_1[9]" identifier [ number_literal ]) == number_literal) ))) )) (compound_statement "{\n    (*(code *)PTR_memset_0015b9b4)(param_3,0,0x58);\n    if ((param_3[1] & 2U) == 0) {\n      if (*(int *)(*param_1 + 0x30) == 1) {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x5f4);\n      }\n      else {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c);\n      }\n    }\n    else {\n      param_3[6] = (int)(PTR_LAB_0015b82c + 0x36ac);\n    }\n    *param_3 = param_2;\n    param_3[2] = *(int *)(param_2 + 4) + -1;\n    FUN_0010fd9c(param_1,param_3);\n    if (param_1[9] == 0) {\n      param_3[5] = 4;\n      param_3[9] = *(int *)(param_3[3] + 8) + 1;\n      FUN_0010ff78(param_1,param_3,0);\n      if (param_1[9] == 0) {\n        (*(code *)(PTR_LAB_0015b6c0 + 0x320c))(*param_1,param_3);\n        return;\n      }\n    }\n    return;\n  }" { (expression_statement "(*(code *)PTR_memset_0015b9b4)(param_3,0,0x58);" (call_expression "(*(code *)PTR_memset_0015b9b4)(param_3,0,0x58)" (parenthesized_expression "(*(code *)PTR_memset_0015b9b4)" ( (pointer_expression "*(code *)PTR_memset_0015b9b4" * (cast_expression "(code *)PTR_memset_0015b9b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,0,0x58)" ( identifier , number_literal , number_literal ))) ;) (if_statement "if ((param_3[1] & 2U) == 0) {\n      if (*(int *)(*param_1 + 0x30) == 1) {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x5f4);\n      }\n      else {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c);\n      }\n    }\n    else {\n      param_3[6] = (int)(PTR_LAB_0015b82c + 0x36ac);\n    }" if (parenthesized_expression "((param_3[1] & 2U) == 0)" ( (binary_expression "(param_3[1] & 2U) == 0" (parenthesized_expression "(param_3[1] & 2U)" ( (binary_expression "param_3[1] & 2U" (subscript_expression "param_3[1]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (compound_statement "{\n      if (*(int *)(*param_1 + 0x30) == 1) {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x5f4);\n      }\n      else {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c);\n      }\n    }" { (if_statement "if (*(int *)(*param_1 + 0x30) == 1) {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x5f4);\n      }\n      else {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c);\n      }" if (parenthesized_expression "(*(int *)(*param_1 + 0x30) == 1)" ( (binary_expression "*(int *)(*param_1 + 0x30) == 1" (pointer_expression "*(int *)(*param_1 + 0x30)" * (cast_expression "(int *)(*param_1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x30)" ( (binary_expression "*param_1 + 0x30" (pointer_expression "*param_1" * identifier) + number_literal) )))) == number_literal) )) (compound_statement "{\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x5f4);\n      }" { (expression_statement "param_3[6] = (int)(PTR_LAB_0015b82c + 0x5f4);" (assignment_expression "param_3[6] = (int)(PTR_LAB_0015b82c + 0x5f4)" (subscript_expression "param_3[6]" identifier [ number_literal ]) = (cast_expression "(int)(PTR_LAB_0015b82c + 0x5f4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(PTR_LAB_0015b82c + 0x5f4)" ( (binary_expression "PTR_LAB_0015b82c + 0x5f4" identifier + number_literal) )))) ;) }) (else_clause "else {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c);\n      }" else (compound_statement "{\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c);\n      }" { (expression_statement "param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c);" (assignment_expression "param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c)" (subscript_expression "param_3[6]" identifier [ number_literal ]) = (cast_expression "(int)(PTR_LAB_0015b82c + 0x10c)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(PTR_LAB_0015b82c + 0x10c)" ( (binary_expression "PTR_LAB_0015b82c + 0x10c" identifier + number_literal) )))) ;) }))) }) (else_clause "else {\n      param_3[6] = (int)(PTR_LAB_0015b82c + 0x36ac);\n    }" else (compound_statement "{\n      param_3[6] = (int)(PTR_LAB_0015b82c + 0x36ac);\n    }" { (expression_statement "param_3[6] = (int)(PTR_LAB_0015b82c + 0x36ac);" (assignment_expression "param_3[6] = (int)(PTR_LAB_0015b82c + 0x36ac)" (subscript_expression "param_3[6]" identifier [ number_literal ]) = (cast_expression "(int)(PTR_LAB_0015b82c + 0x36ac)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(PTR_LAB_0015b82c + 0x36ac)" ( (binary_expression "PTR_LAB_0015b82c + 0x36ac" identifier + number_literal) )))) ;) }))) (expression_statement "*param_3 = param_2;" (assignment_expression "*param_3 = param_2" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "param_3[2] = *(int *)(param_2 + 4) + -1;" (assignment_expression "param_3[2] = *(int *)(param_2 + 4) + -1" (subscript_expression "param_3[2]" identifier [ number_literal ]) = (binary_expression "*(int *)(param_2 + 4) + -1" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "FUN_0010fd9c(param_1,param_3);" (call_expression "FUN_0010fd9c(param_1,param_3)" identifier (argument_list "(param_1,param_3)" ( identifier , identifier ))) ;) (if_statement "if (param_1[9] == 0) {\n      param_3[5] = 4;\n      param_3[9] = *(int *)(param_3[3] + 8) + 1;\n      FUN_0010ff78(param_1,param_3,0);\n      if (param_1[9] == 0) {\n        (*(code *)(PTR_LAB_0015b6c0 + 0x320c))(*param_1,param_3);\n        return;\n      }\n    }" if (parenthesized_expression "(param_1[9] == 0)" ( (binary_expression "param_1[9] == 0" (subscript_expression "param_1[9]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      param_3[5] = 4;\n      param_3[9] = *(int *)(param_3[3] + 8) + 1;\n      FUN_0010ff78(param_1,param_3,0);\n      if (param_1[9] == 0) {\n        (*(code *)(PTR_LAB_0015b6c0 + 0x320c))(*param_1,param_3);\n        return;\n      }\n    }" { (expression_statement "param_3[5] = 4;" (assignment_expression "param_3[5] = 4" (subscript_expression "param_3[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_3[9] = *(int *)(param_3[3] + 8) + 1;" (assignment_expression "param_3[9] = *(int *)(param_3[3] + 8) + 1" (subscript_expression "param_3[9]" identifier [ number_literal ]) = (binary_expression "*(int *)(param_3[3] + 8) + 1" (pointer_expression "*(int *)(param_3[3] + 8)" * (cast_expression "(int *)(param_3[3] + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3[3] + 8)" ( (binary_expression "param_3[3] + 8" (subscript_expression "param_3[3]" identifier [ number_literal ]) + number_literal) )))) + number_literal)) ;) (expression_statement "FUN_0010ff78(param_1,param_3,0);" (call_expression "FUN_0010ff78(param_1,param_3,0)" identifier (argument_list "(param_1,param_3,0)" ( identifier , identifier , number_literal ))) ;) (if_statement "if (param_1[9] == 0) {\n        (*(code *)(PTR_LAB_0015b6c0 + 0x320c))(*param_1,param_3);\n        return;\n      }" if (parenthesized_expression "(param_1[9] == 0)" ( (binary_expression "param_1[9] == 0" (subscript_expression "param_1[9]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        (*(code *)(PTR_LAB_0015b6c0 + 0x320c))(*param_1,param_3);\n        return;\n      }" { (expression_statement "(*(code *)(PTR_LAB_0015b6c0 + 0x320c))(*param_1,param_3);" (call_expression "(*(code *)(PTR_LAB_0015b6c0 + 0x320c))(*param_1,param_3)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6c0 + 0x320c))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6c0 + 0x320c)" * (cast_expression "(code *)(PTR_LAB_0015b6c0 + 0x320c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6c0 + 0x320c)" ( (binary_expression "PTR_LAB_0015b6c0 + 0x320c" identifier + number_literal) )))) )) (argument_list "(*param_1,param_3)" ( (pointer_expression "*param_1" * identifier) , identifier ))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void fts5SegIterInit(Fts5Index *p,Fts5StructureSegment *pSeg,Fts5SegIter *pIter)\n\n{\n  int in_t9;\n  \n  if ((pSeg->pgnoFirst != 0) && (p->rc == 0)) {\n    (**(code **)(in_t9 + 0x4b0e8))(pIter,0,0x58);\n    if ((pIter->flags & 2U) == 0) {\n      if (p->pConfig->eDetail == 1) {\n        pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                       (*(int *)(in_t9 + 0x4af60) + 0x5f4);\n      }\n      else {\n        pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                       (*(int *)(in_t9 + 0x4af60) + 0x10c);\n      }\n    }\n    else {\n      pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                     (*(int *)(in_t9 + 0x4af60) + 0x36ac);\n    }\n    pIter->pSeg = pSeg;\n    pIter->iLeafPgno = pSeg->pgnoFirst + -1;\n    fts5SegIterNextPage(p,pIter);\n    if (p->rc == 0) {\n      pIter->iLeafOffset = 4;\n      pIter->iPgidxOff = pIter->pLeaf->szLeaf + 1;\n      fts5SegIterLoadTerm(p,pIter,0);\n      if (p->rc == 0) {\n                    /* WARNING: Could not recover jumptable at 0x001109e8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)(*(int *)(in_t9 + 0x4adf4) + 0x320c))(p->pConfig,pIter);\n        return;\n      }\n    }\n    return;\n  }\n  return;\n}\n\n" (function_definition "void fts5SegIterInit(Fts5Index *p,Fts5StructureSegment *pSeg,Fts5SegIter *pIter)\n\n{\n  int in_t9;\n  \n  if ((pSeg->pgnoFirst != 0) && (p->rc == 0)) {\n    (**(code **)(in_t9 + 0x4b0e8))(pIter,0,0x58);\n    if ((pIter->flags & 2U) == 0) {\n      if (p->pConfig->eDetail == 1) {\n        pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                       (*(int *)(in_t9 + 0x4af60) + 0x5f4);\n      }\n      else {\n        pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                       (*(int *)(in_t9 + 0x4af60) + 0x10c);\n      }\n    }\n    else {\n      pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                     (*(int *)(in_t9 + 0x4af60) + 0x36ac);\n    }\n    pIter->pSeg = pSeg;\n    pIter->iLeafPgno = pSeg->pgnoFirst + -1;\n    fts5SegIterNextPage(p,pIter);\n    if (p->rc == 0) {\n      pIter->iLeafOffset = 4;\n      pIter->iPgidxOff = pIter->pLeaf->szLeaf + 1;\n      fts5SegIterLoadTerm(p,pIter,0);\n      if (p->rc == 0) {\n                    /* WARNING: Could not recover jumptable at 0x001109e8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)(*(int *)(in_t9 + 0x4adf4) + 0x320c))(p->pConfig,pIter);\n        return;\n      }\n    }\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "fts5SegIterInit(Fts5Index *p,Fts5StructureSegment *pSeg,Fts5SegIter *pIter)" identifier (parameter_list "(Fts5Index *p,Fts5StructureSegment *pSeg,Fts5SegIter *pIter)" ( (parameter_declaration "Fts5Index *p" type_identifier (pointer_declarator "*p" * identifier)) , (parameter_declaration "Fts5StructureSegment *pSeg" type_identifier (pointer_declarator "*pSeg" * identifier)) , (parameter_declaration "Fts5SegIter *pIter" type_identifier (pointer_declarator "*pIter" * identifier)) ))) (compound_statement "{\n  int in_t9;\n  \n  if ((pSeg->pgnoFirst != 0) && (p->rc == 0)) {\n    (**(code **)(in_t9 + 0x4b0e8))(pIter,0,0x58);\n    if ((pIter->flags & 2U) == 0) {\n      if (p->pConfig->eDetail == 1) {\n        pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                       (*(int *)(in_t9 + 0x4af60) + 0x5f4);\n      }\n      else {\n        pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                       (*(int *)(in_t9 + 0x4af60) + 0x10c);\n      }\n    }\n    else {\n      pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                     (*(int *)(in_t9 + 0x4af60) + 0x36ac);\n    }\n    pIter->pSeg = pSeg;\n    pIter->iLeafPgno = pSeg->pgnoFirst + -1;\n    fts5SegIterNextPage(p,pIter);\n    if (p->rc == 0) {\n      pIter->iLeafOffset = 4;\n      pIter->iPgidxOff = pIter->pLeaf->szLeaf + 1;\n      fts5SegIterLoadTerm(p,pIter,0);\n      if (p->rc == 0) {\n                    /* WARNING: Could not recover jumptable at 0x001109e8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)(*(int *)(in_t9 + 0x4adf4) + 0x320c))(p->pConfig,pIter);\n        return;\n      }\n    }\n    return;\n  }\n  return;\n}" { (declaration "int in_t9;" primitive_type identifier ;) (if_statement "if ((pSeg->pgnoFirst != 0) && (p->rc == 0)) {\n    (**(code **)(in_t9 + 0x4b0e8))(pIter,0,0x58);\n    if ((pIter->flags & 2U) == 0) {\n      if (p->pConfig->eDetail == 1) {\n        pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                       (*(int *)(in_t9 + 0x4af60) + 0x5f4);\n      }\n      else {\n        pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                       (*(int *)(in_t9 + 0x4af60) + 0x10c);\n      }\n    }\n    else {\n      pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                     (*(int *)(in_t9 + 0x4af60) + 0x36ac);\n    }\n    pIter->pSeg = pSeg;\n    pIter->iLeafPgno = pSeg->pgnoFirst + -1;\n    fts5SegIterNextPage(p,pIter);\n    if (p->rc == 0) {\n      pIter->iLeafOffset = 4;\n      pIter->iPgidxOff = pIter->pLeaf->szLeaf + 1;\n      fts5SegIterLoadTerm(p,pIter,0);\n      if (p->rc == 0) {\n                    /* WARNING: Could not recover jumptable at 0x001109e8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)(*(int *)(in_t9 + 0x4adf4) + 0x320c))(p->pConfig,pIter);\n        return;\n      }\n    }\n    return;\n  }" if (parenthesized_expression "((pSeg->pgnoFirst != 0) && (p->rc == 0))" ( (binary_expression "(pSeg->pgnoFirst != 0) && (p->rc == 0)" (parenthesized_expression "(pSeg->pgnoFirst != 0)" ( (binary_expression "pSeg->pgnoFirst != 0" (field_expression "pSeg->pgnoFirst" identifier -> field_identifier) != number_literal) )) && (parenthesized_expression "(p->rc == 0)" ( (binary_expression "p->rc == 0" (field_expression "p->rc" identifier -> field_identifier) == number_literal) ))) )) (compound_statement "{\n    (**(code **)(in_t9 + 0x4b0e8))(pIter,0,0x58);\n    if ((pIter->flags & 2U) == 0) {\n      if (p->pConfig->eDetail == 1) {\n        pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                       (*(int *)(in_t9 + 0x4af60) + 0x5f4);\n      }\n      else {\n        pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                       (*(int *)(in_t9 + 0x4af60) + 0x10c);\n      }\n    }\n    else {\n      pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                     (*(int *)(in_t9 + 0x4af60) + 0x36ac);\n    }\n    pIter->pSeg = pSeg;\n    pIter->iLeafPgno = pSeg->pgnoFirst + -1;\n    fts5SegIterNextPage(p,pIter);\n    if (p->rc == 0) {\n      pIter->iLeafOffset = 4;\n      pIter->iPgidxOff = pIter->pLeaf->szLeaf + 1;\n      fts5SegIterLoadTerm(p,pIter,0);\n      if (p->rc == 0) {\n                    /* WARNING: Could not recover jumptable at 0x001109e8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)(*(int *)(in_t9 + 0x4adf4) + 0x320c))(p->pConfig,pIter);\n        return;\n      }\n    }\n    return;\n  }" { (expression_statement "(**(code **)(in_t9 + 0x4b0e8))(pIter,0,0x58);" (call_expression "(**(code **)(in_t9 + 0x4b0e8))(pIter,0,0x58)" (parenthesized_expression "(**(code **)(in_t9 + 0x4b0e8))" ( (pointer_expression "**(code **)(in_t9 + 0x4b0e8)" * (pointer_expression "*(code **)(in_t9 + 0x4b0e8)" * (cast_expression "(code **)(in_t9 + 0x4b0e8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x4b0e8)" ( (binary_expression "in_t9 + 0x4b0e8" identifier + number_literal) ))))) )) (argument_list "(pIter,0,0x58)" ( identifier , number_literal , number_literal ))) ;) (if_statement "if ((pIter->flags & 2U) == 0) {\n      if (p->pConfig->eDetail == 1) {\n        pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                       (*(int *)(in_t9 + 0x4af60) + 0x5f4);\n      }\n      else {\n        pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                       (*(int *)(in_t9 + 0x4af60) + 0x10c);\n      }\n    }\n    else {\n      pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                     (*(int *)(in_t9 + 0x4af60) + 0x36ac);\n    }" if (parenthesized_expression "((pIter->flags & 2U) == 0)" ( (binary_expression "(pIter->flags & 2U) == 0" (parenthesized_expression "(pIter->flags & 2U)" ( (binary_expression "pIter->flags & 2U" (field_expression "pIter->flags" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n      if (p->pConfig->eDetail == 1) {\n        pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                       (*(int *)(in_t9 + 0x4af60) + 0x5f4);\n      }\n      else {\n        pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                       (*(int *)(in_t9 + 0x4af60) + 0x10c);\n      }\n    }" { (if_statement "if (p->pConfig->eDetail == 1) {\n        pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                       (*(int *)(in_t9 + 0x4af60) + 0x5f4);\n      }\n      else {\n        pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                       (*(int *)(in_t9 + 0x4af60) + 0x10c);\n      }" if (parenthesized_expression "(p->pConfig->eDetail == 1)" ( (binary_expression "p->pConfig->eDetail == 1" (field_expression "p->pConfig->eDetail" (field_expression "p->pConfig" identifier -> field_identifier) -> field_identifier) == number_literal) )) (compound_statement "{\n        pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                       (*(int *)(in_t9 + 0x4af60) + 0x5f4);\n      }" { (expression_statement "pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                       (*(int *)(in_t9 + 0x4af60) + 0x5f4);" (assignment_expression "pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                       (*(int *)(in_t9 + 0x4af60) + 0x5f4)" (field_expression "pIter->xNext" identifier -> field_identifier) = (cast_expression "(_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                       (*(int *)(in_t9 + 0x4af60) + 0x5f4)" ( (type_descriptor "_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(in_t9 + 0x4af60) + 0x5f4)" ( (binary_expression "*(int *)(in_t9 + 0x4af60) + 0x5f4" (pointer_expression "*(int *)(in_t9 + 0x4af60)" * (cast_expression "(int *)(in_t9 + 0x4af60)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x4af60)" ( (binary_expression "in_t9 + 0x4af60" identifier + number_literal) )))) + number_literal) )))) ;) }) (else_clause "else {\n        pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                       (*(int *)(in_t9 + 0x4af60) + 0x10c);\n      }" else (compound_statement "{\n        pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                       (*(int *)(in_t9 + 0x4af60) + 0x10c);\n      }" { (expression_statement "pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                       (*(int *)(in_t9 + 0x4af60) + 0x10c);" (assignment_expression "pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                       (*(int *)(in_t9 + 0x4af60) + 0x10c)" (field_expression "pIter->xNext" identifier -> field_identifier) = (cast_expression "(_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                       (*(int *)(in_t9 + 0x4af60) + 0x10c)" ( (type_descriptor "_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(in_t9 + 0x4af60) + 0x10c)" ( (binary_expression "*(int *)(in_t9 + 0x4af60) + 0x10c" (pointer_expression "*(int *)(in_t9 + 0x4af60)" * (cast_expression "(int *)(in_t9 + 0x4af60)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x4af60)" ( (binary_expression "in_t9 + 0x4af60" identifier + number_literal) )))) + number_literal) )))) ;) }))) }) (else_clause "else {\n      pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                     (*(int *)(in_t9 + 0x4af60) + 0x36ac);\n    }" else (compound_statement "{\n      pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                     (*(int *)(in_t9 + 0x4af60) + 0x36ac);\n    }" { (expression_statement "pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                     (*(int *)(in_t9 + 0x4af60) + 0x36ac);" (assignment_expression "pIter->xNext = (_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                     (*(int *)(in_t9 + 0x4af60) + 0x36ac)" (field_expression "pIter->xNext" identifier -> field_identifier) = (cast_expression "(_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *)\n                     (*(int *)(in_t9 + 0x4af60) + 0x36ac)" ( (type_descriptor "_func_void_Fts5Index_ptr_Fts5SegIter_ptr_int_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(in_t9 + 0x4af60) + 0x36ac)" ( (binary_expression "*(int *)(in_t9 + 0x4af60) + 0x36ac" (pointer_expression "*(int *)(in_t9 + 0x4af60)" * (cast_expression "(int *)(in_t9 + 0x4af60)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x4af60)" ( (binary_expression "in_t9 + 0x4af60" identifier + number_literal) )))) + number_literal) )))) ;) }))) (expression_statement "pIter->pSeg = pSeg;" (assignment_expression "pIter->pSeg = pSeg" (field_expression "pIter->pSeg" identifier -> field_identifier) = identifier) ;) (expression_statement "pIter->iLeafPgno = pSeg->pgnoFirst + -1;" (assignment_expression "pIter->iLeafPgno = pSeg->pgnoFirst + -1" (field_expression "pIter->iLeafPgno" identifier -> field_identifier) = (binary_expression "pSeg->pgnoFirst + -1" (field_expression "pSeg->pgnoFirst" identifier -> field_identifier) + number_literal)) ;) (expression_statement "fts5SegIterNextPage(p,pIter);" (call_expression "fts5SegIterNextPage(p,pIter)" identifier (argument_list "(p,pIter)" ( identifier , identifier ))) ;) (if_statement "if (p->rc == 0) {\n      pIter->iLeafOffset = 4;\n      pIter->iPgidxOff = pIter->pLeaf->szLeaf + 1;\n      fts5SegIterLoadTerm(p,pIter,0);\n      if (p->rc == 0) {\n                    /* WARNING: Could not recover jumptable at 0x001109e8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)(*(int *)(in_t9 + 0x4adf4) + 0x320c))(p->pConfig,pIter);\n        return;\n      }\n    }" if (parenthesized_expression "(p->rc == 0)" ( (binary_expression "p->rc == 0" (field_expression "p->rc" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n      pIter->iLeafOffset = 4;\n      pIter->iPgidxOff = pIter->pLeaf->szLeaf + 1;\n      fts5SegIterLoadTerm(p,pIter,0);\n      if (p->rc == 0) {\n                    /* WARNING: Could not recover jumptable at 0x001109e8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)(*(int *)(in_t9 + 0x4adf4) + 0x320c))(p->pConfig,pIter);\n        return;\n      }\n    }" { (expression_statement "pIter->iLeafOffset = 4;" (assignment_expression "pIter->iLeafOffset = 4" (field_expression "pIter->iLeafOffset" identifier -> field_identifier) = number_literal) ;) (expression_statement "pIter->iPgidxOff = pIter->pLeaf->szLeaf + 1;" (assignment_expression "pIter->iPgidxOff = pIter->pLeaf->szLeaf + 1" (field_expression "pIter->iPgidxOff" identifier -> field_identifier) = (binary_expression "pIter->pLeaf->szLeaf + 1" (field_expression "pIter->pLeaf->szLeaf" (field_expression "pIter->pLeaf" identifier -> field_identifier) -> field_identifier) + number_literal)) ;) (expression_statement "fts5SegIterLoadTerm(p,pIter,0);" (call_expression "fts5SegIterLoadTerm(p,pIter,0)" identifier (argument_list "(p,pIter,0)" ( identifier , identifier , number_literal ))) ;) (if_statement "if (p->rc == 0) {\n                    /* WARNING: Could not recover jumptable at 0x001109e8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)(*(int *)(in_t9 + 0x4adf4) + 0x320c))(p->pConfig,pIter);\n        return;\n      }" if (parenthesized_expression "(p->rc == 0)" ( (binary_expression "p->rc == 0" (field_expression "p->rc" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x001109e8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)(*(int *)(in_t9 + 0x4adf4) + 0x320c))(p->pConfig,pIter);\n        return;\n      }" { comment comment (expression_statement "(*(code *)(*(int *)(in_t9 + 0x4adf4) + 0x320c))(p->pConfig,pIter);" (call_expression "(*(code *)(*(int *)(in_t9 + 0x4adf4) + 0x320c))(p->pConfig,pIter)" (parenthesized_expression "(*(code *)(*(int *)(in_t9 + 0x4adf4) + 0x320c))" ( (pointer_expression "*(code *)(*(int *)(in_t9 + 0x4adf4) + 0x320c)" * (cast_expression "(code *)(*(int *)(in_t9 + 0x4adf4) + 0x320c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(in_t9 + 0x4adf4) + 0x320c)" ( (binary_expression "*(int *)(in_t9 + 0x4adf4) + 0x320c" (pointer_expression "*(int *)(in_t9 + 0x4adf4)" * (cast_expression "(int *)(in_t9 + 0x4adf4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x4adf4)" ( (binary_expression "in_t9 + 0x4adf4" identifier + number_literal) )))) + number_literal) )))) )) (argument_list "(p->pConfig,pIter)" ( (field_expression "p->pConfig" identifier -> field_identifier) , identifier ))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001108cc(int *param_1,int param_2,int *param_3)\n\n{\n  if ((*(int *)(param_2 + 4) != 0) && (param_1[9] == 0)) {\n    (*(code *)PTR_memset_0015b9b4)(param_3,0,0x58);\n    if ((param_3[1] & 2U) == 0) {\n      if (*(int *)(*param_1 + 0x30) == 1) {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x5f4);\n      }\n      else {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c);\n      }\n    }\n    else {\n      param_3[6] = (int)(PTR_LAB_0015b82c + 0x36ac);\n    }\n    *param_3 = param_2;\n    param_3[2] = *(int *)(param_2 + 4) + -1;\n    FUN_0010fd9c(param_1,param_3);\n    if (param_1[9] == 0) {\n      param_3[5] = 4;\n      param_3[9] = *(int *)(param_3[3] + 8) + 1;\n      FUN_0010ff78(param_1,param_3,0);\n      if (param_1[9] == 0) {\n        (*(code *)(PTR_LAB_0015b6c0 + 0x320c))(*param_1,param_3);\n        return;\n      }\n    }\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_001108cc(int *param_1,int param_2,int *param_3)\n\n{\n  if ((*(int *)(param_2 + 4) != 0) && (param_1[9] == 0)) {\n    (*(code *)PTR_memset_0015b9b4)(param_3,0,0x58);\n    if ((param_3[1] & 2U) == 0) {\n      if (*(int *)(*param_1 + 0x30) == 1) {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x5f4);\n      }\n      else {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c);\n      }\n    }\n    else {\n      param_3[6] = (int)(PTR_LAB_0015b82c + 0x36ac);\n    }\n    *param_3 = param_2;\n    param_3[2] = *(int *)(param_2 + 4) + -1;\n    FUN_0010fd9c(param_1,param_3);\n    if (param_1[9] == 0) {\n      param_3[5] = 4;\n      param_3[9] = *(int *)(param_3[3] + 8) + 1;\n      FUN_0010ff78(param_1,param_3,0);\n      if (param_1[9] == 0) {\n        (*(code *)(PTR_LAB_0015b6c0 + 0x320c))(*param_1,param_3);\n        return;\n      }\n    }\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001108cc(int *param_1,int param_2,int *param_3)" identifier (parameter_list "(int *param_1,int param_2,int *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  if ((*(int *)(param_2 + 4) != 0) && (param_1[9] == 0)) {\n    (*(code *)PTR_memset_0015b9b4)(param_3,0,0x58);\n    if ((param_3[1] & 2U) == 0) {\n      if (*(int *)(*param_1 + 0x30) == 1) {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x5f4);\n      }\n      else {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c);\n      }\n    }\n    else {\n      param_3[6] = (int)(PTR_LAB_0015b82c + 0x36ac);\n    }\n    *param_3 = param_2;\n    param_3[2] = *(int *)(param_2 + 4) + -1;\n    FUN_0010fd9c(param_1,param_3);\n    if (param_1[9] == 0) {\n      param_3[5] = 4;\n      param_3[9] = *(int *)(param_3[3] + 8) + 1;\n      FUN_0010ff78(param_1,param_3,0);\n      if (param_1[9] == 0) {\n        (*(code *)(PTR_LAB_0015b6c0 + 0x320c))(*param_1,param_3);\n        return;\n      }\n    }\n    return;\n  }\n  return;\n}" { (if_statement "if ((*(int *)(param_2 + 4) != 0) && (param_1[9] == 0)) {\n    (*(code *)PTR_memset_0015b9b4)(param_3,0,0x58);\n    if ((param_3[1] & 2U) == 0) {\n      if (*(int *)(*param_1 + 0x30) == 1) {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x5f4);\n      }\n      else {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c);\n      }\n    }\n    else {\n      param_3[6] = (int)(PTR_LAB_0015b82c + 0x36ac);\n    }\n    *param_3 = param_2;\n    param_3[2] = *(int *)(param_2 + 4) + -1;\n    FUN_0010fd9c(param_1,param_3);\n    if (param_1[9] == 0) {\n      param_3[5] = 4;\n      param_3[9] = *(int *)(param_3[3] + 8) + 1;\n      FUN_0010ff78(param_1,param_3,0);\n      if (param_1[9] == 0) {\n        (*(code *)(PTR_LAB_0015b6c0 + 0x320c))(*param_1,param_3);\n        return;\n      }\n    }\n    return;\n  }" if (parenthesized_expression "((*(int *)(param_2 + 4) != 0) && (param_1[9] == 0))" ( (binary_expression "(*(int *)(param_2 + 4) != 0) && (param_1[9] == 0)" (parenthesized_expression "(*(int *)(param_2 + 4) != 0)" ( (binary_expression "*(int *)(param_2 + 4) != 0" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(param_1[9] == 0)" ( (binary_expression "param_1[9] == 0" (subscript_expression "param_1[9]" identifier [ number_literal ]) == number_literal) ))) )) (compound_statement "{\n    (*(code *)PTR_memset_0015b9b4)(param_3,0,0x58);\n    if ((param_3[1] & 2U) == 0) {\n      if (*(int *)(*param_1 + 0x30) == 1) {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x5f4);\n      }\n      else {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c);\n      }\n    }\n    else {\n      param_3[6] = (int)(PTR_LAB_0015b82c + 0x36ac);\n    }\n    *param_3 = param_2;\n    param_3[2] = *(int *)(param_2 + 4) + -1;\n    FUN_0010fd9c(param_1,param_3);\n    if (param_1[9] == 0) {\n      param_3[5] = 4;\n      param_3[9] = *(int *)(param_3[3] + 8) + 1;\n      FUN_0010ff78(param_1,param_3,0);\n      if (param_1[9] == 0) {\n        (*(code *)(PTR_LAB_0015b6c0 + 0x320c))(*param_1,param_3);\n        return;\n      }\n    }\n    return;\n  }" { (expression_statement "(*(code *)PTR_memset_0015b9b4)(param_3,0,0x58);" (call_expression "(*(code *)PTR_memset_0015b9b4)(param_3,0,0x58)" (parenthesized_expression "(*(code *)PTR_memset_0015b9b4)" ( (pointer_expression "*(code *)PTR_memset_0015b9b4" * (cast_expression "(code *)PTR_memset_0015b9b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,0,0x58)" ( identifier , number_literal , number_literal ))) ;) (if_statement "if ((param_3[1] & 2U) == 0) {\n      if (*(int *)(*param_1 + 0x30) == 1) {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x5f4);\n      }\n      else {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c);\n      }\n    }\n    else {\n      param_3[6] = (int)(PTR_LAB_0015b82c + 0x36ac);\n    }" if (parenthesized_expression "((param_3[1] & 2U) == 0)" ( (binary_expression "(param_3[1] & 2U) == 0" (parenthesized_expression "(param_3[1] & 2U)" ( (binary_expression "param_3[1] & 2U" (subscript_expression "param_3[1]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (compound_statement "{\n      if (*(int *)(*param_1 + 0x30) == 1) {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x5f4);\n      }\n      else {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c);\n      }\n    }" { (if_statement "if (*(int *)(*param_1 + 0x30) == 1) {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x5f4);\n      }\n      else {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c);\n      }" if (parenthesized_expression "(*(int *)(*param_1 + 0x30) == 1)" ( (binary_expression "*(int *)(*param_1 + 0x30) == 1" (pointer_expression "*(int *)(*param_1 + 0x30)" * (cast_expression "(int *)(*param_1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x30)" ( (binary_expression "*param_1 + 0x30" (pointer_expression "*param_1" * identifier) + number_literal) )))) == number_literal) )) (compound_statement "{\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x5f4);\n      }" { (expression_statement "param_3[6] = (int)(PTR_LAB_0015b82c + 0x5f4);" (assignment_expression "param_3[6] = (int)(PTR_LAB_0015b82c + 0x5f4)" (subscript_expression "param_3[6]" identifier [ number_literal ]) = (cast_expression "(int)(PTR_LAB_0015b82c + 0x5f4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(PTR_LAB_0015b82c + 0x5f4)" ( (binary_expression "PTR_LAB_0015b82c + 0x5f4" identifier + number_literal) )))) ;) }) (else_clause "else {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c);\n      }" else (compound_statement "{\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c);\n      }" { (expression_statement "param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c);" (assignment_expression "param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c)" (subscript_expression "param_3[6]" identifier [ number_literal ]) = (cast_expression "(int)(PTR_LAB_0015b82c + 0x10c)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(PTR_LAB_0015b82c + 0x10c)" ( (binary_expression "PTR_LAB_0015b82c + 0x10c" identifier + number_literal) )))) ;) }))) }) (else_clause "else {\n      param_3[6] = (int)(PTR_LAB_0015b82c + 0x36ac);\n    }" else (compound_statement "{\n      param_3[6] = (int)(PTR_LAB_0015b82c + 0x36ac);\n    }" { (expression_statement "param_3[6] = (int)(PTR_LAB_0015b82c + 0x36ac);" (assignment_expression "param_3[6] = (int)(PTR_LAB_0015b82c + 0x36ac)" (subscript_expression "param_3[6]" identifier [ number_literal ]) = (cast_expression "(int)(PTR_LAB_0015b82c + 0x36ac)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(PTR_LAB_0015b82c + 0x36ac)" ( (binary_expression "PTR_LAB_0015b82c + 0x36ac" identifier + number_literal) )))) ;) }))) (expression_statement "*param_3 = param_2;" (assignment_expression "*param_3 = param_2" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "param_3[2] = *(int *)(param_2 + 4) + -1;" (assignment_expression "param_3[2] = *(int *)(param_2 + 4) + -1" (subscript_expression "param_3[2]" identifier [ number_literal ]) = (binary_expression "*(int *)(param_2 + 4) + -1" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "FUN_0010fd9c(param_1,param_3);" (call_expression "FUN_0010fd9c(param_1,param_3)" identifier (argument_list "(param_1,param_3)" ( identifier , identifier ))) ;) (if_statement "if (param_1[9] == 0) {\n      param_3[5] = 4;\n      param_3[9] = *(int *)(param_3[3] + 8) + 1;\n      FUN_0010ff78(param_1,param_3,0);\n      if (param_1[9] == 0) {\n        (*(code *)(PTR_LAB_0015b6c0 + 0x320c))(*param_1,param_3);\n        return;\n      }\n    }" if (parenthesized_expression "(param_1[9] == 0)" ( (binary_expression "param_1[9] == 0" (subscript_expression "param_1[9]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      param_3[5] = 4;\n      param_3[9] = *(int *)(param_3[3] + 8) + 1;\n      FUN_0010ff78(param_1,param_3,0);\n      if (param_1[9] == 0) {\n        (*(code *)(PTR_LAB_0015b6c0 + 0x320c))(*param_1,param_3);\n        return;\n      }\n    }" { (expression_statement "param_3[5] = 4;" (assignment_expression "param_3[5] = 4" (subscript_expression "param_3[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_3[9] = *(int *)(param_3[3] + 8) + 1;" (assignment_expression "param_3[9] = *(int *)(param_3[3] + 8) + 1" (subscript_expression "param_3[9]" identifier [ number_literal ]) = (binary_expression "*(int *)(param_3[3] + 8) + 1" (pointer_expression "*(int *)(param_3[3] + 8)" * (cast_expression "(int *)(param_3[3] + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3[3] + 8)" ( (binary_expression "param_3[3] + 8" (subscript_expression "param_3[3]" identifier [ number_literal ]) + number_literal) )))) + number_literal)) ;) (expression_statement "FUN_0010ff78(param_1,param_3,0);" (call_expression "FUN_0010ff78(param_1,param_3,0)" identifier (argument_list "(param_1,param_3,0)" ( identifier , identifier , number_literal ))) ;) (if_statement "if (param_1[9] == 0) {\n        (*(code *)(PTR_LAB_0015b6c0 + 0x320c))(*param_1,param_3);\n        return;\n      }" if (parenthesized_expression "(param_1[9] == 0)" ( (binary_expression "param_1[9] == 0" (subscript_expression "param_1[9]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        (*(code *)(PTR_LAB_0015b6c0 + 0x320c))(*param_1,param_3);\n        return;\n      }" { (expression_statement "(*(code *)(PTR_LAB_0015b6c0 + 0x320c))(*param_1,param_3);" (call_expression "(*(code *)(PTR_LAB_0015b6c0 + 0x320c))(*param_1,param_3)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6c0 + 0x320c))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6c0 + 0x320c)" * (cast_expression "(code *)(PTR_LAB_0015b6c0 + 0x320c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6c0 + 0x320c)" ( (binary_expression "PTR_LAB_0015b6c0 + 0x320c" identifier + number_literal) )))) )) (argument_list "(*param_1,param_3)" ( (pointer_expression "*param_1" * identifier) , identifier ))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (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) )))) != LIT) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) ))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) )) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) }))) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( (pointer_expression * IDENT) , IDENT ))) ;) (return_statement return ;) })) })) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void FUN_001108cc(int *param_1,int param_2,int *param_3)\n\n{\n  if ((*(int *)(param_2 + 4) != 0) && (param_1[9] == 0)) {\n    (*(code *)PTR_memset_0015b9b4)(param_3,0,0x58);\n    if ((param_3[1] & 2U) == 0) {\n      if (*(int *)(*param_1 + 0x30) == 1) {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x5f4);\n      }\n      else {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c);\n      }\n    }\n    else {\n      param_3[6] = (int)(PTR_LAB_0015b82c + 0x36ac);\n    }\n    *param_3 = param_2;\n    param_3[2] = *(int *)(param_2 + 4) + -1;\n    FUN_0010fd9c(param_1,param_3);\n    if (param_1[9] == 0) {\n      param_3[5] = 4;\n      param_3[9] = *(int *)(param_3[3] + 8) + 1;\n      FUN_0010ff78(param_1,param_3,0);\n      if (param_1[9] == 0) {\n        (*(code *)(PTR_LAB_0015b6c0 + 0x320c))(*param_1,param_3);\n        return;\n      }\n    }\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001108cc(int *param_1,int param_2,int *param_3)" (identifier "FUN_001108cc") (parameter_list "(int *param_1,int param_2,int *param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  if ((*(int *)(param_2 + 4) != 0) && (param_1[9] == 0)) {\n    (*(code *)PTR_memset_0015b9b4)(param_3,0,0x58);\n    if ((param_3[1] & 2U) == 0) {\n      if (*(int *)(*param_1 + 0x30) == 1) {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x5f4);\n      }\n      else {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c);\n      }\n    }\n    else {\n      param_3[6] = (int)(PTR_LAB_0015b82c + 0x36ac);\n    }\n    *param_3 = param_2;\n    param_3[2] = *(int *)(param_2 + 4) + -1;\n    FUN_0010fd9c(param_1,param_3);\n    if (param_1[9] == 0) {\n      param_3[5] = 4;\n      param_3[9] = *(int *)(param_3[3] + 8) + 1;\n      FUN_0010ff78(param_1,param_3,0);\n      if (param_1[9] == 0) {\n        (*(code *)(PTR_LAB_0015b6c0 + 0x320c))(*param_1,param_3);\n        return;\n      }\n    }\n    return;\n  }\n  return;\n}" ({ "{") (if_statement "if ((*(int *)(param_2 + 4) != 0) && (param_1[9] == 0)) {\n    (*(code *)PTR_memset_0015b9b4)(param_3,0,0x58);\n    if ((param_3[1] & 2U) == 0) {\n      if (*(int *)(*param_1 + 0x30) == 1) {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x5f4);\n      }\n      else {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c);\n      }\n    }\n    else {\n      param_3[6] = (int)(PTR_LAB_0015b82c + 0x36ac);\n    }\n    *param_3 = param_2;\n    param_3[2] = *(int *)(param_2 + 4) + -1;\n    FUN_0010fd9c(param_1,param_3);\n    if (param_1[9] == 0) {\n      param_3[5] = 4;\n      param_3[9] = *(int *)(param_3[3] + 8) + 1;\n      FUN_0010ff78(param_1,param_3,0);\n      if (param_1[9] == 0) {\n        (*(code *)(PTR_LAB_0015b6c0 + 0x320c))(*param_1,param_3);\n        return;\n      }\n    }\n    return;\n  }" (if "if") (parenthesized_expression "((*(int *)(param_2 + 4) != 0) && (param_1[9] == 0))" (( "(") (binary_expression "(*(int *)(param_2 + 4) != 0) && (param_1[9] == 0)" (parenthesized_expression "(*(int *)(param_2 + 4) != 0)" (( "(") (binary_expression "*(int *)(param_2 + 4) != 0" (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(param_1[9] == 0)" (( "(") (binary_expression "param_1[9] == 0" (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    (*(code *)PTR_memset_0015b9b4)(param_3,0,0x58);\n    if ((param_3[1] & 2U) == 0) {\n      if (*(int *)(*param_1 + 0x30) == 1) {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x5f4);\n      }\n      else {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c);\n      }\n    }\n    else {\n      param_3[6] = (int)(PTR_LAB_0015b82c + 0x36ac);\n    }\n    *param_3 = param_2;\n    param_3[2] = *(int *)(param_2 + 4) + -1;\n    FUN_0010fd9c(param_1,param_3);\n    if (param_1[9] == 0) {\n      param_3[5] = 4;\n      param_3[9] = *(int *)(param_3[3] + 8) + 1;\n      FUN_0010ff78(param_1,param_3,0);\n      if (param_1[9] == 0) {\n        (*(code *)(PTR_LAB_0015b6c0 + 0x320c))(*param_1,param_3);\n        return;\n      }\n    }\n    return;\n  }" ({ "{") (expression_statement "(*(code *)PTR_memset_0015b9b4)(param_3,0,0x58);" (call_expression "(*(code *)PTR_memset_0015b9b4)(param_3,0,0x58)" (parenthesized_expression "(*(code *)PTR_memset_0015b9b4)" (( "(") (pointer_expression "*(code *)PTR_memset_0015b9b4" (* "*") (cast_expression "(code *)PTR_memset_0015b9b4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memset_0015b9b4"))) () ")")) (argument_list "(param_3,0,0x58)" (( "(") (identifier "param_3") (, ",") (number_literal "0") (, ",") (number_literal "0x58") () ")"))) (; ";")) (if_statement "if ((param_3[1] & 2U) == 0) {\n      if (*(int *)(*param_1 + 0x30) == 1) {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x5f4);\n      }\n      else {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c);\n      }\n    }\n    else {\n      param_3[6] = (int)(PTR_LAB_0015b82c + 0x36ac);\n    }" (if "if") (parenthesized_expression "((param_3[1] & 2U) == 0)" (( "(") (binary_expression "(param_3[1] & 2U) == 0" (parenthesized_expression "(param_3[1] & 2U)" (( "(") (binary_expression "param_3[1] & 2U" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (& "&") (number_literal "2U")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if (*(int *)(*param_1 + 0x30) == 1) {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x5f4);\n      }\n      else {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c);\n      }\n    }" ({ "{") (if_statement "if (*(int *)(*param_1 + 0x30) == 1) {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x5f4);\n      }\n      else {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c);\n      }" (if "if") (parenthesized_expression "(*(int *)(*param_1 + 0x30) == 1)" (( "(") (binary_expression "*(int *)(*param_1 + 0x30) == 1" (pointer_expression "*(int *)(*param_1 + 0x30)" (* "*") (cast_expression "(int *)(*param_1 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x30)" (( "(") (binary_expression "*param_1 + 0x30" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x30")) () ")")))) (== "==") (number_literal "1")) () ")")) (compound_statement "{\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x5f4);\n      }" ({ "{") (expression_statement "param_3[6] = (int)(PTR_LAB_0015b82c + 0x5f4);" (assignment_expression "param_3[6] = (int)(PTR_LAB_0015b82c + 0x5f4)" (subscript_expression "param_3[6]" (identifier "param_3") ([ "[") (number_literal "6") (] "]")) (= "=") (cast_expression "(int)(PTR_LAB_0015b82c + 0x5f4)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(PTR_LAB_0015b82c + 0x5f4)" (( "(") (binary_expression "PTR_LAB_0015b82c + 0x5f4" (identifier "PTR_LAB_0015b82c") (+ "+") (number_literal "0x5f4")) () ")")))) (; ";")) (} "}")) (else_clause "else {\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c);\n      }" (else "else") (compound_statement "{\n        param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c);\n      }" ({ "{") (expression_statement "param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c);" (assignment_expression "param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c)" (subscript_expression "param_3[6]" (identifier "param_3") ([ "[") (number_literal "6") (] "]")) (= "=") (cast_expression "(int)(PTR_LAB_0015b82c + 0x10c)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(PTR_LAB_0015b82c + 0x10c)" (( "(") (binary_expression "PTR_LAB_0015b82c + 0x10c" (identifier "PTR_LAB_0015b82c") (+ "+") (number_literal "0x10c")) () ")")))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n      param_3[6] = (int)(PTR_LAB_0015b82c + 0x36ac);\n    }" (else "else") (compound_statement "{\n      param_3[6] = (int)(PTR_LAB_0015b82c + 0x36ac);\n    }" ({ "{") (expression_statement "param_3[6] = (int)(PTR_LAB_0015b82c + 0x36ac);" (assignment_expression "param_3[6] = (int)(PTR_LAB_0015b82c + 0x36ac)" (subscript_expression "param_3[6]" (identifier "param_3") ([ "[") (number_literal "6") (] "]")) (= "=") (cast_expression "(int)(PTR_LAB_0015b82c + 0x36ac)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(PTR_LAB_0015b82c + 0x36ac)" (( "(") (binary_expression "PTR_LAB_0015b82c + 0x36ac" (identifier "PTR_LAB_0015b82c") (+ "+") (number_literal "0x36ac")) () ")")))) (; ";")) (} "}")))) (expression_statement "*param_3 = param_2;" (assignment_expression "*param_3 = param_2" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "param_3[2] = *(int *)(param_2 + 4) + -1;" (assignment_expression "param_3[2] = *(int *)(param_2 + 4) + -1" (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "*(int *)(param_2 + 4) + -1" (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "FUN_0010fd9c(param_1,param_3);" (call_expression "FUN_0010fd9c(param_1,param_3)" (identifier "FUN_0010fd9c") (argument_list "(param_1,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "param_3") () ")"))) (; ";")) (if_statement "if (param_1[9] == 0) {\n      param_3[5] = 4;\n      param_3[9] = *(int *)(param_3[3] + 8) + 1;\n      FUN_0010ff78(param_1,param_3,0);\n      if (param_1[9] == 0) {\n        (*(code *)(PTR_LAB_0015b6c0 + 0x320c))(*param_1,param_3);\n        return;\n      }\n    }" (if "if") (parenthesized_expression "(param_1[9] == 0)" (( "(") (binary_expression "param_1[9] == 0" (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      param_3[5] = 4;\n      param_3[9] = *(int *)(param_3[3] + 8) + 1;\n      FUN_0010ff78(param_1,param_3,0);\n      if (param_1[9] == 0) {\n        (*(code *)(PTR_LAB_0015b6c0 + 0x320c))(*param_1,param_3);\n        return;\n      }\n    }" ({ "{") (expression_statement "param_3[5] = 4;" (assignment_expression "param_3[5] = 4" (subscript_expression "param_3[5]" (identifier "param_3") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "4")) (; ";")) (expression_statement "param_3[9] = *(int *)(param_3[3] + 8) + 1;" (assignment_expression "param_3[9] = *(int *)(param_3[3] + 8) + 1" (subscript_expression "param_3[9]" (identifier "param_3") ([ "[") (number_literal "9") (] "]")) (= "=") (binary_expression "*(int *)(param_3[3] + 8) + 1" (pointer_expression "*(int *)(param_3[3] + 8)" (* "*") (cast_expression "(int *)(param_3[3] + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3[3] + 8)" (( "(") (binary_expression "param_3[3] + 8" (subscript_expression "param_3[3]" (identifier "param_3") ([ "[") (number_literal "3") (] "]")) (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_0010ff78(param_1,param_3,0);" (call_expression "FUN_0010ff78(param_1,param_3,0)" (identifier "FUN_0010ff78") (argument_list "(param_1,param_3,0)" (( "(") (identifier "param_1") (, ",") (identifier "param_3") (, ",") (number_literal "0") () ")"))) (; ";")) (if_statement "if (param_1[9] == 0) {\n        (*(code *)(PTR_LAB_0015b6c0 + 0x320c))(*param_1,param_3);\n        return;\n      }" (if "if") (parenthesized_expression "(param_1[9] == 0)" (( "(") (binary_expression "param_1[9] == 0" (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        (*(code *)(PTR_LAB_0015b6c0 + 0x320c))(*param_1,param_3);\n        return;\n      }" ({ "{") (expression_statement "(*(code *)(PTR_LAB_0015b6c0 + 0x320c))(*param_1,param_3);" (call_expression "(*(code *)(PTR_LAB_0015b6c0 + 0x320c))(*param_1,param_3)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6c0 + 0x320c))" (( "(") (pointer_expression "*(code *)(PTR_LAB_0015b6c0 + 0x320c)" (* "*") (cast_expression "(code *)(PTR_LAB_0015b6c0 + 0x320c)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0015b6c0 + 0x320c)" (( "(") (binary_expression "PTR_LAB_0015b6c0 + 0x320c" (identifier "PTR_LAB_0015b6c0") (+ "+") (number_literal "0x320c")) () ")")))) () ")")) (argument_list "(*param_1,param_3)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (identifier "param_3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *p,type_2 *pSeg,type_3 *pIter)

{
  int var_1;
  
  if ((pSeg->pgnoFirst != 0) && (p->rc == 0)) {
    (**(type_4 **)(var_1 + 0x4b0e8))(pIter,0,0x58);
    if ((pIter->flags & 2U) == 0) {
      if (p->pConfig->eDetail == 1) {
        pIter->xNext = (type_5 *)
                       (*(int *)(var_1 + 0x4af60) + 0x5f4);
      }
      else {
        pIter->xNext = (type_5 *)
                       (*(int *)(var_1 + 0x4af60) + 0x10c);
      }
    }
    else {
      pIter->xNext = (type_5 *)
                     (*(int *)(var_1 + 0x4af60) + 0x36ac);
    }
    pIter->pSeg = pSeg;
    pIter->iLeafPgno = pSeg->pgnoFirst + -1;
    var_2(p,pIter);
    if (p->rc == 0) {
      pIter->iLeafOffset = 4;
      pIter->iPgidxOff = pIter->pLeaf->szLeaf + 1;
      var_3(p,pIter,0);
      if (p->rc == 0) {
                    /* WARNING: Could not recover jumptable at 0x001109e8. Too many branches */
                    /* WARNING: Treating indirect jump as call */
        (*(type_4 *)(*(int *)(var_1 + 0x4adf4) + 0x320c))(p->pConfig,pIter);
        return;
      }
    }
    return;
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (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: (number_literal))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (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: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (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: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier)))) (return_statement))))) (return_statement))) (return_statement))))

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

{
  if ((*(int *)(param_2 + 4) != 0) && (param_1[9] == 0)) {
    (*(code *)PTR_memset_0015b9b4)(param_3,0,0x58);
    if ((param_3[1] & 2U) == 0) {
      if (*(int *)(*param_1 + 0x30) == 1) {
        param_3[6] = (int)(PTR_LAB_0015b82c + 0x5f4);
      }
      else {
        param_3[6] = (int)(PTR_LAB_0015b82c + 0x10c);
      }
    }
    else {
      param_3[6] = (int)(PTR_LAB_0015b82c + 0x36ac);
    }
    *param_3 = param_2;
    param_3[2] = *(int *)(param_2 + 4) + -1;
    FUN_0010fd9c(param_1,param_3);
    if (param_1[9] == 0) {
      param_3[5] = 4;
      param_3[9] = *(int *)(param_3[3] + 8) + 1;
      FUN_0010ff78(param_1,param_3,0);
      if (param_1[9] == 0) {
        (*(code *)(PTR_LAB_0015b6c0 + 0x320c))(*param_1,param_3);
        return;
      }
    }
    return;
  }
  return;
}

