private BasedPointerConverter MakePointerConverter(ThirdGenInteropSectionType section) { if (Sections[(int)section].Size == 0) { return(null); } uint baseAddress = Sections[(int)section].VirtualAddress; return(new BasedPointerConverter(baseAddress, (int)(baseAddress))); }
private BasedPointerConverter MakePointerConverter(ThirdGenInteropSectionType section) { if (Sections[(int) section].Size == 0) return null; uint baseAddress = Sections[(int) section].VirtualAddress; uint mask = SectionOffsetMasks[(int) section]; return new BasedPointerConverter(baseAddress, (int) (baseAddress + mask)); }