; ; sub_180018B30 from 0x180018b30 to 0x180018bb7 (135 bytes) ; ; 3 xrefs: ; > int `Concurrency::task_completion_event>::set @ 0x180020da7 ; > @ 0x180031883 ; > @ 0x18004caa0 ; ; 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:42 +0000 ; sub rsp, 38h ; +0x0, 0x180018b30 mov r8, rcx ; +0x4, 0x180018b34 mov rcx, [rcx+8] ; +0x7, 0x180018b37 test rcx, rcx ; +0xb, 0x180018b3b jz short loc_180018B91 ; +0xe, 0x180018b3e mov rdx, [r8+20h] ; +0x10, 0x180018b40 mov rax, [r8+18h] ; +0x14, 0x180018b44 cmp rax, rdx ; +0x18, 0x180018b48 jz short loc_180018B5F ; +0x1b, 0x180018b4b nop dword ptr [rax] ; +0x1d, 0x180018b4d cmp dword ptr [rax+8], 0 ; +0x20, 0x180018b50 jnz short loc_180018B96 ; +0x24, 0x180018b54 add rax, 10h ; +0x26, 0x180018b56 cmp rax, rdx ; +0x2a, 0x180018b5a jnz short loc_180018B50 ; +0x2d, 0x180018b5d mov rdx, [r8+10h] ; +0x2f, 0x180018b5f shl rdx, 4 ; +0x33, 0x180018b63 cmp rdx, 1000h ; +0x37, 0x180018b67 jb short loc_180018B88 ; +0x3e, 0x180018b6e mov rax, [rcx-8] ; +0x40, 0x180018b70 add rdx, 27h ; ''' ; +0x44, 0x180018b74 sub rcx, rax ; +0x48, 0x180018b78 sub rcx, 8 ; +0x4b, 0x180018b7b cmp rcx, 1Fh ; +0x4f, 0x180018b7f ja short loc_180018B9D ; +0x53, 0x180018b83 mov rcx, rax; Block ; +0x55, 0x180018b85 add rsp, 38h ; +0x58, 0x180018b88 jmp j_j_free ; +0x5c, 0x180018b8c add rsp, 38h ; +0x61, 0x180018b91 retn ; +0x65, 0x180018b95 call cs:__imp_terminate ; +0x66, 0x180018b96 db 0CCh ; +0x6c, 0x180018b9c xor r9d, r9d; LineNo ; +0x6d, 0x180018b9d mov [rsp+38h+Reserved], 0; Reserved ; +0x70, 0x180018ba0 xor r8d, r8d; FileName ; +0x79, 0x180018ba9 xor edx, edx; FunctionName ; +0x7c, 0x180018bac xor ecx, ecx; Expression ; +0x7e, 0x180018bae call cs:_invoke_watson ; +0x80, 0x180018bb0 db 0CCh ; +0x86, 0x180018bb6