{"type": "func", "start": 8806660, "end": 8806692, "name": "GJBaseGameLayer::resetAudio", "pseudocode": "// \n// GJBaseGameLayer::resetAudio from 0x866104 to 0x866124 (32 bytes)\n// \n// 5 xrefs:\n// > PlayLayer::onQuit @ 0x5d0898\n// > PlayLayer::resumeAndRestart @ 0x5d2798\n// > PauseLayer::onEdit @ 0x6c856c\n// > EndLevelLayer::goEdit @ 0x7d3188\n// > <???> @ 0x9d530\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 GJBaseGameLayer::resetAudio(GJBaseGameLayer *a1)\n{\n  FMODAudioEngine *v1; // x0\n  FMODAudioEngine *v2; // x0\n\n  v1 = FMODAudioEngine::sharedEngine();\n  FMODAudioEngine::clearAllAudio(v1);\n  v2 = FMODAudioEngine::sharedEngine();\n  FMOD::System::update(v2->m_system);\n}", "assembly": "; \n; GJBaseGameLayer::resetAudio from 0x866104 to 0x866124 (32 bytes)\n; \n; 5 xrefs:\n; > PlayLayer::onQuit @ 0x5d0898\n; > PlayLayer::resumeAndRestart @ 0x5d2798\n; > PauseLayer::onEdit @ 0x6c856c\n; > EndLevelLayer::goEdit @ 0x7d3188\n; > <???> @ 0x9d530\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             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0x866104\nMOV             X29, SP                                                ; +0x4, 0x866108\nBL              _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0x8, 0x86610c\nBL              _ZN15FMODAudioEngine13clearAllAudioEv; FMODAudioEngine::clearAllAudio(void) ; +0xc, 0x866110\nBL              _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0x10, 0x866114\nLDR             X0, [X0,#0x218]; this                                  ; +0x14, 0x866118\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x18, 0x86611c\nB               ._ZN4FMOD6System6updateEv; FMOD::System::update(void)  ; +0x1c, 0x866120", "xrefs": ["PlayLayer::onQuit @ 0x5d0898", "PlayLayer::resumeAndRestart @ 0x5d2798", "PauseLayer::onEdit @ 0x6c856c", "EndLevelLayer::goEdit @ 0x7d3188", "<???> @ 0x9d530"], "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"}