{"type": "func", "start": 4680022, "end": 4680048, "name": "GJBaseGameLayer::resetAudio", "pseudocode": "// \n// GJBaseGameLayer::resetAudio from 0x476956 to 0x476970 (26 bytes)\n// \n// 4 xrefs:\n// > PlayLayer::onQuit @ 0x3130a6\n// > PlayLayer::resumeAndRestart @ 0x314582\n// > PauseLayer::onEdit @ 0x3a8dbc\n// > EndLevelLayer::goEdit @ 0x42794e\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; // r0\n  FMODAudioEngine *v2; // r0\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 0x476956 to 0x476970 (26 bytes)\n; \n; 4 xrefs:\n; > PlayLayer::onQuit @ 0x3130a6\n; > PlayLayer::resumeAndRestart @ 0x314582\n; > PauseLayer::onEdit @ 0x3a8dbc\n; > EndLevelLayer::goEdit @ 0x42794e\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\nPUSH            {R3,LR}                                                ; +0x0, 0x476956\nBL              _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0x2, 0x476958\nBL              _ZN15FMODAudioEngine13clearAllAudioEv; FMODAudioEngine::clearAllAudio(void) ; +0x6, 0x47695c\nBL              _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0xa, 0x476960\nPOP.W           {R3,LR}                                                ; +0xe, 0x476964\nLDR.W           R0, [R0,#0x184]; this                                  ; +0x12, 0x476968\nB.W             j__ZN4FMOD6System6updateEv; FMOD::System::update(void) ; +0x16, 0x47696c", "xrefs": ["PlayLayer::onQuit @ 0x3130a6", "PlayLayer::resumeAndRestart @ 0x314582", "PauseLayer::onEdit @ 0x3a8dbc", "EndLevelLayer::goEdit @ 0x42794e"], "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"}