{"type": "func", "start": 4126624, "end": 4126714, "name": "FMODAudioEngine::isMusicPlaying", "pseudocode": "// \n// FMODAudioEngine::isMusicPlaying from 0x3ef7a0 to 0x3ef7fa (90 bytes)\n// \n// 6 xrefs:\n// > GameManager::fadeInMusic @ 0x4156bc\n// > GameManager::playMenuMusic @ 0x416872\n// > CustomSongCell::onDelete @ 0x427152\n// > CustomSongWidget::updatePlaybackBtn @ 0x4e29f4\n// > CustomSongWidget::onPlayback @ 0x4e3044\n// > CustomSongWidget::deleteSong @ 0x4e3ef0\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:47:12 +0000\n// \n\nbool __fastcall FMODAudioEngine::isMusicPlaying(FMODAudioEngine *a1, unsigned __int8 *a2, unsigned int a3, int a4)\n{\n  _BOOL4 isMusicPlaying; // r6\n  _DWORD v9[4]; // [sp+0h] [bp-10h] BYREF\n\n  v9[0] = a1;\n  v9[1] = a2;\n  v9[2] = a3;\n  v9[3] = a4;\n  FMODAudioEngine::getActiveMusic((FMODAudioEngine *)v9, (int)a1, a3);\n  isMusicPlaying = sub_3E77C6((unsigned __int8 *)v9, a2);\n  if ( isMusicPlaying )\n    isMusicPlaying = FMODAudioEngine::isMusicPlaying(a1, a3);\n  std::string::~string((int)v9);\n  return isMusicPlaying;\n}", "assembly": "; \n; FMODAudioEngine::isMusicPlaying from 0x3ef7a0 to 0x3ef7fa (90 bytes)\n; \n; 6 xrefs:\n; > GameManager::fadeInMusic @ 0x4156bc\n; > GameManager::playMenuMusic @ 0x416872\n; > CustomSongCell::onDelete @ 0x427152\n; > CustomSongWidget::updatePlaybackBtn @ 0x4e29f4\n; > CustomSongWidget::onPlayback @ 0x4e3044\n; > CustomSongWidget::deleteSong @ 0x4e3ef0\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:47:12 +0000\n; \nPUSH.W          {R0-R8,LR}                                             ; +0x0, 0x3ef7a0\nMOV             R7, R0                                                 ; +0x4, 0x3ef7a4\nLDR             R4, =(__stack_chk_guard_ptr - 0x3EF7B2)                ; +0x6, 0x3ef7a6\nMOV             R6, R1                                                 ; +0x8, 0x3ef7a8\nMOV             R0, SP; this                                           ; +0xa, 0x3ef7aa\nMOV             R1, R7; int                                            ; +0xc, 0x3ef7ac\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xe, 0x3ef7ae\nLDR             R4, [R4]; __stack_chk_guard                            ; +0x10, 0x3ef7b0\nMOV             R8, R2                                                 ; +0x12, 0x3ef7b2\nMOV             R5, SP                                                 ; +0x14, 0x3ef7b4\nLDR             R3, [R4]                                               ; +0x16, 0x3ef7b6\nSTR             R3, [SP,#0x10+var_4]                                   ; +0x18, 0x3ef7b8\nBL              _ZN15FMODAudioEngine14getActiveMusicEi; FMODAudioEngine::getActiveMusic(int) ; +0x1a, 0x3ef7ba\nMOV             R1, R6                                                 ; +0x1e, 0x3ef7be\nMOV             R0, SP                                                 ; +0x20, 0x3ef7c0\nBL              sub_3E77C6                                             ; +0x22, 0x3ef7c2\nMOV             R6, R0                                                 ; +0x26, 0x3ef7c6\nCBZ             R0, loc_3EF7E0                                         ; +0x28, 0x3ef7c8\nMOV             R0, R7; this                                           ; +0x2a, 0x3ef7ca\nMOV             R1, R8; int                                            ; +0x2c, 0x3ef7cc\nBL              _ZN15FMODAudioEngine14isMusicPlayingEi; FMODAudioEngine::isMusicPlaying(int) ; +0x2e, 0x3ef7ce\nMOV             R6, R0                                                 ; +0x32, 0x3ef7d2\nB               loc_3EF7E0                                             ; +0x34, 0x3ef7d4\nMOV             R0, R5                                                 ; +0x36, 0x3ef7d6\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x38, 0x3ef7d8\nBL              __cxa_end_cleanup                                      ; +0x3c, 0x3ef7dc\nMOV             R0, R5                                                 ; +0x40, 0x3ef7e0\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x42, 0x3ef7e2\nLDR             R2, [SP,#0x10+var_4]                                   ; +0x46, 0x3ef7e6\nLDR             R3, [R4]                                               ; +0x48, 0x3ef7e8\nMOV             R0, R6                                                 ; +0x4a, 0x3ef7ea\nCMP             R2, R3                                                 ; +0x4c, 0x3ef7ec\nBEQ             loc_3EF7F4                                             ; +0x4e, 0x3ef7ee\nBLX             __stack_chk_fail                                       ; +0x50, 0x3ef7f0\nADD             SP, SP, #0x10                                          ; +0x54, 0x3ef7f4\nPOP.W           {R4-R8,PC}                                             ; +0x56, 0x3ef7f6", "xrefs": ["GameManager::fadeInMusic @ 0x4156bc", "GameManager::playMenuMusic @ 0x416872", "CustomSongCell::onDelete @ 0x427152", "CustomSongWidget::updatePlaybackBtn @ 0x4e29f4", "CustomSongWidget::onPlayback @ 0x4e3044", "CustomSongWidget::deleteSong @ 0x4e3ef0"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}