{"type": "func", "start": 6442455088, "end": 6442455164, "name": "sub_180001030", "pseudocode": "// \n// sub_180001030 from 0x180001030 to 0x18000107c (76 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x1801444b0\n// > <???> @ 0x180180820\n// > <???> @ 0x180189850\n// > <???> @ 0x1801f600c\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 (__usercall **sub_180001030())@<rax>(void *Src@<rcx>, void *@<rdx>, int, int, int)\n{\n  __int64 (__usercall **result)@<rax>(void *@<rcx>, void *@<rdx>, int, int, int); // rax\n  __int64 (__usercall **v1)@<rax>(void *@<rcx>, void *@<rdx>, int, int, int); // rcx\n\n  if ( (unsigned int)sub_1800C0A10(1) )\n  {\n    qword_1801D2550 = (__int64)&off_1801AC560;\n    return &off_1801AC560;\n  }\n  else\n  {\n    result = (__int64 (__usercall **)@<rax>(void *@<rcx>, void *@<rdx>, int, int, int))sub_1800C0A10(0);\n    v1 = &off_1801AC480;\n    if ( (_DWORD)result )\n      v1 = &off_1801AC4F0;\n    qword_1801D2550 = (__int64)v1;\n  }\n  return result;\n}", "assembly": "; \n; sub_180001030 from 0x180001030 to 0x18000107c (76 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x1801444b0\n; > <???> @ 0x180180820\n; > <???> @ 0x180189850\n; > <???> @ 0x1801f600c\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, 0x180001030\nmov     ecx, 1                                                         ; +0x4, 0x180001034\ncall    sub_1800C0A10                                                  ; +0x9, 0x180001039\ntest    eax, eax                                                       ; +0xe, 0x18000103e\njz      short loc_180001055                                            ; +0x10, 0x180001040\nlea     rax, off_1801AC560                                             ; +0x12, 0x180001042\nmov     cs:qword_1801D2550, rax                                        ; +0x19, 0x180001049\nadd     rsp, 28h                                                       ; +0x20, 0x180001050\nretn                                                                   ; +0x24, 0x180001054\nxor     ecx, ecx                                                       ; +0x25, 0x180001055\ncall    sub_1800C0A10                                                  ; +0x27, 0x180001057\ntest    eax, eax                                                       ; +0x2c, 0x18000105c\nlea     rdx, off_1801AC4F0                                             ; +0x2e, 0x18000105e\nlea     rcx, off_1801AC480                                             ; +0x35, 0x180001065\ncmovnz  rcx, rdx                                                       ; +0x3c, 0x18000106c\nmov     cs:qword_1801D2550, rcx                                        ; +0x40, 0x180001070\nadd     rsp, 28h                                                       ; +0x47, 0x180001077\nretn                                                                   ; +0x4b, 0x18000107b", "xrefs": ["<???> @ 0x1801444b0", "<???> @ 0x180180820", "<???> @ 0x180189850", "<???> @ 0x1801f600c"], "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"}