{"type": "func", "start": 6442545936, "end": 6442546019, "name": "sub_180017310", "pseudocode": "// \n// sub_180017310 from 0x180017310 to 0x180017363 (83 bytes)\n// \n// 2 xrefs:\n// > sub_180016420 @ 0x18001648c\n// > <???> @ 0x1801f71c4\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:52:48 +0000\n// \n\n__int64 __fastcall sub_180017310(__int64 a1)\n{\n  __int64 v1; // rbx\n  void *v2; // rcx\n  __int64 (__fastcall *v3)(__int64); // rax\n  __int64 result; // rax\n\n  v1 = *(_QWORD *)(a1 + 288);\n  if ( !v1 )\n    return 0;\n  v2 = *(void **)(v1 + 320);\n  *(_DWORD *)(v1 + 344) = 0;\n  if ( v2 )\n    memset(v2, 0, *(unsigned int *)(v1 + 340));\n  v3 = *(__int64 (__fastcall **)(__int64))(v1 + 176);\n  if ( !v3 )\n    return 0;\n  result = v3(v1);\n  if ( !(_DWORD)result )\n    return 0;\n  return result;\n}", "assembly": "; \n; sub_180017310 from 0x180017310 to 0x180017363 (83 bytes)\n; \n; 2 xrefs:\n; > sub_180016420 @ 0x18001648c\n; > <???> @ 0x1801f71c4\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:52:48 +0000\n; \npush    rbx                                                            ; +0x0, 0x180017310\nsub     rsp, 20h                                                       ; +0x2, 0x180017312\nmov     rbx, [rcx+120h]                                                ; +0x6, 0x180017316\ntest    rbx, rbx                                                       ; +0xd, 0x18001731d\njz      short loc_18001735B                                            ; +0x10, 0x180017320\nmov     rcx, [rbx+140h]; void *                                        ; +0x12, 0x180017322\nmov     dword ptr [rbx+158h], 0                                        ; +0x19, 0x180017329\ntest    rcx, rcx                                                       ; +0x23, 0x180017333\njz      short loc_180017346                                            ; +0x26, 0x180017336\nmov     r8d, [rbx+154h]; Size                                          ; +0x28, 0x180017338\nxor     edx, edx; Val                                                  ; +0x2f, 0x18001733f\ncall    memset                                                         ; +0x31, 0x180017341\nmov     rax, [rbx+0B0h]                                                ; +0x36, 0x180017346\ntest    rax, rax                                                       ; +0x3d, 0x18001734d\njz      short loc_18001735B                                            ; +0x40, 0x180017350\nmov     rcx, rbx                                                       ; +0x42, 0x180017352\ncall    rax                                                            ; +0x45, 0x180017355\ntest    eax, eax                                                       ; +0x47, 0x180017357\njnz     short loc_18001735D                                            ; +0x49, 0x180017359\nxor     eax, eax                                                       ; +0x4b, 0x18001735b\nadd     rsp, 20h                                                       ; +0x4d, 0x18001735d\npop     rbx                                                            ; +0x51, 0x180017361\nretn                                                                   ; +0x52, 0x180017362", "xrefs": ["sub_180016420 @ 0x18001648c", "<???> @ 0x1801f71c4"], "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"}