{"type": "func", "start": 4296259800, "end": 4296259984, "name": "FMODAudioEngine::playEffectAsync", "pseudocode": "// \n// FMODAudioEngine::playEffectAsync from 0x10013b8d8 to 0x10013b990 (184 bytes)\n// \n// 1 xrefs:\n// > CustomSFXWidget::onPlayback @ 0x1002f0b84\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\n__int64 __fastcall FMODAudioEngine::playEffectAsync(__int64 a1, __int64 a2)\n{\n  __int64 v3; // x19\n  void *__p[2]; // [xsp+20h] [xbp-30h] BYREF\n  __int64 v6; // [xsp+30h] [xbp-20h]\n\n  if ( *(char *)(a2 + 23) < 0 )\n  {\n    sub_1000097D0(__p, *(void **)a2, *(_QWORD *)(a2 + 8));\n  }\n  else\n  {\n    *(_OWORD *)__p = *(_OWORD *)a2;\n    v6 = *(_QWORD *)(a2 + 16);\n  }\n  v3 = FMODAudioEngine::playEffectAdvanced(\n         a1,\n         (__int128 *)__p,\n         0,\n         0,\n         0,\n         0,\n         0,\n         0,\n         1.0,\n         0.0,\n         1.0,\n         0.0,\n         0.0,\n         0,\n         0,\n         0,\n         1u,\n         0,\n         0,\n         0);\n  if ( SHIBYTE(v6) < 0 )\n    operator delete(__p[0]);\n  return v3;\n}", "assembly": "; \n; FMODAudioEngine::playEffectAsync from 0x10013b8d8 to 0x10013b990 (184 bytes)\n; \n; 1 xrefs:\n; > CustomSFXWidget::onPlayback @ 0x1002f0b84\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\nSUB             SP, SP, #0x60                                          ; +0x0, 0x10013b8d8\nSTP             X20, X19, [SP,#0x50+var_10]                            ; +0x4, 0x10013b8dc\nSTP             X29, X30, [SP,#0x50+var_s0]                            ; +0x8, 0x10013b8e0\nADD             X29, SP, #0x50                                         ; +0xc, 0x10013b8e4\nMOV             X19, X0                                                ; +0x10, 0x10013b8e8\nLDRSB           W8, [X1,#0x17]                                         ; +0x14, 0x10013b8ec\nTBNZ            W8, #0x1F, loc_10013B908                               ; +0x18, 0x10013b8f0\nLDR             Q0, [X1]                                               ; +0x1c, 0x10013b8f4\nSTR             Q0, [SP,#0x50+__p]                                     ; +0x20, 0x10013b8f8\nLDR             X8, [X1,#0x10]                                         ; +0x24, 0x10013b8fc\nSTR             X8, [SP,#0x50+var_20]                                  ; +0x28, 0x10013b900\nB               loc_10013B918                                          ; +0x2c, 0x10013b904\nLDP             X8, X2, [X1]                                           ; +0x30, 0x10013b908\nADD             X0, SP, #0x50+__p; __dst                               ; +0x34, 0x10013b90c\nMOV             X1, X8; __src                                          ; +0x38, 0x10013b910\nBL              sub_1000097D0                                          ; +0x3c, 0x10013b914\nSTR             WZR, [SP,#0x50+var_3C]                                 ; +0x40, 0x10013b918\nSTUR            XZR, [SP,#0x50+var_44]                                 ; +0x44, 0x10013b91c\nMOV             W8, #0x100                                             ; +0x48, 0x10013b920\nSTRH            W8, [SP,#0x50+var_48]                                  ; +0x4c, 0x10013b924\nSTR             WZR, [SP,#0x50+var_4C]                                 ; +0x50, 0x10013b928\nADD             X1, SP, #0x50+__p                                      ; +0x54, 0x10013b92c\nFMOV            S0, #1.0                                               ; +0x58, 0x10013b930\nFMOV            S1, WZR                                                ; +0x5c, 0x10013b934\nFMOV            S2, #1.0                                               ; +0x60, 0x10013b938\nFMOV            S3, WZR                                                ; +0x64, 0x10013b93c\nFMOV            S4, WZR                                                ; +0x68, 0x10013b940\nSTRB            WZR, [SP,#0x50+var_50]                                 ; +0x6c, 0x10013b944\nMOV             X0, X19                                                ; +0x70, 0x10013b948\nMOV             W2, #0                                                 ; +0x74, 0x10013b94c\nMOV             W3, #0                                                 ; +0x78, 0x10013b950\nMOV             W4, #0                                                 ; +0x7c, 0x10013b954\nMOV             W5, #0                                                 ; +0x80, 0x10013b958\nMOV             W6, #0                                                 ; +0x84, 0x10013b95c\nMOV             W7, #0                                                 ; +0x88, 0x10013b960\nBL              FMODAudioEngine__playEffectAdvanced                    ; +0x8c, 0x10013b964\nMOV             X19, X0                                                ; +0x90, 0x10013b968\nLDRSB           W8, [SP,#0x50+var_20+7]                                ; +0x94, 0x10013b96c\nTBZ             W8, #0x1F, loc_10013B97C                               ; +0x98, 0x10013b970\nLDR             X0, [SP,#0x50+__p]; __p                                ; +0x9c, 0x10013b974\nBL              __ZdlPv; operator delete(void *)                       ; +0xa0, 0x10013b978\nMOV             X0, X19                                                ; +0xa4, 0x10013b97c\nLDP             X29, X30, [SP,#0x50+var_s0]                            ; +0xa8, 0x10013b980\nLDP             X20, X19, [SP,#0x50+var_10]                            ; +0xac, 0x10013b984\nADD             SP, SP, #0x60 ; '`'                                    ; +0xb0, 0x10013b988\nRET                                                                    ; +0xb4, 0x10013b98c", "xrefs": ["CustomSFXWidget::onPlayback @ 0x1002f0b84"], "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"}