{"type": "func", "start": 6442885264, "end": 6442885336, "name": "sub_18006A090", "pseudocode": "// \n// sub_18006A090 from 0x18006a090 to 0x18006a0d8 (72 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801acc18\n// > <???> @ 0x1801f95e8\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_18006A090(_QWORD *a1, int a2, _QWORD *a3, _DWORD *a4, __int64 a5)\n{\n  if ( a2 != 2 )\n    return 31;\n  *a3 = *a1 + 824LL;\n  *a4 = 264;\n  if ( a5 )\n    sub_1800B7CA0(a5, 32, \"spectrum data\");\n  return 0;\n}", "assembly": "; \n; sub_18006A090 from 0x18006a090 to 0x18006a0d8 (72 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801acc18\n; > <???> @ 0x1801f95e8\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\nsub     rsp, 28h                                                       ; +0x0, 0x18006a090\ncmp     edx, 2                                                         ; +0x4, 0x18006a094\njz      short loc_18006A0A3                                            ; +0x7, 0x18006a097\nmov     eax, 1Fh                                                       ; +0x9, 0x18006a099\nadd     rsp, 28h                                                       ; +0xe, 0x18006a09e\nretn                                                                   ; +0x12, 0x18006a0a2\nmov     rax, [rcx]                                                     ; +0x13, 0x18006a0a3\nmov     rcx, [rsp+28h+arg_20]                                          ; +0x16, 0x18006a0a6\nadd     rax, 338h                                                      ; +0x1b, 0x18006a0ab\nmov     [r8], rax                                                      ; +0x21, 0x18006a0b1\nmov     dword ptr [r9], 108h                                           ; +0x24, 0x18006a0b4\ntest    rcx, rcx                                                       ; +0x2b, 0x18006a0bb\njz      short loc_18006A0D1                                            ; +0x2e, 0x18006a0be\nlea     r8, aSpectrumData; \"spectrum data\"                             ; +0x30, 0x18006a0c0\nmov     edx, 20h ; ' '                                                 ; +0x37, 0x18006a0c7\ncall    sub_1800B7CA0                                                  ; +0x3c, 0x18006a0cc\nxor     eax, eax                                                       ; +0x41, 0x18006a0d1\nadd     rsp, 28h                                                       ; +0x43, 0x18006a0d3\nretn                                                                   ; +0x47, 0x18006a0d7", "xrefs": ["<???> @ 0x1801acc18", "<???> @ 0x1801f95e8"], "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"}