// // EditorPauseLayer::playStep2 from 0x78b27c to 0x78b3dc (352 bytes) // // 3 xrefs: // > @ 0xa33b0 // > EditorPauseLayer::onSaveAndPlay @ 0x78e89c // > @ 0x122da18 // // 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 // void EditorPauseLayer::playStep2(EditorPauseLayer *a1) { FMODAudioEngine *v2; // x0 FMODAudioEngine *v3; // x22 void *v4; // x0 cocos2d::CCSequence *v5; // x20 cocos2d::CCFiniteTimeAction *v6; // x0 cocos2d::CCAction *v7; // x0 unsigned int *v8; // x2 int v9; // w1 __int64 v10; // [xsp+50h] [xbp+50h] BYREF v2 = FMODAudioEngine::sharedEngine(); FMODAudioEngine::unloadAllEffects(v2); v3 = FMODAudioEngine::sharedEngine(); GJGameLevel::getAudioFileName(&v10, a1->m_editorLayer->m_level); FMODAudioEngine::loadMusic((__int64)v3, &v10, 1u, 0, 0, 0, 1.0, 0.0, 1.0); v4 = (void *)(v10 - 24); if ( (__int64 *)(v10 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v8 = (unsigned int *)(v10 - 8); do v9 = __ldaxr(v8); while ( __stlxr(v9 - 1, v8) ); } else { v9 = *(_DWORD *)(v10 - 8); *(_DWORD *)(v10 - 8) = v9 - 1; } if ( v9 <= 0 ) operator delete(v4); } v5 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(0.0); v6 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(a1, EditorPauseLayer::playStep3, 0); v7 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v5, v6, 0); cocos2d::CCNode::runAction(a1, v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source