{"type": "func", "start": 4296248380, "end": 4296248548, "name": "FMODAudioEngine::stopAllEffects", "pseudocode": "// \n// FMODAudioEngine::stopAllEffects from 0x100138c3c to 0x100138ce4 (168 bytes)\n// \n// 12 xrefs:\n// > PlayLayer::destroyPlayer @ 0x10011ed38\n// > PlayLayer::resetLevel @ 0x100121c08\n// > PlayLayer::resumeAndRestart @ 0x10012296c\n// > FMODAudioEngine::clearAllAudio @ 0x100138bc8\n// > FMODAudioEngine::unloadAllEffects @ 0x10013cd04\n// > SetupReverbPopup::onPlay @ 0x10017f9ac\n// > SetupReverbPopup::onClose @ 0x10017fa00\n// > SetupSFXPopup::onClose @ 0x100180c3c\n// > CustomSFXWidget::onPlayback @ 0x1002f0b24\n// > CustomSFXWidget::deleteSFX @ 0x1002f1388\n// > LevelEditorLayer::stopPlayback @ 0x100362740\n// > LevelEditorLayer::onStopPlaytest @ 0x100363540\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 __fastcall FMODAudioEngine::stopAllEffects(FMODAudioEngine *a1)\n{\n  std::__hash_node_base<std::__hash_node<std::__hash_value_type<int, FMOD::ChannelGroup *>, void *> *>::__next_pointer i; // x20\n  std::__hash_node_base<std::__hash_node<std::__hash_value_type<int, FMOD::ChannelGroup *>, void *> *>::__next_pointer j; // x20\n\n  FMOD::ChannelControl::stop(a1->m_globalChannel);\n  for ( i = a1->m_globalChannelGroups.__table_.__p1_.__value_.__next_; i; i = i->__next_ )\n  {\n    FMOD::ChannelControl::stop((FMOD::ChannelControl *)i[3].__next_);\n    FMOD::ChannelGroup::release((FMOD::ChannelGroup *)i[3].__next_);\n  }\n  for ( j = a1->m_reverbChannelGroups.__table_.__p1_.__value_.__next_; j; j = j->__next_ )\n  {\n    FMOD::ChannelControl::stop((FMOD::ChannelControl *)j[3].__next_);\n    FMOD::ChannelGroup::release((FMOD::ChannelGroup *)j[3].__next_);\n  }\n  sub_100018054(&a1->m_globalChannelGroups.__table_.__bucket_list_.__ptr_.__value_);\n  sub_100018054(&a1->m_reverbChannelGroups.__table_.__bucket_list_.__ptr_.__value_);\n  sub_100018054(&a1->m_audioState.m_volumeForEffectGroups.__table_.__bucket_list_.__ptr_.__value_);\n  sub_100018054(&a1->m_audioState.m_volumeModForEffectGroups.__table_.__bucket_list_.__ptr_.__value_);\n  sub_100018054(&a1->m_audioState.m_pitchForEffectGroups.__table_.__bucket_list_.__ptr_.__value_);\n  sub_100018054(&a1->m_audioState.m_volumeForEffectChannels.__table_.__bucket_list_.__ptr_.__value_);\n  sub_100018054(&a1->m_audioState.m_volumeModForEffectChannels.__table_.__bucket_list_.__ptr_.__value_);\n  sub_100018054(&a1->m_audioState.m_pitchForEffectChannels.__table_.__bucket_list_.__ptr_.__value_);\n  sub_100018054(&a1->m_audioState.m_intervalForEffects.__table_.__bucket_list_.__ptr_.__value_);\n}", "assembly": "; \n; FMODAudioEngine::stopAllEffects from 0x100138c3c to 0x100138ce4 (168 bytes)\n; \n; 12 xrefs:\n; > PlayLayer::destroyPlayer @ 0x10011ed38\n; > PlayLayer::resetLevel @ 0x100121c08\n; > PlayLayer::resumeAndRestart @ 0x10012296c\n; > FMODAudioEngine::clearAllAudio @ 0x100138bc8\n; > FMODAudioEngine::unloadAllEffects @ 0x10013cd04\n; > SetupReverbPopup::onPlay @ 0x10017f9ac\n; > SetupReverbPopup::onClose @ 0x10017fa00\n; > SetupSFXPopup::onClose @ 0x100180c3c\n; > CustomSFXWidget::onPlayback @ 0x1002f0b24\n; > CustomSFXWidget::deleteSFX @ 0x1002f1388\n; > LevelEditorLayer::stopPlayback @ 0x100362740\n; > LevelEditorLayer::onStopPlaytest @ 0x100363540\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100138c3c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100138c40\nADD             X29, SP, #0x10                                         ; +0x8, 0x100138c44\nMOV             X19, X0                                                ; +0xc, 0x100138c48\nLDR             X0, [X0,#0x200]                                        ; +0x10, 0x100138c4c\nBL              FMOD__ChannelControl__stop                             ; +0x14, 0x100138c50\nLDR             X20, [X19,#0x5E8]                                      ; +0x18, 0x100138c54\nCBZ             X20, loc_100138C74                                     ; +0x1c, 0x100138c58\nLDR             X0, [X20,#0x18]                                        ; +0x20, 0x100138c5c\nBL              FMOD__ChannelControl__stop                             ; +0x24, 0x100138c60\nLDR             X0, [X20,#0x18]                                        ; +0x28, 0x100138c64\nBL              FMOD__ChannelGroup__release                            ; +0x2c, 0x100138c68\nLDR             X20, [X20]                                             ; +0x30, 0x100138c6c\nCBNZ            X20, loc_100138C5C                                     ; +0x34, 0x100138c70\nLDR             X20, [X19,#0x610]                                      ; +0x38, 0x100138c74\nCBZ             X20, loc_100138C94                                     ; +0x3c, 0x100138c78\nLDR             X0, [X20,#0x18]                                        ; +0x40, 0x100138c7c\nBL              FMOD__ChannelControl__stop                             ; +0x44, 0x100138c80\nLDR             X0, [X20,#0x18]                                        ; +0x48, 0x100138c84\nBL              FMOD__ChannelGroup__release                            ; +0x4c, 0x100138c88\nLDR             X20, [X20]                                             ; +0x50, 0x100138c8c\nCBNZ            X20, loc_100138C7C                                     ; +0x54, 0x100138c90\nADD             X0, X19, #0x5D8                                        ; +0x58, 0x100138c94\nBL              sub_100018054                                          ; +0x5c, 0x100138c98\nADD             X0, X19, #0x600                                        ; +0x60, 0x100138c9c\nBL              sub_100018054                                          ; +0x64, 0x100138ca0\nADD             X0, X19, #0x2F0                                        ; +0x68, 0x100138ca4\nBL              sub_100018054                                          ; +0x6c, 0x100138ca8\nADD             X0, X19, #0x318                                        ; +0x70, 0x100138cac\nBL              sub_100018054                                          ; +0x74, 0x100138cb0\nADD             X0, X19, #0x340                                        ; +0x78, 0x100138cb4\nBL              sub_100018054                                          ; +0x7c, 0x100138cb8\nADD             X0, X19, #0x278                                        ; +0x80, 0x100138cbc\nBL              sub_100018054                                          ; +0x84, 0x100138cc0\nADD             X0, X19, #0x2A0                                        ; +0x88, 0x100138cc4\nBL              sub_100018054                                          ; +0x8c, 0x100138cc8\nADD             X0, X19, #0x2C8                                        ; +0x90, 0x100138ccc\nBL              sub_100018054                                          ; +0x94, 0x100138cd0\nADD             X0, X19, #0x3E0                                        ; +0x98, 0x100138cd4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x9c, 0x100138cd8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xa0, 0x100138cdc\nB               sub_100018054                                          ; +0xa4, 0x100138ce0", "xrefs": ["PlayLayer::destroyPlayer @ 0x10011ed38", "PlayLayer::resetLevel @ 0x100121c08", "PlayLayer::resumeAndRestart @ 0x10012296c", "FMODAudioEngine::clearAllAudio @ 0x100138bc8", "FMODAudioEngine::unloadAllEffects @ 0x10013cd04", "SetupReverbPopup::onPlay @ 0x10017f9ac", "SetupReverbPopup::onClose @ 0x10017fa00", "SetupSFXPopup::onClose @ 0x100180c3c", "CustomSFXWidget::onPlayback @ 0x1002f0b24", "CustomSFXWidget::deleteSFX @ 0x1002f1388", "LevelEditorLayer::stopPlayback @ 0x100362740", "LevelEditorLayer::onStopPlaytest @ 0x100363540"], "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"}