{"type": "func", "start": 6443157024, "end": 6443157237, "name": "FMOD::System::createStream", "pseudocode": "// \n// FMOD::System::createStream from 0x1800ac620 to 0x1800ac6f5 (213 bytes)\n// \n// 3 xrefs:\n// > FMOD_System_CreateStream @ 0x1800c6a1b\n// > <???> @ 0x180194348\n// > <???> @ 0x1801fc1f8\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::createStream(__int64 a1, __int64 a2, unsigned int a3, __int64 a4, __int64 a5)\n{\n  int v8; // r15d\n  unsigned int v9; // ebx\n  __int64 result; // rax\n  __int64 v11; // [rsp+30h] [rbp-158h] BYREF\n  char v12[256]; // [rsp+40h] [rbp-148h] BYREF\n\n  v8 = a1;\n  v9 = FMOD::SystemI::validate(a1, &v11, 0);\n  if ( v9 || (result = sub_1800E3910(v11, a2, a3, a4, a5), (v9 = result) != 0) )\n  {\n    if ( *((char *)off_1801AED20 + 16) < 0 )\n    {\n      sub_1800AB7E0(v12, 256, a2, a3, a4, a5);\n      sub_1800B20E0(v9, 1, v8, (unsigned int)\"System::createStream\", (__int64)v12);\n    }\n    return v9;\n  }\n  return result;\n}", "assembly": "; \n; FMOD::System::createStream from 0x1800ac620 to 0x1800ac6f5 (213 bytes)\n; \n; 3 xrefs:\n; > FMOD_System_CreateStream @ 0x1800c6a1b\n; > <???> @ 0x180194348\n; > <???> @ 0x1801fc1f8\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    rbx                                                            ; +0x0, 0x1800ac620\npush    rbp                                                            ; +0x2, 0x1800ac622\npush    rsi                                                            ; +0x3, 0x1800ac623\npush    rdi                                                            ; +0x4, 0x1800ac624\npush    r14                                                            ; +0x5, 0x1800ac625\npush    r15                                                            ; +0x7, 0x1800ac627\nsub     rsp, 158h                                                      ; +0x9, 0x1800ac629\nmov     rax, cs:__security_cookie                                      ; +0x10, 0x1800ac630\nxor     rax, rsp                                                       ; +0x17, 0x1800ac637\nmov     [rsp+188h+var_48], rax                                         ; +0x1a, 0x1800ac63a\nmov     r14, [rsp+188h+arg_20]                                         ; +0x22, 0x1800ac642\nmov     esi, r8d                                                       ; +0x2a, 0x1800ac64a\nmov     rdi, rdx                                                       ; +0x2d, 0x1800ac64d\nxor     r8d, r8d                                                       ; +0x30, 0x1800ac650\nlea     rdx, [rsp+188h+var_158]                                        ; +0x33, 0x1800ac653\nmov     rbp, r9                                                        ; +0x38, 0x1800ac658\nmov     r15, rcx                                                       ; +0x3b, 0x1800ac65b\ncall    ?validate@SystemI@FMOD@@SA?AW4FMOD_RESULT@@PEAVSystem@2@PEAPEAV12@PEAVSystemLockScope@2@@Z; FMOD::SystemI::validate(FMOD::System *,FMOD::SystemI * *,FMOD::SystemLockScope *) ; +0x3e, 0x1800ac65e\nmov     ebx, eax                                                       ; +0x43, 0x1800ac663\ntest    eax, eax                                                       ; +0x45, 0x1800ac665\njnz     short loc_1800AC687                                            ; +0x47, 0x1800ac667\nmov     rcx, [rsp+188h+var_158]                                        ; +0x49, 0x1800ac669\nmov     r9, rbp                                                        ; +0x4e, 0x1800ac66e\nmov     r8d, esi                                                       ; +0x51, 0x1800ac671\nmov     [rsp+188h+var_168], r14                                        ; +0x54, 0x1800ac674\nmov     rdx, rdi                                                       ; +0x59, 0x1800ac679\ncall    sub_1800E3910                                                  ; +0x5c, 0x1800ac67c\nmov     ebx, eax                                                       ; +0x61, 0x1800ac681\ntest    eax, eax                                                       ; +0x63, 0x1800ac683\njz      short loc_1800AC6D5                                            ; +0x65, 0x1800ac685\nmov     rax, cs:off_1801AED20                                          ; +0x67, 0x1800ac687\ntest    byte ptr [rax+10h], 80h                                        ; +0x6e, 0x1800ac68e\njz      short loc_1800AC6D3                                            ; +0x72, 0x1800ac692\nmov     [rsp+188h+var_160], r14                                        ; +0x74, 0x1800ac694\nlea     rcx, [rsp+188h+var_148]                                        ; +0x79, 0x1800ac699\nmov     r9d, esi                                                       ; +0x7e, 0x1800ac69e\nmov     [rsp+188h+var_168], rbp                                        ; +0x81, 0x1800ac6a1\nmov     r8, rdi                                                        ; +0x86, 0x1800ac6a6\nmov     edx, 100h                                                      ; +0x89, 0x1800ac6a9\ncall    sub_1800AB7E0                                                  ; +0x8e, 0x1800ac6ae\nlea     rax, [rsp+188h+var_148]                                        ; +0x93, 0x1800ac6b3\nmov     r8, r15                                                        ; +0x98, 0x1800ac6b8\nlea     r9, aSystemCreatest; \"System::createStream\"                    ; +0x9b, 0x1800ac6bb\nmov     [rsp+188h+var_168], rax                                        ; +0xa2, 0x1800ac6c2\nmov     edx, 1                                                         ; +0xa7, 0x1800ac6c7\nmov     ecx, ebx                                                       ; +0xac, 0x1800ac6cc\ncall    sub_1800B20E0                                                  ; +0xae, 0x1800ac6ce\nmov     eax, ebx                                                       ; +0xb3, 0x1800ac6d3\nmov     rcx, [rsp+188h+var_48]                                         ; +0xb5, 0x1800ac6d5\nxor     rcx, rsp; StackCookie                                          ; +0xbd, 0x1800ac6dd\ncall    __security_check_cookie                                        ; +0xc0, 0x1800ac6e0\nadd     rsp, 158h                                                      ; +0xc5, 0x1800ac6e5\npop     r15                                                            ; +0xcc, 0x1800ac6ec\npop     r14                                                            ; +0xce, 0x1800ac6ee\npop     rdi                                                            ; +0xd0, 0x1800ac6f0\npop     rsi                                                            ; +0xd1, 0x1800ac6f1\npop     rbp                                                            ; +0xd2, 0x1800ac6f2\npop     rbx                                                            ; +0xd3, 0x1800ac6f3\nretn                                                                   ; +0xd4, 0x1800ac6f4", "xrefs": ["FMOD_System_CreateStream @ 0x1800c6a1b", "<???> @ 0x180194348", "<???> @ 0x1801fc1f8"], "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"}