; ; BoomScrollLayer::selectPage from 0x10038ffb0 to 0x10039005c (172 bytes) ; ; 0 xrefs: ; ; 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:29:13 +0000 ; test esi, esi ; +0x0, 0x10038ffb0 js locret_10039005B ; +0x2, 0x10038ffb2 push rbp ; +0x8, 0x10038ffb8 mov rbp, rsp ; +0x9, 0x10038ffb9 push r15 ; +0xc, 0x10038ffbc push r14 ; +0xe, 0x10038ffbe push r12 ; +0x10, 0x10038ffc0 push rbx ; +0x12, 0x10038ffc2 sub rsp, 10h ; +0x13, 0x10038ffc3 mov ebx, esi ; +0x17, 0x10038ffc7 mov r14, rdi ; +0x19, 0x10038ffc9 movzx eax, byte ptr [rdi+1C8h] ; +0x1c, 0x10038ffcc xor eax, 1 ; +0x23, 0x10038ffd3 shl eax, 5 ; +0x26, 0x10038ffd6 mov rdi, [rdi+rax+1C0h] ; +0x29, 0x10038ffd9 call sub_1007FEF90 ; +0x31, 0x10038ffe1 cmp eax, ebx ; +0x36, 0x10038ffe6 jle short loc_10039004F ; +0x38, 0x10038ffe8 mov r15, [r14+1F8h] ; +0x3a, 0x10038ffea mov eax, ebx ; +0x41, 0x10038fff1 neg eax ; +0x43, 0x10038fff3 cvtsi2ss xmm0, eax ; +0x45, 0x10038fff5 movss dword ptr [rbp-24h], xmm0 ; +0x49, 0x10038fff9 mov rax, [r14] ; +0x4e, 0x10038fffe mov rdi, r14 ; +0x51, 0x100390001 call qword ptr [rax+148h] ; +0x54, 0x100390004 movss xmm0, dword ptr [rax] ; +0x5a, 0x10039000a subss xmm0, dword ptr [r14+250h] ; +0x5e, 0x10039000e mulss xmm0, dword ptr [rbp-24h] ; +0x67, 0x100390017 lea r12, [rbp-2Ch] ; +0x6c, 0x10039001c xorps xmm1, xmm1 ; +0x70, 0x100390020 mov rdi, r12 ; +0x73, 0x100390023 call sub_100278250 ; +0x76, 0x100390026 mov rax, [r15] ; +0x7b, 0x10039002b mov rdi, r15 ; +0x7e, 0x10039002e mov rsi, r12 ; +0x81, 0x100390031 call qword ptr [rax+0B8h] ; +0x84, 0x100390034 mov eax, [r14+24Ch] ; +0x8a, 0x10039003a mov [r14+1A8h], eax ; +0x91, 0x100390041 mov [r14+24Ch], ebx ; +0x98, 0x100390048 add rsp, 10h ; +0x9f, 0x10039004f pop rbx ; +0xa3, 0x100390053 pop r12 ; +0xa4, 0x100390054 pop r14 ; +0xa6, 0x100390056 pop r15 ; +0xa8, 0x100390058 pop rbp ; +0xaa, 0x10039005a retn ; +0xab, 0x10039005b