{"type": "func", "start": 4296777076, "end": 4296777200, "name": "FMODAudioEngine::isMusicPlaying", "pseudocode": "// \n// FMODAudioEngine::isMusicPlaying from 0x1001b9d74 to 0x1001b9df0 (124 bytes)\n// \n// 6 xrefs:\n// > sub_10011F910 @ 0x10011f9ac\n// > sub_10012138C @ 0x1001213e8\n// > CustomSongWidget::deleteSong @ 0x1001216d4\n// > CustomSongCell::onDelete @ 0x100137ae8\n// > GameManager::playMenuMusic @ 0x1003aee30\n// > GameManager::fadeInMusic @ 0x1003af0e8\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:11 +0000\n// \n\n__int64 __fastcall FMODAudioEngine::isMusicPlaying(__int64 a1, _QWORD *a2, __int64 a3)\n{\n  int v3; // w19\n  __int64 isMusicPlaying_1; // x19\n  void *__p[2]; // [xsp+8h] [xbp-38h] BYREF\n  char v9; // [xsp+1Fh] [xbp-21h]\n\n  v3 = a3;\n  FMODAudioEngine::getActiveMusic(__p, a1, a3);\n  if ( sub_1000045BC(__p, a2) )\n    isMusicPlaying_1 = FMODAudioEngine::isMusicPlaying_1(a1, v3);\n  else\n    isMusicPlaying_1 = 0;\n  if ( v9 < 0 )\n    operator delete(__p[0]);\n  return isMusicPlaying_1;\n}", "assembly": "; \n; FMODAudioEngine::isMusicPlaying from 0x1001b9d74 to 0x1001b9df0 (124 bytes)\n; \n; 6 xrefs:\n; > sub_10011F910 @ 0x10011f9ac\n; > sub_10012138C @ 0x1001213e8\n; > CustomSongWidget::deleteSong @ 0x1001216d4\n; > CustomSongCell::onDelete @ 0x100137ae8\n; > GameManager::playMenuMusic @ 0x1003aee30\n; > GameManager::fadeInMusic @ 0x1003af0e8\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:11 +0000\n; \nSUB             SP, SP, #0x50                                          ; +0x0, 0x1001b9d74\nSTP             X22, X21, [SP,#0x40+var_20]                            ; +0x4, 0x1001b9d78\nSTP             X20, X19, [SP,#0x40+var_10]                            ; +0x8, 0x1001b9d7c\nSTP             X29, X30, [SP,#0x40+var_s0]                            ; +0xc, 0x1001b9d80\nADD             X29, SP, #0x40                                         ; +0x10, 0x1001b9d84\nMOV             X19, X2                                                ; +0x14, 0x1001b9d88\nMOV             X21, X1                                                ; +0x18, 0x1001b9d8c\nMOV             X20, X0                                                ; +0x1c, 0x1001b9d90\nADD             X8, SP, #0x40+__p                                      ; +0x20, 0x1001b9d94\nMOV             X1, X2                                                 ; +0x24, 0x1001b9d98\nBL              FMODAudioEngine__getActiveMusic                        ; +0x28, 0x1001b9d9c\nADD             X0, SP, #0x40+__p                                      ; +0x2c, 0x1001b9da0\nMOV             X1, X21                                                ; +0x30, 0x1001b9da4\nBL              sub_1000045BC                                          ; +0x34, 0x1001b9da8\nCBZ             W0, loc_1001B9DC4                                      ; +0x38, 0x1001b9dac\nMOV             X0, X20                                                ; +0x3c, 0x1001b9db0\nMOV             X1, X19                                                ; +0x40, 0x1001b9db4\nBL              FMODAudioEngine__isMusicPlaying_1                      ; +0x44, 0x1001b9db8\nMOV             X19, X0                                                ; +0x48, 0x1001b9dbc\nB               loc_1001B9DC8                                          ; +0x4c, 0x1001b9dc0\nMOV             W19, #0                                                ; +0x50, 0x1001b9dc4\nLDRSB           W8, [SP,#0x40+var_21]                                  ; +0x54, 0x1001b9dc8\nTBZ             W8, #0x1F, loc_1001B9DD8                               ; +0x58, 0x1001b9dcc\nLDR             X0, [SP,#0x40+__p]; __p                                ; +0x5c, 0x1001b9dd0\nBL              __ZdlPv; operator delete(void *)                       ; +0x60, 0x1001b9dd4\nMOV             X0, X19                                                ; +0x64, 0x1001b9dd8\nLDP             X29, X30, [SP,#0x40+var_s0]                            ; +0x68, 0x1001b9ddc\nLDP             X20, X19, [SP,#0x40+var_10]                            ; +0x6c, 0x1001b9de0\nLDP             X22, X21, [SP,#0x40+var_20]                            ; +0x70, 0x1001b9de4\nADD             SP, SP, #0x50 ; 'P'                                    ; +0x74, 0x1001b9de8\nRET                                                                    ; +0x78, 0x1001b9dec", "xrefs": ["sub_10011F910 @ 0x10011f9ac", "sub_10012138C @ 0x1001213e8", "CustomSongWidget::deleteSong @ 0x1001216d4", "CustomSongCell::onDelete @ 0x100137ae8", "GameManager::playMenuMusic @ 0x1003aee30", "GameManager::fadeInMusic @ 0x1003af0e8"], "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"}