//
// EditorPauseLayer::playStep2 from 0x5091f8 to 0x509294 (156 bytes)
//
// 0 xrefs:
//
// 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:51:26 +0000
//
int __fastcall EditorPauseLayer::playStep2(EditorPauseLayer *this)
{
FMOD::ChannelControl **v2; // r0
unsigned __int8 *v3; // r0
int v4; // r7
float v5; // r1
cocos2d::CCSequence *v6; // r7
cocos2d::CCFiniteTimeAction *v7; // r0
cocos2d::CCAction *v8; // r0
unsigned __int8 v10[12]; // [sp+20h] [bp-14h] BYREF
v2 = (FMOD::ChannelControl **)FMODAudioEngine::sharedEngine(this);
v3 = FMODAudioEngine::unloadAllEffects(v2);
v4 = FMODAudioEngine::sharedEngine((FMODAudioEngine *)v3);
GJGameLevel::getAudioFileName((GJGameLevel *)v10, *(_DWORD *)(*((_DWORD *)this + 114) + 1408));
FMODAudioEngine::loadMusic(v4, v10, 1.0, 0, 1.0, 1, 0, 0, 0);
std::string::~string((int)v10);
v6 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(nullptr, v5);
v7 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(this, EditorPauseLayer::playStep3, 0);
v8 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v6, v7, 0);
return cocos2d::CCNode::runAction(this, v8);
}