; ; sub_1800166A0 from 0x1800166a0 to 0x180016708 (104 bytes) ; ; 2 xrefs: ; > sub_180016770 @ 0x180016805 ; > @ 0x18004c860 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 12:15:41 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x1800166a0 mov [rsp+arg_8], rsi ; +0x5, 0x1800166a5 push rdi ; +0xa, 0x1800166aa sub rsp, 20h ; +0xb, 0x1800166ab mov rdi, [rcx] ; +0xf, 0x1800166af mov rsi, rcx ; +0x12, 0x1800166b2 mov rbx, [rdi+8] ; +0x15, 0x1800166b5 cmp byte ptr [rbx+19h], 0 ; +0x19, 0x1800166b9 jnz short loc_1800166E5 ; +0x1d, 0x1800166bd nop ; +0x1f, 0x1800166bf mov r8, [rbx+10h] ; +0x20, 0x1800166c0 mov rdx, rsi ; +0x24, 0x1800166c4 mov rcx, rsi ; +0x27, 0x1800166c7 call sub_180016710 ; +0x2a, 0x1800166ca mov rcx, rbx; Block ; +0x2f, 0x1800166cf mov edx, 20h ; ' ' ; +0x32, 0x1800166d2 mov rbx, [rbx] ; +0x37, 0x1800166d7 call j_j_free ; +0x3a, 0x1800166da cmp byte ptr [rbx+19h], 0 ; +0x3f, 0x1800166df jz short loc_1800166C0 ; +0x43, 0x1800166e3 mov rbx, [rsp+28h+arg_0] ; +0x45, 0x1800166e5 mov [rdi+8], rdi ; +0x4a, 0x1800166ea mov [rdi], rdi ; +0x4e, 0x1800166ee mov [rdi+10h], rdi ; +0x51, 0x1800166f1 mov qword ptr [rsi+8], 0 ; +0x55, 0x1800166f5 mov rsi, [rsp+28h+arg_8] ; +0x5d, 0x1800166fd add rsp, 20h ; +0x62, 0x180016702 pop rdi ; +0x66, 0x180016706 retn ; +0x67, 0x180016707