by RhymeKidder » Sun Nov 01, 2015 3:30 am
After spending time comparing all available exe with new knowledge, recovered about 44/49 stolen functions - most are very simple ptr redirections. Time consuming but likely correct. Other 5 are truly "stolen" and missing sizable portions of code. Since most of exe are very similar immediately outside the stolen area, I'm going to carefully scalpel and inject what is likely the "correct" parts, when I figure out how to do this.
Maybe there's more missing redirections not picked up by disassemblers that will lead to in-game crash. During this time of boredom of scan-documenting-rescan, I came up with a theory how WW censor part works. I think it uses "force physics" for bone structures. A decap generates two force - one for each limb at sever point. Gravity engine then treats both body parts separately based on weight. When blood is off though, it "reattaches" the limbs by giving the same force pressure to both parts. They both then fly through the air in same direction and speed = no noticeable detachment.
If correct, this could be a clue how TT works since it ignores blood toggle. Based on the code path for WW, I'm going to reverse the supposed 4 "force" values and see if the body part changes direction. Game runs a very small memcpy routine when blood is off so this could be a detail I need.