; ; BoomScrollLayer::getRelativePageForNum from 0x1003a6270 to 0x1003a62cb (91 bytes) ; ; 2 xrefs: ; > ListButtonBar::getPage @ 0x1003f0482 ; > EditButtonBar::getPage @ 0x1005e2552 ; ; 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 ; push rbp ; +0x0, 0x1003a6270 mov rbp, rsp ; +0x1, 0x1003a6271 push rbx ; +0x4, 0x1003a6274 push rax ; +0x5, 0x1003a6275 mov ebx, esi ; +0x6, 0x1003a6276 movzx eax, byte ptr [rdi+1C0h] ; +0x8, 0x1003a6278 xor eax, 1 ; +0xf, 0x1003a627f shl eax, 5 ; +0x12, 0x1003a6282 mov rdi, [rax+rdi+1B8h] ; +0x15, 0x1003a6285 call sub_100720070 ; +0x1d, 0x1003a628d mov ecx, eax ; +0x22, 0x1003a6292 test ebx, ebx ; +0x24, 0x1003a6294 jle short loc_1003A62A6 ; +0x26, 0x1003a6296 mov eax, ebx ; +0x28, 0x1003a6298 cdq ; +0x2a, 0x1003a629a idiv ecx ; +0x2b, 0x1003a629b mov eax, edx ; +0x2d, 0x1003a629d add rsp, 8 ; +0x2f, 0x1003a629f pop rbx ; +0x33, 0x1003a62a3 pop rbp ; +0x34, 0x1003a62a4 retn ; +0x35, 0x1003a62a5 setnz al ; +0x36, 0x1003a62a6 movzx esi, al ; +0x39, 0x1003a62a9 lea eax, [rsi+rbx] ; +0x3c, 0x1003a62ac neg eax ; +0x3f, 0x1003a62af cmp ecx, 1 ; +0x41, 0x1003a62b1 mov edi, ecx ; +0x44, 0x1003a62b4 adc edi, 0 ; +0x46, 0x1003a62b6 xor edx, edx ; +0x49, 0x1003a62b9 div edi ; +0x4b, 0x1003a62bb add eax, esi ; +0x4d, 0x1003a62bd imul eax, ecx ; +0x4f, 0x1003a62bf add eax, ebx ; +0x52, 0x1003a62c2 add rsp, 8 ; +0x54, 0x1003a62c4 pop rbx ; +0x58, 0x1003a62c8 pop rbp ; +0x59, 0x1003a62c9 retn ; +0x5a, 0x1003a62ca