
/* WARNING: Unknown calling convention */

bfd_boolean reloc_at(dwarf_section *dsec,dwarf_vma offset)

{
  int iVar1;
  int *piVar2;
  
  if (((dsec != (dwarf_section *)0x0) && (piVar2 = (int *)dsec->reloc_info, piVar2 != (int *)0x0))
     && (iVar1 = *piVar2, iVar1 != 0)) {
    do {
      if (offset == *(dwarf_vma *)(iVar1 + 4)) {
        return 1;
      }
      piVar2 = piVar2 + 1;
      iVar1 = *piVar2;
    } while (iVar1 != 0);
    return 0;
  }
  return 0;
}



undefined4 FUN_0001c250(int param_1,int param_2,int param_3)

{
  int iVar1;
  int *piVar2;
  
  if (((param_1 != 0) && (piVar2 = *(int **)(param_1 + 0x28), piVar2 != (int *)0x0)) &&
     (iVar1 = *piVar2, iVar1 != 0)) {
    do {
      if (*(int *)(iVar1 + 8) == param_3 && *(int *)(iVar1 + 4) == param_2) {
        return 1;
      }
      piVar2 = piVar2 + 1;
      iVar1 = *piVar2;
    } while (iVar1 != 0);
    return 0;
  }
  return 0;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV EAX,dword ptr [ESP + 0x10]
MOV ESI,dword ptr [ESP + 0x14]
MOV EBX,dword ptr [ESP + 0x18]
TEST EAX,EAX
JZ 0x0001c2a0
MOV EDX,dword ptr [EAX + 0x28]
TEST EDX,EDX
JZ 0x0001c2a0
MOV EAX,dword ptr [EDX]
TEST EAX,EAX
JNZ 0x0001c281
JMP 0x0001c2a0
ADD EDX,0x4
MOV EAX,dword ptr [EDX]
TEST EAX,EAX
JZ 0x0001c296
MOV EDI,dword ptr [EAX + 0x8]
MOV ECX,dword ptr [EAX + 0x4]
XOR EDI,EBX
XOR ECX,ESI
MOV EAX,EDI
OR EAX,ECX
JNZ 0x0001c278
MOV EAX,0x1
POP EBX
POP ESI
POP EDI
RET
POP EBX
XOR EAX,EAX
POP ESI
POP EDI
RET
(translation_unit "undefined4 FUN_0001c250(int param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  if (((param_1 != 0) && (piVar2 = *(int **)(param_1 + 0x28), piVar2 != (int *)0x0)) &&\n     (iVar1 = *piVar2, iVar1 != 0)) {\n    do {\n      if (*(int *)(iVar1 + 8) == param_3 && *(int *)(iVar1 + 4) == param_2) {\n        return 1;\n      }\n      piVar2 = piVar2 + 1;\n      iVar1 = *piVar2;\n    } while (iVar1 != 0);\n    return 0;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0001c250(int param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  if (((param_1 != 0) && (piVar2 = *(int **)(param_1 + 0x28), piVar2 != (int *)0x0)) &&\n     (iVar1 = *piVar2, iVar1 != 0)) {\n    do {\n      if (*(int *)(iVar1 + 8) == param_3 && *(int *)(iVar1 + 4) == param_2) {\n        return 1;\n      }\n      piVar2 = piVar2 + 1;\n      iVar1 = *piVar2;\n    } while (iVar1 != 0);\n    return 0;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0001c250(int param_1,int param_2,int param_3)" identifier (parameter_list "(int param_1,int param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  \n  if (((param_1 != 0) && (piVar2 = *(int **)(param_1 + 0x28), piVar2 != (int *)0x0)) &&\n     (iVar1 = *piVar2, iVar1 != 0)) {\n    do {\n      if (*(int *)(iVar1 + 8) == param_3 && *(int *)(iVar1 + 4) == param_2) {\n        return 1;\n      }\n      piVar2 = piVar2 + 1;\n      iVar1 = *piVar2;\n    } while (iVar1 != 0);\n    return 0;\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (if_statement "if (((param_1 != 0) && (piVar2 = *(int **)(param_1 + 0x28), piVar2 != (int *)0x0)) &&\n     (iVar1 = *piVar2, iVar1 != 0)) {\n    do {\n      if (*(int *)(iVar1 + 8) == param_3 && *(int *)(iVar1 + 4) == param_2) {\n        return 1;\n      }\n      piVar2 = piVar2 + 1;\n      iVar1 = *piVar2;\n    } while (iVar1 != 0);\n    return 0;\n  }" if (parenthesized_expression "(((param_1 != 0) && (piVar2 = *(int **)(param_1 + 0x28), piVar2 != (int *)0x0)) &&\n     (iVar1 = *piVar2, iVar1 != 0))" ( (binary_expression "((param_1 != 0) && (piVar2 = *(int **)(param_1 + 0x28), piVar2 != (int *)0x0)) &&\n     (iVar1 = *piVar2, iVar1 != 0)" (parenthesized_expression "((param_1 != 0) && (piVar2 = *(int **)(param_1 + 0x28), piVar2 != (int *)0x0))" ( (binary_expression "(param_1 != 0) && (piVar2 = *(int **)(param_1 + 0x28), piVar2 != (int *)0x0)" (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) && (parenthesized_expression "(piVar2 = *(int **)(param_1 + 0x28), piVar2 != (int *)0x0)" ( (comma_expression "piVar2 = *(int **)(param_1 + 0x28), piVar2 != (int *)0x0" (assignment_expression "piVar2 = *(int **)(param_1 + 0x28)" identifier = (pointer_expression "*(int **)(param_1 + 0x28)" * (cast_expression "(int **)(param_1 + 0x28)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) ))))) , (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "(iVar1 = *piVar2, iVar1 != 0)" ( (comma_expression "iVar1 = *piVar2, iVar1 != 0" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    do {\n      if (*(int *)(iVar1 + 8) == param_3 && *(int *)(iVar1 + 4) == param_2) {\n        return 1;\n      }\n      piVar2 = piVar2 + 1;\n      iVar1 = *piVar2;\n    } while (iVar1 != 0);\n    return 0;\n  }" { (do_statement "do {\n      if (*(int *)(iVar1 + 8) == param_3 && *(int *)(iVar1 + 4) == param_2) {\n        return 1;\n      }\n      piVar2 = piVar2 + 1;\n      iVar1 = *piVar2;\n    } while (iVar1 != 0);" do (compound_statement "{\n      if (*(int *)(iVar1 + 8) == param_3 && *(int *)(iVar1 + 4) == param_2) {\n        return 1;\n      }\n      piVar2 = piVar2 + 1;\n      iVar1 = *piVar2;\n    }" { (if_statement "if (*(int *)(iVar1 + 8) == param_3 && *(int *)(iVar1 + 4) == param_2) {\n        return 1;\n      }" if (parenthesized_expression "(*(int *)(iVar1 + 8) == param_3 && *(int *)(iVar1 + 4) == param_2)" ( (binary_expression "*(int *)(iVar1 + 8) == param_3 && *(int *)(iVar1 + 4) == param_2" (binary_expression "*(int *)(iVar1 + 8) == param_3" (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) == identifier) && (binary_expression "*(int *)(iVar1 + 4) == param_2" (pointer_expression "*(int *)(iVar1 + 4)" * (cast_expression "(int *)(iVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) == identifier)) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) ;) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) }) while (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) ;) (return_statement "return 0;" return number_literal ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nbfd_boolean reloc_at(dwarf_section *dsec,dwarf_vma offset)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  if (((dsec != (dwarf_section *)0x0) && (piVar2 = (int *)dsec->reloc_info, piVar2 != (int *)0x0))\n     && (iVar1 = *piVar2, iVar1 != 0)) {\n    do {\n      if (offset == *(dwarf_vma *)(iVar1 + 4)) {\n        return 1;\n      }\n      piVar2 = piVar2 + 1;\n      iVar1 = *piVar2;\n    } while (iVar1 != 0);\n    return 0;\n  }\n  return 0;\n}\n\n" comment (function_definition "bfd_boolean reloc_at(dwarf_section *dsec,dwarf_vma offset)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  if (((dsec != (dwarf_section *)0x0) && (piVar2 = (int *)dsec->reloc_info, piVar2 != (int *)0x0))\n     && (iVar1 = *piVar2, iVar1 != 0)) {\n    do {\n      if (offset == *(dwarf_vma *)(iVar1 + 4)) {\n        return 1;\n      }\n      piVar2 = piVar2 + 1;\n      iVar1 = *piVar2;\n    } while (iVar1 != 0);\n    return 0;\n  }\n  return 0;\n}" type_identifier (function_declarator "reloc_at(dwarf_section *dsec,dwarf_vma offset)" identifier (parameter_list "(dwarf_section *dsec,dwarf_vma offset)" ( (parameter_declaration "dwarf_section *dsec" type_identifier (pointer_declarator "*dsec" * identifier)) , (parameter_declaration "dwarf_vma offset" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  \n  if (((dsec != (dwarf_section *)0x0) && (piVar2 = (int *)dsec->reloc_info, piVar2 != (int *)0x0))\n     && (iVar1 = *piVar2, iVar1 != 0)) {\n    do {\n      if (offset == *(dwarf_vma *)(iVar1 + 4)) {\n        return 1;\n      }\n      piVar2 = piVar2 + 1;\n      iVar1 = *piVar2;\n    } while (iVar1 != 0);\n    return 0;\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (if_statement "if (((dsec != (dwarf_section *)0x0) && (piVar2 = (int *)dsec->reloc_info, piVar2 != (int *)0x0))\n     && (iVar1 = *piVar2, iVar1 != 0)) {\n    do {\n      if (offset == *(dwarf_vma *)(iVar1 + 4)) {\n        return 1;\n      }\n      piVar2 = piVar2 + 1;\n      iVar1 = *piVar2;\n    } while (iVar1 != 0);\n    return 0;\n  }" if (parenthesized_expression "(((dsec != (dwarf_section *)0x0) && (piVar2 = (int *)dsec->reloc_info, piVar2 != (int *)0x0))\n     && (iVar1 = *piVar2, iVar1 != 0))" ( (binary_expression "((dsec != (dwarf_section *)0x0) && (piVar2 = (int *)dsec->reloc_info, piVar2 != (int *)0x0))\n     && (iVar1 = *piVar2, iVar1 != 0)" (parenthesized_expression "((dsec != (dwarf_section *)0x0) && (piVar2 = (int *)dsec->reloc_info, piVar2 != (int *)0x0))" ( (binary_expression "(dsec != (dwarf_section *)0x0) && (piVar2 = (int *)dsec->reloc_info, piVar2 != (int *)0x0)" (parenthesized_expression "(dsec != (dwarf_section *)0x0)" ( (binary_expression "dsec != (dwarf_section *)0x0" identifier != (cast_expression "(dwarf_section *)0x0" ( (type_descriptor "dwarf_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(piVar2 = (int *)dsec->reloc_info, piVar2 != (int *)0x0)" ( (comma_expression "piVar2 = (int *)dsec->reloc_info, piVar2 != (int *)0x0" (assignment_expression "piVar2 = (int *)dsec->reloc_info" identifier = (cast_expression "(int *)dsec->reloc_info" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "dsec->reloc_info" identifier -> field_identifier))) , (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "(iVar1 = *piVar2, iVar1 != 0)" ( (comma_expression "iVar1 = *piVar2, iVar1 != 0" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    do {\n      if (offset == *(dwarf_vma *)(iVar1 + 4)) {\n        return 1;\n      }\n      piVar2 = piVar2 + 1;\n      iVar1 = *piVar2;\n    } while (iVar1 != 0);\n    return 0;\n  }" { (do_statement "do {\n      if (offset == *(dwarf_vma *)(iVar1 + 4)) {\n        return 1;\n      }\n      piVar2 = piVar2 + 1;\n      iVar1 = *piVar2;\n    } while (iVar1 != 0);" do (compound_statement "{\n      if (offset == *(dwarf_vma *)(iVar1 + 4)) {\n        return 1;\n      }\n      piVar2 = piVar2 + 1;\n      iVar1 = *piVar2;\n    }" { (if_statement "if (offset == *(dwarf_vma *)(iVar1 + 4)) {\n        return 1;\n      }" if (parenthesized_expression "(offset == *(dwarf_vma *)(iVar1 + 4))" ( (binary_expression "offset == *(dwarf_vma *)(iVar1 + 4)" identifier == (pointer_expression "*(dwarf_vma *)(iVar1 + 4)" * (cast_expression "(dwarf_vma *)(iVar1 + 4)" ( (type_descriptor "dwarf_vma *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) ))))) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) ;) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) }) while (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) ;) (return_statement "return 0;" return number_literal ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 FUN_0001c250(int param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  if (((param_1 != 0) && (piVar2 = *(int **)(param_1 + 0x28), piVar2 != (int *)0x0)) &&\n     (iVar1 = *piVar2, iVar1 != 0)) {\n    do {\n      if (*(int *)(iVar1 + 8) == param_3 && *(int *)(iVar1 + 4) == param_2) {\n        return 1;\n      }\n      piVar2 = piVar2 + 1;\n      iVar1 = *piVar2;\n    } while (iVar1 != 0);\n    return 0;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0001c250(int param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  if (((param_1 != 0) && (piVar2 = *(int **)(param_1 + 0x28), piVar2 != (int *)0x0)) &&\n     (iVar1 = *piVar2, iVar1 != 0)) {\n    do {\n      if (*(int *)(iVar1 + 8) == param_3 && *(int *)(iVar1 + 4) == param_2) {\n        return 1;\n      }\n      piVar2 = piVar2 + 1;\n      iVar1 = *piVar2;\n    } while (iVar1 != 0);\n    return 0;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0001c250(int param_1,int param_2,int param_3)" identifier (parameter_list "(int param_1,int param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  \n  if (((param_1 != 0) && (piVar2 = *(int **)(param_1 + 0x28), piVar2 != (int *)0x0)) &&\n     (iVar1 = *piVar2, iVar1 != 0)) {\n    do {\n      if (*(int *)(iVar1 + 8) == param_3 && *(int *)(iVar1 + 4) == param_2) {\n        return 1;\n      }\n      piVar2 = piVar2 + 1;\n      iVar1 = *piVar2;\n    } while (iVar1 != 0);\n    return 0;\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (if_statement "if (((param_1 != 0) && (piVar2 = *(int **)(param_1 + 0x28), piVar2 != (int *)0x0)) &&\n     (iVar1 = *piVar2, iVar1 != 0)) {\n    do {\n      if (*(int *)(iVar1 + 8) == param_3 && *(int *)(iVar1 + 4) == param_2) {\n        return 1;\n      }\n      piVar2 = piVar2 + 1;\n      iVar1 = *piVar2;\n    } while (iVar1 != 0);\n    return 0;\n  }" if (parenthesized_expression "(((param_1 != 0) && (piVar2 = *(int **)(param_1 + 0x28), piVar2 != (int *)0x0)) &&\n     (iVar1 = *piVar2, iVar1 != 0))" ( (binary_expression "((param_1 != 0) && (piVar2 = *(int **)(param_1 + 0x28), piVar2 != (int *)0x0)) &&\n     (iVar1 = *piVar2, iVar1 != 0)" (parenthesized_expression "((param_1 != 0) && (piVar2 = *(int **)(param_1 + 0x28), piVar2 != (int *)0x0))" ( (binary_expression "(param_1 != 0) && (piVar2 = *(int **)(param_1 + 0x28), piVar2 != (int *)0x0)" (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) && (parenthesized_expression "(piVar2 = *(int **)(param_1 + 0x28), piVar2 != (int *)0x0)" ( (comma_expression "piVar2 = *(int **)(param_1 + 0x28), piVar2 != (int *)0x0" (assignment_expression "piVar2 = *(int **)(param_1 + 0x28)" identifier = (pointer_expression "*(int **)(param_1 + 0x28)" * (cast_expression "(int **)(param_1 + 0x28)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) ))))) , (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "(iVar1 = *piVar2, iVar1 != 0)" ( (comma_expression "iVar1 = *piVar2, iVar1 != 0" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    do {\n      if (*(int *)(iVar1 + 8) == param_3 && *(int *)(iVar1 + 4) == param_2) {\n        return 1;\n      }\n      piVar2 = piVar2 + 1;\n      iVar1 = *piVar2;\n    } while (iVar1 != 0);\n    return 0;\n  }" { (do_statement "do {\n      if (*(int *)(iVar1 + 8) == param_3 && *(int *)(iVar1 + 4) == param_2) {\n        return 1;\n      }\n      piVar2 = piVar2 + 1;\n      iVar1 = *piVar2;\n    } while (iVar1 != 0);" do (compound_statement "{\n      if (*(int *)(iVar1 + 8) == param_3 && *(int *)(iVar1 + 4) == param_2) {\n        return 1;\n      }\n      piVar2 = piVar2 + 1;\n      iVar1 = *piVar2;\n    }" { (if_statement "if (*(int *)(iVar1 + 8) == param_3 && *(int *)(iVar1 + 4) == param_2) {\n        return 1;\n      }" if (parenthesized_expression "(*(int *)(iVar1 + 8) == param_3 && *(int *)(iVar1 + 4) == param_2)" ( (binary_expression "*(int *)(iVar1 + 8) == param_3 && *(int *)(iVar1 + 4) == param_2" (binary_expression "*(int *)(iVar1 + 8) == param_3" (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) == identifier) && (binary_expression "*(int *)(iVar1 + 4) == param_2" (pointer_expression "*(int *)(iVar1 + 4)" * (cast_expression "(int *)(iVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) == identifier)) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) ;) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) }) while (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) ;) (return_statement "return 0;" return number_literal ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * IDENT)) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) && (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT)) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (return_statement return LIT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_0001c250(int param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  if (((param_1 != 0) && (piVar2 = *(int **)(param_1 + 0x28), piVar2 != (int *)0x0)) &&\n     (iVar1 = *piVar2, iVar1 != 0)) {\n    do {\n      if (*(int *)(iVar1 + 8) == param_3 && *(int *)(iVar1 + 4) == param_2) {\n        return 1;\n      }\n      piVar2 = piVar2 + 1;\n      iVar1 = *piVar2;\n    } while (iVar1 != 0);\n    return 0;\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_0001c250(int param_1,int param_2,int param_3)" (identifier "FUN_0001c250") (parameter_list "(int param_1,int param_2,int param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  \n  if (((param_1 != 0) && (piVar2 = *(int **)(param_1 + 0x28), piVar2 != (int *)0x0)) &&\n     (iVar1 = *piVar2, iVar1 != 0)) {\n    do {\n      if (*(int *)(iVar1 + 8) == param_3 && *(int *)(iVar1 + 4) == param_2) {\n        return 1;\n      }\n      piVar2 = piVar2 + 1;\n      iVar1 = *piVar2;\n    } while (iVar1 != 0);\n    return 0;\n  }\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (if_statement "if (((param_1 != 0) && (piVar2 = *(int **)(param_1 + 0x28), piVar2 != (int *)0x0)) &&\n     (iVar1 = *piVar2, iVar1 != 0)) {\n    do {\n      if (*(int *)(iVar1 + 8) == param_3 && *(int *)(iVar1 + 4) == param_2) {\n        return 1;\n      }\n      piVar2 = piVar2 + 1;\n      iVar1 = *piVar2;\n    } while (iVar1 != 0);\n    return 0;\n  }" (if "if") (parenthesized_expression "(((param_1 != 0) && (piVar2 = *(int **)(param_1 + 0x28), piVar2 != (int *)0x0)) &&\n     (iVar1 = *piVar2, iVar1 != 0))" (( "(") (binary_expression "((param_1 != 0) && (piVar2 = *(int **)(param_1 + 0x28), piVar2 != (int *)0x0)) &&\n     (iVar1 = *piVar2, iVar1 != 0)" (parenthesized_expression "((param_1 != 0) && (piVar2 = *(int **)(param_1 + 0x28), piVar2 != (int *)0x0))" (( "(") (binary_expression "(param_1 != 0) && (piVar2 = *(int **)(param_1 + 0x28), piVar2 != (int *)0x0)" (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(piVar2 = *(int **)(param_1 + 0x28), piVar2 != (int *)0x0)" (( "(") (comma_expression "piVar2 = *(int **)(param_1 + 0x28), piVar2 != (int *)0x0" (assignment_expression "piVar2 = *(int **)(param_1 + 0x28)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(param_1 + 0x28)" (* "*") (cast_expression "(int **)(param_1 + 0x28)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")"))))) (, ",") (binary_expression "piVar2 != (int *)0x0" (identifier "piVar2") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar1 = *piVar2, iVar1 != 0)" (( "(") (comma_expression "iVar1 = *piVar2, iVar1 != 0" (assignment_expression "iVar1 = *piVar2" (identifier "iVar1") (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (, ",") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    do {\n      if (*(int *)(iVar1 + 8) == param_3 && *(int *)(iVar1 + 4) == param_2) {\n        return 1;\n      }\n      piVar2 = piVar2 + 1;\n      iVar1 = *piVar2;\n    } while (iVar1 != 0);\n    return 0;\n  }" ({ "{") (do_statement "do {\n      if (*(int *)(iVar1 + 8) == param_3 && *(int *)(iVar1 + 4) == param_2) {\n        return 1;\n      }\n      piVar2 = piVar2 + 1;\n      iVar1 = *piVar2;\n    } while (iVar1 != 0);" (do "do") (compound_statement "{\n      if (*(int *)(iVar1 + 8) == param_3 && *(int *)(iVar1 + 4) == param_2) {\n        return 1;\n      }\n      piVar2 = piVar2 + 1;\n      iVar1 = *piVar2;\n    }" ({ "{") (if_statement "if (*(int *)(iVar1 + 8) == param_3 && *(int *)(iVar1 + 4) == param_2) {\n        return 1;\n      }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 8) == param_3 && *(int *)(iVar1 + 4) == param_2)" (( "(") (binary_expression "*(int *)(iVar1 + 8) == param_3 && *(int *)(iVar1 + 4) == param_2" (binary_expression "*(int *)(iVar1 + 8) == param_3" (pointer_expression "*(int *)(iVar1 + 8)" (* "*") (cast_expression "(int *)(iVar1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (== "==") (identifier "param_3")) (&& "&&") (binary_expression "*(int *)(iVar1 + 4) == param_2" (pointer_expression "*(int *)(iVar1 + 4)" (* "*") (cast_expression "(int *)(iVar1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 4)" (( "(") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4")) () ")")))) (== "==") (identifier "param_2"))) () ")")) (compound_statement "{\n        return 1;\n      }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" (identifier "piVar2") (= "=") (binary_expression "piVar2 + 1" (identifier "piVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" (identifier "iVar1") (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

type_1 function_1(type_2 *var_1,type_3 var_4)

{
  int var_3;
  int *var_2;
  
  if (((var_1 != (type_2 *)0x0) && (var_2 = (int *)var_1->reloc_info, var_2 != (int *)0x0))
     && (var_3 = *var_2, var_3 != 0)) {
    do {
      if (var_4 == *(type_3 *)(var_3 + 4)) {
        return 1;
      }
      var_2 = var_2 + 1;
      var_3 = *var_2;
    } while (var_3 != 0);
    return 0;
  }
  return 0;
}


(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)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (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: (identifier)) 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: (identifier)))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (return_statement (number_literal)))) (return_statement (number_literal)))))

undefined4 MASKED(int param_1,int param_2,int param_3)

{
  int iVar1;
  int *piVar2;
  
  if (((param_1 != 0) && (piVar2 = *(int **)(param_1 + 0x28), piVar2 != (int *)0x0)) &&
     (iVar1 = *piVar2, iVar1 != 0)) {
    do {
      if (*(int *)(iVar1 + 8) == param_3 && *(int *)(iVar1 + 4) == param_2) {
        return 1;
      }
      piVar2 = piVar2 + 1;
      iVar1 = *piVar2;
    } while (iVar1 != 0);
    return 0;
  }
  return 0;
}

