{"type": "func", "start": 6443277968, "end": 6443278055, "name": "sub_1800C9E90", "pseudocode": "// \n// sub_1800C9E90 from 0x1800c9e90 to 0x1800c9ee7 (87 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18016c670\n// > <???> @ 0x1801fe418\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_1800C9E90(__int64 a1, int a2)\n{\n  unsigned int v2; // ebx\n  __int64 result; // rax\n\n  v2 = a2;\n  result = sub_1800C7B70(a1, a2);\n  if ( !(_DWORD)result )\n  {\n    result = (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 40) + 280LL))(*(_QWORD *)(a1 + 40), v2);\n    if ( !(_DWORD)result )\n    {\n      if ( (*(_DWORD *)(*(_QWORD *)(a1 + 40) + 88LL) & 0x80u) == 0 )\n        v2 &= 0xFFFFFFF8;\n      return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 192) + 192LL))(*(_QWORD *)(a1 + 192), v2);\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_1800C9E90 from 0x1800c9e90 to 0x1800c9ee7 (87 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18016c670\n; > <???> @ 0x1801fe418\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800c9e90\npush    rdi                                                            ; +0x5, 0x1800c9e95\nsub     rsp, 20h                                                       ; +0x6, 0x1800c9e96\nmov     ebx, edx                                                       ; +0xa, 0x1800c9e9a\nmov     rdi, rcx                                                       ; +0xc, 0x1800c9e9c\ncall    sub_1800C7B70                                                  ; +0xf, 0x1800c9e9f\ntest    eax, eax                                                       ; +0x14, 0x1800c9ea4\njnz     short loc_1800C9EDC                                            ; +0x16, 0x1800c9ea6\nmov     rcx, [rdi+28h]                                                 ; +0x18, 0x1800c9ea8\nmov     edx, ebx                                                       ; +0x1c, 0x1800c9eac\nmov     rax, [rcx]                                                     ; +0x1e, 0x1800c9eae\ncall    qword ptr [rax+118h]                                           ; +0x21, 0x1800c9eb1\ntest    eax, eax                                                       ; +0x27, 0x1800c9eb7\njnz     short loc_1800C9EDC                                            ; +0x29, 0x1800c9eb9\nmov     rax, [rdi+28h]                                                 ; +0x2b, 0x1800c9ebb\nmov     edx, [rax+58h]                                                 ; +0x2f, 0x1800c9ebf\nnop                                                                    ; +0x32, 0x1800c9ec2\nmov     rcx, [rdi+0C0h]                                                ; +0x33, 0x1800c9ec3\nmov     rax, [rcx]                                                     ; +0x3a, 0x1800c9eca\ntest    dl, dl                                                         ; +0x3d, 0x1800c9ecd\njs      short loc_1800C9ED4                                            ; +0x3f, 0x1800c9ecf\nand     ebx, 0FFFFFFF8h                                                ; +0x41, 0x1800c9ed1\nmov     edx, ebx                                                       ; +0x44, 0x1800c9ed4\ncall    qword ptr [rax+0C0h]                                           ; +0x46, 0x1800c9ed6\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4c, 0x1800c9edc\nadd     rsp, 20h                                                       ; +0x51, 0x1800c9ee1\npop     rdi                                                            ; +0x55, 0x1800c9ee5\nretn                                                                   ; +0x56, 0x1800c9ee6", "xrefs": ["<???> @ 0x18016c670", "<???> @ 0x1801fe418"], "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"}