JubeatPlus 3.9.11
Loading...
Searching...
No Matches
ApplilinkPasteBoard Class Reference

Pasteboard-backed UDID store for the Applilink SDK. More...

#include <ApplilinkPasteBoard.h>

Inheritance diagram for ApplilinkPasteBoard:
Collaboration diagram for ApplilinkPasteBoard:

Instance Methods

(nullable NSDictionary *) - storageData
 The stored current-UDID pasteboard record.
(nullable NSDictionary *) - storageDataOld
 The stored old-service UDID pasteboard record.
(nullable NSDictionary *) - storageDataWithServiceName:storageIndex:error:
 The pasteboard record for a service name and storage index.
(nullable NSDictionary *) - writeStorageData:error:
 Writes a UDID into the first empty current-service pasteboard slot.
(nullable NSDictionary *) - writeStorageData:storageIndex:error:
 Writes a UDID into a current-service pasteboard slot at a storage index.
(BOOL) - deleteWithStorageIndex:error:
 Deletes the current-service pasteboard slot at a storage index.
(nullable NSDictionary *) - convertToData:serviceName:storageIndex:
 Builds the caller-facing record dictionary from a decoded record.
(NSString *) - getServiceName
 The pasteboard service name for advertising UDIDs.
(NSString *) - getServiceNameOld
 The pasteboard service name for old-server UDIDs.
(void) - debugLog
 Logs the stored pasteboard UDID values across every current-service slot.

Class Methods

(BOOL) + validate:error:
 Validates a decoded pasteboard record dictionary.

Properties

BOOL nonPasteBoardUdidFlag
 Whether the current UDID was resolved from the old-service pasteboard rather than the current one.

Detailed Description

Pasteboard-backed UDID store for the Applilink SDK.

Method Documentation

◆ convertToData:serviceName:storageIndex:

- (nullable NSDictionary *) convertToData: (nullable NSDictionary *) record
serviceName: (nullable NSString *) serviceName
storageIndex: (int) storageIndex 

Builds the caller-facing record dictionary from a decoded record.

Parameters
recordThe decoded record dictionary.
serviceNameThe pasteboard service name whose hash keys the value cipher.
storageIndexThe storage slot index recorded in the result.
Returns
A mutable record carrying the decrypted value and the storage index.
Ghidra address:
0x2682e0

◆ debugLog

- (void) debugLog

Logs the stored pasteboard UDID values across every current-service slot.

Ghidra address:
0x2686a4

◆ deleteWithStorageIndex:error:

- (BOOL) deleteWithStorageIndex: (int) storageIndex
error: (NSError *_Nullable *_Nullable) error 

Deletes the current-service pasteboard slot at a storage index.

Parameters
storageIndexThe storage slot index.
errorSet to a localised error on failure.
Returns
YES on success.
Ghidra address:
0x267dec

◆ getServiceName

- (NSString *) getServiceName

The pasteboard service name for advertising UDIDs.

Returns
The advertising service name.
Ghidra address:
0x268524
Ghidra address:
0x268524

◆ getServiceNameOld

- (NSString *) getServiceNameOld

The pasteboard service name for old-server UDIDs.

Returns
The old service name.
Ghidra address:
0x2685e4
Ghidra address:
0x2685e4

◆ storageData

- (NSDictionary *) storageData

The stored current-UDID pasteboard record.

Returns
The stored record, or nil.
Ghidra address:
0x26700c
Ghidra address:
0x26700c

◆ storageDataOld

- (NSDictionary *) storageDataOld

The stored old-service UDID pasteboard record.

Returns
The stored record, or nil.
Ghidra address:
0x267208
Ghidra address:
0x267208

◆ storageDataWithServiceName:storageIndex:error:

- (nullable NSDictionary *) storageDataWithServiceName: (nullable NSString *) serviceName
storageIndex: (int) storageIndex
error: (NSError *_Nullable *_Nullable) error 

The pasteboard record for a service name and storage index.

Parameters
serviceNameThe pasteboard service name.
storageIndexThe storage slot index.
errorSet to a localised error when the slot is empty or invalid.
Returns
The stored record, or nil.
Ghidra address:
0x2673a4

◆ validate:error:

+ (BOOL) validate: (nullable NSDictionary *) dict
error: (NSError *_Nullable *_Nullable) error 

Validates a decoded pasteboard record dictionary.

Parameters
dictThe un-archived record.
errorSet to a localised error describing the first invalid field.
Returns
YES when the record has a value, entry date, last-access date, and a positive version.
Ghidra address:
0x267ff4

◆ writeStorageData:error:

- (nullable NSDictionary *) writeStorageData: (nullable NSString *) udid
error: (NSError *_Nullable *_Nullable) error 

Writes a UDID into the first empty current-service pasteboard slot.

Parameters
udidThe UDID to store.
errorSet to a localised error on failure.
Returns
The stored record, or nil on failure.
Ghidra address:
0x2677d0

◆ writeStorageData:storageIndex:error:

- (nullable NSDictionary *) writeStorageData: (nullable NSString *) udid
storageIndex: (int) storageIndex
error: (NSError *_Nullable *_Nullable) error 

Writes a UDID into a current-service pasteboard slot at a storage index.

Parameters
udidThe UDID to store.
storageIndexThe storage slot index.
errorSet to a localised error on failure.
Returns
The stored record, or nil on failure.
Ghidra address:
0x267a20

Property Documentation

◆ nonPasteBoardUdidFlag

- (BOOL) nonPasteBoardUdidFlag
readwritenonatomicassign

Whether the current UDID was resolved from the old-service pasteboard rather than the current one.

Set when storageData exhausts every current-service slot and falls back to storageDataOld , and cleared once a current-service slot answers.

Ghidra address:
0x2688b0 (getter), 0x2688c0 (setter)

The documentation for this class was generated from the following files: