{"type": "func", "start": 6443501280, "end": 6443501365, "name": "sub_1801006E0", "pseudocode": "// \n// sub_1801006E0 from 0x1801006e0 to 0x180100735 (85 bytes)\n// \n// 2 xrefs:\n// > sub_1800FE610 @ 0x1800ff638\n// > sub_1800FE610 @ 0x1800ffecc\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 10:54:29 +0000\n// \n\n__int64 __fastcall sub_1801006E0(__int64 a1)\n{\n  __int64 result; // rax\n\n  switch ( *(_DWORD *)(*(_QWORD *)(a1 + 376) + 44LL) )\n  {\n    case 2:\n    case 7:\n      result = 15;\n      break;\n    case 0xA:\n      result = 17;\n      break;\n    case 0xB:\n      result = 9;\n      break;\n    case 0xD:\n      result = 19;\n      break;\n    case 0xF:\n      result = 20;\n      break;\n    case 0x10:\n      result = 23;\n      break;\n    case 0x11:\n      result = 24;\n      break;\n    default:\n      result = 0;\n      break;\n  }\n  return result;\n}", "assembly": "; \n; sub_1801006E0 from 0x1801006e0 to 0x180100735 (85 bytes)\n; \n; 2 xrefs:\n; > sub_1800FE610 @ 0x1800ff638\n; > sub_1800FE610 @ 0x1800ffecc\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 10:54:29 +0000\n; \nmov     rax, [rcx+178h]                                                ; +0x0, 0x1801006e0\nmov     ecx, [rax+2Ch]                                                 ; +0x7, 0x1801006e7\nadd     ecx, 0FFFFFFFEh; switch 16 cases                               ; +0xa, 0x1801006ea\ncmp     ecx, 0Fh                                                       ; +0xd, 0x1801006ed\nja      short def_180100706; jumptable 0000000180100706 default case, cases 3-6,8,9,12,14 ; +0x10, 0x1801006f0\nmovsxd  rax, ecx                                                       ; +0x12, 0x1801006f2\nlea     rdx, cs:180000000h                                             ; +0x15, 0x1801006f5\nmov     ecx, ds:(jpt_180100706 - 180000000h)[rdx+rax*4]                ; +0x1c, 0x1801006fc\nadd     rcx, rdx                                                       ; +0x23, 0x180100703\njmp     rcx; switch jump                                               ; +0x26, 0x180100706\nmov     eax, 9; jumptable 0000000180100706 case 11                     ; +0x28, 0x180100708\nretn                                                                   ; +0x2d, 0x18010070d\nmov     eax, 11h; jumptable 0000000180100706 case 10                   ; +0x2e, 0x18010070e\nretn                                                                   ; +0x33, 0x180100713\nmov     eax, 13h; jumptable 0000000180100706 case 13                   ; +0x34, 0x180100714\nretn                                                                   ; +0x39, 0x180100719\nmov     eax, 17h; jumptable 0000000180100706 case 16                   ; +0x3a, 0x18010071a\nretn                                                                   ; +0x3f, 0x18010071f\nmov     eax, 14h; jumptable 0000000180100706 case 15                   ; +0x40, 0x180100720\nretn                                                                   ; +0x45, 0x180100725\nmov     eax, 18h; jumptable 0000000180100706 case 17                   ; +0x46, 0x180100726\nretn                                                                   ; +0x4b, 0x18010072b\nmov     eax, 0Fh; jumptable 0000000180100706 cases 2,7                 ; +0x4c, 0x18010072c\nretn                                                                   ; +0x51, 0x180100731\nxor     eax, eax; jumptable 0000000180100706 default case, cases 3-6,8,9,12,14 ; +0x52, 0x180100732\nretn                                                                   ; +0x54, 0x180100734", "xrefs": ["sub_1800FE610 @ 0x1800ff638", "sub_1800FE610 @ 0x1800ffecc"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}