{"type": "func", "start": 6442501280, "end": 6442501500, "name": "FMOD::ChannelControl::isPlaying", "pseudocode": "// \n// FMOD::ChannelControl::isPlaying from 0x18000c4a0 to 0x18000c57c (220 bytes)\n// \n// 5 xrefs:\n// > FMOD_ChannelGroup_IsPlaying @ 0x1800c517c\n// > FMOD_Channel_IsPlaying @ 0x1800c575c\n// > sub_1800CB310 @ 0x1800cb375\n// > <???> @ 0x180194348\n// > <???> @ 0x1801f6888\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 FMOD::ChannelControl::isPlaying(__int64 a1, _BYTE *a2)\n{\n  int v3; // esi\n  unsigned int v4; // ebx\n  __int64 v6; // [rsp+30h] [rbp-128h] BYREF\n  __int64 v7; // [rsp+38h] [rbp-120h] BYREF\n  _BYTE v8[256]; // [rsp+40h] [rbp-118h] BYREF\n\n  v3 = a1;\n  if ( a2 )\n    *a2 = 0;\n  v6 = 0;\n  v4 = sub_180012360(a1, &v7, &v6);\n  if ( (v4 || (v4 = (*(__int64 (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v7 + 168LL))(v7, a2)) != 0)\n    && *((char *)off_1801AED20 + 16) < 0 )\n  {\n    sub_1800F32C0(v8, 256, a2);\n    sub_1800B20E0(v4, 4, v3, (unsigned int)\"ChannelControl::isPlaying\", (__int64)v8);\n  }\n  if ( v6 )\n    sub_180102320();\n  return v4;\n}", "assembly": "; \n; FMOD::ChannelControl::isPlaying from 0x18000c4a0 to 0x18000c57c (220 bytes)\n; \n; 5 xrefs:\n; > FMOD_ChannelGroup_IsPlaying @ 0x1800c517c\n; > FMOD_Channel_IsPlaying @ 0x1800c575c\n; > sub_1800CB310 @ 0x1800cb375\n; > <???> @ 0x180194348\n; > <???> @ 0x1801f6888\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\nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x18000c4a0\nmov     [rsp+arg_18], rsi                                              ; +0x5, 0x18000c4a5\npush    rdi                                                            ; +0xa, 0x18000c4aa\nsub     rsp, 150h                                                      ; +0xb, 0x18000c4ab\nmov     rax, cs:__security_cookie                                      ; +0x12, 0x18000c4b2\nxor     rax, rsp                                                       ; +0x19, 0x18000c4b9\nmov     [rsp+158h+var_18], rax                                         ; +0x1c, 0x18000c4bc\nmov     rdi, rdx                                                       ; +0x24, 0x18000c4c4\nmov     rsi, rcx                                                       ; +0x27, 0x18000c4c7\ntest    rdx, rdx                                                       ; +0x2a, 0x18000c4ca\njz      short loc_18000C4D2                                            ; +0x2d, 0x18000c4cd\nmov     byte ptr [rdx], 0                                              ; +0x2f, 0x18000c4cf\nlea     r8, [rsp+158h+var_128]                                         ; +0x32, 0x18000c4d2\nmov     [rsp+158h+var_128], 0                                          ; +0x37, 0x18000c4d7\nlea     rdx, [rsp+158h+var_120]                                        ; +0x40, 0x18000c4e0\ncall    sub_180012360                                                  ; +0x45, 0x18000c4e5\nmov     ebx, eax                                                       ; +0x4a, 0x18000c4ea\ntest    eax, eax                                                       ; +0x4c, 0x18000c4ec\njnz     short loc_18000C507                                            ; +0x4e, 0x18000c4ee\nmov     rcx, [rsp+158h+var_120]                                        ; +0x50, 0x18000c4f0\nmov     rdx, rdi                                                       ; +0x55, 0x18000c4f5\nmov     rax, [rcx]                                                     ; +0x58, 0x18000c4f8\ncall    qword ptr [rax+0A8h]                                           ; +0x5b, 0x18000c4fb\nmov     ebx, eax                                                       ; +0x61, 0x18000c501\ntest    eax, eax                                                       ; +0x63, 0x18000c503\njz      short loc_18000C546                                            ; +0x65, 0x18000c505\nmov     rax, cs:off_1801AED20                                          ; +0x67, 0x18000c507\ntest    byte ptr [rax+10h], 80h                                        ; +0x6e, 0x18000c50e\njz      short loc_18000C546                                            ; +0x72, 0x18000c512\nmov     r8, rdi                                                        ; +0x74, 0x18000c514\nlea     rcx, [rsp+158h+var_118]                                        ; +0x77, 0x18000c517\nmov     edx, 100h                                                      ; +0x7c, 0x18000c51c\ncall    sub_1800F32C0                                                  ; +0x81, 0x18000c521\nlea     rax, [rsp+158h+var_118]                                        ; +0x86, 0x18000c526\nmov     r8, rsi                                                        ; +0x8b, 0x18000c52b\nlea     r9, aChannelcontrol_29; \"ChannelControl::isPlaying\"            ; +0x8e, 0x18000c52e\nmov     [rsp+158h+var_138], rax                                        ; +0x95, 0x18000c535\nmov     edx, 4                                                         ; +0x9a, 0x18000c53a\nmov     ecx, ebx                                                       ; +0x9f, 0x18000c53f\ncall    sub_1800B20E0                                                  ; +0xa1, 0x18000c541\nmov     rcx, [rsp+158h+var_128]                                        ; +0xa6, 0x18000c546\ntest    rcx, rcx                                                       ; +0xab, 0x18000c54b\njz      short loc_18000C555                                            ; +0xae, 0x18000c54e\ncall    sub_180102320                                                  ; +0xb0, 0x18000c550\nmov     eax, ebx                                                       ; +0xb5, 0x18000c555\nmov     rcx, [rsp+158h+var_18]                                         ; +0xb7, 0x18000c557\nxor     rcx, rsp; StackCookie                                          ; +0xbf, 0x18000c55f\ncall    __security_check_cookie                                        ; +0xc2, 0x18000c562\nlea     r11, [rsp+158h+var_8]                                          ; +0xc7, 0x18000c567\nmov     rbx, [r11+20h]                                                 ; +0xcf, 0x18000c56f\nmov     rsi, [r11+28h]                                                 ; +0xd3, 0x18000c573\nmov     rsp, r11                                                       ; +0xd7, 0x18000c577\npop     rdi                                                            ; +0xda, 0x18000c57a\nretn                                                                   ; +0xdb, 0x18000c57b", "xrefs": ["FMOD_ChannelGroup_IsPlaying @ 0x1800c517c", "FMOD_Channel_IsPlaying @ 0x1800c575c", "sub_1800CB310 @ 0x1800cb375", "<???> @ 0x180194348", "<???> @ 0x1801f6888"], "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"}