
/* WARNING: Unknown calling convention */

int count234(tree234 *t)

{
  node234_conflict *pnVar1;
  int iVar2;
  
  pnVar1 = t->root;
  iVar2 = 0;
  if (pnVar1 != (node234_conflict *)0x0) {
    iVar2 = ((((pnVar1->counts[1] + pnVar1->counts[0] + pnVar1->counts[2] + pnVar1->counts[3]) -
              (uint)(pnVar1->elems[0] == (void *)0x0)) - (uint)(pnVar1->elems[1] == (void *)0x0)) +
            3) - (uint)(pnVar1->elems[2] == (void *)0x0);
  }
  return iVar2;
}



int FUN_0007af30(int *param_1)

{
  int iVar1;
  int iVar2;
  
  iVar1 = *param_1;
  iVar2 = 0;
  if (iVar1 != 0) {
    iVar2 = ((((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +
               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -
             (uint)(*(int *)(iVar1 + 0x28) == 0)) + 3) - (uint)(*(int *)(iVar1 + 0x2c) == 0);
  }
  return iVar2;
}


MOV EAX,dword ptr [ESP + 0x4]
MOV EDX,dword ptr [EAX]
XOR EAX,EAX
TEST EDX,EDX
JZ 0x0007af5d
MOV EAX,dword ptr [EDX + 0x18]
ADD EAX,dword ptr [EDX + 0x14]
ADD EAX,dword ptr [EDX + 0x1c]
ADD EAX,dword ptr [EDX + 0x20]
CMP dword ptr [EDX + 0x24],0x1
SBB EAX,-0x1
CMP dword ptr [EDX + 0x28],0x1
SBB EAX,-0x1
CMP dword ptr [EDX + 0x2c],0x1
SBB EAX,-0x1
RET
(translation_unit "int FUN_0007af30(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = *param_1;\n  iVar2 = 0;\n  if (iVar1 != 0) {\n    iVar2 = ((((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0)) + 3) - (uint)(*(int *)(iVar1 + 0x2c) == 0);\n  }\n  return iVar2;\n}\n\n" (function_definition "int FUN_0007af30(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = *param_1;\n  iVar2 = 0;\n  if (iVar1 != 0) {\n    iVar2 = ((((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0)) + 3) - (uint)(*(int *)(iVar1 + 0x2c) == 0);\n  }\n  return iVar2;\n}" primitive_type (function_declarator "FUN_0007af30(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = *param_1;\n  iVar2 = 0;\n  if (iVar1 != 0) {\n    iVar2 = ((((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0)) + 3) - (uint)(*(int *)(iVar1 + 0x2c) == 0);\n  }\n  return iVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (if_statement "if (iVar1 != 0) {\n    iVar2 = ((((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0)) + 3) - (uint)(*(int *)(iVar1 + 0x2c) == 0);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar2 = ((((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0)) + 3) - (uint)(*(int *)(iVar1 + 0x2c) == 0);\n  }" { (expression_statement "iVar2 = ((((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0)) + 3) - (uint)(*(int *)(iVar1 + 0x2c) == 0);" (assignment_expression "iVar2 = ((((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0)) + 3) - (uint)(*(int *)(iVar1 + 0x2c) == 0)" identifier = (binary_expression "((((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0)) + 3) - (uint)(*(int *)(iVar1 + 0x2c) == 0)" (parenthesized_expression "((((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0)) + 3)" ( (binary_expression "(((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0)) + 3" (parenthesized_expression "(((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0))" ( (binary_expression "((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0)" (parenthesized_expression "((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0))" ( (binary_expression "(*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)" (parenthesized_expression "(*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20))" ( (binary_expression "*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)" (binary_expression "*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c)" (binary_expression "*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14)" (pointer_expression "*(int *)(iVar1 + 0x18)" * (cast_expression "(int *)(iVar1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) )))) + (pointer_expression "*(int *)(iVar1 + 0x14)" * (cast_expression "(int *)(iVar1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) ))))) + (pointer_expression "*(int *)(iVar1 + 0x1c)" * (cast_expression "(int *)(iVar1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) ))))) + (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) ))))) )) - (call_expression "(uint)(*(int *)(iVar1 + 0x24) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(iVar1 + 0x24) == 0)" ( (binary_expression "*(int *)(iVar1 + 0x24) == 0" (pointer_expression "*(int *)(iVar1 + 0x24)" * (cast_expression "(int *)(iVar1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) == number_literal) )))) )) - (call_expression "(uint)(*(int *)(iVar1 + 0x28) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(iVar1 + 0x28) == 0)" ( (binary_expression "*(int *)(iVar1 + 0x28) == 0" (pointer_expression "*(int *)(iVar1 + 0x28)" * (cast_expression "(int *)(iVar1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x28)" ( (binary_expression "iVar1 + 0x28" identifier + number_literal) )))) == number_literal) )))) )) + number_literal) )) - (call_expression "(uint)(*(int *)(iVar1 + 0x2c) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(iVar1 + 0x2c) == 0)" ( (binary_expression "*(int *)(iVar1 + 0x2c) == 0" (pointer_expression "*(int *)(iVar1 + 0x2c)" * (cast_expression "(int *)(iVar1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x2c)" ( (binary_expression "iVar1 + 0x2c" identifier + number_literal) )))) == number_literal) ))))) ;) })) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nint count234(tree234 *t)\n\n{\n  node234_conflict *pnVar1;\n  int iVar2;\n  \n  pnVar1 = t->root;\n  iVar2 = 0;\n  if (pnVar1 != (node234_conflict *)0x0) {\n    iVar2 = ((((pnVar1->counts[1] + pnVar1->counts[0] + pnVar1->counts[2] + pnVar1->counts[3]) -\n              (uint)(pnVar1->elems[0] == (void *)0x0)) - (uint)(pnVar1->elems[1] == (void *)0x0)) +\n            3) - (uint)(pnVar1->elems[2] == (void *)0x0);\n  }\n  return iVar2;\n}\n\n" comment (function_definition "int count234(tree234 *t)\n\n{\n  node234_conflict *pnVar1;\n  int iVar2;\n  \n  pnVar1 = t->root;\n  iVar2 = 0;\n  if (pnVar1 != (node234_conflict *)0x0) {\n    iVar2 = ((((pnVar1->counts[1] + pnVar1->counts[0] + pnVar1->counts[2] + pnVar1->counts[3]) -\n              (uint)(pnVar1->elems[0] == (void *)0x0)) - (uint)(pnVar1->elems[1] == (void *)0x0)) +\n            3) - (uint)(pnVar1->elems[2] == (void *)0x0);\n  }\n  return iVar2;\n}" primitive_type (function_declarator "count234(tree234 *t)" identifier (parameter_list "(tree234 *t)" ( (parameter_declaration "tree234 *t" type_identifier (pointer_declarator "*t" * identifier)) ))) (compound_statement "{\n  node234_conflict *pnVar1;\n  int iVar2;\n  \n  pnVar1 = t->root;\n  iVar2 = 0;\n  if (pnVar1 != (node234_conflict *)0x0) {\n    iVar2 = ((((pnVar1->counts[1] + pnVar1->counts[0] + pnVar1->counts[2] + pnVar1->counts[3]) -\n              (uint)(pnVar1->elems[0] == (void *)0x0)) - (uint)(pnVar1->elems[1] == (void *)0x0)) +\n            3) - (uint)(pnVar1->elems[2] == (void *)0x0);\n  }\n  return iVar2;\n}" { (declaration "node234_conflict *pnVar1;" type_identifier (pointer_declarator "*pnVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "pnVar1 = t->root;" (assignment_expression "pnVar1 = t->root" identifier = (field_expression "t->root" identifier -> field_identifier)) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (if_statement "if (pnVar1 != (node234_conflict *)0x0) {\n    iVar2 = ((((pnVar1->counts[1] + pnVar1->counts[0] + pnVar1->counts[2] + pnVar1->counts[3]) -\n              (uint)(pnVar1->elems[0] == (void *)0x0)) - (uint)(pnVar1->elems[1] == (void *)0x0)) +\n            3) - (uint)(pnVar1->elems[2] == (void *)0x0);\n  }" if (parenthesized_expression "(pnVar1 != (node234_conflict *)0x0)" ( (binary_expression "pnVar1 != (node234_conflict *)0x0" identifier != (cast_expression "(node234_conflict *)0x0" ( (type_descriptor "node234_conflict *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar2 = ((((pnVar1->counts[1] + pnVar1->counts[0] + pnVar1->counts[2] + pnVar1->counts[3]) -\n              (uint)(pnVar1->elems[0] == (void *)0x0)) - (uint)(pnVar1->elems[1] == (void *)0x0)) +\n            3) - (uint)(pnVar1->elems[2] == (void *)0x0);\n  }" { (expression_statement "iVar2 = ((((pnVar1->counts[1] + pnVar1->counts[0] + pnVar1->counts[2] + pnVar1->counts[3]) -\n              (uint)(pnVar1->elems[0] == (void *)0x0)) - (uint)(pnVar1->elems[1] == (void *)0x0)) +\n            3) - (uint)(pnVar1->elems[2] == (void *)0x0);" (assignment_expression "iVar2 = ((((pnVar1->counts[1] + pnVar1->counts[0] + pnVar1->counts[2] + pnVar1->counts[3]) -\n              (uint)(pnVar1->elems[0] == (void *)0x0)) - (uint)(pnVar1->elems[1] == (void *)0x0)) +\n            3) - (uint)(pnVar1->elems[2] == (void *)0x0)" identifier = (binary_expression "((((pnVar1->counts[1] + pnVar1->counts[0] + pnVar1->counts[2] + pnVar1->counts[3]) -\n              (uint)(pnVar1->elems[0] == (void *)0x0)) - (uint)(pnVar1->elems[1] == (void *)0x0)) +\n            3) - (uint)(pnVar1->elems[2] == (void *)0x0)" (parenthesized_expression "((((pnVar1->counts[1] + pnVar1->counts[0] + pnVar1->counts[2] + pnVar1->counts[3]) -\n              (uint)(pnVar1->elems[0] == (void *)0x0)) - (uint)(pnVar1->elems[1] == (void *)0x0)) +\n            3)" ( (binary_expression "(((pnVar1->counts[1] + pnVar1->counts[0] + pnVar1->counts[2] + pnVar1->counts[3]) -\n              (uint)(pnVar1->elems[0] == (void *)0x0)) - (uint)(pnVar1->elems[1] == (void *)0x0)) +\n            3" (parenthesized_expression "(((pnVar1->counts[1] + pnVar1->counts[0] + pnVar1->counts[2] + pnVar1->counts[3]) -\n              (uint)(pnVar1->elems[0] == (void *)0x0)) - (uint)(pnVar1->elems[1] == (void *)0x0))" ( (binary_expression "((pnVar1->counts[1] + pnVar1->counts[0] + pnVar1->counts[2] + pnVar1->counts[3]) -\n              (uint)(pnVar1->elems[0] == (void *)0x0)) - (uint)(pnVar1->elems[1] == (void *)0x0)" (parenthesized_expression "((pnVar1->counts[1] + pnVar1->counts[0] + pnVar1->counts[2] + pnVar1->counts[3]) -\n              (uint)(pnVar1->elems[0] == (void *)0x0))" ( (binary_expression "(pnVar1->counts[1] + pnVar1->counts[0] + pnVar1->counts[2] + pnVar1->counts[3]) -\n              (uint)(pnVar1->elems[0] == (void *)0x0)" (parenthesized_expression "(pnVar1->counts[1] + pnVar1->counts[0] + pnVar1->counts[2] + pnVar1->counts[3])" ( (binary_expression "pnVar1->counts[1] + pnVar1->counts[0] + pnVar1->counts[2] + pnVar1->counts[3]" (binary_expression "pnVar1->counts[1] + pnVar1->counts[0] + pnVar1->counts[2]" (binary_expression "pnVar1->counts[1] + pnVar1->counts[0]" (subscript_expression "pnVar1->counts[1]" (field_expression "pnVar1->counts" identifier -> field_identifier) [ number_literal ]) + (subscript_expression "pnVar1->counts[0]" (field_expression "pnVar1->counts" identifier -> field_identifier) [ number_literal ])) + (subscript_expression "pnVar1->counts[2]" (field_expression "pnVar1->counts" identifier -> field_identifier) [ number_literal ])) + (subscript_expression "pnVar1->counts[3]" (field_expression "pnVar1->counts" identifier -> field_identifier) [ number_literal ])) )) - (call_expression "(uint)(pnVar1->elems[0] == (void *)0x0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(pnVar1->elems[0] == (void *)0x0)" ( (binary_expression "pnVar1->elems[0] == (void *)0x0" (subscript_expression "pnVar1->elems[0]" (field_expression "pnVar1->elems" identifier -> field_identifier) [ number_literal ]) == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )))) )) - (call_expression "(uint)(pnVar1->elems[1] == (void *)0x0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(pnVar1->elems[1] == (void *)0x0)" ( (binary_expression "pnVar1->elems[1] == (void *)0x0" (subscript_expression "pnVar1->elems[1]" (field_expression "pnVar1->elems" identifier -> field_identifier) [ number_literal ]) == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )))) )) + number_literal) )) - (call_expression "(uint)(pnVar1->elems[2] == (void *)0x0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(pnVar1->elems[2] == (void *)0x0)" ( (binary_expression "pnVar1->elems[2] == (void *)0x0" (subscript_expression "pnVar1->elems[2]" (field_expression "pnVar1->elems" identifier -> field_identifier) [ number_literal ]) == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))))) ;) })) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "int FUN_0007af30(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = *param_1;\n  iVar2 = 0;\n  if (iVar1 != 0) {\n    iVar2 = ((((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0)) + 3) - (uint)(*(int *)(iVar1 + 0x2c) == 0);\n  }\n  return iVar2;\n}\n\n" (function_definition "int FUN_0007af30(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = *param_1;\n  iVar2 = 0;\n  if (iVar1 != 0) {\n    iVar2 = ((((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0)) + 3) - (uint)(*(int *)(iVar1 + 0x2c) == 0);\n  }\n  return iVar2;\n}" primitive_type (function_declarator "FUN_0007af30(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = *param_1;\n  iVar2 = 0;\n  if (iVar1 != 0) {\n    iVar2 = ((((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0)) + 3) - (uint)(*(int *)(iVar1 + 0x2c) == 0);\n  }\n  return iVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (if_statement "if (iVar1 != 0) {\n    iVar2 = ((((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0)) + 3) - (uint)(*(int *)(iVar1 + 0x2c) == 0);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar2 = ((((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0)) + 3) - (uint)(*(int *)(iVar1 + 0x2c) == 0);\n  }" { (expression_statement "iVar2 = ((((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0)) + 3) - (uint)(*(int *)(iVar1 + 0x2c) == 0);" (assignment_expression "iVar2 = ((((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0)) + 3) - (uint)(*(int *)(iVar1 + 0x2c) == 0)" identifier = (binary_expression "((((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0)) + 3) - (uint)(*(int *)(iVar1 + 0x2c) == 0)" (parenthesized_expression "((((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0)) + 3)" ( (binary_expression "(((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0)) + 3" (parenthesized_expression "(((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0))" ( (binary_expression "((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0)" (parenthesized_expression "((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0))" ( (binary_expression "(*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)" (parenthesized_expression "(*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20))" ( (binary_expression "*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)" (binary_expression "*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c)" (binary_expression "*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14)" (pointer_expression "*(int *)(iVar1 + 0x18)" * (cast_expression "(int *)(iVar1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) )))) + (pointer_expression "*(int *)(iVar1 + 0x14)" * (cast_expression "(int *)(iVar1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) ))))) + (pointer_expression "*(int *)(iVar1 + 0x1c)" * (cast_expression "(int *)(iVar1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) ))))) + (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) ))))) )) - (call_expression "(uint)(*(int *)(iVar1 + 0x24) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(iVar1 + 0x24) == 0)" ( (binary_expression "*(int *)(iVar1 + 0x24) == 0" (pointer_expression "*(int *)(iVar1 + 0x24)" * (cast_expression "(int *)(iVar1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) == number_literal) )))) )) - (call_expression "(uint)(*(int *)(iVar1 + 0x28) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(iVar1 + 0x28) == 0)" ( (binary_expression "*(int *)(iVar1 + 0x28) == 0" (pointer_expression "*(int *)(iVar1 + 0x28)" * (cast_expression "(int *)(iVar1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x28)" ( (binary_expression "iVar1 + 0x28" identifier + number_literal) )))) == number_literal) )))) )) + number_literal) )) - (call_expression "(uint)(*(int *)(iVar1 + 0x2c) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(iVar1 + 0x2c) == 0)" ( (binary_expression "*(int *)(iVar1 + 0x2c) == 0" (pointer_expression "*(int *)(iVar1 + 0x2c)" * (cast_expression "(int *)(iVar1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x2c)" ( (binary_expression "iVar1 + 0x2c" identifier + number_literal) )))) == number_literal) ))))) ;) })) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )))) )) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )))) )) + LIT) )) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) ))))) ;) })) (return_statement return IDENT ;) })))
(function_definition "int FUN_0007af30(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = *param_1;\n  iVar2 = 0;\n  if (iVar1 != 0) {\n    iVar2 = ((((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0)) + 3) - (uint)(*(int *)(iVar1 + 0x2c) == 0);\n  }\n  return iVar2;\n}" (primitive_type "int") (function_declarator "FUN_0007af30(int *param_1)" (identifier "FUN_0007af30") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = *param_1;\n  iVar2 = 0;\n  if (iVar1 != 0) {\n    iVar2 = ((((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0)) + 3) - (uint)(*(int *)(iVar1 + 0x2c) == 0);\n  }\n  return iVar2;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" (identifier "iVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar1 != 0) {\n    iVar2 = ((((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0)) + 3) - (uint)(*(int *)(iVar1 + 0x2c) == 0);\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar2 = ((((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0)) + 3) - (uint)(*(int *)(iVar1 + 0x2c) == 0);\n  }" ({ "{") (expression_statement "iVar2 = ((((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0)) + 3) - (uint)(*(int *)(iVar1 + 0x2c) == 0);" (assignment_expression "iVar2 = ((((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0)) + 3) - (uint)(*(int *)(iVar1 + 0x2c) == 0)" (identifier "iVar2") (= "=") (binary_expression "((((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0)) + 3) - (uint)(*(int *)(iVar1 + 0x2c) == 0)" (parenthesized_expression "((((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0)) + 3)" (( "(") (binary_expression "(((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0)) + 3" (parenthesized_expression "(((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0))" (( "(") (binary_expression "((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -\n             (uint)(*(int *)(iVar1 + 0x28) == 0)" (parenthesized_expression "((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0))" (( "(") (binary_expression "(*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)" (parenthesized_expression "(*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20))" (( "(") (binary_expression "*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +\n               *(int *)(iVar1 + 0x20)" (binary_expression "*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c)" (binary_expression "*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14)" (pointer_expression "*(int *)(iVar1 + 0x18)" (* "*") (cast_expression "(int *)(iVar1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x18)" (( "(") (binary_expression "iVar1 + 0x18" (identifier "iVar1") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (pointer_expression "*(int *)(iVar1 + 0x14)" (* "*") (cast_expression "(int *)(iVar1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x14)" (( "(") (binary_expression "iVar1 + 0x14" (identifier "iVar1") (+ "+") (number_literal "0x14")) () ")"))))) (+ "+") (pointer_expression "*(int *)(iVar1 + 0x1c)" (* "*") (cast_expression "(int *)(iVar1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x1c)" (( "(") (binary_expression "iVar1 + 0x1c" (identifier "iVar1") (+ "+") (number_literal "0x1c")) () ")"))))) (+ "+") (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")) () ")"))))) () ")")) (- "-") (call_expression "(uint)(*(int *)(iVar1 + 0x24) == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(int *)(iVar1 + 0x24) == 0)" (( "(") (binary_expression "*(int *)(iVar1 + 0x24) == 0" (pointer_expression "*(int *)(iVar1 + 0x24)" (* "*") (cast_expression "(int *)(iVar1 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x24)" (( "(") (binary_expression "iVar1 + 0x24" (identifier "iVar1") (+ "+") (number_literal "0x24")) () ")")))) (== "==") (number_literal "0")) () ")")))) () ")")) (- "-") (call_expression "(uint)(*(int *)(iVar1 + 0x28) == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(int *)(iVar1 + 0x28) == 0)" (( "(") (binary_expression "*(int *)(iVar1 + 0x28) == 0" (pointer_expression "*(int *)(iVar1 + 0x28)" (* "*") (cast_expression "(int *)(iVar1 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x28)" (( "(") (binary_expression "iVar1 + 0x28" (identifier "iVar1") (+ "+") (number_literal "0x28")) () ")")))) (== "==") (number_literal "0")) () ")")))) () ")")) (+ "+") (number_literal "3")) () ")")) (- "-") (call_expression "(uint)(*(int *)(iVar1 + 0x2c) == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(int *)(iVar1 + 0x2c) == 0)" (( "(") (binary_expression "*(int *)(iVar1 + 0x2c) == 0" (pointer_expression "*(int *)(iVar1 + 0x2c)" (* "*") (cast_expression "(int *)(iVar1 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x2c)" (( "(") (binary_expression "iVar1 + 0x2c" (identifier "iVar1") (+ "+") (number_literal "0x2c")) () ")")))) (== "==") (number_literal "0")) () ")"))))) (; ";")) (} "}"))) (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

int function_1(type_1 *t)

{
  type_2 *var_1;
  int iVar2;
  
  var_1 = t->root;
  iVar2 = 0;
  if (var_1 != (type_2 *)0x0) {
    iVar2 = ((((var_1->counts[1] + var_1->counts[0] + var_1->counts[2] + var_1->counts[3]) -
              (uint)(var_1->elems[0] == (void *)0x0)) - (uint)(var_1->elems[1] == (void *)0x0)) +
            3) - (uint)(var_1->elems[2] == (void *)0x0);
  }
  return iVar2;
}


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

int MASKED(int *param_1)

{
  int iVar1;
  int iVar2;
  
  iVar1 = *param_1;
  iVar2 = 0;
  if (iVar1 != 0) {
    iVar2 = ((((*(int *)(iVar1 + 0x18) + *(int *)(iVar1 + 0x14) + *(int *)(iVar1 + 0x1c) +
               *(int *)(iVar1 + 0x20)) - (uint)(*(int *)(iVar1 + 0x24) == 0)) -
             (uint)(*(int *)(iVar1 + 0x28) == 0)) + 3) - (uint)(*(int *)(iVar1 + 0x2c) == 0);
  }
  return iVar2;
}

