{"type": "func", "start": 5369094352, "end": 5369094514, "name": "FMODAudioEngine::clearAllAudio", "pseudocode": "// \n// FMODAudioEngine::clearAllAudio from 0x14005e0d0 to 0x14005e172 (162 bytes)\n// \n// 4 xrefs:\n// > EndLevelLayer::onReplay @ 0x14020626e\n// > EndLevelLayer::onRestartCheckpoint @ 0x1402068be\n// > GJBaseGameLayer::resetAudio @ 0x1403405d4\n// > <???> @ 0x14091091c\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 11:25:43 +0000\n// \n\n__int64 __fastcall FMODAudioEngine::clearAllAudio(__int64 a1)\n{\n  __int64 result; // rax\n  __int64 v3; // rcx\n\n  FMODAudioEngine::stopAllEffects();\n  if ( *(_QWORD *)(a1 + 552) )\n    FMOD::ChannelControl::stop();\n  sub_14003EB60((_QWORD *)(a1 + 1096));\n  sub_14003EB60((_QWORD *)(a1 + 1160));\n  sub_14003EB60((_QWORD *)(a1 + 1224));\n  sub_140067440(a1 + 664);\n  sub_140067440(a1 + 680);\n  result = sub_140067440(a1 + 696);\n  if ( *(_BYTE *)(a1 + 617) )\n  {\n    v3 = *(_QWORD *)(a1 + 552);\n    *(_BYTE *)(a1 + 617) = 0;\n    FMOD::ChannelControl::setPaused(v3, 0);\n    return FMOD::ChannelControl::setPaused(*(_QWORD *)(a1 + 584), 0);\n  }\n  return result;\n}", "assembly": "; \n; FMODAudioEngine::clearAllAudio from 0x14005e0d0 to 0x14005e172 (162 bytes)\n; \n; 4 xrefs:\n; > EndLevelLayer::onReplay @ 0x14020626e\n; > EndLevelLayer::onRestartCheckpoint @ 0x1402068be\n; > GJBaseGameLayer::resetAudio @ 0x1403405d4\n; > <???> @ 0x14091091c\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 11:25:43 +0000\n; \npush    rbx                                                            ; +0x0, 0x14005e0d0\nsub     rsp, 20h                                                       ; +0x2, 0x14005e0d2\nmov     rbx, rcx                                                       ; +0x6, 0x14005e0d6\ncall    FMODAudioEngine__stopAllEffects                                ; +0x9, 0x14005e0d9\nmov     rcx, [rbx+228h]                                                ; +0xe, 0x14005e0de\ntest    rcx, rcx                                                       ; +0x15, 0x14005e0e5\njz      short loc_14005E0F0                                            ; +0x18, 0x14005e0e8\ncall    cs:?stop@ChannelControl@FMOD@@QEAA?AW4FMOD_RESULT@@XZ; FMOD::ChannelControl::stop(void) ; +0x1a, 0x14005e0ea\nlea     rcx, [rbx+448h]                                                ; +0x20, 0x14005e0f0\ncall    sub_14003EB60                                                  ; +0x27, 0x14005e0f7\nlea     rcx, [rbx+488h]                                                ; +0x2c, 0x14005e0fc\ncall    sub_14003EB60                                                  ; +0x33, 0x14005e103\nlea     rcx, [rbx+4C8h]                                                ; +0x38, 0x14005e108\ncall    sub_14003EB60                                                  ; +0x3f, 0x14005e10f\nlea     rcx, [rbx+298h]                                                ; +0x44, 0x14005e114\ncall    sub_140067440                                                  ; +0x4b, 0x14005e11b\nlea     rcx, [rbx+2A8h]                                                ; +0x50, 0x14005e120\ncall    sub_140067440                                                  ; +0x57, 0x14005e127\nlea     rcx, [rbx+2B8h]                                                ; +0x5c, 0x14005e12c\ncall    sub_140067440                                                  ; +0x63, 0x14005e133\ncmp     byte ptr [rbx+269h], 0                                         ; +0x68, 0x14005e138\njz      short loc_14005E16C                                            ; +0x6f, 0x14005e13f\nmov     rcx, [rbx+228h]                                                ; +0x71, 0x14005e141\nxor     edx, edx                                                       ; +0x78, 0x14005e148\nmov     byte ptr [rbx+269h], 0                                         ; +0x7a, 0x14005e14a\ncall    cs:?setPaused@ChannelControl@FMOD@@QEAA?AW4FMOD_RESULT@@_N@Z; FMOD::ChannelControl::setPaused(bool) ; +0x81, 0x14005e151\nmov     rcx, [rbx+248h]                                                ; +0x87, 0x14005e157\nxor     edx, edx                                                       ; +0x8e, 0x14005e15e\nadd     rsp, 20h                                                       ; +0x90, 0x14005e160\npop     rbx                                                            ; +0x94, 0x14005e164\njmp     cs:?setPaused@ChannelControl@FMOD@@QEAA?AW4FMOD_RESULT@@_N@Z; FMOD::ChannelControl::setPaused(bool) ; +0x95, 0x14005e165\nadd     rsp, 20h                                                       ; +0x9c, 0x14005e16c\npop     rbx                                                            ; +0xa0, 0x14005e170\nretn                                                                   ; +0xa1, 0x14005e171", "xrefs": ["EndLevelLayer::onReplay @ 0x14020626e", "EndLevelLayer::onRestartCheckpoint @ 0x1402068be", "GJBaseGameLayer::resetAudio @ 0x1403405d4", "<???> @ 0x14091091c"], "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"}