- NSBundle *MediaPlayer = [NSBundle bundleWithPath:@"/System/Library/Frameworks/MediaPlayer.framework"];
- if (MediaPlayer != nil)
- [MediaPlayer load];
-
- $MPVideoView = objc_getClass("MPVideoView");
- $WebCoreFrameBridge = objc_getClass("WebCoreFrameBridge");
-
- $SBApplication = objc_getClass("SBApplication");
- $SBApplicationIcon = objc_getClass("SBApplicationIcon");
- $SBBookmarkIcon = objc_getClass("SBBookmarkIcon");
- $SBButtonBar = objc_getClass("SBButtonBar");
- $SBCalendarIconContentsView = objc_getClass("SBCalendarIconContentsView");
- $SBContentLayer = objc_getClass("SBContentLayer");
- $SBIconBadge = objc_getClass("SBIconBadge");
- $SBIconController = objc_getClass("SBIconController");
- $SBIconLabel = objc_getClass("SBIconLabel");
- $SBIconModel = objc_getClass("SBIconModel");
- $SBSlidingAlertDisplay = objc_getClass("SBSlidingAlertDisplay");
- $SBStatusBarContentsView = objc_getClass("SBStatusBarContentsView");
- $SBStatusBarController = objc_getClass("SBStatusBarController");
- $SBStatusBarOperatorNameView = objc_getClass("SBStatusBarOperatorNameView");
- $SBStatusBarTimeView = objc_getClass("SBStatusBarTimeView");
-
- WBRename(WebCoreFrameBridge, renderedSizeOfNode:constrainedToWidth:, renderedSizeOfNode$constrainedToWidth$);
-
- WBRename(SBApplication, pathForIcon, pathForIcon);
- WBRename(SBApplicationIcon, icon, icon);
- WBRename(SBBookmarkIcon, icon, icon);
- WBRename(SBButtonBar, didMoveToSuperview, didMoveToSuperview);
- WBRename(SBCalendarIconContentsView, drawRect:, drawRect$);
- WBRename(SBContentLayer, initWithSize:, initWithSize$);
- WBRename(SBIconBadge, initWithBadge:, initWithBadge$);
- WBRename(SBIconController, appendIconList:, appendIconList$);
-
- WBRename(SBIconLabel, drawRect:, drawRect$);
- WBRename(SBIconLabel, initWithSize:label:, initWithSize$label$);
- WBRename(SBIconLabel, setInDock:, setInDock$);
-
- WBRename(SBIconModel, cacheImageForIcon:, cacheImageForIcon$);
- WBRename(SBIconModel, getCachedImagedForIcon:, getCachedImagedForIcon$);
-
- WBRename(SBSlidingAlertDisplay, updateDesktopImage:, updateDesktopImage$);
- WBRename(SBStatusBarContentsView, didMoveToSuperview, didMoveToSuperview);
- WBRename(SBStatusBarContentsView, initWithStatusBar:mode:, initWithStatusBar$mode$);
- WBRename(SBStatusBarController, setStatusBarMode:orientation:duration:fenceID:animation:, setStatusBarMode$orientation$duration$fenceID$animation$);
- WBRename(SBStatusBarOperatorNameView, operatorNameStyle, operatorNameStyle);
- WBRename(SBStatusBarOperatorNameView, setOperatorName:fullSize:, setOperatorName$fullSize$);
- WBRename(SBStatusBarTimeView, drawRect:, drawRect$);