// // GameOptionsLayer::onPracticeMusicSync from 0x10029ea60 to 0x10029eade (126 bytes) // // 1 xrefs: // > GameOptionsLayer::setupOptions @ 0x10029e66d // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:27:54 +0000 // __int64 __fastcall GameOptionsLayer::onPracticeMusicSync(__int64 a1) { __int64 v1; // rax __int64 v2; // rax unsigned __int8 v3; // r14 __int64 v4; // rax v1 = GameStatsManager::sharedState(); if ( !(unsigned __int8)GameStatsManager::isItemUnlocked(v1, 12, 0x11u) ) return sub_10029EC20(a1); v2 = GameStatsManager::sharedState(); v3 = GameStatsManager::isItemEnabled(v2, 12, 0x11u) ^ 1; v4 = GameStatsManager::sharedState(); GameStatsManager::toggleEnableItem(v4, 12, 0x11u, v3); return (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1120) + 1592LL))(*(_QWORD *)(a1 + 1120)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source