2 foo (unsigned char *x
, int y
)
6 for (i
= 0; i
< y
; i
++)
11 int baz (int, unsigned short);
14 bar (unsigned char *x
, unsigned char *y
)
17 unsigned short key
= foo (x
, 0x10000);
19 for (i
= 0; i
< 0x80000; i
++)
20 y
[i
] = x
[baz (i
, key
)];