{"type": "func", "start": 6442731248, "end": 6442731424, "name": "sub_1800446F0", "pseudocode": "// \n// sub_1800446F0 from 0x1800446f0 to 0x1800447a0 (176 bytes)\n// \n// 2 xrefs:\n// > sub_180015B40 @ 0x180015cf8\n// > <???> @ 0x1801f816c\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:53:12 +0000\n// \n\n__int64 __fastcall sub_1800446F0(__int64 a1, unsigned int **a2)\n{\n  unsigned int v4; // r8d\n  int v5; // eax\n\n  v4 = **a2;\n  while ( 2 )\n  {\n    switch ( v4 )\n    {\n      case 0u:\n        v5 = sub_180044980(a1, a2);\n        goto LABEL_5;\n      case 1u:\n        v5 = sub_180045B60(a1, a2);\nLABEL_5:\n        if ( !v5 )\n          return 0;\n        v4 = **a2;\n        if ( v4 > 7 )\n          return 0;\n        continue;\n      case 2u:\n      case 3u:\n      case 4u:\n      case 7u:\n        return 1;\n      default:\n        return 0;\n    }\n  }\n}", "assembly": "; \n; sub_1800446F0 from 0x1800446f0 to 0x1800447a0 (176 bytes)\n; \n; 2 xrefs:\n; > sub_180015B40 @ 0x180015cf8\n; > <???> @ 0x1801f816c\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:53:12 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800446f0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1800446f5\npush    rdi                                                            ; +0xa, 0x1800446fa\nsub     rsp, 20h                                                       ; +0xb, 0x1800446fb\nmov     rax, [rdx]                                                     ; +0xf, 0x1800446ff\nmov     rbx, rdx                                                       ; +0x12, 0x180044702\nmov     rdi, rcx                                                       ; +0x15, 0x180044705\nmov     r8d, [rax]                                                     ; +0x18, 0x180044708\ncmp     r8d, 7; switch 8 cases                                         ; +0x1b, 0x18004470b\nja      short def_18004472E; jumptable 000000018004472E default case, cases 5,6 ; +0x1f, 0x18004470f\nlea     rsi, cs:180000000h                                             ; +0x21, 0x180044711\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x28, 0x180044718\nmovsxd  rax, r8d                                                       ; +0x30, 0x180044720\nmov     r8d, ds:(jpt_18004472E - 180000000h)[rsi+rax*4]                ; +0x33, 0x180044723\nadd     r8, rsi                                                        ; +0x3b, 0x18004472b\njmp     r8; switch jump                                                ; +0x3e, 0x18004472e\nmov     rdx, rbx; jumptable 000000018004472E case 0                    ; +0x41, 0x180044731\nmov     rcx, rdi                                                       ; +0x44, 0x180044734\ncall    sub_180044980                                                  ; +0x47, 0x180044737\njmp     short loc_180044749                                            ; +0x4c, 0x18004473c\nmov     rdx, rbx; jumptable 000000018004472E case 1                    ; +0x4e, 0x18004473e\nmov     rcx, rdi                                                       ; +0x51, 0x180044741\ncall    sub_180045B60                                                  ; +0x54, 0x180044744\ntest    eax, eax                                                       ; +0x59, 0x180044749\njz      short def_18004472E; jumptable 000000018004472E default case, cases 5,6 ; +0x5b, 0x18004474b\nmov     rax, [rbx]                                                     ; +0x5d, 0x18004474d\nmov     r8d, [rax]                                                     ; +0x60, 0x180044750\ncmp     r8d, 7                                                         ; +0x63, 0x180044753\njbe     short loc_180044720                                            ; +0x67, 0x180044757\nxor     eax, eax; jumptable 000000018004472E default case, cases 5,6   ; +0x69, 0x180044759\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x6b, 0x18004475b\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x70, 0x180044760\nadd     rsp, 20h                                                       ; +0x75, 0x180044765\npop     rdi                                                            ; +0x79, 0x180044769\nretn                                                                   ; +0x7a, 0x18004476a\nmov     rbx, [rsp+28h+arg_0]; jumptable 000000018004472E cases 2-4,7   ; +0x7b, 0x18004476b\nmov     eax, 1                                                         ; +0x80, 0x180044770\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x85, 0x180044775\nadd     rsp, 20h                                                       ; +0x8a, 0x18004477a\npop     rdi                                                            ; +0x8e, 0x18004477e\nretn                                                                   ; +0x8f, 0x18004477f\ndd offset loc_180044731 - 180000000h; jump table for switch statement  ; +0x90, 0x180044780", "xrefs": ["sub_180015B40 @ 0x180015cf8", "<???> @ 0x1801f816c"], "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"}