Nintenlord.ROMHacking.GBA.GBAROM.SearchForPointer C# (CSharp) Method

SearchForPointer() public method

public SearchForPointer ( int offset ) : int[]
offset int
return int[]
        public int[] SearchForPointer(int offset)
        {
            if (offset < MaxLength)
            {
                int[] values = this.SearchForValue(offset + 0x8000000);
                List<int> result = new List<int>(values);
                result.RemoveAll(BitUtility.IsInvalidIntOffset);
                return result.ToArray();
            }
            else
            {
                return new int[0];
            }
        }