Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] Could the magic numbers be the points enum?

[DiscordArchive] Could the magic numbers be the points enum?

[DiscordArchive] Could the magic numbers be the points enum?

rektbyfaith
Administrator
0
07-01-2025, 07:17 PM
#1
Archived author: Kaev • Posted: 2025-07-01T19:17:47.368000+00:00
Original source

Could the magic numbers be the points enum?
rektbyfaith
07-01-2025, 07:17 PM #1

Archived author: Kaev • Posted: 2025-07-01T19:17:47.368000+00:00
Original source

Could the magic numbers be the points enum?

rektbyfaith
Administrator
0
07-01-2025, 07:17 PM
#2
Archived author: Kaev • Posted: 2025-07-01T19:17:59.640000+00:00
Original source

name fits, entry count fits, logic fits
rektbyfaith
07-01-2025, 07:17 PM #2

Archived author: Kaev • Posted: 2025-07-01T19:17:59.640000+00:00
Original source

name fits, entry count fits, logic fits

rektbyfaith
Administrator
0
07-01-2025, 07:18 PM
#3
Archived author: Kaev • Posted: 2025-07-01T19:18:31.247000+00:00
Original source

no idea if you can define that in ida aswell
rektbyfaith
07-01-2025, 07:18 PM #3

Archived author: Kaev • Posted: 2025-07-01T19:18:31.247000+00:00
Original source

no idea if you can define that in ida aswell

rektbyfaith
Administrator
0
07-01-2025, 07:27 PM
#4
Archived author: Saty • Posted: 2025-07-01T19:27:01.479000+00:00
Original source

Yeah it is, I could make it a enum. Don't really need to tho.
But if I release the IDB might be more readable... hmmm
rektbyfaith
07-01-2025, 07:27 PM #4

Archived author: Saty • Posted: 2025-07-01T19:27:01.479000+00:00
Original source

Yeah it is, I could make it a enum. Don't really need to tho.
But if I release the IDB might be more readable... hmmm

rektbyfaith
Administrator
0
07-01-2025, 07:27 PM
#5
Archived author: Kaev • Posted: 2025-07-01T19:27:36.082000+00:00
Original source

if it doesn't take some time, i don't see why not
rektbyfaith
07-01-2025, 07:27 PM #5

Archived author: Kaev • Posted: 2025-07-01T19:27:36.082000+00:00
Original source

if it doesn't take some time, i don't see why not

rektbyfaith
Administrator
0
07-01-2025, 07:28 PM
#6
Archived author: Saty • Posted: 2025-07-01T19:28:14.542000+00:00
Original source

The only problem I have is, that I dont know how to seperate the relativePoint into 2 values.
There is currently the point enum and some flags encoded in it... no idea why
rektbyfaith
07-01-2025, 07:28 PM #6

Archived author: Saty • Posted: 2025-07-01T19:28:14.542000+00:00
Original source

The only problem I have is, that I dont know how to seperate the relativePoint into 2 values.
There is currently the point enum and some flags encoded in it... no idea why

rektbyfaith
Administrator
0
07-01-2025, 07:30 PM
#7
Archived author: Saty • Posted: 2025-07-01T19:30:11.647000+00:00
Original source

v3 = (this->relativePoint >> 8) & 2;

Stuff like that. It skips past the first byte and reads some extra data.
Idk if you can tell IDA that somehow... probably can looking at robinsch's code, but I am not there yet
rektbyfaith
07-01-2025, 07:30 PM #7

Archived author: Saty • Posted: 2025-07-01T19:30:11.647000+00:00
Original source

v3 = (this->relativePoint >> 8) & 2;

Stuff like that. It skips past the first byte and reads some extra data.
Idk if you can tell IDA that somehow... probably can looking at robinsch's code, but I am not there yet

rektbyfaith
Administrator
0
07-01-2025, 07:38 PM
#8
Archived author: Kaev • Posted: 2025-07-01T19:38:14.287000+00:00
Original source

the enum fits in the last byte so in the rest there maybe could be some kind of modifiers
rektbyfaith
07-01-2025, 07:38 PM #8

Archived author: Kaev • Posted: 2025-07-01T19:38:14.287000+00:00
Original source

the enum fits in the last byte so in the rest there maybe could be some kind of modifiers

rektbyfaith
Administrator
0
07-01-2025, 07:38 PM
#9
Archived author: Kaev • Posted: 2025-07-01T19:38:49.275000+00:00
Original source

maybe if its related to smth and that's a check for it or it is mirrored for right to left stuff (e.g. arabian texts are right to left iirc) - such kind of modifiers (if that stuff exists in the client, not sure)
rektbyfaith
07-01-2025, 07:38 PM #9

Archived author: Kaev • Posted: 2025-07-01T19:38:49.275000+00:00
Original source

maybe if its related to smth and that's a check for it or it is mirrored for right to left stuff (e.g. arabian texts are right to left iirc) - such kind of modifiers (if that stuff exists in the client, not sure)

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)