{"type": "func", "start": 6442546272, "end": 6442546316, "name": "sub_180017460", "pseudocode": "// \n// sub_180017460 from 0x180017460 to 0x18001748c (44 bytes)\n// \n// 7 xrefs:\n// > int `__acrt_get_current_directory<__crt_win32_buffer_internal_dynamic_resizing> @ 0x180020d67\n// > sub_180020E50 @ 0x180020e57\n// > sub_180020E68 @ 0x180020e6f\n// > <???> @ 0x18002f0c7\n// > <???> @ 0x18002f1df\n// > <???> @ 0x18002f1eb\n// > <???> @ 0x18004aa34\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_180017460(__int64 a1, __int64 a2)\n{\n  __int64 v3; // rcx\n  __int64 result; // rax\n\n  v3 = *(_QWORD *)(a1 + 56);\n  if ( v3 )\n  {\n    LOBYTE(a2) = v3 != a1;\n    result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 32LL))(v3, a2);\n    *(_QWORD *)(a1 + 56) = 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_180017460 from 0x180017460 to 0x18001748c (44 bytes)\n; \n; 7 xrefs:\n; > int `__acrt_get_current_directory<__crt_win32_buffer_internal_dynamic_resizing> @ 0x180020d67\n; > sub_180020E50 @ 0x180020e57\n; > sub_180020E68 @ 0x180020e6f\n; > <???> @ 0x18002f0c7\n; > <???> @ 0x18002f1df\n; > <???> @ 0x18002f1eb\n; > <???> @ 0x18004aa34\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\npush    rbx                                                            ; +0x0, 0x180017460\nsub     rsp, 20h                                                       ; +0x2, 0x180017462\nmov     rbx, rcx                                                       ; +0x6, 0x180017466\nmov     rcx, [rcx+38h]                                                 ; +0x9, 0x180017469\ntest    rcx, rcx                                                       ; +0xd, 0x18001746d\njz      short loc_180017486                                            ; +0x10, 0x180017470\nmov     rax, [rcx]                                                     ; +0x12, 0x180017472\ncmp     rcx, rbx                                                       ; +0x15, 0x180017475\nsetnz   dl                                                             ; +0x18, 0x180017478\ncall    qword ptr [rax+20h]                                            ; +0x1b, 0x18001747b\nmov     qword ptr [rbx+38h], 0                                         ; +0x1e, 0x18001747e\nadd     rsp, 20h                                                       ; +0x26, 0x180017486\npop     rbx                                                            ; +0x2a, 0x18001748a\nretn                                                                   ; +0x2b, 0x18001748b", "xrefs": ["int `__acrt_get_current_directory<__crt_win32_buffer_internal_dynamic_resizing> @ 0x180020d67", "sub_180020E50 @ 0x180020e57", "sub_180020E68 @ 0x180020e6f", "<???> @ 0x18002f0c7", "<???> @ 0x18002f1df", "<???> @ 0x18002f1eb", "<???> @ 0x18004aa34"], "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"}