Example #1
0
        public Killzone2PS3(IntPtr ipc) : base(ipc)
        {
            var baseChain = DerefChain.CreateDerefChain(ipc, BaseAddress, 0x0);

            m_vert = baseChain.Chain(0x80).Chain(0x5c).Chain(0x11c).Chain(0x78);
            m_hor  = baseChain.Chain(0x78).Chain(0x0).Chain(0x68).Chain(0xc).Chain(0x90);
        }
Example #2
0
        public Killzone1PS3(IntPtr ipc) : base(ipc)
        {
            var baseChain = DerefChain.CreateDerefChain(ipc, BaseAddress, 0x78, 0x220, 0xD8);

            m_vert = baseChain.Chain(0x14c);
            m_hor  = baseChain.Chain(0x31C).Chain(0x78);
        }
Example #3
0
        public NierPS3(IntPtr ipc) : base(ipc)
        {
            var baseChain = DerefChain.CreateDerefChain(ipc, BaseAddress, 0x7c);

            m_hor  = baseChain.Chain(0x1a8);
            m_vert = baseChain.Chain(0x1c4);
        }
Example #4
0
        public Persona5PS3(IntPtr ipc) : base(ipc)
        {
            var baseChain = DerefChain.CreateDerefChain(ipc, BaseAddress, 0x34, 0xD8, 0x34);

            m_hor  = baseChain.Chain(0x170);
            m_vert = baseChain.Chain(0x174);
        }
Example #5
0
        public Killzone3PS3(IntPtr ipc, string version) : base(ipc)
        {
            var baseChain = version switch
            {
                "01.00" => DerefChain.CreateDerefChain(ipc, 0x1587880 + 0x760, 0x38, 0x0, 0x68),
                "01.14" => DerefChain.CreateDerefChain(ipc, 0x15fcf80 + 0x770, 0x40, 0x68),
                _ => throw new NotImplementedException($"{nameof(Killzone3PS3)} with version '{version}' not implemented"),
            };

            m_vert = baseChain.Chain(0x150).Chain(0xA0);
            m_hor  = baseChain.Chain(0xFC).Chain(0x14).Chain(0xB0);
        }
Example #6
0
 public Xillia1(IntPtr ipc) : base(ipc)
 {
     m_addr = DerefChain.CreateDerefChain(ipc, BaseAddress, 0x78);
 }