- Logos 77.8%
- Shell 19.7%
- Makefile 2.5%
| .gitignore | ||
| build-dylib.sh | ||
| CHANGELOG.md | ||
| control | ||
| Makefile | ||
| README.md | ||
| rs.nyan.museplusplus.plist | ||
| Tweak.x | ||
rs.nyan.museplusplus — Muse Dash unlock-all
Target: Muse Dash 6.7.0 (com.xd.musedash), Unity/IL2CPP, arm64.
Unlocks all songs, DLC characters, and specifically the Just As Planned DLC.
Derived from the decrypted IPA at /workspace/ios/research/musedash/com.xd.musedash_6.7.0_decrypted.ipa
(sha256 1aa23afe92ecba56c2a1c82aca09cf20de3b71d6e5127033e86c6c3050259b1b), dumped with
Il2CppDumper (metadata v31, CodeRegistration 0x488adb0, MetadataRegistration 0x4a45d50).
The key insight: the game already contains an unlock-all
Assets.Scripts.Helpers.IAPHelper exposes the routines the game itself runs for a
valid activation code:
| Routine | VA | Notes |
|---|---|---|
IAPHelper.UnlockBaseByCode() |
0x1B8DA44 |
unlocks the base album content |
IAPHelper.UnlockAllByCode() |
0x1B8DD38 |
calls UnlockBaseAlbum(), UnlockItem(2), refreshes buffers |
IAPHelper.UnlockJustAsPlanned(bool isSynchrnize = false) |
0x1B8DE94 |
the Just As Planned DLC, by name |
Calling a function requires no patching. That matters: on LiveContainer/iOS 26+
with JIT off, patching the guest's __TEXT is fatal (code-signing monitor), but a
plain call is completely legal. So the unlock works in every environment, and it is
performed by the game's own code — the correct item bindings (character, elfin,
loading, welcome screens) are applied by the game, not guessed by us.
These are invoked on the main queue after il2cpp reports its assemblies are registered, in three passes (+0s, +6s, +20s). They null-check their singleton managers and simply skip when called too early, so repeating is safe.
Gate checks (the hook table)
The calls unlock content; the hooks make the UI report it as owned.
| Method | VA | Kind |
|---|---|---|
IAPHelper.IsPurchasedDlc() |
0x1B8A0A4 |
static |
IAPHelper.get_isAllUnlock() |
0x1B90F64 |
static |
IAPHelper.IsBuyAlbum(string) |
0x1B94BE8 |
static |
IAPHelper.CheckRoleIsUnlocked(CharacterInfo) |
0x1B90B1C |
static |
IAPHelper.IsOldJustAsPlanned() |
0x1B89A14 |
static |
IAPHelper.IsOldJustAsPlannedTime() |
0x1B8A008 |
static |
SavedRoleElfinConfigModel.CheckRoleIsUnlocked(int) |
0x19FC998 |
instance |
SavedRoleElfinConfigModel.CheckElfinIsUnlocked(int) |
0x19FC9D0 |
instance |
SavedRoleElfinConfigModel.CheckRoleIsUnlocked(CharacterInfo) |
0x19FBE54 |
instance |
SavedRoleElfinConfigModel.CheckElfinIsUnlocked(ElfinInfo) |
0x19FBFB0 |
instance |
SpecialSongUnLockDataModel.CheckSpecialSongIsUnlocked(string) |
0x1A09978 |
static |
rail.IRailDlcHelperImpl.IsOwnedDlc(RailDlcID) |
0x1A49D50 |
virtual (slot 17) |
rail.IRailDlcHelperImpl.IsDlcInstalled(RailDlcID) |
0x1A49BCC |
virtual |
PCIAPManager.IsHasJustAsPlanned() |
0x170F550 |
instance |
PCIAPManager.IsHasJustAsPlannedInt() |
0x170F548 |
instance, returns int → 1 |
Namespaces: Assets.Scripts.Helpers (IAPHelper), FSG.Utilities (the saved
role/elfin and special-song models), rail (Unity's resource loader DLC helper),
Assets.Scripts.Purchase.PC (PCIAPManager).
Two hooking modes (same as the Cytus II tweak)
Mode is chosen at load from _NSGetExecutablePath() plus the loaded image list —
LiveContainer rewrites _NSGetExecutablePath to the guest path, so the usable
signals are the guest bundle location /Documents/Applications/ and any image path
containing LiveContainer.app.
- Inline (jailbroken):
MSHookFunctionon the method's first instructions. Name resolution first (survives updates), VA fallback validated by prologue check. - Data-only (LiveContainer, iOS 26+, JIT off): zero text patching. Resolves
MethodInfo*and redirects the implementation pointer in writable runtime structures (MethodInfo.methodPointerwhen writable, plus vtable / interface-shim words reached from the class struct). Struct offsets are measured at runtime (find_name_offset,find_klass_offset) — the Cytus II work proved assuming them silently redirects nothing.
Only the two rail methods are virtual, so under LiveContainer the data-only path
covers those; the static/instance gate checks are direct compiled calls and are not
redirectable there. That is acceptable by design, because the unlock itself comes
from calling the game's routines, which works in both modes.
Build
./build-dylib.sh # release dylib -> dist/
./build-dylib.sh --livecontainer # also emits the LiveContainer-ready dylib
./build-dylib.sh --clean
Theos must run as the non-root dev user:
su dev -c 'cd <repo>; export THEOS=/workspace/ios/theos; . ~/.theos-device.env; make package FINALPACKAGE=1'
Status (0.1.0)
Built clean; installed on the jailbroken iPhone XS. Not yet verified in-game — needs a launch of Muse Dash.
Scope
Local only. No server contact, no modified files, no touched receipts. The unlock is performed by the game's own activation-code code path.