//
// PlayLayer::playPracticeMusic from 0x10014c328 to 0x10014c390 (104 bytes)
//
// 2 xrefs:
// > PlayLayer::togglePracticeMode @ 0x10014b47c
// > EndLevelLayer::onRestartCheckpoint @ 0x100393dd0
//
// 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:37 +0000
//
void __fastcall PlayLayer::playPracticeMusic(__int64 a1)
{
__int64 v1; // x0
__int64 v2; // x0
__int64 v3; // x19
__int64 v4; // x0
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+1Fh] [xbp-11h]
v1 = FMODAudioEngine::sharedEngine(a1);
v2 = FMODAudioEngine::stopAllMusic(v1, 1);
v3 = FMODAudioEngine::sharedEngine(v2);
v4 = GameManager::sharedState(v3);
GameManager::getPracticeMusicFile(__p, v4);
FMODAudioEngine::playMusic(v3, __p, 1, 0, 0.0);
if ( v6 < 0 )
operator delete(__p[0]);
}