{"type": "func", "start": 5371292496, "end": 5371294122, "name": "GameManager::playSFXTrigger", "pseudocode": "// \n// GameManager::playSFXTrigger from 0x140276b50 to 0x1402771aa (1626 bytes)\n// \n// 6 xrefs:\n// > EditorSFXActionConfigLayer::onPreviewSound @ 0x140184b1c\n// > EditorSFXManager::playAction @ 0x1401859fa\n// > GJBaseGameLayer::activateSFXTrigger @ 0x14034bf0a\n// > SetupReverbPopup::onPlay @ 0x1405dc326\n// > SetupSFXPopup::overridePlaySFX @ 0x1405de504\n// > <???> @ 0x14091cd90\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:28:56 +0000\n// \n\n// Hidden C++ exception states: #wind=11\n__int64 __fastcall GameManager::playSFXTrigger(__int64 a1, __int64 a2)\n{\n  __int64 v3; // rcx\n  __int64 v4; // rax\n  float v5; // xmm8_4\n  float v6; // xmm10_4\n  __int64 v7; // r8\n  __int64 v8; // r8\n  float v9; // xmm7_4\n  int v10; // eax\n  float v11; // xmm6_4\n  float v12; // xmm0_4\n  float v13; // xmm11_4\n  __int64 v14; // r8\n  float v15; // xmm0_4\n  int v16; // eax\n  float v17; // xmm6_4\n  float v18; // xmm0_4\n  float v19; // xmm11_4\n  __int64 v20; // r8\n  float v21; // xmm0_4\n  int v22; // eax\n  int v23; // eax\n  char v24; // bp\n  _QWORD *v25; // r14\n  signed int v26; // edi\n  int v27; // esi\n  __int64 v28; // r8\n  void *v30; // [rsp+A0h] [rbp-C8h]\n  void *v31; // [rsp+A0h] [rbp-C8h]\n  void *v32; // [rsp+A0h] [rbp-C8h]\n  void *v33; // [rsp+A0h] [rbp-C8h]\n  void *v34; // [rsp+A0h] [rbp-C8h]\n  void *v35; // [rsp+A0h] [rbp-C8h]\n  void *v36; // [rsp+A0h] [rbp-C8h]\n  void *v37; // [rsp+A0h] [rbp-C8h]\n  void *v38; // [rsp+A0h] [rbp-C8h]\n  void *v39; // [rsp+A8h] [rbp-C0h]\n  _BYTE v40[32]; // [rsp+B0h] [rbp-B8h] BYREF\n\n  if ( !a2 )\n    return 0;\n  if ( !*(_QWORD *)(a2 + 1872) )\n  {\n    v3 = qword_14090C070;\n    if ( !qword_14090C070 )\n    {\n      v30 = operator new(0x3D0u);\n      qword_14090C070 = MusicDownloadManager::MusicDownloadManager(v30);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090C070 + 72LL))(qword_14090C070);\n      v3 = qword_14090C070;\n    }\n    v4 = MusicDownloadManager::pathForSFX(v3, v40, *(unsigned int *)(a2 + 1888));\n    sub_140059C40(a2 + 1856, v4);\n    sub_14003D310((__int64)v40);\n  }\n  if ( !qword_14090BF60 )\n  {\n    v31 = operator new(0x8A8u);\n    qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v31);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60);\n  }\n  v5 = FMODAudioEngine::pitchForIdx(*(_DWORD *)(a2 + 1900));\n  v6 = *(float *)(a2 + 1908);\n  if ( !v7 )\n  {\n    v32 = operator new(0x8A8u);\n    qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v32);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60);\n  }\n  v9 = FMODAudioEngine::pitchForIdx(*(_DWORD *)(a2 + 1904));\n  if ( *(int *)(a2 + 2008) > 0 )\n  {\n    if ( *(_BYTE *)(a2 + 2020) )\n    {\n      if ( !v8 )\n      {\n        v33 = operator new(0x8A8u);\n        qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v33);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60);\n      }\n      v10 = rand();\n      v11 = (float)*(int *)(a2 + 1900);\n      v12 = roundf(\n              (float)((float)((float)((float)v10 / 32767.0) + (float)((float)v10 / 32767.0)) - 1.0)\n            * (float)*(int *)(a2 + 2008));\n      v5 = FMODAudioEngine::pitchForIdx((int)(float)(v12 + v11));\n    }\n    else\n    {\n      if ( !v8 )\n      {\n        v34 = operator new(0x8A8u);\n        qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v34);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60);\n      }\n      v13 = FMODAudioEngine::pitchForIdx(*(_DWORD *)(a2 + 1900) - *(_DWORD *)(a2 + 2008));\n      if ( !v14 )\n      {\n        v35 = operator new(0x8A8u);\n        qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v35);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60);\n      }\n      v15 = FMODAudioEngine::pitchForIdx(*(_DWORD *)(a2 + 1900) + *(_DWORD *)(a2 + 2008));\n      v5 = (float)((float)((float)rand() / 32767.0) * (float)(v15 - v13)) + v13;\n    }\n    v8 = qword_14090BF60;\n  }\n  if ( *(int *)(a2 + 2012) > 0 )\n  {\n    if ( *(_BYTE *)(a2 + 2020) )\n    {\n      if ( !v8 )\n      {\n        v36 = operator new(0x8A8u);\n        qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v36);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60);\n      }\n      v16 = rand();\n      v17 = (float)*(int *)(a2 + 1904);\n      v18 = roundf(\n              (float)((float)((float)((float)v16 / 32767.0) + (float)((float)v16 / 32767.0)) - 1.0)\n            * (float)*(int *)(a2 + 2012));\n      v9 = FMODAudioEngine::pitchForIdx((int)(float)(v18 + v17));\n    }\n    else\n    {\n      if ( !v8 )\n      {\n        v37 = operator new(0x8A8u);\n        qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v37);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60);\n      }\n      v19 = FMODAudioEngine::pitchForIdx(*(_DWORD *)(a2 + 1904) - *(_DWORD *)(a2 + 2012));\n      if ( !v20 )\n      {\n        v38 = operator new(0x8A8u);\n        qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v38);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60);\n      }\n      v21 = FMODAudioEngine::pitchForIdx(*(_DWORD *)(a2 + 1904) + *(_DWORD *)(a2 + 2012));\n      v9 = (float)((float)((float)rand() / 32767.0) * (float)(v21 - v19)) + v19;\n    }\n  }\n  if ( *(float *)(a2 + 2016) > 0.0 )\n  {\n    v22 = rand();\n    if ( fminf(\n           2.0,\n           (float)((float)((float)((float)((float)v22 / 32767.0) + (float)((float)v22 / 32767.0)) - 1.0)\n                 * *(float *)(a2 + 2016))\n         + v6) >= 0.0 )\n    {\n      v23 = rand();\n      v6 = fminf(\n             2.0,\n             (float)((float)((float)((float)((float)v23 / 32767.0) + (float)((float)v23 / 32767.0)) - 1.0)\n                   * *(float *)(a2 + 2016))\n           + v6);\n    }\n    else\n    {\n      v6 = 0.0;\n    }\n  }\n  v24 = *(_BYTE *)(a2 + 1969);\n  v25 = (_QWORD *)sub_14003F4F0((__int64)v40, a2 + 1856);\n  v26 = *(_DWORD *)(a2 + 1936);\n  if ( v26 > 0 )\n    v27 = *(_DWORD *)(a2 + 1936);\n  else\n    v27 = -*(_DWORD *)(a2 + 924);\n  if ( *(_BYTE *)(a2 + 1933) )\n  {\n    if ( v26 <= 0 )\n      v26 = -*(_DWORD *)(a2 + 924);\n  }\n  else\n  {\n    v26 = 0;\n  }\n  v28 = qword_14090BF60;\n  if ( !qword_14090BF60 )\n  {\n    v39 = operator new(0x8A8u);\n    qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v39);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60);\n    v28 = qword_14090BF60;\n  }\n  return FMODAudioEngine::playEffectAdvanced(\n           v28,\n           v25,\n           v5,\n           0.0,\n           v6,\n           v9,\n           *(_BYTE *)(a2 + 1929),\n           *(_BYTE *)(a2 + 1928),\n           *(_DWORD *)(a2 + 1912),\n           *(_DWORD *)(a2 + 1920),\n           *(_DWORD *)(a2 + 1916),\n           *(_DWORD *)(a2 + 1924),\n           *(_BYTE *)(a2 + 1930),\n           v26,\n           *(_BYTE *)(a2 + 1934),\n           v24 == 0,\n           0,\n           v27,\n           *(float *)(a2 + 1972),\n           *(_DWORD *)(a2 + 1976));\n}", "assembly": "; \n; GameManager::playSFXTrigger from 0x140276b50 to 0x1402771aa (1626 bytes)\n; \n; 6 xrefs:\n; > EditorSFXActionConfigLayer::onPreviewSound @ 0x140184b1c\n; > EditorSFXManager::playAction @ 0x1401859fa\n; > GJBaseGameLayer::activateSFXTrigger @ 0x14034bf0a\n; > SetupReverbPopup::onPlay @ 0x1405dc326\n; > SetupSFXPopup::overridePlaySFX @ 0x1405de504\n; > <???> @ 0x14091cd90\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:28:56 +0000\n; \nmov     rax, rsp                                                       ; +0x0, 0x140276b50\nmov     [rax+8], rbx                                                   ; +0x3, 0x140276b53\nmov     [rax+18h], rbp                                                 ; +0x7, 0x140276b57\npush    rsi                                                            ; +0xb, 0x140276b5b\npush    rdi                                                            ; +0xc, 0x140276b5c\npush    r14                                                            ; +0xd, 0x140276b5d\nsub     rsp, 150h                                                      ; +0xf, 0x140276b5f\nmovaps  xmmword ptr [rax-28h], xmm6                                    ; +0x16, 0x140276b66\nmovaps  xmmword ptr [rax-38h], xmm7                                    ; +0x1a, 0x140276b6a\nmovaps  xmmword ptr [rax-48h], xmm8                                    ; +0x1e, 0x140276b6e\nmovaps  xmmword ptr [rax-58h], xmm9                                    ; +0x23, 0x140276b73\nmovaps  xmmword ptr [rax-68h], xmm10                                   ; +0x28, 0x140276b78\nmovaps  xmmword ptr [rax-78h], xmm11                                   ; +0x2d, 0x140276b7d\nmovaps  xmmword ptr [rax-88h], xmm12                                   ; +0x32, 0x140276b82\nmov     rax, cs:__security_cookie                                      ; +0x3a, 0x140276b8a\nxor     rax, rsp                                                       ; +0x41, 0x140276b91\nmov     [rsp+168h+var_98], rax                                         ; +0x44, 0x140276b94\nmov     rbx, rdx                                                       ; +0x4c, 0x140276b9c\ntest    rdx, rdx                                                       ; +0x4f, 0x140276b9f\njz      loc_14027715D                                                  ; +0x52, 0x140276ba2\ncmp     qword ptr [rdx+750h], 0                                        ; +0x58, 0x140276ba8\njnz     short loc_140276C23                                            ; +0x60, 0x140276bb0\nmov     rcx, cs:qword_14090C070                                        ; +0x62, 0x140276bb2\ntest    rcx, rcx                                                       ; +0x69, 0x140276bb9\njnz     short loc_140276BF3                                            ; +0x6c, 0x140276bbc\nmov     ecx, 3D0h; Size                                                ; +0x6e, 0x140276bbe\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x73, 0x140276bc3\nmov     [rsp+168h+var_C8], rax                                         ; +0x78, 0x140276bc8\nmov     rcx, rax                                                       ; +0x80, 0x140276bd0\ncall    MusicDownloadManager__MusicDownloadManager                     ; +0x83, 0x140276bd3\nnop                                                                    ; +0x88, 0x140276bd8\nmov     cs:qword_14090C070, rax                                        ; +0x89, 0x140276bd9\nmov     rcx, [rax]                                                     ; +0x90, 0x140276be0\nmov     rdx, [rcx+48h]                                                 ; +0x93, 0x140276be3\nmov     rcx, rax                                                       ; +0x97, 0x140276be7\ncall    rdx                                                            ; +0x9a, 0x140276bea\nmov     rcx, cs:qword_14090C070                                        ; +0x9c, 0x140276bec\nmov     r8d, [rbx+760h]                                                ; +0xa3, 0x140276bf3\nlea     rdx, [rsp+168h+var_B8]                                         ; +0xaa, 0x140276bfa\ncall    MusicDownloadManager__pathForSFX                               ; +0xb2, 0x140276c02\nlea     rcx, [rbx+740h]                                                ; +0xb7, 0x140276c07\nmov     rdx, rax                                                       ; +0xbe, 0x140276c0e\ncall    sub_140059C40                                                  ; +0xc1, 0x140276c11\nlea     rcx, [rsp+168h+var_B8]                                         ; +0xc6, 0x140276c16\ncall    sub_14003D310                                                  ; +0xce, 0x140276c1e\nmov     r8, cs:qword_14090BF60                                         ; +0xd3, 0x140276c23\ntest    r8, r8                                                         ; +0xda, 0x140276c2a\njnz     short loc_140276C64                                            ; +0xdd, 0x140276c2d\nmov     ecx, 8A8h; Size                                                ; +0xdf, 0x140276c2f\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xe4, 0x140276c34\nmov     [rsp+168h+var_C8], rax                                         ; +0xe9, 0x140276c39\nmov     rcx, rax                                                       ; +0xf1, 0x140276c41\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0xf4, 0x140276c44\nnop                                                                    ; +0xf9, 0x140276c49\nmov     cs:qword_14090BF60, rax                                        ; +0xfa, 0x140276c4a\nmov     rcx, [rax]                                                     ; +0x101, 0x140276c51\nmov     rdx, [rcx+48h]                                                 ; +0x104, 0x140276c54\nmov     rcx, rax                                                       ; +0x108, 0x140276c58\ncall    rdx                                                            ; +0x10b, 0x140276c5b\nmov     r8, cs:qword_14090BF60                                         ; +0x10d, 0x140276c5d\nmov     ecx, [rbx+76Ch]                                                ; +0x114, 0x140276c64\ncall    FMODAudioEngine__pitchForIdx                                   ; +0x11a, 0x140276c6a\nmovaps  xmm8, xmm0                                                     ; +0x11f, 0x140276c6f\nmovss   xmm10, dword ptr [rbx+774h]                                    ; +0x123, 0x140276c73\ntest    r8, r8                                                         ; +0x12c, 0x140276c7c\njnz     short loc_140276CB6                                            ; +0x12f, 0x140276c7f\nmov     ecx, 8A8h; Size                                                ; +0x131, 0x140276c81\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x136, 0x140276c86\nmov     [rsp+168h+var_C8], rax                                         ; +0x13b, 0x140276c8b\nmov     rcx, rax                                                       ; +0x143, 0x140276c93\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0x146, 0x140276c96\nnop                                                                    ; +0x14b, 0x140276c9b\nmov     cs:qword_14090BF60, rax                                        ; +0x14c, 0x140276c9c\nmov     rcx, [rax]                                                     ; +0x153, 0x140276ca3\nmov     rdx, [rcx+48h]                                                 ; +0x156, 0x140276ca6\nmov     rcx, rax                                                       ; +0x15a, 0x140276caa\ncall    rdx                                                            ; +0x15d, 0x140276cad\nmov     r8, cs:qword_14090BF60                                         ; +0x15f, 0x140276caf\nmov     ecx, [rbx+770h]                                                ; +0x166, 0x140276cb6\ncall    FMODAudioEngine__pitchForIdx                                   ; +0x16c, 0x140276cbc\nmovaps  xmm7, xmm0                                                     ; +0x171, 0x140276cc1\nmovss   xmm9, cs:dword_140835BDC                                       ; +0x174, 0x140276cc4\nmovss   xmm12, cs:flt_140835080                                        ; +0x17d, 0x140276ccd\ncmp     dword ptr [rbx+7D8h], 0                                        ; +0x186, 0x140276cd6\njle     loc_140276E34                                                  ; +0x18d, 0x140276cdd\ncmp     byte ptr [rbx+7E4h], 0                                         ; +0x193, 0x140276ce3\njz      loc_140276D74                                                  ; +0x19a, 0x140276cea\ntest    r8, r8                                                         ; +0x1a0, 0x140276cf0\njnz     short loc_140276D23                                            ; +0x1a3, 0x140276cf3\nmov     ecx, 8A8h; Size                                                ; +0x1a5, 0x140276cf5\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1aa, 0x140276cfa\nmov     [rsp+168h+var_C8], rax                                         ; +0x1af, 0x140276cff\nmov     rcx, rax                                                       ; +0x1b7, 0x140276d07\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0x1ba, 0x140276d0a\nnop                                                                    ; +0x1bf, 0x140276d0f\nmov     cs:qword_14090BF60, rax                                        ; +0x1c0, 0x140276d10\nmov     rcx, [rax]                                                     ; +0x1c7, 0x140276d17\nmov     rdx, [rcx+48h]                                                 ; +0x1ca, 0x140276d1a\nmov     rcx, rax                                                       ; +0x1ce, 0x140276d1e\ncall    rdx                                                            ; +0x1d1, 0x140276d21\ncall    cs:rand                                                        ; +0x1d3, 0x140276d23\nxorps   xmm0, xmm0                                                     ; +0x1d9, 0x140276d29\ncvtsi2ss xmm0, eax                                                     ; +0x1dc, 0x140276d2c\ndivss   xmm0, xmm9                                                     ; +0x1e0, 0x140276d30\nxorps   xmm6, xmm6                                                     ; +0x1e5, 0x140276d35\ncvtsi2ss xmm6, dword ptr [rbx+76Ch]                                    ; +0x1e8, 0x140276d38\naddss   xmm0, xmm0                                                     ; +0x1f0, 0x140276d40\nsubss   xmm0, xmm12                                                    ; +0x1f4, 0x140276d44\nxorps   xmm1, xmm1                                                     ; +0x1f9, 0x140276d49\ncvtsi2ss xmm1, dword ptr [rbx+7D8h]                                    ; +0x1fc, 0x140276d4c\nmulss   xmm0, xmm1; X                                                  ; +0x204, 0x140276d54\ncall    cs:__imp_roundf                                                ; +0x208, 0x140276d58\naddss   xmm0, xmm6                                                     ; +0x20e, 0x140276d5e\ncvttss2si ecx, xmm0                                                    ; +0x212, 0x140276d62\ncall    FMODAudioEngine__pitchForIdx                                   ; +0x216, 0x140276d66\nmovaps  xmm8, xmm0                                                     ; +0x21b, 0x140276d6b\njmp     loc_140276E2D                                                  ; +0x21f, 0x140276d6f\ntest    r8, r8                                                         ; +0x224, 0x140276d74\njnz     short loc_140276DAE                                            ; +0x227, 0x140276d77\nmov     ecx, 8A8h; Size                                                ; +0x229, 0x140276d79\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x22e, 0x140276d7e\nmov     [rsp+168h+var_C8], rax                                         ; +0x233, 0x140276d83\nmov     rcx, rax                                                       ; +0x23b, 0x140276d8b\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0x23e, 0x140276d8e\nnop                                                                    ; +0x243, 0x140276d93\nmov     cs:qword_14090BF60, rax                                        ; +0x244, 0x140276d94\nmov     rcx, [rax]                                                     ; +0x24b, 0x140276d9b\nmov     rdx, [rcx+48h]                                                 ; +0x24e, 0x140276d9e\nmov     rcx, rax                                                       ; +0x252, 0x140276da2\ncall    rdx                                                            ; +0x255, 0x140276da5\nmov     r8, cs:qword_14090BF60                                         ; +0x257, 0x140276da7\nmov     ecx, [rbx+76Ch]                                                ; +0x25e, 0x140276dae\nsub     ecx, [rbx+7D8h]                                                ; +0x264, 0x140276db4\ncall    FMODAudioEngine__pitchForIdx                                   ; +0x26a, 0x140276dba\nmovaps  xmm11, xmm0                                                    ; +0x26f, 0x140276dbf\ntest    r8, r8                                                         ; +0x273, 0x140276dc3\njnz     short loc_140276DF6                                            ; +0x276, 0x140276dc6\nmov     ecx, 8A8h; Size                                                ; +0x278, 0x140276dc8\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x27d, 0x140276dcd\nmov     [rsp+168h+var_C8], rax                                         ; +0x282, 0x140276dd2\nmov     rcx, rax                                                       ; +0x28a, 0x140276dda\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0x28d, 0x140276ddd\nnop                                                                    ; +0x292, 0x140276de2\nmov     cs:qword_14090BF60, rax                                        ; +0x293, 0x140276de3\nmov     rcx, [rax]                                                     ; +0x29a, 0x140276dea\nmov     rdx, [rcx+48h]                                                 ; +0x29d, 0x140276ded\nmov     rcx, rax                                                       ; +0x2a1, 0x140276df1\ncall    rdx                                                            ; +0x2a4, 0x140276df4\nmov     ecx, [rbx+7D8h]                                                ; +0x2a6, 0x140276df6\nadd     ecx, [rbx+76Ch]                                                ; +0x2ac, 0x140276dfc\ncall    FMODAudioEngine__pitchForIdx                                   ; +0x2b2, 0x140276e02\nmovaps  xmm6, xmm0                                                     ; +0x2b7, 0x140276e07\ncall    cs:rand                                                        ; +0x2ba, 0x140276e0a\nmovd    xmm8, eax                                                      ; +0x2c0, 0x140276e10\ncvtdq2ps xmm8, xmm8                                                    ; +0x2c5, 0x140276e15\ndivss   xmm8, xmm9                                                     ; +0x2c9, 0x140276e19\nsubss   xmm6, xmm11                                                    ; +0x2ce, 0x140276e1e\nmulss   xmm8, xmm6                                                     ; +0x2d3, 0x140276e23\naddss   xmm8, xmm11                                                    ; +0x2d8, 0x140276e28\nmov     r8, cs:qword_14090BF60                                         ; +0x2dd, 0x140276e2d\ncmp     dword ptr [rbx+7DCh], 0                                        ; +0x2e4, 0x140276e34\njle     loc_140276F87                                                  ; +0x2eb, 0x140276e3b\ncmp     byte ptr [rbx+7E4h], 0                                         ; +0x2f1, 0x140276e41\njz      loc_140276ED1                                                  ; +0x2f8, 0x140276e48\ntest    r8, r8                                                         ; +0x2fe, 0x140276e4e\njnz     short loc_140276E81                                            ; +0x301, 0x140276e51\nmov     ecx, 8A8h; Size                                                ; +0x303, 0x140276e53\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x308, 0x140276e58\nmov     [rsp+168h+var_C8], rax                                         ; +0x30d, 0x140276e5d\nmov     rcx, rax                                                       ; +0x315, 0x140276e65\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0x318, 0x140276e68\nnop                                                                    ; +0x31d, 0x140276e6d\nmov     cs:qword_14090BF60, rax                                        ; +0x31e, 0x140276e6e\nmov     rcx, [rax]                                                     ; +0x325, 0x140276e75\nmov     rdx, [rcx+48h]                                                 ; +0x328, 0x140276e78\nmov     rcx, rax                                                       ; +0x32c, 0x140276e7c\ncall    rdx                                                            ; +0x32f, 0x140276e7f\ncall    cs:rand                                                        ; +0x331, 0x140276e81\nxorps   xmm0, xmm0                                                     ; +0x337, 0x140276e87\ncvtsi2ss xmm0, eax                                                     ; +0x33a, 0x140276e8a\ndivss   xmm0, xmm9                                                     ; +0x33e, 0x140276e8e\nxorps   xmm6, xmm6                                                     ; +0x343, 0x140276e93\ncvtsi2ss xmm6, dword ptr [rbx+770h]                                    ; +0x346, 0x140276e96\naddss   xmm0, xmm0                                                     ; +0x34e, 0x140276e9e\nsubss   xmm0, xmm12                                                    ; +0x352, 0x140276ea2\nxorps   xmm1, xmm1                                                     ; +0x357, 0x140276ea7\ncvtsi2ss xmm1, dword ptr [rbx+7DCh]                                    ; +0x35a, 0x140276eaa\nmulss   xmm0, xmm1; X                                                  ; +0x362, 0x140276eb2\ncall    cs:__imp_roundf                                                ; +0x366, 0x140276eb6\naddss   xmm0, xmm6                                                     ; +0x36c, 0x140276ebc\ncvttss2si ecx, xmm0                                                    ; +0x370, 0x140276ec0\ncall    FMODAudioEngine__pitchForIdx                                   ; +0x374, 0x140276ec4\nmovaps  xmm7, xmm0                                                     ; +0x379, 0x140276ec9\njmp     loc_140276F87                                                  ; +0x37c, 0x140276ecc\ntest    r8, r8                                                         ; +0x381, 0x140276ed1\njnz     short loc_140276F0B                                            ; +0x384, 0x140276ed4\nmov     ecx, 8A8h; Size                                                ; +0x386, 0x140276ed6\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x38b, 0x140276edb\nmov     [rsp+168h+var_C8], rax                                         ; +0x390, 0x140276ee0\nmov     rcx, rax                                                       ; +0x398, 0x140276ee8\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0x39b, 0x140276eeb\nnop                                                                    ; +0x3a0, 0x140276ef0\nmov     cs:qword_14090BF60, rax                                        ; +0x3a1, 0x140276ef1\nmov     rcx, [rax]                                                     ; +0x3a8, 0x140276ef8\nmov     rdx, [rcx+48h]                                                 ; +0x3ab, 0x140276efb\nmov     rcx, rax                                                       ; +0x3af, 0x140276eff\ncall    rdx                                                            ; +0x3b2, 0x140276f02\nmov     r8, cs:qword_14090BF60                                         ; +0x3b4, 0x140276f04\nmov     ecx, [rbx+770h]                                                ; +0x3bb, 0x140276f0b\nsub     ecx, [rbx+7DCh]                                                ; +0x3c1, 0x140276f11\ncall    FMODAudioEngine__pitchForIdx                                   ; +0x3c7, 0x140276f17\nmovaps  xmm11, xmm0                                                    ; +0x3cc, 0x140276f1c\ntest    r8, r8                                                         ; +0x3d0, 0x140276f20\njnz     short loc_140276F53                                            ; +0x3d3, 0x140276f23\nmov     ecx, 8A8h; Size                                                ; +0x3d5, 0x140276f25\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x3da, 0x140276f2a\nmov     [rsp+168h+var_C8], rax                                         ; +0x3df, 0x140276f2f\nmov     rcx, rax                                                       ; +0x3e7, 0x140276f37\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0x3ea, 0x140276f3a\nnop                                                                    ; +0x3ef, 0x140276f3f\nmov     cs:qword_14090BF60, rax                                        ; +0x3f0, 0x140276f40\nmov     rcx, [rax]                                                     ; +0x3f7, 0x140276f47\nmov     rdx, [rcx+48h]                                                 ; +0x3fa, 0x140276f4a\nmov     rcx, rax                                                       ; +0x3fe, 0x140276f4e\ncall    rdx                                                            ; +0x401, 0x140276f51\nmov     ecx, [rbx+7DCh]                                                ; +0x403, 0x140276f53\nadd     ecx, [rbx+770h]                                                ; +0x409, 0x140276f59\ncall    FMODAudioEngine__pitchForIdx                                   ; +0x40f, 0x140276f5f\nmovaps  xmm6, xmm0                                                     ; +0x414, 0x140276f64\ncall    cs:rand                                                        ; +0x417, 0x140276f67\nmovd    xmm7, eax                                                      ; +0x41d, 0x140276f6d\ncvtdq2ps xmm7, xmm7                                                    ; +0x421, 0x140276f71\ndivss   xmm7, xmm9                                                     ; +0x424, 0x140276f74\nsubss   xmm6, xmm11                                                    ; +0x429, 0x140276f79\nmulss   xmm7, xmm6                                                     ; +0x42e, 0x140276f7e\naddss   xmm7, xmm11                                                    ; +0x432, 0x140276f82\nmovss   xmm0, dword ptr [rbx+7E0h]                                     ; +0x437, 0x140276f87\nxorps   xmm6, xmm6                                                     ; +0x43f, 0x140276f8f\ncomiss  xmm0, xmm6                                                     ; +0x442, 0x140276f92\njbe     short loc_14027700C                                            ; +0x445, 0x140276f95\ncall    cs:rand                                                        ; +0x447, 0x140276f97\nmovd    xmm1, eax                                                      ; +0x44d, 0x140276f9d\ncvtdq2ps xmm1, xmm1                                                    ; +0x451, 0x140276fa1\ndivss   xmm1, xmm9                                                     ; +0x454, 0x140276fa4\naddss   xmm1, xmm1                                                     ; +0x459, 0x140276fa9\nsubss   xmm1, xmm12                                                    ; +0x45d, 0x140276fad\nmulss   xmm1, dword ptr [rbx+7E0h]                                     ; +0x462, 0x140276fb2\naddss   xmm1, xmm10                                                    ; +0x46a, 0x140276fba\nmovss   xmm11, cs:width                                                ; +0x46f, 0x140276fbf\nmovaps  xmm0, xmm11                                                    ; +0x478, 0x140276fc8\nminss   xmm0, xmm1                                                     ; +0x47c, 0x140276fcc\ncomiss  xmm6, xmm0                                                     ; +0x480, 0x140276fd0\njbe     short loc_140276FDB                                            ; +0x483, 0x140276fd3\nxorps   xmm10, xmm10                                                   ; +0x485, 0x140276fd5\njmp     short loc_14027700C                                            ; +0x489, 0x140276fd9\ncall    cs:rand                                                        ; +0x48b, 0x140276fdb\nmovd    xmm0, eax                                                      ; +0x491, 0x140276fe1\ncvtdq2ps xmm0, xmm0                                                    ; +0x495, 0x140276fe5\ndivss   xmm0, xmm9                                                     ; +0x498, 0x140276fe8\naddss   xmm0, xmm0                                                     ; +0x49d, 0x140276fed\nsubss   xmm0, xmm12                                                    ; +0x4a1, 0x140276ff1\nmulss   xmm0, dword ptr [rbx+7E0h]                                     ; +0x4a6, 0x140276ff6\naddss   xmm0, xmm10                                                    ; +0x4ae, 0x140276ffe\nmovaps  xmm10, xmm11                                                   ; +0x4b3, 0x140277003\nminss   xmm10, xmm0                                                    ; +0x4b7, 0x140277007\nlea     rax, [rsp+168h+var_B8]                                         ; +0x4bc, 0x14027700c\nmov     [rsp+168h+var_C8], rax                                         ; +0x4c4, 0x140277014\nmovzx   ebp, byte ptr [rbx+7B1h]                                       ; +0x4cc, 0x14027701c\nlea     rdx, [rbx+740h]                                                ; +0x4d3, 0x140277023\nlea     rcx, [rsp+168h+var_B8]                                         ; +0x4da, 0x14027702a\ncall    sub_14003F4F0                                                  ; +0x4e2, 0x140277032\nmov     r14, rax                                                       ; +0x4e7, 0x140277037\nmov     edi, [rbx+790h]                                                ; +0x4ea, 0x14027703a\ntest    edi, edi                                                       ; +0x4f0, 0x140277040\njg      short loc_14027704E                                            ; +0x4f2, 0x140277042\nmov     esi, [rbx+39Ch]                                                ; +0x4f4, 0x140277044\nneg     esi                                                            ; +0x4fa, 0x14027704a\njmp     short loc_140277050                                            ; +0x4fc, 0x14027704c\nmov     esi, edi                                                       ; +0x4fe, 0x14027704e\ncmp     byte ptr [rbx+78Dh], 0                                         ; +0x500, 0x140277050\njnz     short loc_14027705D                                            ; +0x507, 0x140277057\nxor     edi, edi                                                       ; +0x509, 0x140277059\njmp     short loc_140277069                                            ; +0x50b, 0x14027705b\ntest    edi, edi                                                       ; +0x50d, 0x14027705d\njg      short loc_140277069                                            ; +0x50f, 0x14027705f\nmov     edi, [rbx+39Ch]                                                ; +0x511, 0x140277061\nneg     edi                                                            ; +0x517, 0x140277067\nmov     r8, cs:qword_14090BF60                                         ; +0x519, 0x140277069\ntest    r8, r8                                                         ; +0x520, 0x140277070\njnz     short loc_1402770AA                                            ; +0x523, 0x140277073\nmov     ecx, 8A8h; Size                                                ; +0x525, 0x140277075\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x52a, 0x14027707a\nmov     [rsp+168h+var_C0], rax                                         ; +0x52f, 0x14027707f\nmov     rcx, rax                                                       ; +0x537, 0x140277087\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0x53a, 0x14027708a\nnop                                                                    ; +0x53f, 0x14027708f\nmov     cs:qword_14090BF60, rax                                        ; +0x540, 0x140277090\nmov     rcx, [rax]                                                     ; +0x547, 0x140277097\nmov     rdx, [rcx+48h]                                                 ; +0x54a, 0x14027709a\nmov     rcx, rax                                                       ; +0x54e, 0x14027709e\ncall    rdx                                                            ; +0x551, 0x1402770a1\nmov     r8, cs:qword_14090BF60                                         ; +0x553, 0x1402770a3\ntest    bpl, bpl                                                       ; +0x55a, 0x1402770aa\nsetz    cl                                                             ; +0x55d, 0x1402770ad\nmov     eax, [rbx+7B8h]                                                ; +0x560, 0x1402770b0\nmov     [rsp+168h+var_D0], eax                                         ; +0x566, 0x1402770b6\nmovss   xmm0, dword ptr [rbx+7B4h]                                     ; +0x56d, 0x1402770bd\nmovss   [rsp+168h+var_D8], xmm0                                        ; +0x575, 0x1402770c5\nmov     [rsp+168h+var_E0], esi                                         ; +0x57e, 0x1402770ce\nmov     [rsp+168h+var_E8], 0                                           ; +0x585, 0x1402770d5\nmov     [rsp+168h+var_F0], cl                                          ; +0x590, 0x1402770e0\nmovzx   eax, byte ptr [rbx+78Eh]                                       ; +0x594, 0x1402770e4\nmov     [rsp+168h+var_F8], al                                          ; +0x59b, 0x1402770eb\nmov     [rsp+168h+var_100], edi                                        ; +0x59f, 0x1402770ef\nmovzx   eax, byte ptr [rbx+78Ah]                                       ; +0x5a3, 0x1402770f3\nmov     [rsp+168h+var_108], al                                         ; +0x5aa, 0x1402770fa\nmov     eax, [rbx+784h]                                                ; +0x5ae, 0x1402770fe\nmov     [rsp+168h+var_110], eax                                        ; +0x5b4, 0x140277104\nmov     eax, [rbx+77Ch]                                                ; +0x5b8, 0x140277108\nmov     [rsp+168h+var_118], eax                                        ; +0x5be, 0x14027710e\nmov     eax, [rbx+780h]                                                ; +0x5c2, 0x140277112\nmov     [rsp+168h+var_120], eax                                        ; +0x5c8, 0x140277118\nmov     eax, [rbx+778h]                                                ; +0x5cc, 0x14027711c\nmov     [rsp+168h+var_128], eax                                        ; +0x5d2, 0x140277122\nmovzx   eax, byte ptr [rbx+788h]                                       ; +0x5d6, 0x140277126\nmov     [rsp+168h+var_130], al                                         ; +0x5dd, 0x14027712d\nmovzx   eax, byte ptr [rbx+789h]                                       ; +0x5e1, 0x140277131\nmov     [rsp+168h+var_138], al                                         ; +0x5e8, 0x140277138\nmovss   [rsp+168h+var_140], xmm7                                       ; +0x5ec, 0x14027713c\nmovss   [rsp+168h+var_148], xmm10                                      ; +0x5f2, 0x140277142\nxorps   xmm3, xmm3                                                     ; +0x5f9, 0x140277149\nmovaps  xmm2, xmm8                                                     ; +0x5fc, 0x14027714c\nmov     rdx, r14                                                       ; +0x600, 0x140277150\nmov     rcx, r8                                                        ; +0x603, 0x140277153\ncall    FMODAudioEngine__playEffectAdvanced                            ; +0x606, 0x140277156\njmp     short loc_14027715F                                            ; +0x60b, 0x14027715b\nxor     eax, eax                                                       ; +0x60d, 0x14027715d\nmov     rcx, [rsp+168h+var_98]                                         ; +0x60f, 0x14027715f\nxor     rcx, rsp; StackCookie                                          ; +0x617, 0x140277167\ncall    __security_check_cookie                                        ; +0x61a, 0x14027716a\nlea     r11, [rsp+168h+var_18]                                         ; +0x61f, 0x14027716f\nmov     rbx, [r11+20h]                                                 ; +0x627, 0x140277177\nmov     rbp, [r11+30h]                                                 ; +0x62b, 0x14027717b\nmovaps  xmm6, xmmword ptr [r11-10h]                                    ; +0x62f, 0x14027717f\nmovaps  xmm7, xmmword ptr [r11-20h]                                    ; +0x634, 0x140277184\nmovaps  xmm8, xmmword ptr [r11-30h]                                    ; +0x639, 0x140277189\nmovaps  xmm9, xmmword ptr [r11-40h]                                    ; +0x63e, 0x14027718e\nmovaps  xmm10, xmmword ptr [r11-50h]                                   ; +0x643, 0x140277193\nmovaps  xmm11, xmmword ptr [r11-60h]                                   ; +0x648, 0x140277198\nmovaps  xmm12, xmmword ptr [r11-70h]                                   ; +0x64d, 0x14027719d\nmov     rsp, r11                                                       ; +0x652, 0x1402771a2\npop     r14                                                            ; +0x655, 0x1402771a5\npop     rdi                                                            ; +0x657, 0x1402771a7\npop     rsi                                                            ; +0x658, 0x1402771a8\nretn                                                                   ; +0x659, 0x1402771a9", "xrefs": ["EditorSFXActionConfigLayer::onPreviewSound @ 0x140184b1c", "EditorSFXManager::playAction @ 0x1401859fa", "GJBaseGameLayer::activateSFXTrigger @ 0x14034bf0a", "SetupReverbPopup::onPlay @ 0x1405dc326", "SetupSFXPopup::overridePlaySFX @ 0x1405de504", "<???> @ 0x14091cd90"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}