Closed ncannasse closed 4 years ago
That's more complex because we need the EBP for locals. I need to look more into this.
In order to reproduce : use the following for HtmlText split text:
override function splitText(text:String):String {
if( realMaxWidth < 0 )
return text;
yPos = 0;
xMax = 0;
sizePos = 0;
calcYMin = 0;
var doc = try Xml.parse(text) catch( e : Dynamic ) throw "Could not parse " + text + " (" + e +")";
var sizes = new Array<Float>();
prevChar = -1;
newLine = true;
for( e in doc )
buildSizes(e, font, sizes);
if( sizes.length < 2 )
return text;
throw "TODO";
}
And talk to NPC
This was partially done but EBP detection is still off sometimes.
Fixed with latest commits
On Win64, we should no longer look for EBP+EIP sequences in stacks.