{"type": "func", "start": 6443487616, "end": 6443487961, "name": "sub_1800FD180", "pseudocode": "// \n// sub_1800FD180 from 0x1800fd180 to 0x1800fd2d9 (345 bytes)\n// \n// 4 xrefs:\n// > sub_1800E76F0 @ 0x1800e78b3\n// > sub_1801024A0 @ 0x180102690\n// > sub_180102CA0 @ 0x180102f61\n// > <???> @ 0x180200fa4\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:26 +0000\n// \n\n__int64 __fastcall sub_1800FD180(__int64 a1, unsigned int a2, float *a3, char a4)\n{\n  __int64 v8; // rdi\n  __int64 result; // rax\n  _QWORD *v10; // rbx\n  __int64 v11; // [rsp+50h] [rbp+8h] BYREF\n\n  v8 = a1 + 24LL * (int)a2;\n  if ( *(_QWORD *)(a1 + 1720) )\n  {\n    if ( *(_QWORD *)(v8 + 73784) )\n    {\n      if ( !a3 )\n      {\n        result = sub_1800DC400(v8 + 73776);\n        if ( (_DWORD)result )\n          return result;\n        result = sub_1800FD380(a1, a2);\n        if ( (_DWORD)result )\n          return result;\n      }\n    }\n    else if ( a3 )\n    {\n      result = sub_1800DC1E0((__int64 *)(v8 + 73776), a2, a1);\n      if ( (_DWORD)result )\n        return result;\n      result = (*(__int64 (__fastcall **)(_QWORD, __int64, __int64 *))(**(_QWORD **)(a1 + 69848) + 288LL))(\n                 *(_QWORD *)(a1 + 69848),\n                 4294967293LL,\n                 &v11);\n      if ( (_DWORD)result )\n        return result;\n      result = sub_1800923A0(v11, *(_QWORD *)(v8 + 73784), nullptr, 0, 1, nullptr);\n      if ( (_DWORD)result )\n        return result;\n      result = sub_1800FD380(a1, a2);\n      if ( (_DWORD)result )\n        return result;\n      result = sub_18009B6A0(*(_QWORD *)(v8 + 73784), 1, 1u);\n      if ( (_DWORD)result )\n        return result;\n    }\n  }\n  else\n  {\n    *(_QWORD *)(v8 + 73776) = a1;\n    *(_DWORD *)(v8 + 73792) = a2;\n  }\n  if ( *(_DWORD *)(a1 + 69708) != a2 )\n    return sub_1800DC600(v8 + 73776, a3);\n  v10 = (_QWORD *)(a1 + 74064);\n  if ( (_QWORD *)*v10 == v10 && (_QWORD *)v10[1] == v10 )\n    return sub_1800DC600(v8 + 73776, a3);\n  if ( a4 )\n    return sub_1800DC600(v8 + 73776, a3);\n  else\n    return 0;\n}", "assembly": "; \n; sub_1800FD180 from 0x1800fd180 to 0x1800fd2d9 (345 bytes)\n; \n; 4 xrefs:\n; > sub_1800E76F0 @ 0x1800e78b3\n; > sub_1801024A0 @ 0x180102690\n; > sub_180102CA0 @ 0x180102f61\n; > <???> @ 0x180200fa4\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:26 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1800fd180\nmov     [rsp+arg_10], rbp                                              ; +0x5, 0x1800fd185\npush    rsi                                                            ; +0xa, 0x1800fd18a\npush    rdi                                                            ; +0xb, 0x1800fd18b\npush    r14                                                            ; +0xc, 0x1800fd18c\nsub     rsp, 30h                                                       ; +0xe, 0x1800fd18e\ncmp     qword ptr [rcx+6B8h], 0                                        ; +0x12, 0x1800fd192\nmovzx   r14d, r9b                                                      ; +0x1a, 0x1800fd19a\nmovsxd  rsi, edx                                                       ; +0x1e, 0x1800fd19e\nmov     rbp, r8                                                        ; +0x21, 0x1800fd1a1\nmov     rbx, rcx                                                       ; +0x24, 0x1800fd1a4\nlea     r10, [rsi+rsi*2]                                               ; +0x27, 0x1800fd1a7\nlea     rdi, [rcx+r10*8]                                               ; +0x2b, 0x1800fd1ab\njz      loc_1800FD287                                                  ; +0x2f, 0x1800fd1af\ncmp     qword ptr [rdi+12038h], 0                                      ; +0x35, 0x1800fd1b5\njz      short loc_1800FD1F3                                            ; +0x3d, 0x1800fd1bd\ntest    r8, r8                                                         ; +0x3f, 0x1800fd1bf\njnz     loc_1800FD294                                                  ; +0x42, 0x1800fd1c2\nlea     rcx, [rdi+12030h]                                              ; +0x48, 0x1800fd1c8\ncall    sub_1800DC400                                                  ; +0x4f, 0x1800fd1cf\ntest    eax, eax                                                       ; +0x54, 0x1800fd1d4\njnz     loc_1800FD2C6                                                  ; +0x56, 0x1800fd1d6\nmov     edx, esi                                                       ; +0x5c, 0x1800fd1dc\nmov     rcx, rbx                                                       ; +0x5e, 0x1800fd1de\ncall    sub_1800FD380                                                  ; +0x61, 0x1800fd1e1\ntest    eax, eax                                                       ; +0x66, 0x1800fd1e6\njz      loc_1800FD294                                                  ; +0x68, 0x1800fd1e8\njmp     loc_1800FD2C6                                                  ; +0x6e, 0x1800fd1ee\ntest    rbp, rbp                                                       ; +0x73, 0x1800fd1f3\njz      loc_1800FD294                                                  ; +0x76, 0x1800fd1f6\nlea     rcx, [rdi+12030h]                                              ; +0x7c, 0x1800fd1fc\nmov     r8, rbx                                                        ; +0x83, 0x1800fd203\nmov     edx, esi                                                       ; +0x86, 0x1800fd206\ncall    sub_1800DC1E0                                                  ; +0x88, 0x1800fd208\ntest    eax, eax                                                       ; +0x8d, 0x1800fd20d\njnz     loc_1800FD2C6                                                  ; +0x8f, 0x1800fd20f\nmov     rcx, [rbx+110D8h]                                              ; +0x95, 0x1800fd215\nlea     r8, [rsp+48h+arg_0]                                            ; +0x9c, 0x1800fd21c\nmov     edx, 0FFFFFFFDh                                                ; +0xa1, 0x1800fd221\nmov     rax, [rcx]                                                     ; +0xa6, 0x1800fd226\ncall    qword ptr [rax+120h]                                           ; +0xa9, 0x1800fd229\ntest    eax, eax                                                       ; +0xaf, 0x1800fd22f\njnz     loc_1800FD2C6                                                  ; +0xb1, 0x1800fd231\nmov     rdx, [rdi+12038h]                                              ; +0xb7, 0x1800fd237\nxor     r9d, r9d                                                       ; +0xbe, 0x1800fd23e\nmov     rcx, [rsp+48h+arg_0]                                           ; +0xc1, 0x1800fd241\nxor     r8d, r8d                                                       ; +0xc6, 0x1800fd246\nmov     [rsp+48h+var_20], 0                                            ; +0xc9, 0x1800fd249\nmov     [rsp+48h+var_28], 1                                            ; +0xd2, 0x1800fd252\ncall    sub_1800923A0                                                  ; +0xd7, 0x1800fd257\ntest    eax, eax                                                       ; +0xdc, 0x1800fd25c\njnz     short loc_1800FD2C6                                            ; +0xde, 0x1800fd25e\nmov     edx, esi                                                       ; +0xe0, 0x1800fd260\nmov     rcx, rbx                                                       ; +0xe2, 0x1800fd262\ncall    sub_1800FD380                                                  ; +0xe5, 0x1800fd265\ntest    eax, eax                                                       ; +0xea, 0x1800fd26a\njnz     short loc_1800FD2C6                                            ; +0xec, 0x1800fd26c\nmov     rcx, [rdi+12038h]                                              ; +0xee, 0x1800fd26e\nmov     r8b, 1                                                         ; +0xf5, 0x1800fd275\nmovzx   edx, r8b                                                       ; +0xf8, 0x1800fd278\ncall    sub_18009B6A0                                                  ; +0xfc, 0x1800fd27c\ntest    eax, eax                                                       ; +0x101, 0x1800fd281\njz      short loc_1800FD294                                            ; +0x103, 0x1800fd283\njmp     short loc_1800FD2C6                                            ; +0x105, 0x1800fd285\nmov     [rdi+12030h], rbx                                              ; +0x107, 0x1800fd287\nmov     [rdi+12040h], esi                                              ; +0x10e, 0x1800fd28e\ncmp     [rbx+1104Ch], esi                                              ; +0x114, 0x1800fd294\njnz     short loc_1800FD2B7                                            ; +0x11a, 0x1800fd29a\nadd     rbx, 12150h                                                    ; +0x11c, 0x1800fd29c\ncmp     [rbx], rbx                                                     ; +0x123, 0x1800fd2a3\njnz     short loc_1800FD2AE                                            ; +0x126, 0x1800fd2a6\ncmp     [rbx+8], rbx                                                   ; +0x128, 0x1800fd2a8\njz      short loc_1800FD2B7                                            ; +0x12c, 0x1800fd2ac\ntest    r14b, r14b                                                     ; +0x12e, 0x1800fd2ae\njnz     short loc_1800FD2B7                                            ; +0x131, 0x1800fd2b1\nxor     eax, eax                                                       ; +0x133, 0x1800fd2b3\njmp     short loc_1800FD2C6                                            ; +0x135, 0x1800fd2b5\nlea     rcx, [rdi+12030h]                                              ; +0x137, 0x1800fd2b7\nmov     rdx, rbp                                                       ; +0x13e, 0x1800fd2be\ncall    sub_1800DC600                                                  ; +0x141, 0x1800fd2c1\nmov     rbx, [rsp+48h+arg_8]                                           ; +0x146, 0x1800fd2c6\nmov     rbp, [rsp+48h+arg_10]                                          ; +0x14b, 0x1800fd2cb\nadd     rsp, 30h                                                       ; +0x150, 0x1800fd2d0\npop     r14                                                            ; +0x154, 0x1800fd2d4\npop     rdi                                                            ; +0x156, 0x1800fd2d6\npop     rsi                                                            ; +0x157, 0x1800fd2d7\nretn                                                                   ; +0x158, 0x1800fd2d8", "xrefs": ["sub_1800E76F0 @ 0x1800e78b3", "sub_1801024A0 @ 0x180102690", "sub_180102CA0 @ 0x180102f61", "<???> @ 0x180200fa4"], "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"}