[Windows Mobile Development and Hacking General] 12aon:
Does this mean I have a very messed up script?

Main block:
1> 1 [-]: CLOSURE R0 0 ; R0 := closure(Function #1)
2>nil
1> 2 [-]: SETGLOBAL R0 K0 ; LeftSoftKeyPressed := R0
2>nil
1> 3 [-]: CLOSURE R0 1 ; R0 := closure(Function #2)
2>nil
1> 4 [-]: SETGLOBAL R0 K1 ; ShowMenu := R0
2>nil
1> 5 [-]: CLOSURE R0 2 ; R0 := closure(Function #3)
2>nil
1> 6 [-]: SETGLOBAL R0 K2 ; DialogCallback := R0
2>nil
1> 7 [-]: CLOSURE R0 3 ; R0 := closure(Function #4)
2>nil
1> 8 [-]: SETGLOBAL R0 K3 ; PickPictureForContact := R0
2>nil
1> 9 [-]: CLOSURE R0 4 ; R0 := closure(Function #5)
2>nil
1> 10 [-]: SETGLOBAL R0 K4 ; ChangeDefaultContactNumber := R0
2>nil
1> 11 [-]: CLOSURE R0 5 ; R0 := closure(Function #6)
2>nil
1> 12 [-]: SETGLOBAL R0 K5 ; ViewContactCard := R0
2>nil
1> 13 [-]: CLOSURE R0 6 ; R0 := closure(Function #7)
2>nil
1> 14 [-]: SETGLOBAL R0 K6 ; AddFavorite := R0
2>nil
1> 15 [-]: CLOSURE R0 7 ; R0 := closure(Function #8)
2>nil
1> 16 [-]: SETGLOBAL R0 K7 ; RemoveFavorite := R0
2>nil
1> 17 [-]: CLOSURE R0 8 ; R0 := closure(Function #9)
2>nil
1> 18 [-]: SETGLOBAL R0 K8 ; OnConfirmationDialogReturned := R0
2>nil
1> 19 [-]: CLOSURE R0 9 ; R0 := closure(Function #10)
2>nil
1> 20 [-]: SETGLOBAL R0 K9 ; DialNumber := R0
2>nil
1> 21 [-]: CLOSURE R0 10 ; R0 := closure(Function #11)
2>nil
1> 22 [-]: SETGLOBAL R0 K10 ; DelayKeyProcess := R0
2>nil
1> 23 [-]: GETGLOBAL R0 K12 ; R0 := timer
2>nil
1> 24 [-]: LOADK R1 K13 ; R1 := 0.0099945068359375
2>nil
1> 25 [-]: CALL R0 2 2 ; R0 := R0(R1)
2>nil
1> 26 [-]: SETGLOBAL R0 K11 ; DelayKeyProcessTimer := R0
2>nil
1> 27 [-]: GETGLOBAL R0 K11 ; R0 := DelayKeyProcessTimer
2>nil
1> 28 [-]: GETTABLE R0 R0 K14 ; R0 := R0["OnElapsed"]
2>nil
1> 29 [-]: SELF R0 R0 K15 ; R1 := R0; R0 := R0["connect"]
2>nil
1> 30 [-]: GETGLOBAL R2 K10 ; R2 := DelayKeyProcess
2>nil
1> 31 [-]: CALL R0 3 1 ; R0(R1,R2)
2>nil
1> 32 [-]: GETGLOBAL R0 K11 ; R0 := DelayKeyProcessTimer
2>nil
1> 33 [-]: SELF R0 R0 K16 ; R1 := R0; R0 := R0["Stop"]
2>nil
1> 34 [-]: CALL R0 2 1 ; R0(R1)
2>nil
1> 35 [-]: CLOSURE R0 11 ; R0 := closure(Function #12)
2>nil
1> 36 [-]: SETGLOBAL R0 K17 ; OnKeyDown := R0
2>nil
1> 37 [-]: RETURN R0 1 ; return
2>nil
Opcodes in original: 37
Same lines in both files: 0 0%
Same opcodes in files: 0 0%
Different
Function 1:
1> 1 [-]: GETGLOBAL R0 K0 ; R0 := Shell_NavigateTo
2>nil
1> 2 [-]: GETGLOBAL R1 K1 ; R1 := ShellLocation_ContactList
2>nil
1> 3 [-]: CALL R0 2 1 ; R0(R1)
2>nil
1> 4 [-]: RETURN R0 1 ; return
2>nil
Opcodes in original: 4
Same lines in both files: 0 0%
Same opcodes in files: 0 0%
Different
Function 2:
1> 1 [-]: GETGLOBAL R1 K0 ; R1 := ThumbnailList
2>nil
1> 2 [-]: SELF R1 R1 K1 ; R2 := R1; R1 := R1["GetGenerator"]
2>nil
1> 3 [-]: CALL R1 2 2 ; R1 := R1(R2)
2>nil
1> 4 [-]: GETTABLE R1 R1 K2 ; R1 := R1["SelectedIndex"]
2>nil
1> 5 [-]: EQ 1 R1 K3 ; if R1 == -1 then PC := 22
2>nil
1> 6 [-]: JMP 22 ; PC := 22
2>nil
1> 7 [-]: GETGLOBAL R1 K0 ; R1 := ThumbnailList
2>nil
1> 8 [-]: SELF R1 R1 K1 ; R2 := R1; R1 := R1["GetGenerator"]
2>nil
1> 9 [-]: CALL R1 2 2 ; R1 := R1(R2)
2>nil
1> 10 [-]: GETTABLE R1 R1 K2 ; R1 := R1["SelectedIndex"]
2>nil
1> 11 [-]: EQ 0 R1 K4 ; if R1 ~= 0 then PC := 31
2>nil
1> 12 [-]: JMP 31 ; PC := 31
2>nil
1> 13 [-]: GETGLOBAL R1 K0 ; R1 := ThumbnailList
2>nil
1> 14 [-]: SELF R1 R1 K1 ; R2 := R1; R1 := R1["GetGenerator"]
2>nil
1> 15 [-]: CALL R1 2 2 ; R1 := R1(R2)
2>nil
1> 16 [-]: GETTABLE R1 R1 K5 ; R1 := R1["Collection"]
2>nil
1> 17 [-]: SELF R1 R1 K6 ; R2 := R1; R1 := R1["GetCount"]
2>nil
1> 18 [-]: CALL R1 2 2 ; R1 := R1(R2)
2>nil
1> 19 [-]: GETGLOBAL R2 K7 ; R2 := MaxFavorites
2>nil
1> 20 [-]: LT 0 R1 R2 ; if R1 >= R2 then PC := 31
2>nil
1> 21 [-]: JMP 31 ; PC := 31
2>nil
1> 22 [-]: GETGLOBAL R1 K8 ; R1 := _application
2>nil
1> 23 [-]: GETTABLE R1 R1 K9 ; R1 := R1["DialogManager"]
2>nil
1> 24 [-]: SELF R1 R1 K10 ; R2 := R1; R1 := R1["GetDialog"]
2>nil
1> 25 [-]: GETGLOBAL R3 K11 ; R3 := URL
2>nil
1> 26 [-]: LOADK R4 K12 ; R4 := "Manila://PeopleGizmoEmpty.dialog"
2>nil
1> 27 [-]: CALL R3 2 0 ; R3,... := R3(R4)
2>nil
1> 28 [-]: CALL R1 0 2 ; R1 := R1(R2,...)
2>nil
1> 29 [-]: MOVE R0 R1 ; R0 := R1
2>nil
1> 30 [-]: JMP 57 ; PC := 57
2>nil
1> 31 [-]: GETGLOBAL R1 K0 ; R1 := ThumbnailList
2>nil
1> 32 [-]: SELF R1 R1 K1 ; R2 := R1; R1 := R1["GetGenerator"]
2>nil
1> 33 [-]: CALL R1 2 2 ; R1 := R1(R2)
2>nil
1> 34 [-]: GETTABLE R1 R1 K5 ; R1 := R1["Collection"]
2>nil
1> 35 [-]: SELF R1 R1 K6 ; R2 := R1; R1 := R1["GetCount"]
2>nil
1> 36 [-]: CALL R1 2 2 ; R1 := R1(R2)
2>nil
1> 37 [-]: GETGLOBAL R2 K7 ; R2 := MaxFavorites
2>nil
1> 38 [-]: EQ 0 R1 R2 ; if R1 ~= R2 then PC := 49
2>nil
1> 39 [-]: JMP 49 ; PC := 49
2>nil
1> 40 [-]: GETGLOBAL R1 K8 ; R1 := _application
2>nil
1> 41 [-]: GETTABLE R1 R1 K9 ; R1 := R1["DialogManager"]
2>nil
1> 42 [-]: SELF R1 R1 K10 ; R2 := R1; R1 := R1["GetDialog"]
2>nil
1> 43 [-]: GETGLOBAL R3 K11 ; R3 := URL
2>nil
1> 44 [-]: LOADK R4 K13 ; R4 := "Manila://PeopleGizmoFull.dialog"
2>nil
1> 45 [-]: CALL R3 2 0 ; R3,... := R3(R4)
2>nil
1> 46 [-]: CALL R1 0 2 ; R1 := R1(R2,...)
2>nil
1> 47 [-]: MOVE R0 R1 ; R0 := R1
2>nil
1> 48 [-]: JMP 57 ; PC := 57
2>nil
1> 49 [-]: GETGLOBAL R1 K8 ; R1 := _application
2>nil
1> 50 [-]: GETTABLE R1 R1 K9 ; R1 := R1["DialogManager"]
2>nil
1> 51 [-]: SELF R1 R1 K10 ; R2 := R1; R1 := R1["GetDialog"]
2>nil
1> 52 [-]: GETGLOBAL R3 K11 ; R3 := URL
2>nil
1> 53 [-]: LOADK R4 K14 ; R4 := "Manila://PeopleGizmo.dialog"
2>nil
1> 54 [-]: CALL R3 2 0 ; R3,... := R3(R4)
2>nil
1> 55 [-]: CALL R1 0 2 ; R1 := R1(R2,...)
2>nil
1> 56 [-]: MOVE R0 R1 ; R0 := R1
2>nil
1> 57 [-]: GETTABLE R1 R0 K15 ; R1 := R0["OnExit"]
2>nil
1> 58 [-]: SELF R1 R1 K16 ; R2 := R1; R1 := R1["connect"]
2>nil
1> 59 [-]: GETGLOBAL R3 K17 ; R3 := DialogCallback
2>nil
1> 60 [-]: CALL R1 3 1 ; R1(R2,R3)
2>nil
1> 61 [-]: SELF R1 R0 K18 ; R2 := R0; R1 := R0["Show"]
2>nil
1> 62 [-]: CALL R1 2 1 ; R1(R2)
2>nil
1> 63 [-]: RETURN R0 1 ; return
2>nil

And the list goes on and on....

Btw I used this bat to get it:

@echo off

pushd Original

attrib -s -h -r -a *.* /s /d
ren *.* original.luaU

popd

copy Original\original.luaU original.luaU

pushd Test

attrib -s -h -r -a *.* /s /d
ren *.* test.lua

popd

copy Test\test.lua test.lua

cd tools
compare.exe ..\original.luaU ..\test.lua 1> ..\Log.txt 2> ..\Error.txt

cd..
del original.luaU
del test.lua

pause