{"type": "func", "start": 7175968, "end": 7176180, "name": "FMODAudioEngine::isPersistentMatchPlaying", "pseudocode": "// \n// FMODAudioEngine::isPersistentMatchPlaying from 0x6d7f20 to 0x6d7ff4 (212 bytes)\n// \n// 4 xrefs:\n// > FMODAudioEngine::queueStartMusic @ 0x6d8428\n// > FMODAudioEngine::loadMusic @ 0x6d88f0\n// > FMODAudioEngine::updateQueuedMusic @ 0x6d9454\n// > <???> @ 0x95320\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 12:51:31 +0000\n// \n\n__int64 __fastcall FMODAudioEngine::isPersistentMatchPlaying(FMODAudioEngine *a1, __int64 a2, int a3)\n{\n  bool isMusicPlaying; // w0\n  unsigned int v6; // w20\n  bool v8; // w0\n  int v9; // [xsp+3Ch] [xbp+3Ch] BYREF\n  __int64 v10[3]; // [xsp+40h] [xbp+40h] BYREF\n\n  v9 = a3;\n  isMusicPlaying = FMODAudioEngine::isMusicPlaying(a1, a3);\n  v6 = isMusicPlaying;\n  if ( isMusicPlaying )\n  {\n    FMODAudioEngine::getActiveMusic(a1, v9, v10);\n    v8 = sub_6C9F44((__int64)v10, a2);\n    v6 = v8;\n    if ( v8 )\n      v6 = *(unsigned __int8 *)(std::unordered_map<int,FMODMusic>::operator[]((__int64)a1 + 320, &v9) + 41);\n    if ( (v10[0] & 1) != 0 )\n      operator delete((void *)v10[2]);\n  }\n  return v6;\n}", "assembly": "; \n; FMODAudioEngine::isPersistentMatchPlaying from 0x6d7f20 to 0x6d7ff4 (212 bytes)\n; \n; 4 xrefs:\n; > FMODAudioEngine::queueStartMusic @ 0x6d8428\n; > FMODAudioEngine::loadMusic @ 0x6d88f0\n; > FMODAudioEngine::updateQueuedMusic @ 0x6d9454\n; > <???> @ 0x95320\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 12:51:31 +0000\n; \nSTP             X29, X30, [SP,#var_60]!                                ; +0x0, 0x6d7f20\nMOV             X29, SP                                                ; +0x4, 0x6d7f24\nSTP             X19, X20, [SP,#0x60+var_50]                            ; +0x8, 0x6d7f28\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x6d7f2c\nSTP             X21, X22, [SP,#0x60+var_40]                            ; +0x10, 0x6d7f30\nSTR             W2, [X29,#0x60+var_24]                                 ; +0x14, 0x6d7f34\nMOV             X22, X1                                                ; +0x18, 0x6d7f38\nMOV             W1, W2; int                                            ; +0x1c, 0x6d7f3c\nLDR             X2, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0x6d7f40\nMOV             X21, X0                                                ; +0x24, 0x6d7f44\nLDR             X2, [X2]                                               ; +0x28, 0x6d7f48\nSTR             X2, [X29,#0x60+var_8]                                  ; +0x2c, 0x6d7f4c\nBL              _ZN15FMODAudioEngine14isMusicPlayingEi; FMODAudioEngine::isMusicPlaying(int) ; +0x30, 0x6d7f50\nUXTB            W20, W0                                                ; +0x34, 0x6d7f54\nCBNZ            W20, loc_6D7F84                                        ; +0x38, 0x6d7f58\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x3c, 0x6d7f5c\nMOV             W0, W20                                                ; +0x40, 0x6d7f60\nLDR             X2, [X29,#0x60+var_8]                                  ; +0x44, 0x6d7f64\nLDR             X1, [X19]                                              ; +0x48, 0x6d7f68\nCMP             X2, X1                                                 ; +0x4c, 0x6d7f6c\nB.NE            loc_6D7FD4                                             ; +0x50, 0x6d7f70\nLDP             X19, X20, [SP,#0x60+var_50]                            ; +0x54, 0x6d7f74\nLDP             X21, X22, [SP,#0x60+var_40]                            ; +0x58, 0x6d7f78\nLDP             X29, X30, [SP+0x60+var_60],#0x60                       ; +0x5c, 0x6d7f7c\nRET                                                                    ; +0x60, 0x6d7f80\nADD             X20, X29, #0x60+var_20                                 ; +0x64, 0x6d7f84\nLDR             W1, [X29,#0x60+var_24]; int                            ; +0x68, 0x6d7f88\nMOV             X8, X20                                                ; +0x6c, 0x6d7f8c\nMOV             X0, X21; this                                          ; +0x70, 0x6d7f90\nBL              _ZN15FMODAudioEngine14getActiveMusicEi; FMODAudioEngine::getActiveMusic(int) ; +0x74, 0x6d7f94\nMOV             X0, X20                                                ; +0x78, 0x6d7f98\nMOV             X1, X22                                                ; +0x7c, 0x6d7f9c\nBL              sub_6C9F44                                             ; +0x80, 0x6d7fa0\nUXTB            W20, W0                                                ; +0x84, 0x6d7fa4\nCBNZ            W20, loc_6D7FC0                                        ; +0x88, 0x6d7fa8\nLDRB            W0, [X29,#0x60+var_20]                                 ; +0x8c, 0x6d7fac\nTBZ             W0, #0, loc_6D7F5C                                     ; +0x90, 0x6d7fb0\nLDR             X0, [X29,#0x60+var_10]; void *                         ; +0x94, 0x6d7fb4\nBL              _ZdlPv; operator delete(void *)                        ; +0x98, 0x6d7fb8\nB               loc_6D7F5C                                             ; +0x9c, 0x6d7fbc\nADD             X0, X21, #0x140                                        ; +0xa0, 0x6d7fc0\nADD             X1, X29, #0x60+var_24                                  ; +0xa4, 0x6d7fc4\nBL              _ZNSt6__ndk113unordered_mapIi9FMODMusicNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_; std::unordered_map<int,FMODMusic>::operator[](int const&) ; +0xa8, 0x6d7fc8\nLDRB            W20, [X0,#0x29]                                        ; +0xac, 0x6d7fcc\nB               loc_6D7FAC                                             ; +0xb0, 0x6d7fd0\nBL              .__stack_chk_fail                                      ; +0xb4, 0x6d7fd4\nLDRB            W1, [X29,#0x60+var_20]                                 ; +0xb8, 0x6d7fd8\nMOV             X19, X0                                                ; +0xbc, 0x6d7fdc\nTBZ             W1, #0, loc_6D7FEC                                     ; +0xc0, 0x6d7fe0\nLDR             X0, [X29,#0x60+var_10]; void *                         ; +0xc4, 0x6d7fe4\nBL              _ZdlPv; operator delete(void *)                        ; +0xc8, 0x6d7fe8\nMOV             X0, X19                                                ; +0xcc, 0x6d7fec\nBL              _Unwind_Resume                                         ; +0xd0, 0x6d7ff0", "xrefs": ["FMODAudioEngine::queueStartMusic @ 0x6d8428", "FMODAudioEngine::loadMusic @ 0x6d88f0", "FMODAudioEngine::updateQueuedMusic @ 0x6d9454", "<???> @ 0x95320"], "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"}