[Orpheu] CSoundEnt::SoundPointerForIndex
Hi,
I'm trying to hook this function:
SoundPointerForIndex
And here's the signature for it:
Signature
The signature is found and argument/return validates just fine. However when I register a hook for the function it crashes on mapload and I'm not quite sure why, as the signature should be solid. For search in IDA "8B ? ? ? ? ? 85 ? 75 ? 33 ? C3 8B ? ? ? 83 ? ? 7E ? 68 ? ? ? ? 6A ?" |
Re: [Orpheu] CSoundEnt::SoundPointerForIndex
Function is static so you should hook it like a no-class function.
|
Re: [Orpheu] CSoundEnt::SoundPointerForIndex
I tried, same story, crashes on load, unless Im doing something wrong:
Sig
Pawn
|
Re: [Orpheu] CSoundEnt::SoundPointerForIndex
Replace "CSound *" by "pointer", the former is not a class associated to an entity.
Signature works for cstrike as well, and you can cut after 0x83. |
Re: [Orpheu] CSoundEnt::SoundPointerForIndex
Thanks a bunch, works well!
|
| All times are GMT -4. The time now is 22:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.