{"type": "func", "start": 3167420, "end": 3168918, "name": "FMODAudioEngine::playEffectAdvanced", "pseudocode": "// \n// FMODAudioEngine::playEffectAdvanced from 0x3054bc to 0x305a96 (1498 bytes)\n// \n// 6 xrefs:\n// > FMODAudioEngine::loadAudioState @ 0x305b58\n// > FMODAudioEngine::playEffectAsync @ 0x305eaa\n// > FMODAudioEngine::playEffect @ 0x305f24\n// > FMODAudioEngine::queuedEffectFinishedLoading @ 0x3060d2\n// > GameManager::playSFXTrigger @ 0x320ff6\n// > RewardUnlockLayer::playRewardEffect @ 0x4e91f2\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\nint __fastcall FMODAudioEngine::playEffectAdvanced(\n        FMODAudioEngine *this,\n        const void **a2,\n        float a3,\n        int a4,\n        int a5,\n        float a6,\n        char a7,\n        char a8,\n        int a9,\n        int a10,\n        int a11,\n        int a12,\n        char a13,\n        int a14,\n        unsigned __int8 a15,\n        char a16,\n        int a17,\n        int a18,\n        float a19,\n        int a20)\n{\n  float v23; // s18\n  unsigned int v24; // r5\n  int v25; // r11\n  float v26; // s16\n  int v27; // r4\n  int MusicChannelID; // r0\n  FMOD::Channel *v29; // r0\n  float m_elapsed; // s20\n  FMOD::Sound **v31; // r0\n  FMODSound *v32; // r6\n  FMOD::ChannelGroup *ChannelGroup; // r0\n  int v34; // r11\n  unsigned int v35; // r0\n  unsigned int v36; // r5\n  std::_Hashtable<int, std::pair<const int, FMOD::DSP *>, std::allocator<std::pair<const int, FMOD::DSP *>>, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>>::size_type v37; // r11\n  _DWORD **v38; // r0\n  _DWORD *inserted; // r0\n  int v40; // r8\n  int v41; // r11\n  int v42; // r9\n  float v44; // r2\n  _DWORD *v45; // r0\n  int v46; // r1\n  float v47; // s16\n  _BOOL4 isEffectLoaded; // [sp+44h] [bp-D8h]\n  FMOD::Sound *v50; // [sp+44h] [bp-D8h]\n  FMOD::System *m_system; // [sp+4Ch] [bp-D0h]\n  unsigned int v52; // [sp+54h] [bp-C8h] BYREF\n  int v53; // [sp+58h] [bp-C4h] BYREF\n  FMOD::ChannelControl *v54; // [sp+5Ch] [bp-C0h] BYREF\n  FMOD::DSP *v55; // [sp+60h] [bp-BCh] BYREF\n  unsigned int v56; // [sp+64h] [bp-B8h] BYREF\n  unsigned __int64 v57; // [sp+68h] [bp-B4h] BYREF\n  _BYTE v58[4]; // [sp+70h] [bp-ACh] BYREF\n  float v59; // [sp+74h] [bp-A8h]\n  int v60; // [sp+78h] [bp-A4h]\n  float v61; // [sp+7Ch] [bp-A0h]\n  char v62; // [sp+80h] [bp-9Ch]\n  int v63; // [sp+84h] [bp-98h]\n  int v64; // [sp+88h] [bp-94h]\n  int v65; // [sp+C0h] [bp-5Ch]\n  int v66; // [sp+C4h] [bp-58h]\n  int v67; // [sp+C8h] [bp-54h]\n  int v68; // [sp+CCh] [bp-50h]\n  int v69; // [sp+D0h] [bp-4Ch]\n  int v70; // [sp+D8h] [bp-44h]\n  int v71; // [sp+DCh] [bp-40h]\n  int v72; // [sp+E0h] [bp-3Ch]\n  int v73; // [sp+E4h] [bp-38h]\n  int v74; // [sp+E8h] [bp-34h]\n  int v75; // [sp+F0h] [bp-2Ch]\n  int v76; // [sp+F4h] [bp-28h]\n  float v77; // [sp+F8h] [bp-24h]\n  char v78; // [sp+FCh] [bp-20h]\n  char v79; // [sp+FDh] [bp-1Fh]\n  int v80; // [sp+100h] [bp-1Ch]\n  char v81; // [sp+104h] [bp-18h]\n  char v82; // [sp+10Ch] [bp-10h]\n\n  v23 = *(float *)&a5;\n  v24 = a10;\n  v25 = a15;\n  v26 = a19;\n  if ( this->m_sfxVolume <= 0.0 && !a13 )\n    return 0;\n  MusicChannelID = FMODAudioEngine::getMusicChannelID(this, 0);\n  v29 = FMODAudioEngine::channelForChannelID(this, MusicChannelID);\n  v52 = 0;\n  FMOD::Channel::getPosition(v29, &v52, 1u);\n  if ( a16 )\n  {\n    sub_775C20(&v57, a2);\n    isEffectLoaded = FMODAudioEngine::isEffectLoaded((int)this, (const void **)&v57);\n    sub_774008(&v57);\n    if ( !isEffectLoaded )\n    {\n      sub_775C20(&v57, a2);\n      v27 = FMODAudioEngine::queuePlayEffect(\n              (int)this,\n              (int)&v57,\n              SLODWORD(a3),\n              a4,\n              a5,\n              SLODWORD(a6),\n              a7,\n              a8,\n              a9,\n              a10,\n              a11,\n              a12,\n              a13,\n              a14,\n              v25,\n              a18,\n              SLODWORD(v26),\n              a20);\n      sub_774008(&v57);\n      return v27;\n    }\n  }\n  if ( v26 <= 0.0 )\n  {\nLABEL_12:\n    v53 = 0;\n    if ( *(float *)&a5 > 2.0 )\n      v23 = 2.0;\n    if ( a14 )\n      v53 = FMODAudioEngine::channelIDForUniqueID(this, a14);\n    if ( v53 > 0 )\n    {\n      if ( !v25 )\n        return v53;\n      if ( FMODAudioEngine::isChannelStopping(this, v53) )\n      {\n        sub_2FE390((int *)&this->m_channelIDToEffectID, &v53);\n        sub_2FE390((int *)&this->m_effectIDToChannelID, &a14);\n      }\n      else\n      {\n        FMODAudioEngine::stopChannel(this, v53);\n      }\n      v53 = 0;\n    }\n    sub_775C20(&v57, a2);\n    FMODAudioEngine::preloadEffect(this, (const void **)&v57);\n    sub_774008(&v57);\n    if ( !std::_Hashtable<std::string,std::pair<std::string const,FMODSound>,std::allocator<std::pair<std::string const,FMODSound>>,std::__detail::_Select1st,std::equal_to<std::string>,std::hash<std::string>,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits<true,false,true>>::count(\n            &this->m_fmodSounds._M_h._M_buckets,\n            a2) )\n      return 0;\n    v31 = (FMOD::Sound **)std::__detail::_Map_base<std::string,std::pair<std::string const,FMODSound>,std::allocator<std::pair<std::string const,FMODSound>>,std::__detail::_Select1st,std::equal_to<std::string>,std::hash<std::string>,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits<true,false,true>,true>::operator[](\n                            &this->m_fmodSounds._M_h._M_buckets,\n                            a2);\n    v54 = nullptr;\n    m_system = this->m_system;\n    v32 = (FMODSound *)v31;\n    v50 = *v31;\n    ChannelGroup = FMODAudioEngine::getChannelGroup(this, a20, a8);\n    this->m_lastResult = FMOD::System::playSound(m_system, v50, ChannelGroup, 1, (FMOD::Channel **)&v54);\n    ERRCHECK_fn();\n    if ( this->m_lastResult )\n      return v53;\n    if ( a3 <= 0.0 )\n      a3 = 1.0;\n    FMOD::ChannelControl::setPitch(v54, a3);\n    FMOD::ChannelControl::setVolume(v54, v23);\n    if ( a13 )\n      FMOD::Channel::setLoopCount((FMOD::Channel *)v54, -1);\n    v55 = nullptr;\n    if ( a6 > 0.0 && a6 != 1.0 && this->m_channelIDToDSP._M_h._M_element_count <= 0x31 )\n    {\n      FMOD::System::createDSPByType(this->m_system, FMOD_DSP_TYPE_PITCHSHIFT, &v55);\n      FMOD::DSP::setParameterFloat(v55, 0, a6);\n      if ( a7 )\n        v44 = 2048.0;\n      else\n        v44 = 1024.0;\n      FMOD::DSP::setParameterFloat(v55, 1, v44);\n      FMOD::ChannelControl::addDSP(v54, 0, v55);\n    }\n    if ( a9 > 0 )\n      FMOD::Channel::setPosition((FMOD::Channel *)v54, a9, 1u);\n    if ( a10 <= 0 )\n    {\n      v34 = a10;\n    }\n    else\n    {\n      v34 = (a10 - a9) & ~((a10 - a9) >> 31);\n      if ( v34 )\n      {\nLABEL_40:\n        this->m_lastResult = FMOD::ChannelControl::getDSPClock(v54, nullptr, &v57);\n        if ( a11 > 0 )\n        {\n          this->m_lastResult = FMOD::ChannelControl::addFadePoint(v54, v57, 0.0);\n          this->m_lastResult = FMOD::ChannelControl::addFadePoint(\n                                 v54,\n                                 (unsigned __int64)(float)((float)v57\n                                                         + (float)((float)this->m_sampleRate\n                                                                 * (float)((float)a11 / 1000.0))),\n                                 1.0);\n        }\n        if ( v34 > 0 )\n        {\n          if ( !a13 )\n          {\n            v47 = (float)((float)v34 / a3) / 1000.0;\n            this->m_lastResult = FMOD::ChannelControl::setDelay(\n                                   v54,\n                                   0,\n                                   (unsigned __int64)(float)((float)v57 + (float)((float)this->m_sampleRate * v47)),\n                                   1);\n            if ( a12 > 0 )\n            {\nLABEL_67:\n              this->m_lastResult = FMOD::ChannelControl::addFadePoint(\n                                     v54,\n                                     (unsigned __int64)(float)((float)v57\n                                                             + (float)((float)this->m_sampleRate\n                                                                     * (float)(v47 - (float)((float)a12 / 1000.0)))),\n                                     1.0);\n              this->m_lastResult = FMOD::ChannelControl::addFadePoint(\n                                     v54,\n                                     (unsigned __int64)(float)((float)v57 + (float)((float)this->m_sampleRate * v47)),\n                                     0.0);\n            }\nLABEL_53:\n            FMOD::ChannelControl::setCallback(\n              v54,\n              (FMOD_RESULT (*)(FMOD_CHANNELCONTROL *, FMOD_CHANNELCONTROL_TYPE, FMOD_CHANNELCONTROL_CALLBACK_TYPE, void *, void *))sub_3053A4);\n            v35 = FMODAudioEngine::registerChannel(this, (FMOD::Channel *)v54, a17, a14);\n            v36 = v35;\n            v53 = v35;\n            if ( v55 )\n            {\n              v37 = v35 % this->m_channelIDToDSP._M_h._M_bucket_count;\n              v38 = sub_2FE602(&this->m_channelIDToDSP._M_h._M_buckets, v37, &v53);\n              if ( !v38 || (inserted = *v38) == nullptr )\n              {\n                v45 = (_DWORD *)operator new(0xCu);\n                v46 = v53;\n                *v45 = 0;\n                v45[1] = v46;\n                v45[2] = 0;\n                inserted = std::_Hashtable<int,std::pair<int const,FMOD::DSP *>,std::allocator<std::pair<int const,FMOD::DSP *>>,std::__detail::_Select1st,std::equal_to<int>,std::hash<int>,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits<false,false,true>>::_M_insert_unique_node(\n                             (int)&this->m_channelIDToDSP,\n                             v37,\n                             v36,\n                             v45);\n              }\n              inserted[2] = v55;\n            }\n            FMODAudioEngine::channelLinkSound(this, v53, v32);\n            sub_775C20(&v56, a2);\n            v40 = a14;\n            v41 = v53;\n            v42 = a18;\n            sub_775C20(v58, &v56);\n            v64 = 0;\n            v76 = a20;\n            v65 = 0;\n            v66 = 0;\n            v70 = 0;\n            v71 = 0;\n            v72 = 0;\n            v73 = 0;\n            v67 = 0;\n            v68 = 0;\n            v69 = 0;\n            v74 = 0;\n            v78 = a7;\n            v81 = 0;\n            v82 = 0;\n            v59 = a3;\n            v62 = a13;\n            v63 = v41;\n            v60 = a4;\n            v75 = v42;\n            v79 = a8;\n            v61 = v23;\n            v80 = v40;\n            v77 = a6;\n            sub_300CB8(\n              (int)&v57,\n              &this->m_audioState.m_soundStateForChannels._M_h._M_buckets,\n              (unsigned int *)&v53,\n              (int)v58);\n            sub_774008(v58);\n            sub_774008(&v56);\n            FMOD::ChannelControl::setVolumeRamp(v54, 0);\n            FMOD::ChannelControl::setPaused(v54, 0);\n            return v53;\n          }\nLABEL_47:\n          if ( a9 > 0 )\n          {\n            if ( a10 <= 0 )\n            {\n              FMOD::Channel::getLoopPoints((FMOD::Channel *)v54, &v56, 1u, (unsigned int *)&v57, 1u);\n              v24 = v57;\n            }\n          }\n          else if ( a10 <= 0 )\n          {\n            goto LABEL_53;\n          }\n          FMOD::Channel::setLoopPoints((FMOD::Channel *)v54, a9, 1u, v24, 1u);\n          goto LABEL_53;\n        }\n        if ( a12 > 0 )\n        {\n          if ( !v34 )\n            v34 = v32->m_length - a9;\n          if ( !a13 )\n          {\n            v47 = (float)((float)v34 / a3) / 1000.0;\n            goto LABEL_67;\n          }\n          goto LABEL_47;\n        }\nLABEL_46:\n        if ( !a13 )\n          goto LABEL_53;\n        goto LABEL_47;\n      }\n    }\n    if ( a11 <= 0 && a12 <= 0 )\n      goto LABEL_46;\n    goto LABEL_40;\n  }\n  if ( !sub_2FE1D8(&this->m_audioState.m_intervalForEffects._M_h._M_buckets, a18)\n    || (m_elapsed = this->m_audioState.m_elapsed,\n        (float)(m_elapsed\n              - *(float *)std::__detail::_Map_base<int,std::pair<int const,float>,std::allocator<std::pair<int const,float>>,std::__detail::_Select1st,std::equal_to<int>,std::hash<int>,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits<false,false,true>,true>::operator[](\n                            &this->m_audioState.m_intervalForEffects._M_h._M_buckets,\n                            (unsigned int *)&a18)) >= v26) )\n  {\n    *std::__detail::_Map_base<int,std::pair<int const,float>,std::allocator<std::pair<int const,float>>,std::__detail::_Select1st,std::equal_to<int>,std::hash<int>,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits<false,false,true>,true>::operator[](\n       &this->m_audioState.m_intervalForEffects._M_h._M_buckets,\n       (unsigned int *)&a18) = LODWORD(this->m_audioState.m_elapsed);\n    goto LABEL_12;\n  }\n  return 0;\n}", "assembly": "; \n; FMODAudioEngine::playEffectAdvanced from 0x3054bc to 0x305a96 (1498 bytes)\n; \n; 6 xrefs:\n; > FMODAudioEngine::loadAudioState @ 0x305b58\n; > FMODAudioEngine::playEffectAsync @ 0x305eaa\n; > FMODAudioEngine::playEffect @ 0x305f24\n; > FMODAudioEngine::queuedEffectFinishedLoading @ 0x3060d2\n; > GameManager::playSFXTrigger @ 0x320ff6\n; > RewardUnlockLayer::playRewardEffect @ 0x4e91f2\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\nPUSH.W          {R4-R11,LR}                                            ; +0x0, 0x3054bc\nMOV             R4, R0                                                 ; +0x4, 0x3054c0\nVPUSH           {D8-D10}                                               ; +0x6, 0x3054c2\nMOV             R9, R1                                                 ; +0xa, 0x3054c6\nVLDR            S15, [R0,#0x160]                                       ; +0xc, 0x3054c8\nSUB             SP, SP, #0x11C                                         ; +0x10, 0x3054cc\nVMOV            S17, R2                                                ; +0x12, 0x3054ce\nLDR.W           R2, =(__stack_chk_guard_ptr - 0x3054E4)                ; +0x16, 0x3054d2\nSTR             R3, [SP,#0x11C+var_DC]                                 ; +0x1a, 0x3054d6\nVCMPE.F32       S15, #0.0                                              ; +0x1c, 0x3054d8\nLDRB.W          R3, [SP,#0x11C+arg_8]                                  ; +0x20, 0x3054dc\nADD             R2, PC; __stack_chk_guard_ptr                          ; +0x24, 0x3054e0\nLDR             R2, [R2]; __stack_chk_guard                            ; +0x26, 0x3054e2\nVLDR            S18, [SP,#0x11C+arg_0]                                 ; +0x28, 0x3054e4\nLDRB.W          R10, [SP,#0x11C+arg_C]                                 ; +0x2c, 0x3054e8\nSTR             R3, [SP,#0x11C+var_E0]                                 ; +0x30, 0x3054ec\nVMRS            APSR_nzcv, FPSCR                                       ; +0x32, 0x3054ee\nLDR             R3, [R2]                                               ; +0x36, 0x3054f2\nVLDR            S19, [SP,#0x11C+arg_4]                                 ; +0x38, 0x3054f4\nLDR.W           R8, [SP,#0x11C+arg_10]                                 ; +0x3c, 0x3054f8\nLDR             R5, [SP,#0x11C+arg_14]                                 ; +0x40, 0x3054fc\nLDRB.W          R7, [SP,#0x11C+arg_20]                                 ; +0x42, 0x3054fe\nLDRB.W          R11, [SP,#0x11C+arg_28]                                ; +0x46, 0x305502\nVLDR            S16, [SP,#0x11C+arg_38]                                ; +0x4a, 0x305506\nSTR             R3, [SP,#0x11C+var_8]                                  ; +0x4e, 0x30550a\nSTR             R2, [SP,#0x11C+var_D4]                                 ; +0x50, 0x30550c\nBHI             loc_305516                                             ; +0x52, 0x30550e\nCBNZ            R7, loc_305516                                         ; +0x54, 0x305510\nMOVS            R4, #0                                                 ; +0x56, 0x305512\nB               loc_305912                                             ; +0x58, 0x305514\nMOVS            R1, #0; int                                            ; +0x5a, 0x305516\nMOV             R0, R4; this                                           ; +0x5c, 0x305518\nBL              _ZN15FMODAudioEngine17getMusicChannelIDEi; FMODAudioEngine::getMusicChannelID(int) ; +0x5e, 0x30551a\nMOV             R1, R0; int                                            ; +0x62, 0x30551e\nMOV             R0, R4; this                                           ; +0x64, 0x305520\nBL              _ZN15FMODAudioEngine19channelForChannelIDEi; FMODAudioEngine::channelForChannelID(int) ; +0x66, 0x305522\nADD             R1, SP, #0x11C+var_4                                   ; +0x6a, 0x305526\nMOVS            R3, #0                                                 ; +0x6c, 0x305528\nMOVS            R2, #1; unsigned int                                   ; +0x6e, 0x30552a\nSTR.W           R3, [R1,#-0xC4]!; unsigned int *                       ; +0x70, 0x30552c\nBLX             _ZN4FMOD7Channel11getPositionEPjj; FMOD::Channel::getPosition(uint *,uint) ; +0x74, 0x305530\nLDRB.W          R3, [SP,#0x11C+arg_2C]                                 ; +0x78, 0x305534\nCMP             R3, #0                                                 ; +0x7c, 0x305538\nBEQ             loc_3055B2                                             ; +0x7e, 0x30553a\nADD             R6, SP, #0x11C+var_B4                                  ; +0x80, 0x30553c\nMOV             R1, R9                                                 ; +0x82, 0x30553e\nMOV             R0, R6                                                 ; +0x84, 0x305540\nBL              sub_775C20                                             ; +0x86, 0x305542\nMOV             R0, R4                                                 ; +0x8a, 0x305546\nMOV             R1, R6                                                 ; +0x8c, 0x305548\nBL              _ZN15FMODAudioEngine14isEffectLoadedESs; FMODAudioEngine::isEffectLoaded(std::string) ; +0x8e, 0x30554a\nSTR             R0, [SP,#0x11C+var_D8]                                 ; +0x92, 0x30554e\nMOV             R0, R6                                                 ; +0x94, 0x305550\nBL              sub_774008                                             ; +0x96, 0x305552\nLDR             R3, [SP,#0x11C+var_D8]                                 ; +0x9a, 0x305556\nCBZ             R3, loc_30555E                                         ; +0x9c, 0x305558\nB               loc_3055B2                                             ; +0x9e, 0x30555a\nB               loc_305924                                             ; +0xa0, 0x30555c\nMOV             R1, R9                                                 ; +0xa2, 0x30555e\nMOV             R0, R6                                                 ; +0xa4, 0x305560\nBL              sub_775C20                                             ; +0xa6, 0x305562\nLDR             R3, [SP,#0x11C+var_E0]                                 ; +0xaa, 0x305566\nSTR.W           R10, [SP,#0x11C+var_110]                               ; +0xac, 0x305568\nMOV             R0, R4                                                 ; +0xb0, 0x30556c\nSTR.W           R8, [SP,#0x11C+var_10C]                                ; +0xb2, 0x30556e\nMOV             R1, R6                                                 ; +0xb6, 0x305572\nSTR             R3, [SP,#0x11C+var_114]                                ; +0xb8, 0x305574\nLDR             R3, [SP,#0x11C+arg_18]                                 ; +0xba, 0x305576\nSTR             R5, [SP,#0x11C+var_108]                                ; +0xbc, 0x305578\nSTR             R7, [SP,#0x11C+var_FC]                                 ; +0xbe, 0x30557a\nSTR             R3, [SP,#0x11C+var_104]                                ; +0xc0, 0x30557c\nLDR             R3, [SP,#0x11C+arg_1C]                                 ; +0xc2, 0x30557e\nSTR.W           R11, [SP,#0x11C+var_F4]                                ; +0xc4, 0x305580\nVSTR            S16, [SP,#0x11C+var_EC]                                ; +0xc8, 0x305584\nSTR             R3, [SP,#0x11C+var_100]                                ; +0xcc, 0x305588\nLDR             R3, [SP,#0x11C+arg_24]                                 ; +0xce, 0x30558a\nVMOV            R2, S17                                                ; +0xd0, 0x30558c\nVSTR            S18, [SP,#0x11C+var_11C]                               ; +0xd4, 0x305590\nSTR             R3, [SP,#0x11C+var_F8]                                 ; +0xd8, 0x305594\nLDR             R3, [SP,#0x11C+arg_34]                                 ; +0xda, 0x305596\nVSTR            S19, [SP,#0x11C+var_11C+4]                             ; +0xdc, 0x305598\nSTR             R3, [SP,#0x11C+var_F0]                                 ; +0xe0, 0x30559c\nLDR             R3, [SP,#0x11C+arg_3C]                                 ; +0xe2, 0x30559e\nSTR             R3, [SP,#0x11C+var_E8]                                 ; +0xe4, 0x3055a0\nLDR             R3, [SP,#0x11C+var_DC]                                 ; +0xe6, 0x3055a2\nBL              _ZN15FMODAudioEngine15queuePlayEffectESsffffbbiiiibibifi; FMODAudioEngine::queuePlayEffect(std::string,float,float,float,float,bool,bool,int,int,int,int,bool,int,bool,int,float,int) ; +0xe8, 0x3055a4\nMOV             R4, R0                                                 ; +0xec, 0x3055a8\nMOV             R0, R6                                                 ; +0xee, 0x3055aa\nBL              sub_774008                                             ; +0xf0, 0x3055ac\nB               loc_305912                                             ; +0xf4, 0x3055b0\nVCMPE.F32       S16, #0.0                                              ; +0xf6, 0x3055b2\nVMRS            APSR_nzcv, FPSCR                                       ; +0xfa, 0x3055b6\nBLE             loc_3055FA                                             ; +0xfe, 0x3055ba\nADD.W           R6, R4, #0x2FC                                         ; +0x100, 0x3055bc\nLDR             R1, [SP,#0x11C+arg_34]                                 ; +0x104, 0x3055c0\nMOV             R0, R6                                                 ; +0x106, 0x3055c2\nBL              sub_2FE1D8                                             ; +0x108, 0x3055c4\nCBNZ            R0, loc_3055DA                                         ; +0x10c, 0x3055c8\nMOV             R0, R6                                                 ; +0x10e, 0x3055ca\nADD             R1, SP, #0x11C+arg_34                                  ; +0x110, 0x3055cc\nBL              _ZNSt8__detail9_Map_baseIiSt4pairIKifESaIS3_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_; std::__detail::_Map_base<int,std::pair<int const,float>,std::allocator<std::pair<int const,float>>,std::__detail::_Select1st,std::equal_to<int>,std::hash<int>,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits<false,false,true>,true>::operator[](int const&) ; +0x112, 0x3055ce\nLDR.W           R3, [R4,#0x1B4]                                        ; +0x116, 0x3055d2\nSTR             R3, [R0]                                               ; +0x11a, 0x3055d6\nB               loc_3055FA                                             ; +0x11c, 0x3055d8\nMOV             R0, R6                                                 ; +0x11e, 0x3055da\nADD             R1, SP, #0x11C+arg_34                                  ; +0x120, 0x3055dc\nVLDR            S20, [R4,#0x1B4]                                       ; +0x122, 0x3055de\nBL              _ZNSt8__detail9_Map_baseIiSt4pairIKifESaIS3_ENS_10_Select1stESt8equal_toIiESt4hashIiENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_; std::__detail::_Map_base<int,std::pair<int const,float>,std::allocator<std::pair<int const,float>>,std::__detail::_Select1st,std::equal_to<int>,std::hash<int>,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits<false,false,true>,true>::operator[](int const&) ; +0x126, 0x3055e2\nVLDR            S15, [R0]                                              ; +0x12a, 0x3055e6\nVSUB.F32        S20, S20, S15                                          ; +0x12e, 0x3055ea\nVCMPE.F32       S20, S16                                               ; +0x132, 0x3055ee\nVMRS            APSR_nzcv, FPSCR                                       ; +0x136, 0x3055f2\nBPL             loc_3055CA                                             ; +0x13a, 0x3055f6\nB               loc_305512                                             ; +0x13c, 0x3055f8\nVMOV.F32        S15, #2.0                                              ; +0x13e, 0x3055fa\nLDR             R1, [SP,#0x11C+arg_24]; int                            ; +0x142, 0x3055fe\nMOVS            R3, #0                                                 ; +0x144, 0x305600\nSTR             R3, [SP,#0x11C+var_C4]                                 ; +0x146, 0x305602\nVCMP.F32        S18, S15                                               ; +0x148, 0x305604\nVMRS            APSR_nzcv, FPSCR                                       ; +0x14c, 0x305608\nIT GT                                                                  ; +0x150, 0x30560c\nVMOVGT.F32      S18, S15                                               ; +0x152, 0x30560e\nCBZ             R1, loc_30561C                                         ; +0x156, 0x305612\nMOV             R0, R4; this                                           ; +0x158, 0x305614\nBL              _ZN15FMODAudioEngine20channelIDForUniqueIDEi; FMODAudioEngine::channelIDForUniqueID(int) ; +0x15a, 0x305616\nSTR             R0, [SP,#0x11C+var_C4]                                 ; +0x15e, 0x30561a\nLDR             R1, [SP,#0x11C+var_C4]; int                            ; +0x160, 0x30561c\nCMP             R1, #0                                                 ; +0x162, 0x30561e\nBLE             loc_305658                                             ; +0x164, 0x305620\nCMP.W           R11, #0                                                ; +0x166, 0x305622\nBEQ             loc_305654                                             ; +0x16a, 0x305626\nMOV             R0, R4; this                                           ; +0x16c, 0x305628\nBL              _ZN15FMODAudioEngine17isChannelStoppingEi; FMODAudioEngine::isChannelStopping(int) ; +0x16e, 0x30562a\nCBNZ            R0, loc_30563A                                         ; +0x172, 0x30562e\nMOV             R0, R4; this                                           ; +0x174, 0x305630\nLDR             R1, [SP,#0x11C+var_C4]; int                            ; +0x176, 0x305632\nBL              _ZN15FMODAudioEngine11stopChannelEi; FMODAudioEngine::stopChannel(int) ; +0x178, 0x305634\nB               loc_30564E                                             ; +0x17c, 0x305638\nADD             R1, SP, #0x11C+var_C4                                  ; +0x17e, 0x30563a\nADD.W           R0, R4, #0x3DC                                         ; +0x180, 0x30563c\nBL              sub_2FE390                                             ; +0x184, 0x305640\nADD.W           R0, R4, #0x3F8                                         ; +0x188, 0x305644\nADD             R1, SP, #0x11C+arg_24                                  ; +0x18c, 0x305648\nBL              sub_2FE390                                             ; +0x18e, 0x30564a\nMOVS            R3, #0                                                 ; +0x192, 0x30564e\nSTR             R3, [SP,#0x11C+var_C4]                                 ; +0x194, 0x305650\nB               loc_305658                                             ; +0x196, 0x305652\nMOV             R4, R1                                                 ; +0x198, 0x305654\nB               loc_305912                                             ; +0x19a, 0x305656\nADD             R6, SP, #0x11C+var_B4                                  ; +0x19c, 0x305658\nMOV             R1, R9                                                 ; +0x19e, 0x30565a\nMOV             R0, R6                                                 ; +0x1a0, 0x30565c\nBL              sub_775C20                                             ; +0x1a2, 0x30565e\nMOV             R0, R4                                                 ; +0x1a6, 0x305662\nMOV             R1, R6                                                 ; +0x1a8, 0x305664\nBL              _ZN15FMODAudioEngine13preloadEffectESs; FMODAudioEngine::preloadEffect(std::string) ; +0x1aa, 0x305666\nMOV             R0, R6                                                 ; +0x1ae, 0x30566a\nADD.W           R6, R4, #0x124                                         ; +0x1b0, 0x30566c\nBL              sub_774008                                             ; +0x1b4, 0x305670\nMOV             R1, R9                                                 ; +0x1b8, 0x305674\nMOV             R0, R6                                                 ; +0x1ba, 0x305676\nBL              _ZNKSt10_HashtableISsSt4pairIKSs9FMODSoundESaIS3_ENSt8__detail10_Select1stESt8equal_toISsESt4hashISsENS5_18_Mod_range_hashingENS5_20_Default_ranged_hashENS5_20_Prime_rehash_policyENS5_17_Hashtable_traitsILb1ELb0ELb1EEEE5countERS1_; std::_Hashtable<std::string,std::pair<std::string const,FMODSound>,std::allocator<std::pair<std::string const,FMODSound>>,std::__detail::_Select1st,std::equal_to<std::string>,std::hash<std::string>,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits<true,false,true>>::count(std::string const&) ; +0x1bc, 0x305678\nCMP             R0, #0                                                 ; +0x1c0, 0x30567c\nBEQ.W           loc_305512                                             ; +0x1c2, 0x30567e\nMOV             R0, R6                                                 ; +0x1c6, 0x305682\nMOV             R1, R9                                                 ; +0x1c8, 0x305684\nBL              _ZNSt8__detail9_Map_baseISsSt4pairIKSs9FMODSoundESaIS4_ENS_10_Select1stESt8equal_toISsESt4hashISsENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb1ELb0ELb1EEELb1EEixERS2_; std::__detail::_Map_base<std::string,std::pair<std::string const,FMODSound>,std::allocator<std::pair<std::string const,FMODSound>>,std::__detail::_Select1st,std::equal_to<std::string>,std::hash<std::string>,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits<true,false,true>,true>::operator[](std::string const&) ; +0x1ca, 0x305686\nADD.W           R11, SP, #0x11C+var_4                                  ; +0x1ce, 0x30568a\nMOVS            R3, #0                                                 ; +0x1d2, 0x30568e\nLDR             R1, [SP,#0x11C+arg_3C]; int                            ; +0x1d4, 0x305690\nSTR.W           R3, [R11,#-0xBC]!                                      ; +0x1d6, 0x305692\nMOV             R2, R10; bool                                          ; +0x1da, 0x305696\nLDR.W           R3, [R4,#0x184]                                        ; +0x1dc, 0x305698\nSTR             R3, [SP,#0x11C+var_D0]                                 ; +0x1e0, 0x30569c\nLDR             R3, [R0]                                               ; +0x1e2, 0x30569e\nMOV             R6, R0                                                 ; +0x1e4, 0x3056a0\nMOV             R0, R4; this                                           ; +0x1e6, 0x3056a2\nSTR             R3, [SP,#0x11C+var_D8]                                 ; +0x1e8, 0x3056a4\nBL              _ZN15FMODAudioEngine15getChannelGroupEib; FMODAudioEngine::getChannelGroup(int,bool) ; +0x1ea, 0x3056a6\nLDR             R3, [SP,#0x11C+var_D0]                                 ; +0x1ee, 0x3056aa\nLDR             R1, [SP,#0x11C+var_D8]; FMOD::Sound *                  ; +0x1f0, 0x3056ac\nSTR.W           R11, [SP,#0x11C+var_11C]; FMOD::Channel **             ; +0x1f2, 0x3056ae\nMOV             R2, R0; FMOD::ChannelGroup *                           ; +0x1f6, 0x3056b2\nMOV             R0, R3; this                                           ; +0x1f8, 0x3056b4\nMOVS            R3, #1; bool                                           ; +0x1fa, 0x3056b6\nBLX             _ZN4FMOD6System9playSoundEPNS_5SoundEPNS_12ChannelGroupEbPPNS_7ChannelE; FMOD::System::playSound(FMOD::Sound *,FMOD::ChannelGroup *,bool,FMOD::Channel **) ; +0x1fc, 0x3056b8\nLDR             R1, =(aUsersRobertLib - 0x3056C6); \"/Users/robert/Library/CloudStorage/Drop\"... ; +0x200, 0x3056bc\nMOVW            R2, #0x4AC                                             ; +0x202, 0x3056be\nADD             R1, PC; \"/Users/robert/Library/CloudStorage/Drop\"...   ; +0x206, 0x3056c2\nSTR.W           R0, [R4,#0x198]                                        ; +0x208, 0x3056c4\nBL              _Z11ERRCHECK_fn11FMOD_RESULTPKci; ERRCHECK_fn(FMOD_RESULT,char const*,int) ; +0x20c, 0x3056c8\nLDR.W           R3, [R4,#0x198]                                        ; +0x210, 0x3056cc\nCMP             R3, #0                                                 ; +0x214, 0x3056d0\nBNE.W           loc_305910                                             ; +0x216, 0x3056d2\nVMOV.F32        S15, #1.0                                              ; +0x21a, 0x3056d6\nLDR             R0, [SP,#0x11C+var_C0]; this                           ; +0x21e, 0x3056da\nVCMP.F32        S17, #0.0                                              ; +0x220, 0x3056dc\nVMRS            APSR_nzcv, FPSCR                                       ; +0x224, 0x3056e0\nIT LS                                                                  ; +0x228, 0x3056e4\nVMOVLS.F32      S17, S15                                               ; +0x22a, 0x3056e6\nVMOV            R1, S17; float                                         ; +0x22e, 0x3056ea\nBLX             _ZN4FMOD14ChannelControl8setPitchEf; FMOD::ChannelControl::setPitch(float) ; +0x232, 0x3056ee\nLDR             R0, [SP,#0x11C+var_C0]; this                           ; +0x236, 0x3056f2\nVMOV            R1, S18; float                                         ; +0x238, 0x3056f4\nBLX             _ZN4FMOD14ChannelControl9setVolumeEf; FMOD::ChannelControl::setVolume(float) ; +0x23c, 0x3056f8\nCBZ             R7, loc_305708                                         ; +0x240, 0x3056fc\nLDR             R0, [SP,#0x11C+var_C0]; this                           ; +0x242, 0x3056fe\nMOV.W           R1, #0xFFFFFFFF; int                                   ; +0x244, 0x305700\nBLX             _ZN4FMOD7Channel12setLoopCountEi; FMOD::Channel::setLoopCount(int) ; +0x248, 0x305704\nVCMPE.F32       S19, #0.0                                              ; +0x24c, 0x305708\nMOV.W           R11, #0                                                ; +0x250, 0x30570c\nSTR.W           R11, [SP,#0x11C+var_BC]                                ; +0x254, 0x305710\nVMRS            APSR_nzcv, FPSCR                                       ; +0x258, 0x305714\nBLE             loc_305732                                             ; +0x25c, 0x305718\nVMOV.F32        S15, #1.0                                              ; +0x25e, 0x30571a\nVCMP.F32        S19, S15                                               ; +0x262, 0x30571e\nVMRS            APSR_nzcv, FPSCR                                       ; +0x266, 0x305722\nBEQ             loc_305732                                             ; +0x26a, 0x305726\nLDR.W           R3, [R4,#0x390]                                        ; +0x26c, 0x305728\nCMP             R3, #0x31 ; '1'                                        ; +0x270, 0x30572c\nBLS.W           loc_30593C                                             ; +0x272, 0x30572e\nCMP.W           R8, #0                                                 ; +0x276, 0x305732\nBLE             loc_305742                                             ; +0x27a, 0x305736\nLDR             R0, [SP,#0x11C+var_C0]; this                           ; +0x27c, 0x305738\nMOV             R1, R8; unsigned int                                   ; +0x27e, 0x30573a\nMOVS            R2, #1; unsigned int                                   ; +0x280, 0x30573c\nBLX             _ZN4FMOD7Channel11setPositionEjj; FMOD::Channel::setPosition(uint,uint) ; +0x282, 0x30573e\nCMP             R5, #0                                                 ; +0x286, 0x305742\nBLE             loc_305756                                             ; +0x288, 0x305744\nRSB.W           R11, R8, R5                                            ; +0x28a, 0x305746\nBIC.W           R11, R11, R11,ASR#31                                   ; +0x28e, 0x30574a\nCMP.W           R11, #0                                                ; +0x292, 0x30574e\nBNE             loc_305764                                             ; +0x296, 0x305752\nB               loc_305758                                             ; +0x298, 0x305754\nMOV             R11, R5                                                ; +0x29a, 0x305756\nLDR             R3, [SP,#0x11C+arg_18]                                 ; +0x29c, 0x305758\nCMP             R3, #0                                                 ; +0x29e, 0x30575a\nBGT             loc_305764                                             ; +0x2a0, 0x30575c\nLDR             R3, [SP,#0x11C+arg_1C]                                 ; +0x2a2, 0x30575e\nCMP             R3, #0                                                 ; +0x2a4, 0x305760\nBLE             loc_3057EC                                             ; +0x2a6, 0x305762\nLDR             R0, [SP,#0x11C+var_C0]; this                           ; +0x2a8, 0x305764\nMOVS            R1, #0; unsigned __int64 *                             ; +0x2aa, 0x305766\nADD             R2, SP, #0x11C+var_B4; unsigned __int64 *              ; +0x2ac, 0x305768\nBLX             _ZN4FMOD14ChannelControl11getDSPClockEPyS1_; FMOD::ChannelControl::getDSPClock(ulong long *,ulong long *) ; +0x2ae, 0x30576a\nLDR             R3, [SP,#0x11C+arg_18]                                 ; +0x2b2, 0x30576e\nCMP             R3, #0                                                 ; +0x2b4, 0x305770\nSTR.W           R0, [R4,#0x198]                                        ; +0x2b6, 0x305772\nBLE             loc_3057CE                                             ; +0x2ba, 0x305776\nMOVS            R3, #0                                                 ; +0x2bc, 0x305778\nLDR             R0, [SP,#0x11C+var_C0]; this                           ; +0x2be, 0x30577a\nSTR             R3, [SP,#0x11C+var_11C]; float                         ; +0x2c0, 0x30577c\nLDRD.W          R2, R3, [SP,#0x11C+var_B4]; unsigned __int64           ; +0x2c2, 0x30577e\nBLX             _ZN4FMOD14ChannelControl12addFadePointEyf; FMOD::ChannelControl::addFadePoint(ulong long,float) ; +0x2c6, 0x305782\nSTR.W           R0, [R4,#0x198]                                        ; +0x2ca, 0x305786\nLDRD.W          R0, R1, [SP,#0x11C+var_B4]                             ; +0x2ce, 0x30578a\nBLX             __aeabi_ul2f                                           ; +0x2d2, 0x30578e\nVLDR            S15, [R4,#0x19C]                                       ; +0x2d6, 0x305792\nVLDR            S13, =1000.0                                           ; +0x2da, 0x305796\nVCVT.F32.S32    S14, S15                                               ; +0x2de, 0x30579a\nVLDR            S15, [SP,#0x11C+arg_18]                                ; +0x2e2, 0x30579e\nVCVT.F32.S32    S15, S15                                               ; +0x2e6, 0x3057a2\nVDIV.F32        S15, S15, S13                                          ; +0x2ea, 0x3057a6\nVMOV            S13, R0                                                ; +0x2ee, 0x3057aa\nVMLA.F32        S13, S14, S15                                          ; +0x2f2, 0x3057ae\nVMOV            R0, S13                                                ; +0x2f6, 0x3057b2\nBLX             __aeabi_f2ulz                                          ; +0x2fa, 0x3057b6\nMOV             R2, R0; unsigned __int64                               ; +0x2fe, 0x3057ba\nMOV             R3, R1                                                 ; +0x300, 0x3057bc\nLDR             R0, [SP,#0x11C+var_C0]; this                           ; +0x302, 0x3057be\nMOV.W           R1, #0x3F800000                                        ; +0x304, 0x3057c0\nSTR             R1, [SP,#0x11C+var_11C]; float                         ; +0x308, 0x3057c4\nBLX             _ZN4FMOD14ChannelControl12addFadePointEyf; FMOD::ChannelControl::addFadePoint(ulong long,float) ; +0x30a, 0x3057c6\nSTR.W           R0, [R4,#0x198]                                        ; +0x30e, 0x3057ca\nCMP.W           R11, #0                                                ; +0x312, 0x3057ce\nBGT.W           loc_30599C                                             ; +0x316, 0x3057d2\nLDR             R3, [SP,#0x11C+arg_1C]                                 ; +0x31a, 0x3057d6\nCMP             R3, #0                                                 ; +0x31c, 0x3057d8\nBLE             loc_3057EC                                             ; +0x31e, 0x3057da\nCMP.W           R11, #0                                                ; +0x320, 0x3057dc\nBNE.W           loc_305A70                                             ; +0x324, 0x3057e0\nLDR             R3, [R6,#8]                                            ; +0x328, 0x3057e4\nRSB.W           R11, R8, R3                                            ; +0x32a, 0x3057e6\nB               loc_305A70                                             ; +0x32e, 0x3057ea\nCBZ             R7, loc_30581C                                         ; +0x330, 0x3057ec\nCMP.W           R8, #0                                                 ; +0x332, 0x3057ee\nBGT             loc_3057FA                                             ; +0x336, 0x3057f2\nCMP             R5, #0                                                 ; +0x338, 0x3057f4\nBGT             loc_30580E                                             ; +0x33a, 0x3057f6\nB               loc_30581C                                             ; +0x33c, 0x3057f8\nCMP             R5, #0                                                 ; +0x33e, 0x3057fa\nBGT             loc_30580E                                             ; +0x340, 0x3057fc\nMOVS            R2, #1; unsigned int                                   ; +0x342, 0x3057fe\nLDR             R0, [SP,#0x11C+var_C0]; this                           ; +0x344, 0x305800\nSTR             R2, [SP,#0x11C+var_11C]; unsigned int                  ; +0x346, 0x305802\nADD             R1, SP, #0x11C+var_B8; unsigned int *                  ; +0x348, 0x305804\nADD             R3, SP, #0x11C+var_B4; unsigned int *                  ; +0x34a, 0x305806\nBLX             _ZN4FMOD7Channel13getLoopPointsEPjjS1_j; FMOD::Channel::getLoopPoints(uint *,uint,uint *,uint) ; +0x34c, 0x305808\nLDR             R5, [SP,#0x11C+var_B4]                                 ; +0x350, 0x30580c\nMOVS            R2, #1; unsigned int                                   ; +0x352, 0x30580e\nLDR             R0, [SP,#0x11C+var_C0]; this                           ; +0x354, 0x305810\nSTR             R2, [SP,#0x11C+var_11C]; unsigned int                  ; +0x356, 0x305812\nMOV             R1, R8; unsigned int                                   ; +0x358, 0x305814\nMOV             R3, R5; unsigned int                                   ; +0x35a, 0x305816\nBLX             _ZN4FMOD7Channel13setLoopPointsEjjjj; FMOD::Channel::setLoopPoints(uint,uint,uint,uint) ; +0x35c, 0x305818\nLDR             R1, =(sub_3053A4+1 - 0x305824)                         ; +0x360, 0x30581c\nLDR             R0, [SP,#0x11C+var_C0]                                 ; +0x362, 0x30581e\nADD             R1, PC; sub_3053A4                                     ; +0x364, 0x305820\nBLX             _ZN4FMOD14ChannelControl11setCallbackEPF11FMOD_RESULTP19FMOD_CHANNELCONTROL24FMOD_CHANNELCONTROL_TYPE33FMOD_CHANNELCONTROL_CALLBACK_TYPEPvS6_E; FMOD::ChannelControl::setCallback(FMOD_RESULT (*)(FMOD_CHANNELCONTROL *,FMOD_CHANNELCONTROL_TYPE,FMOD_CHANNELCONTROL_CALLBACK_TYPE,void *,void *)) ; +0x366, 0x305822\nLDR             R3, [SP,#0x11C+arg_24]; int                            ; +0x36a, 0x305826\nMOV             R0, R4; this                                           ; +0x36c, 0x305828\nLDR             R1, [SP,#0x11C+var_C0]; FMOD::Channel *                ; +0x36e, 0x30582a\nLDR             R2, [SP,#0x11C+arg_30]; int                            ; +0x370, 0x30582c\nBL              _ZN15FMODAudioEngine15registerChannelEPN4FMOD7ChannelEii; FMODAudioEngine::registerChannel(FMOD::Channel *,int,int) ; +0x372, 0x30582e\nLDR             R3, [SP,#0x11C+var_BC]                                 ; +0x376, 0x305832\nMOV             R5, R0                                                 ; +0x378, 0x305834\nSTR             R0, [SP,#0x11C+var_C4]                                 ; +0x37a, 0x305836\nCBZ             R3, loc_305864                                         ; +0x37c, 0x305838\nLDR.W           R1, [R4,#0x388]                                        ; +0x37e, 0x30583a\nADD.W           R8, R4, #0x384                                         ; +0x382, 0x30583e\nBLX             __aeabi_uidivmod                                       ; +0x386, 0x305842\nADD             R2, SP, #0x11C+var_C4                                  ; +0x38a, 0x305846\nMOV             R0, R8                                                 ; +0x38c, 0x305848\nMOV             R11, R1                                                ; +0x38e, 0x30584a\nBL              sub_2FE602                                             ; +0x390, 0x30584c\nCMP             R0, #0                                                 ; +0x394, 0x305850\nBEQ.W           loc_30597E                                             ; +0x396, 0x305852\nLDR             R0, [R0]                                               ; +0x39a, 0x305856\nCMP             R0, #0                                                 ; +0x39c, 0x305858\nBEQ.W           loc_30597E                                             ; +0x39e, 0x30585a\nLDR             R3, [SP,#0x11C+var_BC]                                 ; +0x3a2, 0x30585e\nADDS            R0, #8                                                 ; +0x3a4, 0x305860\nSTR             R3, [R0]                                               ; +0x3a6, 0x305862\nADD             R5, SP, #0x11C+var_B8                                  ; +0x3a8, 0x305864\nMOV             R2, R6                                                 ; +0x3aa, 0x305866\nMOV             R0, R4                                                 ; +0x3ac, 0x305868\nLDR             R1, [SP,#0x11C+var_C4]                                 ; +0x3ae, 0x30586a\nADD             R6, SP, #0x11C+var_AC                                  ; +0x3b0, 0x30586c\nBL              _ZN15FMODAudioEngine16channelLinkSoundEiP9FMODSound; FMODAudioEngine::channelLinkSound(int,FMODSound *) ; +0x3b2, 0x30586e\nMOV             R1, R9                                                 ; +0x3b6, 0x305872\nMOV             R0, R5                                                 ; +0x3b8, 0x305874\nBL              sub_775C20                                             ; +0x3ba, 0x305876\nMOV             R0, R6                                                 ; +0x3be, 0x30587a\nMOV             R1, R5                                                 ; +0x3c0, 0x30587c\nLDR.W           R8, [SP,#0x11C+arg_24]                                 ; +0x3c2, 0x30587e\nLDR.W           R11, [SP,#0x11C+var_C4]                                ; +0x3c6, 0x305882\nLDR.W           R9, [SP,#0x11C+arg_34]                                 ; +0x3ca, 0x305886\nBL              sub_775C20                                             ; +0x3ce, 0x30588a\nLDR             R2, [SP,#0x11C+arg_3C]                                 ; +0x3d2, 0x30588e\nMOVS            R3, #0                                                 ; +0x3d4, 0x305890\nVLDR            S15, [SP,#0x11C+var_DC]                                ; +0x3d6, 0x305892\nMOVS            R0, #0                                                 ; +0x3da, 0x305896\nMOVS            R1, #0                                                 ; +0x3dc, 0x305898\nSTR             R3, [SP,#0x11C+var_94]                                 ; +0x3de, 0x30589a\nSTR             R2, [SP,#0x11C+var_28]                                 ; +0x3e0, 0x30589c\nLDRB.W          R2, [SP,#0x11C+var_E0]                                 ; +0x3e2, 0x30589e\nSTRD.W          R0, R1, [SP,#0x11C+var_5C]                             ; +0x3e6, 0x3058a2\nSTRD.W          R0, R1, [SP,#0x11C+var_44]                             ; +0x3ea, 0x3058a6\nSTRD.W          R0, R1, [SP,#0x11C+var_3C]                             ; +0x3ee, 0x3058aa\nADD             R0, SP, #0x11C+var_B4                                  ; +0x3f2, 0x3058ae\nSTR             R3, [SP,#0x11C+var_54]                                 ; +0x3f4, 0x3058b0\nADD.W           R1, R4, #0x350                                         ; +0x3f6, 0x3058b2\nSTR             R3, [SP,#0x11C+var_50]                                 ; +0x3fa, 0x3058b6\nSTR             R3, [SP,#0x11C+var_4C]                                 ; +0x3fc, 0x3058b8\nSTR             R3, [SP,#0x11C+var_34]                                 ; +0x3fe, 0x3058ba\nSTRB.W          R2, [SP,#0x11C+var_20]                                 ; +0x400, 0x3058bc\nADD             R2, SP, #0x11C+var_C4                                  ; +0x404, 0x3058c0\nSTRB.W          R3, [SP,#0x11C+var_18]                                 ; +0x406, 0x3058c2\nSTRB.W          R3, [SP,#0x11C+var_10]                                 ; +0x40a, 0x3058c6\nMOV             R3, R6                                                 ; +0x40e, 0x3058ca\nVSTR            S17, [SP,#0x11C+var_A8]                                ; +0x410, 0x3058cc\nSTRB.W          R7, [SP,#0x11C+var_9C]                                 ; +0x414, 0x3058d0\nSTR.W           R11, [SP,#0x11C+var_98]                                ; +0x418, 0x3058d4\nVSTR            S15, [SP,#0x11C+var_A4]                                ; +0x41c, 0x3058d8\nSTR.W           R9, [SP,#0x11C+var_2C]                                 ; +0x420, 0x3058dc\nSTRB.W          R10, [SP,#0x11C+var_1F]                                ; +0x424, 0x3058e0\nVSTR            S18, [SP,#0x11C+var_A0]                                ; +0x428, 0x3058e4\nSTR.W           R8, [SP,#0x11C+var_1C]                                 ; +0x42c, 0x3058e8\nVSTR            S19, [SP,#0x11C+var_24]                                ; +0x430, 0x3058ec\nBL              sub_300CB8                                             ; +0x434, 0x3058f0\nMOV             R0, R6                                                 ; +0x438, 0x3058f4\nBL              sub_774008                                             ; +0x43a, 0x3058f6\nMOV             R0, R5                                                 ; +0x43e, 0x3058fa\nBL              sub_774008                                             ; +0x440, 0x3058fc\nMOVS            R1, #0; bool                                           ; +0x444, 0x305900\nLDR             R0, [SP,#0x11C+var_C0]; this                           ; +0x446, 0x305902\nBLX             _ZN4FMOD14ChannelControl13setVolumeRampEb; FMOD::ChannelControl::setVolumeRamp(bool) ; +0x448, 0x305904\nLDR             R0, [SP,#0x11C+var_C0]; this                           ; +0x44c, 0x305908\nMOVS            R1, #0; bool                                           ; +0x44e, 0x30590a\nBLX             _ZN4FMOD14ChannelControl9setPausedEb; FMOD::ChannelControl::setPaused(bool) ; +0x450, 0x30590c\nLDR             R4, [SP,#0x11C+var_C4]                                 ; +0x454, 0x305910\nLDR             R3, [SP,#0x11C+var_D4]                                 ; +0x456, 0x305912\nMOV             R0, R4                                                 ; +0x458, 0x305914\nLDR             R2, [SP,#0x11C+var_8]                                  ; +0x45a, 0x305916\nLDR             R3, [R3]                                               ; +0x45c, 0x305918\nCMP             R2, R3                                                 ; +0x45e, 0x30591a\nBEQ.W           loc_305A8C                                             ; +0x460, 0x30591c\nBLX             __stack_chk_fail                                       ; +0x464, 0x305920\nMOV             R0, R6                                                 ; +0x468, 0x305924\nBL              sub_774008                                             ; +0x46a, 0x305926\nBL              __cxa_end_cleanup                                      ; +0x46e, 0x30592a\nB               loc_305924                                             ; +0x472, 0x30592e\nMOV             R0, R6                                                 ; +0x474, 0x305930\nBL              sub_774008                                             ; +0x476, 0x305932\nB               loc_305938                                             ; +0x47a, 0x305936\nMOV             R0, R5                                                 ; +0x47c, 0x305938\nB               loc_305926                                             ; +0x47e, 0x30593a\nADD             R2, SP, #0x11C+var_BC                                  ; +0x480, 0x30593c\nLDR.W           R0, [R4,#0x184]                                        ; +0x482, 0x30593e\nMOVS            R1, #0xD                                               ; +0x486, 0x305942\nBLX             _ZN4FMOD6System15createDSPByTypeE13FMOD_DSP_TYPEPPNS_3DSPE; FMOD::System::createDSPByType(FMOD_DSP_TYPE,FMOD::DSP **) ; +0x488, 0x305944\nMOV             R1, R11; int                                           ; +0x48c, 0x305948\nVMOV            R2, S19; float                                         ; +0x48e, 0x30594a\nLDR             R0, [SP,#0x11C+var_BC]; this                           ; +0x492, 0x30594e\nBLX             _ZN4FMOD3DSP17setParameterFloatEif; FMOD::DSP::setParameterFloat(int,float) ; +0x494, 0x305950\nLDR             R3, [SP,#0x11C+var_E0]                                 ; +0x498, 0x305954\nVLDR            S15, =1024.0                                           ; +0x49a, 0x305956\nMOVS            R1, #1; int                                            ; +0x49e, 0x30595a\nCMP             R3, #0                                                 ; +0x4a0, 0x30595c\nLDR             R0, [SP,#0x11C+var_BC]; this                           ; +0x4a2, 0x30595e\nVLDR            S14, =2048.0                                           ; +0x4a4, 0x305960\nITE EQ                                                                 ; +0x4a8, 0x305964\nVMOVEQ          R2, S15                                                ; +0x4aa, 0x305966\nVMOVNE          R2, S14; float                                         ; +0x4ae, 0x30596a\nBLX             _ZN4FMOD3DSP17setParameterFloatEif; FMOD::DSP::setParameterFloat(int,float) ; +0x4b2, 0x30596e\nLDR             R0, [SP,#0x11C+var_C0]; this                           ; +0x4b6, 0x305972\nMOV             R1, R11; int                                           ; +0x4b8, 0x305974\nLDR             R2, [SP,#0x11C+var_BC]; FMOD::DSP *                    ; +0x4ba, 0x305976\nBLX             _ZN4FMOD14ChannelControl6addDSPEiPNS_3DSPE; FMOD::ChannelControl::addDSP(int,FMOD::DSP *) ; +0x4bc, 0x305978\nB               loc_305732                                             ; +0x4c0, 0x30597c\nMOVS            R0, #0xC; unsigned int                                 ; +0x4c2, 0x30597e\nBL              _Znwj; operator new(uint)                              ; +0x4c4, 0x305980\nLDR             R1, [SP,#0x11C+var_C4]                                 ; +0x4c8, 0x305984\nMOVS            R2, #0                                                 ; +0x4ca, 0x305986\nMOV             R3, R0                                                 ; +0x4cc, 0x305988\nSTR             R2, [R0]                                               ; +0x4ce, 0x30598a\nSTR             R1, [R0,#4]                                            ; +0x4d0, 0x30598c\nMOV             R1, R11                                                ; +0x4d2, 0x30598e\nSTR             R2, [R0,#8]                                            ; +0x4d4, 0x305990\nMOV             R0, R8                                                 ; +0x4d6, 0x305992\nMOV             R2, R5                                                 ; +0x4d8, 0x305994\nBL              _ZNSt10_HashtableIiSt4pairIKiPN4FMOD3DSPEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE21_M_insert_unique_nodeEjjPNS7_10_Hash_nodeIS5_Lb0EEE; std::_Hashtable<int,std::pair<int const,FMOD::DSP *>,std::allocator<std::pair<int const,FMOD::DSP *>>,std::__detail::_Select1st,std::equal_to<int>,std::hash<int>,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits<false,false,true>>::_M_insert_unique_node(uint,uint,std::__detail::_Hash_node<std::pair<int const,FMOD::DSP *>,false> *) ; +0x4da, 0x305996\nB               loc_30585E                                             ; +0x4de, 0x30599a\nCMP             R7, #0                                                 ; +0x4e0, 0x30599c\nBNE.W           loc_3057EE                                             ; +0x4e2, 0x30599e\nVMOV            S15, R11                                               ; +0x4e6, 0x3059a2\nLDRD.W          R0, R1, [SP,#0x11C+var_B4]                             ; +0x4ea, 0x3059a6\nVLDR            S16, =1000.0                                           ; +0x4ee, 0x3059aa\nVCVT.F32.S32    S15, S15                                               ; +0x4f2, 0x3059ae\nVDIV.F32        S15, S15, S17                                          ; +0x4f6, 0x3059b2\nVDIV.F32        S16, S15, S16                                          ; +0x4fa, 0x3059b6\nBLX             __aeabi_ul2f                                           ; +0x4fe, 0x3059ba\nVLDR            S15, [R4,#0x19C]                                       ; +0x502, 0x3059be\nVMOV            S14, R0                                                ; +0x506, 0x3059c2\nVCVT.F32.S32    S15, S15                                               ; +0x50a, 0x3059c6\nVMLA.F32        S14, S15, S16                                          ; +0x50e, 0x3059ca\nVMOV            R0, S14                                                ; +0x512, 0x3059ce\nBLX             __aeabi_f2ulz                                          ; +0x516, 0x3059d2\nMOVS            R3, #1                                                 ; +0x51a, 0x3059d6\nMOVS            R2, #0; unsigned __int64                               ; +0x51c, 0x3059d8\nSTR             R3, [SP,#0x11C+var_114]; bool                          ; +0x51e, 0x3059da\nMOVS            R3, #0                                                 ; +0x520, 0x3059dc\nSTRD.W          R0, R1, [SP,#0x11C+var_11C]; unsigned __int64          ; +0x522, 0x3059de\nLDR             R0, [SP,#0x11C+var_C0]; this                           ; +0x526, 0x3059e2\nBLX             _ZN4FMOD14ChannelControl8setDelayEyyb; FMOD::ChannelControl::setDelay(ulong long,ulong long,bool) ; +0x528, 0x3059e4\nLDR             R3, [SP,#0x11C+arg_1C]                                 ; +0x52c, 0x3059e8\nCMP             R3, #0                                                 ; +0x52e, 0x3059ea\nSTR.W           R0, [R4,#0x198]                                        ; +0x530, 0x3059ec\nBLE.W           loc_30581C                                             ; +0x534, 0x3059f0\nLDRD.W          R0, R1, [SP,#0x11C+var_B4]                             ; +0x538, 0x3059f4\nBLX             __aeabi_ul2f                                           ; +0x53c, 0x3059f8\nVLDR            S15, [R4,#0x19C]                                       ; +0x540, 0x3059fc\nVLDR            S13, =1000.0                                           ; +0x544, 0x305a00\nVCVT.F32.S32    S14, S15                                               ; +0x548, 0x305a04\nVLDR            S15, [SP,#0x11C+arg_1C]                                ; +0x54c, 0x305a08\nVCVT.F32.S32    S15, S15                                               ; +0x550, 0x305a0c\nVDIV.F32        S15, S15, S13                                          ; +0x554, 0x305a10\nVMOV            S13, R0                                                ; +0x558, 0x305a14\nVSUB.F32        S15, S16, S15                                          ; +0x55c, 0x305a18\nVMLA.F32        S13, S14, S15                                          ; +0x560, 0x305a1c\nVMOV            R0, S13                                                ; +0x564, 0x305a20\nBLX             __aeabi_f2ulz                                          ; +0x568, 0x305a24\nMOV             R2, R0; unsigned __int64                               ; +0x56c, 0x305a28\nMOV             R3, R1                                                 ; +0x56e, 0x305a2a\nLDR             R0, [SP,#0x11C+var_C0]; this                           ; +0x570, 0x305a2c\nMOV.W           R1, #0x3F800000                                        ; +0x572, 0x305a2e\nSTR             R1, [SP,#0x11C+var_11C]; float                         ; +0x576, 0x305a32\nBLX             _ZN4FMOD14ChannelControl12addFadePointEyf; FMOD::ChannelControl::addFadePoint(ulong long,float) ; +0x578, 0x305a34\nSTR.W           R0, [R4,#0x198]                                        ; +0x57c, 0x305a38\nLDRD.W          R0, R1, [SP,#0x11C+var_B4]                             ; +0x580, 0x305a3c\nBLX             __aeabi_ul2f                                           ; +0x584, 0x305a40\nVLDR            S15, [R4,#0x19C]                                       ; +0x588, 0x305a44\nVCVT.F32.S32    S15, S15                                               ; +0x58c, 0x305a48\nVMOV            S14, R0                                                ; +0x590, 0x305a4c\nVMLA.F32        S14, S15, S16                                          ; +0x594, 0x305a50\nVMOV            R0, S14                                                ; +0x598, 0x305a54\nBLX             __aeabi_f2ulz                                          ; +0x59c, 0x305a58\nMOV             R2, R0; unsigned __int64                               ; +0x5a0, 0x305a5c\nMOV             R3, R1                                                 ; +0x5a2, 0x305a5e\nLDR             R0, [SP,#0x11C+var_C0]; this                           ; +0x5a4, 0x305a60\nMOVS            R1, #0                                                 ; +0x5a6, 0x305a62\nSTR             R1, [SP,#0x11C+var_11C]; float                         ; +0x5a8, 0x305a64\nBLX             _ZN4FMOD14ChannelControl12addFadePointEyf; FMOD::ChannelControl::addFadePoint(ulong long,float) ; +0x5aa, 0x305a66\nSTR.W           R0, [R4,#0x198]                                        ; +0x5ae, 0x305a6a\nB               loc_30581C                                             ; +0x5b2, 0x305a6e\nCMP             R7, #0                                                 ; +0x5b4, 0x305a70\nBNE.W           loc_3057EE                                             ; +0x5b6, 0x305a72\nVMOV            S15, R11                                               ; +0x5ba, 0x305a76\nVLDR            S16, =1000.0                                           ; +0x5be, 0x305a7a\nVCVT.F32.S32    S15, S15                                               ; +0x5c2, 0x305a7e\nVDIV.F32        S15, S15, S17                                          ; +0x5c6, 0x305a82\nVDIV.F32        S16, S15, S16                                          ; +0x5ca, 0x305a86\nB               loc_3059F4                                             ; +0x5ce, 0x305a8a\nADD             SP, SP, #0x11C                                         ; +0x5d0, 0x305a8c\nVPOP            {D8-D10}                                               ; +0x5d2, 0x305a8e\nPOP.W           {R4-R11,PC}                                            ; +0x5d6, 0x305a92", "xrefs": ["FMODAudioEngine::loadAudioState @ 0x305b58", "FMODAudioEngine::playEffectAsync @ 0x305eaa", "FMODAudioEngine::playEffect @ 0x305f24", "FMODAudioEngine::queuedEffectFinishedLoading @ 0x3060d2", "GameManager::playSFXTrigger @ 0x320ff6", "RewardUnlockLayer::playRewardEffect @ 0x4e91f2"], "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"}