
Table * sqlite3SrcListLookup(Parse *pParse,SrcList *pSrc)

{
  Table *pTVar1;
  int iVar2;
  
  pTVar1 = sqlite3LocateTableItem(pParse,0,pSrc->a);
  (*(code *)(PTR_LAB_00190bb8 + -0x2bbc))(pParse->db,pSrc->a[0].pTab);
  pSrc->a[0].pTab = pTVar1;
  if (pTVar1 != (Table *)0x0) {
    pTVar1->nTabRef = pTVar1->nTabRef + 1;
  }
  iVar2 = (*(code *)(PTR_LAB_00190bdc + 0x5f64))(pParse,pSrc->a);
  if (iVar2 != 0) {
    pTVar1 = (Table *)0x0;
  }
  return pTVar1;
}



int FUN_00109b30(undefined4 *param_1,int param_2)

{
  int iVar1;
  int iVar2;
  
  iVar1 = FUN_001087b0(param_1,0,param_2 + 8);
  (*(code *)(PTR_LAB_00190bb8 + -0x2bbc))(*param_1,*(undefined4 *)(param_2 + 0x18));
  *(int *)(param_2 + 0x18) = iVar1;
  if (iVar1 != 0) {
    *(int *)(iVar1 + 0x20) = *(int *)(iVar1 + 0x20) + 1;
  }
  iVar2 = (*(code *)(PTR_LAB_00190bdc + 0x5f64))(param_1,param_2 + 8);
  if (iVar2 != 0) {
    iVar1 = 0;
  }
  return iVar1;
}


lui gp,0x9
addiu gp,gp,-0x1210
addu gp,gp,t9
addiu sp,sp,-0x30
lw t9,-0x7d58(gp)
sw s3,0x28(sp)
addiu s3,a1,0x8
sw s1,0x20(sp)
addiu t9,t9,-0x7850
or s1,a1,zero
sw gp,0x10(sp)
or a1,zero,zero
sw ra,0x2c(sp)
sw s2,0x24(sp)
or a2,s3,zero
sw s0,0x1c(sp)
bal 0x001087b0
_or s2,a0,zero
lw gp,0x10(sp)
or s0,v0,zero
lw a1,0x18(s1)
lw t9,-0x7d68(gp)
addiu t9,t9,-0x2bbc
jalr t9
_lw a0,0x0(s2)
lw gp,0x10(sp)
beq s0,zero,0x00109bac
_sw s0,0x18(s1)
lw v0,0x20(s0)
addiu v0,v0,0x1
sw v0,0x20(s0)
lw t9,-0x7d44(gp)
or a1,s3,zero
addiu t9,t9,0x5f64
jalr t9
_or a0,s2,zero
movn s0,zero,v0
lw ra,0x2c(sp)
lw s3,0x28(sp)
or v0,s0,zero
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
(translation_unit "int FUN_00109b30(undefined4 *param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = FUN_001087b0(param_1,0,param_2 + 8);\n  (*(code *)(PTR_LAB_00190bb8 + -0x2bbc))(*param_1,*(undefined4 *)(param_2 + 0x18));\n  *(int *)(param_2 + 0x18) = iVar1;\n  if (iVar1 != 0) {\n    *(int *)(iVar1 + 0x20) = *(int *)(iVar1 + 0x20) + 1;\n  }\n  iVar2 = (*(code *)(PTR_LAB_00190bdc + 0x5f64))(param_1,param_2 + 8);\n  if (iVar2 != 0) {\n    iVar1 = 0;\n  }\n  return iVar1;\n}\n\n" (function_definition "int FUN_00109b30(undefined4 *param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = FUN_001087b0(param_1,0,param_2 + 8);\n  (*(code *)(PTR_LAB_00190bb8 + -0x2bbc))(*param_1,*(undefined4 *)(param_2 + 0x18));\n  *(int *)(param_2 + 0x18) = iVar1;\n  if (iVar1 != 0) {\n    *(int *)(iVar1 + 0x20) = *(int *)(iVar1 + 0x20) + 1;\n  }\n  iVar2 = (*(code *)(PTR_LAB_00190bdc + 0x5f64))(param_1,param_2 + 8);\n  if (iVar2 != 0) {\n    iVar1 = 0;\n  }\n  return iVar1;\n}" primitive_type (function_declarator "FUN_00109b30(undefined4 *param_1,int param_2)" identifier (parameter_list "(undefined4 *param_1,int param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = FUN_001087b0(param_1,0,param_2 + 8);\n  (*(code *)(PTR_LAB_00190bb8 + -0x2bbc))(*param_1,*(undefined4 *)(param_2 + 0x18));\n  *(int *)(param_2 + 0x18) = iVar1;\n  if (iVar1 != 0) {\n    *(int *)(iVar1 + 0x20) = *(int *)(iVar1 + 0x20) + 1;\n  }\n  iVar2 = (*(code *)(PTR_LAB_00190bdc + 0x5f64))(param_1,param_2 + 8);\n  if (iVar2 != 0) {\n    iVar1 = 0;\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_001087b0(param_1,0,param_2 + 8);" (assignment_expression "iVar1 = FUN_001087b0(param_1,0,param_2 + 8)" identifier = (call_expression "FUN_001087b0(param_1,0,param_2 + 8)" identifier (argument_list "(param_1,0,param_2 + 8)" ( identifier , number_literal , (binary_expression "param_2 + 8" identifier + number_literal) )))) ;) (expression_statement "(*(code *)(PTR_LAB_00190bb8 + -0x2bbc))(*param_1,*(undefined4 *)(param_2 + 0x18));" (call_expression "(*(code *)(PTR_LAB_00190bb8 + -0x2bbc))(*param_1,*(undefined4 *)(param_2 + 0x18))" (parenthesized_expression "(*(code *)(PTR_LAB_00190bb8 + -0x2bbc))" ( (pointer_expression "*(code *)(PTR_LAB_00190bb8 + -0x2bbc)" * (cast_expression "(code *)(PTR_LAB_00190bb8 + -0x2bbc)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190bb8 + -0x2bbc)" ( (binary_expression "PTR_LAB_00190bb8 + -0x2bbc" identifier + number_literal) )))) )) (argument_list "(*param_1,*(undefined4 *)(param_2 + 0x18))" ( (pointer_expression "*param_1" * identifier) , (pointer_expression "*(undefined4 *)(param_2 + 0x18)" * (cast_expression "(undefined4 *)(param_2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) ))) ;) (expression_statement "*(int *)(param_2 + 0x18) = iVar1;" (assignment_expression "*(int *)(param_2 + 0x18) = iVar1" (pointer_expression "*(int *)(param_2 + 0x18)" * (cast_expression "(int *)(param_2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar1 != 0) {\n    *(int *)(iVar1 + 0x20) = *(int *)(iVar1 + 0x20) + 1;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    *(int *)(iVar1 + 0x20) = *(int *)(iVar1 + 0x20) + 1;\n  }" { (expression_statement "*(int *)(iVar1 + 0x20) = *(int *)(iVar1 + 0x20) + 1;" (assignment_expression "*(int *)(iVar1 + 0x20) = *(int *)(iVar1 + 0x20) + 1" (pointer_expression "*(int *)(iVar1 + 0x20)" * (cast_expression "(int *)(iVar1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x20)" ( (binary_expression "iVar1 + 0x20" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar1 + 0x20) + 1" (pointer_expression "*(int *)(iVar1 + 0x20)" * (cast_expression "(int *)(iVar1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x20)" ( (binary_expression "iVar1 + 0x20" identifier + number_literal) )))) + number_literal)) ;) })) (expression_statement "iVar2 = (*(code *)(PTR_LAB_00190bdc + 0x5f64))(param_1,param_2 + 8);" (assignment_expression "iVar2 = (*(code *)(PTR_LAB_00190bdc + 0x5f64))(param_1,param_2 + 8)" identifier = (call_expression "(*(code *)(PTR_LAB_00190bdc + 0x5f64))(param_1,param_2 + 8)" (parenthesized_expression "(*(code *)(PTR_LAB_00190bdc + 0x5f64))" ( (pointer_expression "*(code *)(PTR_LAB_00190bdc + 0x5f64)" * (cast_expression "(code *)(PTR_LAB_00190bdc + 0x5f64)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190bdc + 0x5f64)" ( (binary_expression "PTR_LAB_00190bdc + 0x5f64" identifier + number_literal) )))) )) (argument_list "(param_1,param_2 + 8)" ( identifier , (binary_expression "param_2 + 8" identifier + number_literal) )))) ;) (if_statement "if (iVar2 != 0) {\n    iVar1 = 0;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = 0;\n  }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "Table * sqlite3SrcListLookup(Parse *pParse,SrcList *pSrc)\n\n{\n  Table *pTVar1;\n  int iVar2;\n  \n  pTVar1 = sqlite3LocateTableItem(pParse,0,pSrc->a);\n  (*(code *)(PTR_LAB_00190bb8 + -0x2bbc))(pParse->db,pSrc->a[0].pTab);\n  pSrc->a[0].pTab = pTVar1;\n  if (pTVar1 != (Table *)0x0) {\n    pTVar1->nTabRef = pTVar1->nTabRef + 1;\n  }\n  iVar2 = (*(code *)(PTR_LAB_00190bdc + 0x5f64))(pParse,pSrc->a);\n  if (iVar2 != 0) {\n    pTVar1 = (Table *)0x0;\n  }\n  return pTVar1;\n}\n\n" (function_definition "Table * sqlite3SrcListLookup(Parse *pParse,SrcList *pSrc)\n\n{\n  Table *pTVar1;\n  int iVar2;\n  \n  pTVar1 = sqlite3LocateTableItem(pParse,0,pSrc->a);\n  (*(code *)(PTR_LAB_00190bb8 + -0x2bbc))(pParse->db,pSrc->a[0].pTab);\n  pSrc->a[0].pTab = pTVar1;\n  if (pTVar1 != (Table *)0x0) {\n    pTVar1->nTabRef = pTVar1->nTabRef + 1;\n  }\n  iVar2 = (*(code *)(PTR_LAB_00190bdc + 0x5f64))(pParse,pSrc->a);\n  if (iVar2 != 0) {\n    pTVar1 = (Table *)0x0;\n  }\n  return pTVar1;\n}" type_identifier (pointer_declarator "* sqlite3SrcListLookup(Parse *pParse,SrcList *pSrc)" * (function_declarator "sqlite3SrcListLookup(Parse *pParse,SrcList *pSrc)" identifier (parameter_list "(Parse *pParse,SrcList *pSrc)" ( (parameter_declaration "Parse *pParse" type_identifier (pointer_declarator "*pParse" * identifier)) , (parameter_declaration "SrcList *pSrc" type_identifier (pointer_declarator "*pSrc" * identifier)) )))) (compound_statement "{\n  Table *pTVar1;\n  int iVar2;\n  \n  pTVar1 = sqlite3LocateTableItem(pParse,0,pSrc->a);\n  (*(code *)(PTR_LAB_00190bb8 + -0x2bbc))(pParse->db,pSrc->a[0].pTab);\n  pSrc->a[0].pTab = pTVar1;\n  if (pTVar1 != (Table *)0x0) {\n    pTVar1->nTabRef = pTVar1->nTabRef + 1;\n  }\n  iVar2 = (*(code *)(PTR_LAB_00190bdc + 0x5f64))(pParse,pSrc->a);\n  if (iVar2 != 0) {\n    pTVar1 = (Table *)0x0;\n  }\n  return pTVar1;\n}" { (declaration "Table *pTVar1;" type_identifier (pointer_declarator "*pTVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "pTVar1 = sqlite3LocateTableItem(pParse,0,pSrc->a);" (assignment_expression "pTVar1 = sqlite3LocateTableItem(pParse,0,pSrc->a)" identifier = (call_expression "sqlite3LocateTableItem(pParse,0,pSrc->a)" identifier (argument_list "(pParse,0,pSrc->a)" ( identifier , number_literal , (field_expression "pSrc->a" identifier -> field_identifier) )))) ;) (expression_statement "(*(code *)(PTR_LAB_00190bb8 + -0x2bbc))(pParse->db,pSrc->a[0].pTab);" (call_expression "(*(code *)(PTR_LAB_00190bb8 + -0x2bbc))(pParse->db,pSrc->a[0].pTab)" (parenthesized_expression "(*(code *)(PTR_LAB_00190bb8 + -0x2bbc))" ( (pointer_expression "*(code *)(PTR_LAB_00190bb8 + -0x2bbc)" * (cast_expression "(code *)(PTR_LAB_00190bb8 + -0x2bbc)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190bb8 + -0x2bbc)" ( (binary_expression "PTR_LAB_00190bb8 + -0x2bbc" identifier + number_literal) )))) )) (argument_list "(pParse->db,pSrc->a[0].pTab)" ( (field_expression "pParse->db" identifier -> field_identifier) , (field_expression "pSrc->a[0].pTab" (subscript_expression "pSrc->a[0]" (field_expression "pSrc->a" identifier -> field_identifier) [ number_literal ]) . field_identifier) ))) ;) (expression_statement "pSrc->a[0].pTab = pTVar1;" (assignment_expression "pSrc->a[0].pTab = pTVar1" (field_expression "pSrc->a[0].pTab" (subscript_expression "pSrc->a[0]" (field_expression "pSrc->a" identifier -> field_identifier) [ number_literal ]) . field_identifier) = identifier) ;) (if_statement "if (pTVar1 != (Table *)0x0) {\n    pTVar1->nTabRef = pTVar1->nTabRef + 1;\n  }" if (parenthesized_expression "(pTVar1 != (Table *)0x0)" ( (binary_expression "pTVar1 != (Table *)0x0" identifier != (cast_expression "(Table *)0x0" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pTVar1->nTabRef = pTVar1->nTabRef + 1;\n  }" { (expression_statement "pTVar1->nTabRef = pTVar1->nTabRef + 1;" (assignment_expression "pTVar1->nTabRef = pTVar1->nTabRef + 1" (field_expression "pTVar1->nTabRef" identifier -> field_identifier) = (binary_expression "pTVar1->nTabRef + 1" (field_expression "pTVar1->nTabRef" identifier -> field_identifier) + number_literal)) ;) })) (expression_statement "iVar2 = (*(code *)(PTR_LAB_00190bdc + 0x5f64))(pParse,pSrc->a);" (assignment_expression "iVar2 = (*(code *)(PTR_LAB_00190bdc + 0x5f64))(pParse,pSrc->a)" identifier = (call_expression "(*(code *)(PTR_LAB_00190bdc + 0x5f64))(pParse,pSrc->a)" (parenthesized_expression "(*(code *)(PTR_LAB_00190bdc + 0x5f64))" ( (pointer_expression "*(code *)(PTR_LAB_00190bdc + 0x5f64)" * (cast_expression "(code *)(PTR_LAB_00190bdc + 0x5f64)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190bdc + 0x5f64)" ( (binary_expression "PTR_LAB_00190bdc + 0x5f64" identifier + number_literal) )))) )) (argument_list "(pParse,pSrc->a)" ( identifier , (field_expression "pSrc->a" identifier -> field_identifier) )))) ;) (if_statement "if (iVar2 != 0) {\n    pTVar1 = (Table *)0x0;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    pTVar1 = (Table *)0x0;\n  }" { (expression_statement "pTVar1 = (Table *)0x0;" (assignment_expression "pTVar1 = (Table *)0x0" identifier = (cast_expression "(Table *)0x0" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (return_statement "return pTVar1;" return identifier ;) })))
(translation_unit "int FUN_00109b30(undefined4 *param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = FUN_001087b0(param_1,0,param_2 + 8);\n  (*(code *)(PTR_LAB_00190bb8 + -0x2bbc))(*param_1,*(undefined4 *)(param_2 + 0x18));\n  *(int *)(param_2 + 0x18) = iVar1;\n  if (iVar1 != 0) {\n    *(int *)(iVar1 + 0x20) = *(int *)(iVar1 + 0x20) + 1;\n  }\n  iVar2 = (*(code *)(PTR_LAB_00190bdc + 0x5f64))(param_1,param_2 + 8);\n  if (iVar2 != 0) {\n    iVar1 = 0;\n  }\n  return iVar1;\n}\n\n" (function_definition "int FUN_00109b30(undefined4 *param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = FUN_001087b0(param_1,0,param_2 + 8);\n  (*(code *)(PTR_LAB_00190bb8 + -0x2bbc))(*param_1,*(undefined4 *)(param_2 + 0x18));\n  *(int *)(param_2 + 0x18) = iVar1;\n  if (iVar1 != 0) {\n    *(int *)(iVar1 + 0x20) = *(int *)(iVar1 + 0x20) + 1;\n  }\n  iVar2 = (*(code *)(PTR_LAB_00190bdc + 0x5f64))(param_1,param_2 + 8);\n  if (iVar2 != 0) {\n    iVar1 = 0;\n  }\n  return iVar1;\n}" primitive_type (function_declarator "FUN_00109b30(undefined4 *param_1,int param_2)" identifier (parameter_list "(undefined4 *param_1,int param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = FUN_001087b0(param_1,0,param_2 + 8);\n  (*(code *)(PTR_LAB_00190bb8 + -0x2bbc))(*param_1,*(undefined4 *)(param_2 + 0x18));\n  *(int *)(param_2 + 0x18) = iVar1;\n  if (iVar1 != 0) {\n    *(int *)(iVar1 + 0x20) = *(int *)(iVar1 + 0x20) + 1;\n  }\n  iVar2 = (*(code *)(PTR_LAB_00190bdc + 0x5f64))(param_1,param_2 + 8);\n  if (iVar2 != 0) {\n    iVar1 = 0;\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_001087b0(param_1,0,param_2 + 8);" (assignment_expression "iVar1 = FUN_001087b0(param_1,0,param_2 + 8)" identifier = (call_expression "FUN_001087b0(param_1,0,param_2 + 8)" identifier (argument_list "(param_1,0,param_2 + 8)" ( identifier , number_literal , (binary_expression "param_2 + 8" identifier + number_literal) )))) ;) (expression_statement "(*(code *)(PTR_LAB_00190bb8 + -0x2bbc))(*param_1,*(undefined4 *)(param_2 + 0x18));" (call_expression "(*(code *)(PTR_LAB_00190bb8 + -0x2bbc))(*param_1,*(undefined4 *)(param_2 + 0x18))" (parenthesized_expression "(*(code *)(PTR_LAB_00190bb8 + -0x2bbc))" ( (pointer_expression "*(code *)(PTR_LAB_00190bb8 + -0x2bbc)" * (cast_expression "(code *)(PTR_LAB_00190bb8 + -0x2bbc)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190bb8 + -0x2bbc)" ( (binary_expression "PTR_LAB_00190bb8 + -0x2bbc" identifier + number_literal) )))) )) (argument_list "(*param_1,*(undefined4 *)(param_2 + 0x18))" ( (pointer_expression "*param_1" * identifier) , (pointer_expression "*(undefined4 *)(param_2 + 0x18)" * (cast_expression "(undefined4 *)(param_2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) ))) ;) (expression_statement "*(int *)(param_2 + 0x18) = iVar1;" (assignment_expression "*(int *)(param_2 + 0x18) = iVar1" (pointer_expression "*(int *)(param_2 + 0x18)" * (cast_expression "(int *)(param_2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar1 != 0) {\n    *(int *)(iVar1 + 0x20) = *(int *)(iVar1 + 0x20) + 1;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    *(int *)(iVar1 + 0x20) = *(int *)(iVar1 + 0x20) + 1;\n  }" { (expression_statement "*(int *)(iVar1 + 0x20) = *(int *)(iVar1 + 0x20) + 1;" (assignment_expression "*(int *)(iVar1 + 0x20) = *(int *)(iVar1 + 0x20) + 1" (pointer_expression "*(int *)(iVar1 + 0x20)" * (cast_expression "(int *)(iVar1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x20)" ( (binary_expression "iVar1 + 0x20" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar1 + 0x20) + 1" (pointer_expression "*(int *)(iVar1 + 0x20)" * (cast_expression "(int *)(iVar1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x20)" ( (binary_expression "iVar1 + 0x20" identifier + number_literal) )))) + number_literal)) ;) })) (expression_statement "iVar2 = (*(code *)(PTR_LAB_00190bdc + 0x5f64))(param_1,param_2 + 8);" (assignment_expression "iVar2 = (*(code *)(PTR_LAB_00190bdc + 0x5f64))(param_1,param_2 + 8)" identifier = (call_expression "(*(code *)(PTR_LAB_00190bdc + 0x5f64))(param_1,param_2 + 8)" (parenthesized_expression "(*(code *)(PTR_LAB_00190bdc + 0x5f64))" ( (pointer_expression "*(code *)(PTR_LAB_00190bdc + 0x5f64)" * (cast_expression "(code *)(PTR_LAB_00190bdc + 0x5f64)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190bdc + 0x5f64)" ( (binary_expression "PTR_LAB_00190bdc + 0x5f64" identifier + number_literal) )))) )) (argument_list "(param_1,param_2 + 8)" ( identifier , (binary_expression "param_2 + 8" identifier + number_literal) )))) ;) (if_statement "if (iVar2 != 0) {\n    iVar1 = 0;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = 0;\n  }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( (pointer_expression * IDENT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (return_statement return IDENT ;) })))
(function_definition "int FUN_00109b30(undefined4 *param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = FUN_001087b0(param_1,0,param_2 + 8);\n  (*(code *)(PTR_LAB_00190bb8 + -0x2bbc))(*param_1,*(undefined4 *)(param_2 + 0x18));\n  *(int *)(param_2 + 0x18) = iVar1;\n  if (iVar1 != 0) {\n    *(int *)(iVar1 + 0x20) = *(int *)(iVar1 + 0x20) + 1;\n  }\n  iVar2 = (*(code *)(PTR_LAB_00190bdc + 0x5f64))(param_1,param_2 + 8);\n  if (iVar2 != 0) {\n    iVar1 = 0;\n  }\n  return iVar1;\n}" (primitive_type "int") (function_declarator "FUN_00109b30(undefined4 *param_1,int param_2)" (identifier "FUN_00109b30") (parameter_list "(undefined4 *param_1,int param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = FUN_001087b0(param_1,0,param_2 + 8);\n  (*(code *)(PTR_LAB_00190bb8 + -0x2bbc))(*param_1,*(undefined4 *)(param_2 + 0x18));\n  *(int *)(param_2 + 0x18) = iVar1;\n  if (iVar1 != 0) {\n    *(int *)(iVar1 + 0x20) = *(int *)(iVar1 + 0x20) + 1;\n  }\n  iVar2 = (*(code *)(PTR_LAB_00190bdc + 0x5f64))(param_1,param_2 + 8);\n  if (iVar2 != 0) {\n    iVar1 = 0;\n  }\n  return iVar1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "iVar1 = FUN_001087b0(param_1,0,param_2 + 8);" (assignment_expression "iVar1 = FUN_001087b0(param_1,0,param_2 + 8)" (identifier "iVar1") (= "=") (call_expression "FUN_001087b0(param_1,0,param_2 + 8)" (identifier "FUN_001087b0") (argument_list "(param_1,0,param_2 + 8)" (( "(") (identifier "param_1") (, ",") (number_literal "0") (, ",") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (; ";")) (expression_statement "(*(code *)(PTR_LAB_00190bb8 + -0x2bbc))(*param_1,*(undefined4 *)(param_2 + 0x18));" (call_expression "(*(code *)(PTR_LAB_00190bb8 + -0x2bbc))(*param_1,*(undefined4 *)(param_2 + 0x18))" (parenthesized_expression "(*(code *)(PTR_LAB_00190bb8 + -0x2bbc))" (( "(") (pointer_expression "*(code *)(PTR_LAB_00190bb8 + -0x2bbc)" (* "*") (cast_expression "(code *)(PTR_LAB_00190bb8 + -0x2bbc)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190bb8 + -0x2bbc)" (( "(") (binary_expression "PTR_LAB_00190bb8 + -0x2bbc" (identifier "PTR_LAB_00190bb8") (+ "+") (number_literal "-0x2bbc")) () ")")))) () ")")) (argument_list "(*param_1,*(undefined4 *)(param_2 + 0x18))" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (pointer_expression "*(undefined4 *)(param_2 + 0x18)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")")))) () ")"))) (; ";")) (expression_statement "*(int *)(param_2 + 0x18) = iVar1;" (assignment_expression "*(int *)(param_2 + 0x18) = iVar1" (pointer_expression "*(int *)(param_2 + 0x18)" (* "*") (cast_expression "(int *)(param_2 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (identifier "iVar1")) (; ";")) (if_statement "if (iVar1 != 0) {\n    *(int *)(iVar1 + 0x20) = *(int *)(iVar1 + 0x20) + 1;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(int *)(iVar1 + 0x20) = *(int *)(iVar1 + 0x20) + 1;\n  }" ({ "{") (expression_statement "*(int *)(iVar1 + 0x20) = *(int *)(iVar1 + 0x20) + 1;" (assignment_expression "*(int *)(iVar1 + 0x20) = *(int *)(iVar1 + 0x20) + 1" (pointer_expression "*(int *)(iVar1 + 0x20)" (* "*") (cast_expression "(int *)(iVar1 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x20)" (( "(") (binary_expression "iVar1 + 0x20" (identifier "iVar1") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (binary_expression "*(int *)(iVar1 + 0x20) + 1" (pointer_expression "*(int *)(iVar1 + 0x20)" (* "*") (cast_expression "(int *)(iVar1 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x20)" (( "(") (binary_expression "iVar1 + 0x20" (identifier "iVar1") (+ "+") (number_literal "0x20")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "iVar2 = (*(code *)(PTR_LAB_00190bdc + 0x5f64))(param_1,param_2 + 8);" (assignment_expression "iVar2 = (*(code *)(PTR_LAB_00190bdc + 0x5f64))(param_1,param_2 + 8)" (identifier "iVar2") (= "=") (call_expression "(*(code *)(PTR_LAB_00190bdc + 0x5f64))(param_1,param_2 + 8)" (parenthesized_expression "(*(code *)(PTR_LAB_00190bdc + 0x5f64))" (( "(") (pointer_expression "*(code *)(PTR_LAB_00190bdc + 0x5f64)" (* "*") (cast_expression "(code *)(PTR_LAB_00190bdc + 0x5f64)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190bdc + 0x5f64)" (( "(") (binary_expression "PTR_LAB_00190bdc + 0x5f64" (identifier "PTR_LAB_00190bdc") (+ "+") (number_literal "0x5f64")) () ")")))) () ")")) (argument_list "(param_1,param_2 + 8)" (( "(") (identifier "param_1") (, ",") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n    iVar1 = 0;\n  }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = 0;\n  }" ({ "{") (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (} "}"))) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}")))

type_1 * function_1(type_2 *pParse,type_3 *pSrc)

{
  type_1 *var_3;
  int var_5;
  
  var_3 = var_1(pParse,0,pSrc->a);
  (*(type_4 *)(var_2 + -0x2bbc))(pParse->db,pSrc->a[0].pTab);
  pSrc->a[0].pTab = var_3;
  if (var_3 != (type_1 *)0x0) {
    var_3->nTabRef = var_3->nTabRef + 1;
  }
  var_5 = (*(type_4 *)(var_4 + 0x5f64))(pParse,pSrc->a);
  if (var_5 != 0) {
    var_3 = (type_1 *)0x0;
  }
  return var_3;
}


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

int MASKED(undefined4 *param_1,int param_2)

{
  int iVar1;
  int iVar2;
  
  iVar1 = FUN_001087b0(param_1,0,param_2 + 8);
  (*(code *)(PTR_LAB_00190bb8 + -0x2bbc))(*param_1,*(undefined4 *)(param_2 + 0x18));
  *(int *)(param_2 + 0x18) = iVar1;
  if (iVar1 != 0) {
    *(int *)(iVar1 + 0x20) = *(int *)(iVar1 + 0x20) + 1;
  }
  iVar2 = (*(code *)(PTR_LAB_00190bdc + 0x5f64))(param_1,param_2 + 8);
  if (iVar2 != 0) {
    iVar1 = 0;
  }
  return iVar1;
}

