posy1+ 0x4 == posx;
posy1+ 0x8 == posz;

ERROR

posx = posy1 - 0x4;
posz = posy1 + 0x4;

the offset are

X = C8
Y = CC
Z = D0

and not other