replace std::bind with CC_CALLBACK_2