{"type": "func", "start": 5979672, "end": 5980628, "name": "FMODAudioEngine::startMusic", "pseudocode": "// \n// FMODAudioEngine::startMusic from 0x5b3e18 to 0x5b41d4 (956 bytes)\n// \n// 4 xrefs:\n// > FMODAudioEngine::triggerQueuedMusic @ 0x5b63bc\n// > GJBaseGameLayer::processActivatedAudioTriggers @ 0x88d6cc\n// > SetupSongTriggerPopup::onPlayback @ 0x9a9c38\n// > <???> @ 0xb3580\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\nvoid FMODAudioEngine::startMusic(\n        FMODAudioEngine *a1,\n        int a2,\n        int a3,\n        int a4,\n        int a5,\n        bool a6,\n        int a7,\n        bool a8,\n        bool a9)\n{\n  _BOOL4 v14; // w27\n  int *v15; // x0\n  FMOD::Channel *v16; // x0\n  FMOD::Channel *v17; // x20\n  _BOOL4 v18; // w23\n  float v19; // s8\n  int v20; // w22\n  _BOOL4 v21; // [xsp+88h] [xbp+88h]\n  int v22[4]; // [xsp+8Ch] [xbp+8Ch] BYREF\n  unsigned int v23; // [xsp+9Ch] [xbp+9Ch] BYREF\n  float v24; // [xsp+A0h] [xbp+A0h] BYREF\n  unsigned int v25; // [xsp+A4h] [xbp+A4h] BYREF\n  FMOD::Sound *v26; // [xsp+A8h] [xbp+A8h] BYREF\n  unsigned int v27[2]; // [xsp+B0h] [xbp+B0h] BYREF\n\n  v21 = a8;\n  v22[0] = a7;\n  v14 = a6;\n  FMODAudioEngine::stopChannelTweens(a1, a7, MusicChannel);\n  v15 = (int *)std::__detail::_Map_base<int,std::pair<int const,FMODMusic>,std::allocator<std::pair<int const,FMODMusic>>,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                 (char **)&a1->m_fmodMusic,\n                 v22);\n  v16 = FMODAudioEngine::channelForChannelID(a1, *v15);\n  v17 = v16;\n  if ( v16 )\n  {\n    if ( a2 <= 0 && a3 <= 0 && a4 <= 0 && a5 <= 0 )\n      goto LABEL_6;\n    v26 = nullptr;\n    FMOD::Channel::getCurrentSound(v16, &v26);\n    if ( !v26 )\n      goto LABEL_6;\n    v23 = 0;\n    FMOD::Sound::getLength(v26, &v23, 1u);\n    if ( v14 )\n      FMOD::Channel::setLoopCount(v17, -1);\n    else\n      FMOD::Channel::setLoopCount(v17, 0);\n    v24 = 1.0;\n    FMOD::ChannelControl::getPitch(v17, &v24);\n    if ( a3 > 0 || a4 > 0 )\n    {\n      a1->m_lastResult = FMOD::ChannelControl::getDSPClock(v17, nullptr, (unsigned __int64 *)v27);\n      ERRCHECK_fn();\n      if ( a4 > 0 )\n      {\n        a1->m_lastResult = FMOD::ChannelControl::addFadePoint(v17, *(unsigned __int64 *)v27, 0.0);\n        ERRCHECK_fn();\n        a1->m_lastResult = FMOD::ChannelControl::addFadePoint(\n                             v17,\n                             (unsigned __int64)(float)((float)*(unsigned __int64 *)v27\n                                                     + (float)((float)a1->m_sampleRate * (float)((float)a4 / 1000.0))),\n                             1.0);\n        ERRCHECK_fn();\n      }\n      if ( v14 )\n        goto LABEL_21;\n      v18 = a5 > 0;\n      if ( a3 > 0 )\n      {\n        v20 = a3 - a2;\n        if ( v20 < 0 )\n          v20 = 0;\n        if ( v20 )\n        {\n          v19 = (float)((float)v20 / v24) / 1000.0;\n          a1->m_lastResult = FMOD::ChannelControl::setDelay(\n                               v17,\n                               0,\n                               (unsigned __int64)(float)((float)*(unsigned __int64 *)v27\n                                                       + (float)((float)a1->m_sampleRate * v19)),\n                               1);\n          ERRCHECK_fn();\nLABEL_18:\n          if ( v18 )\n          {\n            a1->m_lastResult = FMOD::ChannelControl::addFadePoint(\n                                 v17,\n                                 (unsigned __int64)(float)((float)*(unsigned __int64 *)v27\n                                                         + (float)((float)a1->m_sampleRate\n                                                                 * (float)(v19 - (float)((float)a5 / 1000.0)))),\n                                 1.0);\n            ERRCHECK_fn();\n            a1->m_lastResult = FMOD::ChannelControl::addFadePoint(\n                                 v17,\n                                 (unsigned __int64)(float)((float)*(unsigned __int64 *)v27\n                                                         + (float)((float)a1->m_sampleRate * v19)),\n                                 0.0);\n            ERRCHECK_fn();\n          }\n          goto LABEL_6;\n        }\nLABEL_36:\n        v19 = (float)((float)(int)(v23 - a2) / v24) / 1000.0;\n        goto LABEL_18;\n      }\n      if ( a5 > 0 )\n      {\nLABEL_16:\n        if ( a3 )\n        {\n          v19 = (float)((float)a3 / v24) / 1000.0;\n          goto LABEL_18;\n        }\n        goto LABEL_36;\n      }\n    }\n    else\n    {\n      if ( a5 > 0 )\n      {\n        a1->m_lastResult = FMOD::ChannelControl::getDSPClock(v17, nullptr, (unsigned __int64 *)v27);\n        v18 = 1;\n        ERRCHECK_fn();\n        if ( !v14 )\n          goto LABEL_16;\nLABEL_21:\n        if ( a3 > 0 || a2 > 0 )\n        {\n          if ( a3 <= 0 )\n          {\n            FMOD::Channel::getLoopPoints(v17, &v25, 1u, v27, 1u);\n            a3 = v27[0];\n          }\n          FMOD::Channel::setLoopPoints(v17, a2, 1u, a3, 1u);\n        }\n        goto LABEL_6;\n      }\n      if ( v14 )\n        goto LABEL_21;\n    }\nLABEL_6:\n    if ( !v21 )\n      FMOD::ChannelControl::setPaused(v17, 0);\n  }\n}", "assembly": "; \n; FMODAudioEngine::startMusic from 0x5b3e18 to 0x5b41d4 (956 bytes)\n; \n; 4 xrefs:\n; > FMODAudioEngine::triggerQueuedMusic @ 0x5b63bc\n; > GJBaseGameLayer::processActivatedAudioTriggers @ 0x88d6cc\n; > SetupSongTriggerPopup::onPlayback @ 0x9a9c38\n; > <???> @ 0xb3580\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\nSTP             X29, X30, [SP,#var_C0]!                                ; +0x0, 0x5b3e18\nMOV             X29, SP                                                ; +0x4, 0x5b3e1c\nSTP             X19, X20, [SP,#0xC0+var_B0]                            ; +0x8, 0x5b3e20\nSTP             D8, D9, [SP,#0xC0+var_60]                              ; +0xc, 0x5b3e24\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0x10, 0x5b3e28\nSTP             X23, X24, [SP,#0xC0+var_90]                            ; +0x14, 0x5b3e2c\nMOV             W23, W3                                                ; +0x18, 0x5b3e30\nUXTB            W3, W7                                                 ; +0x1c, 0x5b3e34\nLDR             X8, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0x5b3e38\nSTR             W3, [X29,#0xC0+var_38]                                 ; +0x24, 0x5b3e3c\nSTP             X21, X22, [SP,#0xC0+var_A0]                            ; +0x28, 0x5b3e40\nLDR             X3, [X8]                                               ; +0x2c, 0x5b3e44\nMOV             W22, W2                                                ; +0x30, 0x5b3e48\nSTP             X25, X26, [SP,#0xC0+var_80]                            ; +0x34, 0x5b3e4c\nMOV             W2, #2                                                 ; +0x38, 0x5b3e50\nMOV             W26, W1                                                ; +0x3c, 0x5b3e54\nMOV             W1, W6                                                 ; +0x40, 0x5b3e58\nMOV             X21, X0                                                ; +0x44, 0x5b3e5c\nMOV             W25, W4                                                ; +0x48, 0x5b3e60\nSTR             W6, [X29,#0xC0+var_34]                                 ; +0x4c, 0x5b3e64\nSTR             X3, [X29,#0xC0+var_8]                                  ; +0x50, 0x5b3e68\nSTP             X27, X28, [SP,#0xC0+var_70]                            ; +0x54, 0x5b3e6c\nUXTB            W27, W5                                                ; +0x58, 0x5b3e70\nBL              _ZN15FMODAudioEngine17stopChannelTweensEi15AudioTargetType; FMODAudioEngine::stopChannelTweens(int,AudioTargetType) ; +0x5c, 0x5b3e74\nADD             X1, X29, #0xC0+var_34                                  ; +0x60, 0x5b3e78\nADD             X0, X21, #0x140                                        ; +0x64, 0x5b3e7c\nBL              _ZNSt8__detail9_Map_baseIiSt4pairIKi9FMODMusicESaIS4_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,FMODMusic>,std::allocator<std::pair<int const,FMODMusic>>,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&) ; +0x68, 0x5b3e80\nLDR             W1, [X0]; int                                          ; +0x6c, 0x5b3e84\nMOV             X0, X21; this                                          ; +0x70, 0x5b3e88\nBL              _ZN15FMODAudioEngine19channelForChannelIDEi; FMODAudioEngine::channelForChannelID(int) ; +0x74, 0x5b3e8c\nMOV             X20, X0                                                ; +0x78, 0x5b3e90\nCBZ             X0, loc_5B3ED4                                         ; +0x7c, 0x5b3e94\nCMP             W26, WZR                                               ; +0x80, 0x5b3e98\nCSET            W28, GT                                                ; +0x84, 0x5b3e9c\nCMP             W22, WZR                                               ; +0x88, 0x5b3ea0\nCSET            W24, GT                                                ; +0x8c, 0x5b3ea4\nCBNZ            W28, loc_5B3F08                                        ; +0x90, 0x5b3ea8\nCBNZ            W24, loc_5B3F08                                        ; +0x94, 0x5b3eac\nCMP             W23, WZR                                               ; +0x98, 0x5b3eb0\nB.GT            loc_5B3F08                                             ; +0x9c, 0x5b3eb4\nCMP             W25, WZR                                               ; +0xa0, 0x5b3eb8\nB.GT            loc_5B3F08                                             ; +0xa4, 0x5b3ebc\nLDR             W0, [X29,#0xC0+var_38]                                 ; +0xa8, 0x5b3ec0\nCBNZ            W0, loc_5B3ED4                                         ; +0xac, 0x5b3ec4\nMOV             X0, X20; this                                          ; +0xb0, 0x5b3ec8\nMOV             W1, #0; bool                                           ; +0xb4, 0x5b3ecc\nBL              ._ZN4FMOD14ChannelControl9setPausedEb; FMOD::ChannelControl::setPaused(bool) ; +0xb8, 0x5b3ed0\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0xbc, 0x5b3ed4\nLDR             X1, [X29,#0xC0+var_8]                                  ; +0xc0, 0x5b3ed8\nLDR             X0, [X19]                                              ; +0xc4, 0x5b3edc\nCMP             X1, X0                                                 ; +0xc8, 0x5b3ee0\nB.NE            loc_5B41D0                                             ; +0xcc, 0x5b3ee4\nLDP             X19, X20, [SP,#0xC0+var_B0]                            ; +0xd0, 0x5b3ee8\nLDP             D8, D9, [SP,#0xC0+var_60]                              ; +0xd4, 0x5b3eec\nLDP             X21, X22, [SP,#0xC0+var_A0]                            ; +0xd8, 0x5b3ef0\nLDP             X23, X24, [SP,#0xC0+var_90]                            ; +0xdc, 0x5b3ef4\nLDP             X25, X26, [SP,#0xC0+var_80]                            ; +0xe0, 0x5b3ef8\nLDP             X27, X28, [SP,#0xC0+var_70]                            ; +0xe4, 0x5b3efc\nLDP             X29, X30, [SP+0xC0+var_C0],#0xC0                       ; +0xe8, 0x5b3f00\nRET                                                                    ; +0xec, 0x5b3f04\nADD             X1, X29, #0xC0+arg_0                                   ; +0xf0, 0x5b3f08\nMOV             X0, X20; this                                          ; +0xf4, 0x5b3f0c\nSTR             XZR, [X1,#-0x18]!; FMOD::Sound **                      ; +0xf8, 0x5b3f10\nBL              ._ZN4FMOD7Channel15getCurrentSoundEPPNS_5SoundE; FMOD::Channel::getCurrentSound(FMOD::Sound **) ; +0xfc, 0x5b3f14\nLDR             X0, [X29,#0xC0+var_18]; this                           ; +0x100, 0x5b3f18\nCBZ             X0, loc_5B3EC0                                         ; +0x104, 0x5b3f1c\nADD             X1, X29, #0xC0+arg_0                                   ; +0x108, 0x5b3f20\nMOV             W2, #1; unsigned int                                   ; +0x10c, 0x5b3f24\nSTR             WZR, [X1,#-0x24]!; unsigned int *                      ; +0x110, 0x5b3f28\nBL              ._ZN4FMOD5Sound9getLengthEPjj; FMOD::Sound::getLength(uint *,uint) ; +0x114, 0x5b3f2c\nMOV             X0, X20; this                                          ; +0x118, 0x5b3f30\nCBZ             W27, loc_5B4070                                        ; +0x11c, 0x5b3f34\nMOV             W1, #0xFFFFFFFF; int                                   ; +0x120, 0x5b3f38\nBL              ._ZN4FMOD7Channel12setLoopCountEi; FMOD::Channel::setLoopCount(int) ; +0x124, 0x5b3f3c\nADD             X1, X29, #0xC0+arg_0                                   ; +0x128, 0x5b3f40\nMOV             X0, X20; this                                          ; +0x12c, 0x5b3f44\nFMOV            S0, #1.0                                               ; +0x130, 0x5b3f48\nSTR             S0, [X1,#-0x20]!; float *                              ; +0x134, 0x5b3f4c\nBL              ._ZN4FMOD14ChannelControl8getPitchEPf; FMOD::ChannelControl::getPitch(float *) ; +0x138, 0x5b3f50\nCMP             W23, WZR                                               ; +0x13c, 0x5b3f54\nCSET            W3, GT                                                 ; +0x140, 0x5b3f58\nCBNZ            W24, loc_5B407C                                        ; +0x144, 0x5b3f5c\nCBNZ            W3, loc_5B407C                                         ; +0x148, 0x5b3f60\nCMP             W25, WZR                                               ; +0x14c, 0x5b3f64\nB.LE            loc_5B403C                                             ; +0x150, 0x5b3f68\nADRP            X3, #aUsersRobertLib@PAGE; \"/Users/robert/Library/CloudStorage/Drop\"... ; +0x154, 0x5b3f6c\nMOV             X1, #0; unsigned __int64 *                             ; +0x158, 0x5b3f70\nADD             X2, X29, #0xC0+var_10; unsigned __int64 *              ; +0x15c, 0x5b3f74\nMOV             X0, X20; this                                          ; +0x160, 0x5b3f78\nMOV             X23, X3                                                ; +0x164, 0x5b3f7c\nSTR             X3, [X29,#0xC0+var_48]                                 ; +0x168, 0x5b3f80\nBL              ._ZN4FMOD14ChannelControl11getDSPClockEPyS1_; FMOD::ChannelControl::getDSPClock(ulong long *,ulong long *) ; +0x16c, 0x5b3f84\nSTR             W0, [X21,#0x240]                                       ; +0x170, 0x5b3f88\nADD             X1, X23, #aUsersRobertLib@PAGEOFF; \"/Users/robert/Library/CloudStorage/Drop\"... ; +0x174, 0x5b3f8c\nMOV             W2, #0x948                                             ; +0x178, 0x5b3f90\nMOV             W23, #1                                                ; +0x17c, 0x5b3f94\nBL              _Z11ERRCHECK_fn11FMOD_RESULTPKci; ERRCHECK_fn(FMOD_RESULT,char const*,int) ; +0x180, 0x5b3f98\nCBNZ            W27, loc_5B4040                                        ; +0x184, 0x5b3f9c\nCBZ             W22, loc_5B413C                                        ; +0x188, 0x5b3fa0\nSCVTF           S8, W22                                                ; +0x18c, 0x5b3fa4\nLDR             S0, [X29,#0xC0+var_20]                                 ; +0x190, 0x5b3fa8\nLDR             S9, =0x447A0000                                        ; +0x194, 0x5b3fac\nFDIV            S8, S8, S0                                             ; +0x198, 0x5b3fb0\nFDIV            S8, S8, S9                                             ; +0x19c, 0x5b3fb4\nCBZ             W23, loc_5B3EC0                                        ; +0x1a0, 0x5b3fb8\nSCVTF           S1, W25                                                ; +0x1a4, 0x5b3fbc\nLDR             X1, [X29,#0xC0+var_48]                                 ; +0x1a8, 0x5b3fc0\nLDR             W23, [X21,#0x244]                                      ; +0x1ac, 0x5b3fc4\nMOV             X0, X20; this                                          ; +0x1b0, 0x5b3fc8\nADD             X24, X1, #aUsersRobertLib@PAGEOFF; \"/Users/robert/Library/CloudStorage/Drop\"... ; +0x1b4, 0x5b3fcc\nLDR             X1, [X29,#0xC0+var_10]                                 ; +0x1b8, 0x5b3fd0\nFMOV            S0, #1.0; float                                        ; +0x1bc, 0x5b3fd4\nFDIV            S1, S1, S9                                             ; +0x1c0, 0x5b3fd8\nUCVTF           S3, X1                                                 ; +0x1c4, 0x5b3fdc\nSCVTF           S2, W23                                                ; +0x1c8, 0x5b3fe0\nFSUB            S1, S8, S1                                             ; +0x1cc, 0x5b3fe4\nFMADD           S1, S2, S1, S3                                         ; +0x1d0, 0x5b3fe8\nFCVTZU          X1, S1; unsigned __int64                               ; +0x1d4, 0x5b3fec\nBL              ._ZN4FMOD14ChannelControl12addFadePointEyf; FMOD::ChannelControl::addFadePoint(ulong long,float) ; +0x1d8, 0x5b3ff0\nSTR             W0, [X21,#0x240]                                       ; +0x1dc, 0x5b3ff4\nMOV             X1, X24                                                ; +0x1e0, 0x5b3ff8\nMOV             W2, #0x968                                             ; +0x1e4, 0x5b3ffc\nBL              _Z11ERRCHECK_fn11FMOD_RESULTPKci; ERRCHECK_fn(FMOD_RESULT,char const*,int) ; +0x1e8, 0x5b4000\nLDR             W22, [X21,#0x244]                                      ; +0x1ec, 0x5b4004\nLDR             X1, [X29,#0xC0+var_10]                                 ; +0x1f0, 0x5b4008\nMOV             X0, X20; this                                          ; +0x1f4, 0x5b400c\nFMOV            S0, WZR; float                                         ; +0x1f8, 0x5b4010\nSCVTF           S1, W22                                                ; +0x1fc, 0x5b4014\nUCVTF           S2, X1                                                 ; +0x200, 0x5b4018\nFMADD           S8, S1, S8, S2                                         ; +0x204, 0x5b401c\nFCVTZU          X1, S8; unsigned __int64                               ; +0x208, 0x5b4020\nBL              ._ZN4FMOD14ChannelControl12addFadePointEyf; FMOD::ChannelControl::addFadePoint(ulong long,float) ; +0x20c, 0x5b4024\nSTR             W0, [X21,#0x240]                                       ; +0x210, 0x5b4028\nMOV             X1, X24                                                ; +0x214, 0x5b402c\nMOV             W2, #0x96A                                             ; +0x218, 0x5b4030\nBL              _Z11ERRCHECK_fn11FMOD_RESULTPKci; ERRCHECK_fn(FMOD_RESULT,char const*,int) ; +0x21c, 0x5b4034\nB               loc_5B3EC0                                             ; +0x220, 0x5b4038\nCBZ             W27, loc_5B3EC0                                        ; +0x224, 0x5b403c\nCMP             W22, WZR                                               ; +0x228, 0x5b4040\nB.GT            loc_5B404C                                             ; +0x22c, 0x5b4044\nCBZ             W28, loc_5B3EC0                                        ; +0x230, 0x5b4048\nCMP             W22, WZR                                               ; +0x234, 0x5b404c\nB.LE            loc_5B41B0                                             ; +0x238, 0x5b4050\nMOV             W2, #1; unsigned int                                   ; +0x23c, 0x5b4054\nMOV             X0, X20; this                                          ; +0x240, 0x5b4058\nMOV             W1, W26; unsigned int                                  ; +0x244, 0x5b405c\nMOV             W3, W22; unsigned int                                  ; +0x248, 0x5b4060\nMOV             W4, W2; unsigned int                                   ; +0x24c, 0x5b4064\nBL              ._ZN4FMOD7Channel13setLoopPointsEjjjj; FMOD::Channel::setLoopPoints(uint,uint,uint,uint) ; +0x250, 0x5b4068\nB               loc_5B3EC0                                             ; +0x254, 0x5b406c\nMOV             W1, #0; int                                            ; +0x258, 0x5b4070\nBL              ._ZN4FMOD7Channel12setLoopCountEi; FMOD::Channel::setLoopCount(int) ; +0x25c, 0x5b4074\nB               loc_5B3F40                                             ; +0x260, 0x5b4078\nSTR             X3, [X29,#0xC0+var_50]                                 ; +0x264, 0x5b407c\nADRP            X3, #aUsersRobertLib@PAGE; \"/Users/robert/Library/CloudStorage/Drop\"... ; +0x268, 0x5b4080\nMOV             X1, #0; unsigned __int64 *                             ; +0x26c, 0x5b4084\nADD             X2, X29, #0xC0+var_10; unsigned __int64 *              ; +0x270, 0x5b4088\nSTR             X3, [X29,#0xC0+var_48]                                 ; +0x274, 0x5b408c\nMOV             X0, X20; this                                          ; +0x278, 0x5b4090\nADD             X3, X3, #aUsersRobertLib@PAGEOFF; \"/Users/robert/Library/CloudStorage/Drop\"... ; +0x27c, 0x5b4094\nSTR             X3, [X29,#0xC0+var_40]                                 ; +0x280, 0x5b4098\nBL              ._ZN4FMOD14ChannelControl11getDSPClockEPyS1_; FMOD::ChannelControl::getDSPClock(ulong long *,ulong long *) ; +0x284, 0x5b409c\nSTR             W0, [X21,#0x240]                                       ; +0x288, 0x5b40a0\nLDR             X1, [X29,#0xC0+var_40]                                 ; +0x28c, 0x5b40a4\nMOV             W2, #0x948                                             ; +0x290, 0x5b40a8\nBL              _Z11ERRCHECK_fn11FMOD_RESULTPKci; ERRCHECK_fn(FMOD_RESULT,char const*,int) ; +0x294, 0x5b40ac\nLDR             X3, [X29,#0xC0+var_50]                                 ; +0x298, 0x5b40b0\nCBZ             W3, loc_5B4118                                         ; +0x29c, 0x5b40b4\nFMOV            S0, WZR; float                                         ; +0x2a0, 0x5b40b8\nLDR             X1, [X29,#0xC0+var_10]; unsigned __int64               ; +0x2a4, 0x5b40bc\nMOV             X0, X20; this                                          ; +0x2a8, 0x5b40c0\nBL              ._ZN4FMOD14ChannelControl12addFadePointEyf; FMOD::ChannelControl::addFadePoint(ulong long,float) ; +0x2ac, 0x5b40c4\nSTR             W0, [X21,#0x240]                                       ; +0x2b0, 0x5b40c8\nLDR             X1, [X29,#0xC0+var_40]                                 ; +0x2b4, 0x5b40cc\nMOV             W2, #0x94D                                             ; +0x2b8, 0x5b40d0\nBL              _Z11ERRCHECK_fn11FMOD_RESULTPKci; ERRCHECK_fn(FMOD_RESULT,char const*,int) ; +0x2bc, 0x5b40d4\nSCVTF           S0, W23                                                ; +0x2c0, 0x5b40d8\nLDR             W1, [X21,#0x244]                                       ; +0x2c4, 0x5b40dc\nLDR             S1, =0x447A0000                                        ; +0x2c8, 0x5b40e0\nMOV             X0, X20; this                                          ; +0x2cc, 0x5b40e4\nSCVTF           S2, W1                                                 ; +0x2d0, 0x5b40e8\nLDR             X1, [X29,#0xC0+var_10]                                 ; +0x2d4, 0x5b40ec\nFDIV            S1, S0, S1                                             ; +0x2d8, 0x5b40f0\nFMOV            S0, #1.0; float                                        ; +0x2dc, 0x5b40f4\nUCVTF           S3, X1                                                 ; +0x2e0, 0x5b40f8\nFMADD           S1, S2, S1, S3                                         ; +0x2e4, 0x5b40fc\nFCVTZU          X1, S1; unsigned __int64                               ; +0x2e8, 0x5b4100\nBL              ._ZN4FMOD14ChannelControl12addFadePointEyf; FMOD::ChannelControl::addFadePoint(ulong long,float) ; +0x2ec, 0x5b4104\nSTR             W0, [X21,#0x240]                                       ; +0x2f0, 0x5b4108\nLDR             X1, [X29,#0xC0+var_40]                                 ; +0x2f4, 0x5b410c\nMOV             W2, #0x94F                                             ; +0x2f8, 0x5b4110\nBL              _Z11ERRCHECK_fn11FMOD_RESULTPKci; ERRCHECK_fn(FMOD_RESULT,char const*,int) ; +0x2fc, 0x5b4114\nCBNZ            W27, loc_5B4040                                        ; +0x300, 0x5b4118\nCMP             W25, WZR                                               ; +0x304, 0x5b411c\nCSET            W23, GT                                                ; +0x308, 0x5b4120\nCBNZ            W24, loc_5B4130                                        ; +0x30c, 0x5b4124\nCBZ             W23, loc_5B3EC0                                        ; +0x310, 0x5b4128\nB               loc_5B3FA0                                             ; +0x314, 0x5b412c\nSUBS            W22, W22, W26                                          ; +0x318, 0x5b4130\nCSEL            W22, W22, WZR, PL                                      ; +0x31c, 0x5b4134\nCBNZ            W22, loc_5B415C                                        ; +0x320, 0x5b4138\nLDR             W22, [X29,#0xC0+var_24]                                ; +0x324, 0x5b413c\nLDR             S0, [X29,#0xC0+var_20]                                 ; +0x328, 0x5b4140\nSUB             W22, W22, W26                                          ; +0x32c, 0x5b4144\nLDR             S9, =0x447A0000                                        ; +0x330, 0x5b4148\nSCVTF           S8, W22                                                ; +0x334, 0x5b414c\nFDIV            S8, S8, S0                                             ; +0x338, 0x5b4150\nFDIV            S8, S8, S9                                             ; +0x33c, 0x5b4154\nB               loc_5B3FB8                                             ; +0x340, 0x5b4158\nSCVTF           S8, W22                                                ; +0x344, 0x5b415c\nLDR             W2, [X21,#0x244]                                       ; +0x348, 0x5b4160\nLDR             S1, [X29,#0xC0+var_20]                                 ; +0x34c, 0x5b4164\nMOV             X1, #0; unsigned __int64                               ; +0x350, 0x5b4168\nLDR             S9, =0x447A0000                                        ; +0x354, 0x5b416c\nMOV             X0, X20; this                                          ; +0x358, 0x5b4170\nSCVTF           S0, W2                                                 ; +0x35c, 0x5b4174\nLDR             X2, [X29,#0xC0+var_10]                                 ; +0x360, 0x5b4178\nFDIV            S8, S8, S1                                             ; +0x364, 0x5b417c\nMOV             W3, #1; bool                                           ; +0x368, 0x5b4180\nUCVTF           S1, X2                                                 ; +0x36c, 0x5b4184\nFDIV            S8, S8, S9                                             ; +0x370, 0x5b4188\nFMADD           S0, S0, S8, S1                                         ; +0x374, 0x5b418c\nFCVTZU          X2, S0; unsigned __int64                               ; +0x378, 0x5b4190\nBL              ._ZN4FMOD14ChannelControl8setDelayEyyb; FMOD::ChannelControl::setDelay(ulong long,ulong long,bool) ; +0x37c, 0x5b4194\nSTR             W0, [X21,#0x240]                                       ; +0x380, 0x5b4198\nLDR             X1, [X29,#0xC0+var_48]                                 ; +0x384, 0x5b419c\nMOV             W2, #0x963                                             ; +0x388, 0x5b41a0\nADD             X1, X1, #aUsersRobertLib@PAGEOFF; \"/Users/robert/Library/CloudStorage/Drop\"... ; +0x38c, 0x5b41a4\nBL              _Z11ERRCHECK_fn11FMOD_RESULTPKci; ERRCHECK_fn(FMOD_RESULT,char const*,int) ; +0x390, 0x5b41a8\nB               loc_5B3FB8                                             ; +0x394, 0x5b41ac\nMOV             W2, #1; unsigned int                                   ; +0x398, 0x5b41b0\nMOV             X0, X20; this                                          ; +0x39c, 0x5b41b4\nADD             X1, X29, #0xC0+var_1C; unsigned int *                  ; +0x3a0, 0x5b41b8\nADD             X3, X29, #0xC0+var_10; unsigned int *                  ; +0x3a4, 0x5b41bc\nMOV             W4, W2; unsigned int                                   ; +0x3a8, 0x5b41c0\nBL              ._ZN4FMOD7Channel13getLoopPointsEPjjS1_j; FMOD::Channel::getLoopPoints(uint *,uint,uint *,uint) ; +0x3ac, 0x5b41c4\nLDR             W22, [X29,#0xC0+var_10]                                ; +0x3b0, 0x5b41c8\nB               loc_5B4054                                             ; +0x3b4, 0x5b41cc\nBL              .__stack_chk_fail                                      ; +0x3b8, 0x5b41d0", "xrefs": ["FMODAudioEngine::triggerQueuedMusic @ 0x5b63bc", "GJBaseGameLayer::processActivatedAudioTriggers @ 0x88d6cc", "SetupSongTriggerPopup::onPlayback @ 0x9a9c38", "<???> @ 0xb3580"], "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"}