; ; BoomScrollLayer::selectPage from 0x1003a67c0 to 0x1003a686c (172 bytes) ; ; 0 xrefs: ; ; 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 ; test esi, esi ; +0x0, 0x1003a67c0 js locret_1003A686B ; +0x2, 0x1003a67c2 push rbp ; +0x8, 0x1003a67c8 mov rbp, rsp ; +0x9, 0x1003a67c9 push r15 ; +0xc, 0x1003a67cc push r14 ; +0xe, 0x1003a67ce push r12 ; +0x10, 0x1003a67d0 push rbx ; +0x12, 0x1003a67d2 sub rsp, 10h ; +0x13, 0x1003a67d3 mov ebx, esi ; +0x17, 0x1003a67d7 mov r14, rdi ; +0x19, 0x1003a67d9 movzx eax, byte ptr [rdi+1C0h] ; +0x1c, 0x1003a67dc xor eax, 1 ; +0x23, 0x1003a67e3 shl eax, 5 ; +0x26, 0x1003a67e6 mov rdi, [rax+rdi+1B8h] ; +0x29, 0x1003a67e9 call sub_100720070 ; +0x31, 0x1003a67f1 cmp eax, ebx ; +0x36, 0x1003a67f6 jle short loc_1003A685F ; +0x38, 0x1003a67f8 mov r15, [r14+1F0h] ; +0x3a, 0x1003a67fa mov eax, ebx ; +0x41, 0x1003a6801 neg eax ; +0x43, 0x1003a6803 cvtsi2ss xmm0, eax ; +0x45, 0x1003a6805 movss dword ptr [rbp-24h], xmm0 ; +0x49, 0x1003a6809 mov rax, [r14] ; +0x4e, 0x1003a680e mov rdi, r14 ; +0x51, 0x1003a6811 call qword ptr [rax+138h] ; +0x54, 0x1003a6814 movss xmm0, dword ptr [rax] ; +0x5a, 0x1003a681a subss xmm0, dword ptr [r14+248h] ; +0x5e, 0x1003a681e mulss xmm0, dword ptr [rbp-24h] ; +0x67, 0x1003a6827 lea r12, [rbp-2Ch] ; +0x6c, 0x1003a682c xorps xmm1, xmm1 ; +0x70, 0x1003a6830 mov rdi, r12 ; +0x73, 0x1003a6833 call sub_10028CBE0 ; +0x76, 0x1003a6836 mov rax, [r15] ; +0x7b, 0x1003a683b mov rdi, r15 ; +0x7e, 0x1003a683e mov rsi, r12 ; +0x81, 0x1003a6841 call qword ptr [rax+0B8h] ; +0x84, 0x1003a6844 mov eax, [r14+244h] ; +0x8a, 0x1003a684a mov [r14+1A0h], eax ; +0x91, 0x1003a6851 mov [r14+244h], ebx ; +0x98, 0x1003a6858 add rsp, 10h ; +0x9f, 0x1003a685f pop rbx ; +0xa3, 0x1003a6863 pop r12 ; +0xa4, 0x1003a6864 pop r14 ; +0xa6, 0x1003a6866 pop r15 ; +0xa8, 0x1003a6868 pop rbp ; +0xaa, 0x1003a686a retn ; +0xab, 0x1003a686b