{"type": "func", "start": 4297495792, "end": 4297495880, "name": "AppDelegate::pauseSound", "pseudocode": "// \n// AppDelegate::pauseSound from 0x1002694f0 to 0x100269548 (88 bytes)\n// \n// 1 xrefs:\n// > AppDelegate::applicationDidEnterBackground @ 0x100269494\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 __fastcall AppDelegate::pauseSound(AppDelegate *a1)\n{\n  FMODAudioEngine *v2; // x0\n  FMODAudioEngine *v3; // x0\n  FMODAudioEngine *v4; // x0\n  FMODAudioEngine *v5; // x0\n\n  v2 = FMODAudioEngine::sharedEngine();\n  FMODAudioEngine::pauseAllEffects(v2);\n  if ( a1->m_startupScriptFilename.m_data.m_short.sizex2 == 1 )\n  {\n    v3 = FMODAudioEngine::sharedEngine();\n    FMODAudioEngine::pauseAllMusic(v3, 1);\n  }\n  v4 = FMODAudioEngine::sharedEngine();\n  FMODAudioEngine::stop(v4);\n  sub_10016BF0C();\n  v5 = FMODAudioEngine::sharedEngine();\n  ((void (__fastcall *)(FMODAudioEngine *, float))v5->update)(v5, 0.0);\n}", "assembly": "; \n; AppDelegate::pauseSound from 0x1002694f0 to 0x100269548 (88 bytes)\n; \n; 1 xrefs:\n; > AppDelegate::applicationDidEnterBackground @ 0x100269494\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1002694f0\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1002694f4\nADD             X29, SP, #0x10                                         ; +0x8, 0x1002694f8\nMOV             X19, X0                                                ; +0xc, 0x1002694fc\nBL              FMODAudioEngine__sharedEngine                          ; +0x10, 0x100269500\nBL              FMODAudioEngine__pauseAllEffects                       ; +0x14, 0x100269504\nLDRB            W8, [X19,#0x20]                                        ; +0x18, 0x100269508\nCMP             W8, #1                                                 ; +0x1c, 0x10026950c\nB.NE            loc_100269520                                          ; +0x20, 0x100269510\nBL              FMODAudioEngine__sharedEngine                          ; +0x24, 0x100269514\nMOV             W1, #1                                                 ; +0x28, 0x100269518\nBL              FMODAudioEngine__pauseAllMusic                         ; +0x2c, 0x10026951c\nBL              FMODAudioEngine__sharedEngine                          ; +0x30, 0x100269520\nBL              FMODAudioEngine__stop                                  ; +0x34, 0x100269524\nBL              sub_10016BF0C                                          ; +0x38, 0x100269528\nBL              FMODAudioEngine__sharedEngine                          ; +0x3c, 0x10026952c\nLDR             X8, [X0]                                               ; +0x40, 0x100269530\nLDR             X1, [X8,#0x28]                                         ; +0x44, 0x100269534\nFMOV            S0, WZR                                                ; +0x48, 0x100269538\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4c, 0x10026953c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x50, 0x100269540\nBR              X1                                                     ; +0x54, 0x100269544", "xrefs": ["AppDelegate::applicationDidEnterBackground @ 0x100269494"], "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"}