{"type": "func", "start": 6443469456, "end": 6443469547, "name": "sub_1800F8A90", "pseudocode": "// \n// sub_1800F8A90 from 0x1800f8a90 to 0x1800f8aeb (91 bytes)\n// \n// 1 xrefs:\n// > sub_180100EC0 @ 0x180100ef6\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 sub_1800F8A90(int a1, _DWORD *a2, _QWORD *a3, _QWORD *a4, _QWORD *a5)\n{\n  __int64 result; // rax\n\n  if ( a2 )\n  {\n    result = *((unsigned int *)&unk_18016E420 + 8 * a1);\n    *a2 = result;\n  }\n  if ( a3 )\n  {\n    result = *((_QWORD *)&unk_18016E420 + 4 * a1 + 3);\n    *a3 = result;\n  }\n  if ( a4 )\n  {\n    result = *((_QWORD *)&unk_18016E420 + 4 * a1 + 1);\n    *a4 = result;\n  }\n  if ( a5 )\n  {\n    result = *((_QWORD *)&unk_18016E420 + 4 * a1 + 2);\n    *a5 = result;\n  }\n  return result;\n}", "assembly": "; \n; sub_1800F8A90 from 0x1800f8a90 to 0x1800f8aeb (91 bytes)\n; \n; 1 xrefs:\n; > sub_180100EC0 @ 0x180100ef6\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\nmovsxd  r10, ecx                                                       ; +0x0, 0x1800f8a90\nlea     r11, unk_18016E420                                             ; +0x3, 0x1800f8a93\ntest    rdx, rdx                                                       ; +0xa, 0x1800f8a9a\njz      short loc_1800F8AAC                                            ; +0xd, 0x1800f8a9d\nmov     rax, r10                                                       ; +0xf, 0x1800f8a9f\nshl     rax, 5                                                         ; +0x12, 0x1800f8aa2\nmov     eax, [rax+r11]                                                 ; +0x16, 0x1800f8aa6\nmov     [rdx], eax                                                     ; +0x1a, 0x1800f8aaa\ntest    r8, r8                                                         ; +0x1c, 0x1800f8aac\njz      short loc_1800F8AC0                                            ; +0x1f, 0x1800f8aaf\nmov     rax, r10                                                       ; +0x21, 0x1800f8ab1\nshl     rax, 5                                                         ; +0x24, 0x1800f8ab4\nmov     rax, [rax+r11+18h]                                             ; +0x28, 0x1800f8ab8\nmov     [r8], rax                                                      ; +0x2d, 0x1800f8abd\ntest    r9, r9                                                         ; +0x30, 0x1800f8ac0\njz      short loc_1800F8AD4                                            ; +0x33, 0x1800f8ac3\nmov     rax, r10                                                       ; +0x35, 0x1800f8ac5\nshl     rax, 5                                                         ; +0x38, 0x1800f8ac8\nmov     rax, [rax+r11+8]                                               ; +0x3c, 0x1800f8acc\nmov     [r9], rax                                                      ; +0x41, 0x1800f8ad1\nmov     rcx, [rsp+arg_20]                                              ; +0x44, 0x1800f8ad4\ntest    rcx, rcx                                                       ; +0x49, 0x1800f8ad9\njz      short locret_1800F8AEA                                         ; +0x4c, 0x1800f8adc\nshl     r10, 5                                                         ; +0x4e, 0x1800f8ade\nmov     rax, [r10+r11+10h]                                             ; +0x52, 0x1800f8ae2\nmov     [rcx], rax                                                     ; +0x57, 0x1800f8ae7\nretn                                                                   ; +0x5a, 0x1800f8aea", "xrefs": ["sub_180100EC0 @ 0x180100ef6"], "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"}