// // PlayLayer::toggleMusicInPractice from 0x10014773c to 0x1001477a8 (108 bytes) // // 1 xrefs: // > @ 0x1008dfa48 // // This function is hookable on this platform (idp: arm, 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 10:59:35 +0000 // void __fastcall PlayLayer::toggleMusicInPractice(__int64 a1) { __int64 v2; // x0 __int64 v3; // x0 bool v4; // w8 __int64 v5; // x0 int v6; // w0 v2 = GameStatsManager::sharedState(a1); v3 = sub_1003D4738(v2, 12, 17); if ( (v3 & 1) != 0 ) { v4 = 1; } else { v5 = GameManager::sharedState(v3); GameManager::getGameVariable(v5, "0125"); if ( v6 ) v4 = *(_DWORD *)(*(_QWORD *)(a1 + 1936) + 1140LL) == 2; else v4 = 0; } *(_BYTE *)(a1 + 12545) = v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source