Подпишитесь на наш Telegram-канал, чтобы всегда быть в курсе важных обновлений! Перейти

Вопрос Is there a good guide on how to update structs in cs 2?

  • Автор темы Автор темы kenryhad
  • Дата начала Дата начала
i mean how to find paddings
Код:
Expand Collapse Copy
    MEM_PAD(0x14); // 0x0504
    float m_flAspectRatio; // 0x0518
    MEM_PAD(0x71); // 0x051C
like this
paddings are a type of variable that takes up a number of bytes of uninitialized memory, i.e.
heath - 0x1
Name - 0x2
team - 0x3
armor 0x4
with a padding, it would look like this
health - 0x1
pad - 0x2-0x3
armor - 0x4
When reversing the structure, we skipped elements such as name and team because they were unnecessary, but in order to use the structure, we must fill it with something else, otherwise it will not be able to access the memory correctly. Therefore, we insert a pad to maintain the integrity of the structure.
I hope this makes sense.

//
see how to work with the RECLASS program to accurately reinforce the concept of reverse structures
 
Назад
Сверху Снизу