This was for a personal project where the bytecode was XOR'd with a key. Each call to lundump.c:LoadBlock() xor'd the data against a static key. This lets me easily reimplement that behavior.
wow i am so dumb
the function used to get the bytes at the position with k as the size. lol