{"type": "func", "start": 4298945568, "end": 4298945778, "name": "FMODAudioEngine::clearAllAudio", "pseudocode": "// \n// FMODAudioEngine::clearAllAudio from 0x1003cb420 to 0x1003cb4f2 (210 bytes)\n// \n// 3 xrefs:\n// > GJBaseGameLayer::resetAudio @ 0x10012f0fc\n// > EndLevelLayer::onReplay @ 0x1004bae85\n// > EndLevelLayer::onRestartCheckpoint @ 0x1004bb107\n// \n// This function is hookable on this platform (idp: pc, 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:29:36 +0000\n// \n\nvoid __fastcall FMODAudioEngine::clearAllAudio(__int64 a1)\n{\n  FMODAudioEngine::stopAllEffects(a1);\n  FMODAudioEngine::stopAllMusic(a1, 1);\n  sub_10001ADF0(a1 + 592, *(_QWORD **)(a1 + 600));\n  *(_QWORD *)(a1 + 592) = a1 + 600;\n  *(_OWORD *)(a1 + 600) = 0;\n  sub_10001ADF0(a1 + 616, *(_QWORD **)(a1 + 624));\n  *(_QWORD *)(a1 + 616) = a1 + 624;\n  *(_OWORD *)(a1 + 624) = 0;\n  sub_10001ADF0(a1 + 640, *(_QWORD **)(a1 + 648));\n  *(_QWORD *)(a1 + 640) = a1 + 648;\n  *(_OWORD *)(a1 + 648) = 0;\n  if ( *(_BYTE *)(a1 + 545) == 1 )\n  {\n    *(_BYTE *)(a1 + 545) = 0;\n    FMOD::ChannelControl::setPaused(*(FMOD::ChannelControl **)(a1 + 480), 0);\n    FMOD::ChannelControl::setPaused(*(FMOD::ChannelControl **)(a1 + 512), 0);\n  }\n}", "assembly": "; \n; FMODAudioEngine::clearAllAudio from 0x1003cb420 to 0x1003cb4f2 (210 bytes)\n; \n; 3 xrefs:\n; > GJBaseGameLayer::resetAudio @ 0x10012f0fc\n; > EndLevelLayer::onReplay @ 0x1004bae85\n; > EndLevelLayer::onRestartCheckpoint @ 0x1004bb107\n; \n; This function is hookable on this platform (idp: pc, 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:29:36 +0000\n; \npush    rbp                                                            ; +0x0, 0x1003cb420\nmov     rbp, rsp                                                       ; +0x1, 0x1003cb421\npush    r14                                                            ; +0x4, 0x1003cb424\npush    rbx                                                            ; +0x6, 0x1003cb426\nmov     rbx, rdi                                                       ; +0x7, 0x1003cb427\ncall    FMODAudioEngine__stopAllEffects                                ; +0xa, 0x1003cb42a\nmov     rdi, rbx                                                       ; +0xf, 0x1003cb42f\nmov     esi, 1                                                         ; +0x12, 0x1003cb432\ncall    FMODAudioEngine__stopAllMusic                                  ; +0x17, 0x1003cb437\nlea     rdi, [rbx+250h]                                                ; +0x1c, 0x1003cb43c\nlea     r14, [rbx+258h]                                                ; +0x23, 0x1003cb443\nmov     rsi, [rbx+258h]                                                ; +0x2a, 0x1003cb44a\ncall    sub_10001ADF0                                                  ; +0x31, 0x1003cb451\nmov     [rbx+250h], r14                                                ; +0x36, 0x1003cb456\nxorps   xmm0, xmm0                                                     ; +0x3d, 0x1003cb45d\nmovups  xmmword ptr [rbx+258h], xmm0                                   ; +0x40, 0x1003cb460\nlea     rdi, [rbx+268h]                                                ; +0x47, 0x1003cb467\nlea     r14, [rbx+270h]                                                ; +0x4e, 0x1003cb46e\nmov     rsi, [rbx+270h]                                                ; +0x55, 0x1003cb475\ncall    sub_10001ADF0                                                  ; +0x5c, 0x1003cb47c\nmov     [rbx+268h], r14                                                ; +0x61, 0x1003cb481\nxorps   xmm0, xmm0                                                     ; +0x68, 0x1003cb488\nmovups  xmmword ptr [rbx+270h], xmm0                                   ; +0x6b, 0x1003cb48b\nlea     rdi, [rbx+280h]                                                ; +0x72, 0x1003cb492\nlea     r14, [rbx+288h]                                                ; +0x79, 0x1003cb499\nmov     rsi, [rbx+288h]                                                ; +0x80, 0x1003cb4a0\ncall    sub_10001ADF0                                                  ; +0x87, 0x1003cb4a7\nmov     [rbx+280h], r14                                                ; +0x8c, 0x1003cb4ac\nxorps   xmm0, xmm0                                                     ; +0x93, 0x1003cb4b3\nmovups  xmmword ptr [rbx+288h], xmm0                                   ; +0x96, 0x1003cb4b6\ncmp     byte ptr [rbx+221h], 1                                         ; +0x9d, 0x1003cb4bd\njnz     short loc_1003CB4ED                                            ; +0xa4, 0x1003cb4c4\nmov     byte ptr [rbx+221h], 0                                         ; +0xa6, 0x1003cb4c6\nmov     rdi, [rbx+1E0h]; this                                          ; +0xad, 0x1003cb4cd\nxor     esi, esi; bool                                                 ; +0xb4, 0x1003cb4d4\ncall    __ZN4FMOD14ChannelControl9setPausedEb; FMOD::ChannelControl::setPaused(bool) ; +0xb6, 0x1003cb4d6\nmov     rdi, [rbx+200h]; this                                          ; +0xbb, 0x1003cb4db\nxor     esi, esi; bool                                                 ; +0xc2, 0x1003cb4e2\npop     rbx                                                            ; +0xc4, 0x1003cb4e4\npop     r14                                                            ; +0xc5, 0x1003cb4e5\npop     rbp                                                            ; +0xc7, 0x1003cb4e7\njmp     __ZN4FMOD14ChannelControl9setPausedEb; FMOD::ChannelControl::setPaused(bool) ; +0xc8, 0x1003cb4e8\npop     rbx                                                            ; +0xcd, 0x1003cb4ed\npop     r14                                                            ; +0xce, 0x1003cb4ee\npop     rbp                                                            ; +0xd0, 0x1003cb4f0\nretn                                                                   ; +0xd1, 0x1003cb4f1", "xrefs": ["GJBaseGameLayer::resetAudio @ 0x10012f0fc", "EndLevelLayer::onReplay @ 0x1004bae85", "EndLevelLayer::onRestartCheckpoint @ 0x1004bb107"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}