; ; BoomScrollLayer::getRelativePageForNum from 0x10038f990 to 0x10038f9eb (91 bytes) ; ; 4 xrefs: ; > ListButtonBar::getPage @ 0x1003dd902 ; > EditButtonBar::onDotClicked @ 0x1006b4ae9 ; > EditButtonBar::updateDotState @ 0x1006b4ba5 ; > EditButtonBar::getPage @ 0x1006b4cc2 ; ; 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 ; push rbp ; +0x0, 0x10038f990 mov rbp, rsp ; +0x1, 0x10038f991 push rbx ; +0x4, 0x10038f994 push rax ; +0x5, 0x10038f995 mov ebx, esi ; +0x6, 0x10038f996 movzx eax, byte ptr [rdi+1C8h] ; +0x8, 0x10038f998 xor eax, 1 ; +0xf, 0x10038f99f shl eax, 5 ; +0x12, 0x10038f9a2 mov rdi, [rdi+rax+1C0h] ; +0x15, 0x10038f9a5 call sub_1007FEF90 ; +0x1d, 0x10038f9ad mov ecx, eax ; +0x22, 0x10038f9b2 test ebx, ebx ; +0x24, 0x10038f9b4 jle short loc_10038F9C6 ; +0x26, 0x10038f9b6 mov eax, ebx ; +0x28, 0x10038f9b8 cdq ; +0x2a, 0x10038f9ba idiv ecx ; +0x2b, 0x10038f9bb mov eax, edx ; +0x2d, 0x10038f9bd add rsp, 8 ; +0x2f, 0x10038f9bf pop rbx ; +0x33, 0x10038f9c3 pop rbp ; +0x34, 0x10038f9c4 retn ; +0x35, 0x10038f9c5 setnz al ; +0x36, 0x10038f9c6 movzx esi, al ; +0x39, 0x10038f9c9 lea eax, [rsi+rbx] ; +0x3c, 0x10038f9cc neg eax ; +0x3f, 0x10038f9cf cmp ecx, 1 ; +0x41, 0x10038f9d1 mov edi, ecx ; +0x44, 0x10038f9d4 adc edi, 0 ; +0x46, 0x10038f9d6 xor edx, edx ; +0x49, 0x10038f9d9 div edi ; +0x4b, 0x10038f9db add eax, esi ; +0x4d, 0x10038f9dd imul eax, ecx ; +0x4f, 0x10038f9df add eax, ebx ; +0x52, 0x10038f9e2 add rsp, 8 ; +0x54, 0x10038f9e4 pop rbx ; +0x58, 0x10038f9e8 pop rbp ; +0x59, 0x10038f9e9 retn ; +0x5a, 0x10038f9ea