
/* WARNING: Unknown calling convention */

int fts5ApiPhraseSize(int iPhrase)

{
  int iVar1;
  Fts5Cursor *pCsr;
  
  iVar1 = 0;
  if ((-1 < iPhrase) && (iPhrase < pCsr->pExpr->nPhrase)) {
    iVar1 = pCsr->pExpr->apExprPhrase[iPhrase]->nTerm;
  }
  return iVar1;
}



undefined4 FUN_00020110(int param_1,int param_2)

{
  undefined4 uVar1;
  
  uVar1 = 0;
  if ((-1 < param_2) && (param_2 < *(int *)(*(int *)(param_1 + 0x30) + 0x10))) {
    uVar1 = *(undefined4 *)
             (*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4) + 0x10);
  }
  return uVar1;
}


MOV EDX,dword ptr [ESP + 0x8]
XOR EAX,EAX
TEST EDX,EDX
JS 0x0002012f
MOV ECX,dword ptr [ESP + 0x4]
MOV ECX,dword ptr [ECX + 0x30]
CMP EDX,dword ptr [ECX + 0x10]
JGE 0x0002012f
MOV EAX,dword ptr [ECX + 0x14]
MOV EAX,dword ptr [EAX + EDX*0x4]
MOV EAX,dword ptr [EAX + 0x10]
RET
(translation_unit "undefined4 FUN_00020110(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = 0;\n  if ((-1 < param_2) && (param_2 < *(int *)(*(int *)(param_1 + 0x30) + 0x10))) {\n    uVar1 = *(undefined4 *)\n             (*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4) + 0x10);\n  }\n  return uVar1;\n}\n\n" (function_definition "undefined4 FUN_00020110(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = 0;\n  if ((-1 < param_2) && (param_2 < *(int *)(*(int *)(param_1 + 0x30) + 0x10))) {\n    uVar1 = *(undefined4 *)\n             (*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4) + 0x10);\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_00020110(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = 0;\n  if ((-1 < param_2) && (param_2 < *(int *)(*(int *)(param_1 + 0x30) + 0x10))) {\n    uVar1 = *(undefined4 *)\n             (*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4) + 0x10);\n  }\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (if_statement "if ((-1 < param_2) && (param_2 < *(int *)(*(int *)(param_1 + 0x30) + 0x10))) {\n    uVar1 = *(undefined4 *)\n             (*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4) + 0x10);\n  }" if (parenthesized_expression "((-1 < param_2) && (param_2 < *(int *)(*(int *)(param_1 + 0x30) + 0x10)))" ( (binary_expression "(-1 < param_2) && (param_2 < *(int *)(*(int *)(param_1 + 0x30) + 0x10))" (parenthesized_expression "(-1 < param_2)" ( (binary_expression "-1 < param_2" number_literal < identifier) )) && (parenthesized_expression "(param_2 < *(int *)(*(int *)(param_1 + 0x30) + 0x10))" ( (binary_expression "param_2 < *(int *)(*(int *)(param_1 + 0x30) + 0x10)" identifier < (pointer_expression "*(int *)(*(int *)(param_1 + 0x30) + 0x10)" * (cast_expression "(int *)(*(int *)(param_1 + 0x30) + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x30) + 0x10)" ( (binary_expression "*(int *)(param_1 + 0x30) + 0x10" (pointer_expression "*(int *)(param_1 + 0x30)" * (cast_expression "(int *)(param_1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) + number_literal) ))))) ))) )) (compound_statement "{\n    uVar1 = *(undefined4 *)\n             (*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4) + 0x10);\n  }" { (expression_statement "uVar1 = *(undefined4 *)\n             (*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4) + 0x10);" (assignment_expression "uVar1 = *(undefined4 *)\n             (*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4) + 0x10)" identifier = (pointer_expression "*(undefined4 *)\n             (*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4) + 0x10)" * (cast_expression "(undefined4 *)\n             (*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4) + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4) + 0x10)" ( (binary_expression "*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4) + 0x10" (pointer_expression "*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4)" * (cast_expression "(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4)" ( (binary_expression "*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4" (pointer_expression "*(int *)(*(int *)(param_1 + 0x30) + 0x14)" * (cast_expression "(int *)(*(int *)(param_1 + 0x30) + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x30) + 0x14)" ( (binary_expression "*(int *)(param_1 + 0x30) + 0x14" (pointer_expression "*(int *)(param_1 + 0x30)" * (cast_expression "(int *)(param_1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) + number_literal) )))) + (binary_expression "param_2 * 4" identifier * number_literal)) )))) + number_literal) ))))) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nint fts5ApiPhraseSize(int iPhrase)\n\n{\n  int iVar1;\n  Fts5Cursor *pCsr;\n  \n  iVar1 = 0;\n  if ((-1 < iPhrase) && (iPhrase < pCsr->pExpr->nPhrase)) {\n    iVar1 = pCsr->pExpr->apExprPhrase[iPhrase]->nTerm;\n  }\n  return iVar1;\n}\n\n" comment (function_definition "int fts5ApiPhraseSize(int iPhrase)\n\n{\n  int iVar1;\n  Fts5Cursor *pCsr;\n  \n  iVar1 = 0;\n  if ((-1 < iPhrase) && (iPhrase < pCsr->pExpr->nPhrase)) {\n    iVar1 = pCsr->pExpr->apExprPhrase[iPhrase]->nTerm;\n  }\n  return iVar1;\n}" primitive_type (function_declarator "fts5ApiPhraseSize(int iPhrase)" identifier (parameter_list "(int iPhrase)" ( (parameter_declaration "int iPhrase" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  Fts5Cursor *pCsr;\n  \n  iVar1 = 0;\n  if ((-1 < iPhrase) && (iPhrase < pCsr->pExpr->nPhrase)) {\n    iVar1 = pCsr->pExpr->apExprPhrase[iPhrase]->nTerm;\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "Fts5Cursor *pCsr;" type_identifier (pointer_declarator "*pCsr" * identifier) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (if_statement "if ((-1 < iPhrase) && (iPhrase < pCsr->pExpr->nPhrase)) {\n    iVar1 = pCsr->pExpr->apExprPhrase[iPhrase]->nTerm;\n  }" if (parenthesized_expression "((-1 < iPhrase) && (iPhrase < pCsr->pExpr->nPhrase))" ( (binary_expression "(-1 < iPhrase) && (iPhrase < pCsr->pExpr->nPhrase)" (parenthesized_expression "(-1 < iPhrase)" ( (binary_expression "-1 < iPhrase" number_literal < identifier) )) && (parenthesized_expression "(iPhrase < pCsr->pExpr->nPhrase)" ( (binary_expression "iPhrase < pCsr->pExpr->nPhrase" identifier < (field_expression "pCsr->pExpr->nPhrase" (field_expression "pCsr->pExpr" identifier -> field_identifier) -> field_identifier)) ))) )) (compound_statement "{\n    iVar1 = pCsr->pExpr->apExprPhrase[iPhrase]->nTerm;\n  }" { (expression_statement "iVar1 = pCsr->pExpr->apExprPhrase[iPhrase]->nTerm;" (assignment_expression "iVar1 = pCsr->pExpr->apExprPhrase[iPhrase]->nTerm" identifier = (field_expression "pCsr->pExpr->apExprPhrase[iPhrase]->nTerm" (subscript_expression "pCsr->pExpr->apExprPhrase[iPhrase]" (field_expression "pCsr->pExpr->apExprPhrase" (field_expression "pCsr->pExpr" identifier -> field_identifier) -> field_identifier) [ identifier ]) -> field_identifier)) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "undefined4 FUN_00020110(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = 0;\n  if ((-1 < param_2) && (param_2 < *(int *)(*(int *)(param_1 + 0x30) + 0x10))) {\n    uVar1 = *(undefined4 *)\n             (*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4) + 0x10);\n  }\n  return uVar1;\n}\n\n" (function_definition "undefined4 FUN_00020110(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = 0;\n  if ((-1 < param_2) && (param_2 < *(int *)(*(int *)(param_1 + 0x30) + 0x10))) {\n    uVar1 = *(undefined4 *)\n             (*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4) + 0x10);\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_00020110(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = 0;\n  if ((-1 < param_2) && (param_2 < *(int *)(*(int *)(param_1 + 0x30) + 0x10))) {\n    uVar1 = *(undefined4 *)\n             (*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4) + 0x10);\n  }\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (if_statement "if ((-1 < param_2) && (param_2 < *(int *)(*(int *)(param_1 + 0x30) + 0x10))) {\n    uVar1 = *(undefined4 *)\n             (*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4) + 0x10);\n  }" if (parenthesized_expression "((-1 < param_2) && (param_2 < *(int *)(*(int *)(param_1 + 0x30) + 0x10)))" ( (binary_expression "(-1 < param_2) && (param_2 < *(int *)(*(int *)(param_1 + 0x30) + 0x10))" (parenthesized_expression "(-1 < param_2)" ( (binary_expression "-1 < param_2" number_literal < identifier) )) && (parenthesized_expression "(param_2 < *(int *)(*(int *)(param_1 + 0x30) + 0x10))" ( (binary_expression "param_2 < *(int *)(*(int *)(param_1 + 0x30) + 0x10)" identifier < (pointer_expression "*(int *)(*(int *)(param_1 + 0x30) + 0x10)" * (cast_expression "(int *)(*(int *)(param_1 + 0x30) + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x30) + 0x10)" ( (binary_expression "*(int *)(param_1 + 0x30) + 0x10" (pointer_expression "*(int *)(param_1 + 0x30)" * (cast_expression "(int *)(param_1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) + number_literal) ))))) ))) )) (compound_statement "{\n    uVar1 = *(undefined4 *)\n             (*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4) + 0x10);\n  }" { (expression_statement "uVar1 = *(undefined4 *)\n             (*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4) + 0x10);" (assignment_expression "uVar1 = *(undefined4 *)\n             (*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4) + 0x10)" identifier = (pointer_expression "*(undefined4 *)\n             (*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4) + 0x10)" * (cast_expression "(undefined4 *)\n             (*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4) + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4) + 0x10)" ( (binary_expression "*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4) + 0x10" (pointer_expression "*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4)" * (cast_expression "(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4)" ( (binary_expression "*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4" (pointer_expression "*(int *)(*(int *)(param_1 + 0x30) + 0x14)" * (cast_expression "(int *)(*(int *)(param_1 + 0x30) + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x30) + 0x14)" ( (binary_expression "*(int *)(param_1 + 0x30) + 0x14" (pointer_expression "*(int *)(param_1 + 0x30)" * (cast_expression "(int *)(param_1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) + number_literal) )))) + (binary_expression "param_2 * 4" identifier * number_literal)) )))) + number_literal) ))))) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < IDENT) )) && (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) + (binary_expression IDENT * LIT)) )))) + LIT) ))))) ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_00020110(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = 0;\n  if ((-1 < param_2) && (param_2 < *(int *)(*(int *)(param_1 + 0x30) + 0x10))) {\n    uVar1 = *(undefined4 *)\n             (*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4) + 0x10);\n  }\n  return uVar1;\n}" (type_identifier "undefined4") (function_declarator "FUN_00020110(int param_1,int param_2)" (identifier "FUN_00020110") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = 0;\n  if ((-1 < param_2) && (param_2 < *(int *)(*(int *)(param_1 + 0x30) + 0x10))) {\n    uVar1 = *(undefined4 *)\n             (*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4) + 0x10);\n  }\n  return uVar1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((-1 < param_2) && (param_2 < *(int *)(*(int *)(param_1 + 0x30) + 0x10))) {\n    uVar1 = *(undefined4 *)\n             (*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4) + 0x10);\n  }" (if "if") (parenthesized_expression "((-1 < param_2) && (param_2 < *(int *)(*(int *)(param_1 + 0x30) + 0x10)))" (( "(") (binary_expression "(-1 < param_2) && (param_2 < *(int *)(*(int *)(param_1 + 0x30) + 0x10))" (parenthesized_expression "(-1 < param_2)" (( "(") (binary_expression "-1 < param_2" (number_literal "-1") (< "<") (identifier "param_2")) () ")")) (&& "&&") (parenthesized_expression "(param_2 < *(int *)(*(int *)(param_1 + 0x30) + 0x10))" (( "(") (binary_expression "param_2 < *(int *)(*(int *)(param_1 + 0x30) + 0x10)" (identifier "param_2") (< "<") (pointer_expression "*(int *)(*(int *)(param_1 + 0x30) + 0x10)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 0x30) + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x30) + 0x10)" (( "(") (binary_expression "*(int *)(param_1 + 0x30) + 0x10" (pointer_expression "*(int *)(param_1 + 0x30)" (* "*") (cast_expression "(int *)(param_1 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) (+ "+") (number_literal "0x10")) () ")"))))) () ")"))) () ")")) (compound_statement "{\n    uVar1 = *(undefined4 *)\n             (*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4) + 0x10);\n  }" ({ "{") (expression_statement "uVar1 = *(undefined4 *)\n             (*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4) + 0x10);" (assignment_expression "uVar1 = *(undefined4 *)\n             (*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4) + 0x10)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)\n             (*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4) + 0x10)" (* "*") (cast_expression "(undefined4 *)\n             (*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4) + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4) + 0x10)" (( "(") (binary_expression "*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4) + 0x10" (pointer_expression "*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4)" (* "*") (cast_expression "(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4)" (( "(") (binary_expression "*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4" (pointer_expression "*(int *)(*(int *)(param_1 + 0x30) + 0x14)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 0x30) + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x30) + 0x14)" (( "(") (binary_expression "*(int *)(param_1 + 0x30) + 0x14" (pointer_expression "*(int *)(param_1 + 0x30)" (* "*") (cast_expression "(int *)(param_1 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) (+ "+") (number_literal "0x14")) () ")")))) (+ "+") (binary_expression "param_2 * 4" (identifier "param_2") (* "*") (number_literal "4"))) () ")")))) (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (} "}"))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

int function_1(int var_1)

{
  int iVar1;
  type_1 *pCsr;
  
  iVar1 = 0;
  if ((-1 < var_1) && (var_1 < pCsr->pExpr->nPhrase)) {
    iVar1 = pCsr->pExpr->apExprPhrase[var_1]->nTerm;
  }
  return iVar1;
}


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

undefined4 MASKED(int param_1,int param_2)

{
  undefined4 uVar1;
  
  uVar1 = 0;
  if ((-1 < param_2) && (param_2 < *(int *)(*(int *)(param_1 + 0x30) + 0x10))) {
    uVar1 = *(undefined4 *)
             (*(int *)(*(int *)(*(int *)(param_1 + 0x30) + 0x14) + param_2 * 4) + 0x10);
  }
  return uVar1;
}

