; ; Dropdown::onRowSelected from 0x1008da790 to 0x1008da862 (210 bytes) ; ; 1 xrefs: ; > Dropdown::openList @ 0x1008da29f ; ; 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:37:43 +0000 ; push rbp ; +0x0, 0x1008da790 mov rbp, rsp ; +0x1, 0x1008da791 push r14 ; +0x4, 0x1008da794 push rbx ; +0x6, 0x1008da796 test rsi, rsi ; +0x7, 0x1008da797 jz loc_1008DA85D ; +0xa, 0x1008da79a mov rbx, rdi ; +0x10, 0x1008da7a0 mov rax, [rsi] ; +0x13, 0x1008da7a3 mov rdi, rsi ; +0x16, 0x1008da7a6 call qword ptr [rax+40h] ; +0x19, 0x1008da7a9 test eax, eax ; +0x1c, 0x1008da7ac js loc_1008DA85D ; +0x1e, 0x1008da7ae mov rcx, [rbx+168h] ; +0x24, 0x1008da7b4 mov rdx, [rbx+170h] ; +0x2b, 0x1008da7bb sub rdx, rcx ; +0x32, 0x1008da7c2 shr rdx, 3 ; +0x35, 0x1008da7c5 imul edx, 0AAAAAAABh ; +0x39, 0x1008da7c9 cmp eax, edx ; +0x3f, 0x1008da7cf jge loc_1008DA85D ; +0x41, 0x1008da7d1 mov [rbx+180h], eax ; +0x47, 0x1008da7d7 mov rdi, [rbx+190h] ; +0x4d, 0x1008da7dd test rdi, rdi ; +0x54, 0x1008da7e4 jz short loc_1008DA840 ; +0x57, 0x1008da7e7 mov edx, eax ; +0x59, 0x1008da7e9 lea rdx, [rdx+rdx*2] ; +0x5b, 0x1008da7eb lea rsi, [rcx+rdx*8] ; +0x5f, 0x1008da7ef test byte ptr [rcx+rdx*8], 1 ; +0x63, 0x1008da7f3 jnz short loc_1008DA801 ; +0x67, 0x1008da7f7 mov r14d, eax ; +0x69, 0x1008da7f9 inc rsi ; +0x6c, 0x1008da7fc jmp short loc_1008DA808 ; +0x6f, 0x1008da7ff mov r14d, eax ; +0x71, 0x1008da801 mov rsi, [rsi+10h] ; +0x74, 0x1008da804 mov rax, [rdi] ; +0x78, 0x1008da808 call qword ptr [rax+3A0h] ; +0x7b, 0x1008da80b mov rdi, [rbx+190h] ; +0x81, 0x1008da811 movss xmm0, dword ptr [rbx+1DCh] ; +0x88, 0x1008da818 addss xmm0, cs:dword_100A037B0 ; +0x90, 0x1008da820 movss xmm1, cs:dword_100A05D00 ; +0x98, 0x1008da828 movss xmm2, cs:dword_100A03850 ; +0xa0, 0x1008da830 call cocos2d__CCLabelBMFont__limitLabelWidth ; +0xa8, 0x1008da838 mov eax, r14d ; +0xad, 0x1008da83d mov rdi, [rbx+160h] ; +0xb0, 0x1008da840 test rdi, rdi ; +0xb7, 0x1008da847 jz short loc_1008DA85D ; +0xba, 0x1008da84a mov rcx, [rdi] ; +0xbc, 0x1008da84c mov rcx, [rcx] ; +0xbf, 0x1008da84f mov rsi, rbx ; +0xc2, 0x1008da852 mov edx, eax ; +0xc5, 0x1008da855 pop rbx ; +0xc7, 0x1008da857 pop r14 ; +0xc8, 0x1008da858 pop rbp ; +0xca, 0x1008da85a jmp rcx ; +0xcb, 0x1008da85b pop rbx ; +0xcd, 0x1008da85d pop r14 ; +0xce, 0x1008da85e pop rbp ; +0xd0, 0x1008da860 retn ; +0xd1, 0x1008da861