JubeatPlus 3.9.11
Loading...
Searching...
No Matches
JubeatAppDelegate.h File Reference

The application delegate for jubeat plus: owns the root view controller, exposes the device and client identification the servers are told about, holds the persisted gameplay option flags and store selection state, and drives the application lifecycle and notification handling. More...

import <UIKit/UIKit.h>
Include dependency graph for JubeatAppDelegate.h:

Go to the source code of this file.

Classes

class  JubeatAppDelegate
 The application delegate for jubeat plus. More...

Enumerations

enum  JubeatTheme : unsigned int { JubeatThemeOriginal = 0 , JubeatThemeRipples = 1 , JubeatThemeKnit = 2 }
 The three skins the game ships. More...
enum  JubeatDeviceType : NSUInteger {
  JubeatDeviceTypePhone = 0 , JubeatDeviceTypePhoneRetina = 1 , JubeatDeviceTypePhoneRetina4Inch = 2 , JubeatDeviceTypePhoneRetina47Inch = 3 ,
  JubeatDeviceTypePhoneRetinaHD47Inch = 4 , JubeatDeviceTypePhoneRetinaHD = 5 , JubeatDeviceTypePad = 6 , JubeatDeviceTypePadRetina = 7
}
 The device classes this build distinguishes. More...

Detailed Description

The application delegate for jubeat plus: owns the root view controller, exposes the device and client identification the servers are told about, holds the persisted gameplay option flags and store selection state, and drives the application lifecycle and notification handling.

Reconstructed from Ghidra program Jubeat (class JubeatAppDelegate, image base 0x100000000). All

Ghidra address:
values are offsets relative to that image base.

RECONSTRUCTION STATE: complete. The property list is every accessor in the two blocks at 0x8c38-0x8dd4 and 0xb848-0xbb34, all of which were disassembled rather than read from the decompile. The ivar names come from the ObjC ivar offset globals at 0x349600-0x349690, which is runtime metadata and therefore authoritative.

Where a property's concrete class has not been proven from the code, the doc comment says so rather than guessing. Those types are tightened as each writer is reconstructed.

Enumeration Type Documentation

◆ JubeatDeviceType

enum JubeatDeviceType : NSUInteger

The device classes this build distinguishes.

The binary names none of these; the names below come from the classifier at 0x9748-0x97d0 and 0xa180-0xa25c, which decides purely on UIDevice.userInterfaceIdiom, UIScreen.scale, and UIScreen.bounds.size.height. The two heights it compares against are the pooled doubles at 0x28dfd0 and 0x28dfd8, which decode to 667.0 and 568.0.

The ordering is not arbitrary: the four idiom predicates test contiguous ranges of it, which is why the phone classes run 0 to 5 and the pad classes are the top pair.

Enumerator
JubeatDeviceTypePhone 

Non-retina phone: idiom Phone, scale neither 2 nor 3.

JubeatDeviceTypePhoneRetina 

Retina phone, 480-point screen: scale 2, height neither 667 nor 568.

JubeatDeviceTypePhoneRetina4Inch 

Four-inch retina phone: scale 2, height 568.

JubeatDeviceTypePhoneRetina47Inch 

4.7-inch retina phone: scale 2, height 667.

JubeatDeviceTypePhoneRetinaHD47Inch 

Scale-3 phone showing a 667-point screen, which is display zoom on a 5.5-inch device.

JubeatDeviceTypePhoneRetinaHD 

Scale-3 phone at its native height.

JubeatDeviceTypePad 

Non-retina pad: idiom not Phone, scale not 2.

JubeatDeviceTypePadRetina 

Retina pad: idiom not Phone, scale 2.

◆ JubeatTheme

enum JubeatTheme : unsigned int

The three skins the game ships.

The binary names all three. The theme picker's row pattern images are theme_classic , theme_ripples , and theme_knit in this enumeration's order, and the latter two skins persist their colour choice under PrefColorRipples and PrefColorKnit . The classes the transition dispatcher picks between at 0x1a9604 agree: theme 1 builds TitleViewControllerRpl and anything else builds TitleViewControllerOrg, while theme 2 is routed through -[RootViewController createKnitTitleViewController] before either test is reached.

-[KnitColorManager setColorWithType:] indexes its palette table with a value from the same range, which is what ties the colour scheme to the skin.

Enumerator
JubeatThemeOriginal 

The game's own livery.

Also the value written back when the stored one is missing.

JubeatThemeRipples 

The ripples livery.

JubeatThemeKnit 

The knit livery, built by a dedicated factory rather than allocated inline.