; ; sub_18000F050 from 0x18000f050 to 0x18000f10d (189 bytes) ; ; 3 xrefs: ; > @ 0x18016c7b0 ; > @ 0x18016ca28 ; > @ 0x1801f6d38 ; ; 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 10:52:44 +0000 ; push rbx ; +0x0, 0x18000f050 push rsi ; +0x2, 0x18000f052 push rdi ; +0x3, 0x18000f053 sub rsp, 20h ; +0x4, 0x18000f054 movsxd rbx, edx ; +0x8, 0x18000f058 mov rdi, r8 ; +0xb, 0x18000f05b mov [rsp+38h+arg_10], 0 ; +0xe, 0x18000f05e mov rsi, rcx ; +0x16, 0x18000f066 test r8, r8 ; +0x19, 0x18000f069 jnz short loc_18000F07A ; +0x1c, 0x18000f06c lea eax, [r8+1Fh] ; +0x1e, 0x18000f06e add rsp, 20h ; +0x22, 0x18000f072 pop rdi ; +0x26, 0x18000f076 pop rsi ; +0x27, 0x18000f077 pop rbx ; +0x28, 0x18000f078 retn ; +0x29, 0x18000f079 mov [rsp+38h+arg_0], rbp ; +0x2a, 0x18000f07a mov rbp, [rcx+60h] ; +0x2f, 0x18000f07f mov [rsp+38h+arg_8], r14 ; +0x33, 0x18000f083 mov r14, [rcx+68h] ; +0x38, 0x18000f088 mov [rsp+38h+arg_18], r15 ; +0x3c, 0x18000f08c mov r15, [rcx+70h] ; +0x41, 0x18000f091 test rbp, rbp ; +0x45, 0x18000f095 jz short loc_18000F0F1 ; +0x48, 0x18000f098 mov rax, [rcx] ; +0x4a, 0x18000f09a lea rdx, [rsp+38h+arg_10] ; +0x4d, 0x18000f09d call qword ptr [rax+128h] ; +0x52, 0x18000f0a2 test eax, eax ; +0x58, 0x18000f0a8 jnz short loc_18000F0F6 ; +0x5a, 0x18000f0aa lea eax, [rbx+1] ; +0x5c, 0x18000f0ac cmp eax, 1 ; +0x5f, 0x18000f0af jbe short loc_18000F0EA ; +0x62, 0x18000f0b2 mov ecx, [rsp+38h+arg_10] ; +0x64, 0x18000f0b4 lea eax, [rcx-1] ; +0x68, 0x18000f0b8 cmp ebx, eax ; +0x6b, 0x18000f0bb jz short loc_18000F0E3 ; +0x6d, 0x18000f0bd cmp ebx, 0FFFFFFFDh ; +0x6f, 0x18000f0bf jz short loc_18000F0E3 ; +0x72, 0x18000f0c2 cmp ebx, 0FFFFFFFEh ; +0x74, 0x18000f0c4 jnz short loc_18000F0D0 ; +0x77, 0x18000f0c7 mov [rdi], r15 ; +0x79, 0x18000f0c9 xor eax, eax ; +0x7c, 0x18000f0cc jmp short loc_18000F0F6 ; +0x7e, 0x18000f0ce cmp ebx, ecx ; +0x80, 0x18000f0d0 jge short loc_18000F0F1 ; +0x82, 0x18000f0d2 mov rax, [rsi+10h] ; +0x84, 0x18000f0d4 mov rcx, [rax+rbx*8] ; +0x88, 0x18000f0d8 xor eax, eax ; +0x8c, 0x18000f0dc mov [rdi], rcx ; +0x8e, 0x18000f0de jmp short loc_18000F0F6 ; +0x91, 0x18000f0e1 mov [rdi], r14 ; +0x93, 0x18000f0e3 xor eax, eax ; +0x96, 0x18000f0e6 jmp short loc_18000F0F6 ; +0x98, 0x18000f0e8 mov [rdi], rbp ; +0x9a, 0x18000f0ea xor eax, eax ; +0x9d, 0x18000f0ed jmp short loc_18000F0F6 ; +0x9f, 0x18000f0ef mov eax, 9 ; +0xa1, 0x18000f0f1 mov r14, [rsp+38h+arg_8] ; +0xa6, 0x18000f0f6 mov rbp, [rsp+38h+arg_0] ; +0xab, 0x18000f0fb mov r15, [rsp+38h+arg_18] ; +0xb0, 0x18000f100 add rsp, 20h ; +0xb5, 0x18000f105 pop rdi ; +0xb9, 0x18000f109 pop rsi ; +0xba, 0x18000f10a pop rbx ; +0xbb, 0x18000f10b retn ; +0xbc, 0x18000f10c