
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3 fts5ExprPhraseFree(Fts5ExprPhrase *pPhrase)

{
  Fts5ExprTerm *pFVar1;
  Fts5ExprTerm *p;
  char **ppcVar2;
  int local_24;
  
  if (pPhrase != (Fts5ExprPhrase *)0x0) {
    if (0 < pPhrase->nTerm) {
      local_24 = 0;
      ppcVar2 = &pPhrase->aTerm[0].zTerm;
      do {
        sqlite3_free(*ppcVar2);
        if ((Fts5IndexIter *)ppcVar2[1] != (Fts5IndexIter *)0x0) {
          sqlite3Fts5IterClose((Fts5IndexIter *)ppcVar2[1]);
        }
        p = (Fts5ExprTerm *)ppcVar2[2];
        while (p != (Fts5ExprTerm *)0x0) {
          pFVar1 = p->pSynonym;
          if (p->pIter != (Fts5IndexIter *)0x0) {
            sqlite3Fts5IterClose(p->pIter);
          }
          sqlite3Fts5BufferFree((Fts5Buffer *)(p + 1));
          sqlite3_free(p);
          p = pFVar1;
        }
        local_24 = local_24 + 1;
        ppcVar2 = ppcVar2 + 4;
      } while (local_24 < pPhrase->nTerm);
    }
    if (0 < (pPhrase->poslist).nSpace) {
      sqlite3Fts5BufferFree(&pPhrase->poslist);
    }
    sqlite3_free(pPhrase);
  }
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3 FUN_00089e00(int param_1)

{
  int iVar1;
  int iVar2;
  undefined4 *puVar3;
  int local_24;
  
  if (param_1 != 0) {
    if (0 < *(int *)(param_1 + 0x10)) {
      local_24 = 0;
      puVar3 = (undefined4 *)(param_1 + 0x18);
      do {
        FUN_00024cc0(*puVar3);
        if (puVar3[1] != 0) {
          FUN_00089dc0();
        }
        iVar2 = puVar3[2];
        while (iVar2 != 0) {
          iVar1 = *(int *)(iVar2 + 0xc);
          if (*(int *)(iVar2 + 8) != 0) {
            FUN_00089dc0();
          }
          FUN_00026630();
          FUN_00024cc0(iVar2);
          iVar2 = iVar1;
        }
        local_24 = local_24 + 1;
        puVar3 = puVar3 + 4;
      } while (local_24 < *(int *)(param_1 + 0x10));
    }
    if (0 < *(int *)(param_1 + 0xc)) {
      FUN_00026630();
    }
    FUN_00024cc0(param_1);
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00014cf0
ADD EBX,0xbf0cb
SUB ESP,0x1c
TEST EAX,EAX
JZ 0x00089ea8
MOV ECX,dword ptr [EAX + 0x10]
MOV dword ptr [ESP + 0xc],EAX
TEST ECX,ECX
JLE 0x00089e8e
MOV dword ptr [ESP + 0x8],0x0
LEA EDI,[EAX + 0x18]
SUB ESP,0xc
PUSH dword ptr [EDI]
CALL 0x00024cc0
MOV EAX,dword ptr [EDI + 0x4]
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00089e49
CALL 0x00089dc0
MOV EBP,dword ptr [EDI + 0x8]
TEST EBP,EBP
JZ 0x00089e79
MOV EAX,dword ptr [EBP + 0x8]
MOV ESI,dword ptr [EBP + 0xc]
TEST EAX,EAX
JZ 0x00089e5f
CALL 0x00089dc0
LEA EAX,[EBP + 0x10]
CALL 0x00026630
SUB ESP,0xc
PUSH EBP
MOV EBP,ESI
CALL 0x00024cc0
ADD ESP,0x10
TEST ESI,ESI
JNZ 0x00089e50
MOV EDX,dword ptr [ESP + 0xc]
ADD dword ptr [ESP + 0x8],0x1
ADD EDI,0x10
MOV EAX,dword ptr [ESP + 0x8]
CMP dword ptr [EDX + 0x10],EAX
JG 0x00089e30
MOV EAX,dword ptr [ESP + 0xc]
MOV EDX,dword ptr [EAX + 0xc]
TEST EDX,EDX
JG 0x00089eb0
SUB ESP,0xc
PUSH dword ptr [ESP + 0x18]
CALL 0x00024cc0
ADD ESP,0x10
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD EAX,0x4
CALL 0x00026630
JMP 0x00089e99
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00089e00(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int local_24;\n  \n  if (param_1 != 0) {\n    if (0 < *(int *)(param_1 + 0x10)) {\n      local_24 = 0;\n      puVar3 = (undefined4 *)(param_1 + 0x18);\n      do {\n        FUN_00024cc0(*puVar3);\n        if (puVar3[1] != 0) {\n          FUN_00089dc0();\n        }\n        iVar2 = puVar3[2];\n        while (iVar2 != 0) {\n          iVar1 = *(int *)(iVar2 + 0xc);\n          if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }\n          FUN_00026630();\n          FUN_00024cc0(iVar2);\n          iVar2 = iVar1;\n        }\n        local_24 = local_24 + 1;\n        puVar3 = puVar3 + 4;\n      } while (local_24 < *(int *)(param_1 + 0x10));\n    }\n    if (0 < *(int *)(param_1 + 0xc)) {\n      FUN_00026630();\n    }\n    FUN_00024cc0(param_1);\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00089e00(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int local_24;\n  \n  if (param_1 != 0) {\n    if (0 < *(int *)(param_1 + 0x10)) {\n      local_24 = 0;\n      puVar3 = (undefined4 *)(param_1 + 0x18);\n      do {\n        FUN_00024cc0(*puVar3);\n        if (puVar3[1] != 0) {\n          FUN_00089dc0();\n        }\n        iVar2 = puVar3[2];\n        while (iVar2 != 0) {\n          iVar1 = *(int *)(iVar2 + 0xc);\n          if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }\n          FUN_00026630();\n          FUN_00024cc0(iVar2);\n          iVar2 = iVar1;\n        }\n        local_24 = local_24 + 1;\n        puVar3 = puVar3 + 4;\n      } while (local_24 < *(int *)(param_1 + 0x10));\n    }\n    if (0 < *(int *)(param_1 + 0xc)) {\n      FUN_00026630();\n    }\n    FUN_00024cc0(param_1);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00089e00(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int local_24;\n  \n  if (param_1 != 0) {\n    if (0 < *(int *)(param_1 + 0x10)) {\n      local_24 = 0;\n      puVar3 = (undefined4 *)(param_1 + 0x18);\n      do {\n        FUN_00024cc0(*puVar3);\n        if (puVar3[1] != 0) {\n          FUN_00089dc0();\n        }\n        iVar2 = puVar3[2];\n        while (iVar2 != 0) {\n          iVar1 = *(int *)(iVar2 + 0xc);\n          if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }\n          FUN_00026630();\n          FUN_00024cc0(iVar2);\n          iVar2 = iVar1;\n        }\n        local_24 = local_24 + 1;\n        puVar3 = puVar3 + 4;\n      } while (local_24 < *(int *)(param_1 + 0x10));\n    }\n    if (0 < *(int *)(param_1 + 0xc)) {\n      FUN_00026630();\n    }\n    FUN_00024cc0(param_1);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int local_24;" primitive_type identifier ;) (if_statement "if (param_1 != 0) {\n    if (0 < *(int *)(param_1 + 0x10)) {\n      local_24 = 0;\n      puVar3 = (undefined4 *)(param_1 + 0x18);\n      do {\n        FUN_00024cc0(*puVar3);\n        if (puVar3[1] != 0) {\n          FUN_00089dc0();\n        }\n        iVar2 = puVar3[2];\n        while (iVar2 != 0) {\n          iVar1 = *(int *)(iVar2 + 0xc);\n          if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }\n          FUN_00026630();\n          FUN_00024cc0(iVar2);\n          iVar2 = iVar1;\n        }\n        local_24 = local_24 + 1;\n        puVar3 = puVar3 + 4;\n      } while (local_24 < *(int *)(param_1 + 0x10));\n    }\n    if (0 < *(int *)(param_1 + 0xc)) {\n      FUN_00026630();\n    }\n    FUN_00024cc0(param_1);\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (0 < *(int *)(param_1 + 0x10)) {\n      local_24 = 0;\n      puVar3 = (undefined4 *)(param_1 + 0x18);\n      do {\n        FUN_00024cc0(*puVar3);\n        if (puVar3[1] != 0) {\n          FUN_00089dc0();\n        }\n        iVar2 = puVar3[2];\n        while (iVar2 != 0) {\n          iVar1 = *(int *)(iVar2 + 0xc);\n          if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }\n          FUN_00026630();\n          FUN_00024cc0(iVar2);\n          iVar2 = iVar1;\n        }\n        local_24 = local_24 + 1;\n        puVar3 = puVar3 + 4;\n      } while (local_24 < *(int *)(param_1 + 0x10));\n    }\n    if (0 < *(int *)(param_1 + 0xc)) {\n      FUN_00026630();\n    }\n    FUN_00024cc0(param_1);\n  }" { (if_statement "if (0 < *(int *)(param_1 + 0x10)) {\n      local_24 = 0;\n      puVar3 = (undefined4 *)(param_1 + 0x18);\n      do {\n        FUN_00024cc0(*puVar3);\n        if (puVar3[1] != 0) {\n          FUN_00089dc0();\n        }\n        iVar2 = puVar3[2];\n        while (iVar2 != 0) {\n          iVar1 = *(int *)(iVar2 + 0xc);\n          if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }\n          FUN_00026630();\n          FUN_00024cc0(iVar2);\n          iVar2 = iVar1;\n        }\n        local_24 = local_24 + 1;\n        puVar3 = puVar3 + 4;\n      } while (local_24 < *(int *)(param_1 + 0x10));\n    }" if (parenthesized_expression "(0 < *(int *)(param_1 + 0x10))" ( (binary_expression "0 < *(int *)(param_1 + 0x10)" number_literal < (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) ))))) )) (compound_statement "{\n      local_24 = 0;\n      puVar3 = (undefined4 *)(param_1 + 0x18);\n      do {\n        FUN_00024cc0(*puVar3);\n        if (puVar3[1] != 0) {\n          FUN_00089dc0();\n        }\n        iVar2 = puVar3[2];\n        while (iVar2 != 0) {\n          iVar1 = *(int *)(iVar2 + 0xc);\n          if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }\n          FUN_00026630();\n          FUN_00024cc0(iVar2);\n          iVar2 = iVar1;\n        }\n        local_24 = local_24 + 1;\n        puVar3 = puVar3 + 4;\n      } while (local_24 < *(int *)(param_1 + 0x10));\n    }" { (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "puVar3 = (undefined4 *)(param_1 + 0x18);" (assignment_expression "puVar3 = (undefined4 *)(param_1 + 0x18)" identifier = (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) ;) (do_statement "do {\n        FUN_00024cc0(*puVar3);\n        if (puVar3[1] != 0) {\n          FUN_00089dc0();\n        }\n        iVar2 = puVar3[2];\n        while (iVar2 != 0) {\n          iVar1 = *(int *)(iVar2 + 0xc);\n          if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }\n          FUN_00026630();\n          FUN_00024cc0(iVar2);\n          iVar2 = iVar1;\n        }\n        local_24 = local_24 + 1;\n        puVar3 = puVar3 + 4;\n      } while (local_24 < *(int *)(param_1 + 0x10));" do (compound_statement "{\n        FUN_00024cc0(*puVar3);\n        if (puVar3[1] != 0) {\n          FUN_00089dc0();\n        }\n        iVar2 = puVar3[2];\n        while (iVar2 != 0) {\n          iVar1 = *(int *)(iVar2 + 0xc);\n          if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }\n          FUN_00026630();\n          FUN_00024cc0(iVar2);\n          iVar2 = iVar1;\n        }\n        local_24 = local_24 + 1;\n        puVar3 = puVar3 + 4;\n      }" { (expression_statement "FUN_00024cc0(*puVar3);" (call_expression "FUN_00024cc0(*puVar3)" identifier (argument_list "(*puVar3)" ( (pointer_expression "*puVar3" * identifier) ))) ;) (if_statement "if (puVar3[1] != 0) {\n          FUN_00089dc0();\n        }" if (parenthesized_expression "(puVar3[1] != 0)" ( (binary_expression "puVar3[1] != 0" (subscript_expression "puVar3[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n          FUN_00089dc0();\n        }" { (expression_statement "FUN_00089dc0();" (call_expression "FUN_00089dc0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar2 = puVar3[2];" (assignment_expression "iVar2 = puVar3[2]" identifier = (subscript_expression "puVar3[2]" identifier [ number_literal ])) ;) (while_statement "while (iVar2 != 0) {\n          iVar1 = *(int *)(iVar2 + 0xc);\n          if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }\n          FUN_00026630();\n          FUN_00024cc0(iVar2);\n          iVar2 = iVar1;\n        }" while (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar1 = *(int *)(iVar2 + 0xc);\n          if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }\n          FUN_00026630();\n          FUN_00024cc0(iVar2);\n          iVar2 = iVar1;\n        }" { (expression_statement "iVar1 = *(int *)(iVar2 + 0xc);" (assignment_expression "iVar1 = *(int *)(iVar2 + 0xc)" identifier = (pointer_expression "*(int *)(iVar2 + 0xc)" * (cast_expression "(int *)(iVar2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }" if (parenthesized_expression "(*(int *)(iVar2 + 8) != 0)" ( (binary_expression "*(int *)(iVar2 + 8) != 0" (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            FUN_00089dc0();\n          }" { (expression_statement "FUN_00089dc0();" (call_expression "FUN_00089dc0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_00026630();" (call_expression "FUN_00026630()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00024cc0(iVar2);" (call_expression "FUN_00024cc0(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))) ;) (expression_statement "iVar2 = iVar1;" (assignment_expression "iVar2 = iVar1" identifier = identifier) ;) })) (expression_statement "local_24 = local_24 + 1;" (assignment_expression "local_24 = local_24 + 1" identifier = (binary_expression "local_24 + 1" identifier + number_literal)) ;) (expression_statement "puVar3 = puVar3 + 4;" (assignment_expression "puVar3 = puVar3 + 4" identifier = (binary_expression "puVar3 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_24 < *(int *)(param_1 + 0x10))" ( (binary_expression "local_24 < *(int *)(param_1 + 0x10)" identifier < (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) ))))) )) ;) })) (if_statement "if (0 < *(int *)(param_1 + 0xc)) {\n      FUN_00026630();\n    }" if (parenthesized_expression "(0 < *(int *)(param_1 + 0xc))" ( (binary_expression "0 < *(int *)(param_1 + 0xc)" number_literal < (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) )) (compound_statement "{\n      FUN_00026630();\n    }" { (expression_statement "FUN_00026630();" (call_expression "FUN_00026630()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_00024cc0(param_1);" (call_expression "FUN_00024cc0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 fts5ExprPhraseFree(Fts5ExprPhrase *pPhrase)\n\n{\n  Fts5ExprTerm *pFVar1;\n  Fts5ExprTerm *p;\n  char **ppcVar2;\n  int local_24;\n  \n  if (pPhrase != (Fts5ExprPhrase *)0x0) {\n    if (0 < pPhrase->nTerm) {\n      local_24 = 0;\n      ppcVar2 = &pPhrase->aTerm[0].zTerm;\n      do {\n        sqlite3_free(*ppcVar2);\n        if ((Fts5IndexIter *)ppcVar2[1] != (Fts5IndexIter *)0x0) {\n          sqlite3Fts5IterClose((Fts5IndexIter *)ppcVar2[1]);\n        }\n        p = (Fts5ExprTerm *)ppcVar2[2];\n        while (p != (Fts5ExprTerm *)0x0) {\n          pFVar1 = p->pSynonym;\n          if (p->pIter != (Fts5IndexIter *)0x0) {\n            sqlite3Fts5IterClose(p->pIter);\n          }\n          sqlite3Fts5BufferFree((Fts5Buffer *)(p + 1));\n          sqlite3_free(p);\n          p = pFVar1;\n        }\n        local_24 = local_24 + 1;\n        ppcVar2 = ppcVar2 + 4;\n      } while (local_24 < pPhrase->nTerm);\n    }\n    if (0 < (pPhrase->poslist).nSpace) {\n      sqlite3Fts5BufferFree(&pPhrase->poslist);\n    }\n    sqlite3_free(pPhrase);\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 fts5ExprPhraseFree(Fts5ExprPhrase *pPhrase)\n\n{\n  Fts5ExprTerm *pFVar1;\n  Fts5ExprTerm *p;\n  char **ppcVar2;\n  int local_24;\n  \n  if (pPhrase != (Fts5ExprPhrase *)0x0) {\n    if (0 < pPhrase->nTerm) {\n      local_24 = 0;\n      ppcVar2 = &pPhrase->aTerm[0].zTerm;\n      do {\n        sqlite3_free(*ppcVar2);\n        if ((Fts5IndexIter *)ppcVar2[1] != (Fts5IndexIter *)0x0) {\n          sqlite3Fts5IterClose((Fts5IndexIter *)ppcVar2[1]);\n        }\n        p = (Fts5ExprTerm *)ppcVar2[2];\n        while (p != (Fts5ExprTerm *)0x0) {\n          pFVar1 = p->pSynonym;\n          if (p->pIter != (Fts5IndexIter *)0x0) {\n            sqlite3Fts5IterClose(p->pIter);\n          }\n          sqlite3Fts5BufferFree((Fts5Buffer *)(p + 1));\n          sqlite3_free(p);\n          p = pFVar1;\n        }\n        local_24 = local_24 + 1;\n        ppcVar2 = ppcVar2 + 4;\n      } while (local_24 < pPhrase->nTerm);\n    }\n    if (0 < (pPhrase->poslist).nSpace) {\n      sqlite3Fts5BufferFree(&pPhrase->poslist);\n    }\n    sqlite3_free(pPhrase);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "fts5ExprPhraseFree(Fts5ExprPhrase *pPhrase)" identifier (parameter_list "(Fts5ExprPhrase *pPhrase)" ( (parameter_declaration "Fts5ExprPhrase *pPhrase" type_identifier (pointer_declarator "*pPhrase" * identifier)) ))) (compound_statement "{\n  Fts5ExprTerm *pFVar1;\n  Fts5ExprTerm *p;\n  char **ppcVar2;\n  int local_24;\n  \n  if (pPhrase != (Fts5ExprPhrase *)0x0) {\n    if (0 < pPhrase->nTerm) {\n      local_24 = 0;\n      ppcVar2 = &pPhrase->aTerm[0].zTerm;\n      do {\n        sqlite3_free(*ppcVar2);\n        if ((Fts5IndexIter *)ppcVar2[1] != (Fts5IndexIter *)0x0) {\n          sqlite3Fts5IterClose((Fts5IndexIter *)ppcVar2[1]);\n        }\n        p = (Fts5ExprTerm *)ppcVar2[2];\n        while (p != (Fts5ExprTerm *)0x0) {\n          pFVar1 = p->pSynonym;\n          if (p->pIter != (Fts5IndexIter *)0x0) {\n            sqlite3Fts5IterClose(p->pIter);\n          }\n          sqlite3Fts5BufferFree((Fts5Buffer *)(p + 1));\n          sqlite3_free(p);\n          p = pFVar1;\n        }\n        local_24 = local_24 + 1;\n        ppcVar2 = ppcVar2 + 4;\n      } while (local_24 < pPhrase->nTerm);\n    }\n    if (0 < (pPhrase->poslist).nSpace) {\n      sqlite3Fts5BufferFree(&pPhrase->poslist);\n    }\n    sqlite3_free(pPhrase);\n  }\n  return;\n}" { (declaration "Fts5ExprTerm *pFVar1;" type_identifier (pointer_declarator "*pFVar1" * identifier) ;) (declaration "Fts5ExprTerm *p;" type_identifier (pointer_declarator "*p" * identifier) ;) (declaration "char **ppcVar2;" primitive_type (pointer_declarator "**ppcVar2" * (pointer_declarator "*ppcVar2" * identifier)) ;) (declaration "int local_24;" primitive_type identifier ;) (if_statement "if (pPhrase != (Fts5ExprPhrase *)0x0) {\n    if (0 < pPhrase->nTerm) {\n      local_24 = 0;\n      ppcVar2 = &pPhrase->aTerm[0].zTerm;\n      do {\n        sqlite3_free(*ppcVar2);\n        if ((Fts5IndexIter *)ppcVar2[1] != (Fts5IndexIter *)0x0) {\n          sqlite3Fts5IterClose((Fts5IndexIter *)ppcVar2[1]);\n        }\n        p = (Fts5ExprTerm *)ppcVar2[2];\n        while (p != (Fts5ExprTerm *)0x0) {\n          pFVar1 = p->pSynonym;\n          if (p->pIter != (Fts5IndexIter *)0x0) {\n            sqlite3Fts5IterClose(p->pIter);\n          }\n          sqlite3Fts5BufferFree((Fts5Buffer *)(p + 1));\n          sqlite3_free(p);\n          p = pFVar1;\n        }\n        local_24 = local_24 + 1;\n        ppcVar2 = ppcVar2 + 4;\n      } while (local_24 < pPhrase->nTerm);\n    }\n    if (0 < (pPhrase->poslist).nSpace) {\n      sqlite3Fts5BufferFree(&pPhrase->poslist);\n    }\n    sqlite3_free(pPhrase);\n  }" if (parenthesized_expression "(pPhrase != (Fts5ExprPhrase *)0x0)" ( (binary_expression "pPhrase != (Fts5ExprPhrase *)0x0" identifier != (cast_expression "(Fts5ExprPhrase *)0x0" ( (type_descriptor "Fts5ExprPhrase *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (0 < pPhrase->nTerm) {\n      local_24 = 0;\n      ppcVar2 = &pPhrase->aTerm[0].zTerm;\n      do {\n        sqlite3_free(*ppcVar2);\n        if ((Fts5IndexIter *)ppcVar2[1] != (Fts5IndexIter *)0x0) {\n          sqlite3Fts5IterClose((Fts5IndexIter *)ppcVar2[1]);\n        }\n        p = (Fts5ExprTerm *)ppcVar2[2];\n        while (p != (Fts5ExprTerm *)0x0) {\n          pFVar1 = p->pSynonym;\n          if (p->pIter != (Fts5IndexIter *)0x0) {\n            sqlite3Fts5IterClose(p->pIter);\n          }\n          sqlite3Fts5BufferFree((Fts5Buffer *)(p + 1));\n          sqlite3_free(p);\n          p = pFVar1;\n        }\n        local_24 = local_24 + 1;\n        ppcVar2 = ppcVar2 + 4;\n      } while (local_24 < pPhrase->nTerm);\n    }\n    if (0 < (pPhrase->poslist).nSpace) {\n      sqlite3Fts5BufferFree(&pPhrase->poslist);\n    }\n    sqlite3_free(pPhrase);\n  }" { (if_statement "if (0 < pPhrase->nTerm) {\n      local_24 = 0;\n      ppcVar2 = &pPhrase->aTerm[0].zTerm;\n      do {\n        sqlite3_free(*ppcVar2);\n        if ((Fts5IndexIter *)ppcVar2[1] != (Fts5IndexIter *)0x0) {\n          sqlite3Fts5IterClose((Fts5IndexIter *)ppcVar2[1]);\n        }\n        p = (Fts5ExprTerm *)ppcVar2[2];\n        while (p != (Fts5ExprTerm *)0x0) {\n          pFVar1 = p->pSynonym;\n          if (p->pIter != (Fts5IndexIter *)0x0) {\n            sqlite3Fts5IterClose(p->pIter);\n          }\n          sqlite3Fts5BufferFree((Fts5Buffer *)(p + 1));\n          sqlite3_free(p);\n          p = pFVar1;\n        }\n        local_24 = local_24 + 1;\n        ppcVar2 = ppcVar2 + 4;\n      } while (local_24 < pPhrase->nTerm);\n    }" if (parenthesized_expression "(0 < pPhrase->nTerm)" ( (binary_expression "0 < pPhrase->nTerm" number_literal < (field_expression "pPhrase->nTerm" identifier -> field_identifier)) )) (compound_statement "{\n      local_24 = 0;\n      ppcVar2 = &pPhrase->aTerm[0].zTerm;\n      do {\n        sqlite3_free(*ppcVar2);\n        if ((Fts5IndexIter *)ppcVar2[1] != (Fts5IndexIter *)0x0) {\n          sqlite3Fts5IterClose((Fts5IndexIter *)ppcVar2[1]);\n        }\n        p = (Fts5ExprTerm *)ppcVar2[2];\n        while (p != (Fts5ExprTerm *)0x0) {\n          pFVar1 = p->pSynonym;\n          if (p->pIter != (Fts5IndexIter *)0x0) {\n            sqlite3Fts5IterClose(p->pIter);\n          }\n          sqlite3Fts5BufferFree((Fts5Buffer *)(p + 1));\n          sqlite3_free(p);\n          p = pFVar1;\n        }\n        local_24 = local_24 + 1;\n        ppcVar2 = ppcVar2 + 4;\n      } while (local_24 < pPhrase->nTerm);\n    }" { (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "ppcVar2 = &pPhrase->aTerm[0].zTerm;" (assignment_expression "ppcVar2 = &pPhrase->aTerm[0].zTerm" identifier = (pointer_expression "&pPhrase->aTerm[0].zTerm" & (field_expression "pPhrase->aTerm[0].zTerm" (subscript_expression "pPhrase->aTerm[0]" (field_expression "pPhrase->aTerm" identifier -> field_identifier) [ number_literal ]) . field_identifier))) ;) (do_statement "do {\n        sqlite3_free(*ppcVar2);\n        if ((Fts5IndexIter *)ppcVar2[1] != (Fts5IndexIter *)0x0) {\n          sqlite3Fts5IterClose((Fts5IndexIter *)ppcVar2[1]);\n        }\n        p = (Fts5ExprTerm *)ppcVar2[2];\n        while (p != (Fts5ExprTerm *)0x0) {\n          pFVar1 = p->pSynonym;\n          if (p->pIter != (Fts5IndexIter *)0x0) {\n            sqlite3Fts5IterClose(p->pIter);\n          }\n          sqlite3Fts5BufferFree((Fts5Buffer *)(p + 1));\n          sqlite3_free(p);\n          p = pFVar1;\n        }\n        local_24 = local_24 + 1;\n        ppcVar2 = ppcVar2 + 4;\n      } while (local_24 < pPhrase->nTerm);" do (compound_statement "{\n        sqlite3_free(*ppcVar2);\n        if ((Fts5IndexIter *)ppcVar2[1] != (Fts5IndexIter *)0x0) {\n          sqlite3Fts5IterClose((Fts5IndexIter *)ppcVar2[1]);\n        }\n        p = (Fts5ExprTerm *)ppcVar2[2];\n        while (p != (Fts5ExprTerm *)0x0) {\n          pFVar1 = p->pSynonym;\n          if (p->pIter != (Fts5IndexIter *)0x0) {\n            sqlite3Fts5IterClose(p->pIter);\n          }\n          sqlite3Fts5BufferFree((Fts5Buffer *)(p + 1));\n          sqlite3_free(p);\n          p = pFVar1;\n        }\n        local_24 = local_24 + 1;\n        ppcVar2 = ppcVar2 + 4;\n      }" { (expression_statement "sqlite3_free(*ppcVar2);" (call_expression "sqlite3_free(*ppcVar2)" identifier (argument_list "(*ppcVar2)" ( (pointer_expression "*ppcVar2" * identifier) ))) ;) (if_statement "if ((Fts5IndexIter *)ppcVar2[1] != (Fts5IndexIter *)0x0) {\n          sqlite3Fts5IterClose((Fts5IndexIter *)ppcVar2[1]);\n        }" if (parenthesized_expression "((Fts5IndexIter *)ppcVar2[1] != (Fts5IndexIter *)0x0)" ( (binary_expression "(Fts5IndexIter *)ppcVar2[1] != (Fts5IndexIter *)0x0" (cast_expression "(Fts5IndexIter *)ppcVar2[1]" ( (type_descriptor "Fts5IndexIter *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "ppcVar2[1]" identifier [ number_literal ])) != (cast_expression "(Fts5IndexIter *)0x0" ( (type_descriptor "Fts5IndexIter *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          sqlite3Fts5IterClose((Fts5IndexIter *)ppcVar2[1]);\n        }" { (expression_statement "sqlite3Fts5IterClose((Fts5IndexIter *)ppcVar2[1]);" (call_expression "sqlite3Fts5IterClose((Fts5IndexIter *)ppcVar2[1])" identifier (argument_list "((Fts5IndexIter *)ppcVar2[1])" ( (cast_expression "(Fts5IndexIter *)ppcVar2[1]" ( (type_descriptor "Fts5IndexIter *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "ppcVar2[1]" identifier [ number_literal ])) ))) ;) })) (expression_statement "p = (Fts5ExprTerm *)ppcVar2[2];" (assignment_expression "p = (Fts5ExprTerm *)ppcVar2[2]" identifier = (cast_expression "(Fts5ExprTerm *)ppcVar2[2]" ( (type_descriptor "Fts5ExprTerm *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "ppcVar2[2]" identifier [ number_literal ]))) ;) (while_statement "while (p != (Fts5ExprTerm *)0x0) {\n          pFVar1 = p->pSynonym;\n          if (p->pIter != (Fts5IndexIter *)0x0) {\n            sqlite3Fts5IterClose(p->pIter);\n          }\n          sqlite3Fts5BufferFree((Fts5Buffer *)(p + 1));\n          sqlite3_free(p);\n          p = pFVar1;\n        }" while (parenthesized_expression "(p != (Fts5ExprTerm *)0x0)" ( (binary_expression "p != (Fts5ExprTerm *)0x0" identifier != (cast_expression "(Fts5ExprTerm *)0x0" ( (type_descriptor "Fts5ExprTerm *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          pFVar1 = p->pSynonym;\n          if (p->pIter != (Fts5IndexIter *)0x0) {\n            sqlite3Fts5IterClose(p->pIter);\n          }\n          sqlite3Fts5BufferFree((Fts5Buffer *)(p + 1));\n          sqlite3_free(p);\n          p = pFVar1;\n        }" { (expression_statement "pFVar1 = p->pSynonym;" (assignment_expression "pFVar1 = p->pSynonym" identifier = (field_expression "p->pSynonym" identifier -> field_identifier)) ;) (if_statement "if (p->pIter != (Fts5IndexIter *)0x0) {\n            sqlite3Fts5IterClose(p->pIter);\n          }" if (parenthesized_expression "(p->pIter != (Fts5IndexIter *)0x0)" ( (binary_expression "p->pIter != (Fts5IndexIter *)0x0" (field_expression "p->pIter" identifier -> field_identifier) != (cast_expression "(Fts5IndexIter *)0x0" ( (type_descriptor "Fts5IndexIter *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            sqlite3Fts5IterClose(p->pIter);\n          }" { (expression_statement "sqlite3Fts5IterClose(p->pIter);" (call_expression "sqlite3Fts5IterClose(p->pIter)" identifier (argument_list "(p->pIter)" ( (field_expression "p->pIter" identifier -> field_identifier) ))) ;) })) (expression_statement "sqlite3Fts5BufferFree((Fts5Buffer *)(p + 1));" (call_expression "sqlite3Fts5BufferFree((Fts5Buffer *)(p + 1))" identifier (argument_list "((Fts5Buffer *)(p + 1))" ( (cast_expression "(Fts5Buffer *)(p + 1)" ( (type_descriptor "Fts5Buffer *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(p + 1)" ( (binary_expression "p + 1" identifier + number_literal) ))) ))) ;) (expression_statement "sqlite3_free(p);" (call_expression "sqlite3_free(p)" identifier (argument_list "(p)" ( identifier ))) ;) (expression_statement "p = pFVar1;" (assignment_expression "p = pFVar1" identifier = identifier) ;) })) (expression_statement "local_24 = local_24 + 1;" (assignment_expression "local_24 = local_24 + 1" identifier = (binary_expression "local_24 + 1" identifier + number_literal)) ;) (expression_statement "ppcVar2 = ppcVar2 + 4;" (assignment_expression "ppcVar2 = ppcVar2 + 4" identifier = (binary_expression "ppcVar2 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_24 < pPhrase->nTerm)" ( (binary_expression "local_24 < pPhrase->nTerm" identifier < (field_expression "pPhrase->nTerm" identifier -> field_identifier)) )) ;) })) (if_statement "if (0 < (pPhrase->poslist).nSpace) {\n      sqlite3Fts5BufferFree(&pPhrase->poslist);\n    }" if (parenthesized_expression "(0 < (pPhrase->poslist).nSpace)" ( (binary_expression "0 < (pPhrase->poslist).nSpace" number_literal < (field_expression "(pPhrase->poslist).nSpace" (parenthesized_expression "(pPhrase->poslist)" ( (field_expression "pPhrase->poslist" identifier -> field_identifier) )) . field_identifier)) )) (compound_statement "{\n      sqlite3Fts5BufferFree(&pPhrase->poslist);\n    }" { (expression_statement "sqlite3Fts5BufferFree(&pPhrase->poslist);" (call_expression "sqlite3Fts5BufferFree(&pPhrase->poslist)" identifier (argument_list "(&pPhrase->poslist)" ( (pointer_expression "&pPhrase->poslist" & (field_expression "pPhrase->poslist" identifier -> field_identifier)) ))) ;) })) (expression_statement "sqlite3_free(pPhrase);" (call_expression "sqlite3_free(pPhrase)" identifier (argument_list "(pPhrase)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00089e00(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int local_24;\n  \n  if (param_1 != 0) {\n    if (0 < *(int *)(param_1 + 0x10)) {\n      local_24 = 0;\n      puVar3 = (undefined4 *)(param_1 + 0x18);\n      do {\n        FUN_00024cc0(*puVar3);\n        if (puVar3[1] != 0) {\n          FUN_00089dc0();\n        }\n        iVar2 = puVar3[2];\n        while (iVar2 != 0) {\n          iVar1 = *(int *)(iVar2 + 0xc);\n          if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }\n          FUN_00026630();\n          FUN_00024cc0(iVar2);\n          iVar2 = iVar1;\n        }\n        local_24 = local_24 + 1;\n        puVar3 = puVar3 + 4;\n      } while (local_24 < *(int *)(param_1 + 0x10));\n    }\n    if (0 < *(int *)(param_1 + 0xc)) {\n      FUN_00026630();\n    }\n    FUN_00024cc0(param_1);\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00089e00(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int local_24;\n  \n  if (param_1 != 0) {\n    if (0 < *(int *)(param_1 + 0x10)) {\n      local_24 = 0;\n      puVar3 = (undefined4 *)(param_1 + 0x18);\n      do {\n        FUN_00024cc0(*puVar3);\n        if (puVar3[1] != 0) {\n          FUN_00089dc0();\n        }\n        iVar2 = puVar3[2];\n        while (iVar2 != 0) {\n          iVar1 = *(int *)(iVar2 + 0xc);\n          if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }\n          FUN_00026630();\n          FUN_00024cc0(iVar2);\n          iVar2 = iVar1;\n        }\n        local_24 = local_24 + 1;\n        puVar3 = puVar3 + 4;\n      } while (local_24 < *(int *)(param_1 + 0x10));\n    }\n    if (0 < *(int *)(param_1 + 0xc)) {\n      FUN_00026630();\n    }\n    FUN_00024cc0(param_1);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00089e00(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int local_24;\n  \n  if (param_1 != 0) {\n    if (0 < *(int *)(param_1 + 0x10)) {\n      local_24 = 0;\n      puVar3 = (undefined4 *)(param_1 + 0x18);\n      do {\n        FUN_00024cc0(*puVar3);\n        if (puVar3[1] != 0) {\n          FUN_00089dc0();\n        }\n        iVar2 = puVar3[2];\n        while (iVar2 != 0) {\n          iVar1 = *(int *)(iVar2 + 0xc);\n          if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }\n          FUN_00026630();\n          FUN_00024cc0(iVar2);\n          iVar2 = iVar1;\n        }\n        local_24 = local_24 + 1;\n        puVar3 = puVar3 + 4;\n      } while (local_24 < *(int *)(param_1 + 0x10));\n    }\n    if (0 < *(int *)(param_1 + 0xc)) {\n      FUN_00026630();\n    }\n    FUN_00024cc0(param_1);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int local_24;" primitive_type identifier ;) (if_statement "if (param_1 != 0) {\n    if (0 < *(int *)(param_1 + 0x10)) {\n      local_24 = 0;\n      puVar3 = (undefined4 *)(param_1 + 0x18);\n      do {\n        FUN_00024cc0(*puVar3);\n        if (puVar3[1] != 0) {\n          FUN_00089dc0();\n        }\n        iVar2 = puVar3[2];\n        while (iVar2 != 0) {\n          iVar1 = *(int *)(iVar2 + 0xc);\n          if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }\n          FUN_00026630();\n          FUN_00024cc0(iVar2);\n          iVar2 = iVar1;\n        }\n        local_24 = local_24 + 1;\n        puVar3 = puVar3 + 4;\n      } while (local_24 < *(int *)(param_1 + 0x10));\n    }\n    if (0 < *(int *)(param_1 + 0xc)) {\n      FUN_00026630();\n    }\n    FUN_00024cc0(param_1);\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (0 < *(int *)(param_1 + 0x10)) {\n      local_24 = 0;\n      puVar3 = (undefined4 *)(param_1 + 0x18);\n      do {\n        FUN_00024cc0(*puVar3);\n        if (puVar3[1] != 0) {\n          FUN_00089dc0();\n        }\n        iVar2 = puVar3[2];\n        while (iVar2 != 0) {\n          iVar1 = *(int *)(iVar2 + 0xc);\n          if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }\n          FUN_00026630();\n          FUN_00024cc0(iVar2);\n          iVar2 = iVar1;\n        }\n        local_24 = local_24 + 1;\n        puVar3 = puVar3 + 4;\n      } while (local_24 < *(int *)(param_1 + 0x10));\n    }\n    if (0 < *(int *)(param_1 + 0xc)) {\n      FUN_00026630();\n    }\n    FUN_00024cc0(param_1);\n  }" { (if_statement "if (0 < *(int *)(param_1 + 0x10)) {\n      local_24 = 0;\n      puVar3 = (undefined4 *)(param_1 + 0x18);\n      do {\n        FUN_00024cc0(*puVar3);\n        if (puVar3[1] != 0) {\n          FUN_00089dc0();\n        }\n        iVar2 = puVar3[2];\n        while (iVar2 != 0) {\n          iVar1 = *(int *)(iVar2 + 0xc);\n          if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }\n          FUN_00026630();\n          FUN_00024cc0(iVar2);\n          iVar2 = iVar1;\n        }\n        local_24 = local_24 + 1;\n        puVar3 = puVar3 + 4;\n      } while (local_24 < *(int *)(param_1 + 0x10));\n    }" if (parenthesized_expression "(0 < *(int *)(param_1 + 0x10))" ( (binary_expression "0 < *(int *)(param_1 + 0x10)" number_literal < (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) ))))) )) (compound_statement "{\n      local_24 = 0;\n      puVar3 = (undefined4 *)(param_1 + 0x18);\n      do {\n        FUN_00024cc0(*puVar3);\n        if (puVar3[1] != 0) {\n          FUN_00089dc0();\n        }\n        iVar2 = puVar3[2];\n        while (iVar2 != 0) {\n          iVar1 = *(int *)(iVar2 + 0xc);\n          if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }\n          FUN_00026630();\n          FUN_00024cc0(iVar2);\n          iVar2 = iVar1;\n        }\n        local_24 = local_24 + 1;\n        puVar3 = puVar3 + 4;\n      } while (local_24 < *(int *)(param_1 + 0x10));\n    }" { (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "puVar3 = (undefined4 *)(param_1 + 0x18);" (assignment_expression "puVar3 = (undefined4 *)(param_1 + 0x18)" identifier = (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) ;) (do_statement "do {\n        FUN_00024cc0(*puVar3);\n        if (puVar3[1] != 0) {\n          FUN_00089dc0();\n        }\n        iVar2 = puVar3[2];\n        while (iVar2 != 0) {\n          iVar1 = *(int *)(iVar2 + 0xc);\n          if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }\n          FUN_00026630();\n          FUN_00024cc0(iVar2);\n          iVar2 = iVar1;\n        }\n        local_24 = local_24 + 1;\n        puVar3 = puVar3 + 4;\n      } while (local_24 < *(int *)(param_1 + 0x10));" do (compound_statement "{\n        FUN_00024cc0(*puVar3);\n        if (puVar3[1] != 0) {\n          FUN_00089dc0();\n        }\n        iVar2 = puVar3[2];\n        while (iVar2 != 0) {\n          iVar1 = *(int *)(iVar2 + 0xc);\n          if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }\n          FUN_00026630();\n          FUN_00024cc0(iVar2);\n          iVar2 = iVar1;\n        }\n        local_24 = local_24 + 1;\n        puVar3 = puVar3 + 4;\n      }" { (expression_statement "FUN_00024cc0(*puVar3);" (call_expression "FUN_00024cc0(*puVar3)" identifier (argument_list "(*puVar3)" ( (pointer_expression "*puVar3" * identifier) ))) ;) (if_statement "if (puVar3[1] != 0) {\n          FUN_00089dc0();\n        }" if (parenthesized_expression "(puVar3[1] != 0)" ( (binary_expression "puVar3[1] != 0" (subscript_expression "puVar3[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n          FUN_00089dc0();\n        }" { (expression_statement "FUN_00089dc0();" (call_expression "FUN_00089dc0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar2 = puVar3[2];" (assignment_expression "iVar2 = puVar3[2]" identifier = (subscript_expression "puVar3[2]" identifier [ number_literal ])) ;) (while_statement "while (iVar2 != 0) {\n          iVar1 = *(int *)(iVar2 + 0xc);\n          if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }\n          FUN_00026630();\n          FUN_00024cc0(iVar2);\n          iVar2 = iVar1;\n        }" while (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar1 = *(int *)(iVar2 + 0xc);\n          if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }\n          FUN_00026630();\n          FUN_00024cc0(iVar2);\n          iVar2 = iVar1;\n        }" { (expression_statement "iVar1 = *(int *)(iVar2 + 0xc);" (assignment_expression "iVar1 = *(int *)(iVar2 + 0xc)" identifier = (pointer_expression "*(int *)(iVar2 + 0xc)" * (cast_expression "(int *)(iVar2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }" if (parenthesized_expression "(*(int *)(iVar2 + 8) != 0)" ( (binary_expression "*(int *)(iVar2 + 8) != 0" (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            FUN_00089dc0();\n          }" { (expression_statement "FUN_00089dc0();" (call_expression "FUN_00089dc0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_00026630();" (call_expression "FUN_00026630()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00024cc0(iVar2);" (call_expression "FUN_00024cc0(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))) ;) (expression_statement "iVar2 = iVar1;" (assignment_expression "iVar2 = iVar1" identifier = identifier) ;) })) (expression_statement "local_24 = local_24 + 1;" (assignment_expression "local_24 = local_24 + 1" identifier = (binary_expression "local_24 + 1" identifier + number_literal)) ;) (expression_statement "puVar3 = puVar3 + 4;" (assignment_expression "puVar3 = puVar3 + 4" identifier = (binary_expression "puVar3 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_24 < *(int *)(param_1 + 0x10))" ( (binary_expression "local_24 < *(int *)(param_1 + 0x10)" identifier < (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) ))))) )) ;) })) (if_statement "if (0 < *(int *)(param_1 + 0xc)) {\n      FUN_00026630();\n    }" if (parenthesized_expression "(0 < *(int *)(param_1 + 0xc))" ( (binary_expression "0 < *(int *)(param_1 + 0xc)" number_literal < (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) )) (compound_statement "{\n      FUN_00026630();\n    }" { (expression_statement "FUN_00026630();" (call_expression "FUN_00026630()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_00024cc0(param_1);" (call_expression "FUN_00024cc0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (do_statement do (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00089e00(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int local_24;\n  \n  if (param_1 != 0) {\n    if (0 < *(int *)(param_1 + 0x10)) {\n      local_24 = 0;\n      puVar3 = (undefined4 *)(param_1 + 0x18);\n      do {\n        FUN_00024cc0(*puVar3);\n        if (puVar3[1] != 0) {\n          FUN_00089dc0();\n        }\n        iVar2 = puVar3[2];\n        while (iVar2 != 0) {\n          iVar1 = *(int *)(iVar2 + 0xc);\n          if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }\n          FUN_00026630();\n          FUN_00024cc0(iVar2);\n          iVar2 = iVar1;\n        }\n        local_24 = local_24 + 1;\n        puVar3 = puVar3 + 4;\n      } while (local_24 < *(int *)(param_1 + 0x10));\n    }\n    if (0 < *(int *)(param_1 + 0xc)) {\n      FUN_00026630();\n    }\n    FUN_00024cc0(param_1);\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00089e00(int param_1)" (identifier "FUN_00089e00") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int local_24;\n  \n  if (param_1 != 0) {\n    if (0 < *(int *)(param_1 + 0x10)) {\n      local_24 = 0;\n      puVar3 = (undefined4 *)(param_1 + 0x18);\n      do {\n        FUN_00024cc0(*puVar3);\n        if (puVar3[1] != 0) {\n          FUN_00089dc0();\n        }\n        iVar2 = puVar3[2];\n        while (iVar2 != 0) {\n          iVar1 = *(int *)(iVar2 + 0xc);\n          if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }\n          FUN_00026630();\n          FUN_00024cc0(iVar2);\n          iVar2 = iVar1;\n        }\n        local_24 = local_24 + 1;\n        puVar3 = puVar3 + 4;\n      } while (local_24 < *(int *)(param_1 + 0x10));\n    }\n    if (0 < *(int *)(param_1 + 0xc)) {\n      FUN_00026630();\n    }\n    FUN_00024cc0(param_1);\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (if_statement "if (param_1 != 0) {\n    if (0 < *(int *)(param_1 + 0x10)) {\n      local_24 = 0;\n      puVar3 = (undefined4 *)(param_1 + 0x18);\n      do {\n        FUN_00024cc0(*puVar3);\n        if (puVar3[1] != 0) {\n          FUN_00089dc0();\n        }\n        iVar2 = puVar3[2];\n        while (iVar2 != 0) {\n          iVar1 = *(int *)(iVar2 + 0xc);\n          if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }\n          FUN_00026630();\n          FUN_00024cc0(iVar2);\n          iVar2 = iVar1;\n        }\n        local_24 = local_24 + 1;\n        puVar3 = puVar3 + 4;\n      } while (local_24 < *(int *)(param_1 + 0x10));\n    }\n    if (0 < *(int *)(param_1 + 0xc)) {\n      FUN_00026630();\n    }\n    FUN_00024cc0(param_1);\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (0 < *(int *)(param_1 + 0x10)) {\n      local_24 = 0;\n      puVar3 = (undefined4 *)(param_1 + 0x18);\n      do {\n        FUN_00024cc0(*puVar3);\n        if (puVar3[1] != 0) {\n          FUN_00089dc0();\n        }\n        iVar2 = puVar3[2];\n        while (iVar2 != 0) {\n          iVar1 = *(int *)(iVar2 + 0xc);\n          if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }\n          FUN_00026630();\n          FUN_00024cc0(iVar2);\n          iVar2 = iVar1;\n        }\n        local_24 = local_24 + 1;\n        puVar3 = puVar3 + 4;\n      } while (local_24 < *(int *)(param_1 + 0x10));\n    }\n    if (0 < *(int *)(param_1 + 0xc)) {\n      FUN_00026630();\n    }\n    FUN_00024cc0(param_1);\n  }" ({ "{") (if_statement "if (0 < *(int *)(param_1 + 0x10)) {\n      local_24 = 0;\n      puVar3 = (undefined4 *)(param_1 + 0x18);\n      do {\n        FUN_00024cc0(*puVar3);\n        if (puVar3[1] != 0) {\n          FUN_00089dc0();\n        }\n        iVar2 = puVar3[2];\n        while (iVar2 != 0) {\n          iVar1 = *(int *)(iVar2 + 0xc);\n          if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }\n          FUN_00026630();\n          FUN_00024cc0(iVar2);\n          iVar2 = iVar1;\n        }\n        local_24 = local_24 + 1;\n        puVar3 = puVar3 + 4;\n      } while (local_24 < *(int *)(param_1 + 0x10));\n    }" (if "if") (parenthesized_expression "(0 < *(int *)(param_1 + 0x10))" (( "(") (binary_expression "0 < *(int *)(param_1 + 0x10)" (number_literal "0") (< "<") (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")) () ")"))))) () ")")) (compound_statement "{\n      local_24 = 0;\n      puVar3 = (undefined4 *)(param_1 + 0x18);\n      do {\n        FUN_00024cc0(*puVar3);\n        if (puVar3[1] != 0) {\n          FUN_00089dc0();\n        }\n        iVar2 = puVar3[2];\n        while (iVar2 != 0) {\n          iVar1 = *(int *)(iVar2 + 0xc);\n          if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }\n          FUN_00026630();\n          FUN_00024cc0(iVar2);\n          iVar2 = iVar1;\n        }\n        local_24 = local_24 + 1;\n        puVar3 = puVar3 + 4;\n      } while (local_24 < *(int *)(param_1 + 0x10));\n    }" ({ "{") (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" (identifier "local_24") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3 = (undefined4 *)(param_1 + 0x18);" (assignment_expression "puVar3 = (undefined4 *)(param_1 + 0x18)" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)(param_1 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (; ";")) (do_statement "do {\n        FUN_00024cc0(*puVar3);\n        if (puVar3[1] != 0) {\n          FUN_00089dc0();\n        }\n        iVar2 = puVar3[2];\n        while (iVar2 != 0) {\n          iVar1 = *(int *)(iVar2 + 0xc);\n          if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }\n          FUN_00026630();\n          FUN_00024cc0(iVar2);\n          iVar2 = iVar1;\n        }\n        local_24 = local_24 + 1;\n        puVar3 = puVar3 + 4;\n      } while (local_24 < *(int *)(param_1 + 0x10));" (do "do") (compound_statement "{\n        FUN_00024cc0(*puVar3);\n        if (puVar3[1] != 0) {\n          FUN_00089dc0();\n        }\n        iVar2 = puVar3[2];\n        while (iVar2 != 0) {\n          iVar1 = *(int *)(iVar2 + 0xc);\n          if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }\n          FUN_00026630();\n          FUN_00024cc0(iVar2);\n          iVar2 = iVar1;\n        }\n        local_24 = local_24 + 1;\n        puVar3 = puVar3 + 4;\n      }" ({ "{") (expression_statement "FUN_00024cc0(*puVar3);" (call_expression "FUN_00024cc0(*puVar3)" (identifier "FUN_00024cc0") (argument_list "(*puVar3)" (( "(") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) () ")"))) (; ";")) (if_statement "if (puVar3[1] != 0) {\n          FUN_00089dc0();\n        }" (if "if") (parenthesized_expression "(puVar3[1] != 0)" (( "(") (binary_expression "puVar3[1] != 0" (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          FUN_00089dc0();\n        }" ({ "{") (expression_statement "FUN_00089dc0();" (call_expression "FUN_00089dc0()" (identifier "FUN_00089dc0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar2 = puVar3[2];" (assignment_expression "iVar2 = puVar3[2]" (identifier "iVar2") (= "=") (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]"))) (; ";")) (while_statement "while (iVar2 != 0) {\n          iVar1 = *(int *)(iVar2 + 0xc);\n          if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }\n          FUN_00026630();\n          FUN_00024cc0(iVar2);\n          iVar2 = iVar1;\n        }" (while "while") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          iVar1 = *(int *)(iVar2 + 0xc);\n          if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }\n          FUN_00026630();\n          FUN_00024cc0(iVar2);\n          iVar2 = iVar1;\n        }" ({ "{") (expression_statement "iVar1 = *(int *)(iVar2 + 0xc);" (assignment_expression "iVar1 = *(int *)(iVar2 + 0xc)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(iVar2 + 0xc)" (* "*") (cast_expression "(int *)(iVar2 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0xc)" (( "(") (binary_expression "iVar2 + 0xc" (identifier "iVar2") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (if_statement "if (*(int *)(iVar2 + 8) != 0) {\n            FUN_00089dc0();\n          }" (if "if") (parenthesized_expression "(*(int *)(iVar2 + 8) != 0)" (( "(") (binary_expression "*(int *)(iVar2 + 8) != 0" (pointer_expression "*(int *)(iVar2 + 8)" (* "*") (cast_expression "(int *)(iVar2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            FUN_00089dc0();\n          }" ({ "{") (expression_statement "FUN_00089dc0();" (call_expression "FUN_00089dc0()" (identifier "FUN_00089dc0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00026630();" (call_expression "FUN_00026630()" (identifier "FUN_00026630") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_00024cc0(iVar2);" (call_expression "FUN_00024cc0(iVar2)" (identifier "FUN_00024cc0") (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")"))) (; ";")) (expression_statement "iVar2 = iVar1;" (assignment_expression "iVar2 = iVar1" (identifier "iVar2") (= "=") (identifier "iVar1")) (; ";")) (} "}"))) (expression_statement "local_24 = local_24 + 1;" (assignment_expression "local_24 = local_24 + 1" (identifier "local_24") (= "=") (binary_expression "local_24 + 1" (identifier "local_24") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar3 = puVar3 + 4;" (assignment_expression "puVar3 = puVar3 + 4" (identifier "puVar3") (= "=") (binary_expression "puVar3 + 4" (identifier "puVar3") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_24 < *(int *)(param_1 + 0x10))" (( "(") (binary_expression "local_24 < *(int *)(param_1 + 0x10)" (identifier "local_24") (< "<") (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")) () ")"))))) () ")")) (; ";")) (} "}"))) (if_statement "if (0 < *(int *)(param_1 + 0xc)) {\n      FUN_00026630();\n    }" (if "if") (parenthesized_expression "(0 < *(int *)(param_1 + 0xc))" (( "(") (binary_expression "0 < *(int *)(param_1 + 0xc)" (number_literal "0") (< "<") (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) () ")")) (compound_statement "{\n      FUN_00026630();\n    }" ({ "{") (expression_statement "FUN_00026630();" (call_expression "FUN_00026630()" (identifier "FUN_00026630") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00024cc0(param_1);" (call_expression "FUN_00024cc0(param_1)" (identifier "FUN_00024cc0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3 function_1(type_1 *var_1)

{
  type_2 *pFVar1;
  type_2 *var_4;
  char **var_7;
  int var_6;
  
  if (var_1 != (type_1 *)0x0) {
    if (0 < var_1->nTerm) {
      var_6 = 0;
      var_7 = &var_1->aTerm[0].zTerm;
      do {
        var_2(*var_7);
        if ((type_3 *)var_7[1] != (type_3 *)0x0) {
          var_3((type_3 *)var_7[1]);
        }
        var_4 = (type_2 *)var_7[2];
        while (var_4 != (type_2 *)0x0) {
          pFVar1 = var_4->pSynonym;
          if (var_4->pIter != (type_3 *)0x0) {
            var_3(var_4->pIter);
          }
          var_5((type_4 *)(var_4 + 1));
          var_2(var_4);
          var_4 = pFVar1;
        }
        var_6 = var_6 + 1;
        var_7 = var_7 + 4;
      } while (var_6 < var_1->nTerm);
    }
    if (0 < (var_1->poslist).nSpace) {
      var_5(&var_1->poslist);
    }
    var_2(var_1);
  }
  return;
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3 MASKED(int param_1)

{
  int iVar1;
  int iVar2;
  undefined4 *puVar3;
  int local_24;
  
  if (param_1 != 0) {
    if (0 < *(int *)(param_1 + 0x10)) {
      local_24 = 0;
      puVar3 = (undefined4 *)(param_1 + 0x18);
      do {
        FUN_00024cc0(*puVar3);
        if (puVar3[1] != 0) {
          FUN_00089dc0();
        }
        iVar2 = puVar3[2];
        while (iVar2 != 0) {
          iVar1 = *(int *)(iVar2 + 0xc);
          if (*(int *)(iVar2 + 8) != 0) {
            FUN_00089dc0();
          }
          FUN_00026630();
          FUN_00024cc0(iVar2);
          iVar2 = iVar1;
        }
        local_24 = local_24 + 1;
        puVar3 = puVar3 + 4;
      } while (local_24 < *(int *)(param_1 + 0x10));
    }
    if (0 < *(int *)(param_1 + 0xc)) {
      FUN_00026630();
    }
    FUN_00024cc0(param_1);
  }
  return;
}

