-
Member
[QUESTION] [ 9.2.7 45745 ] Cooldowns (i'm sorry)
SOLVED
I'M SO SORRY THAT YOU HAVE TO SEE THE COOLDOWNS QUESTION AGAIN
I asked for a solution in another thread, but no one seems to have seen it.
@Razzue posted a pattern for retail, and i found a function. (GetSpellCooldown)
Code:
4C 89 4C 24 ? 44 89 44 24 ? 89 54 24 ? 48 89 4C 24 ? 55 56 57 41 54 41 55
But i cant findout which parameters it takes. The fact is that I found this function using this pattern (unfortunately, I could not find it using the string that Razzue gave, because in my case such a string is just a string, without references to it)
and when I try to disassemble it, I get an internal error in IDA, so I can’t find out how many and what parameters the function takes, or what type of value it returns. I tried to use it with the spell_guid parameter, but the function returned 0, I've been doing this for 2 days now, but due to IDA errors I can't make any progress, and I also can't get information about cooldown using normal iteration, because it seems to me , the structures are disfigured, I also couldn’t get information about the cooldown duration from there.
I recreated some function that iterating trough cooldowns, (i recreated only iterating ) and i can get info about spell, but i have only id, time when i casted it, and thats all(of useful info)
here is not info about spell recovery time btw, idk what to do.
Last edited by imnothonorbuddy; 10-14-2023 at 04:15 PM.
-
Member
wrong function on this pattern.
i found it by myself,
Code:
89 7C 24 44 E8 ? ? ? ? 8B 44 24 78 + 0x4
is real function
If anyone needs the parameters of the function and how to use it, I have attached screenshots:
ht | tps: | //i | .ibb.co/H |C|V|V| WrR/get-spell-cooldown.png(if you want to see image delete all "|" symbols)
Last edited by imnothonorbuddy; 10-14-2023 at 04:12 PM.
-
Post Thanks / Like - 1 Thanks
Hazzbazzy (1 members gave Thanks to imnothonorbuddy for this useful post)