
void __regparm3 sqlite3Fts3PendingTermsClear(Fts3Table *p)

{
  Fts3HashElem *pFVar1;
  Fts3Index *pFVar2;
  int iVar3;
  
  if (0 < p->nIndex) {
    iVar3 = 0;
    do {
      pFVar2 = p->aIndex + iVar3;
      for (pFVar1 = p->aIndex[iVar3].hPending.first; pFVar1 != (Fts3HashElem *)0x0;
          pFVar1 = pFVar1->next) {
        sqlite3_free(pFVar1->data);
      }
      iVar3 = iVar3 + 1;
      sqlite3Fts3HashClear(&pFVar2->hPending);
    } while (iVar3 < p->nIndex);
  }
  p->nPendingData = 0;
  return;
}



void __regparm3 FUN_00043c90(int param_1)

{
  undefined4 *puVar1;
  int iVar2;
  
  if (0 < *(int *)(param_1 + 0xfc)) {
    iVar2 = 0;
    do {
      for (puVar1 = *(undefined4 **)(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc);
          puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {
        FUN_00042800(puVar1[2]);
      }
      iVar2 = iVar2 + 1;
      FUN_00043a90();
    } while (iVar2 < *(int *)(param_1 + 0xfc));
  }
  *(undefined4 *)(param_1 + 0x108) = 0;
  return;
}


PUSH EBP
PUSH EDI
MOV EDI,EAX
PUSH ESI
PUSH EBX
SUB ESP,0xc
MOV EAX,dword ptr [EAX + 0xfc]
TEST EAX,EAX
JLE 0x00043ce6
XOR ESI,ESI
LEA ESI,[ESI]
MOV EDX,dword ptr [EDI + 0x100]
LEA EAX,[ESI + ESI*0x2]
LEA EAX,[EDX + EAX*0x8]
MOV EBX,dword ptr [EAX + 0xc]
LEA EBP,[EAX + 0x4]
TEST EBX,EBX
JZ 0x00043cd4
NOP
SUB ESP,0xc
PUSH dword ptr [EBX + 0x8]
CALL 0x00042800
MOV EBX,dword ptr [EBX]
ADD ESP,0x10
TEST EBX,EBX
JNZ 0x00043cc0
MOV EAX,EBP
ADD ESI,0x1
CALL 0x00043a90
CMP dword ptr [EDI + 0xfc],ESI
JG 0x00043ca8
MOV dword ptr [EDI + 0x108],0x0
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "void __regparm3 FUN_00043c90(int param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if (0 < *(int *)(param_1 + 0xfc)) {\n    iVar2 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc);\n          puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n        FUN_00042800(puVar1[2]);\n      }\n      iVar2 = iVar2 + 1;\n      FUN_00043a90();\n    } while (iVar2 < *(int *)(param_1 + 0xfc));\n  }\n  *(undefined4 *)(param_1 + 0x108) = 0;\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00043c90(int param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if (0 < *(int *)(param_1 + 0xfc)) {\n    iVar2 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc);\n          puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n        FUN_00042800(puVar1[2]);\n      }\n      iVar2 = iVar2 + 1;\n      FUN_00043a90();\n    } while (iVar2 < *(int *)(param_1 + 0xfc));\n  }\n  *(undefined4 *)(param_1 + 0x108) = 0;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00043c90(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if (0 < *(int *)(param_1 + 0xfc)) {\n    iVar2 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc);\n          puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n        FUN_00042800(puVar1[2]);\n      }\n      iVar2 = iVar2 + 1;\n      FUN_00043a90();\n    } while (iVar2 < *(int *)(param_1 + 0xfc));\n  }\n  *(undefined4 *)(param_1 + 0x108) = 0;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (0 < *(int *)(param_1 + 0xfc)) {\n    iVar2 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc);\n          puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n        FUN_00042800(puVar1[2]);\n      }\n      iVar2 = iVar2 + 1;\n      FUN_00043a90();\n    } while (iVar2 < *(int *)(param_1 + 0xfc));\n  }" if (parenthesized_expression "(0 < *(int *)(param_1 + 0xfc))" ( (binary_expression "0 < *(int *)(param_1 + 0xfc)" number_literal < (pointer_expression "*(int *)(param_1 + 0xfc)" * (cast_expression "(int *)(param_1 + 0xfc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xfc)" ( (binary_expression "param_1 + 0xfc" identifier + number_literal) ))))) )) (compound_statement "{\n    iVar2 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc);\n          puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n        FUN_00042800(puVar1[2]);\n      }\n      iVar2 = iVar2 + 1;\n      FUN_00043a90();\n    } while (iVar2 < *(int *)(param_1 + 0xfc));\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n      for (puVar1 = *(undefined4 **)(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc);\n          puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n        FUN_00042800(puVar1[2]);\n      }\n      iVar2 = iVar2 + 1;\n      FUN_00043a90();\n    } while (iVar2 < *(int *)(param_1 + 0xfc));" do (compound_statement "{\n      for (puVar1 = *(undefined4 **)(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc);\n          puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n        FUN_00042800(puVar1[2]);\n      }\n      iVar2 = iVar2 + 1;\n      FUN_00043a90();\n    }" { (for_statement "for (puVar1 = *(undefined4 **)(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc);\n          puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n        FUN_00042800(puVar1[2]);\n      }" for ( (assignment_expression "puVar1 = *(undefined4 **)(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc)" identifier = (pointer_expression "*(undefined4 **)(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc)" * (cast_expression "(undefined4 **)(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc)" ( (binary_expression "*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc" (binary_expression "*(int *)(param_1 + 0x100) + iVar2 * 0x18" (pointer_expression "*(int *)(param_1 + 0x100)" * (cast_expression "(int *)(param_1 + 0x100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x100)" ( (binary_expression "param_1 + 0x100" identifier + number_literal) )))) + (binary_expression "iVar2 * 0x18" identifier * number_literal)) + number_literal) ))))) ; (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar1 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ) (compound_statement "{\n        FUN_00042800(puVar1[2]);\n      }" { (expression_statement "FUN_00042800(puVar1[2]);" (call_expression "FUN_00042800(puVar1[2])" identifier (argument_list "(puVar1[2])" ( (subscript_expression "puVar1[2]" identifier [ number_literal ]) ))) ;) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "FUN_00043a90();" (call_expression "FUN_00043a90()" identifier (argument_list "()" ( ))) ;) }) while (parenthesized_expression "(iVar2 < *(int *)(param_1 + 0xfc))" ( (binary_expression "iVar2 < *(int *)(param_1 + 0xfc)" identifier < (pointer_expression "*(int *)(param_1 + 0xfc)" * (cast_expression "(int *)(param_1 + 0xfc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xfc)" ( (binary_expression "param_1 + 0xfc" identifier + number_literal) ))))) )) ;) })) (expression_statement "*(undefined4 *)(param_1 + 0x108) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x108) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x108)" * (cast_expression "(undefined4 *)(param_1 + 0x108)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x108)" ( (binary_expression "param_1 + 0x108" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 sqlite3Fts3PendingTermsClear(Fts3Table *p)\n\n{\n  Fts3HashElem *pFVar1;\n  Fts3Index *pFVar2;\n  int iVar3;\n  \n  if (0 < p->nIndex) {\n    iVar3 = 0;\n    do {\n      pFVar2 = p->aIndex + iVar3;\n      for (pFVar1 = p->aIndex[iVar3].hPending.first; pFVar1 != (Fts3HashElem *)0x0;\n          pFVar1 = pFVar1->next) {\n        sqlite3_free(pFVar1->data);\n      }\n      iVar3 = iVar3 + 1;\n      sqlite3Fts3HashClear(&pFVar2->hPending);\n    } while (iVar3 < p->nIndex);\n  }\n  p->nPendingData = 0;\n  return;\n}\n\n" (function_definition "void __regparm3 sqlite3Fts3PendingTermsClear(Fts3Table *p)\n\n{\n  Fts3HashElem *pFVar1;\n  Fts3Index *pFVar2;\n  int iVar3;\n  \n  if (0 < p->nIndex) {\n    iVar3 = 0;\n    do {\n      pFVar2 = p->aIndex + iVar3;\n      for (pFVar1 = p->aIndex[iVar3].hPending.first; pFVar1 != (Fts3HashElem *)0x0;\n          pFVar1 = pFVar1->next) {\n        sqlite3_free(pFVar1->data);\n      }\n      iVar3 = iVar3 + 1;\n      sqlite3Fts3HashClear(&pFVar2->hPending);\n    } while (iVar3 < p->nIndex);\n  }\n  p->nPendingData = 0;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "sqlite3Fts3PendingTermsClear(Fts3Table *p)" identifier (parameter_list "(Fts3Table *p)" ( (parameter_declaration "Fts3Table *p" type_identifier (pointer_declarator "*p" * identifier)) ))) (compound_statement "{\n  Fts3HashElem *pFVar1;\n  Fts3Index *pFVar2;\n  int iVar3;\n  \n  if (0 < p->nIndex) {\n    iVar3 = 0;\n    do {\n      pFVar2 = p->aIndex + iVar3;\n      for (pFVar1 = p->aIndex[iVar3].hPending.first; pFVar1 != (Fts3HashElem *)0x0;\n          pFVar1 = pFVar1->next) {\n        sqlite3_free(pFVar1->data);\n      }\n      iVar3 = iVar3 + 1;\n      sqlite3Fts3HashClear(&pFVar2->hPending);\n    } while (iVar3 < p->nIndex);\n  }\n  p->nPendingData = 0;\n  return;\n}" { (declaration "Fts3HashElem *pFVar1;" type_identifier (pointer_declarator "*pFVar1" * identifier) ;) (declaration "Fts3Index *pFVar2;" type_identifier (pointer_declarator "*pFVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if (0 < p->nIndex) {\n    iVar3 = 0;\n    do {\n      pFVar2 = p->aIndex + iVar3;\n      for (pFVar1 = p->aIndex[iVar3].hPending.first; pFVar1 != (Fts3HashElem *)0x0;\n          pFVar1 = pFVar1->next) {\n        sqlite3_free(pFVar1->data);\n      }\n      iVar3 = iVar3 + 1;\n      sqlite3Fts3HashClear(&pFVar2->hPending);\n    } while (iVar3 < p->nIndex);\n  }" if (parenthesized_expression "(0 < p->nIndex)" ( (binary_expression "0 < p->nIndex" number_literal < (field_expression "p->nIndex" identifier -> field_identifier)) )) (compound_statement "{\n    iVar3 = 0;\n    do {\n      pFVar2 = p->aIndex + iVar3;\n      for (pFVar1 = p->aIndex[iVar3].hPending.first; pFVar1 != (Fts3HashElem *)0x0;\n          pFVar1 = pFVar1->next) {\n        sqlite3_free(pFVar1->data);\n      }\n      iVar3 = iVar3 + 1;\n      sqlite3Fts3HashClear(&pFVar2->hPending);\n    } while (iVar3 < p->nIndex);\n  }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      pFVar2 = p->aIndex + iVar3;\n      for (pFVar1 = p->aIndex[iVar3].hPending.first; pFVar1 != (Fts3HashElem *)0x0;\n          pFVar1 = pFVar1->next) {\n        sqlite3_free(pFVar1->data);\n      }\n      iVar3 = iVar3 + 1;\n      sqlite3Fts3HashClear(&pFVar2->hPending);\n    } while (iVar3 < p->nIndex);" do (compound_statement "{\n      pFVar2 = p->aIndex + iVar3;\n      for (pFVar1 = p->aIndex[iVar3].hPending.first; pFVar1 != (Fts3HashElem *)0x0;\n          pFVar1 = pFVar1->next) {\n        sqlite3_free(pFVar1->data);\n      }\n      iVar3 = iVar3 + 1;\n      sqlite3Fts3HashClear(&pFVar2->hPending);\n    }" { (expression_statement "pFVar2 = p->aIndex + iVar3;" (assignment_expression "pFVar2 = p->aIndex + iVar3" identifier = (binary_expression "p->aIndex + iVar3" (field_expression "p->aIndex" identifier -> field_identifier) + identifier)) ;) (for_statement "for (pFVar1 = p->aIndex[iVar3].hPending.first; pFVar1 != (Fts3HashElem *)0x0;\n          pFVar1 = pFVar1->next) {\n        sqlite3_free(pFVar1->data);\n      }" for ( (assignment_expression "pFVar1 = p->aIndex[iVar3].hPending.first" identifier = (field_expression "p->aIndex[iVar3].hPending.first" (field_expression "p->aIndex[iVar3].hPending" (subscript_expression "p->aIndex[iVar3]" (field_expression "p->aIndex" identifier -> field_identifier) [ identifier ]) . field_identifier) . field_identifier)) ; (binary_expression "pFVar1 != (Fts3HashElem *)0x0" identifier != (cast_expression "(Fts3HashElem *)0x0" ( (type_descriptor "Fts3HashElem *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "pFVar1 = pFVar1->next" identifier = (field_expression "pFVar1->next" identifier -> field_identifier)) ) (compound_statement "{\n        sqlite3_free(pFVar1->data);\n      }" { (expression_statement "sqlite3_free(pFVar1->data);" (call_expression "sqlite3_free(pFVar1->data)" identifier (argument_list "(pFVar1->data)" ( (field_expression "pFVar1->data" identifier -> field_identifier) ))) ;) })) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "sqlite3Fts3HashClear(&pFVar2->hPending);" (call_expression "sqlite3Fts3HashClear(&pFVar2->hPending)" identifier (argument_list "(&pFVar2->hPending)" ( (pointer_expression "&pFVar2->hPending" & (field_expression "pFVar2->hPending" identifier -> field_identifier)) ))) ;) }) while (parenthesized_expression "(iVar3 < p->nIndex)" ( (binary_expression "iVar3 < p->nIndex" identifier < (field_expression "p->nIndex" identifier -> field_identifier)) )) ;) })) (expression_statement "p->nPendingData = 0;" (assignment_expression "p->nPendingData = 0" (field_expression "p->nPendingData" identifier -> field_identifier) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00043c90(int param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if (0 < *(int *)(param_1 + 0xfc)) {\n    iVar2 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc);\n          puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n        FUN_00042800(puVar1[2]);\n      }\n      iVar2 = iVar2 + 1;\n      FUN_00043a90();\n    } while (iVar2 < *(int *)(param_1 + 0xfc));\n  }\n  *(undefined4 *)(param_1 + 0x108) = 0;\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00043c90(int param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if (0 < *(int *)(param_1 + 0xfc)) {\n    iVar2 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc);\n          puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n        FUN_00042800(puVar1[2]);\n      }\n      iVar2 = iVar2 + 1;\n      FUN_00043a90();\n    } while (iVar2 < *(int *)(param_1 + 0xfc));\n  }\n  *(undefined4 *)(param_1 + 0x108) = 0;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00043c90(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if (0 < *(int *)(param_1 + 0xfc)) {\n    iVar2 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc);\n          puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n        FUN_00042800(puVar1[2]);\n      }\n      iVar2 = iVar2 + 1;\n      FUN_00043a90();\n    } while (iVar2 < *(int *)(param_1 + 0xfc));\n  }\n  *(undefined4 *)(param_1 + 0x108) = 0;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (0 < *(int *)(param_1 + 0xfc)) {\n    iVar2 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc);\n          puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n        FUN_00042800(puVar1[2]);\n      }\n      iVar2 = iVar2 + 1;\n      FUN_00043a90();\n    } while (iVar2 < *(int *)(param_1 + 0xfc));\n  }" if (parenthesized_expression "(0 < *(int *)(param_1 + 0xfc))" ( (binary_expression "0 < *(int *)(param_1 + 0xfc)" number_literal < (pointer_expression "*(int *)(param_1 + 0xfc)" * (cast_expression "(int *)(param_1 + 0xfc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xfc)" ( (binary_expression "param_1 + 0xfc" identifier + number_literal) ))))) )) (compound_statement "{\n    iVar2 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc);\n          puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n        FUN_00042800(puVar1[2]);\n      }\n      iVar2 = iVar2 + 1;\n      FUN_00043a90();\n    } while (iVar2 < *(int *)(param_1 + 0xfc));\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n      for (puVar1 = *(undefined4 **)(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc);\n          puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n        FUN_00042800(puVar1[2]);\n      }\n      iVar2 = iVar2 + 1;\n      FUN_00043a90();\n    } while (iVar2 < *(int *)(param_1 + 0xfc));" do (compound_statement "{\n      for (puVar1 = *(undefined4 **)(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc);\n          puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n        FUN_00042800(puVar1[2]);\n      }\n      iVar2 = iVar2 + 1;\n      FUN_00043a90();\n    }" { (for_statement "for (puVar1 = *(undefined4 **)(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc);\n          puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n        FUN_00042800(puVar1[2]);\n      }" for ( (assignment_expression "puVar1 = *(undefined4 **)(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc)" identifier = (pointer_expression "*(undefined4 **)(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc)" * (cast_expression "(undefined4 **)(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc)" ( (binary_expression "*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc" (binary_expression "*(int *)(param_1 + 0x100) + iVar2 * 0x18" (pointer_expression "*(int *)(param_1 + 0x100)" * (cast_expression "(int *)(param_1 + 0x100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x100)" ( (binary_expression "param_1 + 0x100" identifier + number_literal) )))) + (binary_expression "iVar2 * 0x18" identifier * number_literal)) + number_literal) ))))) ; (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar1 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ) (compound_statement "{\n        FUN_00042800(puVar1[2]);\n      }" { (expression_statement "FUN_00042800(puVar1[2]);" (call_expression "FUN_00042800(puVar1[2])" identifier (argument_list "(puVar1[2])" ( (subscript_expression "puVar1[2]" identifier [ number_literal ]) ))) ;) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "FUN_00043a90();" (call_expression "FUN_00043a90()" identifier (argument_list "()" ( ))) ;) }) while (parenthesized_expression "(iVar2 < *(int *)(param_1 + 0xfc))" ( (binary_expression "iVar2 < *(int *)(param_1 + 0xfc)" identifier < (pointer_expression "*(int *)(param_1 + 0xfc)" * (cast_expression "(int *)(param_1 + 0xfc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xfc)" ( (binary_expression "param_1 + 0xfc" identifier + number_literal) ))))) )) ;) })) (expression_statement "*(undefined4 *)(param_1 + 0x108) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x108) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x108)" * (cast_expression "(undefined4 *)(param_1 + 0x108)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x108)" ( (binary_expression "param_1 + 0x108" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (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) ;) (do_statement do (compound_statement { (for_statement for ( (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) + LIT) ))))) ; (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ; (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00043c90(int param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if (0 < *(int *)(param_1 + 0xfc)) {\n    iVar2 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc);\n          puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n        FUN_00042800(puVar1[2]);\n      }\n      iVar2 = iVar2 + 1;\n      FUN_00043a90();\n    } while (iVar2 < *(int *)(param_1 + 0xfc));\n  }\n  *(undefined4 *)(param_1 + 0x108) = 0;\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00043c90(int param_1)" (identifier "FUN_00043c90") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if (0 < *(int *)(param_1 + 0xfc)) {\n    iVar2 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc);\n          puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n        FUN_00042800(puVar1[2]);\n      }\n      iVar2 = iVar2 + 1;\n      FUN_00043a90();\n    } while (iVar2 < *(int *)(param_1 + 0xfc));\n  }\n  *(undefined4 *)(param_1 + 0x108) = 0;\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (if_statement "if (0 < *(int *)(param_1 + 0xfc)) {\n    iVar2 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc);\n          puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n        FUN_00042800(puVar1[2]);\n      }\n      iVar2 = iVar2 + 1;\n      FUN_00043a90();\n    } while (iVar2 < *(int *)(param_1 + 0xfc));\n  }" (if "if") (parenthesized_expression "(0 < *(int *)(param_1 + 0xfc))" (( "(") (binary_expression "0 < *(int *)(param_1 + 0xfc)" (number_literal "0") (< "<") (pointer_expression "*(int *)(param_1 + 0xfc)" (* "*") (cast_expression "(int *)(param_1 + 0xfc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xfc)" (( "(") (binary_expression "param_1 + 0xfc" (identifier "param_1") (+ "+") (number_literal "0xfc")) () ")"))))) () ")")) (compound_statement "{\n    iVar2 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc);\n          puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n        FUN_00042800(puVar1[2]);\n      }\n      iVar2 = iVar2 + 1;\n      FUN_00043a90();\n    } while (iVar2 < *(int *)(param_1 + 0xfc));\n  }" ({ "{") (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      for (puVar1 = *(undefined4 **)(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc);\n          puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n        FUN_00042800(puVar1[2]);\n      }\n      iVar2 = iVar2 + 1;\n      FUN_00043a90();\n    } while (iVar2 < *(int *)(param_1 + 0xfc));" (do "do") (compound_statement "{\n      for (puVar1 = *(undefined4 **)(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc);\n          puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n        FUN_00042800(puVar1[2]);\n      }\n      iVar2 = iVar2 + 1;\n      FUN_00043a90();\n    }" ({ "{") (for_statement "for (puVar1 = *(undefined4 **)(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc);\n          puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n        FUN_00042800(puVar1[2]);\n      }" (for "for") (( "(") (assignment_expression "puVar1 = *(undefined4 **)(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc)" (identifier "puVar1") (= "=") (pointer_expression "*(undefined4 **)(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc)" (* "*") (cast_expression "(undefined4 **)(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc)" (( "(") (binary_expression "*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc" (binary_expression "*(int *)(param_1 + 0x100) + iVar2 * 0x18" (pointer_expression "*(int *)(param_1 + 0x100)" (* "*") (cast_expression "(int *)(param_1 + 0x100)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x100)" (( "(") (binary_expression "param_1 + 0x100" (identifier "param_1") (+ "+") (number_literal "0x100")) () ")")))) (+ "+") (binary_expression "iVar2 * 0x18" (identifier "iVar2") (* "*") (number_literal "0x18"))) (+ "+") (number_literal "0xc")) () ")"))))) (; ";") (binary_expression "puVar1 != (undefined4 *)0x0" (identifier "puVar1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";") (assignment_expression "puVar1 = (undefined4 *)*puVar1" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)*puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")))) () ")") (compound_statement "{\n        FUN_00042800(puVar1[2]);\n      }" ({ "{") (expression_statement "FUN_00042800(puVar1[2]);" (call_expression "FUN_00042800(puVar1[2])" (identifier "FUN_00042800") (argument_list "(puVar1[2])" (( "(") (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) () ")"))) (; ";")) (} "}"))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_00043a90();" (call_expression "FUN_00043a90()" (identifier "FUN_00043a90") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar2 < *(int *)(param_1 + 0xfc))" (( "(") (binary_expression "iVar2 < *(int *)(param_1 + 0xfc)" (identifier "iVar2") (< "<") (pointer_expression "*(int *)(param_1 + 0xfc)" (* "*") (cast_expression "(int *)(param_1 + 0xfc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xfc)" (( "(") (binary_expression "param_1 + 0xfc" (identifier "param_1") (+ "+") (number_literal "0xfc")) () ")"))))) () ")")) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(param_1 + 0x108) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x108) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x108)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x108)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x108)" (( "(") (binary_expression "param_1 + 0x108" (identifier "param_1") (+ "+") (number_literal "0x108")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void __regparm3 function_1(type_1 *p)

{
  type_2 *var_2;
  type_3 *pFVar2;
  int var_1;
  
  if (0 < p->nIndex) {
    var_1 = 0;
    do {
      pFVar2 = p->aIndex + var_1;
      for (var_2 = p->aIndex[var_1].hPending.first; var_2 != (type_2 *)0x0;
          var_2 = var_2->next) {
        var_3(var_2->data);
      }
      var_1 = var_1 + 1;
      var_4(&pFVar2->hPending);
    } while (var_1 < p->nIndex);
  }
  p->nPendingData = 0;
  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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (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))) (do_statement body: (compound_statement (for_statement initializer: (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))))) condition: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))) update: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))) 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)))))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (return_statement))))

void __regparm3 MASKED(int param_1)

{
  undefined4 *puVar1;
  int iVar2;
  
  if (0 < *(int *)(param_1 + 0xfc)) {
    iVar2 = 0;
    do {
      for (puVar1 = *(undefined4 **)(*(int *)(param_1 + 0x100) + iVar2 * 0x18 + 0xc);
          puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {
        FUN_00042800(puVar1[2]);
      }
      iVar2 = iVar2 + 1;
      FUN_00043a90();
    } while (iVar2 < *(int *)(param_1 + 0xfc));
  }
  *(undefined4 *)(param_1 + 0x108) = 0;
  return;
}

