{"type": "func", "start": 4296759476, "end": 4296759608, "name": "FMODAudioEngine::clearAllAudio", "pseudocode": "// \n// FMODAudioEngine::clearAllAudio from 0x1001b58b4 to 0x1001b5938 (132 bytes)\n// \n// 3 xrefs:\n// > GJBaseGameLayer::resetAudio @ 0x10029a618\n// > EndLevelLayer::onReplay @ 0x100393b28\n// > EndLevelLayer::onRestartCheckpoint @ 0x100393db0\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 11:00:10 +0000\n// \n\n__int64 __fastcall FMODAudioEngine::clearAllAudio(__int64 a1)\n{\n  FMODAudioEngine::stopAllEffects(a1);\n  FMODAudioEngine::stopAllMusic(a1, 1);\n  sub_1000187C4(a1 + 592, *(_QWORD **)(a1 + 600));\n  *(_QWORD *)(a1 + 592) = a1 + 600;\n  *(_OWORD *)(a1 + 600) = 0u;\n  sub_1000187C4(a1 + 616, *(_QWORD **)(a1 + 624));\n  *(_QWORD *)(a1 + 616) = a1 + 624;\n  *(_OWORD *)(a1 + 624) = 0u;\n  sub_1000187C4(a1 + 640, *(_QWORD **)(a1 + 648));\n  *(_QWORD *)(a1 + 640) = a1 + 648;\n  *(_OWORD *)(a1 + 648) = 0u;\n  return sub_1001B5870(a1);\n}", "assembly": "; \n; FMODAudioEngine::clearAllAudio from 0x1001b58b4 to 0x1001b5938 (132 bytes)\n; \n; 3 xrefs:\n; > GJBaseGameLayer::resetAudio @ 0x10029a618\n; > EndLevelLayer::onReplay @ 0x100393b28\n; > EndLevelLayer::onRestartCheckpoint @ 0x100393db0\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 11:00:10 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1001b58b4\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1001b58b8\nADD             X29, SP, #0x10                                         ; +0x8, 0x1001b58bc\nMOV             X19, X0                                                ; +0xc, 0x1001b58c0\nBL              FMODAudioEngine__stopAllEffects                        ; +0x10, 0x1001b58c4\nMOV             X0, X19                                                ; +0x14, 0x1001b58c8\nMOV             W1, #1                                                 ; +0x18, 0x1001b58cc\nBL              FMODAudioEngine__stopAllMusic                          ; +0x1c, 0x1001b58d0\nADD             X20, X19, #0x258                                       ; +0x20, 0x1001b58d4\nLDR             X1, [X19,#0x258]                                       ; +0x24, 0x1001b58d8\nADD             X0, X19, #0x250                                        ; +0x28, 0x1001b58dc\nBL              sub_1000187C4                                          ; +0x2c, 0x1001b58e0\nSTR             X20, [X19,#0x250]                                      ; +0x30, 0x1001b58e4\nMOVI            V0.16B, #0                                             ; +0x34, 0x1001b58e8\nSTR             Q0, [X20]                                              ; +0x38, 0x1001b58ec\nADD             X20, X19, #0x270                                       ; +0x3c, 0x1001b58f0\nLDR             X1, [X19,#0x270]                                       ; +0x40, 0x1001b58f4\nADD             X0, X19, #0x268                                        ; +0x44, 0x1001b58f8\nBL              sub_1000187C4                                          ; +0x48, 0x1001b58fc\nSTR             X20, [X19,#0x268]                                      ; +0x4c, 0x1001b5900\nMOVI            V0.16B, #0                                             ; +0x50, 0x1001b5904\nSTR             Q0, [X19,#0x270]                                       ; +0x54, 0x1001b5908\nADD             X20, X19, #0x288                                       ; +0x58, 0x1001b590c\nLDR             X1, [X19,#0x288]                                       ; +0x5c, 0x1001b5910\nADD             X0, X19, #0x280                                        ; +0x60, 0x1001b5914\nBL              sub_1000187C4                                          ; +0x64, 0x1001b5918\nSTR             X20, [X19,#0x280]                                      ; +0x68, 0x1001b591c\nMOVI            V0.16B, #0                                             ; +0x6c, 0x1001b5920\nSTR             Q0, [X20]                                              ; +0x70, 0x1001b5924\nMOV             X0, X19                                                ; +0x74, 0x1001b5928\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x78, 0x1001b592c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x7c, 0x1001b5930\nB               sub_1001B5870                                          ; +0x80, 0x1001b5934", "xrefs": ["GJBaseGameLayer::resetAudio @ 0x10029a618", "EndLevelLayer::onReplay @ 0x100393b28", "EndLevelLayer::onRestartCheckpoint @ 0x100393db0"], "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"}