Показать сообщение отдельно
Старый 23-01-2022, 18:47   #3238
CubanFoxtrot
Aircraftsman
 
Регистрация: Nov 2016
Сообщений: 12
Hello.
I'm also experiencing constant/immediate crashes at <Data>000175fa</Data> like Swampy's last week report. I'm playing first mission of RA campaign.

Код:
text:200175FA                 cmp     dword ptr [esi-0B4h], -1.0
This is an evident bug?
ESI register points to a solution type object.
I don't know which of its data member you wanted to reference there, but negative offseting it will certainly lead to memory leaks and CTD...
Also it doesn't make a lot of sense at all to me to check against a floating point value (-1.0 in this) through flat cmp/imm32 + jge instructions. Shouldn't you load it to FPU first (fld)?

Thanks for you efforts to keep this alive.
CubanFoxtrot
CubanFoxtrot вне форума   Ответить с цитированием