{"type": "func", "start": 5369075936, "end": 5369076210, "name": "FMODAudioEngine::stopAllEffects", "pseudocode": "// \n// FMODAudioEngine::stopAllEffects from 0x1400598e0 to 0x1400599f2 (274 bytes)\n// \n// 13 xrefs:\n// > FMODAudioEngine::clearAllAudio @ 0x140055319\n// > FMODAudioEngine::unloadAllEffects @ 0x140059ada\n// > CustomSFXWidget::onPlayback @ 0x1400c1c6e\n// > CustomSFXWidget::FLAlert_Clicked @ 0x1400c282f\n// > EditorUI::onPlayback @ 0x140111c0b\n// > LevelEditorLayer::onStopPlaytest @ 0x1402e0ddf\n// > PlayLayer::destroyPlayer @ 0x1403b403a\n// > PlayLayer::resetLevel @ 0x1403b8f97\n// > PlayLayer::resumeAndRestart @ 0x1403ba437\n// > SetupReverbPopup::onPlay @ 0x140446e24\n// > SetupReverbPopup::onClose @ 0x1404470fb\n// > SetupSFXPopup::onClose @ 0x1404485c0\n// > <???> @ 0x1406c5244\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid FMODAudioEngine::stopAllEffects(FMODAudioEngine *a1)\n{\n  std::_List_val<std::_List_simple_types<std::pair<const int, FMOD::ChannelGroup *>>>::_Nodeptr Myhead; // rdi\n  __int64 *i; // rbx\n  std::_List_val<std::_List_simple_types<std::pair<const int, FMOD::ChannelGroup *>>>::_Nodeptr v4; // rdi\n  __int64 *j; // rbx\n\n  FMOD::ChannelControl::stop(a1->m_globalChannel);\n  Myhead = a1->m_globalChannelGroups._List._Mypair._Myval2._Myhead;\n  for ( i = *(__int64 **)Myhead; i != (__int64 *)Myhead; i = (__int64 *)*i )\n  {\n    FMOD::ChannelControl::stop((FMOD::ChannelControl *)i[3]);\n    FMOD::ChannelGroup::release((FMOD::ChannelGroup *)i[3]);\n  }\n  v4 = a1->m_reverbChannelGroups._List._Mypair._Myval2._Myhead;\n  for ( j = *(__int64 **)v4; j != (__int64 *)v4; j = (__int64 *)*j )\n  {\n    FMOD::ChannelControl::stop((FMOD::ChannelControl *)j[3]);\n    FMOD::ChannelGroup::release((FMOD::ChannelGroup *)j[3]);\n  }\n  sub_14005D290(&a1->m_globalChannelGroups);\n  sub_14005D290(&a1->m_reverbChannelGroups);\n  sub_14005E0D0(&a1->m_audioState.m_volumeForEffectGroups);\n  sub_14005E0D0(&a1->m_audioState.m_volumeModForEffectGroups);\n  sub_14005E0D0(&a1->m_audioState.m_pitchForEffectGroups);\n  sub_14005E0D0(&a1->m_audioState.m_volumeForEffectChannels);\n  sub_14005E0D0(&a1->m_audioState.m_volumeModForEffectChannels);\n  sub_14005E0D0(&a1->m_audioState.m_pitchForEffectChannels);\n  sub_14005E0D0(&a1->m_audioState.m_intervalForEffects);\n}", "assembly": "; \n; FMODAudioEngine::stopAllEffects from 0x1400598e0 to 0x1400599f2 (274 bytes)\n; \n; 13 xrefs:\n; > FMODAudioEngine::clearAllAudio @ 0x140055319\n; > FMODAudioEngine::unloadAllEffects @ 0x140059ada\n; > CustomSFXWidget::onPlayback @ 0x1400c1c6e\n; > CustomSFXWidget::FLAlert_Clicked @ 0x1400c282f\n; > EditorUI::onPlayback @ 0x140111c0b\n; > LevelEditorLayer::onStopPlaytest @ 0x1402e0ddf\n; > PlayLayer::destroyPlayer @ 0x1403b403a\n; > PlayLayer::resetLevel @ 0x1403b8f97\n; > PlayLayer::resumeAndRestart @ 0x1403ba437\n; > SetupReverbPopup::onPlay @ 0x140446e24\n; > SetupReverbPopup::onClose @ 0x1404470fb\n; > SetupSFXPopup::onClose @ 0x1404485c0\n; > <???> @ 0x1406c5244\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1400598e0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x1400598e5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x1400598ea\nmov     [rsp+arg_18], rdi                                              ; +0xf, 0x1400598ef\npush    r14                                                            ; +0x14, 0x1400598f4\nsub     rsp, 20h                                                       ; +0x16, 0x1400598f6\nmov     rsi, rcx                                                       ; +0x1a, 0x1400598fa\nmov     rcx, [rcx+248h]                                                ; +0x1d, 0x1400598fd\ncall    cs:?stop@ChannelControl@FMOD@@QEAA?AW4FMOD_RESULT@@XZ; FMOD::ChannelControl::stop(void) ; +0x24, 0x140059904\nmov     rdi, [rsi+7F0h]                                                ; +0x2a, 0x14005990a\nmov     rbx, [rdi]                                                     ; +0x31, 0x140059911\ncmp     rbx, rdi                                                       ; +0x34, 0x140059914\njz      short loc_14005993C                                            ; +0x37, 0x140059917\nnop     dword ptr [rax+00000000h]                                      ; +0x39, 0x140059919\nmov     rcx, [rbx+18h]                                                 ; +0x40, 0x140059920\ncall    cs:?stop@ChannelControl@FMOD@@QEAA?AW4FMOD_RESULT@@XZ; FMOD::ChannelControl::stop(void) ; +0x44, 0x140059924\nmov     rcx, [rbx+18h]                                                 ; +0x4a, 0x14005992a\ncall    cs:?release@ChannelGroup@FMOD@@QEAA?AW4FMOD_RESULT@@XZ; FMOD::ChannelGroup::release(void) ; +0x4e, 0x14005992e\nmov     rbx, [rbx]                                                     ; +0x54, 0x140059934\ncmp     rbx, rdi                                                       ; +0x57, 0x140059937\njnz     short loc_140059920                                            ; +0x5a, 0x14005993a\nmov     rdi, [rsi+830h]                                                ; +0x5c, 0x14005993c\nmov     rbx, [rdi]                                                     ; +0x63, 0x140059943\ncmp     rbx, rdi                                                       ; +0x66, 0x140059946\njz      short loc_14005996C                                            ; +0x69, 0x140059949\nnop     dword ptr [rax+rax+00h]                                        ; +0x6b, 0x14005994b\nmov     rcx, [rbx+18h]                                                 ; +0x70, 0x140059950\ncall    cs:?stop@ChannelControl@FMOD@@QEAA?AW4FMOD_RESULT@@XZ; FMOD::ChannelControl::stop(void) ; +0x74, 0x140059954\nmov     rcx, [rbx+18h]                                                 ; +0x7a, 0x14005995a\ncall    cs:?release@ChannelGroup@FMOD@@QEAA?AW4FMOD_RESULT@@XZ; FMOD::ChannelGroup::release(void) ; +0x7e, 0x14005995e\nmov     rbx, [rbx]                                                     ; +0x84, 0x140059964\ncmp     rbx, rdi                                                       ; +0x87, 0x140059967\njnz     short loc_140059950                                            ; +0x8a, 0x14005996a\nlea     rcx, [rsi+7E8h]                                                ; +0x8c, 0x14005996c\ncall    sub_14005D290                                                  ; +0x93, 0x140059973\nlea     rcx, [rsi+828h]                                                ; +0x98, 0x140059978\ncall    sub_14005D290                                                  ; +0x9f, 0x14005997f\nlea     rcx, [rsi+368h]                                                ; +0xa4, 0x140059984\ncall    sub_14005E0D0                                                  ; +0xab, 0x14005998b\nlea     rcx, [rsi+3A8h]                                                ; +0xb0, 0x140059990\ncall    sub_14005E0D0                                                  ; +0xb7, 0x140059997\nlea     rcx, [rsi+3E8h]                                                ; +0xbc, 0x14005999c\ncall    sub_14005E0D0                                                  ; +0xc3, 0x1400599a3\nlea     rcx, [rsi+2A8h]                                                ; +0xc8, 0x1400599a8\ncall    sub_14005E0D0                                                  ; +0xcf, 0x1400599af\nlea     rcx, [rsi+2E8h]                                                ; +0xd4, 0x1400599b4\ncall    sub_14005E0D0                                                  ; +0xdb, 0x1400599bb\nlea     rcx, [rsi+328h]                                                ; +0xe0, 0x1400599c0\ncall    sub_14005E0D0                                                  ; +0xe7, 0x1400599c7\nlea     rcx, [rsi+4E8h]                                                ; +0xec, 0x1400599cc\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xf3, 0x1400599d3\nmov     rbp, [rsp+28h+arg_8]                                           ; +0xf8, 0x1400599d8\nmov     rsi, [rsp+28h+arg_10]                                          ; +0xfd, 0x1400599dd\nmov     rdi, [rsp+28h+arg_18]                                          ; +0x102, 0x1400599e2\nadd     rsp, 20h                                                       ; +0x107, 0x1400599e7\npop     r14                                                            ; +0x10b, 0x1400599eb\njmp     sub_14005E0D0                                                  ; +0x10d, 0x1400599ed", "xrefs": ["FMODAudioEngine::clearAllAudio @ 0x140055319", "FMODAudioEngine::unloadAllEffects @ 0x140059ada", "CustomSFXWidget::onPlayback @ 0x1400c1c6e", "CustomSFXWidget::FLAlert_Clicked @ 0x1400c282f", "EditorUI::onPlayback @ 0x140111c0b", "LevelEditorLayer::onStopPlaytest @ 0x1402e0ddf", "PlayLayer::destroyPlayer @ 0x1403b403a", "PlayLayer::resetLevel @ 0x1403b8f97", "PlayLayer::resumeAndRestart @ 0x1403ba437", "SetupReverbPopup::onPlay @ 0x140446e24", "SetupReverbPopup::onClose @ 0x1404470fb", "SetupSFXPopup::onClose @ 0x1404485c0", "<???> @ 0x1406c5244"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}