Convert Pointer to CBaseObject*