{"type": "func", "start": 6443492096, "end": 6443492273, "name": "FMOD::SystemI::createMemoryFile", "pseudocode": "// \n// FMOD::SystemI::createMemoryFile from 0x1800fe300 to 0x1800fe3b1 (177 bytes)\n// \n// 3 xrefs:\n// > sub_1800FE610 @ 0x1800fe798\n// > <???> @ 0x180194348\n// > <???> @ 0x180201070\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::SystemI::createMemoryFile(__int64 a1, __int64 *a2)\n{\n  void *v4; // rax\n  __int64 v5; // rbx\n\n  v4 = sub_1800B6530(\n         *((_QWORD *)off_1801AED20 + 52),\n         512,\n         \"C:\\\\buildagent1\\\\work\\\\570ad728b1678096\\\\core_api\\\\src\\\\fmod_systemi_sound.cpp\",\n         482,\n         0,\n         0,\n         1);\n  v5 = (__int64)v4;\n  if ( !v4 )\n    return 38;\n  sub_1800B2170((__int64)v4);\n  *(_DWORD *)(v5 + 56) = 1;\n  *(_QWORD *)v5 = off_180167130;\n  *(_DWORD *)(v5 + 496) = 0;\n  *(_QWORD *)(v5 + 504) = 0;\n  sub_1800B4280(v5, a1, 0, 0, 0);\n  *a2 = v5;\n  return 0;\n}", "assembly": "; \n; FMOD::SystemI::createMemoryFile from 0x1800fe300 to 0x1800fe3b1 (177 bytes)\n; \n; 3 xrefs:\n; > sub_1800FE610 @ 0x1800fe798\n; > <???> @ 0x180194348\n; > <???> @ 0x180201070\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_0], rbx                                               ; +0x0, 0x1800fe300\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x1800fe305\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x1800fe30a\npush    rdi                                                            ; +0xf, 0x1800fe30f\nsub     rsp, 40h                                                       ; +0x10, 0x1800fe310\nmov     rsi, rcx                                                       ; +0x14, 0x1800fe314\nmov     [rsp+48h+var_18], 1                                            ; +0x17, 0x1800fe317\nmov     rcx, cs:off_1801AED20                                          ; +0x1c, 0x1800fe31c\nlea     r8, aCBuildagent1Wo_75; \"C:\\\\buildagent1\\\\work\\\\570ad728b1678096\"... ; +0x23, 0x1800fe323\nmov     r9d, 1E2h                                                      ; +0x2a, 0x1800fe32a\nmov     [rsp+48h+var_20], 0                                            ; +0x30, 0x1800fe330\nmov     rdi, rdx                                                       ; +0x35, 0x1800fe335\nxor     ebp, ebp                                                       ; +0x38, 0x1800fe338\nmov     dword ptr [rsp+48h+var_28], ebp                                ; +0x3a, 0x1800fe33a\nmov     rcx, [rcx+1A0h]                                                ; +0x3e, 0x1800fe33e\nlea     edx, [r9+1Eh]                                                  ; +0x45, 0x1800fe345\ncall    sub_1800B6530                                                  ; +0x49, 0x1800fe349\nmov     rbx, rax                                                       ; +0x4e, 0x1800fe34e\ntest    rax, rax                                                       ; +0x51, 0x1800fe351\njnz     short loc_1800FE35B                                            ; +0x54, 0x1800fe354\nlea     eax, [rbp+26h]                                                 ; +0x56, 0x1800fe356\njmp     short loc_1800FE39C                                            ; +0x59, 0x1800fe359\nmov     rcx, rbx                                                       ; +0x5b, 0x1800fe35b\ncall    sub_1800B2170                                                  ; +0x5e, 0x1800fe35e\nlea     rax, off_180167130                                             ; +0x63, 0x1800fe363\nmov     dword ptr [rbx+38h], 1                                         ; +0x6a, 0x1800fe36a\nxor     r9d, r9d                                                       ; +0x71, 0x1800fe371\nmov     [rbx], rax                                                     ; +0x74, 0x1800fe374\nxor     r8d, r8d                                                       ; +0x77, 0x1800fe377\nmov     [rbx+1F0h], ebp                                                ; +0x7a, 0x1800fe37a\nmov     rdx, rsi                                                       ; +0x80, 0x1800fe380\nmov     [rbx+1F8h], rbp                                                ; +0x83, 0x1800fe383\nmov     rcx, rbx                                                       ; +0x8a, 0x1800fe38a\nmov     [rsp+48h+var_28], rbp                                          ; +0x8d, 0x1800fe38d\ncall    sub_1800B4280                                                  ; +0x92, 0x1800fe392\nxor     eax, eax                                                       ; +0x97, 0x1800fe397\nmov     [rdi], rbx                                                     ; +0x99, 0x1800fe399\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x9c, 0x1800fe39c\nmov     rbp, [rsp+48h+arg_8]                                           ; +0xa1, 0x1800fe3a1\nmov     rsi, [rsp+48h+arg_10]                                          ; +0xa6, 0x1800fe3a6\nadd     rsp, 40h                                                       ; +0xab, 0x1800fe3ab\npop     rdi                                                            ; +0xaf, 0x1800fe3af\nretn                                                                   ; +0xb0, 0x1800fe3b0", "xrefs": ["sub_1800FE610 @ 0x1800fe798", "<???> @ 0x180194348", "<???> @ 0x180201070"], "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"}