; ; sub_180068A10 from 0x180068a10 to 0x180068b01 (241 bytes) ; ; 2 xrefs: ; > sub_18000F1A0 @ 0x18000f1dd ; > @ 0x1801f94ec ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_8], rbx ; +0x0, 0x180068a10 mov [rsp+arg_10], rbp ; +0x5, 0x180068a15 push rsi ; +0xa, 0x180068a1a push rdi ; +0xb, 0x180068a1b push r14 ; +0xc, 0x180068a1c sub rsp, 20h ; +0xe, 0x180068a1e mov r14, [rcx+0A8h] ; +0x12, 0x180068a22 mov rbp, r9 ; +0x19, 0x180068a29 xor r9b, r9b ; +0x1c, 0x180068a2c mov rsi, r8 ; +0x1f, 0x180068a2f mov rdi, rdx ; +0x22, 0x180068a32 mov rbx, rcx ; +0x25, 0x180068a35 test r14, r14 ; +0x28, 0x180068a38 jz short loc_180068A4D ; +0x2b, 0x180068a3b mov edx, 5 ; +0x2d, 0x180068a3d mov rcx, r14 ; +0x32, 0x180068a42 call sub_1801021C0 ; +0x35, 0x180068a45 mov r9b, 1 ; +0x3a, 0x180068a4a test rdi, rdi ; +0x3d, 0x180068a4d jnz short loc_180068A57 ; +0x40, 0x180068a50 lea ebx, [rdi+1Fh] ; +0x42, 0x180068a52 jmp short loc_180068AD5 ; +0x45, 0x180068a55 lea rdx, [rbx+240h] ; +0x47, 0x180068a57 xor ebx, ebx ; +0x4e, 0x180068a5e mov rcx, [rdx] ; +0x50, 0x180068a60 mov eax, ebx ; +0x53, 0x180068a63 cmp rcx, rdx ; +0x55, 0x180068a65 jz short loc_180068A7D ; +0x58, 0x180068a68 nop word ptr [rax+rax+00h] ; +0x5a, 0x180068a6a mov rcx, [rcx] ; +0x60, 0x180068a70 inc eax ; +0x63, 0x180068a73 cmp rcx, rdx ; +0x65, 0x180068a75 jnz short loc_180068A70 ; +0x68, 0x180068a78 mov rcx, [rdx] ; +0x6a, 0x180068a7a test rsi, rsi ; +0x6d, 0x180068a7d jnz short loc_180068A8B ; +0x70, 0x180068a80 test rbp, rbp ; +0x72, 0x180068a82 jnz short loc_180068A8B ; +0x75, 0x180068a85 mov [rdi], eax ; +0x77, 0x180068a87 jmp short loc_180068AD5 ; +0x79, 0x180068a89 mov edx, [rdi] ; +0x7b, 0x180068a8b cmp eax, edx ; +0x7d, 0x180068a8d jnb short loc_180068A95 ; +0x7f, 0x180068a8f mov [rdi], eax ; +0x81, 0x180068a91 mov edx, eax ; +0x83, 0x180068a93 mov r8d, ebx ; +0x85, 0x180068a95 test edx, edx ; +0x88, 0x180068a98 jz short loc_180068AD5 ; +0x8a, 0x180068a9a nop dword ptr [rax+00h] ; +0x8c, 0x180068a9c mov edx, r8d ; +0x90, 0x180068aa0 test rsi, rsi ; +0x93, 0x180068aa3 jz short loc_180068AB0 ; +0x96, 0x180068aa6 mov rax, [rcx+18h] ; +0x98, 0x180068aa8 mov [rsi+rdx*8], rax ; +0x9c, 0x180068aac test rbp, rbp ; +0xa0, 0x180068ab0 jz short loc_180068ACA ; +0xa3, 0x180068ab3 mov rax, [rcx+10h] ; +0xa5, 0x180068ab5 mov [rsp+38h+arg_0], rax ; +0xa9, 0x180068ab9 movss xmm0, dword ptr [rsp+38h+arg_0] ; +0xae, 0x180068abe movss dword ptr [rbp+rdx*4+0], xmm0 ; +0xb4, 0x180068ac4 mov rcx, [rcx] ; +0xba, 0x180068aca inc r8d ; +0xbd, 0x180068acd cmp r8d, [rdi] ; +0xc0, 0x180068ad0 jb short loc_180068AA0 ; +0xc3, 0x180068ad3 test r9b, r9b ; +0xc5, 0x180068ad5 jz short loc_180068AEC ; +0xc8, 0x180068ad8 test r14, r14 ; +0xca, 0x180068ada jz short loc_180068AEC ; +0xcd, 0x180068add mov edx, 5 ; +0xcf, 0x180068adf mov rcx, r14 ; +0xd4, 0x180068ae4 call sub_180102300 ; +0xd7, 0x180068ae7 mov rbp, [rsp+38h+arg_10] ; +0xdc, 0x180068aec mov eax, ebx ; +0xe1, 0x180068af1 mov rbx, [rsp+38h+arg_8] ; +0xe3, 0x180068af3 add rsp, 20h ; +0xe8, 0x180068af8 pop r14 ; +0xec, 0x180068afc pop rdi ; +0xee, 0x180068afe pop rsi ; +0xef, 0x180068aff retn ; +0xf0, 0x180068b00