public IntPtr NextObject(IntPtr current) { CurMgr mgr = Memory.Read <CurMgr>(BaseAddress); //return Memory.Read<IntPtr>(current + mgr.Links[ListIndex].Next + 4); return(Memory.Read <IntPtr>(current + mgr.VisibleObjects.m_fulllist.baseClass.m_linkoffset + IntPtr.Size)); //return Memory.Read<IntPtr>(current + Memory.Read<int>(BaseAddress + NextObjectOfs) + 4); }
public IntPtr FirstObject() { CurMgr mgr = Memory.Read <CurMgr>(BaseAddress); //return mgr.Links[ListIndex].First; return(mgr.VisibleObjects.m_fulllist.baseClass.m_terminator.m_next); //return Memory.Read<IntPtr>(BaseAddress + FirstObjectOfs); }