How to get pixel of picture ?Please provide detail cocos2dx code!thank you

Please answer these questions to help fix this issue:
What’s the issue?
I can’t get pixel of image.
What’s the engine version?
cocos2dx 2.1
How to reproduce it?

ccColor4B c = {0, 0, 0, 0};
unsigned int x =0, y = 0;
CCImage * myimg = new CCImage();
//加载 图片
myimg->initWithImageFileThreadSafe(“Icon-57.png”);
unsigned char *data_=myimg->getData();
unsigned int *pixel = (unsigned int )data_;
pixel = pixel + (y * 72) + x; //72 是图片的宽
//for(int i=0;i<(y
73+x);i++)pixel++;
c.r = *pixel & 0xff;
c.g = (*pixel >> 8) & 0xff;
c.b = (*pixel >> 16) & 0xff;
c.a = (*pixel >> 24) & 0xff; //这个值 就是透明度

Have anybody?