// // PlayLayer::toggleMusicInPractice from 0x100087420 to 0x100087480 (96 bytes) // // 1 xrefs: // > @ 0x100abb130 // // 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:20:05 +0000 // __int64 __fastcall PlayLayer::toggleMusicInPractice(__int64 a1) { __int64 v2; // rdi __int64 result; // rax __int64 v4; // rdx bool v5; // cl __int64 v6; // rax v2 = GameStatsManager::sharedState(); result = GameStatsManager::isItemEnabled(v2, 12, 0x11u); v5 = 1; if ( !(_BYTE)result ) { GameManager::sharedState(v2, 12, v4); result = GameManager::getGameVariable(v6, "0125"); if ( (_BYTE)result ) { result = *(_QWORD *)(a1 + 1936); v5 = *(_DWORD *)(result + 1140) == 2; } else { v5 = 0; } } *(_BYTE *)(a1 + 12545) = v5; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source