{"type": "func", "start": 3177144, "end": 3177194, "name": "AppDelegate::pauseSound", "pseudocode": "// \n// AppDelegate::pauseSound from 0x307ab8 to 0x307aea (50 bytes)\n// \n// 1 xrefs:\n// > AppDelegate::applicationDidEnterBackground @ 0x307aee\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 AppDelegate::pauseSound(AppDelegate *a1)\n{\n  FMODAudioEngine *v2; // r0\n  FMODAudioEngine *v3; // r0\n  FMODAudioEngine *v4; // r0\n  FMODAudioEngine *v5; // r0\n\n  v2 = FMODAudioEngine::sharedEngine();\n  FMODAudioEngine::pauseAllEffects(v2);\n  if ( a1->m_glViewSetup )\n  {\n    v3 = FMODAudioEngine::sharedEngine();\n    FMODAudioEngine::pauseAllMusic(v3, 1);\n  }\n  v4 = FMODAudioEngine::sharedEngine();\n  FMODAudioEngine::stop(v4);\n  v5 = FMODAudioEngine::sharedEngine();\n  ((void (__fastcall *)(FMODAudioEngine *, _DWORD))v5->update)(v5, 0);\n}", "assembly": "; \n; AppDelegate::pauseSound from 0x307ab8 to 0x307aea (50 bytes)\n; \n; 1 xrefs:\n; > AppDelegate::applicationDidEnterBackground @ 0x307aee\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            {R4,LR}                                                ; +0x0, 0x307ab8\nMOV             R4, R0                                                 ; +0x2, 0x307aba\nBL              _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0x4, 0x307abc\nBL              _ZN15FMODAudioEngine15pauseAllEffectsEv; FMODAudioEngine::pauseAllEffects(void) ; +0x8, 0x307ac0\nLDRB            R3, [R4,#0x10]                                         ; +0xc, 0x307ac4\nCBZ             R3, loc_307AD2                                         ; +0xe, 0x307ac6\nBL              _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0x10, 0x307ac8\nMOVS            R1, #1; bool                                           ; +0x14, 0x307acc\nBL              _ZN15FMODAudioEngine13pauseAllMusicEb; FMODAudioEngine::pauseAllMusic(bool) ; +0x16, 0x307ace\nBL              _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0x1a, 0x307ad2\nBL              _ZN15FMODAudioEngine4stopEv; FMODAudioEngine::stop(void) ; +0x1e, 0x307ad6\nBL              _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0x22, 0x307ada\nMOVS            R1, #0                                                 ; +0x26, 0x307ade\nPOP.W           {R4,LR}                                                ; +0x28, 0x307ae0\nLDR             R3, [R0]                                               ; +0x2c, 0x307ae4\nLDR             R3, [R3,#0x14]                                         ; +0x2e, 0x307ae6\nBX              R3                                                     ; +0x30, 0x307ae8", "xrefs": ["AppDelegate::applicationDidEnterBackground @ 0x307aee"], "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"}