{"type": "func", "start": 6442455168, "end": 6442455244, "name": "sub_180001080", "pseudocode": "// \n// sub_180001080 from 0x180001080 to 0x1800010cc (76 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x1801444b8\n// > <???> @ 0x18018b488\n// > <???> @ 0x18018b958\n// > <???> @ 0x1801f6018\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_180001080())(int, int, int, int, int, int)\n{\n  __int64 (__fastcall **result)(int, int, int, int, int, int); // rax\n  __int64 (__fastcall **v1)(int, int, int, int, int, int); // rcx\n\n  if ( (unsigned int)sub_1800C0A10(1) )\n  {\n    qword_1801D2560 = (__int64)&off_1801AC5E0;\n    return &off_1801AC5E0;\n  }\n  else\n  {\n    result = (__int64 (__fastcall **)(int, int, int, int, int, int))sub_1800C0A10(0);\n    v1 = off_1801AC5D0;\n    if ( (_DWORD)result )\n      v1 = off_1801AC5D8;\n    qword_1801D2560 = (__int64)v1;\n  }\n  return result;\n}", "assembly": "; \n; sub_180001080 from 0x180001080 to 0x1800010cc (76 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x1801444b8\n; > <???> @ 0x18018b488\n; > <???> @ 0x18018b958\n; > <???> @ 0x1801f6018\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, 0x180001080\nmov     ecx, 1                                                         ; +0x4, 0x180001084\ncall    sub_1800C0A10                                                  ; +0x9, 0x180001089\ntest    eax, eax                                                       ; +0xe, 0x18000108e\njz      short loc_1800010A5                                            ; +0x10, 0x180001090\nlea     rax, off_1801AC5E0                                             ; +0x12, 0x180001092\nmov     cs:qword_1801D2560, rax                                        ; +0x19, 0x180001099\nadd     rsp, 28h                                                       ; +0x20, 0x1800010a0\nretn                                                                   ; +0x24, 0x1800010a4\nxor     ecx, ecx                                                       ; +0x25, 0x1800010a5\ncall    sub_1800C0A10                                                  ; +0x27, 0x1800010a7\ntest    eax, eax                                                       ; +0x2c, 0x1800010ac\nlea     rdx, off_1801AC5D8                                             ; +0x2e, 0x1800010ae\nlea     rcx, off_1801AC5D0                                             ; +0x35, 0x1800010b5\ncmovnz  rcx, rdx                                                       ; +0x3c, 0x1800010bc\nmov     cs:qword_1801D2560, rcx                                        ; +0x40, 0x1800010c0\nadd     rsp, 28h                                                       ; +0x47, 0x1800010c7\nretn                                                                   ; +0x4b, 0x1800010cb", "xrefs": ["<???> @ 0x1801444b8", "<???> @ 0x18018b488", "<???> @ 0x18018b958", "<???> @ 0x1801f6018"], "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"}