
int sqlite3Fts5StorageDeleteAll(Fts5Storage *p)

{
  Fts5Config *pFVar1;
  Fts5Storage *p_00;
  int iVar2;
  Fts5Index *unaff_EBX;
  int unaff_EDI;
  char *iVal;
  char *pcVar3;
  
  p_00 = (Fts5Storage *)__x86_get_pc_thunk_di();
  pFVar1 = p_00->pConfig;
  iVal = pFVar1->zDb;
  pcVar3 = pFVar1->zName;
  iVar2 = fts5ExecPrintf(pFVar1->db,(char **)0x0,(char *)(unaff_EDI + 0x3e1c6),iVal,pcVar3,iVal,
                         pcVar3);
  if ((iVar2 == 0) &&
     (((pFVar1->bColumnsize == 0 ||
       (iVar2 = fts5ExecPrintf(pFVar1->db,(char **)0x0,(char *)(unaff_EDI + 0x2f54d),pFVar1->zDb,
                               pFVar1->zName,iVal,pcVar3), iVar2 == 0)) &&
      (iVar2 = sqlite3Fts5IndexReinit(unaff_EBX), iVar2 == 0)))) {
    iVar2 = sqlite3Fts5StorageConfigValue
                      (p_00,(char *)(unaff_EDI + 0x25d4f),(sqlite3_value *)&DAT_00000004,(int)iVal);
  }
  return iVar2;
}



void FUN_000f22d0(void)

{
  undefined4 *puVar1;
  int *piVar2;
  int iVar3;
  int unaff_EDI;
  undefined4 uVar4;
  undefined4 uVar5;
  
  piVar2 = (int *)FUN_00036ac5();
  puVar1 = (undefined4 *)*piVar2;
  uVar4 = puVar1[1];
  uVar5 = puVar1[2];
  iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x3e1c6,uVar4,uVar5,uVar4,uVar5);
  if ((iVar3 == 0) &&
     (((puVar1[0xb] == 0 ||
       (iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),
       iVar3 == 0)) && (iVar3 = FUN_000eab60(), iVar3 == 0)))) {
    FUN_000f2120(4);
  }
  return;
}


PUSH EDI
CALL 0x00036ac5
ADD EDI,0x89b52
PUSH ESI
MOV ESI,EAX
PUSH EBX
MOV EBX,dword ptr [EAX]
MOV EAX,dword ptr [EBX + 0x4]
MOV EDX,dword ptr [EBX + 0x8]
SUB ESP,0x4
PUSH EDX
PUSH EAX
PUSH EDX
PUSH EAX
LEA EAX,[EDI + 0xfffb4674]
PUSH EAX
PUSH 0x0
PUSH dword ptr [EBX]
CALL 0x000e9950
ADD ESP,0x20
TEST EAX,EAX
JNZ 0x000f2330
MOV EAX,dword ptr [EBX + 0x2c]
TEST EAX,EAX
JNZ 0x000f2338
MOV EAX,dword ptr [ESI + 0x4]
CALL 0x000eab60
TEST EAX,EAX
JNZ 0x000f2330
SUB ESP,0xc
XOR ECX,ECX
LEA EDX,[EDI + 0xfff9c1fd]
MOV EAX,ESI
PUSH 0x4
CALL 0x000f2120
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
SUB ESP,0xc
LEA EAX,[EDI + 0xfffa59fb]
PUSH dword ptr [EBX + 0x8]
PUSH dword ptr [EBX + 0x4]
PUSH EAX
PUSH 0x0
PUSH dword ptr [EBX]
CALL 0x000e9950
ADD ESP,0x20
TEST EAX,EAX
JNZ 0x000f2330
JMP 0x000f230d
(translation_unit "void FUN_000f22d0(void)\n\n{\n  undefined4 *puVar1;\n  int *piVar2;\n  int iVar3;\n  int unaff_EDI;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  \n  piVar2 = (int *)FUN_00036ac5();\n  puVar1 = (undefined4 *)*piVar2;\n  uVar4 = puVar1[1];\n  uVar5 = puVar1[2];\n  iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x3e1c6,uVar4,uVar5,uVar4,uVar5);\n  if ((iVar3 == 0) &&\n     (((puVar1[0xb] == 0 ||\n       (iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0)) && (iVar3 = FUN_000eab60(), iVar3 == 0)))) {\n    FUN_000f2120(4);\n  }\n  return;\n}\n\n" (function_definition "void FUN_000f22d0(void)\n\n{\n  undefined4 *puVar1;\n  int *piVar2;\n  int iVar3;\n  int unaff_EDI;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  \n  piVar2 = (int *)FUN_00036ac5();\n  puVar1 = (undefined4 *)*piVar2;\n  uVar4 = puVar1[1];\n  uVar5 = puVar1[2];\n  iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x3e1c6,uVar4,uVar5,uVar4,uVar5);\n  if ((iVar3 == 0) &&\n     (((puVar1[0xb] == 0 ||\n       (iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0)) && (iVar3 = FUN_000eab60(), iVar3 == 0)))) {\n    FUN_000f2120(4);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000f22d0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int *piVar2;\n  int iVar3;\n  int unaff_EDI;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  \n  piVar2 = (int *)FUN_00036ac5();\n  puVar1 = (undefined4 *)*piVar2;\n  uVar4 = puVar1[1];\n  uVar5 = puVar1[2];\n  iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x3e1c6,uVar4,uVar5,uVar4,uVar5);\n  if ((iVar3 == 0) &&\n     (((puVar1[0xb] == 0 ||\n       (iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0)) && (iVar3 = FUN_000eab60(), iVar3 == 0)))) {\n    FUN_000f2120(4);\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (expression_statement "piVar2 = (int *)FUN_00036ac5();" (assignment_expression "piVar2 = (int *)FUN_00036ac5()" identifier = (cast_expression "(int *)FUN_00036ac5()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00036ac5()" identifier (argument_list "()" ( ))))) ;) (expression_statement "puVar1 = (undefined4 *)*piVar2;" (assignment_expression "puVar1 = (undefined4 *)*piVar2" identifier = (cast_expression "(undefined4 *)*piVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) (expression_statement "uVar4 = puVar1[1];" (assignment_expression "uVar4 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "uVar5 = puVar1[2];" (assignment_expression "uVar5 = puVar1[2]" identifier = (subscript_expression "puVar1[2]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x3e1c6,uVar4,uVar5,uVar4,uVar5);" (assignment_expression "iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x3e1c6,uVar4,uVar5,uVar4,uVar5)" identifier = (call_expression "FUN_000e9950(*puVar1,0,unaff_EDI + 0x3e1c6,uVar4,uVar5,uVar4,uVar5)" identifier (argument_list "(*puVar1,0,unaff_EDI + 0x3e1c6,uVar4,uVar5,uVar4,uVar5)" ( (pointer_expression "*puVar1" * identifier) , number_literal , (binary_expression "unaff_EDI + 0x3e1c6" identifier + number_literal) , identifier , identifier , identifier , identifier )))) ;) (if_statement "if ((iVar3 == 0) &&\n     (((puVar1[0xb] == 0 ||\n       (iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0)) && (iVar3 = FUN_000eab60(), iVar3 == 0)))) {\n    FUN_000f2120(4);\n  }" if (parenthesized_expression "((iVar3 == 0) &&\n     (((puVar1[0xb] == 0 ||\n       (iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0)) && (iVar3 = FUN_000eab60(), iVar3 == 0))))" ( (binary_expression "(iVar3 == 0) &&\n     (((puVar1[0xb] == 0 ||\n       (iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0)) && (iVar3 = FUN_000eab60(), iVar3 == 0)))" (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) && (parenthesized_expression "(((puVar1[0xb] == 0 ||\n       (iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0)) && (iVar3 = FUN_000eab60(), iVar3 == 0)))" ( (parenthesized_expression "((puVar1[0xb] == 0 ||\n       (iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0)) && (iVar3 = FUN_000eab60(), iVar3 == 0))" ( (binary_expression "(puVar1[0xb] == 0 ||\n       (iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0)) && (iVar3 = FUN_000eab60(), iVar3 == 0)" (parenthesized_expression "(puVar1[0xb] == 0 ||\n       (iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0))" ( (binary_expression "puVar1[0xb] == 0 ||\n       (iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0)" (binary_expression "puVar1[0xb] == 0" (subscript_expression "puVar1[0xb]" identifier [ number_literal ]) == number_literal) || (parenthesized_expression "(iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0)" ( (comma_expression "iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0" (assignment_expression "iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5)" identifier = (call_expression "FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5)" identifier (argument_list "(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5)" ( (pointer_expression "*puVar1" * identifier) , number_literal , (binary_expression "unaff_EDI + 0x2f54d" identifier + number_literal) , (subscript_expression "puVar1[1]" identifier [ number_literal ]) , (subscript_expression "puVar1[2]" identifier [ number_literal ]) , identifier , identifier )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "(iVar3 = FUN_000eab60(), iVar3 == 0)" ( (comma_expression "iVar3 = FUN_000eab60(), iVar3 == 0" (assignment_expression "iVar3 = FUN_000eab60()" identifier = (call_expression "FUN_000eab60()" identifier (argument_list "()" ( )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) ))) )) (compound_statement "{\n    FUN_000f2120(4);\n  }" { (expression_statement "FUN_000f2120(4);" (call_expression "FUN_000f2120(4)" identifier (argument_list "(4)" ( number_literal ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "int sqlite3Fts5StorageDeleteAll(Fts5Storage *p)\n\n{\n  Fts5Config *pFVar1;\n  Fts5Storage *p_00;\n  int iVar2;\n  Fts5Index *unaff_EBX;\n  int unaff_EDI;\n  char *iVal;\n  char *pcVar3;\n  \n  p_00 = (Fts5Storage *)__x86_get_pc_thunk_di();\n  pFVar1 = p_00->pConfig;\n  iVal = pFVar1->zDb;\n  pcVar3 = pFVar1->zName;\n  iVar2 = fts5ExecPrintf(pFVar1->db,(char **)0x0,(char *)(unaff_EDI + 0x3e1c6),iVal,pcVar3,iVal,\n                         pcVar3);\n  if ((iVar2 == 0) &&\n     (((pFVar1->bColumnsize == 0 ||\n       (iVar2 = fts5ExecPrintf(pFVar1->db,(char **)0x0,(char *)(unaff_EDI + 0x2f54d),pFVar1->zDb,\n                               pFVar1->zName,iVal,pcVar3), iVar2 == 0)) &&\n      (iVar2 = sqlite3Fts5IndexReinit(unaff_EBX), iVar2 == 0)))) {\n    iVar2 = sqlite3Fts5StorageConfigValue\n                      (p_00,(char *)(unaff_EDI + 0x25d4f),(sqlite3_value *)&DAT_00000004,(int)iVal);\n  }\n  return iVar2;\n}\n\n" (function_definition "int sqlite3Fts5StorageDeleteAll(Fts5Storage *p)\n\n{\n  Fts5Config *pFVar1;\n  Fts5Storage *p_00;\n  int iVar2;\n  Fts5Index *unaff_EBX;\n  int unaff_EDI;\n  char *iVal;\n  char *pcVar3;\n  \n  p_00 = (Fts5Storage *)__x86_get_pc_thunk_di();\n  pFVar1 = p_00->pConfig;\n  iVal = pFVar1->zDb;\n  pcVar3 = pFVar1->zName;\n  iVar2 = fts5ExecPrintf(pFVar1->db,(char **)0x0,(char *)(unaff_EDI + 0x3e1c6),iVal,pcVar3,iVal,\n                         pcVar3);\n  if ((iVar2 == 0) &&\n     (((pFVar1->bColumnsize == 0 ||\n       (iVar2 = fts5ExecPrintf(pFVar1->db,(char **)0x0,(char *)(unaff_EDI + 0x2f54d),pFVar1->zDb,\n                               pFVar1->zName,iVal,pcVar3), iVar2 == 0)) &&\n      (iVar2 = sqlite3Fts5IndexReinit(unaff_EBX), iVar2 == 0)))) {\n    iVar2 = sqlite3Fts5StorageConfigValue\n                      (p_00,(char *)(unaff_EDI + 0x25d4f),(sqlite3_value *)&DAT_00000004,(int)iVal);\n  }\n  return iVar2;\n}" primitive_type (function_declarator "sqlite3Fts5StorageDeleteAll(Fts5Storage *p)" identifier (parameter_list "(Fts5Storage *p)" ( (parameter_declaration "Fts5Storage *p" type_identifier (pointer_declarator "*p" * identifier)) ))) (compound_statement "{\n  Fts5Config *pFVar1;\n  Fts5Storage *p_00;\n  int iVar2;\n  Fts5Index *unaff_EBX;\n  int unaff_EDI;\n  char *iVal;\n  char *pcVar3;\n  \n  p_00 = (Fts5Storage *)__x86_get_pc_thunk_di();\n  pFVar1 = p_00->pConfig;\n  iVal = pFVar1->zDb;\n  pcVar3 = pFVar1->zName;\n  iVar2 = fts5ExecPrintf(pFVar1->db,(char **)0x0,(char *)(unaff_EDI + 0x3e1c6),iVal,pcVar3,iVal,\n                         pcVar3);\n  if ((iVar2 == 0) &&\n     (((pFVar1->bColumnsize == 0 ||\n       (iVar2 = fts5ExecPrintf(pFVar1->db,(char **)0x0,(char *)(unaff_EDI + 0x2f54d),pFVar1->zDb,\n                               pFVar1->zName,iVal,pcVar3), iVar2 == 0)) &&\n      (iVar2 = sqlite3Fts5IndexReinit(unaff_EBX), iVar2 == 0)))) {\n    iVar2 = sqlite3Fts5StorageConfigValue\n                      (p_00,(char *)(unaff_EDI + 0x25d4f),(sqlite3_value *)&DAT_00000004,(int)iVal);\n  }\n  return iVar2;\n}" { (declaration "Fts5Config *pFVar1;" type_identifier (pointer_declarator "*pFVar1" * identifier) ;) (declaration "Fts5Storage *p_00;" type_identifier (pointer_declarator "*p_00" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "Fts5Index *unaff_EBX;" type_identifier (pointer_declarator "*unaff_EBX" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "char *iVal;" primitive_type (pointer_declarator "*iVal" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (expression_statement "p_00 = (Fts5Storage *)__x86_get_pc_thunk_di();" (assignment_expression "p_00 = (Fts5Storage *)__x86_get_pc_thunk_di()" identifier = (cast_expression "(Fts5Storage *)__x86_get_pc_thunk_di()" ( (type_descriptor "Fts5Storage *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( ))))) ;) (expression_statement "pFVar1 = p_00->pConfig;" (assignment_expression "pFVar1 = p_00->pConfig" identifier = (field_expression "p_00->pConfig" identifier -> field_identifier)) ;) (expression_statement "iVal = pFVar1->zDb;" (assignment_expression "iVal = pFVar1->zDb" identifier = (field_expression "pFVar1->zDb" identifier -> field_identifier)) ;) (expression_statement "pcVar3 = pFVar1->zName;" (assignment_expression "pcVar3 = pFVar1->zName" identifier = (field_expression "pFVar1->zName" identifier -> field_identifier)) ;) (expression_statement "iVar2 = fts5ExecPrintf(pFVar1->db,(char **)0x0,(char *)(unaff_EDI + 0x3e1c6),iVal,pcVar3,iVal,\n                         pcVar3);" (assignment_expression "iVar2 = fts5ExecPrintf(pFVar1->db,(char **)0x0,(char *)(unaff_EDI + 0x3e1c6),iVal,pcVar3,iVal,\n                         pcVar3)" identifier = (call_expression "fts5ExecPrintf(pFVar1->db,(char **)0x0,(char *)(unaff_EDI + 0x3e1c6),iVal,pcVar3,iVal,\n                         pcVar3)" identifier (argument_list "(pFVar1->db,(char **)0x0,(char *)(unaff_EDI + 0x3e1c6),iVal,pcVar3,iVal,\n                         pcVar3)" ( (field_expression "pFVar1->db" identifier -> field_identifier) , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , (cast_expression "(char *)(unaff_EDI + 0x3e1c6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x3e1c6)" ( (binary_expression "unaff_EDI + 0x3e1c6" identifier + number_literal) ))) , identifier , identifier , identifier , identifier )))) ;) (if_statement "if ((iVar2 == 0) &&\n     (((pFVar1->bColumnsize == 0 ||\n       (iVar2 = fts5ExecPrintf(pFVar1->db,(char **)0x0,(char *)(unaff_EDI + 0x2f54d),pFVar1->zDb,\n                               pFVar1->zName,iVal,pcVar3), iVar2 == 0)) &&\n      (iVar2 = sqlite3Fts5IndexReinit(unaff_EBX), iVar2 == 0)))) {\n    iVar2 = sqlite3Fts5StorageConfigValue\n                      (p_00,(char *)(unaff_EDI + 0x25d4f),(sqlite3_value *)&DAT_00000004,(int)iVal);\n  }" if (parenthesized_expression "((iVar2 == 0) &&\n     (((pFVar1->bColumnsize == 0 ||\n       (iVar2 = fts5ExecPrintf(pFVar1->db,(char **)0x0,(char *)(unaff_EDI + 0x2f54d),pFVar1->zDb,\n                               pFVar1->zName,iVal,pcVar3), iVar2 == 0)) &&\n      (iVar2 = sqlite3Fts5IndexReinit(unaff_EBX), iVar2 == 0))))" ( (binary_expression "(iVar2 == 0) &&\n     (((pFVar1->bColumnsize == 0 ||\n       (iVar2 = fts5ExecPrintf(pFVar1->db,(char **)0x0,(char *)(unaff_EDI + 0x2f54d),pFVar1->zDb,\n                               pFVar1->zName,iVal,pcVar3), iVar2 == 0)) &&\n      (iVar2 = sqlite3Fts5IndexReinit(unaff_EBX), iVar2 == 0)))" (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) && (parenthesized_expression "(((pFVar1->bColumnsize == 0 ||\n       (iVar2 = fts5ExecPrintf(pFVar1->db,(char **)0x0,(char *)(unaff_EDI + 0x2f54d),pFVar1->zDb,\n                               pFVar1->zName,iVal,pcVar3), iVar2 == 0)) &&\n      (iVar2 = sqlite3Fts5IndexReinit(unaff_EBX), iVar2 == 0)))" ( (parenthesized_expression "((pFVar1->bColumnsize == 0 ||\n       (iVar2 = fts5ExecPrintf(pFVar1->db,(char **)0x0,(char *)(unaff_EDI + 0x2f54d),pFVar1->zDb,\n                               pFVar1->zName,iVal,pcVar3), iVar2 == 0)) &&\n      (iVar2 = sqlite3Fts5IndexReinit(unaff_EBX), iVar2 == 0))" ( (binary_expression "(pFVar1->bColumnsize == 0 ||\n       (iVar2 = fts5ExecPrintf(pFVar1->db,(char **)0x0,(char *)(unaff_EDI + 0x2f54d),pFVar1->zDb,\n                               pFVar1->zName,iVal,pcVar3), iVar2 == 0)) &&\n      (iVar2 = sqlite3Fts5IndexReinit(unaff_EBX), iVar2 == 0)" (parenthesized_expression "(pFVar1->bColumnsize == 0 ||\n       (iVar2 = fts5ExecPrintf(pFVar1->db,(char **)0x0,(char *)(unaff_EDI + 0x2f54d),pFVar1->zDb,\n                               pFVar1->zName,iVal,pcVar3), iVar2 == 0))" ( (binary_expression "pFVar1->bColumnsize == 0 ||\n       (iVar2 = fts5ExecPrintf(pFVar1->db,(char **)0x0,(char *)(unaff_EDI + 0x2f54d),pFVar1->zDb,\n                               pFVar1->zName,iVal,pcVar3), iVar2 == 0)" (binary_expression "pFVar1->bColumnsize == 0" (field_expression "pFVar1->bColumnsize" identifier -> field_identifier) == number_literal) || (parenthesized_expression "(iVar2 = fts5ExecPrintf(pFVar1->db,(char **)0x0,(char *)(unaff_EDI + 0x2f54d),pFVar1->zDb,\n                               pFVar1->zName,iVal,pcVar3), iVar2 == 0)" ( (comma_expression "iVar2 = fts5ExecPrintf(pFVar1->db,(char **)0x0,(char *)(unaff_EDI + 0x2f54d),pFVar1->zDb,\n                               pFVar1->zName,iVal,pcVar3), iVar2 == 0" (assignment_expression "iVar2 = fts5ExecPrintf(pFVar1->db,(char **)0x0,(char *)(unaff_EDI + 0x2f54d),pFVar1->zDb,\n                               pFVar1->zName,iVal,pcVar3)" identifier = (call_expression "fts5ExecPrintf(pFVar1->db,(char **)0x0,(char *)(unaff_EDI + 0x2f54d),pFVar1->zDb,\n                               pFVar1->zName,iVal,pcVar3)" identifier (argument_list "(pFVar1->db,(char **)0x0,(char *)(unaff_EDI + 0x2f54d),pFVar1->zDb,\n                               pFVar1->zName,iVal,pcVar3)" ( (field_expression "pFVar1->db" identifier -> field_identifier) , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , (cast_expression "(char *)(unaff_EDI + 0x2f54d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x2f54d)" ( (binary_expression "unaff_EDI + 0x2f54d" identifier + number_literal) ))) , (field_expression "pFVar1->zDb" identifier -> field_identifier) , (field_expression "pFVar1->zName" identifier -> field_identifier) , identifier , identifier )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "(iVar2 = sqlite3Fts5IndexReinit(unaff_EBX), iVar2 == 0)" ( (comma_expression "iVar2 = sqlite3Fts5IndexReinit(unaff_EBX), iVar2 == 0" (assignment_expression "iVar2 = sqlite3Fts5IndexReinit(unaff_EBX)" identifier = (call_expression "sqlite3Fts5IndexReinit(unaff_EBX)" identifier (argument_list "(unaff_EBX)" ( identifier )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) ))) )) (compound_statement "{\n    iVar2 = sqlite3Fts5StorageConfigValue\n                      (p_00,(char *)(unaff_EDI + 0x25d4f),(sqlite3_value *)&DAT_00000004,(int)iVal);\n  }" { (expression_statement "iVar2 = sqlite3Fts5StorageConfigValue\n                      (p_00,(char *)(unaff_EDI + 0x25d4f),(sqlite3_value *)&DAT_00000004,(int)iVal);" (assignment_expression "iVar2 = sqlite3Fts5StorageConfigValue\n                      (p_00,(char *)(unaff_EDI + 0x25d4f),(sqlite3_value *)&DAT_00000004,(int)iVal)" identifier = (call_expression "sqlite3Fts5StorageConfigValue\n                      (p_00,(char *)(unaff_EDI + 0x25d4f),(sqlite3_value *)&DAT_00000004,(int)iVal)" identifier (argument_list "(p_00,(char *)(unaff_EDI + 0x25d4f),(sqlite3_value *)&DAT_00000004,(int)iVal)" ( identifier , (cast_expression "(char *)(unaff_EDI + 0x25d4f)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x25d4f)" ( (binary_expression "unaff_EDI + 0x25d4f" identifier + number_literal) ))) , (cast_expression "(sqlite3_value *)&DAT_00000004" ( (type_descriptor "sqlite3_value *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_00000004" & identifier)) , (cast_expression "(int)iVal" ( (type_descriptor "int" primitive_type) ) identifier) )))) ;) })) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "void FUN_000f22d0(void)\n\n{\n  undefined4 *puVar1;\n  int *piVar2;\n  int iVar3;\n  int unaff_EDI;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  \n  piVar2 = (int *)FUN_00036ac5();\n  puVar1 = (undefined4 *)*piVar2;\n  uVar4 = puVar1[1];\n  uVar5 = puVar1[2];\n  iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x3e1c6,uVar4,uVar5,uVar4,uVar5);\n  if ((iVar3 == 0) &&\n     (((puVar1[0xb] == 0 ||\n       (iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0)) && (iVar3 = FUN_000eab60(), iVar3 == 0)))) {\n    FUN_000f2120(4);\n  }\n  return;\n}\n\n" (function_definition "void FUN_000f22d0(void)\n\n{\n  undefined4 *puVar1;\n  int *piVar2;\n  int iVar3;\n  int unaff_EDI;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  \n  piVar2 = (int *)FUN_00036ac5();\n  puVar1 = (undefined4 *)*piVar2;\n  uVar4 = puVar1[1];\n  uVar5 = puVar1[2];\n  iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x3e1c6,uVar4,uVar5,uVar4,uVar5);\n  if ((iVar3 == 0) &&\n     (((puVar1[0xb] == 0 ||\n       (iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0)) && (iVar3 = FUN_000eab60(), iVar3 == 0)))) {\n    FUN_000f2120(4);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000f22d0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int *piVar2;\n  int iVar3;\n  int unaff_EDI;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  \n  piVar2 = (int *)FUN_00036ac5();\n  puVar1 = (undefined4 *)*piVar2;\n  uVar4 = puVar1[1];\n  uVar5 = puVar1[2];\n  iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x3e1c6,uVar4,uVar5,uVar4,uVar5);\n  if ((iVar3 == 0) &&\n     (((puVar1[0xb] == 0 ||\n       (iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0)) && (iVar3 = FUN_000eab60(), iVar3 == 0)))) {\n    FUN_000f2120(4);\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (expression_statement "piVar2 = (int *)FUN_00036ac5();" (assignment_expression "piVar2 = (int *)FUN_00036ac5()" identifier = (cast_expression "(int *)FUN_00036ac5()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00036ac5()" identifier (argument_list "()" ( ))))) ;) (expression_statement "puVar1 = (undefined4 *)*piVar2;" (assignment_expression "puVar1 = (undefined4 *)*piVar2" identifier = (cast_expression "(undefined4 *)*piVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) (expression_statement "uVar4 = puVar1[1];" (assignment_expression "uVar4 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "uVar5 = puVar1[2];" (assignment_expression "uVar5 = puVar1[2]" identifier = (subscript_expression "puVar1[2]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x3e1c6,uVar4,uVar5,uVar4,uVar5);" (assignment_expression "iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x3e1c6,uVar4,uVar5,uVar4,uVar5)" identifier = (call_expression "FUN_000e9950(*puVar1,0,unaff_EDI + 0x3e1c6,uVar4,uVar5,uVar4,uVar5)" identifier (argument_list "(*puVar1,0,unaff_EDI + 0x3e1c6,uVar4,uVar5,uVar4,uVar5)" ( (pointer_expression "*puVar1" * identifier) , number_literal , (binary_expression "unaff_EDI + 0x3e1c6" identifier + number_literal) , identifier , identifier , identifier , identifier )))) ;) (if_statement "if ((iVar3 == 0) &&\n     (((puVar1[0xb] == 0 ||\n       (iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0)) && (iVar3 = FUN_000eab60(), iVar3 == 0)))) {\n    FUN_000f2120(4);\n  }" if (parenthesized_expression "((iVar3 == 0) &&\n     (((puVar1[0xb] == 0 ||\n       (iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0)) && (iVar3 = FUN_000eab60(), iVar3 == 0))))" ( (binary_expression "(iVar3 == 0) &&\n     (((puVar1[0xb] == 0 ||\n       (iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0)) && (iVar3 = FUN_000eab60(), iVar3 == 0)))" (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) && (parenthesized_expression "(((puVar1[0xb] == 0 ||\n       (iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0)) && (iVar3 = FUN_000eab60(), iVar3 == 0)))" ( (parenthesized_expression "((puVar1[0xb] == 0 ||\n       (iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0)) && (iVar3 = FUN_000eab60(), iVar3 == 0))" ( (binary_expression "(puVar1[0xb] == 0 ||\n       (iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0)) && (iVar3 = FUN_000eab60(), iVar3 == 0)" (parenthesized_expression "(puVar1[0xb] == 0 ||\n       (iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0))" ( (binary_expression "puVar1[0xb] == 0 ||\n       (iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0)" (binary_expression "puVar1[0xb] == 0" (subscript_expression "puVar1[0xb]" identifier [ number_literal ]) == number_literal) || (parenthesized_expression "(iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0)" ( (comma_expression "iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0" (assignment_expression "iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5)" identifier = (call_expression "FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5)" identifier (argument_list "(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5)" ( (pointer_expression "*puVar1" * identifier) , number_literal , (binary_expression "unaff_EDI + 0x2f54d" identifier + number_literal) , (subscript_expression "puVar1[1]" identifier [ number_literal ]) , (subscript_expression "puVar1[2]" identifier [ number_literal ]) , identifier , identifier )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "(iVar3 = FUN_000eab60(), iVar3 == 0)" ( (comma_expression "iVar3 = FUN_000eab60(), iVar3 == 0" (assignment_expression "iVar3 = FUN_000eab60()" identifier = (call_expression "FUN_000eab60()" identifier (argument_list "()" ( )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) ))) )) (compound_statement "{\n    FUN_000f2120(4);\n  }" { (expression_statement "FUN_000f2120(4);" (call_expression "FUN_000f2120(4)" identifier (argument_list "(4)" ( number_literal ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , LIT , (binary_expression IDENT + LIT) , IDENT , IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , LIT , (binary_expression IDENT + LIT) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , IDENT , IDENT )))) , (binary_expression IDENT == LIT)) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) , (binary_expression IDENT == LIT)) ))) )) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_000f22d0(void)\n\n{\n  undefined4 *puVar1;\n  int *piVar2;\n  int iVar3;\n  int unaff_EDI;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  \n  piVar2 = (int *)FUN_00036ac5();\n  puVar1 = (undefined4 *)*piVar2;\n  uVar4 = puVar1[1];\n  uVar5 = puVar1[2];\n  iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x3e1c6,uVar4,uVar5,uVar4,uVar5);\n  if ((iVar3 == 0) &&\n     (((puVar1[0xb] == 0 ||\n       (iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0)) && (iVar3 = FUN_000eab60(), iVar3 == 0)))) {\n    FUN_000f2120(4);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000f22d0(void)" (identifier "FUN_000f22d0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  int *piVar2;\n  int iVar3;\n  int unaff_EDI;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  \n  piVar2 = (int *)FUN_00036ac5();\n  puVar1 = (undefined4 *)*piVar2;\n  uVar4 = puVar1[1];\n  uVar5 = puVar1[2];\n  iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x3e1c6,uVar4,uVar5,uVar4,uVar5);\n  if ((iVar3 == 0) &&\n     (((puVar1[0xb] == 0 ||\n       (iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0)) && (iVar3 = FUN_000eab60(), iVar3 == 0)))) {\n    FUN_000f2120(4);\n  }\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (expression_statement "piVar2 = (int *)FUN_00036ac5();" (assignment_expression "piVar2 = (int *)FUN_00036ac5()" (identifier "piVar2") (= "=") (cast_expression "(int *)FUN_00036ac5()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00036ac5()" (identifier "FUN_00036ac5") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "puVar1 = (undefined4 *)*piVar2;" (assignment_expression "puVar1 = (undefined4 *)*piVar2" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)*piVar2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar2" (* "*") (identifier "piVar2")))) (; ";")) (expression_statement "uVar4 = puVar1[1];" (assignment_expression "uVar4 = puVar1[1]" (identifier "uVar4") (= "=") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "uVar5 = puVar1[2];" (assignment_expression "uVar5 = puVar1[2]" (identifier "uVar5") (= "=") (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x3e1c6,uVar4,uVar5,uVar4,uVar5);" (assignment_expression "iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x3e1c6,uVar4,uVar5,uVar4,uVar5)" (identifier "iVar3") (= "=") (call_expression "FUN_000e9950(*puVar1,0,unaff_EDI + 0x3e1c6,uVar4,uVar5,uVar4,uVar5)" (identifier "FUN_000e9950") (argument_list "(*puVar1,0,unaff_EDI + 0x3e1c6,uVar4,uVar5,uVar4,uVar5)" (( "(") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (, ",") (number_literal "0") (, ",") (binary_expression "unaff_EDI + 0x3e1c6" (identifier "unaff_EDI") (+ "+") (number_literal "0x3e1c6")) (, ",") (identifier "uVar4") (, ",") (identifier "uVar5") (, ",") (identifier "uVar4") (, ",") (identifier "uVar5") () ")")))) (; ";")) (if_statement "if ((iVar3 == 0) &&\n     (((puVar1[0xb] == 0 ||\n       (iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0)) && (iVar3 = FUN_000eab60(), iVar3 == 0)))) {\n    FUN_000f2120(4);\n  }" (if "if") (parenthesized_expression "((iVar3 == 0) &&\n     (((puVar1[0xb] == 0 ||\n       (iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0)) && (iVar3 = FUN_000eab60(), iVar3 == 0))))" (( "(") (binary_expression "(iVar3 == 0) &&\n     (((puVar1[0xb] == 0 ||\n       (iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0)) && (iVar3 = FUN_000eab60(), iVar3 == 0)))" (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(((puVar1[0xb] == 0 ||\n       (iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0)) && (iVar3 = FUN_000eab60(), iVar3 == 0)))" (( "(") (parenthesized_expression "((puVar1[0xb] == 0 ||\n       (iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0)) && (iVar3 = FUN_000eab60(), iVar3 == 0))" (( "(") (binary_expression "(puVar1[0xb] == 0 ||\n       (iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0)) && (iVar3 = FUN_000eab60(), iVar3 == 0)" (parenthesized_expression "(puVar1[0xb] == 0 ||\n       (iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0))" (( "(") (binary_expression "puVar1[0xb] == 0 ||\n       (iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0)" (binary_expression "puVar1[0xb] == 0" (subscript_expression "puVar1[0xb]" (identifier "puVar1") ([ "[") (number_literal "0xb") (] "]")) (== "==") (number_literal "0")) (|| "||") (parenthesized_expression "(iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0)" (( "(") (comma_expression "iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),\n       iVar3 == 0" (assignment_expression "iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5)" (identifier "iVar3") (= "=") (call_expression "FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5)" (identifier "FUN_000e9950") (argument_list "(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5)" (( "(") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (, ",") (number_literal "0") (, ",") (binary_expression "unaff_EDI + 0x2f54d" (identifier "unaff_EDI") (+ "+") (number_literal "0x2f54d")) (, ",") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (, ",") (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (, ",") (identifier "uVar4") (, ",") (identifier "uVar5") () ")")))) (, ",") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar3 = FUN_000eab60(), iVar3 == 0)" (( "(") (comma_expression "iVar3 = FUN_000eab60(), iVar3 == 0" (assignment_expression "iVar3 = FUN_000eab60()" (identifier "iVar3") (= "=") (call_expression "FUN_000eab60()" (identifier "FUN_000eab60") (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0"))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n    FUN_000f2120(4);\n  }" ({ "{") (expression_statement "FUN_000f2120(4);" (call_expression "FUN_000f2120(4)" (identifier "FUN_000f2120") (argument_list "(4)" (( "(") (number_literal "4") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

int function_1(type_1 *p)

{
  type_2 *pFVar1;
  type_1 *p_00;
  int var_4;
  type_3 *unaff_EBX;
  int var_3;
  char *iVal;
  char *pcVar3;
  
  p_00 = (type_1 *)var_1();
  pFVar1 = p_00->pConfig;
  iVal = pFVar1->zDb;
  pcVar3 = pFVar1->zName;
  var_4 = var_2(pFVar1->db,(char **)0x0,(char *)(var_3 + 0x3e1c6),iVal,pcVar3,iVal,
                         pcVar3);
  if ((var_4 == 0) &&
     (((pFVar1->bColumnsize == 0 ||
       (var_4 = var_2(pFVar1->db,(char **)0x0,(char *)(var_3 + 0x2f54d),pFVar1->zDb,
                               pFVar1->zName,iVal,pcVar3), var_4 == 0)) &&
      (var_4 = var_5(unaff_EBX), var_4 == 0)))) {
    var_4 = var_6
                      (p_00,(char *)(var_3 + 0x25d4f),(type_4 *)&DAT_00000004,(int)iVal);
  }
  return var_4;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (identifier) (identifier) (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal)) (identifier) (identifier)))) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list))) right: (binary_expression left: (identifier) right: (number_literal))))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (return_statement))))

void MASKED(void)

{
  undefined4 *puVar1;
  int *piVar2;
  int iVar3;
  int unaff_EDI;
  undefined4 uVar4;
  undefined4 uVar5;
  
  piVar2 = (int *)FUN_00036ac5();
  puVar1 = (undefined4 *)*piVar2;
  uVar4 = puVar1[1];
  uVar5 = puVar1[2];
  iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x3e1c6,uVar4,uVar5,uVar4,uVar5);
  if ((iVar3 == 0) &&
     (((puVar1[0xb] == 0 ||
       (iVar3 = FUN_000e9950(*puVar1,0,unaff_EDI + 0x2f54d,puVar1[1],puVar1[2],uVar4,uVar5),
       iVar3 == 0)) && (iVar3 = FUN_000eab60(), iVar3 == 0)))) {
    FUN_000f2120(4);
  }
  return;
}

