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

int fts3DisconnectMethod(sqlite3_vtab *pVtab)

{
  sqlite3_stmt *pStmt;
  char **ppcVar1;
  
  ppcVar1 = &pVtab[4].zErrMsg;
  sqlite3_finalize((sqlite3_stmt *)pVtab[0x12].pModule);
  do {
    pStmt = (sqlite3_stmt *)*ppcVar1;
    ppcVar1 = ppcVar1 + 1;
    sqlite3_finalize(pStmt);
  } while ((sqlite3_vtab *)ppcVar1 != pVtab + 0x12);
  sqlite3_free((void *)pVtab[0x14].nRef);
  sqlite3_free((void *)pVtab[0x12].nRef);
  sqlite3_free(pVtab[0x12].zErrMsg);
  sqlite3_free((void *)pVtab[3].nRef);
  sqlite3_free(pVtab[3].zErrMsg);
  (**(code **)((pVtab[3].pModule)->iVersion + 8))(pVtab[3].pModule);
  sqlite3_free(pVtab);
  return 0;
}



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

undefined4 FUN_0008e770(int param_1)

{
  undefined4 uVar1;
  undefined4 *puVar2;
  
  puVar2 = (undefined4 *)(param_1 + 0x38);
  FUN_0008b430(*(undefined4 *)(param_1 + 0xd8));
  do {
    uVar1 = *puVar2;
    puVar2 = puVar2 + 1;
    FUN_0008b430(uVar1);
  } while (puVar2 != (undefined4 *)(param_1 + 0xd8));
  FUN_000264d0(*(undefined4 *)(param_1 + 0xf4));
  FUN_000264d0(*(undefined4 *)(param_1 + 0xdc));
  FUN_000264d0(*(undefined4 *)(param_1 + 0xe0));
  FUN_000264d0(*(undefined4 *)(param_1 + 0x28));
  FUN_000264d0(*(undefined4 *)(param_1 + 0x2c));
  (**(code **)(**(int **)(param_1 + 0x24) + 8))(*(int **)(param_1 + 0x24));
  FUN_000264d0(param_1);
  return 0;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00014d20
ADD EBX,0xbc75b
SUB ESP,0x18
MOV EBP,dword ptr [ESP + 0x2c]
PUSH dword ptr [EBP + 0xd8]
LEA ESI,[EBP + 0x38]
LEA EDI,[EBP + 0xd8]
CALL 0x0008b430
ADD ESP,0x10
LEA ESI,[ESI]
SUB ESP,0xc
PUSH dword ptr [ESI]
ADD ESI,0x4
CALL 0x0008b430
ADD ESP,0x10
CMP ESI,EDI
JNZ 0x0008e7a0
SUB ESP,0xc
PUSH dword ptr [EBP + 0xf4]
CALL 0x000264d0
POP EAX
PUSH dword ptr [EBP + 0xdc]
CALL 0x000264d0
POP EDX
PUSH dword ptr [EBP + 0xe0]
CALL 0x000264d0
POP ECX
PUSH dword ptr [EBP + 0x28]
CALL 0x000264d0
POP ESI
PUSH dword ptr [EBP + 0x2c]
CALL 0x000264d0
MOV EAX,dword ptr [EBP + 0x24]
MOV EDX,dword ptr [EAX]
MOV dword ptr [ESP],EAX
CALL dword ptr [EDX + 0x8]
MOV dword ptr [ESP],EBP
CALL 0x000264d0
ADD ESP,0x1c
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_0008e770(int param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = (undefined4 *)(param_1 + 0x38);\n  FUN_0008b430(*(undefined4 *)(param_1 + 0xd8));\n  do {\n    uVar1 = *puVar2;\n    puVar2 = puVar2 + 1;\n    FUN_0008b430(uVar1);\n  } while (puVar2 != (undefined4 *)(param_1 + 0xd8));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0xf4));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0xdc));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0xe0));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0x28));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0x2c));\n  (**(code **)(**(int **)(param_1 + 0x24) + 8))(*(int **)(param_1 + 0x24));\n  FUN_000264d0(param_1);\n  return 0;\n}\n\n" comment (function_definition "undefined4 FUN_0008e770(int param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = (undefined4 *)(param_1 + 0x38);\n  FUN_0008b430(*(undefined4 *)(param_1 + 0xd8));\n  do {\n    uVar1 = *puVar2;\n    puVar2 = puVar2 + 1;\n    FUN_0008b430(uVar1);\n  } while (puVar2 != (undefined4 *)(param_1 + 0xd8));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0xf4));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0xdc));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0xe0));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0x28));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0x2c));\n  (**(code **)(**(int **)(param_1 + 0x24) + 8))(*(int **)(param_1 + 0x24));\n  FUN_000264d0(param_1);\n  return 0;\n}" type_identifier (function_declarator "FUN_0008e770(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = (undefined4 *)(param_1 + 0x38);\n  FUN_0008b430(*(undefined4 *)(param_1 + 0xd8));\n  do {\n    uVar1 = *puVar2;\n    puVar2 = puVar2 + 1;\n    FUN_0008b430(uVar1);\n  } while (puVar2 != (undefined4 *)(param_1 + 0xd8));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0xf4));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0xdc));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0xe0));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0x28));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0x2c));\n  (**(code **)(**(int **)(param_1 + 0x24) + 8))(*(int **)(param_1 + 0x24));\n  FUN_000264d0(param_1);\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "puVar2 = (undefined4 *)(param_1 + 0x38);" (assignment_expression "puVar2 = (undefined4 *)(param_1 + 0x38)" identifier = (cast_expression "(undefined4 *)(param_1 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) ;) (expression_statement "FUN_0008b430(*(undefined4 *)(param_1 + 0xd8));" (call_expression "FUN_0008b430(*(undefined4 *)(param_1 + 0xd8))" identifier (argument_list "(*(undefined4 *)(param_1 + 0xd8))" ( (pointer_expression "*(undefined4 *)(param_1 + 0xd8)" * (cast_expression "(undefined4 *)(param_1 + 0xd8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd8)" ( (binary_expression "param_1 + 0xd8" identifier + number_literal) )))) ))) ;) (do_statement "do {\n    uVar1 = *puVar2;\n    puVar2 = puVar2 + 1;\n    FUN_0008b430(uVar1);\n  } while (puVar2 != (undefined4 *)(param_1 + 0xd8));" do (compound_statement "{\n    uVar1 = *puVar2;\n    puVar2 = puVar2 + 1;\n    FUN_0008b430(uVar1);\n  }" { (expression_statement "uVar1 = *puVar2;" (assignment_expression "uVar1 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "FUN_0008b430(uVar1);" (call_expression "FUN_0008b430(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) }) while (parenthesized_expression "(puVar2 != (undefined4 *)(param_1 + 0xd8))" ( (binary_expression "puVar2 != (undefined4 *)(param_1 + 0xd8)" identifier != (cast_expression "(undefined4 *)(param_1 + 0xd8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd8)" ( (binary_expression "param_1 + 0xd8" identifier + number_literal) )))) )) ;) (expression_statement "FUN_000264d0(*(undefined4 *)(param_1 + 0xf4));" (call_expression "FUN_000264d0(*(undefined4 *)(param_1 + 0xf4))" identifier (argument_list "(*(undefined4 *)(param_1 + 0xf4))" ( (pointer_expression "*(undefined4 *)(param_1 + 0xf4)" * (cast_expression "(undefined4 *)(param_1 + 0xf4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xf4)" ( (binary_expression "param_1 + 0xf4" identifier + number_literal) )))) ))) ;) (expression_statement "FUN_000264d0(*(undefined4 *)(param_1 + 0xdc));" (call_expression "FUN_000264d0(*(undefined4 *)(param_1 + 0xdc))" identifier (argument_list "(*(undefined4 *)(param_1 + 0xdc))" ( (pointer_expression "*(undefined4 *)(param_1 + 0xdc)" * (cast_expression "(undefined4 *)(param_1 + 0xdc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xdc)" ( (binary_expression "param_1 + 0xdc" identifier + number_literal) )))) ))) ;) (expression_statement "FUN_000264d0(*(undefined4 *)(param_1 + 0xe0));" (call_expression "FUN_000264d0(*(undefined4 *)(param_1 + 0xe0))" identifier (argument_list "(*(undefined4 *)(param_1 + 0xe0))" ( (pointer_expression "*(undefined4 *)(param_1 + 0xe0)" * (cast_expression "(undefined4 *)(param_1 + 0xe0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe0)" ( (binary_expression "param_1 + 0xe0" identifier + number_literal) )))) ))) ;) (expression_statement "FUN_000264d0(*(undefined4 *)(param_1 + 0x28));" (call_expression "FUN_000264d0(*(undefined4 *)(param_1 + 0x28))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x28))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x28)" * (cast_expression "(undefined4 *)(param_1 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) ))) ;) (expression_statement "FUN_000264d0(*(undefined4 *)(param_1 + 0x2c));" (call_expression "FUN_000264d0(*(undefined4 *)(param_1 + 0x2c))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x2c))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" * (cast_expression "(undefined4 *)(param_1 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) ))) ;) (expression_statement "(**(code **)(**(int **)(param_1 + 0x24) + 8))(*(int **)(param_1 + 0x24));" (call_expression "(**(code **)(**(int **)(param_1 + 0x24) + 8))(*(int **)(param_1 + 0x24))" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 0x24) + 8))" ( (pointer_expression "**(code **)(**(int **)(param_1 + 0x24) + 8)" * (pointer_expression "*(code **)(**(int **)(param_1 + 0x24) + 8)" * (cast_expression "(code **)(**(int **)(param_1 + 0x24) + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(param_1 + 0x24) + 8)" ( (binary_expression "**(int **)(param_1 + 0x24) + 8" (pointer_expression "**(int **)(param_1 + 0x24)" * (pointer_expression "*(int **)(param_1 + 0x24)" * (cast_expression "(int **)(param_1 + 0x24)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "(*(int **)(param_1 + 0x24))" ( (pointer_expression "*(int **)(param_1 + 0x24)" * (cast_expression "(int **)(param_1 + 0x24)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) ))) ;) (expression_statement "FUN_000264d0(param_1);" (call_expression "FUN_000264d0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint fts3DisconnectMethod(sqlite3_vtab *pVtab)\n\n{\n  sqlite3_stmt *pStmt;\n  char **ppcVar1;\n  \n  ppcVar1 = &pVtab[4].zErrMsg;\n  sqlite3_finalize((sqlite3_stmt *)pVtab[0x12].pModule);\n  do {\n    pStmt = (sqlite3_stmt *)*ppcVar1;\n    ppcVar1 = ppcVar1 + 1;\n    sqlite3_finalize(pStmt);\n  } while ((sqlite3_vtab *)ppcVar1 != pVtab + 0x12);\n  sqlite3_free((void *)pVtab[0x14].nRef);\n  sqlite3_free((void *)pVtab[0x12].nRef);\n  sqlite3_free(pVtab[0x12].zErrMsg);\n  sqlite3_free((void *)pVtab[3].nRef);\n  sqlite3_free(pVtab[3].zErrMsg);\n  (**(code **)((pVtab[3].pModule)->iVersion + 8))(pVtab[3].pModule);\n  sqlite3_free(pVtab);\n  return 0;\n}\n\n" comment comment (function_definition "int fts3DisconnectMethod(sqlite3_vtab *pVtab)\n\n{\n  sqlite3_stmt *pStmt;\n  char **ppcVar1;\n  \n  ppcVar1 = &pVtab[4].zErrMsg;\n  sqlite3_finalize((sqlite3_stmt *)pVtab[0x12].pModule);\n  do {\n    pStmt = (sqlite3_stmt *)*ppcVar1;\n    ppcVar1 = ppcVar1 + 1;\n    sqlite3_finalize(pStmt);\n  } while ((sqlite3_vtab *)ppcVar1 != pVtab + 0x12);\n  sqlite3_free((void *)pVtab[0x14].nRef);\n  sqlite3_free((void *)pVtab[0x12].nRef);\n  sqlite3_free(pVtab[0x12].zErrMsg);\n  sqlite3_free((void *)pVtab[3].nRef);\n  sqlite3_free(pVtab[3].zErrMsg);\n  (**(code **)((pVtab[3].pModule)->iVersion + 8))(pVtab[3].pModule);\n  sqlite3_free(pVtab);\n  return 0;\n}" primitive_type (function_declarator "fts3DisconnectMethod(sqlite3_vtab *pVtab)" identifier (parameter_list "(sqlite3_vtab *pVtab)" ( (parameter_declaration "sqlite3_vtab *pVtab" type_identifier (pointer_declarator "*pVtab" * identifier)) ))) (compound_statement "{\n  sqlite3_stmt *pStmt;\n  char **ppcVar1;\n  \n  ppcVar1 = &pVtab[4].zErrMsg;\n  sqlite3_finalize((sqlite3_stmt *)pVtab[0x12].pModule);\n  do {\n    pStmt = (sqlite3_stmt *)*ppcVar1;\n    ppcVar1 = ppcVar1 + 1;\n    sqlite3_finalize(pStmt);\n  } while ((sqlite3_vtab *)ppcVar1 != pVtab + 0x12);\n  sqlite3_free((void *)pVtab[0x14].nRef);\n  sqlite3_free((void *)pVtab[0x12].nRef);\n  sqlite3_free(pVtab[0x12].zErrMsg);\n  sqlite3_free((void *)pVtab[3].nRef);\n  sqlite3_free(pVtab[3].zErrMsg);\n  (**(code **)((pVtab[3].pModule)->iVersion + 8))(pVtab[3].pModule);\n  sqlite3_free(pVtab);\n  return 0;\n}" { (declaration "sqlite3_stmt *pStmt;" type_identifier (pointer_declarator "*pStmt" * identifier) ;) (declaration "char **ppcVar1;" primitive_type (pointer_declarator "**ppcVar1" * (pointer_declarator "*ppcVar1" * identifier)) ;) (expression_statement "ppcVar1 = &pVtab[4].zErrMsg;" (assignment_expression "ppcVar1 = &pVtab[4].zErrMsg" identifier = (pointer_expression "&pVtab[4].zErrMsg" & (field_expression "pVtab[4].zErrMsg" (subscript_expression "pVtab[4]" identifier [ number_literal ]) . field_identifier))) ;) (expression_statement "sqlite3_finalize((sqlite3_stmt *)pVtab[0x12].pModule);" (call_expression "sqlite3_finalize((sqlite3_stmt *)pVtab[0x12].pModule)" identifier (argument_list "((sqlite3_stmt *)pVtab[0x12].pModule)" ( (cast_expression "(sqlite3_stmt *)pVtab[0x12].pModule" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pVtab[0x12].pModule" (subscript_expression "pVtab[0x12]" identifier [ number_literal ]) . field_identifier)) ))) ;) (do_statement "do {\n    pStmt = (sqlite3_stmt *)*ppcVar1;\n    ppcVar1 = ppcVar1 + 1;\n    sqlite3_finalize(pStmt);\n  } while ((sqlite3_vtab *)ppcVar1 != pVtab + 0x12);" do (compound_statement "{\n    pStmt = (sqlite3_stmt *)*ppcVar1;\n    ppcVar1 = ppcVar1 + 1;\n    sqlite3_finalize(pStmt);\n  }" { (expression_statement "pStmt = (sqlite3_stmt *)*ppcVar1;" (assignment_expression "pStmt = (sqlite3_stmt *)*ppcVar1" identifier = (cast_expression "(sqlite3_stmt *)*ppcVar1" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*ppcVar1" * identifier))) ;) (expression_statement "ppcVar1 = ppcVar1 + 1;" (assignment_expression "ppcVar1 = ppcVar1 + 1" identifier = (binary_expression "ppcVar1 + 1" identifier + number_literal)) ;) (expression_statement "sqlite3_finalize(pStmt);" (call_expression "sqlite3_finalize(pStmt)" identifier (argument_list "(pStmt)" ( identifier ))) ;) }) while (parenthesized_expression "((sqlite3_vtab *)ppcVar1 != pVtab + 0x12)" ( (binary_expression "(sqlite3_vtab *)ppcVar1 != pVtab + 0x12" (cast_expression "(sqlite3_vtab *)ppcVar1" ( (type_descriptor "sqlite3_vtab *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) != (binary_expression "pVtab + 0x12" identifier + number_literal)) )) ;) (expression_statement "sqlite3_free((void *)pVtab[0x14].nRef);" (call_expression "sqlite3_free((void *)pVtab[0x14].nRef)" identifier (argument_list "((void *)pVtab[0x14].nRef)" ( (cast_expression "(void *)pVtab[0x14].nRef" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "pVtab[0x14].nRef" (subscript_expression "pVtab[0x14]" identifier [ number_literal ]) . field_identifier)) ))) ;) (expression_statement "sqlite3_free((void *)pVtab[0x12].nRef);" (call_expression "sqlite3_free((void *)pVtab[0x12].nRef)" identifier (argument_list "((void *)pVtab[0x12].nRef)" ( (cast_expression "(void *)pVtab[0x12].nRef" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "pVtab[0x12].nRef" (subscript_expression "pVtab[0x12]" identifier [ number_literal ]) . field_identifier)) ))) ;) (expression_statement "sqlite3_free(pVtab[0x12].zErrMsg);" (call_expression "sqlite3_free(pVtab[0x12].zErrMsg)" identifier (argument_list "(pVtab[0x12].zErrMsg)" ( (field_expression "pVtab[0x12].zErrMsg" (subscript_expression "pVtab[0x12]" identifier [ number_literal ]) . field_identifier) ))) ;) (expression_statement "sqlite3_free((void *)pVtab[3].nRef);" (call_expression "sqlite3_free((void *)pVtab[3].nRef)" identifier (argument_list "((void *)pVtab[3].nRef)" ( (cast_expression "(void *)pVtab[3].nRef" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "pVtab[3].nRef" (subscript_expression "pVtab[3]" identifier [ number_literal ]) . field_identifier)) ))) ;) (expression_statement "sqlite3_free(pVtab[3].zErrMsg);" (call_expression "sqlite3_free(pVtab[3].zErrMsg)" identifier (argument_list "(pVtab[3].zErrMsg)" ( (field_expression "pVtab[3].zErrMsg" (subscript_expression "pVtab[3]" identifier [ number_literal ]) . field_identifier) ))) ;) (expression_statement "(**(code **)((pVtab[3].pModule)->iVersion + 8))(pVtab[3].pModule);" (call_expression "(**(code **)((pVtab[3].pModule)->iVersion + 8))(pVtab[3].pModule)" (parenthesized_expression "(**(code **)((pVtab[3].pModule)->iVersion + 8))" ( (pointer_expression "**(code **)((pVtab[3].pModule)->iVersion + 8)" * (pointer_expression "*(code **)((pVtab[3].pModule)->iVersion + 8)" * (cast_expression "(code **)((pVtab[3].pModule)->iVersion + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((pVtab[3].pModule)->iVersion + 8)" ( (binary_expression "(pVtab[3].pModule)->iVersion + 8" (field_expression "(pVtab[3].pModule)->iVersion" (parenthesized_expression "(pVtab[3].pModule)" ( (field_expression "pVtab[3].pModule" (subscript_expression "pVtab[3]" identifier [ number_literal ]) . field_identifier) )) -> field_identifier) + number_literal) ))))) )) (argument_list "(pVtab[3].pModule)" ( (field_expression "pVtab[3].pModule" (subscript_expression "pVtab[3]" identifier [ number_literal ]) . field_identifier) ))) ;) (expression_statement "sqlite3_free(pVtab);" (call_expression "sqlite3_free(pVtab)" identifier (argument_list "(pVtab)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 FUN_0008e770(int param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = (undefined4 *)(param_1 + 0x38);\n  FUN_0008b430(*(undefined4 *)(param_1 + 0xd8));\n  do {\n    uVar1 = *puVar2;\n    puVar2 = puVar2 + 1;\n    FUN_0008b430(uVar1);\n  } while (puVar2 != (undefined4 *)(param_1 + 0xd8));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0xf4));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0xdc));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0xe0));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0x28));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0x2c));\n  (**(code **)(**(int **)(param_1 + 0x24) + 8))(*(int **)(param_1 + 0x24));\n  FUN_000264d0(param_1);\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0008e770(int param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = (undefined4 *)(param_1 + 0x38);\n  FUN_0008b430(*(undefined4 *)(param_1 + 0xd8));\n  do {\n    uVar1 = *puVar2;\n    puVar2 = puVar2 + 1;\n    FUN_0008b430(uVar1);\n  } while (puVar2 != (undefined4 *)(param_1 + 0xd8));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0xf4));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0xdc));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0xe0));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0x28));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0x2c));\n  (**(code **)(**(int **)(param_1 + 0x24) + 8))(*(int **)(param_1 + 0x24));\n  FUN_000264d0(param_1);\n  return 0;\n}" type_identifier (function_declarator "FUN_0008e770(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = (undefined4 *)(param_1 + 0x38);\n  FUN_0008b430(*(undefined4 *)(param_1 + 0xd8));\n  do {\n    uVar1 = *puVar2;\n    puVar2 = puVar2 + 1;\n    FUN_0008b430(uVar1);\n  } while (puVar2 != (undefined4 *)(param_1 + 0xd8));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0xf4));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0xdc));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0xe0));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0x28));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0x2c));\n  (**(code **)(**(int **)(param_1 + 0x24) + 8))(*(int **)(param_1 + 0x24));\n  FUN_000264d0(param_1);\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "puVar2 = (undefined4 *)(param_1 + 0x38);" (assignment_expression "puVar2 = (undefined4 *)(param_1 + 0x38)" identifier = (cast_expression "(undefined4 *)(param_1 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) ;) (expression_statement "FUN_0008b430(*(undefined4 *)(param_1 + 0xd8));" (call_expression "FUN_0008b430(*(undefined4 *)(param_1 + 0xd8))" identifier (argument_list "(*(undefined4 *)(param_1 + 0xd8))" ( (pointer_expression "*(undefined4 *)(param_1 + 0xd8)" * (cast_expression "(undefined4 *)(param_1 + 0xd8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd8)" ( (binary_expression "param_1 + 0xd8" identifier + number_literal) )))) ))) ;) (do_statement "do {\n    uVar1 = *puVar2;\n    puVar2 = puVar2 + 1;\n    FUN_0008b430(uVar1);\n  } while (puVar2 != (undefined4 *)(param_1 + 0xd8));" do (compound_statement "{\n    uVar1 = *puVar2;\n    puVar2 = puVar2 + 1;\n    FUN_0008b430(uVar1);\n  }" { (expression_statement "uVar1 = *puVar2;" (assignment_expression "uVar1 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "FUN_0008b430(uVar1);" (call_expression "FUN_0008b430(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) }) while (parenthesized_expression "(puVar2 != (undefined4 *)(param_1 + 0xd8))" ( (binary_expression "puVar2 != (undefined4 *)(param_1 + 0xd8)" identifier != (cast_expression "(undefined4 *)(param_1 + 0xd8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd8)" ( (binary_expression "param_1 + 0xd8" identifier + number_literal) )))) )) ;) (expression_statement "FUN_000264d0(*(undefined4 *)(param_1 + 0xf4));" (call_expression "FUN_000264d0(*(undefined4 *)(param_1 + 0xf4))" identifier (argument_list "(*(undefined4 *)(param_1 + 0xf4))" ( (pointer_expression "*(undefined4 *)(param_1 + 0xf4)" * (cast_expression "(undefined4 *)(param_1 + 0xf4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xf4)" ( (binary_expression "param_1 + 0xf4" identifier + number_literal) )))) ))) ;) (expression_statement "FUN_000264d0(*(undefined4 *)(param_1 + 0xdc));" (call_expression "FUN_000264d0(*(undefined4 *)(param_1 + 0xdc))" identifier (argument_list "(*(undefined4 *)(param_1 + 0xdc))" ( (pointer_expression "*(undefined4 *)(param_1 + 0xdc)" * (cast_expression "(undefined4 *)(param_1 + 0xdc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xdc)" ( (binary_expression "param_1 + 0xdc" identifier + number_literal) )))) ))) ;) (expression_statement "FUN_000264d0(*(undefined4 *)(param_1 + 0xe0));" (call_expression "FUN_000264d0(*(undefined4 *)(param_1 + 0xe0))" identifier (argument_list "(*(undefined4 *)(param_1 + 0xe0))" ( (pointer_expression "*(undefined4 *)(param_1 + 0xe0)" * (cast_expression "(undefined4 *)(param_1 + 0xe0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe0)" ( (binary_expression "param_1 + 0xe0" identifier + number_literal) )))) ))) ;) (expression_statement "FUN_000264d0(*(undefined4 *)(param_1 + 0x28));" (call_expression "FUN_000264d0(*(undefined4 *)(param_1 + 0x28))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x28))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x28)" * (cast_expression "(undefined4 *)(param_1 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) ))) ;) (expression_statement "FUN_000264d0(*(undefined4 *)(param_1 + 0x2c));" (call_expression "FUN_000264d0(*(undefined4 *)(param_1 + 0x2c))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x2c))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" * (cast_expression "(undefined4 *)(param_1 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) ))) ;) (expression_statement "(**(code **)(**(int **)(param_1 + 0x24) + 8))(*(int **)(param_1 + 0x24));" (call_expression "(**(code **)(**(int **)(param_1 + 0x24) + 8))(*(int **)(param_1 + 0x24))" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 0x24) + 8))" ( (pointer_expression "**(code **)(**(int **)(param_1 + 0x24) + 8)" * (pointer_expression "*(code **)(**(int **)(param_1 + 0x24) + 8)" * (cast_expression "(code **)(**(int **)(param_1 + 0x24) + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(param_1 + 0x24) + 8)" ( (binary_expression "**(int **)(param_1 + 0x24) + 8" (pointer_expression "**(int **)(param_1 + 0x24)" * (pointer_expression "*(int **)(param_1 + 0x24)" * (cast_expression "(int **)(param_1 + 0x24)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "(*(int **)(param_1 + 0x24))" ( (pointer_expression "*(int **)(param_1 + 0x24)" * (cast_expression "(int **)(param_1 + 0x24)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) ))) ;) (expression_statement "FUN_000264d0(param_1);" (call_expression "FUN_000264d0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_0008e770(int param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = (undefined4 *)(param_1 + 0x38);\n  FUN_0008b430(*(undefined4 *)(param_1 + 0xd8));\n  do {\n    uVar1 = *puVar2;\n    puVar2 = puVar2 + 1;\n    FUN_0008b430(uVar1);\n  } while (puVar2 != (undefined4 *)(param_1 + 0xd8));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0xf4));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0xdc));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0xe0));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0x28));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0x2c));\n  (**(code **)(**(int **)(param_1 + 0x24) + 8))(*(int **)(param_1 + 0x24));\n  FUN_000264d0(param_1);\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_0008e770(int param_1)" (identifier "FUN_0008e770") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = (undefined4 *)(param_1 + 0x38);\n  FUN_0008b430(*(undefined4 *)(param_1 + 0xd8));\n  do {\n    uVar1 = *puVar2;\n    puVar2 = puVar2 + 1;\n    FUN_0008b430(uVar1);\n  } while (puVar2 != (undefined4 *)(param_1 + 0xd8));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0xf4));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0xdc));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0xe0));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0x28));\n  FUN_000264d0(*(undefined4 *)(param_1 + 0x2c));\n  (**(code **)(**(int **)(param_1 + 0x24) + 8))(*(int **)(param_1 + 0x24));\n  FUN_000264d0(param_1);\n  return 0;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (expression_statement "puVar2 = (undefined4 *)(param_1 + 0x38);" (assignment_expression "puVar2 = (undefined4 *)(param_1 + 0x38)" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)(param_1 + 0x38)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")")))) (; ";")) (expression_statement "FUN_0008b430(*(undefined4 *)(param_1 + 0xd8));" (call_expression "FUN_0008b430(*(undefined4 *)(param_1 + 0xd8))" (identifier "FUN_0008b430") (argument_list "(*(undefined4 *)(param_1 + 0xd8))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0xd8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xd8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xd8)" (( "(") (binary_expression "param_1 + 0xd8" (identifier "param_1") (+ "+") (number_literal "0xd8")) () ")")))) () ")"))) (; ";")) (do_statement "do {\n    uVar1 = *puVar2;\n    puVar2 = puVar2 + 1;\n    FUN_0008b430(uVar1);\n  } while (puVar2 != (undefined4 *)(param_1 + 0xd8));" (do "do") (compound_statement "{\n    uVar1 = *puVar2;\n    puVar2 = puVar2 + 1;\n    FUN_0008b430(uVar1);\n  }" ({ "{") (expression_statement "uVar1 = *puVar2;" (assignment_expression "uVar1 = *puVar2" (identifier "uVar1") (= "=") (pointer_expression "*puVar2" (* "*") (identifier "puVar2"))) (; ";")) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" (identifier "puVar2") (= "=") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_0008b430(uVar1);" (call_expression "FUN_0008b430(uVar1)" (identifier "FUN_0008b430") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar2 != (undefined4 *)(param_1 + 0xd8))" (( "(") (binary_expression "puVar2 != (undefined4 *)(param_1 + 0xd8)" (identifier "puVar2") (!= "!=") (cast_expression "(undefined4 *)(param_1 + 0xd8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xd8)" (( "(") (binary_expression "param_1 + 0xd8" (identifier "param_1") (+ "+") (number_literal "0xd8")) () ")")))) () ")")) (; ";")) (expression_statement "FUN_000264d0(*(undefined4 *)(param_1 + 0xf4));" (call_expression "FUN_000264d0(*(undefined4 *)(param_1 + 0xf4))" (identifier "FUN_000264d0") (argument_list "(*(undefined4 *)(param_1 + 0xf4))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0xf4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xf4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xf4)" (( "(") (binary_expression "param_1 + 0xf4" (identifier "param_1") (+ "+") (number_literal "0xf4")) () ")")))) () ")"))) (; ";")) (expression_statement "FUN_000264d0(*(undefined4 *)(param_1 + 0xdc));" (call_expression "FUN_000264d0(*(undefined4 *)(param_1 + 0xdc))" (identifier "FUN_000264d0") (argument_list "(*(undefined4 *)(param_1 + 0xdc))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0xdc)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xdc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xdc)" (( "(") (binary_expression "param_1 + 0xdc" (identifier "param_1") (+ "+") (number_literal "0xdc")) () ")")))) () ")"))) (; ";")) (expression_statement "FUN_000264d0(*(undefined4 *)(param_1 + 0xe0));" (call_expression "FUN_000264d0(*(undefined4 *)(param_1 + 0xe0))" (identifier "FUN_000264d0") (argument_list "(*(undefined4 *)(param_1 + 0xe0))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0xe0)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xe0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xe0)" (( "(") (binary_expression "param_1 + 0xe0" (identifier "param_1") (+ "+") (number_literal "0xe0")) () ")")))) () ")"))) (; ";")) (expression_statement "FUN_000264d0(*(undefined4 *)(param_1 + 0x28));" (call_expression "FUN_000264d0(*(undefined4 *)(param_1 + 0x28))" (identifier "FUN_000264d0") (argument_list "(*(undefined4 *)(param_1 + 0x28))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x28)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x28)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) () ")"))) (; ";")) (expression_statement "FUN_000264d0(*(undefined4 *)(param_1 + 0x2c));" (call_expression "FUN_000264d0(*(undefined4 *)(param_1 + 0x2c))" (identifier "FUN_000264d0") (argument_list "(*(undefined4 *)(param_1 + 0x2c))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) () ")"))) (; ";")) (expression_statement "(**(code **)(**(int **)(param_1 + 0x24) + 8))(*(int **)(param_1 + 0x24));" (call_expression "(**(code **)(**(int **)(param_1 + 0x24) + 8))(*(int **)(param_1 + 0x24))" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 0x24) + 8))" (( "(") (pointer_expression "**(code **)(**(int **)(param_1 + 0x24) + 8)" (* "*") (pointer_expression "*(code **)(**(int **)(param_1 + 0x24) + 8)" (* "*") (cast_expression "(code **)(**(int **)(param_1 + 0x24) + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(**(int **)(param_1 + 0x24) + 8)" (( "(") (binary_expression "**(int **)(param_1 + 0x24) + 8" (pointer_expression "**(int **)(param_1 + 0x24)" (* "*") (pointer_expression "*(int **)(param_1 + 0x24)" (* "*") (cast_expression "(int **)(param_1 + 0x24)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")"))))) (+ "+") (number_literal "8")) () ")"))))) () ")")) (argument_list "(*(int **)(param_1 + 0x24))" (( "(") (pointer_expression "*(int **)(param_1 + 0x24)" (* "*") (cast_expression "(int **)(param_1 + 0x24)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")")))) () ")"))) (; ";")) (expression_statement "FUN_000264d0(param_1);" (call_expression "FUN_000264d0(param_1)" (identifier "FUN_000264d0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

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

int function_1(type_1 *var_3)

{
  type_2 *pStmt;
  char **var_2;
  
  var_2 = &var_3[4].zErrMsg;
  var_1((type_2 *)var_3[0x12].pModule);
  do {
    pStmt = (type_2 *)*var_2;
    var_2 = var_2 + 1;
    var_1(pStmt);
  } while ((type_1 *)var_2 != var_3 + 0x12);
  var_4((void *)var_3[0x14].nRef);
  var_4((void *)var_3[0x12].nRef);
  var_4(var_3[0x12].zErrMsg);
  var_4((void *)var_3[3].nRef);
  var_4(var_3[3].zErrMsg);
  (**(type_3 **)((var_3[3].pModule)->iVersion + 8))(var_3[3].pModule);
  var_4(var_3);
  return 0;
}


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

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

undefined4 MASKED(int param_1)

{
  undefined4 uVar1;
  undefined4 *puVar2;
  
  puVar2 = (undefined4 *)(param_1 + 0x38);
  FUN_0008b430(*(undefined4 *)(param_1 + 0xd8));
  do {
    uVar1 = *puVar2;
    puVar2 = puVar2 + 1;
    FUN_0008b430(uVar1);
  } while (puVar2 != (undefined4 *)(param_1 + 0xd8));
  FUN_000264d0(*(undefined4 *)(param_1 + 0xf4));
  FUN_000264d0(*(undefined4 *)(param_1 + 0xdc));
  FUN_000264d0(*(undefined4 *)(param_1 + 0xe0));
  FUN_000264d0(*(undefined4 *)(param_1 + 0x28));
  FUN_000264d0(*(undefined4 *)(param_1 + 0x2c));
  (**(code **)(**(int **)(param_1 + 0x24) + 8))(*(int **)(param_1 + 0x24));
  FUN_000264d0(param_1);
  return 0;
}

