Skip to content

Commit 745de43

Browse files
committed
fix: write_vfunc
1 parent 4743d27 commit 745de43

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CommonLibF4/include/REL/Relocation.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ namespace REL
357357
{
358358
const auto addr = address() + (sizeof(void*) * a_idx);
359359
const auto result = *reinterpret_cast<std::uintptr_t*>(addr);
360-
WriteSafe(addr, a_newFunc);
360+
WriteSafeData(addr, a_newFunc);
361361
return result;
362362
}
363363

0 commit comments

Comments
 (0)