{"type": "func", "start": 6443241248, "end": 6443241293, "name": "FMOD_OS_File_Seek", "pseudocode": "// \n// FMOD_OS_File_Seek from 0x1800c0f20 to 0x1800c0f4d (45 bytes)\n// \n// 5 xrefs:\n// > sub_18003B250 @ 0x18003b3e2\n// > sub_1800B4270 @ 0x1800b4277\n// > sub_1801146F0 @ 0x18011485d\n// > <???> @ 0x180194348\n// > <???> @ 0x1801fdb60\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 10:54:03 +0000\n// \n\n__int64 __fastcall FMOD_OS_File_Seek(void *a1, LONG a2)\n{\n  unsigned int v2; // ebx\n  LONG DistanceToMoveHigh; // [rsp+40h] [rbp+18h] BYREF\n\n  v2 = 0;\n  DistanceToMoveHigh = 0;\n  if ( SetFilePointer(a1, a2, &DistanceToMoveHigh, 0) == -1 )\n    return 13;\n  return v2;\n}", "assembly": "; \n; FMOD_OS_File_Seek from 0x1800c0f20 to 0x1800c0f4d (45 bytes)\n; \n; 5 xrefs:\n; > sub_18003B250 @ 0x18003b3e2\n; > sub_1800B4270 @ 0x1800b4277\n; > sub_1801146F0 @ 0x18011485d\n; > <???> @ 0x180194348\n; > <???> @ 0x1801fdb60\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 10:54:03 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800c0f20\nsub     rsp, 20h                                                       ; +0x2, 0x1800c0f22\nxor     ebx, ebx                                                       ; +0x6, 0x1800c0f26\nlea     r8, [rsp+28h+DistanceToMoveHigh]; lpDistanceToMoveHigh         ; +0x8, 0x1800c0f28\nxor     r9d, r9d; dwMoveMethod                                         ; +0xd, 0x1800c0f2d\nmov     [rsp+28h+DistanceToMoveHigh], ebx                              ; +0x10, 0x1800c0f30\ncall    cs:SetFilePointer                                              ; +0x14, 0x1800c0f34\ncmp     eax, 0FFFFFFFFh                                                ; +0x1a, 0x1800c0f3a\nmov     ecx, 0Dh                                                       ; +0x1d, 0x1800c0f3d\ncmovz   ebx, ecx                                                       ; +0x22, 0x1800c0f42\nmov     eax, ebx                                                       ; +0x25, 0x1800c0f45\nadd     rsp, 20h                                                       ; +0x27, 0x1800c0f47\npop     rbx                                                            ; +0x2b, 0x1800c0f4b\nretn                                                                   ; +0x2c, 0x1800c0f4c", "xrefs": ["sub_18003B250 @ 0x18003b3e2", "sub_1800B4270 @ 0x1800b4277", "sub_1801146F0 @ 0x18011485d", "<???> @ 0x180194348", "<???> @ 0x1801fdb60"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}