atrexus / unluau

A decompiler for Luau (Roblox's Lua based programming language: https://luau-lang.org/).
Apache License 2.0
87 stars 21 forks source link

Don't do +1 for FASTCALL2K? #54

Closed karl-police closed 7 months ago

karl-police commented 7 months ago

FASTCALL2K is supposed to jump to CALL

but it skipped the CALL when I tested it with this https://github.com/MaximumADHD/Roblox-Client-Tracker/blob/roblox/BuiltInPlugins/AnimationClipEditor/Src/Components/AnimationClipEditorPlugin.luac

So I changed it and it gave me an output. See more info in DMs. Not sure if this is correct, but maybe it is.

CALL doesn't have AUX but has a instruction.C + 1 because that's how it is in the docs. But FASTCALL2K doesn't have this description.