Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incorrect func referencing #6

Open
ferib opened this issue Mar 6, 2021 · 0 comments
Open

incorrect func referencing #6

ferib opened this issue Mar 6, 2021 · 0 comments
Labels
Decompiler Decompiler
Milestone

Comments

@ferib
Copy link
Owner

ferib commented Mar 6, 2021

Original:

local function simplifyDPStep(points, first, last, sqTolerance, simplified)
	local maxSqDist = sqTolerance
	local index

	for i=first+1, last do
		local sqDist = getSqSegDist(points[i], points[first], points[last])

Output:

local function unknown3(var0, var1, var2, var3, var4)
        local var5 = var3
        local var6 = nil; 
        local var7 = var1 + 1
        local var8 = var2
        local var9 = 1
        for var10=var7, var8, var9 do
                local var11 = "unk1"
@ferib ferib added the Decompiler Decompiler label Mar 6, 2021
@ferib ferib added this to the v2 milestone Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Decompiler Decompiler
Projects
None yet
Development

No branches or pull requests

1 participant