; ; sub_180068770 from 0x180068770 to 0x180068920 (432 bytes) ; ; 8 xrefs: ; > sub_18000EB30 @ 0x18000eb95 ; > sub_180069780 @ 0x1800698e6 ; > sub_180069780 @ 0x1800698fa ; > sub_180069AC0 @ 0x180069d58 ; > sub_180069AC0 @ 0x180069d6c ; > @ 0x18018301c ; > @ 0x180183030 ; > @ 0x1801f94c8 ; ; 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:53:27 +0000 ; push r14 ; +0x0, 0x180068770 sub rsp, 40h ; +0x2, 0x180068772 mov r14, [rcx+0A8h] ; +0x6, 0x180068776 mov [rsp+48h+arg_8], rbx ; +0xd, 0x18006877d mov [rsp+48h+arg_10], rbp ; +0x12, 0x180068782 mov rbp, rdx ; +0x17, 0x180068787 mov [rsp+48h+arg_18], rsi ; +0x1a, 0x18006878a mov rsi, rcx ; +0x1f, 0x18006878f mov [rsp+48h+var_18], r15 ; +0x22, 0x180068792 mov rcx, r14 ; +0x27, 0x180068797 xor r15b, r15b ; +0x2a, 0x18006879a movaps [rsp+48h+var_28], xmm6 ; +0x2d, 0x18006879d movaps xmm6, xmm2 ; +0x32, 0x1800687a2 test r14, r14 ; +0x35, 0x1800687a5 jz short loc_1800687BE ; +0x38, 0x1800687a8 mov edx, 5 ; +0x3a, 0x1800687aa call sub_1801021C0 ; +0x3f, 0x1800687af mov rcx, [rsi+0A8h] ; +0x44, 0x1800687b4 mov r15b, 1 ; +0x4b, 0x1800687bb lea rax, [rcx+10810h] ; +0x4e, 0x1800687be mov [rsp+48h+var_10], rdi ; +0x55, 0x1800687c5 mov rbx, [rax] ; +0x5a, 0x1800687ca cmp rbx, rax ; +0x5d, 0x1800687cd jnz short loc_180068800 ; +0x60, 0x1800687d0 call sub_1800FC830 ; +0x62, 0x1800687d2 mov edi, eax ; +0x67, 0x1800687d7 test eax, eax ; +0x69, 0x1800687d9 jnz loc_1800688E2 ; +0x6b, 0x1800687db mov rax, [rsi+0A8h] ; +0x71, 0x1800687e1 add rax, 10810h ; +0x78, 0x1800687e8 mov rbx, [rax] ; +0x7e, 0x1800687ee cmp rbx, rax ; +0x81, 0x1800687f1 jnz short loc_180068800 ; +0x84, 0x1800687f4 mov edi, 1Ch ; +0x86, 0x1800687f6 jmp loc_1800688E2 ; +0x8b, 0x1800687fb xor r9d, r9d ; +0x90, 0x180068800 mov r8, rbp ; +0x93, 0x180068803 mov rdx, rbp ; +0x96, 0x180068806 mov rcx, rsi ; +0x99, 0x180068809 call sub_180069530 ; +0x9c, 0x18006880c mov edi, eax ; +0xa1, 0x180068811 test eax, eax ; +0xa3, 0x180068813 jnz loc_1800688E2 ; +0xa5, 0x180068815 lea rdx, [rsi+240h] ; +0xab, 0x18006881b cmp [rdx], rdx ; +0xb2, 0x180068822 jnz short loc_180068832 ; +0xb5, 0x180068825 cmp [rdx+8], rdx ; +0xb7, 0x180068827 jnz short loc_180068832 ; +0xbb, 0x18006882b mov r8b, 1 ; +0xbd, 0x18006882d jmp short loc_180068835 ; +0xc0, 0x180068830 xor r8b, r8b ; +0xc2, 0x180068832 mov rcx, [rbx+8] ; +0xc5, 0x180068835 xor edi, edi ; +0xc9, 0x180068839 mov rax, [rbx] ; +0xcb, 0x18006883b mov [rcx], rax ; +0xce, 0x18006883e mov rcx, [rbx] ; +0xd1, 0x180068841 mov rax, [rbx+8] ; +0xd4, 0x180068844 mov [rcx+8], rax ; +0xd8, 0x180068848 mov [rbx+8], rbx ; +0xdc, 0x18006884c mov [rbx], rbx ; +0xe0, 0x180068850 mov qword ptr [rbx+18h], 0FFFFFFFFFFFFFFFFh ; +0xe3, 0x180068853 mov [rbx+10h], rdi ; +0xeb, 0x18006885b mov rcx, [rdx] ; +0xef, 0x18006885f cmp rbp, [rcx+18h] ; +0xf2, 0x180068862 jb short loc_180068886 ; +0xf6, 0x180068866 mov rcx, [rcx] ; +0xf8, 0x180068868 cmp [rcx+8], rdx ; +0xfb, 0x18006886b jnz short loc_180068862 ; +0xff, 0x18006886f mov [rbx+18h], rbp ; +0x101, 0x180068871 mov rax, [rdx+8] ; +0x105, 0x180068875 mov [rbx+8], rax ; +0x109, 0x180068879 mov [rbx], rdx ; +0x10d, 0x18006887d mov [rdx+8], rbx ; +0x110, 0x180068880 jmp short loc_180068899 ; +0x114, 0x180068884 mov [rbx+18h], rbp ; +0x116, 0x180068886 mov rax, [rcx+8] ; +0x11a, 0x18006888a mov [rbx+8], rax ; +0x11e, 0x18006888e mov [rbx], rcx ; +0x122, 0x180068892 mov [rcx+8], rbx ; +0x125, 0x180068895 mov rax, [rbx+8] ; +0x129, 0x180068899 movss dword ptr [rsp+48h+arg_0], xmm6 ; +0x12d, 0x18006889d mov [rax], rbx ; +0x133, 0x1800688a3 mov rax, [rsp+48h+arg_0] ; +0x136, 0x1800688a6 mov [rbx+10h], rax ; +0x13b, 0x1800688ab test r8b, r8b ; +0x13f, 0x1800688af jz short loc_1800688BE ; +0x142, 0x1800688b2 movss dword ptr [rsi+2A8h], xmm6 ; +0x144, 0x1800688b4 jmp short loc_1800688D2 ; +0x14c, 0x1800688bc movss xmm0, dword ptr [rsi+2A8h] ; +0x14e, 0x1800688be maxss xmm0, xmm6 ; +0x156, 0x1800688c6 movss dword ptr [rsi+2A8h], xmm0 ; +0x15a, 0x1800688ca mov dword ptr [rsi+2A0h], 1 ; +0x162, 0x1800688d2 mov [rsi+2ACh], edi ; +0x16c, 0x1800688dc movaps xmm6, [rsp+48h+var_28] ; +0x172, 0x1800688e2 test r15b, r15b ; +0x177, 0x1800688e7 mov r15, [rsp+48h+var_18] ; +0x17a, 0x1800688ea mov rsi, [rsp+48h+arg_18] ; +0x17f, 0x1800688ef mov rbp, [rsp+48h+arg_10] ; +0x184, 0x1800688f4 mov rbx, [rsp+48h+arg_8] ; +0x189, 0x1800688f9 jz short loc_180068912 ; +0x18e, 0x1800688fe test r14, r14 ; +0x190, 0x180068900 jz short loc_180068912 ; +0x193, 0x180068903 mov edx, 5 ; +0x195, 0x180068905 mov rcx, r14 ; +0x19a, 0x18006890a call sub_180102300 ; +0x19d, 0x18006890d mov eax, edi ; +0x1a2, 0x180068912 mov rdi, [rsp+48h+var_10] ; +0x1a4, 0x180068914 add rsp, 40h ; +0x1a9, 0x180068919 pop r14 ; +0x1ad, 0x18006891d retn ; +0x1af, 0x18006891f