r4->{r3->{r2->{r1->{B+1->B*4-L4-4}+1}+1}+1}
means...
*(*(*(*(4*(++b)-tempSwapArea-4)=r1)=r2)=r3)=r4;
or...
b++;
int aaa=4*b-tempSwapArea-4
*(a)=r1;
*(r1)=r2;
*(r2)=r3;
*(r3)=r4;
As for the second part...Copy(r1*4+L4+4,-4,B-1->B-r1*4+1)
means...
memcpy(-4,4*r1+tempSwapArea+4,(--b)*4+1);
/*-4 is same as 65532*/
or...
b--;
memcpy((char*)(-4),4*r1+tempSwapArea+1,4*b+1);
/*dest,src,size*/
Bullet 1 | Bullet 2 | |||||||||||||||||||
|
|
|
Bullet 1 | Bullet 2 | Bullet 3 (incomplete) | |||||||||||||||||||||||||||
|
|
|
|
Bullet 1 | Bullet 2 | Bullet 3 (incomplete) | |||||||||||||||||||||||||||
|
|
|
|
Bullet 1 | Bullet 2 | Bullet 3 | |||||||||||||||||||||||||||
|
|
|
|