{"type": "func", "start": 6443530816, "end": 6443531012, "name": "sub_180107A40", "pseudocode": "// \n// sub_180107A40 from 0x180107a40 to 0x180107b04 (196 bytes)\n// \n// 2 xrefs:\n// > sub_1800E1F40 @ 0x1800e205b\n// > <???> @ 0x1802015bc\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 *sub_180107A40()\n{\n  dword_1801F09D0 = 1;\n  qword_1801F0A24 = 0;\n  *(_OWORD *)xmmword_1801F09D4 = 0;\n  dword_1801F0A2C = 0;\n  *(_OWORD *)xmmword_1801F09E4 = 0;\n  xmmword_1801F09F4 = 0;\n  xmmword_1801F0A04 = 0;\n  xmmword_1801F0A14 = 0;\n  strncpy(xmmword_1801F09D4, \"Channel Count\", 0xFu);\n  strncpy(xmmword_1801F09E4, &byte_18014572F, 0xFu);\n  *(_QWORD *)((char *)&xmmword_1801F09F4 + 4) = \"Device channel count. Default = 2\";\n  *(__m128i *)((char *)&xmmword_1801F09F4 + 12) = _mm_load_si128((const __m128i *)&xmmword_18016EF50);\n  qword_1801F0A30 = (__int64)&unk_1801B0320;\n  *(_QWORD *)((char *)&xmmword_1801F0A04 + 12) = 0;\n  dword_1801F0A48 = 0;\n  dword_1801F0A40 = 56;\n  return &qword_1801F0A30;\n}", "assembly": "; \n; sub_180107A40 from 0x180107a40 to 0x180107b04 (196 bytes)\n; \n; 2 xrefs:\n; > sub_1800E1F40 @ 0x1800e205b\n; > <???> @ 0x1802015bc\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, 0x180107a40\nxorps   xmm0, xmm0                                                     ; +0x4, 0x180107a44\nmov     cs:dword_1801F09D0, 1                                          ; +0x7, 0x180107a47\nxor     eax, eax                                                       ; +0x11, 0x180107a51\nlea     rdx, aChannelCount; \"Channel Count\"                            ; +0x13, 0x180107a53\nlea     rcx, xmmword_1801F09D4; Destination                            ; +0x1a, 0x180107a5a\nmov     cs:qword_1801F0A24, rax                                        ; +0x21, 0x180107a61\nmovups  cs:xmmword_1801F09D4, xmm0                                     ; +0x28, 0x180107a68\nmov     cs:dword_1801F0A2C, eax                                        ; +0x2f, 0x180107a6f\nlea     r8d, [rax+0Fh]; Count                                          ; +0x35, 0x180107a75\nmovups  cs:xmmword_1801F09E4, xmm0                                     ; +0x39, 0x180107a79\nmovups  cs:xmmword_1801F09F4, xmm0                                     ; +0x40, 0x180107a80\nmovups  cs:xmmword_1801F0A04, xmm0                                     ; +0x47, 0x180107a87\nmovups  cs:xmmword_1801F0A14, xmm0                                     ; +0x4e, 0x180107a8e\ncall    strncpy                                                        ; +0x55, 0x180107a95\nmov     r8d, 0Fh; Count                                                ; +0x5a, 0x180107a9a\nlea     rdx, byte_18014572F; Source                                    ; +0x60, 0x180107aa0\nlea     rcx, xmmword_1801F09E4; Destination                            ; +0x67, 0x180107aa7\ncall    strncpy                                                        ; +0x6e, 0x180107aae\nmovdqa  xmm0, cs:xmmword_18016EF50                                     ; +0x73, 0x180107ab3\nlea     rax, aDeviceChannelC; \"Device channel count. Default = 2\"      ; +0x7b, 0x180107abb\nmov     qword ptr cs:xmmword_1801F09F4+4, rax                          ; +0x82, 0x180107ac2\nxor     ecx, ecx                                                       ; +0x89, 0x180107ac9\nlea     rax, unk_1801B0320                                             ; +0x8b, 0x180107acb\nmovdqa  cs:xmmword_1801F09F4+0Ch, xmm0                                 ; +0x92, 0x180107ad2\nmov     cs:qword_1801F0A30, rax                                        ; +0x9a, 0x180107ada\nlea     rax, qword_1801F0A30                                           ; +0xa1, 0x180107ae1\nmov     qword ptr cs:xmmword_1801F0A04+0Ch, rcx                        ; +0xa8, 0x180107ae8\nmov     cs:dword_1801F0A48, ecx                                        ; +0xaf, 0x180107aef\nmov     cs:dword_1801F0A40, 38h ; '8'                                  ; +0xb5, 0x180107af5\nadd     rsp, 28h                                                       ; +0xbf, 0x180107aff\nretn                                                                   ; +0xc3, 0x180107b03", "xrefs": ["sub_1800E1F40 @ 0x1800e205b", "<???> @ 0x1802015bc"], "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"}