Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool SetupBones(matrix3x4 *pBoneToWorldOut, int nMaxBones, int boneMask, float currentTime)
- {
- typedef bool(__thiscall* oSetupBones)(PVOID, matrix3x4*, int, int, float);
- return call_vfunc< oSetupBones>(this, 13)(this, pBoneToWorldOut, nMaxBones, boneMask, currentTime);
- }
- void* GetClientRenderable3()
- {
- return reinterpret_cast<void*>(this + 0x4);
- }
- IClientRenderable* GetClientRenderable2()
- {
- return reinterpret_cast<IClientRenderable*>(this + 0x4);
- }
- int DrawModel2(int flags, uint8_t alpha)
- {
- typedef int(__thiscall* OrigFn)(void*, int, uint8_t);
- return call_vfunc<OrigFn>(this->GetClientRenderable3(), 9)(this->GetClientRenderable2(), flags, alpha);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement