// // GJBaseGameLayer::activateSongEditTrigger from 0x484a74 to 0x484af4 (128 bytes) // // 3 xrefs: // > LevelEditorLayer::activateTriggerEffect @ 0x36deb6 // > EffectGameObject::triggerObject @ 0x3ee47e // > GJBaseGameLayer::processQueuedAudioTriggers @ 0x484de4 // // 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 GJBaseGameLayer::activateSongEditTrigger(GJBaseGameLayer *a1, SongTriggerGameObject *a2) { _DWORD v4[2]; // [sp+0h] [bp-8h] BYREF v4[0] = a1; v4[1] = a2; if ( a1->m_practiceMusicSync || !a1->m_isPracticeMode ) { a1->activatedAudioTrigger(a1, a2); if ( !a1->m_loadingStartPosition ) { if ( a1->m_startingFromBeginning ) { v4[0] = a2; std::vector::emplace_back( (const void **)&a1->m_activeSfxTriggers.m_start, v4); } else { GJBaseGameLayer::applySFXEditTrigger(a1, a2->m_songChannel, 2, a2); if ( a2->m_targetGroupID > 0 ) GJBaseGameLayer::addProximityVolumeEffect(a1, a2->m_songChannel, 2, a2); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source