CharmedBaryon / CommonLibSSE-NG

This is a reverse engineered library for Skyrim Special Edition and Skyrim VR.
MIT License
142 stars 32 forks source link

Invalid vfunction address in CROSS_VR version of NiAVObject #50

Closed Acro748 closed 2 years ago

Acro748 commented 2 years ago

for explain void PerformOp(PerformOpFunc& a_func) is located in 0x26 of the vtable on SE&AE and located in 0x27 of the vtable on VR

but in NiAVObject.cpp it's defined 0x03 on SE&VR and 0x04 on VR

as such this, all NiAVObject vfunctions in the SKYRIM_CROSS_VR version define an invalid address

jpstewart commented 2 years ago

I will be looking into this by Monday (7-11-22) and if a fix is needed will try to push one out to the Vcpkg repo within a day.

jpstewart commented 2 years ago

Fix is now on main, will be in the upcoming release.