{"type": "func", "start": 6443169472, "end": 6443169775, "name": "FMOD::System::isRecording", "pseudocode": "// \n// FMOD::System::isRecording from 0x1800af6c0 to 0x1800af7ef (303 bytes)\n// \n// 5 xrefs:\n// > FMOD_System_IsRecording @ 0x1800c6d0c\n// > <???> @ 0x180188eb0\n// > <???> @ 0x180188ee4\n// > <???> @ 0x180194348\n// > <???> @ 0x1801fc7d4\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::System::isRecording(__int64 a1, unsigned int a2, __int64 a3)\n{\n  int v5; // r14d\n  unsigned int v6; // esi\n  int v7; // ebx\n  int v8; // eax\n  __int64 v10; // [rsp+30h] [rbp-148h] BYREF\n  __int64 v11; // [rsp+38h] [rbp-140h] BYREF\n  _BYTE v12[256]; // [rsp+40h] [rbp-138h] BYREF\n\n  v10 = 0;\n  v5 = a1;\n  v6 = FMOD::SystemI::validate(a1, &v11, &v10);\n  if ( (v6 || (v6 = sub_1800E5AC0(v11, a2, a3)) != 0) && *((char *)off_1801AED20 + 16) < 0 )\n  {\n    v7 = sub_1800F2EC0(v12, 256, a2);\n    v8 = sub_1800F2F70(&v12[v7]);\n    sub_1800F32C0(&v12[v8 + v7], (unsigned int)(256 - (v8 + v7)), a3);\n    sub_1800B20E0(v6, 1, v5, (unsigned int)\"System::isRecording\", (__int64)v12);\n  }\n  if ( v10 )\n    sub_180102320(v10);\n  return v6;\n}", "assembly": "; \n; FMOD::System::isRecording from 0x1800af6c0 to 0x1800af7ef (303 bytes)\n; \n; 5 xrefs:\n; > FMOD_System_IsRecording @ 0x1800c6d0c\n; > <???> @ 0x180188eb0\n; > <???> @ 0x180188ee4\n; > <???> @ 0x180194348\n; > <???> @ 0x1801fc7d4\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     r11, rsp                                                       ; +0x0, 0x1800af6c0\npush    rsi                                                            ; +0x3, 0x1800af6c3\nsub     rsp, 170h                                                      ; +0x4, 0x1800af6c4\nmov     rax, cs:__security_cookie                                      ; +0xb, 0x1800af6cb\nxor     rax, rsp                                                       ; +0x12, 0x1800af6d2\nmov     [rsp+178h+var_38], rax                                         ; +0x15, 0x1800af6d5\nmov     [r11-10h], rbx                                                 ; +0x1d, 0x1800af6dd\nmov     ebx, edx                                                       ; +0x21, 0x1800af6e1\nmov     [r11-18h], rbp                                                 ; +0x23, 0x1800af6e3\nlea     rdx, [rsp+178h+var_140]                                        ; +0x27, 0x1800af6e7\nmov     rbp, r8                                                        ; +0x2c, 0x1800af6ec\nmov     [r11-28h], r14                                                 ; +0x2f, 0x1800af6ef\nlea     r8, [rsp+178h+var_148]                                         ; +0x33, 0x1800af6f3\nmov     [rsp+178h+var_148], 0                                          ; +0x38, 0x1800af6f8\nmov     r14, rcx                                                       ; +0x41, 0x1800af701\ncall    ?validate@SystemI@FMOD@@SA?AW4FMOD_RESULT@@PEAVSystem@2@PEAPEAV12@PEAVSystemLockScope@2@@Z; FMOD::SystemI::validate(FMOD::System *,FMOD::SystemI * *,FMOD::SystemLockScope *) ; +0x44, 0x1800af704\nmov     esi, eax                                                       ; +0x49, 0x1800af709\ntest    eax, eax                                                       ; +0x4b, 0x1800af70b\njnz     short loc_1800AF728                                            ; +0x4d, 0x1800af70d\nmov     rcx, [rsp+178h+var_140]                                        ; +0x4f, 0x1800af70f\nmov     r8, rbp                                                        ; +0x54, 0x1800af714\nmov     edx, ebx                                                       ; +0x57, 0x1800af717\ncall    sub_1800E5AC0                                                  ; +0x59, 0x1800af719\nmov     esi, eax                                                       ; +0x5e, 0x1800af71e\ntest    eax, eax                                                       ; +0x60, 0x1800af720\njz      loc_1800AF7AD                                                  ; +0x62, 0x1800af722\nmov     rax, cs:off_1801AED20                                          ; +0x68, 0x1800af728\ntest    byte ptr [rax+10h], 80h                                        ; +0x6f, 0x1800af72f\njz      short loc_1800AF7AD                                            ; +0x73, 0x1800af733\nmov     [rsp+178h+var_20], rdi                                         ; +0x75, 0x1800af735\nlea     rcx, [rsp+178h+var_138]                                        ; +0x7d, 0x1800af73d\nmov     edi, 100h                                                      ; +0x82, 0x1800af742\nmov     r8d, ebx                                                       ; +0x87, 0x1800af747\nmov     edx, edi                                                       ; +0x8a, 0x1800af74a\ncall    sub_1800F2EC0                                                  ; +0x8c, 0x1800af74c\nmovsxd  rbx, eax                                                       ; +0x91, 0x1800af751\nlea     rcx, [rsp+178h+var_138]                                        ; +0x94, 0x1800af754\nmov     edx, edi                                                       ; +0x99, 0x1800af759\nlea     r8, asc_18014572C; \", \"                                        ; +0x9b, 0x1800af75b\nsub     edx, ebx                                                       ; +0xa2, 0x1800af762\nadd     rcx, rbx; void *                                               ; +0xa4, 0x1800af764\ncall    sub_1800F2F70                                                  ; +0xa7, 0x1800af767\nadd     ebx, eax                                                       ; +0xac, 0x1800af76c\nlea     rcx, [rsp+178h+var_138]                                        ; +0xae, 0x1800af76e\nmovsxd  rax, ebx                                                       ; +0xb3, 0x1800af773\nsub     edi, ebx                                                       ; +0xb6, 0x1800af776\nadd     rcx, rax                                                       ; +0xb8, 0x1800af778\nmov     edx, edi                                                       ; +0xbb, 0x1800af77b\nmov     r8, rbp                                                        ; +0xbd, 0x1800af77d\ncall    sub_1800F32C0                                                  ; +0xc0, 0x1800af780\nlea     rax, [rsp+178h+var_138]                                        ; +0xc5, 0x1800af785\nmov     r8, r14                                                        ; +0xca, 0x1800af78a\nlea     r9, aSystemIsrecord; \"System::isRecording\"                     ; +0xcd, 0x1800af78d\nmov     [rsp+178h+var_158], rax                                        ; +0xd4, 0x1800af794\nmov     edx, 1                                                         ; +0xd9, 0x1800af799\nmov     ecx, esi                                                       ; +0xde, 0x1800af79e\ncall    sub_1800B20E0                                                  ; +0xe0, 0x1800af7a0\nmov     rdi, [rsp+178h+var_20]                                         ; +0xe5, 0x1800af7a5\nmov     rcx, [rsp+178h+var_148]                                        ; +0xed, 0x1800af7ad\nmov     r14, [rsp+178h+var_28]                                         ; +0xf2, 0x1800af7b2\nmov     rbp, [rsp+178h+var_18]                                         ; +0xfa, 0x1800af7ba\nmov     rbx, [rsp+178h+var_10]                                         ; +0x102, 0x1800af7c2\ntest    rcx, rcx                                                       ; +0x10a, 0x1800af7ca\njz      short loc_1800AF7D4                                            ; +0x10d, 0x1800af7cd\ncall    sub_180102320                                                  ; +0x10f, 0x1800af7cf\nmov     eax, esi                                                       ; +0x114, 0x1800af7d4\nmov     rcx, [rsp+178h+var_38]                                         ; +0x116, 0x1800af7d6\nxor     rcx, rsp; StackCookie                                          ; +0x11e, 0x1800af7de\ncall    __security_check_cookie                                        ; +0x121, 0x1800af7e1\nadd     rsp, 170h                                                      ; +0x126, 0x1800af7e6\npop     rsi                                                            ; +0x12d, 0x1800af7ed\nretn                                                                   ; +0x12e, 0x1800af7ee", "xrefs": ["FMOD_System_IsRecording @ 0x1800c6d0c", "<???> @ 0x180188eb0", "<???> @ 0x180188ee4", "<???> @ 0x180194348", "<???> @ 0x1801fc7d4"], "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"}