isledecomp / isle

A work-in-progress decompilation of LEGO Island (1997)
1.78k stars 89 forks source link

Beta match progress for flic.cpp #1162

Closed disinvite closed 1 week ago

disinvite commented 1 week ago

New 100% match for ClampLine, DecodeColorPacket, DecodeBrun, and DecodeBlack. DecodeLC should be a 100% effective match (bp for di swap) but push ebp and pop ebp are the same in both, so the tools don't detect it perfectly.

I tried to get DecodeSS2, but it's a mess of gotos so I just left it alone. Even with the help of stackcmp, I still couldn't get a 100% beta match for a lot of these, but here's the beta diff:

New (18):
0x1013a10f - MxFlcPresenter::LoadFrame (new -> 34.21%)
0x1013dd80 - WritePixel (new -> 100.00%)
0x1013ddef - WritePixels (new -> 100.00%)
0x1013de84 - ClampLine (new -> 100.00%)
0x1013df77 - WritePixelRun (new -> 100.00%)
0x1013dfee - WritePixelPairs (new -> 100.00%)
0x1013e097 - DecodeChunks (new -> 100.00%)
0x1013e22c - DecodeColors256 (new -> 100.00%)
0x1013e24c - DecodeColorPackets (new -> 70.69%)
0x1013e2f8 - DecodeColorPacket (new -> 100.00%)
0x1013e364 - DecodeColors64 (new -> 100.00%)
0x1013e384 - DecodeBrun (new -> 55.56%)
0x1013e4ca - DecodeLC (new -> 56.78%)
0x1013e61d - DecodeSS2 (new -> 37.19%)
0x1013e85a - DecodeBlack (new -> 82.86%)
0x1013e91f - DecodeCopy (new -> 95.74%)
0x1013e9a5 - DecodeFLCFrame (new -> 100.00%)
0x101c1eb0 - MxFlcPresenter::`vftable' (new -> 14.71%)