### Start Live Preview Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/ExternalAccessory.txt Starts the live preview for specified camera IDs. ```APIDOC ## startLivePreview:forCameraIds: ### Description Starts the live preview stream for the specified camera IDs. ### Method Objective-C ### Endpoint -[EAAccessory startLivePreview:forCameraIds:] ``` -------------------------------- ### _AOSAccountFinishSetup Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/AOSKit.txt Completes the account setup process. ```APIDOC ## _AOSAccountFinishSetup ### Description Completes the account setup process. ### Method Not specified (likely a function call within the SDK) ### Endpoint Not applicable (SDK function) ### Parameters None explicitly documented. ### Request Example ``` // Example usage within the SDK AOSAccountFinishSetup(); ``` ### Response Indicates the success or failure of finishing the account setup. ``` -------------------------------- ### Start Camera Info Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/ExternalAccessory.txt Starts receiving camera information for specified camera IDs. ```APIDOC ## startCameraInfo:forCameraIds: ### Description Starts receiving camera information for the specified camera IDs. ### Method Objective-C ### Endpoint -[EAAccessory startCameraInfo:forCameraIds:] ``` -------------------------------- ### AMAuthInstallCreate Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/libauthinstall.txt Creates an authorization installation object. ```APIDOC ## AMAuthInstallCreate ### Description Creates an authorization installation object. ### Method Not applicable (dylib function) ### Endpoint Not applicable (dylib function) ### Parameters No parameters are explicitly documented in the source. ### Request Example Not applicable (dylib function) ### Response No response details are explicitly documented in the source. ``` -------------------------------- ### _AMAuthInstallFinalize Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/libauthinstall.txt Finalizes the authorization installation process. ```APIDOC ## _AMAuthInstallFinalize ### Description Finalizes the authorization installation process. ### Method Not applicable (dylib function) ### Endpoint Not applicable (dylib function) ### Parameters No parameters are explicitly documented in the source. ### Request Example Not applicable (dylib function) ### Response No response details are explicitly documented in the source. ``` -------------------------------- ### __Accessibility Start Text Marker Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/AccessibilityFoundation.txt Internal method to get the start text marker. ```APIDOC ## -[AXFUIElement __accessibilityStartTextMarker] ### Description Internal method to get the start text marker. ### Method Objective-C Method ### Endpoint N/A ### Parameters None ``` -------------------------------- ### -[KTOptInManager initWithApplication:] Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/Transparancy.txt Initializes an instance of KTOptInManager with a specific application. This is an instance method. ```APIDOC ## -[KTOptInManager initWithApplication:] ### Description Initializes the KTOptInManager with the provided application context. This setup is necessary before calling other instance methods on the manager. ### Method Objective-C Instance Method ### Parameters - **application** (id) - Description of the application identifier to associate with this manager instance. ``` -------------------------------- ### AppleVDM 0x11: Get Action Info Example Reply Source: https://github.com/hack-different/apple-knowledge/blob/main/_docs/ace.md Example reply VDOs for AppleVDM 0x11, which retrieves information about a specific action. Shorts are encoded using VDM, similar to the Get Action List reply. ```text Example reply VDOs: `05010103 04090305 00000000` ``` -------------------------------- ### Initialization and Setup Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/libcryptex_core.txt Functions for initializing and configuring Cryptex. ```APIDOC ## cryptex_init ### Description Initializes the Cryptex system. ### Method (Not specified, likely a function call) ### Parameters (Not specified) ### Request Example (Not specified) ### Response (Not specified) ``` ```APIDOC ## cryptex_set_target_object ### Description Sets the target object for Cryptex operations. ### Method (Not specified, likely a function call) ### Parameters (Not specified) ### Request Example (Not specified) ### Response (Not specified) ``` ```APIDOC ## cryptex_set_target_queue ### Description Sets the target queue for Cryptex operations. ### Method (Not specified, likely a function call) ### Parameters (Not specified) ### Request Example (Not specified) ### Response (Not specified) ``` ```APIDOC ## cryptex_queue_create_with_target ### Description Creates a new Cryptex queue associated with a specific target. ### Method (Not specified, likely a function call) ### Parameters (Not specified) ### Request Example (Not specified) ### Response (Not specified) ``` -------------------------------- ### XML_GetSpecifiedAttributeCount Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/libexpat.txt Gets the number of attributes that were specified in the start tag. ```APIDOC ## XML_GetSpecifiedAttributeCount ### Description Retrieves the count of attributes that were explicitly specified in the start tag of an element. This can be useful for custom attribute processing. ### Method N/A (C function) ### Endpoint N/A ### Parameters None explicitly documented in this source. ### Request Example N/A ### Response Returns the number of specified attributes. (Inferred from typical C library patterns, not explicitly stated in source). ``` -------------------------------- ### -[CPSConfigurationClient startWithCompletionHandler:] Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/CloudPhootoServicesConfiguration.txt Initiates the startup process for Cloud Photo Services with a completion handler. ```APIDOC ## -[CPSConfigurationClient startWithCompletionHandler:] ### Description Initiates the startup process for Cloud Photo Services. A completion handler is provided to be notified upon completion or error. ### Method Objective-C Method ### Parameters - **completionHandler** (void (^)(NSError *error)) - A block that is executed upon completion of the startup process, receiving any potential error. ### Response #### Success Response (Completion Handler) - **error** (NSError *) - An error object if the startup failed, otherwise nil. ``` -------------------------------- ### -[IAPAudioCallbackInfo setupVolumeChangedCallback:withContext:andRunLoop:] Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/IAP.txt Sets up a callback for volume changes. ```APIDOC ## -[IAPAudioCallbackInfo setupVolumeChangedCallback:withContext:andRunLoop:] ### Description Configures a callback function to be invoked when the volume changes. It requires the callback, a context, and a run loop. ### Method Objective-C Instance Method ### Endpoint N/A ### Parameters - **callback** (Function Pointer) - The function to call when the volume changes. - **context** (void*) - A pointer to user-defined data to pass to the callback. - **runLoop** (CFRunLoopRef) - The run loop on which the callback should be scheduled. ### Request Example N/A ### Response N/A ``` -------------------------------- ### __Accessibility Previous Sentence Start Text Marker For Text Marker Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/AccessibilityFoundation.txt Internal method to get the previous sentence start text marker. ```APIDOC ## -[AXFUIElement __accessibilityPreviousSentenceStartTextMarkerForTextMarker:] ### Description Internal method to get the previous sentence start text marker. ### Method Objective-C Method ### Endpoint N/A ### Parameters - textMarker (id) - Required - The text marker. ``` -------------------------------- ### -[AVOutputSettingsAssistant init] Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/AVFCore.txt Initializes a new instance of AVOutputSettingsAssistant. ```APIDOC ## init ### Description Initializes a new instance of AVOutputSettingsAssistant. ### Method - ### Endpoint AVOutputSettingsAssistant ### Parameters None ### Request Example None ### Response #### Success Response - self (AVOutputSettingsAssistant) - The initialized AVOutputSettingsAssistant object. ### Response Example None ``` -------------------------------- ### Setup Overcommit Git Hooks Source: https://github.com/hack-different/apple-knowledge/blob/main/BUILD.md Installs the Overcommit Git hooks for the project. This command ensures that Git hooks are properly set up. ```shell bundle exec overcommit --install ``` -------------------------------- ### AppleVDM 0x10: Get Action List Example Reply Source: https://github.com/hack-different/apple-knowledge/blob/main/_docs/ace.md Example reply VDOs for AppleVDM 0x10, which retrieves a list of actions. Shorts are encoded using VDM, with the first short in the high 16 bytes and the second in the low 16 bytes, terminated by zero. ```text Example reply VDOs: `05020702 06060206 01060105 02030103 00000000` ``` -------------------------------- ### -[CPSConfigurationClient init] Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/CloudPhootoServicesConfiguration.txt Initializes a new instance of CPSConfigurationClient. ```APIDOC ## -[CPSConfigurationClient init] ### Description Initializes and returns a new instance of the CPSConfigurationClient class. ### Method Objective-C Method ### Parameters None ### Response - **self** (CPSConfigurationClient *) - The initialized CPSConfigurationClient instance. ``` -------------------------------- ### -[AVAsset initWithURL:options:] Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/AVFCore.txt Initializes an AVAsset object with a URL and options. ```APIDOC ## -[AVAsset initWithURL:options:] ### Description Initializes a new AVAsset object with the specified URL and options. ### Method Objective-C Instance Method ### Parameters #### Path Parameters - **url** (NSURL *) - The URL of the asset. - **options** (NSDictionary *) - A dictionary of options for initialization. ``` -------------------------------- ### Get Apple Hardware Data Source: https://github.com/hack-different/apple-knowledge/blob/main/_packages/python/README.md Import the `get_data` function and use it to retrieve specific hardware data, such as registers. Ensure the package is installed to access this functionality. ```python from apple_data import get_data REGISERS = get_data('registers') ``` -------------------------------- ### BMDSLStreamPublisher Initialization Methods Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/BiomeStreams.txt This section details the various initializers available for BMDSLStreamPublisher, allowing for flexible stream setup with different parameters like start time, identifiers, stream types, bookmarks, event data classes, and use cases. ```APIDOC ## BMDSLStreamPublisher Initializers ### Description Provides methods to initialize a BMDSLStreamPublisher with various configurations. ### Methods - `initWithStartTime:identifier:streamType:` - `initWithIdentifier:streamType:` - `initWithIdentifier:streamType:eventDataClass:` - `initWithIdentifier:streamType:useCase:` - `initWithIdentifier:streamType:useCase:eventDataClass:` - `initWithBookmark:identifier:streamType:` - `initWithBookmark:identifier:startTime:privateStreamBasePath:` - `initWithBookmark:identifier:privateStreamBasePath:` - `initWithBookmark:identifier:name:version:streamType:basePath:` - `initWithBookmark:identifier:name:version:streamType:basePath:eventDataClass:useCase:` - `initWithPublisher:identifier:streamType:` - `initRestrictedStreamWithBookmark:identifier:` - `initRestrictedStreamWithPublisher:identifier:` - `initWithDictionary:error:` - `initWithCoder:` ### Notes Some initializers are class methods (e.g., `supportsSecureCoding`, `streamTypeForDSLType:`), while others are instance methods. ``` -------------------------------- ### Install Overcommit Hooks Source: https://github.com/hack-different/apple-knowledge/blob/main/BUILD.md Installs the Overcommit Git hooks for the project. This should be run after installing project dependencies. ```shell overcommit --install ``` -------------------------------- ### -[IAPAudioCallbackInfo setupDeviceStateChangedCallback:withContext:andRunLoop:] Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/IAP.txt Sets up a callback for device state changes. ```APIDOC ## -[IAPAudioCallbackInfo setupDeviceStateChangedCallback:withContext:andRunLoop:] ### Description Configures a callback function to be invoked when the device state changes. It requires the callback, a context, and a run loop. ### Method Objective-C Instance Method ### Endpoint N/A ### Parameters - **callback** (Function Pointer) - The function to call when the state changes. - **context** (void*) - A pointer to user-defined data to pass to the callback. - **runLoop** (CFRunLoopRef) - The run loop on which the callback should be scheduled. ### Request Example N/A ### Response N/A ``` -------------------------------- ### Install Development Libraries with Homebrew Source: https://github.com/hack-different/apple-knowledge/blob/main/_docs/T2.md Installs essential development libraries using Homebrew. Ensure Homebrew is installed before running this command. ```bash brew install libplist automake autoconf pkg-config openssl libtool llvm libusb ``` -------------------------------- ### -[IAPAudioCallbackInfo init] Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/IAP.txt Initializes the IAPAudioCallbackInfo object. ```APIDOC ## -[IAPAudioCallbackInfo init] ### Description Initializes a new instance of the IAPAudioCallbackInfo class. ### Method Objective-C Instance Method ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A ``` -------------------------------- ### Install Dependencies on macOS Source: https://github.com/hack-different/apple-knowledge/blob/main/BUILD.md Installs necessary tools like hunspell, rbenv, and libxml2 using Homebrew, then installs Ruby version 3.1.0. ```shell brew install hunspell rbenv libxml2 rbenv install 3.1.0 ``` -------------------------------- ### -[CPSConfigurationClient transitionToStartedState] Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/CloudPhootoServicesConfiguration.txt Attempts to transition Cloud Photo Services to the started state. ```APIDOC ## -[CPSConfigurationClient transitionToStartedState] ### Description Attempts to transition Cloud Photo Services to the started state. This is an internal method that may be called by the system. ### Method Objective-C Method ### Parameters None ### Response None explicitly documented. ``` -------------------------------- ### -[AVOutputSettingsAssistant initWithPreset:] Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/AVFCore.txt Initializes an AVOutputSettingsAssistant with a given preset. ```APIDOC ## initWithPreset: ### Description Initializes an AVOutputSettingsAssistant with a given preset. ### Method - ### Endpoint AVOutputSettingsAssistant ### Parameters #### Path Parameters - preset (NSString) - The preset to initialize with. ### Request Example None ### Response #### Success Response - self (AVOutputSettingsAssistant) - The initialized AVOutputSettingsAssistant object. ### Response Example None ``` -------------------------------- ### Clone Repository and Install Gems Source: https://github.com/hack-different/apple-knowledge/blob/main/BUILD.md Clones the Apple Knowledge repository, navigates into the directory, installs the Bundler gem, and then installs all project dependencies using Bundler. ```shell git clone https://github.com/hack-different/apple-knowledge.git cd apple-knowledge gem install bundler bundle install ``` -------------------------------- ### Clone and Install checkra.in Libraries Source: https://github.com/hack-different/apple-knowledge/blob/main/_docs/rickmark/checkra_in_-_bridgeOS.md Clones and installs essential libraries for checkra.in, including ldid, libusbmuxd, libimobiledevice, and usbmuxd. Requires running autogen.sh, make, and make install for each. ```bash https://github.com/sbingner/ldid ``` ```bash https://github.com/libimobiledevice/libusbmuxd ``` ```bash https://github.com/libimobiledevice/libimobiledevice ``` ```bash https://github.com/libimobiledevice/usbmuxd ``` -------------------------------- ### -[AVAssetReaderTrackOutput initWithTrack:outputSettings:] Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/AVFCore.txt Initializes an AVAssetReaderTrackOutput with a specified track and output settings. ```APIDOC ## -[AVAssetReaderTrackOutput initWithTrack:outputSettings:] ### Description Initializes an AVAssetReaderTrackOutput with a specified track and output settings. ### Method Objective-C ### Endpoint N/A ### Parameters #### Path Parameters - **track** (AVAssetTrack) - The asset track. - **outputSettings** (NSDictionary) - The output settings. ``` -------------------------------- ### -[IAPAudioCallbackInfo setupVolumeControlSupportChangedCallback:withContext:andRunLoop:] Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/IAP.txt Sets up a callback for changes in volume control support. ```APIDOC ## -[IAPAudioCallbackInfo setupVolumeControlSupportChangedCallback:withContext:andRunLoop:] ### Description Configures a callback function to be invoked when the volume control support status changes. It requires the callback, a context, and a run loop. ### Method Objective-C Instance Method ### Endpoint N/A ### Parameters - **callback** (Function Pointer) - The function to call when the support status changes. - **context** (void*) - A pointer to user-defined data to pass to the callback. - **runLoop** (CFRunLoopRef) - The run loop on which the callback should be scheduled. ### Request Example N/A ### Response N/A ``` -------------------------------- ### Install Dependencies on Debian/Ubuntu Source: https://github.com/hack-different/apple-knowledge/blob/main/BUILD.md Installs Git, rbenv, build-essential, and libxml2-dev. It also clones the modern ruby-build plugin for rbenv and initializes rbenv, followed by installing Ruby version 3.1.0. ```shell sudo apt install git rbenv build-essential libxml2-dev mkdir -p "$(rbenv root)"/plugins git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build rbenv init rbenv install 3.1.0 ``` -------------------------------- ### IMMessageGuidFromIMFileTransferGuid Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/IMSharedUtilities.txt Retrieves the message GUID associated with a given file transfer GUID. ```APIDOC ## IMMessageGuidFromIMFileTransferGuid ### Description Extracts the message GUID from a given file transfer GUID. ### Method [Not specified in source] ### Endpoint [Not specified in source] ### Parameters - **fileTransferGuid** (string) - The file transfer GUID. ### Request Example [Not specified in source] ### Response #### Success Response (200) - **messageGuid** (string) - The associated message GUID. ### Response Example [Not specified in source] ``` -------------------------------- ### -[AVExportSettingsOutputSettingsAssistantBaseSettings initWithOutputSettingsPreset:] Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/AVFCore.txt Initializes with a specific output settings preset. ```APIDOC ## initWithOutputSettingsPreset: ### Description Initializes with a specific output settings preset. ### Method - ### Endpoint AVExportSettingsOutputSettingsAssistantBaseSettings ### Parameters #### Path Parameters - preset (NSString) - The output settings preset. ### Request Example None ### Response #### Success Response - self (AVExportSettingsOutputSettingsAssistantBaseSettings) - The initialized object. ### Response Example None ``` -------------------------------- ### IMFileTransferGuidWithAssociatedMessageGUIDAndIndex Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/IMSharedUtilities.txt Generates a file transfer GUID associated with a message GUID and an index. ```APIDOC ## IMFileTransferGuidWithAssociatedMessageGUIDAndIndex ### Description Generates a unique identifier for a file transfer, linked to a specific message and its index within that message. ### Method [Not specified in source] ### Endpoint [Not specified in source] ### Parameters - **messageGUID** (string) - The GUID of the associated message. - **index** (integer) - The index of the file transfer within the message. ### Request Example [Not specified in source] ### Response #### Success Response (200) - **fileTransferGuid** (string) - The generated file transfer GUID. ### Response Example [Not specified in source] ``` -------------------------------- ### -[LPiTunesMediaSoftwareMetadata initWithCoder:] Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/LinkPresentation.txt Initializes the receiver with data from a decoder. ```APIDOC ## -[LPiTunesMediaSoftwareMetadata initWithCoder:] ### Description Initializes a new instance of the receiver with the data in decoder. This is part of the NSCoding protocol. ### Method `-` (Instance Method) ### Endpoint N/A (Objective-C Method) ### Parameters - **coder** (NSCoder) - The decoder object that decodes the object. ### Response - Returns an initialized `LPiTunesMediaSoftwareMetadata` object. ``` -------------------------------- ### MobileInstallationInstallForInstallCoordinationWithError Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/MobileInstalation.txt Installs an application for an install coordination process, returning an error if one occurs. ```APIDOC ## MobileInstallationInstallForInstallCoordinationWithError ### Description Installs an application for an install coordination process. This function is designed to handle potential errors during the installation. ### Method Not specified (likely a system or internal function call) ### Endpoint Not applicable (likely an SDK or internal API call) ### Parameters None explicitly documented. ### Request Example None provided. ### Response #### Success Response Indicates successful installation. #### Response Example None provided. ERROR HANDLING: - Returns an error if the installation fails. ``` -------------------------------- ### -[RBShaderLibrary initWithLibrary:] Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/RenderBox.txt Initializes a shader library with a Metal library. ```APIDOC ## -[RBShaderLibrary initWithLibrary:] ### Description Initializes the shader library instance using an existing Metal library object. This is an alternative to creating a library from data or source. ### Parameters - **library** (id) - The Metal library to initialize with. ``` -------------------------------- ### -[BMProcess initWithAuditToken:] Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/BiomeFoundation.txt Initializes a BMProcess with an audit token. ```APIDOC ## -[BMProcess initWithAuditToken:] ### Description Initializes a BMProcess object using the provided audit token. ### Method Objective-C instance method. ### Parameters - **auditToken** (audit_token_t) - The audit token to initialize the process with. ### Response An initialized instance of BMProcess. ``` -------------------------------- ### -[AVAsset initWithData:contentType:options:] Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/AVFCore.txt Initializes an AVAsset object with data, content type, and options. ```APIDOC ## -[AVAsset initWithData:contentType:options:] ### Description Initializes a new AVAsset object with the provided data, content type, and options. ### Method Objective-C Instance Method ### Parameters #### Path Parameters - **data** (NSData *) - The data for the asset. - **contentType** (NSString *) - The content type of the data. - **options** (NSDictionary *) - A dictionary of options for initialization. ``` -------------------------------- ### Get Element Pointer Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/libLLVMContiner.txt Creates a get element pointer (GEP) constant expression. ```APIDOC ## llvm::ConstantExpr::getGetElementPtr(llvm::Constant* Base, llvm::ArrayRef IdxList, bool InBounds) ### Description Creates a get element pointer (GEP) constant expression. ### Parameters - **Base** (llvm::Constant*) - The base constant. - **IdxList** (llvm::ArrayRef) - An array of indices. - **InBounds** (bool) - Specifies if the GEP is inbounds. ``` -------------------------------- ### Getting and Setting Strings Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/FinderKit.txt Methods for getting and setting string values in user defaults. ```APIDOC ## +[FI_TUserDefaults stringForRegID:] ### Description Retrieves a string value for a given registration ID. ### Method Objective-C ### Parameters - **regID** (NSString *) - The registration ID. ## +[FI_TUserDefaults setString:forRegID:] ### Description Sets a string value for a given registration ID in user defaults. ### Method Objective-C ### Parameters - **string** (NSString *) - The string value to set. - **regID** (NSString *) - The registration ID. ``` -------------------------------- ### +[SASettingOpenSettings openSettingsWithDictionary:context:] Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/SAObjects.txt Opens settings with the provided dictionary and context. ```APIDOC ## +[SASettingOpenSettings openSettingsWithDictionary:context:] ### Description Opens system settings with specified parameters. ### Method Objective-C Class Method ### Parameters - **dictionary** (NSDictionary) - A dictionary containing settings parameters. - **context** (Any) - The context for opening settings. ``` -------------------------------- ### Getting and Setting Rects Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/FinderKit.txt Methods for getting and setting CGRect values in user defaults. ```APIDOC ## +[FI_TUserDefaults rectForRegID:] ### Description Retrieves a CGRect value for a given registration ID. ### Method Objective-C ### Parameters - **regID** (NSString *) - The registration ID. ## +[FI_TUserDefaults setRect:forRegID:] ### Description Sets a CGRect value for a given registration ID in user defaults. ### Method Objective-C ### Parameters - **rect** (CGRect) - The CGRect value to set. - **regID** (NSString *) - The registration ID. ``` -------------------------------- ### +[BMProcess processWithXPCConnection:] Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/BiomeFoundation.txt Initializes a BMProcess with an XPC connection. ```APIDOC ## +[BMProcess processWithXPCConnection:] ### Description Creates and returns a BMProcess object initialized with the provided XPC connection. ### Method Objective-C class method. ### Parameters - **connection** (XPCConnection) - The XPC connection to use for the process. ### Response An instance of BMProcess. ``` -------------------------------- ### Getting and Setting Sizes Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/FinderKit.txt Methods for getting and setting CGSize values in user defaults. ```APIDOC ## +[FI_TUserDefaults sizeForRegID:] ### Description Retrieves a CGSize value for a given registration ID. ### Method Objective-C ### Parameters - **regID** (NSString *) - The registration ID. ## +[FI_TUserDefaults setSize:forRegID:] ### Description Sets a CGSize value for a given registration ID in user defaults. ### Method Objective-C ### Parameters - **size** (CGSize) - The CGSize value to set. - **regID** (NSString *) - The registration ID. ``` -------------------------------- ### krb5_verify_opt_init Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/Heimdal.txt Initializes verification options. ```APIDOC ## krb5_verify_opt_init ### Description Initializes verification options. ### Method N/A (Function Signature) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A ``` -------------------------------- ### Getting and Setting Points Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/FinderKit.txt Methods for getting and setting CGPoint values in user defaults. ```APIDOC ## +[FI_TUserDefaults pointForRegID:] ### Description Retrieves a CGPoint value for a given registration ID. ### Method Objective-C ### Parameters - **regID** (NSString *) - The registration ID. ## +[FI_TUserDefaults setPoint:forRegID:] ### Description Sets a CGPoint value for a given registration ID in user defaults. ### Method Objective-C ### Parameters - **point** (CGPoint) - The CGPoint value to set. - **regID** (NSString *) - The registration ID. ``` -------------------------------- ### +[AVAsset initialize] Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/AVFCore.txt Initializes the AVAsset class. ```APIDOC ## +[AVAsset initialize] ### Description Initializes the AVAsset class. This is typically called by the system. ### Method Objective-C Class Method ``` -------------------------------- ### +[AVOutputSettingsAssistant outputSettingsAssistantWithPreset:] Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/AVFCore.txt Initializes an AVOutputSettingsAssistant with a specific preset. ```APIDOC ## outputSettingsAssistantWithPreset: ### Description Initializes an AVOutputSettingsAssistant with a specific preset. ### Method + ### Endpoint AVOutputSettingsAssistant ### Parameters #### Path Parameters - preset (NSString) - The name of the preset to use. ### Request Example None ### Response #### Success Response - assistant (AVOutputSettingsAssistant) - An initialized AVOutputSettingsAssistant object. ### Response Example None ``` -------------------------------- ### Getting and Setting Integers Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/FinderKit.txt Methods for getting and setting integer values in user defaults. ```APIDOC ## +[FI_TUserDefaults integerForRegID:] ### Description Retrieves an integer value for a given registration ID. ### Method Objective-C ### Parameters - **regID** (NSString *) - The registration ID. ## +[FI_TUserDefaults setInteger:forRegID:] ### Description Sets an integer value for a given registration ID in user defaults. ### Method Objective-C ### Parameters - **value** (NSInteger) - The integer value to set. - **regID** (NSString *) - The registration ID. ``` -------------------------------- ### -[AVExportSettingsOutputSettingsAssistantBaseSettings init] Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/AVFCore.txt Initializes a new instance of AVExportSettingsOutputSettingsAssistantBaseSettings. ```APIDOC ## init ### Description Initializes a new instance of AVExportSettingsOutputSettingsAssistantBaseSettings. ### Method - ### Endpoint AVExportSettingsOutputSettingsAssistantBaseSettings ### Parameters None ### Request Example None ### Response #### Success Response - self (AVExportSettingsOutputSettingsAssistantBaseSettings) - The initialized object. ### Response Example None ``` -------------------------------- ### Getting and Setting Doubles Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/FinderKit.txt Methods for getting and setting double values in user defaults. ```APIDOC ## +[FI_TUserDefaults doubleForRegID:] ### Description Retrieves a double value for a given registration ID. ### Method Objective-C ### Parameters - **regID** (NSString *) - The registration ID. ## +[FI_TUserDefaults setDouble:forRegID:] ### Description Sets a double value for a given registration ID in user defaults. ### Method Objective-C ### Parameters - **value** (double) - The double value to set. - **regID** (NSString *) - The registration ID. ``` -------------------------------- ### -[FaceCoreDetector initWithOptions:] Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/libfaceCore.txt Initializes the detector instance with specific options. This is an instance method. ```APIDOC ## -[FaceCoreDetector initWithOptions:] ### Description Initializes a newly created FaceCoreDetector object with the specified options. This is the designated initializer for custom configurations. ### Method Objective-C Instance Method ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example ```objectivec FaceCoreDetector *detector = [[FaceCoreDetector alloc] initWithOptions:options]; ``` ### Response #### Success Response (Instance of FaceCoreDetector) - **self** (instancetype) - The initialized FaceCoreDetector object. #### Response Example (Returns the initialized instance of FaceCoreDetector) ``` -------------------------------- ### Getting and Setting CGFloats Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/FinderKit.txt Methods for getting and setting CGFloat values in user defaults. ```APIDOC ## +[FI_TUserDefaults cgFloatForRegID:] ### Description Retrieves a CGFloat value for a given registration ID. ### Method Objective-C ### Parameters - **regID** (NSString *) - The registration ID. ## +[FI_TUserDefaults setCGFloat:forRegID:] ### Description Sets a CGFloat value for a given registration ID in user defaults. ### Method Objective-C ### Parameters - **value** (CGFloat) - The CGFloat value to set. - **regID** (NSString *) - The registration ID. ``` -------------------------------- ### Getting and Setting Floats Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/FinderKit.txt Methods for getting and setting float values in user defaults. ```APIDOC ## +[FI_TUserDefaults floatForRegID:] ### Description Retrieves a float value for a given registration ID. ### Method Objective-C ### Parameters - **regID** (NSString *) - The registration ID. ## +[FI_TUserDefaults setFloat:forRegID:] ### Description Sets a float value for a given registration ID in user defaults. ### Method Objective-C ### Parameters - **value** (float) - The float value to set. - **regID** (NSString *) - The registration ID. ``` -------------------------------- ### -[AVAVVideoSettingsVideoOutputSettings initWithTrustedAVVideoSettingsDictionary:] Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/AVFCore.txt Initializes an AVAVVideoSettingsVideoOutputSettings object with a trusted AVVideoSettings dictionary. ```APIDOC ## -[AVAVVideoSettingsVideoOutputSettings initWithTrustedAVVideoSettingsDictionary:] ### Description Initializes an AVAVVideoSettingsVideoOutputSettings object with a trusted AVVideoSettings dictionary. ### Method (Not specified in source) ### Endpoint (Not specified in source) ### Parameters (Not specified in source) ### Request Example (Not specified in source) ### Response #### Success Response (200) (Not specified in source) #### Response Example (Not specified in source) ``` -------------------------------- ### Getting and Setting Booleans Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/FinderKit.txt Methods for getting and setting boolean values in user defaults. ```APIDOC ## -[FI_TUserDefaults _boolForRegID:] ### Description Retrieves a boolean value for a given registration ID. ### Method Objective-C ### Parameters - **regID** (NSString *) - The registration ID. ## +[FI_TUserDefaults boolForRegID:] ### Description Retrieves a boolean value for a given registration ID. ### Method Objective-C ### Parameters - **regID** (NSString *) - The registration ID. ## +[FI_TUserDefaults setBool:forRegID:] ### Description Sets a boolean value for a given registration ID in user defaults. ### Method Objective-C ### Parameters - **value** (BOOL) - The boolean value to set. - **regID** (NSString *) - The registration ID. ``` -------------------------------- ### -[BMProcess init] Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/BiomeFoundation.txt Initializes a BMProcess object. ```APIDOC ## -[BMProcess init] ### Description Initializes a new instance of the BMProcess class. ### Method Objective-C instance method. ### Parameters None. ### Response An initialized instance of BMProcess. ``` -------------------------------- ### +[FigCaptureVISPipeline initialize] Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/CMCature.txt Initializes the FigCaptureVISPipeline class. This is a class method likely called to set up the pipeline before instance creation. ```APIDOC ## +[FigCaptureVISPipeline initialize] ### Description Initializes the FigCaptureVISPipeline class. This is a class method likely called to set up the pipeline before instance creation. ### Method Objective-C Class Method ### Endpoint (Not applicable) ### Parameters (None specified) ### Request Example (Not applicable) ### Response (None specified) ``` -------------------------------- ### Start Camera Updates Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/ExternalAccessory.txt Starts camera updates with properties and capabilities for specified camera IDs. ```APIDOC ## startCameraUpdates:forCameraIds:withProperties:withCapabilities: ### Description Starts camera updates for the specified camera IDs, including properties and capabilities. ### Method Objective-C ### Endpoint -[EAAccessory startCameraUpdates:forCameraIds:withProperties:withCapabilities:] ``` -------------------------------- ### Getting and Setting Four Char Codes Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/FinderKit.txt Methods for getting and setting four-character codes in user defaults. ```APIDOC ## +[FI_TUserDefaults fourCharCodeForRegID:] ### Description Retrieves a four-character code for a given registration ID. ### Method Objective-C ### Parameters - **regID** (NSString *) - The registration ID. ## +[FI_TUserDefaults setFourCharCode:forRegID:] ### Description Sets a four-character code for a given registration ID in user defaults. ### Method Objective-C ### Parameters - **code** (FourCharCode) - The four-character code to set. - **regID** (NSString *) - The registration ID. ``` -------------------------------- ### +[FigCaptureCameraSourcePipeline initialize] Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/CMCature.txt Initializes the FigCaptureCameraSourcePipeline. This is a class method used for setup. ```APIDOC ## +[FigCaptureCameraSourcePipeline initialize] ### Description Initializes the FigCaptureCameraSourcePipeline. This is a class method used for setup. ### Method Objective-C Class Method ### Endpoint N/A (Class Method) ### Parameters None ### Request Example N/A ### Response N/A ``` -------------------------------- ### Getting and Setting SInt64 Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/FinderKit.txt Methods for getting and setting signed 64-bit integer values in user defaults. ```APIDOC ## +[FI_TUserDefaults sint64ForRegID:] ### Description Retrieves a signed 64-bit integer value for a given registration ID. ### Method Objective-C ### Parameters - **regID** (NSString *) - The registration ID. ## +[FI_TUserDefaults setSInt64:forRegID:] ### Description Sets a signed 64-bit integer value for a given registration ID in user defaults. ### Method Objective-C ### Parameters - **value** (SInt64) - The signed 64-bit integer value to set. - **regID** (NSString *) - The registration ID. ``` -------------------------------- ### +[AVOutputSettingsAssistant(Dependencies) baseSettingsProviderForPreset:] Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/AVFCore.txt Provides the base settings provider for a given preset. ```APIDOC ## baseSettingsProviderForPreset: ### Description Provides the base settings provider for a given preset. ### Method + ### Endpoint AVOutputSettingsAssistant(Dependencies) ### Parameters #### Path Parameters - preset (NSString) - The preset for which to get the settings provider. ### Request Example None ### Response #### Success Response - provider (id) - The base settings provider. ### Response Example None ``` -------------------------------- ### -[CDPFollowUpContext initWithCoder:] Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/CoreCDP.txt Initializes the CDP follow-up context object from a coder. ```APIDOC ## -[CDPFollowUpContext initWithCoder:] ### Description Initializes the CDP follow-up context object from a coder. ### Method Objective-C Instance Method ### Parameters - **coder** (NSCoder *) - The coder object to use for decoding. ### Returns - (instancetype) - The initialized CDPFollowUpContext object. ``` -------------------------------- ### Install libimobiledevice on macOS Source: https://github.com/hack-different/apple-knowledge/blob/main/_docs/rickmark/Jailbreaking_the_T2_with_checkra1n.md Use Homebrew to install the libimobiledevice tools on macOS, which are necessary for connecting to the T2 chip. ```bash brew install libimobiledevice ``` -------------------------------- ### AppleVDM 0x11: Get Action Info Source: https://github.com/hack-different/apple-knowledge/blob/main/_docs/ace.md Retrieves information about a specific action from the ACE controller. Requires an ActionId obtained from the Get Action List VDM. ```APIDOC ## AppleVDM 0x11: Get Action Info ### Description Retrieves information about a specific action from the ACE controller. Requires an ActionId obtained from the Get Action List VDM. ### Parameters * **ActionId** (uint16_t) - Specifies the action, taken from the 0x10 reply. ### Input `{ 0x5AC8011, ActionId }` ### Reply Shorts encoded using VDM (first short in high 16 bytes, second in low 16 bytes). Zero terminated. ### Example Reply VDOs `05010103 04090305 00000000` ``` -------------------------------- ### krb5_verify_init_creds_opt_init Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/Heimdal.txt Initializes a structure for krb5_verify_init_creds options. ```APIDOC ## krb5_verify_init_creds_opt_init ### Description Initializes a structure for krb5_verify_init_creds options. ### Method N/A (Function Signature) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A ``` -------------------------------- ### MBN Header Example: apps.b01 Source: https://github.com/hack-different/apple-knowledge/blob/main/_docs/Baseband_Qualcomm.md Hexadecimal representation of the header for the 'apps.b01' MBN file. This example can help in understanding the header format for baseband application MBNs. ```text apps.b01 04000000 06000000 00000000 00000000 70020000 70020000 C821F980 00000000 C821F980 00000000 00000000 00000000 ``` -------------------------------- ### MBN Header Example: multi_image.b01 Source: https://github.com/hack-different/apple-knowledge/blob/main/_docs/Baseband_Qualcomm.md Hexadecimal representation of the header for the 'multi_image.b01' MBN file. This example may show characteristics specific to multi-image MBN structures. ```text multi_image.b01 00000000 06000000 00000000 00000000 F8100000 90000000 FFFFFFFF 68000000 FFFFFFFF 00100000 00000000 78000000 00000000 00000000 22000000 E1401400 00000000 00000000 00000000 04000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 B7EB6FD8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ``` -------------------------------- ### -[AVFigEndpointSecondDisplayModeToken init] Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/AVFCore.txt Initializes an AVFigEndpointSecondDisplayModeToken object. ```APIDOC ## -[AVFigEndpointSecondDisplayModeToken init] ### Description Initializes a new instance of the AVFigEndpointSecondDisplayModeToken class. ### Method Objective-C Instance Method ### Type FUNC, OBJC, NameNList, MangledNameNList, Merged, NList, FunctionStarts ``` -------------------------------- ### -[AVScheduledVolumeRamp(AVScheduledParameterRampSerialization) initWithPropertyList:] Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/AVFCore.txt Initializes the volume ramp from a property list. ```APIDOC ## - [AVScheduledVolumeRamp(AVScheduledParameterRampSerialization) initWithPropertyList:] ### Description Initializes the volume ramp from a property list. ### Method - ### Endpoint AVScheduledVolumeRamp(AVScheduledParameterRampSerialization) initWithPropertyList: ### Parameters * **propertyList** (type) - Description ### Request Example None explicitly documented. ### Response None explicitly documented. ``` -------------------------------- ### Install Development Tools Source: https://github.com/hack-different/apple-knowledge/blob/main/_docs/rickmark/Taking_Apart_an_Android.md Installs essential command-line tools for firmware analysis on Debian-based systems. Includes utilities for file inspection, compression, reverse engineering, and cross-compilation. ```bash sudo apt install file lzma binwalk xz-tools device-tree-compiler python3.9 apt-get install git gitk git-gui curl xz-utils python3-pkg-resources python3-virtualenv python3-oauth2client binutils-aarch64-linux-gnu g++-aarch64-linux-gnu cpp-aarch64-linux-gnu ``` -------------------------------- ### +[SAMacOpenAboutThisMac openAboutThisMacWithDictionary:context:] Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/SAObjects.txt Opens the 'About This Mac' interface with the provided dictionary and context. ```APIDOC ## +[SAMacOpenAboutThisMac openAboutThisMacWithDictionary:context:] ### Description Opens the 'About This Mac' interface with the provided dictionary and context. ### Method + ### Endpoint SAMacOpenAboutThisMac ### Parameters #### Request Body - **dictionary** (NSDictionary) - The dictionary containing data for opening About This Mac. - **context** (SAContext) - The context object for the operation. ### Request Example None ### Response #### Success Response (200) None ### Response Example None ``` -------------------------------- ### Configure and Start Kdumpd Daemon Source: https://github.com/hack-different/apple-knowledge/blob/main/_docs/KDK.md Set up a directory for coredumps and start the kdumpd daemon on the server to receive crash data. Ensure correct permissions for the dump directory. ```shell sudo mkdir /PanicDumps sudo chown root:wheel /PanicDumps sudo chmod 1777 /PanicDumps ``` ```shell sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.kdumpd.plist ``` ```shell kdumpd -w /PanicDumps ``` -------------------------------- ### Install Overcommit and Dependencies Source: https://github.com/hack-different/apple-knowledge/blob/main/README.md Installs necessary tools like hunspell, overcommit, and bundler for managing git hooks and quality checks in the repository. Run this to set up the development environment. ```shell brew install hunspell gem install overcommit bundler bundle install overcommit --install ``` -------------------------------- ### BMStoreConfig Initialization Methods Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/BiomeStorage.txt Methods for initializing BMStoreConfig objects with various parameters. ```APIDOC ## Initialization Methods ### `-[BMStoreConfig initWithStoreVersion:storeBasePath:segmentSize:protectionClass:storeLocationOption:remoteStreamName:pruningPolicy:]` Initializes a BMStoreConfig object with detailed store configuration parameters. ### `-[BMStoreConfig initWithStoreVersion:storeBasePath:segmentSize:protectionClass:storeLocationOption:remoteStreamName:pruningPolicy:streamType:domain:isManaged:streamIdentifier:]` Initializes a BMStoreConfig object with an extended set of parameters, including stream type, domain, and management status. ### `-[BMStoreConfig initWithStoreBasePath:segmentSize:]` Initializes a BMStoreConfig object with the store base path and segment size. ### `-[BMStoreConfig initWithStoreBasePath:segmentSize:protectionClass:]` Initializes a BMStoreConfig object with the store base path, segment size, and protection class. ``` -------------------------------- ### MBN Header Example: aop.b01 Source: https://github.com/hack-different/apple-knowledge/blob/main/_docs/Baseband_Qualcomm.md Hexadecimal representation of the header for the 'aop.b01' MBN file. This example is useful for studying the header structure of Qualcomm Application Optimization Processor MBNs. ```text aop.b01 00000000 06000000 00000000 00000000 F0000000 F0000000 C880E08F 00000000 C880E08F 00000000 00000000 00000000 ``` -------------------------------- ### Present View Controller From Host Window With Completion Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/AOSUI.txt Presents a view controller from the host window with a completion handler. ```APIDOC ## objc_msgSend$presentViewControllerFromHostWindow:completionHandler: ### Description Presents a view controller modally from the host window, executing a completion handler upon dismissal. ### Method objc_msgSend ### Endpoint N/A (Objective-C method call) ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example ```objectivec // Example usage (conceptual) [someObject objc_msgSend:@selector(presentViewControllerFromHostWindow:completionHandler:) withArguments:viewController, completionHandler]; ``` ### Response #### Success Response (void) This method does not return a value directly. Side effects include presenting the UI. #### Response Example N/A ``` -------------------------------- ### IAPAudioStartRecording Source: https://github.com/hack-different/apple-knowledge/blob/main/symbols/IAP.txt Starts audio recording. ```APIDOC ## IAPAudioStartRecording ### Description Starts audio recording. ### Method Not specified (likely a C function call) ### Endpoint N/A ### Parameters None specified. ### Request Example N/A ### Response None specified. ```