//
// AppDelegate::musicTest from 0x10065c660 to 0x10065c6ca (106 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool __fastcall AppDelegate::musicTest(AppDelegate *a1)
{
bool v1; // bl
cocos2d::CCScene *m_pRunningScene; // r14
GameManager *v3; // rax
v1 = 1;
if ( !GameManager::sharedState()->m_loadingLevel )
{
m_pRunningScene = cocos2d::CCDirector::sharedDirector()->m_pRunningScene;
if ( m_pRunningScene )
{
if ( !GameManager::sharedState()->m_playLayer )
return m_pRunningScene->m_eObjType == LevelEditorLayerObjectType;
if ( !cocos2d::CCApplication::sharedApplication()[1].m_resourceRootPath.m_data.m_short.shortStorage.__elems_[0] )
{
v3 = GameManager::sharedState();
if ( PlayLayer::isGameplayActive(v3->m_playLayer) )
return m_pRunningScene->m_eObjType == LevelEditorLayerObjectType;
}
}
else
{
return 0;
}
}
return v1;
}