{"type": "func", "start": 4296265420, "end": 4296265544, "name": "FMODAudioEngine::isMusicPlaying", "pseudocode": "// \n// FMODAudioEngine::isMusicPlaying from 0x10013cecc to 0x10013cf48 (124 bytes)\n// \n// 6 xrefs:\n// > CustomSongWidget::onPlayback @ 0x1000fad00\n// > CustomSongWidget::updatePlaybackBtn @ 0x1000fcc08\n// > CustomSongWidget::deleteSong @ 0x1000fcdf8\n// > CustomSongCell::onDelete @ 0x1001102ec\n// > GameManager::playMenuMusic @ 0x10031211c\n// > GameManager::fadeInMusic @ 0x1003123d4\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\nbool __fastcall FMODAudioEngine::isMusicPlaying(FMODAudioEngine *a1, _QWORD *a2, __int64 a3)\n{\n  int v3; // w19\n  _BOOL8 v6; // 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  v6 = sub_1000045BC(__p, a2) && FMODAudioEngine::isMusicPlaying_1(a1, v3);\n  if ( v9 < 0 )\n    operator delete(__p[0]);\n  return v6;\n}", "assembly": "; \n; FMODAudioEngine::isMusicPlaying from 0x10013cecc to 0x10013cf48 (124 bytes)\n; \n; 6 xrefs:\n; > CustomSongWidget::onPlayback @ 0x1000fad00\n; > CustomSongWidget::updatePlaybackBtn @ 0x1000fcc08\n; > CustomSongWidget::deleteSong @ 0x1000fcdf8\n; > CustomSongCell::onDelete @ 0x1001102ec\n; > GameManager::playMenuMusic @ 0x10031211c\n; > GameManager::fadeInMusic @ 0x1003123d4\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\nSUB             SP, SP, #0x50                                          ; +0x0, 0x10013cecc\nSTP             X22, X21, [SP,#0x40+var_20]                            ; +0x4, 0x10013ced0\nSTP             X20, X19, [SP,#0x40+var_10]                            ; +0x8, 0x10013ced4\nSTP             X29, X30, [SP,#0x40+var_s0]                            ; +0xc, 0x10013ced8\nADD             X29, SP, #0x40                                         ; +0x10, 0x10013cedc\nMOV             X19, X2                                                ; +0x14, 0x10013cee0\nMOV             X21, X1                                                ; +0x18, 0x10013cee4\nMOV             X20, X0                                                ; +0x1c, 0x10013cee8\nADD             X8, SP, #0x40+__p                                      ; +0x20, 0x10013ceec\nMOV             X1, X2                                                 ; +0x24, 0x10013cef0\nBL              FMODAudioEngine__getActiveMusic                        ; +0x28, 0x10013cef4\nADD             X0, SP, #0x40+__p                                      ; +0x2c, 0x10013cef8\nMOV             X1, X21                                                ; +0x30, 0x10013cefc\nBL              sub_1000045BC                                          ; +0x34, 0x10013cf00\nCBZ             W0, loc_10013CF1C                                      ; +0x38, 0x10013cf04\nMOV             X0, X20                                                ; +0x3c, 0x10013cf08\nMOV             X1, X19                                                ; +0x40, 0x10013cf0c\nBL              FMODAudioEngine__isMusicPlaying_1                      ; +0x44, 0x10013cf10\nMOV             X19, X0                                                ; +0x48, 0x10013cf14\nB               loc_10013CF20                                          ; +0x4c, 0x10013cf18\nMOV             W19, #0                                                ; +0x50, 0x10013cf1c\nLDRSB           W8, [SP,#0x40+var_21]                                  ; +0x54, 0x10013cf20\nTBZ             W8, #0x1F, loc_10013CF30                               ; +0x58, 0x10013cf24\nLDR             X0, [SP,#0x40+__p]; __p                                ; +0x5c, 0x10013cf28\nBL              __ZdlPv; operator delete(void *)                       ; +0x60, 0x10013cf2c\nMOV             X0, X19                                                ; +0x64, 0x10013cf30\nLDP             X29, X30, [SP,#0x40+var_s0]                            ; +0x68, 0x10013cf34\nLDP             X20, X19, [SP,#0x40+var_10]                            ; +0x6c, 0x10013cf38\nLDP             X22, X21, [SP,#0x40+var_20]                            ; +0x70, 0x10013cf3c\nADD             SP, SP, #0x50 ; 'P'                                    ; +0x74, 0x10013cf40\nRET                                                                    ; +0x78, 0x10013cf44", "xrefs": ["CustomSongWidget::onPlayback @ 0x1000fad00", "CustomSongWidget::updatePlaybackBtn @ 0x1000fcc08", "CustomSongWidget::deleteSong @ 0x1000fcdf8", "CustomSongCell::onDelete @ 0x1001102ec", "GameManager::playMenuMusic @ 0x10031211c", "GameManager::fadeInMusic @ 0x1003123d4"], "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"}