Hello There, Guest! Login or Register


Crash addresses: Reasons and Solutions
#7
0x5E5815 is located a function called by in CPed::ProcessControl (0x5E8CD0) right after a call to RpAnimBlendClumpGetFirstAssociation, which requests RpAnimBlendAssociation->sAnimID. Given that RpAnimBlendClumpGetFirstAssociation returns a pointer and sAnimID is requested on the [tt]eax[/tt] object (return value), and RpAnimBlendClumpGetFirstAssociation may return NULL if RpAnimBlendClumpIsInitialized equals false, Rockstar failed to add a NULL-check here and assumed that a proper value would be returned.

The method does a whole load of things. It processes animation blending based on the surface the ped is standing on and then deals with audio, and is called right after a function which *gives* you weapons. What I think happened here is that some script-invoked event occurred right at the moment that you were entering a vehicle (e.g. receiving a weapon, teleporting or something similar).
Reply


Messages In This Thread
Crash addresses: Reasons and Solutions - by Jay - 11-06-2011, 04:54 PM
Re: Crash addresses: Reasons and Solutions - by Peter - 01-04-2012, 12:04 AM