chams combat arms newestp atch [HOT] [MUST SEE]
/me
/fdp
Code:
void GetShaderInformation( DWORD RenderModel )
{
char *pShader = **( char *** )( RenderModel + 0xB8 );
if( strstr( pShader, "alpha_player" ) | (pShader, "bravo_player" )
{
ModelRec = true;
}
}
void ( *orig_DrawXModelSkinnedCached )( );
__declspec( naked ) void R_DrawXModelSkinnedCached( )
{
DWORD RenderModel;
_asm
{
push eax
mov eax, [ esp + 0xF ]
mov [ RenderModel ], eax
pop eax
pushad
}
GetShaderInformation( RenderModel );
_asm
{
popad
jmp [ orig_DrawXModelSkinnedCached ]
}
}
where are the credits?
Once we are in brs.
At what memory location do you hook DrawXModelSkinnedCached?
How do you use this in game?
This is a little pointless because you're not telling us exactly where in memory to hook.
But that's something to figure out I guess.
I am assuming "DrawXModelSkinnedCached" is d3d9 function and the place to hook. I also assume this function is not scanned by nexon, exactly what position in the vtable can this function be found? and does this function get called on every frame?