Начинающий
- Статус
- Оффлайн
- Регистрация
- 16 Мар 2025
- Сообщения
- 3
- Реакции
- 0
I am trying to create and allocate the interps for an input entry:
However I get this error in the debugger:
Another error was related to the heap being corrupted.
It appears all of this is happening after the allocate function tries to delete the old interp.
Do you know what could be causing this to happen or how to solve it?
Код:
CSGOInterpolationInfoPB_CL* clInterp = CreateInterpMessageCl(cmd->csgoUserCmd.mutable_input_history()->Mutable(i));
// make interps if needed
if (!entry->has_cl_interp()) {
entry->set_allocated_cl_interp(clInterp);
}
Код:
CSGOInterpolationInfoPB_CL* CreateInterpMessageCl(CSGOInputHistoryEntryPB* entry) {
QWORD* v35 = (QWORD*)(*(QWORD*)((uintptr_t)entry + 8) & 0xFFFFFFFFFFFFFFFCuLL);
if ((*(BYTE*)((uintptr_t)entry + 8) & 1) != 0)
v35 = (QWORD*)*v35;
auto func = (CSGOInterpolationInfoPB_CL * (__fastcall*)(QWORD*))addr;
return func(v35);
}
However I get this error in the debugger:

Another error was related to the heap being corrupted.
It appears all of this is happening after the allocate function tries to delete the old interp.
Do you know what could be causing this to happen or how to solve it?