{"type": "func", "start": 4126720, "end": 4126826, "name": "FMODAudioEngine::isPersistentMatchPlaying", "pseudocode": "// \n// FMODAudioEngine::isPersistentMatchPlaying from 0x3ef800 to 0x3ef86a (106 bytes)\n// \n// 3 xrefs:\n// > FMODAudioEngine::queueStartMusic @ 0x3efa72\n// > FMODAudioEngine::loadMusic @ 0x3efba2\n// > FMODAudioEngine::updateQueuedMusic @ 0x3f01be\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\nint __fastcall FMODAudioEngine::isPersistentMatchPlaying(FMODAudioEngine *a1, unsigned __int8 *a2, unsigned int a3)\n{\n  int isMusicPlaying; // r5\n  unsigned int v7; // [sp+4h] [bp-14h] BYREF\n  unsigned __int8 v8[12]; // [sp+8h] [bp-10h] BYREF\n\n  v7 = a3;\n  isMusicPlaying = FMODAudioEngine::isMusicPlaying(a1, a3);\n  if ( isMusicPlaying )\n  {\n    FMODAudioEngine::getActiveMusic((FMODAudioEngine *)v8, (int)a1, v7);\n    isMusicPlaying = sub_3E77C6(v8, a2);\n    if ( isMusicPlaying )\n      isMusicPlaying = *((unsigned __int8 *)std::unordered_map<int,FMODMusic>::operator[]((int)a1 + 264, &v7) + 21);\n    std::string::~string((int)v8);\n  }\n  return isMusicPlaying;\n}", "assembly": "; \n; FMODAudioEngine::isPersistentMatchPlaying from 0x3ef800 to 0x3ef86a (106 bytes)\n; \n; 3 xrefs:\n; > FMODAudioEngine::queueStartMusic @ 0x3efa72\n; > FMODAudioEngine::loadMusic @ 0x3efba2\n; > FMODAudioEngine::updateQueuedMusic @ 0x3f01be\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          {R4-R8,LR}                                             ; +0x0, 0x3ef800\nSUB             SP, SP, #0x18                                          ; +0x4, 0x3ef804\nLDR             R4, =(__stack_chk_guard_ptr - 0x3EF812)                ; +0x6, 0x3ef806\nMOV             R8, R1                                                 ; +0x8, 0x3ef808\nMOV             R1, R2; int                                            ; +0xa, 0x3ef80a\nMOV             R7, R0                                                 ; +0xc, 0x3ef80c\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xe, 0x3ef80e\nLDR             R4, [R4]; __stack_chk_guard                            ; +0x10, 0x3ef810\nSTR             R2, [SP,#0x18+var_14]                                  ; +0x12, 0x3ef812\nLDR             R3, [R4]                                               ; +0x14, 0x3ef814\nSTR             R3, [SP,#0x18+var_4]                                   ; +0x16, 0x3ef816\nBL              _ZN15FMODAudioEngine14isMusicPlayingEi; FMODAudioEngine::isMusicPlaying(int) ; +0x18, 0x3ef818\nMOV             R5, R0                                                 ; +0x1c, 0x3ef81c\nCBZ             R0, loc_3EF856                                         ; +0x1e, 0x3ef81e\nADD             R6, SP, #0x18+var_10                                   ; +0x20, 0x3ef820\nMOV             R1, R7; int                                            ; +0x22, 0x3ef822\nLDR             R2, [SP,#0x18+var_14]                                  ; +0x24, 0x3ef824\nMOV             R0, R6; this                                           ; +0x26, 0x3ef826\nBL              _ZN15FMODAudioEngine14getActiveMusicEi; FMODAudioEngine::getActiveMusic(int) ; +0x28, 0x3ef828\nMOV             R0, R6                                                 ; +0x2c, 0x3ef82c\nMOV             R1, R8                                                 ; +0x2e, 0x3ef82e\nBL              sub_3E77C6                                             ; +0x30, 0x3ef830\nMOV             R5, R0                                                 ; +0x34, 0x3ef834\nCBZ             R0, loc_3EF850                                         ; +0x36, 0x3ef836\nADD.W           R0, R7, #0x108                                         ; +0x38, 0x3ef838\nADD             R1, SP, #0x18+var_14                                   ; +0x3c, 0x3ef83c\nBL              _ZNSt6__ndk113unordered_mapIi9FMODMusicNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_; std::unordered_map<int,FMODMusic>::operator[](int const&) ; +0x3e, 0x3ef83e\nLDRB            R5, [R0,#0x15]                                         ; +0x42, 0x3ef842\nB               loc_3EF850                                             ; +0x44, 0x3ef844\nMOV             R0, R6                                                 ; +0x46, 0x3ef846\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x48, 0x3ef848\nBL              __cxa_end_cleanup                                      ; +0x4c, 0x3ef84c\nMOV             R0, R6                                                 ; +0x50, 0x3ef850\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x52, 0x3ef852\nLDR             R2, [SP,#0x18+var_4]                                   ; +0x56, 0x3ef856\nMOV             R0, R5                                                 ; +0x58, 0x3ef858\nLDR             R3, [R4]                                               ; +0x5a, 0x3ef85a\nCMP             R2, R3                                                 ; +0x5c, 0x3ef85c\nBEQ             loc_3EF864                                             ; +0x5e, 0x3ef85e\nBLX             __stack_chk_fail                                       ; +0x60, 0x3ef860\nADD             SP, SP, #0x18                                          ; +0x64, 0x3ef864\nPOP.W           {R4-R8,PC}                                             ; +0x66, 0x3ef866", "xrefs": ["FMODAudioEngine::queueStartMusic @ 0x3efa72", "FMODAudioEngine::loadMusic @ 0x3efba2", "FMODAudioEngine::updateQueuedMusic @ 0x3f01be"], "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"}