//
// PlayLayer::playPracticeMusic from 0x402cf0 to 0x402d4c (92 bytes)
//
// 2 xrefs:
// > PlayLayer::togglePracticeMode @ 0x4079b2
// > EndLevelLayer::onRestartCheckpoint @ 0x535508
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:47:25 +0000
//
int __fastcall PlayLayer::playPracticeMusic(PlayLayer *this)
{
FMODAudioEngine *v1; // r0
char **v2; // r0
GameManager *v3; // r6
_BYTE v5[12]; // [sp+8h] [bp-10h] BYREF
v1 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine(this);
v2 = FMODAudioEngine::stopAllMusic(v1, 1);
v3 = (GameManager *)FMODAudioEngine::sharedEngine((FMODAudioEngine *)v2);
GameManager::sharedState(v3);
GameManager::getPracticeMusicFile((GameManager *)v5);
FMODAudioEngine::playMusic(v3, (int)v5, 1, 0.0, 0);
return std::string::~string((int)v5);
}