{"type": "func", "start": 7157416, "end": 7157600, "name": "FMODAudioEngine::clearAllAudio", "pseudocode": "// \n// FMODAudioEngine::clearAllAudio from 0x6d36a8 to 0x6d3760 (184 bytes)\n// \n// 4 xrefs:\n// > EndLevelLayer::onReplay @ 0x8fb110\n// > EndLevelLayer::onRestartCheckpoint @ 0x8fb2ac\n// > GJBaseGameLayer::resetAudio @ 0x9a87f4\n// > <???> @ 0x4bcd0\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:51:28 +0000\n// \n\n__int64 __fastcall FMODAudioEngine::clearAllAudio(FMOD::ChannelControl **this)\n{\n  char *v2; // x21\n  _QWORD **v3; // x20\n  _QWORD **v4; // x20\n\n  v2 = (char *)(this + 74);\n  FMODAudioEngine::stopAllEffects(this);\n  FMODAudioEngine::stopAllMusic((FMODAudioEngine *)this, 1);\n  v3 = (_QWORD **)*(this + 75);\n  if ( v3 )\n  {\n    std::__tree<std::__value_type<std::pair<int,int>,FMODSoundTween>,std::__map_value_compare<std::pair<int,int>,std::__value_type<std::pair<int,int>,FMODSoundTween>,std::less<std::pair<int,int>>,true>,std::allocator<std::__value_type<std::pair<int,int>,FMODSoundTween>>>::destroy(\n      (__int64)v2,\n      *v3);\n    std::__tree<std::__value_type<std::pair<int,int>,FMODSoundTween>,std::__map_value_compare<std::pair<int,int>,std::__value_type<std::pair<int,int>,FMODSoundTween>,std::less<std::pair<int,int>>,true>,std::allocator<std::__value_type<std::pair<int,int>,FMODSoundTween>>>::destroy(\n      (__int64)v2,\n      v3[1]);\n    operator delete(v3);\n  }\n  *(this + 76) = nullptr;\n  *(this + 75) = nullptr;\n  *(this + 74) = (FMOD::ChannelControl *)(this + 75);\n  std::__tree<std::__value_type<std::pair<int,int>,FMODSoundTween>,std::__map_value_compare<std::pair<int,int>,std::__value_type<std::pair<int,int>,FMODSoundTween>,std::less<std::pair<int,int>>,true>,std::allocator<std::__value_type<std::pair<int,int>,FMODSoundTween>>>::clear(this + 77);\n  v4 = (_QWORD **)*(this + 81);\n  if ( v4 )\n  {\n    std::__tree<std::__value_type<std::pair<int,int>,FMODSoundTween>,std::__map_value_compare<std::pair<int,int>,std::__value_type<std::pair<int,int>,FMODSoundTween>,std::less<std::pair<int,int>>,true>,std::allocator<std::__value_type<std::pair<int,int>,FMODSoundTween>>>::destroy(\n      (__int64)(this + 80),\n      *v4);\n    std::__tree<std::__value_type<std::pair<int,int>,FMODSoundTween>,std::__map_value_compare<std::pair<int,int>,std::__value_type<std::pair<int,int>,FMODSoundTween>,std::less<std::pair<int,int>>,true>,std::allocator<std::__value_type<std::pair<int,int>,FMODSoundTween>>>::destroy(\n      (__int64)(this + 80),\n      v4[1]);\n    operator delete(v4);\n  }\n  *(this + 82) = nullptr;\n  *(this + 81) = nullptr;\n  *(this + 80) = (FMOD::ChannelControl *)(this + 81);\n  return FMODAudioEngine::resumeAllAudio((__int64)this);\n}", "assembly": "; \n; FMODAudioEngine::clearAllAudio from 0x6d36a8 to 0x6d3760 (184 bytes)\n; \n; 4 xrefs:\n; > EndLevelLayer::onReplay @ 0x8fb110\n; > EndLevelLayer::onRestartCheckpoint @ 0x8fb2ac\n; > GJBaseGameLayer::resetAudio @ 0x9a87f4\n; > <???> @ 0x4bcd0\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:51:28 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x6d36a8\nMOV             X29, SP                                                ; +0x4, 0x6d36ac\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0x6d36b0\nSTR             X21, [SP,#0x30+var_10]                                 ; +0xc, 0x6d36b4\nMOV             X19, X0                                                ; +0x10, 0x6d36b8\nADD             X21, X0, #0x250                                        ; +0x14, 0x6d36bc\nBL              _ZN15FMODAudioEngine14stopAllEffectsEv; FMODAudioEngine::stopAllEffects(void) ; +0x18, 0x6d36c0\nMOV             X0, X19; this                                          ; +0x1c, 0x6d36c4\nMOV             W1, #1; bool                                           ; +0x20, 0x6d36c8\nBL              _ZN15FMODAudioEngine12stopAllMusicEb; FMODAudioEngine::stopAllMusic(bool) ; +0x24, 0x6d36cc\nLDR             X20, [X19,#0x258]                                      ; +0x28, 0x6d36d0\nCBZ             X20, loc_6D36F8                                        ; +0x2c, 0x6d36d4\nLDR             X1, [X20]                                              ; +0x30, 0x6d36d8\nMOV             X0, X21                                                ; +0x34, 0x6d36dc\nBL              _ZNSt6__ndk16__treeINS_12__value_typeINS_4pairIiiEE14FMODSoundTweenEENS_19__map_value_compareIS3_S5_NS_4lessIS3_EELb1EEENS_9allocatorIS5_EEE7destroyEPNS_11__tree_nodeIS5_PvEE; std::__tree<std::__value_type<std::pair<int,int>,FMODSoundTween>,std::__map_value_compare<std::pair<int,int>,std::__value_type<std::pair<int,int>,FMODSoundTween>,std::less<std::pair<int,int>>,true>,std::allocator<std::__value_type<std::pair<int,int>,FMODSoundTween>>>::destroy(std::__tree_node<std::__value_type<std::pair<int,int>,FMODSoundTween>,void *> *) ; +0x38, 0x6d36e0\nLDR             X1, [X20,#8]                                           ; +0x3c, 0x6d36e4\nMOV             X0, X21                                                ; +0x40, 0x6d36e8\nBL              _ZNSt6__ndk16__treeINS_12__value_typeINS_4pairIiiEE14FMODSoundTweenEENS_19__map_value_compareIS3_S5_NS_4lessIS3_EELb1EEENS_9allocatorIS5_EEE7destroyEPNS_11__tree_nodeIS5_PvEE; std::__tree<std::__value_type<std::pair<int,int>,FMODSoundTween>,std::__map_value_compare<std::pair<int,int>,std::__value_type<std::pair<int,int>,FMODSoundTween>,std::less<std::pair<int,int>>,true>,std::allocator<std::__value_type<std::pair<int,int>,FMODSoundTween>>>::destroy(std::__tree_node<std::__value_type<std::pair<int,int>,FMODSoundTween>,void *> *) ; +0x44, 0x6d36ec\nMOV             X0, X20; void *                                        ; +0x48, 0x6d36f0\nBL              _ZdlPv; operator delete(void *)                        ; +0x4c, 0x6d36f4\nADD             X1, X19, #0x258                                        ; +0x50, 0x6d36f8\nSTR             XZR, [X19,#0x260]                                      ; +0x54, 0x6d36fc\nSTR             XZR, [X19,#0x258]                                      ; +0x58, 0x6d3700\nADD             X0, X19, #0x268                                        ; +0x5c, 0x6d3704\nSTR             X1, [X19,#0x250]                                       ; +0x60, 0x6d3708\nADD             X21, X19, #0x280                                       ; +0x64, 0x6d370c\nBL              _ZNSt6__ndk16__treeINS_12__value_typeINS_4pairIiiEE14FMODSoundTweenEENS_19__map_value_compareIS3_S5_NS_4lessIS3_EELb1EEENS_9allocatorIS5_EEE5clearEv; std::__tree<std::__value_type<std::pair<int,int>,FMODSoundTween>,std::__map_value_compare<std::pair<int,int>,std::__value_type<std::pair<int,int>,FMODSoundTween>,std::less<std::pair<int,int>>,true>,std::allocator<std::__value_type<std::pair<int,int>,FMODSoundTween>>>::clear(void) ; +0x68, 0x6d3710\nLDR             X20, [X19,#0x288]                                      ; +0x6c, 0x6d3714\nCBZ             X20, loc_6D373C                                        ; +0x70, 0x6d3718\nLDR             X1, [X20]                                              ; +0x74, 0x6d371c\nMOV             X0, X21                                                ; +0x78, 0x6d3720\nBL              _ZNSt6__ndk16__treeINS_12__value_typeINS_4pairIiiEE14FMODSoundTweenEENS_19__map_value_compareIS3_S5_NS_4lessIS3_EELb1EEENS_9allocatorIS5_EEE7destroyEPNS_11__tree_nodeIS5_PvEE; std::__tree<std::__value_type<std::pair<int,int>,FMODSoundTween>,std::__map_value_compare<std::pair<int,int>,std::__value_type<std::pair<int,int>,FMODSoundTween>,std::less<std::pair<int,int>>,true>,std::allocator<std::__value_type<std::pair<int,int>,FMODSoundTween>>>::destroy(std::__tree_node<std::__value_type<std::pair<int,int>,FMODSoundTween>,void *> *) ; +0x7c, 0x6d3724\nLDR             X1, [X20,#8]                                           ; +0x80, 0x6d3728\nMOV             X0, X21                                                ; +0x84, 0x6d372c\nBL              _ZNSt6__ndk16__treeINS_12__value_typeINS_4pairIiiEE14FMODSoundTweenEENS_19__map_value_compareIS3_S5_NS_4lessIS3_EELb1EEENS_9allocatorIS5_EEE7destroyEPNS_11__tree_nodeIS5_PvEE; std::__tree<std::__value_type<std::pair<int,int>,FMODSoundTween>,std::__map_value_compare<std::pair<int,int>,std::__value_type<std::pair<int,int>,FMODSoundTween>,std::less<std::pair<int,int>>,true>,std::allocator<std::__value_type<std::pair<int,int>,FMODSoundTween>>>::destroy(std::__tree_node<std::__value_type<std::pair<int,int>,FMODSoundTween>,void *> *) ; +0x88, 0x6d3730\nMOV             X0, X20; void *                                        ; +0x8c, 0x6d3734\nBL              _ZdlPv; operator delete(void *)                        ; +0x90, 0x6d3738\nSTR             XZR, [X19,#0x290]                                      ; +0x94, 0x6d373c\nADD             X0, X19, #0x288                                        ; +0x98, 0x6d3740\nSTR             XZR, [X19,#0x288]                                      ; +0x9c, 0x6d3744\nSTR             X0, [X19,#0x280]                                       ; +0xa0, 0x6d3748\nMOV             X0, X19; this                                          ; +0xa4, 0x6d374c\nLDR             X21, [SP,#0x30+var_10]                                 ; +0xa8, 0x6d3750\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0xac, 0x6d3754\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0xb0, 0x6d3758\nB               _ZN15FMODAudioEngine14resumeAllAudioEv; FMODAudioEngine::resumeAllAudio(void) ; +0xb4, 0x6d375c", "xrefs": ["EndLevelLayer::onReplay @ 0x8fb110", "EndLevelLayer::onRestartCheckpoint @ 0x8fb2ac", "GJBaseGameLayer::resetAudio @ 0x9a87f4", "<???> @ 0x4bcd0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}