MCPcopy Create free account
hub / github.com/Hiro420/NikkeTools / make54

Method make54

UnLuac/src/unluac/decompile/block/TForBlock.java:68–80  ·  view source on GitHub ↗
(LFunction function, int begin, int end, int register, int length, boolean forvarClose)

Source from the content-addressed store, hash-verified

66 }
67
68 public static TForBlock make54(LFunction function, int begin, int end, int register, int length, boolean forvarClose) {
69 int innerScopeEnd = end - 3;
70 if(forvarClose) {
71 innerScopeEnd--;
72 }
73 return new TForBlock(
74 function, begin, end,
75 register, register + 3, register + 4, register + 3 + length,
76 begin - 2, end,
77 begin - 1, end - 3,
78 innerScopeEnd
79 );
80 }
81
82 public TForBlock(LFunction function, int begin, int end,
83 int internalRegisterFirst, int internalRegisterLast,

Callers 1

find_fixed_blocksMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected