|
JubeatPlus 3.9.11
|
The application delegate for jubeat plus. More...
#include <JubeatAppDelegate.h>


Instance Methods | |
| (void) | - refreshUserAgent |
Rebuilds userAgent, and mirrors the app version into the user defaults on the way. | |
| (void) | - disableGameCenter |
| Marks Game Center unusable for the rest of the session. | |
| (void) | - loginGameCenter |
| Starts Game Center authentication, if it is available and not already done. | |
| (void) | - changeTheme: |
| Selects the interface theme, persists it, and returns to the title screen. | |
| (void) | - setKnitColor: |
| Hands a colour array to the knit-colour manager. | |
| (void) | - switchTitleEvent |
| Switches the title screen to the current event's presentation. | |
| (void) | - enableCopiousMarkers |
| Unlocks the copious marker set and reloads the markers. | |
| (NSString *) | - musicListKey |
| The per-install identifier, persisted in the keychain. | |
| (BOOL) | - digitStringCheck: |
| Whether a string is non-empty and consists only of decimal digits. | |
| (void) | - rewardEnable |
Latches bEnableReward on. | |
| (NSString *) | - getCurrentLicenseDate |
| The build's licence date. | |
| (nullable NSString *) | - getCurrentLicenseMessage |
| The localized use-policy message, or nil when the bundle has no translation for it. | |
| (void) | - dropChallengeOpenFlag |
Clears bChallengeOpen. | |
| (void) | - moveChallengeOpenFlag |
| Promotes a pending challenge into challenge mode. | |
| (void) | - setChallengeMode: |
Sets bChallengeMode. | |
| (void) | - setChallengeMusic:diff: |
| Selects the challenge's music and difficulty, and engages challenge mode. | |
| (void) | - setTotalAmount: |
Sets totalPurchaseAmount. | |
| (NSString *) | - getNotificationFilePath |
| The on-disk path of the persisted notification queue, creating its directory if needed. | |
| (void) | - loadNotification |
Reads the persisted notification queue back into pushNotificationList. | |
| (void) | - saveNotification |
Writes pushNotificationList to disk, or deletes the file when the queue is empty. | |
| (BOOL) | - pushActiveCheck: |
| Whether a scheduled fire time is still in the future. | |
| (nullable NSDictionary *) | - popNotification |
| Removes queued notifications from the front until one has not expired, and returns it. | |
| (BOOL) | - application:didFinishLaunchingWithOptions: |
| Classifies the device, restores preferences, builds the window, and starts every manager. | |
| (BOOL) | - application:handleOpenURL: |
Handles a jubeatplus:// URL, routing it to the store or to a content download. | |
| (nullable NSMutableDictionary *) | - apsDictionary: |
| Flattens an APNs payload into the shape the notification queue stores. | |
| (void) | - application:didRegisterUserNotificationSettings: |
| Proceeds to remote-notification registration once the user has answered the prompt. | |
| (void) | - application:didRegisterForRemoteNotificationsWithDeviceToken: |
| Stores the APNs device token as a bare hexadecimal string. | |
| (void) | - application:didFailToRegisterForRemoteNotificationsWithError: |
| Does nothing. | |
| (void) | - application:didReceiveLocalNotification: |
| Queues a local notification for in-app display, or routes it if the user tapped it. | |
| (void) | - application:didReceiveRemoteNotification: |
The remote twin of -application:didReceiveLocalNotification:, plus a report back. | |
| (void) | - applicationDidEnterBackground: |
| Schedules the coin-refill notification as the application leaves the foreground. | |
| (void) | - applicationWillResignActive: |
| Does nothing. | |
| (void) | - applicationDidBecomeActive: |
| Clears the icon badge and cancels every pending local notification. | |
| (void) | - applicationWillTerminate: |
| Shuts the purchase manager down and flushes the score records. | |
| (void) | - applicationDidReceiveMemoryWarning: |
| Does nothing. | |
| (void) | - resetDownLoadIndex |
Clears jcfDownloadID. | |
| (void) | - resetDownloadGenreID |
Clears storeGenreID. | |
| (void) | - setDownloadGenreID: |
Sets storeGenreID. | |
| (void) | - resetDownloadPackID |
Clears storePackID. | |
| (void) | - setDownloadPackID: |
Sets storePackID. | |
| (void) | - resetCampaignID |
Clears storeCampaignID. | |
| (void) | - setCampaignID: |
Sets storeCampaignID. | |
| (void) | - setNotificationPageURL:updateTime: |
| Records the notification page endpoint and the timestamp that goes with it. | |
| (void) | - setRandomFlag: |
Sets isRandom. | |
| (void) | - setExtendFlag: |
Sets isExtend. | |
| (void) | - setHoldFlag: |
Sets isHold. | |
| (void) | - setSearchString: |
Sets searchString. | |
| (void) | - markerDownloadComplete |
Latches isMarkerLegal to YES. | |
Properties | |
| JubeatAppDelegate * | appDelegate |
| The shared application's delegate. | |
| NSString * | deviceName |
The device model identifier, for example "iPhone9,3". | |
| NSString * | primDeviceName |
| The device model identifier, by a second copy of the same routine. | |
| NSString * | appVersion |
| The application version. | |
| NSDictionary * | clientInfo |
| The client identification dictionary sent to the servers. | |
| NSString * | appLibraryDirectory |
| The user Library directory. | |
| NSString * | appDocumentsDirectory |
| The user Documents directory. | |
| NSString * | appCachesDirectory |
| The user Caches directory. | |
| RootViewController * | rootViewCtrl |
| The root view controller of the application. | |
| NSString * | userAgent |
| The User-Agent string sent with the game's web requests. | |
| JubeatDeviceType | deviceType |
| The device idiom and screen class this build has classified the device as. | |
| NSString * | deviceToken |
| The APNs device token, retained as received. | |
| BOOL | isPad |
| Whether this is an iPad. | |
| BOOL | isPhoneRetina |
| Whether this is a retina iPhone. | |
| BOOL | is4inchAspect |
| Whether the screen has the taller four-inch aspect ratio. | |
| BOOL | isPadRetina |
| Whether this is a retina iPad. | |
| BOOL | gameCenterAvailable |
| Whether Game Center is usable in this session. | |
| NSString * | gameCenterName |
| The local player's Game Center alias, or nil when it cannot be had. | |
| JubeatTheme | currentTheme |
| The currently-selected interface theme. | |
| id | markerList |
| The installed marker set, as loaded from disk. | |
| id | jcfDownloadID |
| The identifier of the jcf content download currently in progress. | |
| id | storeGenreID |
| The genre selected in the store. | |
| id | storePackID |
| The pack selected in the store. | |
| id | storeCampaignID |
| The campaign selected in the store. | |
| NSString * | campaignImageName |
| The banner image file name for the current campaign. | |
| NSString * | campaignImagePath |
| The on-disk path of the current campaign's banner image. | |
| id | storeMissionText |
| The mission text shown on the store screen. | |
| id | searchString |
| The music-list search term currently in effect. | |
| int | totalPurchaseAmount |
| The running total of in-app purchases. | |
| BOOL | isRandom |
| Whether the random-note option is enabled. | |
| BOOL | isExtend |
| Whether the extend option is enabled. | |
| BOOL | isHold |
| Whether the hold option is enabled. | |
| BOOL | isMarkerLegal |
| Whether the installed marker set is licensed for play. | |
| BOOL | isRectangleWave |
| Whether the rectangle-wave sound option is enabled. | |
| BOOL | isMarkerDirRandom |
| Whether marker direction is randomised. | |
| BOOL | bEnableAutoPlay |
| Whether automatic play is enabled. | |
| BOOL | bEnableReward |
| Whether the reward feature is enabled for this session. | |
| BOOL | isNagaCoraMode |
| Whether the naga/cora collaboration mode is active. | |
| BOOL | isHinabitaMode |
| Whether the hinabita collaboration mode is active. | |
| BOOL | bChallengeOpen |
| Whether the challenge is open. | |
| BOOL | bChallengeMode |
| Whether challenge mode is engaged. | |
| unsigned int | challengeMusicID |
| The music identifier for the current challenge. | |
| int | challengeDifficulty |
| The difficulty for the current challenge. | |
| NSURL * | notificationURL |
| The URL of the in-game notification page. | |
| id | notificationTime |
The update timestamp that accompanies notificationURL. | |
| NSMutableArray * | pushNotificationList |
| The queued push notifications, persisted to disk between launches. | |
| NSDictionary * | remotePushInfo |
| The payload of the remote push that launched the application. | |
| BOOL | bSendPushID |
| Whether the device token still needs to be sent to the servers. | |
| int | hasNewRecommendNum |
| The number of unseen recommendation entries. | |
| NSString * | totalScoreLeaderboardCategory |
| The Game Center leaderboard identifier for the total-score board. | |
The application delegate for jubeat plus.
| - (void) application: | (UIApplication *) | application | |
| didFailToRegisterForRemoteNotificationsWithError: | (NSError *) | error |
Does nothing.
Surprising but faithful: the compiled method at 0xa98c is a single ret. A failed registration is neither recorded nor reported, so deviceToken simply stays nil.
| application | The application reporting the failure. The binary ignores this. |
| error | The registration failure. The binary ignores this. |
| - (BOOL) application: | (UIApplication *) | application | |
| didFinishLaunchingWithOptions: | (nullable NSDictionary *) | launchOptions |
Classifies the device, restores preferences, builds the window, and starts every manager.
The largest method in the class at 0xF24 bytes, and the one that reaches most of the application. It runs, in order: a discarded arc4random; the launch-options remote-notification route, which is a third copy of the scheme routing and ends by stashing the payload in remotePushInfo; the device classifier that fills in deviceType; the theme restore; the Game Center probe; the keychain identifier and User-Agent; three user-defaults repairs; the Core Data reset; the window and root controller; the purchase and store managers; the audio session; and finally notification registration. It always returns YES.
Several small oddities are reproduced rather than corrected and are listed in TYPES_PENDING.md: the discarded arc4random and systemVersion, the four unread NSError out-parameters, and the notification registration calls being made in the opposite order to Apple's.
| application | The application being launched. |
| launchOptions | The launch options, whose remote-notification entry is routed by scheme. |
| - (void) application: | (UIApplication *) | application | |
| didReceiveLocalNotification: | (UILocalNotification *) | notification |
Queues a local notification for in-app display, or routes it if the user tapped it.
A notification with no userInfo is dropped. Otherwise the payload is flattened through -apsDictionary: and the application state decides which of two unrelated things happens.
In UIApplicationStateActive the system shows no banner, so the payload is appended to pushNotificationList, persisted, and handed to the root controller to present. Otherwise the notification was tapped, and the "url" entry is routed by scheme: jbtstore:// fills in storePackID or storeGenreID, jbtchallenge:// raises bChallengeOpen, and jbtgift:// fills in storeCampaignID.
This is the working twin of -application:handleOpenURL:. Both route the same three tokens, but this one reads them off NSURL.scheme, where they are, rather than off a path component.
| application | The application delivering the notification. |
| notification | The local notification; dropped when it carries no userInfo . |
| - (void) application: | (UIApplication *) | application | |
| didReceiveRemoteNotification: | (NSDictionary *) | userInfo |
The remote twin of -application:didReceiveLocalNotification:, plus a report back.
Clears the badge, then runs the same two arms on the same applicationState test and with the same scheme routing. Three differences from the local variant, all verified rather than assumed:
userInfo nil test at all. The remote payload is the argument itself, so the three sends the local variant makes to fetch it are absent.-apsDictionary: is called before the split, so on the routing path the dictionary is built and released without ever being read.The report is -responseRemoteNotification:pushInfo: with NO, meaning the notification arrived at a running app. -application:didFinishLaunchingWithOptions: passes YES for the cold-launch case at 0x9dfc.
| application | The application delivering the notification. |
| userInfo | The remote notification's payload. |
| - (void) application: | (UIApplication *) | application | |
| didRegisterForRemoteNotificationsWithDeviceToken: | (NSData *) | deviceToken |
Stores the APNs device token as a bare hexadecimal string.
Takes -description of the NSData and strips the three literals "<", ">", and " " from it in that order. This is the pre-iOS-13 idiom for turning a token into hex; it depends on NSData.description's format and is reproduced as written.
| application | The application reporting the token. |
| deviceToken | The APNs device token. |
| - (void) application: | (UIApplication *) | application | |
| didRegisterUserNotificationSettings: | (UIUserNotificationSettings *) | notificationSettings |
Proceeds to remote-notification registration once the user has answered the prompt.
The settings argument is ignored: the binary does not inspect which types were granted, so this registers even when the user allowed nothing.
| application | The application reporting the settings. |
| notificationSettings | The settings the user granted. The binary ignores this. |
| - (BOOL) application: | (UIApplication *) | application | |
| handleOpenURL: | (NSURL *) | url |
Handles a jubeatplus:// URL, routing it to the store or to a content download.
Always returns YES, on every path including the one where the scheme does not match, so the application never reports a URL as unhandled.
Two of its four routes are unreachable as compiled — see the implementation comment at the "jbtstore" arm.
| application | The application opening the URL. |
| url | The jubeatplus:// URL to route. |
| - (void) applicationDidBecomeActive: | (UIApplication *) | application |
Clears the icon badge and cancels every pending local notification.
Note that it messages UIApplication.sharedApplication twice rather than reusing the argument it was handed, which is ignored.
| application | The application becoming active. The binary ignores this. |
| - (void) applicationDidEnterBackground: | (UIApplication *) | application |
Schedules the coin-refill notification as the application leaves the foreground.
The whole body is [[ChallengeStatus sharedStatus] createCoinNotification]; the UIApplication argument is ignored.
| application | The application entering the background. The binary ignores this. |
| - (void) applicationDidReceiveMemoryWarning: | (UIApplication *) | application |
Does nothing.
As with -applicationWillResignActive:, the compiled method is a single ret. The binary takes no action on a memory warning.
| application | The application reporting the warning. The binary ignores this. |
| - (void) applicationWillResignActive: | (UIApplication *) | application |
Does nothing.
Surprising but faithful: the compiled method is a single ret. It is present only to satisfy the delegate protocol.
| application | The application resigning active. The binary ignores this. |
| - (void) applicationWillTerminate: | (UIApplication *) | application |
Shuts the purchase manager down and flushes the score records.
| application | The application terminating. |
| - (NSMutableDictionary *) apsDictionary: | (NSDictionary *) | userInfo |
Flattens an APNs payload into the shape the notification queue stores.
Returns nil when the payload has no "aps" entry. Otherwise it copies, each only when present: "alert" from inside "aps" — stored under the different key "body" — plus "sound" from inside "aps", and "url", "expire", and "id" from the top level.
The "alert" to "body" rename is the only key that changes name; every other entry keeps its own.
| userInfo | The APNs payload. |
| - (void) changeTheme: | (JubeatTheme) | theme |
Selects the interface theme, persists it, and returns to the title screen.
Writes _currentTheme, mirrors it into NSUserDefaults under the key "PrefTheme" as an NSNumber, synchronises, and then sends -changeThemeAndGoTitle to rootViewCtrl.
| theme | The theme to select. |
| - (BOOL) digitStringCheck: | (nullable NSString *) | string |
Whether a string is non-empty and consists only of decimal digits.
Scans with an explicit character set built from the literal "0123456789" rather than using NSCharacterSet.decimalDigitCharacterSet, so the non-ASCII digits that predefined set would accept are rejected here.
Two details are easy to lose. The scanner comes from +[NSScanner localizedScannerWithString:], not the plain +scannerWithString:, so it carries the current locale. And its charactersToBeSkipped is explicitly set to nil, which disables the default whitespace skipping — without that a string of spaces and digits would pass.
| string | The candidate string. |
| - (void) disableGameCenter |
Marks Game Center unusable for the rest of the session.
The whole body is a single store of zero into _gameCenterAvailable; nothing is torn down.
| - (void) dropChallengeOpenFlag |
Clears bChallengeOpen.
| - (void) enableCopiousMarkers |
Unlocks the copious marker set and reloads the markers.
Writes YES to NSUserDefaults under "PrefCopiousUnlocked", synchronises, and then sends -reloadMarkers to rootViewCtrl. Unconditional: there is no check of the current value, so calling it again rewrites the same flag and reloads again.
| - (NSString *) getCurrentLicenseDate |
The build's licence date.
Surprising but faithful: this is a hardcoded string literal, not a computed or stored date. The CFString at 0x2d4300 points at 19 bytes reading "2015-04-14 17:00:02", and the method returns it through objc_retainAutorelease with no formatting of any kind.
| - (NSString *) getCurrentLicenseMessage |
The localized use-policy message, or nil when the bundle has no translation for it.
Looks up the key "Use policy Message" with -localizedStringForKey:value:table:, passing an empty default and a nil table. When the lookup comes back equal to that empty default the method returns nil rather than the empty string, so callers can test for absence.
| - (NSString *) getNotificationFilePath |
The on-disk path of the persisted notification queue, creating its directory if needed.
Builds <caches>/notification, creates that directory with intermediate directories when it does not already exist, and returns <caches>/notification/noti.txt.
| - (void) loadNotification |
Reads the persisted notification queue back into pushNotificationList.
A missing or unreadable file leaves the property untouched rather than clearing it.
| - (void) loginGameCenter |
Starts Game Center authentication, if it is available and not already done.
Returns immediately when gameCenterAvailable is NO, and also when GKLocalPlayer.localPlayer is already authenticated — the handler is only installed on the not-yet-authenticated path.
| - (void) markerDownloadComplete |
Latches isMarkerLegal to YES.
| - (void) moveChallengeOpenFlag |
Promotes a pending challenge into challenge mode.
When bChallengeOpen is set this sets bChallengeMode; either way it then clears bChallengeOpen, so the flag is consumed whether or not it fired.
| - (NSString *) musicListKey |
The per-install identifier, persisted in the keychain.
The selector name is misleading and is the binary's own: this has nothing to do with any music list. It looks up a generic-password item keyed on the account "ApplicationUniqueID" and the bundle identifier as the service, and returns its stored UTF-8 payload. When the item is absent, or is present but its payload does not decode, it mints a fresh CFUUID, adds it to the keychain, and returns that.
Because the item is stored with kSecAttrAccessibleAfterFirstUnlock and never deleted, the value survives reinstalling the application, which is what makes +clientInfo's "uuid" entry a stable per-install identifier.
| - (NSDictionary *) popNotification |
Removes queued notifications from the front until one has not expired, and returns it.
Every entry it inspects is removed from the queue whether or not it is returned, so expired entries are discarded as a side effect of looking for a live one. Each entry's fire time is read from its "expire" key.
The queue is only persisted when the loop actually ran: an already-empty queue returns nil without calling -saveNotification, whereas both loop exits do call it.
| - (BOOL) pushActiveCheck: | (NSInteger) | fireTime |
Whether a scheduled fire time is still in the future.
Compares the current Unix time, truncated toward zero from -[NSDate timeIntervalSince1970], against fireTime and answers YES when the current time is less than or equal to it. Note the comparison is inclusive, so a notification due at exactly the current second still counts as active.
| fireTime | The scheduled fire time, as a Unix timestamp. |
fireTime , NO once it has passed. | - (void) refreshUserAgent |
Rebuilds userAgent, and mirrors the app version into the user defaults on the way.
The User-Agent format is "%\@/%\@ (%\@; iOS %\@; %\@) [%\@]" with six arguments, in order: the literal "jubeatplus", +appVersion, +deviceName, the system version with every "." replaced by "_", the current locale identifier, and the editor identifier key (empty when none is provisioned).
The argument list was read from the stack stores at 0xa498-0xa4a8 rather than from the decompile, which shows a variadic call with only its first argument. Six specifiers against six slots.
| - (void) resetCampaignID |
Clears storeCampaignID.
| - (void) resetDownloadGenreID |
Clears storeGenreID.
| - (void) resetDownLoadIndex |
Clears jcfDownloadID.
| - (void) resetDownloadPackID |
Clears storePackID.
| - (void) rewardEnable |
Latches bEnableReward on.
As with -markerDownloadComplete, this only ever sets the flag; nothing clears it.
| - (void) saveNotification |
Writes pushNotificationList to disk, or deletes the file when the queue is empty.
The archive is built before the emptiness test, so an empty queue archives an empty array and then throws the result away.
| - (void) setCampaignID: | (nullable id) | campaignID |
Sets storeCampaignID.
| campaignID | The campaign to open on the next store visit. |
| - (void) setChallengeMode: | (BOOL) | challengeMode |
Sets bChallengeMode.
| challengeMode | Whether challenge mode is engaged. |
| - (void) setChallengeMusic: | (unsigned int) | musicID | |
| diff: | (int) | difficulty |
Selects the challenge's music and difficulty, and engages challenge mode.
Note that it also sets bChallengeMode to YES as a side effect, which the selector name does not suggest.
| musicID | The challenge tune's identifier. |
| difficulty | The challenge difficulty. |
| - (void) setDownloadGenreID: | (nullable id) | genreID |
Sets storeGenreID.
| genreID | The store genre to open on the next store visit. |
| - (void) setDownloadPackID: | (nullable id) | packID |
Sets storePackID.
| packID | The store pack to open on the next store visit. |
| - (void) setExtendFlag: | (BOOL) | flag |
Sets isExtend.
| flag | Whether the extend filter is on. |
| - (void) setHoldFlag: | (BOOL) | flag |
Sets isHold.
| flag | Whether the hold filter is on. |
| - (void) setKnitColor: | (NSArray *) | knitColor |
Hands a colour array to the knit-colour manager.
| knitColor | The colours to install. |
| - (void) setNotificationPageURL: | (nullable NSString *) | pageURL | |
| updateTime: | (nullable id) | updateTime |
Records the notification page endpoint and the timestamp that goes with it.
A nil pageURL clears notificationURL rather than storing a URL built from nil.
| pageURL | The notification page's address, or nil to clear it. |
| updateTime | The timestamp that goes with pageURL . |
| - (void) setRandomFlag: | (BOOL) | flag |
Sets isRandom.
| flag | Whether random select is on. |
| - (void) setSearchString: | (nullable id) | searchString |
Sets searchString.
| searchString | The music-list search text. |
| - (void) setTotalAmount: | (int) | amount |
Sets totalPurchaseAmount.
| amount | The running total the player has spent. |
| - (void) switchTitleEvent |
Switches the title screen to the current event's presentation.
When isHinabitaMode is set it first tells the knit-colour manager to use colour type 4; the type is a bare immediate in the binary, not a named constant. It then sends -changeTitleTheme to rootViewCtrl unconditionally, so the non-hinabita path still refreshes the title.
|
readnonatomicassign |
The user Caches directory.
The directory constant is 13 (NSCachesDirectory).
|
readnonatomicassign |
The shared application's delegate.
The binary forwards -[UIApplication delegate] unchanged without a class check; the concrete type is stated here because that is what it is at runtime and what every caller relies on.
|
readnonatomicassign |
The user Documents directory.
The directory constant is 9 (NSDocumentDirectory).
|
readnonatomicassign |
The user Library directory.
NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSUserDomainMask, YES) followed by -lastObject. The directory constant 5 and the domain mask 1 were read from the immediate mov instructions at 0x7d5c-0x7d64.
|
readnonatomicassign |
The application version.
Surprising but faithful: this is not read from the bundle's Info.plist. The binary builds it from a hardcoded C string literal at 0x27dc66, whose bytes are "3.9.11", with -initWithCString:encoding: at UTF-8 (encoding 4).
|
readnonatomicassign |
Whether challenge mode is engaged.
Written by -setChallengeMode:.
|
readnonatomicassign |
Whether the challenge is open.
|
readwritenonatomicassign |
Whether automatic play is enabled.
|
readnonatomicassign |
Whether the reward feature is enabled for this session.
|
readwritenonatomicassign |
Whether the device token still needs to be sent to the servers.
|
readwritenonatomicstrong |
The banner image file name for the current campaign.
|
readwritenonatomicstrong |
The on-disk path of the current campaign's banner image.
|
readnonatomicassign |
The difficulty for the current challenge.
A 4-byte load, so int.
|
readnonatomicassign |
The music identifier for the current challenge.
A 4-byte unsigned load, so unsigned int.
|
readnonatomicassign |
The client identification dictionary sent to the servers.
Five entries, built with +dictionaryWithObjects:forKeys:count: and a count of exactly 5 — the slot count is read from the stack setup at 0x8100-0x81d4 rather than from the decompile, which renders this kind of constructor with only its first argument:
"uuid" the MD5 hex digest of musicListKey with "STORE" appended "version" +appVersion "device" +deviceName "os" UIDevice.currentDevice.systemVersion "locale" NSLocale.currentLocale.localeIdentifier
The "uuid" entry is the MD5 of musicListKey with "STORE" appended. Despite that selector name, musicListKey is not derived from any music list: it is a per-install identifier persisted in the keychain, minted with CFUUIDCreate the first time it is missing. So the "uuid" value is a stable per-install identifier after all, though it reaches that state by a route neither key name suggests.
|
readnonatomicassign |
The currently-selected interface theme.
Backed by _currentTheme (0x34960c). The getter is ldr w0 — a 4-byte load — so the ivar is a 32-bit integer and is spelled unsigned int rather than NSInteger. The signedness is not a guess: -changeTheme: boxes the same value with +[NSNumber numberWithUnsignedInt:] at 0x85e4 before writing it to the defaults.
|
readnonatomicassign |
The device model identifier, for example "iPhone9,3".
Reads hw.machine through sysctlbyname and wraps it in an NSString; when the sysctl reports a zero length it falls back to UIDevice.currentDevice.model.
|
readnonatomicassign |
The APNs device token, retained as received.
Backed by _deviceToken (0x349670). An NSString, not the NSData the callback receives: -application:didRegisterForRemoteNotificationsWithDeviceToken: stores the token's -description with the angle brackets and spaces stripped out.
|
readnonatomicassign |
The device idiom and screen class this build has classified the device as.
Backed by _deviceType (0x349600), an 8-byte integer rather than an object despite the getter loading a full word.
|
readnonatomicassign |
Whether Game Center is usable in this session.
Backed by _gameCenterAvailable (0x349604). The getter is a ldrb, so the ivar is one byte and the type is BOOL rather than a wider integer.
|
readnonatomicassign |
The local player's Game Center alias, or nil when it cannot be had.
Computed rather than stored. It returns nil on two separate paths: when gameCenterAvailable is NO, and when GKLocalPlayer.localPlayer is not authenticated.
|
readwritenonatomicassign |
The number of unseen recommendation entries.
A 4-byte load, so int.
|
readnonatomicassign |
Whether the screen has the taller four-inch aspect ratio.
Computed as (deviceType - 2) < 4 unsigned, so it is true for device types 2 to 5.
|
readnonatomicassign |
Whether the extend option is enabled.
Written by -setExtendFlag:.
|
readwritenonatomicassign |
Whether the hinabita collaboration mode is active.
|
readnonatomicassign |
Whether the hold option is enabled.
Written by -setHoldFlag:.
|
readwritenonatomicassign |
Whether marker direction is randomised.
|
readnonatomicassign |
Whether the installed marker set is licensed for play.
Latched to YES by -markerDownloadComplete and never cleared by any compiled setter.
|
readwritenonatomicassign |
Whether the naga/cora collaboration mode is active.
|
readnonatomicassign |
Whether this is an iPad.
Computed as (deviceType | 1) == 7, so it is true for device types 6 and 7. The orr with 1 folds the pair into a single comparison.
|
readnonatomicassign |
Whether this is a retina iPad.
Computed as deviceType == 7 exactly, which is the narrower half of isPad.
|
readnonatomicassign |
Whether this is a retina iPhone.
Computed as (deviceType - 1) < 5 unsigned, so it is true for device types 1 to 5.
|
readnonatomicassign |
Whether the random-note option is enabled.
Written by -setRandomFlag:.
|
readwritenonatomicassign |
Whether the rectangle-wave sound option is enabled.
|
readnonatomicassign |
The identifier of the jcf content download currently in progress.
Cleared to nil by -resetDownLoadIndex.
|
readnonatomicassign |
The installed marker set, as loaded from disk.
|
readnonatomicassign |
The update timestamp that accompanies notificationURL.
Retained as handed in by -setNotificationPageURL:updateTime:. Its concrete class is not yet proven; the two callers, -downloaderFinished: at 0x1f078 and -pushClose: at 0x183090, belong to classes that have not been reconstructed.
|
readnonatomicassign |
The URL of the in-game notification page.
Proven to be an NSURL: -setNotificationPageURL:updateTime: builds it with +[NSURL URLWithString:] at 0x8d1c, whose class pointer at 0x3480b0 resolves to _OBJC_CLASS_$_NSURL.
|
readnonatomicassign |
The device model identifier, by a second copy of the same routine.
Surprising but faithful: this is byte-for-byte the same algorithm as +deviceName — the same hw.machine sysctl, the same UIDevice.currentDevice.model fallback on a zero length, and the same UTF-8 -initWithCString:encoding:. The compiler emitted two complete copies rather than one calling the other, so both are reconstructed rather than collapsed into one.
|
readnonatomicassign |
The queued push notifications, persisted to disk between launches.
Proven mutable: -loadNotification stores the result of sending -mutableCopy to the unarchived object at 0xa828, so the ivar holds a mutable array rather than an immutable one.
|
readnonatomicassign |
The payload of the remote push that launched the application.
Written in exactly one place: -application:didFinishLaunchingWithOptions: stores a -copy of launchOptions[UIApplicationLaunchOptionsRemoteNotificationKey] at 0x96b0, which is why the type is NSDictionary. It stays nil on an ordinary launch, and the launch handler uses its being non-nil as the signal to report the notification back to the servers.
|
readnonatomicassign |
The root view controller of the application.
Backed by _rootViewCtrl (ivar offset global 0x349608). The class is proven rather than assumed: -changeTheme: sends -changeThemeAndGoTitle to this object, and the only implementation of that selector in the binary is -[RootViewController changeThemeAndGoTitle] at 0x1a8a68.
|
readnonatomicassign |
The music-list search term currently in effect.
|
readnonatomicassign |
The campaign selected in the store.
Backed by _storeCampaignID (0x349620).
|
readnonatomicassign |
The genre selected in the store.
Backed by _storeGenreID (0x349618).
|
readwritenonatomicstrong |
The mission text shown on the store screen.
|
readnonatomicassign |
The pack selected in the store.
Backed by _storePackID (0x34961c).
|
readnonatomicassign |
The running total of in-app purchases.
A 4-byte load, so int rather than NSInteger.
|
readnonatomicassign |
The Game Center leaderboard identifier for the total-score board.
Two literals selected by isPad: "jubeat.totalscore" on iPad and "jubeat.totalscorephone" elsewhere. The binary picks between them with a csel rather than a branch.
|
readnonatomicassign |
The User-Agent string sent with the game's web requests.
Backed by _userAgent (0x34966c). Proven to be an NSString by -refreshUserAgent at 0xa260, which assigns the result of +[NSString stringWithFormat:] straight into the ivar.