//
// EditorPauseLayer::playStep2 from 0x100444a14 to 0x100444ac8 (180 bytes)
//
// 1 xrefs:
// > EditorPauseLayer::onSaveAndPlay @ 0x100444400
//
// 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 11:05:14 +0000
//
__int64 __fastcall EditorPauseLayer::playStep2(__int64 a1)
{
__int64 v2; // x0
__int64 v3; // x20
float *v4; // x20
char v5; // w0
__int64 v6; // x1
__int64 v7; // x2
__int64 v8; // x3
__int64 v9; // x4
__int64 v10; // x5
__int64 v11; // x6
__int64 v12; // x7
__int64 v13; // x0
void *__p[2]; // [xsp+18h] [xbp-28h] BYREF
char v16; // [xsp+2Fh] [xbp-11h]
v2 = FMODAudioEngine::sharedEngine();
FMODAudioEngine::unloadAllEffects(v2);
v3 = FMODAudioEngine::sharedEngine();
GJGameLevel::getAudioFileName(*(_QWORD *)(*(_QWORD *)(a1 + 576) + 1936LL), __p);
FMODAudioEngine::loadMusic(v3, (__int128 *)__p, 1, 0, 0, 0, 1.0, 0.0, 1.0);
if ( v16 < 0 )
operator delete(__p[0]);
v4 = cocos2d::CCDelayTime::create(0.0);
v5 = (unsigned __int8)cocos2d::CCCallFunc::create(a1, (__int64)EditorPauseLayer::playStep3, 0);
v13 = sub_10021D420((__int64)v4, v6, v7, v8, v9, v10, v11, v12, v5);
return cocos2d::CCNode::runAction(a1, v13);
}