
int fts3tokNextMethod(sqlite3_vtab_cursor *pCursor)

{
  int iVar1;
  Fts3tokCursor *pCsr;
  
  *(int *)&pCursor[3].pVtab = *(int *)&pCursor[3].pVtab + 1;
  iVar1 = (*(pCursor->pVtab[1].pModule)->xDestroy)(pCursor[2].pVtab);
  if (iVar1 != 0) {
    fts3tokResetCursor((Fts3tokCursor *)pCursor);
    if (iVar1 != 0x65) {
      return iVar1;
    }
  }
  return 0;
}



int FUN_0011b090(long *param_1)

{
  int iVar1;
  
  *(int *)(param_1 + 3) = (int)param_1[3] + 1;
  iVar1 = (**(code **)(*(long *)(*param_1 + 0x18) + 0x28))
                    (param_1[2],param_1 + 4,param_1 + 5,(long)param_1 + 0x2c,param_1 + 6,
                     (long)param_1 + 0x34);
  if (iVar1 != 0) {
    FUN_0011b030(param_1);
    if (iVar1 != 0x65) {
      return iVar1;
    }
  }
  return 0;
}


PUSH RBX
MOV RBX,RDI
LEA RCX,[RDI + 0x2c]
LEA RDX,[RDI + 0x28]
LEA RSI,[RDI + 0x20]
LEA R9,[RBX + 0x34]
LEA R8,[RBX + 0x30]
SUB RSP,0x10
MOV RAX,qword ptr [RDI]
ADD dword ptr [RDI + 0x18],0x1
MOV RDI,qword ptr [RDI + 0x10]
MOV RAX,qword ptr [RAX + 0x18]
CALL qword ptr [RAX + 0x28]
TEST EAX,EAX
JNZ 0x0011b0d0
ADD RSP,0x10
XOR EAX,EAX
POP RBX
RET
MOV RDI,RBX
MOV dword ptr [RSP + 0xc],EAX
CALL 0x0011b030
MOV EAX,dword ptr [RSP + 0xc]
CMP EAX,0x65
JZ 0x0011b0c2
ADD RSP,0x10
POP RBX
RET
(translation_unit "int FUN_0011b090(long *param_1)\n\n{\n  int iVar1;\n  \n  *(int *)(param_1 + 3) = (int)param_1[3] + 1;\n  iVar1 = (**(code **)(*(long *)(*param_1 + 0x18) + 0x28))\n                    (param_1[2],param_1 + 4,param_1 + 5,(long)param_1 + 0x2c,param_1 + 6,\n                     (long)param_1 + 0x34);\n  if (iVar1 != 0) {\n    FUN_0011b030(param_1);\n    if (iVar1 != 0x65) {\n      return iVar1;\n    }\n  }\n  return 0;\n}\n\n" (function_definition "int FUN_0011b090(long *param_1)\n\n{\n  int iVar1;\n  \n  *(int *)(param_1 + 3) = (int)param_1[3] + 1;\n  iVar1 = (**(code **)(*(long *)(*param_1 + 0x18) + 0x28))\n                    (param_1[2],param_1 + 4,param_1 + 5,(long)param_1 + 0x2c,param_1 + 6,\n                     (long)param_1 + 0x34);\n  if (iVar1 != 0) {\n    FUN_0011b030(param_1);\n    if (iVar1 != 0x65) {\n      return iVar1;\n    }\n  }\n  return 0;\n}" primitive_type (function_declarator "FUN_0011b090(long *param_1)" identifier (parameter_list "(long *param_1)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  *(int *)(param_1 + 3) = (int)param_1[3] + 1;\n  iVar1 = (**(code **)(*(long *)(*param_1 + 0x18) + 0x28))\n                    (param_1[2],param_1 + 4,param_1 + 5,(long)param_1 + 0x2c,param_1 + 6,\n                     (long)param_1 + 0x34);\n  if (iVar1 != 0) {\n    FUN_0011b030(param_1);\n    if (iVar1 != 0x65) {\n      return iVar1;\n    }\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "*(int *)(param_1 + 3) = (int)param_1[3] + 1;" (assignment_expression "*(int *)(param_1 + 3) = (int)param_1[3] + 1" (pointer_expression "*(int *)(param_1 + 3)" * (cast_expression "(int *)(param_1 + 3)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) )))) = (binary_expression "(int)param_1[3] + 1" (cast_expression "(int)param_1[3]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[3]" identifier [ number_literal ])) + number_literal)) ;) (expression_statement "iVar1 = (**(code **)(*(long *)(*param_1 + 0x18) + 0x28))\n                    (param_1[2],param_1 + 4,param_1 + 5,(long)param_1 + 0x2c,param_1 + 6,\n                     (long)param_1 + 0x34);" (assignment_expression "iVar1 = (**(code **)(*(long *)(*param_1 + 0x18) + 0x28))\n                    (param_1[2],param_1 + 4,param_1 + 5,(long)param_1 + 0x2c,param_1 + 6,\n                     (long)param_1 + 0x34)" identifier = (call_expression "(**(code **)(*(long *)(*param_1 + 0x18) + 0x28))\n                    (param_1[2],param_1 + 4,param_1 + 5,(long)param_1 + 0x2c,param_1 + 6,\n                     (long)param_1 + 0x34)" (parenthesized_expression "(**(code **)(*(long *)(*param_1 + 0x18) + 0x28))" ( (pointer_expression "**(code **)(*(long *)(*param_1 + 0x18) + 0x28)" * (pointer_expression "*(code **)(*(long *)(*param_1 + 0x18) + 0x28)" * (cast_expression "(code **)(*(long *)(*param_1 + 0x18) + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(*param_1 + 0x18) + 0x28)" ( (binary_expression "*(long *)(*param_1 + 0x18) + 0x28" (pointer_expression "*(long *)(*param_1 + 0x18)" * (cast_expression "(long *)(*param_1 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x18)" ( (binary_expression "*param_1 + 0x18" (pointer_expression "*param_1" * identifier) + number_literal) )))) + number_literal) ))))) )) (argument_list "(param_1[2],param_1 + 4,param_1 + 5,(long)param_1 + 0x2c,param_1 + 6,\n                     (long)param_1 + 0x34)" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , (binary_expression "param_1 + 4" identifier + number_literal) , (binary_expression "param_1 + 5" identifier + number_literal) , (binary_expression "(long)param_1 + 0x2c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) , (binary_expression "param_1 + 6" identifier + number_literal) , (binary_expression "(long)param_1 + 0x34" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ;) (if_statement "if (iVar1 != 0) {\n    FUN_0011b030(param_1);\n    if (iVar1 != 0x65) {\n      return iVar1;\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_0011b030(param_1);\n    if (iVar1 != 0x65) {\n      return iVar1;\n    }\n  }" { (expression_statement "FUN_0011b030(param_1);" (call_expression "FUN_0011b030(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (if_statement "if (iVar1 != 0x65) {\n      return iVar1;\n    }" if (parenthesized_expression "(iVar1 != 0x65)" ( (binary_expression "iVar1 != 0x65" identifier != number_literal) )) (compound_statement "{\n      return iVar1;\n    }" { (return_statement "return iVar1;" return identifier ;) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "int fts3tokNextMethod(sqlite3_vtab_cursor *pCursor)\n\n{\n  int iVar1;\n  Fts3tokCursor *pCsr;\n  \n  *(int *)&pCursor[3].pVtab = *(int *)&pCursor[3].pVtab + 1;\n  iVar1 = (*(pCursor->pVtab[1].pModule)->xDestroy)(pCursor[2].pVtab);\n  if (iVar1 != 0) {\n    fts3tokResetCursor((Fts3tokCursor *)pCursor);\n    if (iVar1 != 0x65) {\n      return iVar1;\n    }\n  }\n  return 0;\n}\n\n" (function_definition "int fts3tokNextMethod(sqlite3_vtab_cursor *pCursor)\n\n{\n  int iVar1;\n  Fts3tokCursor *pCsr;\n  \n  *(int *)&pCursor[3].pVtab = *(int *)&pCursor[3].pVtab + 1;\n  iVar1 = (*(pCursor->pVtab[1].pModule)->xDestroy)(pCursor[2].pVtab);\n  if (iVar1 != 0) {\n    fts3tokResetCursor((Fts3tokCursor *)pCursor);\n    if (iVar1 != 0x65) {\n      return iVar1;\n    }\n  }\n  return 0;\n}" primitive_type (function_declarator "fts3tokNextMethod(sqlite3_vtab_cursor *pCursor)" identifier (parameter_list "(sqlite3_vtab_cursor *pCursor)" ( (parameter_declaration "sqlite3_vtab_cursor *pCursor" type_identifier (pointer_declarator "*pCursor" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  Fts3tokCursor *pCsr;\n  \n  *(int *)&pCursor[3].pVtab = *(int *)&pCursor[3].pVtab + 1;\n  iVar1 = (*(pCursor->pVtab[1].pModule)->xDestroy)(pCursor[2].pVtab);\n  if (iVar1 != 0) {\n    fts3tokResetCursor((Fts3tokCursor *)pCursor);\n    if (iVar1 != 0x65) {\n      return iVar1;\n    }\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "Fts3tokCursor *pCsr;" type_identifier (pointer_declarator "*pCsr" * identifier) ;) (expression_statement "*(int *)&pCursor[3].pVtab = *(int *)&pCursor[3].pVtab + 1;" (assignment_expression "*(int *)&pCursor[3].pVtab = *(int *)&pCursor[3].pVtab + 1" (pointer_expression "*(int *)&pCursor[3].pVtab" * (cast_expression "(int *)&pCursor[3].pVtab" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pCursor[3].pVtab" & (field_expression "pCursor[3].pVtab" (subscript_expression "pCursor[3]" identifier [ number_literal ]) . field_identifier)))) = (binary_expression "*(int *)&pCursor[3].pVtab + 1" (pointer_expression "*(int *)&pCursor[3].pVtab" * (cast_expression "(int *)&pCursor[3].pVtab" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pCursor[3].pVtab" & (field_expression "pCursor[3].pVtab" (subscript_expression "pCursor[3]" identifier [ number_literal ]) . field_identifier)))) + number_literal)) ;) (expression_statement "iVar1 = (*(pCursor->pVtab[1].pModule)->xDestroy)(pCursor[2].pVtab);" (assignment_expression "iVar1 = (*(pCursor->pVtab[1].pModule)->xDestroy)(pCursor[2].pVtab)" identifier = (call_expression "(*(pCursor->pVtab[1].pModule)->xDestroy)(pCursor[2].pVtab)" (parenthesized_expression "(*(pCursor->pVtab[1].pModule)->xDestroy)" ( (pointer_expression "*(pCursor->pVtab[1].pModule)->xDestroy" * (field_expression "(pCursor->pVtab[1].pModule)->xDestroy" (parenthesized_expression "(pCursor->pVtab[1].pModule)" ( (field_expression "pCursor->pVtab[1].pModule" (subscript_expression "pCursor->pVtab[1]" (field_expression "pCursor->pVtab" identifier -> field_identifier) [ number_literal ]) . field_identifier) )) -> field_identifier)) )) (argument_list "(pCursor[2].pVtab)" ( (field_expression "pCursor[2].pVtab" (subscript_expression "pCursor[2]" identifier [ number_literal ]) . field_identifier) )))) ;) (if_statement "if (iVar1 != 0) {\n    fts3tokResetCursor((Fts3tokCursor *)pCursor);\n    if (iVar1 != 0x65) {\n      return iVar1;\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    fts3tokResetCursor((Fts3tokCursor *)pCursor);\n    if (iVar1 != 0x65) {\n      return iVar1;\n    }\n  }" { (expression_statement "fts3tokResetCursor((Fts3tokCursor *)pCursor);" (call_expression "fts3tokResetCursor((Fts3tokCursor *)pCursor)" identifier (argument_list "((Fts3tokCursor *)pCursor)" ( (cast_expression "(Fts3tokCursor *)pCursor" ( (type_descriptor "Fts3tokCursor *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (if_statement "if (iVar1 != 0x65) {\n      return iVar1;\n    }" if (parenthesized_expression "(iVar1 != 0x65)" ( (binary_expression "iVar1 != 0x65" identifier != number_literal) )) (compound_statement "{\n      return iVar1;\n    }" { (return_statement "return iVar1;" return identifier ;) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "int FUN_0011b090(long *param_1)\n\n{\n  int iVar1;\n  \n  *(int *)(param_1 + 3) = (int)param_1[3] + 1;\n  iVar1 = (**(code **)(*(long *)(*param_1 + 0x18) + 0x28))\n                    (param_1[2],param_1 + 4,param_1 + 5,(long)param_1 + 0x2c,param_1 + 6,\n                     (long)param_1 + 0x34);\n  if (iVar1 != 0) {\n    FUN_0011b030(param_1);\n    if (iVar1 != 0x65) {\n      return iVar1;\n    }\n  }\n  return 0;\n}\n\n" (function_definition "int FUN_0011b090(long *param_1)\n\n{\n  int iVar1;\n  \n  *(int *)(param_1 + 3) = (int)param_1[3] + 1;\n  iVar1 = (**(code **)(*(long *)(*param_1 + 0x18) + 0x28))\n                    (param_1[2],param_1 + 4,param_1 + 5,(long)param_1 + 0x2c,param_1 + 6,\n                     (long)param_1 + 0x34);\n  if (iVar1 != 0) {\n    FUN_0011b030(param_1);\n    if (iVar1 != 0x65) {\n      return iVar1;\n    }\n  }\n  return 0;\n}" primitive_type (function_declarator "FUN_0011b090(long *param_1)" identifier (parameter_list "(long *param_1)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  *(int *)(param_1 + 3) = (int)param_1[3] + 1;\n  iVar1 = (**(code **)(*(long *)(*param_1 + 0x18) + 0x28))\n                    (param_1[2],param_1 + 4,param_1 + 5,(long)param_1 + 0x2c,param_1 + 6,\n                     (long)param_1 + 0x34);\n  if (iVar1 != 0) {\n    FUN_0011b030(param_1);\n    if (iVar1 != 0x65) {\n      return iVar1;\n    }\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "*(int *)(param_1 + 3) = (int)param_1[3] + 1;" (assignment_expression "*(int *)(param_1 + 3) = (int)param_1[3] + 1" (pointer_expression "*(int *)(param_1 + 3)" * (cast_expression "(int *)(param_1 + 3)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) )))) = (binary_expression "(int)param_1[3] + 1" (cast_expression "(int)param_1[3]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[3]" identifier [ number_literal ])) + number_literal)) ;) (expression_statement "iVar1 = (**(code **)(*(long *)(*param_1 + 0x18) + 0x28))\n                    (param_1[2],param_1 + 4,param_1 + 5,(long)param_1 + 0x2c,param_1 + 6,\n                     (long)param_1 + 0x34);" (assignment_expression "iVar1 = (**(code **)(*(long *)(*param_1 + 0x18) + 0x28))\n                    (param_1[2],param_1 + 4,param_1 + 5,(long)param_1 + 0x2c,param_1 + 6,\n                     (long)param_1 + 0x34)" identifier = (call_expression "(**(code **)(*(long *)(*param_1 + 0x18) + 0x28))\n                    (param_1[2],param_1 + 4,param_1 + 5,(long)param_1 + 0x2c,param_1 + 6,\n                     (long)param_1 + 0x34)" (parenthesized_expression "(**(code **)(*(long *)(*param_1 + 0x18) + 0x28))" ( (pointer_expression "**(code **)(*(long *)(*param_1 + 0x18) + 0x28)" * (pointer_expression "*(code **)(*(long *)(*param_1 + 0x18) + 0x28)" * (cast_expression "(code **)(*(long *)(*param_1 + 0x18) + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(*param_1 + 0x18) + 0x28)" ( (binary_expression "*(long *)(*param_1 + 0x18) + 0x28" (pointer_expression "*(long *)(*param_1 + 0x18)" * (cast_expression "(long *)(*param_1 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x18)" ( (binary_expression "*param_1 + 0x18" (pointer_expression "*param_1" * identifier) + number_literal) )))) + number_literal) ))))) )) (argument_list "(param_1[2],param_1 + 4,param_1 + 5,(long)param_1 + 0x2c,param_1 + 6,\n                     (long)param_1 + 0x34)" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , (binary_expression "param_1 + 4" identifier + number_literal) , (binary_expression "param_1 + 5" identifier + number_literal) , (binary_expression "(long)param_1 + 0x2c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) , (binary_expression "param_1 + 6" identifier + number_literal) , (binary_expression "(long)param_1 + 0x34" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ;) (if_statement "if (iVar1 != 0) {\n    FUN_0011b030(param_1);\n    if (iVar1 != 0x65) {\n      return iVar1;\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_0011b030(param_1);\n    if (iVar1 != 0x65) {\n      return iVar1;\n    }\n  }" { (expression_statement "FUN_0011b030(param_1);" (call_expression "FUN_0011b030(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (if_statement "if (iVar1 != 0x65) {\n      return iVar1;\n    }" if (parenthesized_expression "(iVar1 != 0x65)" ( (binary_expression "iVar1 != 0x65" identifier != number_literal) )) (compound_statement "{\n      return iVar1;\n    }" { (return_statement "return iVar1;" return identifier ;) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) + LIT)) ;) (expression_statement (assignment_expression IDENT = (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 * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) + LIT) ))))) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) , (binary_expression IDENT + LIT) , (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) })) })) (return_statement return LIT ;) })))
(function_definition "int FUN_0011b090(long *param_1)\n\n{\n  int iVar1;\n  \n  *(int *)(param_1 + 3) = (int)param_1[3] + 1;\n  iVar1 = (**(code **)(*(long *)(*param_1 + 0x18) + 0x28))\n                    (param_1[2],param_1 + 4,param_1 + 5,(long)param_1 + 0x2c,param_1 + 6,\n                     (long)param_1 + 0x34);\n  if (iVar1 != 0) {\n    FUN_0011b030(param_1);\n    if (iVar1 != 0x65) {\n      return iVar1;\n    }\n  }\n  return 0;\n}" (primitive_type "int") (function_declarator "FUN_0011b090(long *param_1)" (identifier "FUN_0011b090") (parameter_list "(long *param_1)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  *(int *)(param_1 + 3) = (int)param_1[3] + 1;\n  iVar1 = (**(code **)(*(long *)(*param_1 + 0x18) + 0x28))\n                    (param_1[2],param_1 + 4,param_1 + 5,(long)param_1 + 0x2c,param_1 + 6,\n                     (long)param_1 + 0x34);\n  if (iVar1 != 0) {\n    FUN_0011b030(param_1);\n    if (iVar1 != 0x65) {\n      return iVar1;\n    }\n  }\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "*(int *)(param_1 + 3) = (int)param_1[3] + 1;" (assignment_expression "*(int *)(param_1 + 3) = (int)param_1[3] + 1" (pointer_expression "*(int *)(param_1 + 3)" (* "*") (cast_expression "(int *)(param_1 + 3)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 3)" (( "(") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3")) () ")")))) (= "=") (binary_expression "(int)param_1[3] + 1" (cast_expression "(int)param_1[3]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar1 = (**(code **)(*(long *)(*param_1 + 0x18) + 0x28))\n                    (param_1[2],param_1 + 4,param_1 + 5,(long)param_1 + 0x2c,param_1 + 6,\n                     (long)param_1 + 0x34);" (assignment_expression "iVar1 = (**(code **)(*(long *)(*param_1 + 0x18) + 0x28))\n                    (param_1[2],param_1 + 4,param_1 + 5,(long)param_1 + 0x2c,param_1 + 6,\n                     (long)param_1 + 0x34)" (identifier "iVar1") (= "=") (call_expression "(**(code **)(*(long *)(*param_1 + 0x18) + 0x28))\n                    (param_1[2],param_1 + 4,param_1 + 5,(long)param_1 + 0x2c,param_1 + 6,\n                     (long)param_1 + 0x34)" (parenthesized_expression "(**(code **)(*(long *)(*param_1 + 0x18) + 0x28))" (( "(") (pointer_expression "**(code **)(*(long *)(*param_1 + 0x18) + 0x28)" (* "*") (pointer_expression "*(code **)(*(long *)(*param_1 + 0x18) + 0x28)" (* "*") (cast_expression "(code **)(*(long *)(*param_1 + 0x18) + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(long *)(*param_1 + 0x18) + 0x28)" (( "(") (binary_expression "*(long *)(*param_1 + 0x18) + 0x28" (pointer_expression "*(long *)(*param_1 + 0x18)" (* "*") (cast_expression "(long *)(*param_1 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x18)" (( "(") (binary_expression "*param_1 + 0x18" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "(param_1[2],param_1 + 4,param_1 + 5,(long)param_1 + 0x2c,param_1 + 6,\n                     (long)param_1 + 0x34)" (( "(") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (, ",") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) (, ",") (binary_expression "param_1 + 5" (identifier "param_1") (+ "+") (number_literal "5")) (, ",") (binary_expression "(long)param_1 + 0x2c" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x2c")) (, ",") (binary_expression "param_1 + 6" (identifier "param_1") (+ "+") (number_literal "6")) (, ",") (binary_expression "(long)param_1 + 0x34" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x34")) () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    FUN_0011b030(param_1);\n    if (iVar1 != 0x65) {\n      return iVar1;\n    }\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_0011b030(param_1);\n    if (iVar1 != 0x65) {\n      return iVar1;\n    }\n  }" ({ "{") (expression_statement "FUN_0011b030(param_1);" (call_expression "FUN_0011b030(param_1)" (identifier "FUN_0011b030") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (if_statement "if (iVar1 != 0x65) {\n      return iVar1;\n    }" (if "if") (parenthesized_expression "(iVar1 != 0x65)" (( "(") (binary_expression "iVar1 != 0x65" (identifier "iVar1") (!= "!=") (number_literal "0x65")) () ")")) (compound_statement "{\n      return iVar1;\n    }" ({ "{") (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

int function_1(type_1 *pCursor)

{
  int var_1;
  type_2 *pCsr;
  
  *(int *)&pCursor[3].pVtab = *(int *)&pCursor[3].pVtab + 1;
  var_1 = (*(pCursor->pVtab[1].pModule)->xDestroy)(pCursor[2].pVtab);
  if (var_1 != 0) {
    var_2((type_2 *)pCursor);
    if (var_1 != 0x65) {
      return var_1;
    }
  }
  return 0;
}


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

int MASKED(long *param_1)

{
  int iVar1;
  
  *(int *)(param_1 + 3) = (int)param_1[3] + 1;
  iVar1 = (**(code **)(*(long *)(*param_1 + 0x18) + 0x28))
                    (param_1[2],param_1 + 4,param_1 + 5,(long)param_1 + 0x2c,param_1 + 6,
                     (long)param_1 + 0x34);
  if (iVar1 != 0) {
    FUN_0011b030(param_1);
    if (iVar1 != 0x65) {
      return iVar1;
    }
  }
  return 0;
}

