{"type": "func", "start": 4299049392, "end": 4299049458, "name": "FMODAudioEngine::stopChannel_2", "pseudocode": "// \n// FMODAudioEngine::stopChannel_2 from 0x1003e49b0 to 0x1003e49f2 (66 bytes)\n// \n// 1 xrefs:\n// > GJBaseGameLayer::stopSFXTrigger @ 0x1001369e8\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 __fastcall FMODAudioEngine::stopChannel_2(FMODAudioEngine *a1, int a2)\n{\n  __int64 v2; // r9\n  FMOD::ChannelControl *v3; // rdi\n  int *v4; // [rsp+0h] [rbp-10h] BYREF\n  int v5; // [rsp+8h] [rbp-8h] BYREF\n  char v6; // [rsp+Fh] [rbp-1h] BYREF\n\n  v5 = a2;\n  v4 = &v5;\n  v3 = *(FMOD::ChannelControl **)(sub_1003EDB70(&a1->m_channelIDToChannel, &v5, &unk_10081B0A2, &v4, &v6, v2) + 24);\n  if ( v3 )\n    FMOD::ChannelControl::stop(v3);\n}", "assembly": "; \n; FMODAudioEngine::stopChannel_2 from 0x1003e49b0 to 0x1003e49f2 (66 bytes)\n; \n; 1 xrefs:\n; > GJBaseGameLayer::stopSFXTrigger @ 0x1001369e8\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    rbp                                                            ; +0x0, 0x1003e49b0\nmov     rbp, rsp                                                       ; +0x1, 0x1003e49b1\nsub     rsp, 10h                                                       ; +0x4, 0x1003e49b4\nmov     [rbp+var_8], esi                                               ; +0x8, 0x1003e49b8\nadd     rdi, 4C8h                                                      ; +0xb, 0x1003e49bb\nlea     rsi, [rbp+var_8]                                               ; +0x12, 0x1003e49c2\nmov     [rbp+var_10], rsi                                              ; +0x16, 0x1003e49c6\nlea     rdx, unk_10081B0A2                                             ; +0x1a, 0x1003e49ca\nlea     rcx, [rbp+var_10]                                              ; +0x21, 0x1003e49d1\nlea     r8, [rbp+var_1]                                                ; +0x25, 0x1003e49d5\ncall    sub_1003EDB70                                                  ; +0x29, 0x1003e49d9\nmov     rdi, [rax+18h]; this                                           ; +0x2e, 0x1003e49de\ntest    rdi, rdi                                                       ; +0x32, 0x1003e49e2\njz      short loc_1003E49EC                                            ; +0x35, 0x1003e49e5\ncall    __ZN4FMOD14ChannelControl4stopEv; FMOD::ChannelControl::stop(void) ; +0x37, 0x1003e49e7\nadd     rsp, 10h                                                       ; +0x3c, 0x1003e49ec\npop     rbp                                                            ; +0x40, 0x1003e49f0\nretn                                                                   ; +0x41, 0x1003e49f1", "xrefs": ["GJBaseGameLayer::stopSFXTrigger @ 0x1001369e8"], "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"}