{"type": "func", "start": 4298981232, "end": 4298981290, "name": "FMODAudioEngine::isMusicPlaying_1", "pseudocode": "// \n// FMODAudioEngine::isMusicPlaying_1 from 0x1003d3f70 to 0x1003d3faa (58 bytes)\n// \n// 13 xrefs:\n// > DrawGridLayer::update @ 0x1000d6fd1\n// > GJBaseGameLayer::update @ 0x100130e39\n// > SongOptionsLayer::onPlayback @ 0x1001faa1a\n// > SongOptionsLayer::onPlayback @ 0x1001faae9\n// > SongOptionsLayer::updatePlaybackBtn @ 0x1001fab74\n// > SetupSongTriggerPopup::onSavePlaybackPos @ 0x1002c08c2\n// > SetupSongTriggerPopup::onPlayback @ 0x1002c0af1\n// > SetupSongTriggerPopup::onClose @ 0x1002c0eb7\n// > GameManager::videoAdShowed @ 0x100369547\n// > MusicBrowser::update @ 0x1006e91f8\n// > MusicBrowser::sliderEnded @ 0x1006e9653\n// > CustomSongWidget::onPlayback @ 0x1006f8b4e\n// > CustomSongWidget::onPlayback @ 0x1006f8bc9\n// \n// This function is hookable on this platform (idp: pc, 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 12:29:40 +0000\n// \n\nbool __fastcall FMODAudioEngine::isMusicPlaying_1(__int64 a1, int a2)\n{\n  FMOD::ChannelControl *ActiveMusicChannel; // rax\n  bool v4; // [rsp+Fh] [rbp-1h] BYREF\n\n  v4 = 1;\n  ActiveMusicChannel = (FMOD::ChannelControl *)FMODAudioEngine::getActiveMusicChannel(a1, a2);\n  if ( !ActiveMusicChannel )\n    return 0;\n  FMOD::ChannelControl::getPaused(ActiveMusicChannel, &v4);\n  return !v4;\n}", "assembly": "; \n; FMODAudioEngine::isMusicPlaying_1 from 0x1003d3f70 to 0x1003d3faa (58 bytes)\n; \n; 13 xrefs:\n; > DrawGridLayer::update @ 0x1000d6fd1\n; > GJBaseGameLayer::update @ 0x100130e39\n; > SongOptionsLayer::onPlayback @ 0x1001faa1a\n; > SongOptionsLayer::onPlayback @ 0x1001faae9\n; > SongOptionsLayer::updatePlaybackBtn @ 0x1001fab74\n; > SetupSongTriggerPopup::onSavePlaybackPos @ 0x1002c08c2\n; > SetupSongTriggerPopup::onPlayback @ 0x1002c0af1\n; > SetupSongTriggerPopup::onClose @ 0x1002c0eb7\n; > GameManager::videoAdShowed @ 0x100369547\n; > MusicBrowser::update @ 0x1006e91f8\n; > MusicBrowser::sliderEnded @ 0x1006e9653\n; > CustomSongWidget::onPlayback @ 0x1006f8b4e\n; > CustomSongWidget::onPlayback @ 0x1006f8bc9\n; \n; This function is hookable on this platform (idp: pc, 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 12:29:40 +0000\n; \npush    rbp                                                            ; +0x0, 0x1003d3f70\nmov     rbp, rsp                                                       ; +0x1, 0x1003d3f71\nsub     rsp, 10h                                                       ; +0x4, 0x1003d3f74\nmov     [rbp+var_1], 1                                                 ; +0x8, 0x1003d3f78\ncall    FMODAudioEngine__getActiveMusicChannel                         ; +0xc, 0x1003d3f7c\ntest    rax, rax                                                       ; +0x11, 0x1003d3f81\njz      short loc_1003D3FA0                                            ; +0x14, 0x1003d3f84\nlea     rsi, [rbp+var_1]; bool *                                       ; +0x16, 0x1003d3f86\nmov     rdi, rax; this                                                 ; +0x1a, 0x1003d3f8a\ncall    __ZN4FMOD14ChannelControl9getPausedEPb; FMOD::ChannelControl::getPaused(bool *) ; +0x1d, 0x1003d3f8d\nmovzx   eax, [rbp+var_1]                                               ; +0x22, 0x1003d3f92\nxor     al, 1                                                          ; +0x26, 0x1003d3f96\nand     al, 1                                                          ; +0x28, 0x1003d3f98\nadd     rsp, 10h                                                       ; +0x2a, 0x1003d3f9a\npop     rbp                                                            ; +0x2e, 0x1003d3f9e\nretn                                                                   ; +0x2f, 0x1003d3f9f\nxor     eax, eax                                                       ; +0x30, 0x1003d3fa0\nand     al, 1                                                          ; +0x32, 0x1003d3fa2\nadd     rsp, 10h                                                       ; +0x34, 0x1003d3fa4\npop     rbp                                                            ; +0x38, 0x1003d3fa8\nretn                                                                   ; +0x39, 0x1003d3fa9", "xrefs": ["DrawGridLayer::update @ 0x1000d6fd1", "GJBaseGameLayer::update @ 0x100130e39", "SongOptionsLayer::onPlayback @ 0x1001faa1a", "SongOptionsLayer::onPlayback @ 0x1001faae9", "SongOptionsLayer::updatePlaybackBtn @ 0x1001fab74", "SetupSongTriggerPopup::onSavePlaybackPos @ 0x1002c08c2", "SetupSongTriggerPopup::onPlayback @ 0x1002c0af1", "SetupSongTriggerPopup::onClose @ 0x1002c0eb7", "GameManager::videoAdShowed @ 0x100369547", "MusicBrowser::update @ 0x1006e91f8", "MusicBrowser::sliderEnded @ 0x1006e9653", "CustomSongWidget::onPlayback @ 0x1006f8b4e", "CustomSongWidget::onPlayback @ 0x1006f8bc9"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}