Trent If I look at the source code the local variable decoding happens in the guess.c file.
Perhaps it is best to run the project in debug mode and step over the sequence to see how it is done.
I don't have the LOL file at my disposition otherwise i would do it . (I'm at work) :-(
Yup way ahead of you there, I've looked through the function and tried to wrap my head around it yesterday. The code just isn't very descriptive and I need to figure out how the code in the guessing function relates to the ported Unluac code, though I think I have an idea for it relates.
What I'll probably try to do is write some much smaller test LUA scripts which only have the bits I know are broken and run them through in debug so I can more clearly see what's going on in both decompilers with and without the debug information stripped from the script. It may take some time to unravel but I'm sure I'll get there eventually, I'm feeling more confident than I was yesterday :)