CSGOTriggerbot.CSGOScanner.LocalPlayer C# (CSharp) Method

LocalPlayer() static private method

static private LocalPlayer ( MemUtils memUtils ) : void
memUtils MemUtils
return void
        static void LocalPlayer(MemUtils memUtils)
        {
            scan = memUtils.PerformSignatureScan(new byte[] { 0x8D, 0x34, 0x85, 0x00, 0x00, 0x00, 0x00, 0x89, 0x15, 0x00, 0x00, 0x00, 0x00, 0x8B, 0x41, 0x08, 0x8B, 0x48 }, "xxx????xx????xxxxx", clientDll);
            if (scan.Success)
            {
                int tmp = memUtils.Read<int>((IntPtr)(scan.Address.ToInt32() + 3));
                byte tmp2 = memUtils.Read<byte>((IntPtr)(scan.Address.ToInt32() + 18));
                CSGOOffsets.Misc.LocalPlayer = tmp + tmp2 - clientDllBase;
            }
        }