AgaHackTools.Example.MemoryModule.OffsetScanner.PlayerBoneMatrix C# (CSharp) Method

PlayerBoneMatrix() static private method

static private PlayerBoneMatrix ( ISmartMemory memUtils ) : void
memUtils ISmartMemory
return void
        static void PlayerBoneMatrix(ISmartMemory memUtils)
        {
            scan = memUtils["client.dll"].Find(
                new byte[] { 0x83, 0x3C, 0xB0, 0xFF, 0x75, 0x15, 0x8B, 0x87, 0x00, 0x00, 0x00, 0x00, 0x8B, 0xCF, 0x8B, 0x17, 0x03, 0x44, 0x24, 0x0C, 0x50 },
                "xxxxxxxx????xxxxxxxxx");
            if (scan.Success)
            {
                //int tmp = memUtils.Read<int>((IntPtr)(lastScan.Address.ToInt32() + 8));
                Offsets.BoneMatrix = (IntPtr)memUtils.Read<int>((IntPtr)(scan.Address.ToInt32() + 8));
                Logger.Info(ObjectEx.GetName(() => Offsets.BoneMatrix) + "\n" + Offsets.BoneMatrix.ToString("X8"));
            }
        }