; ; BrowseSmartTemplateLayer::goToPage from 0x1004e9ef0 to 0x1004ea048 (344 bytes) ; ; 3 xrefs: ; > BrowseSmartTemplateLayer::init @ 0x1004e94f2 ; > BrowseSmartTemplateLayer::onClick @ 0x1004ea437 ; > BrowseSmartKeyLayer::init @ 0x1004eb312 ; ; 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, 0x1004e9ef0 mov rbp, rsp ; +0x1, 0x1004e9ef1 push r15 ; +0x4, 0x1004e9ef4 push r14 ; +0x6, 0x1004e9ef6 push r13 ; +0x8, 0x1004e9ef8 push r12 ; +0xa, 0x1004e9efa push rbx ; +0xc, 0x1004e9efc sub rsp, 18h ; +0xd, 0x1004e9efd mov r14d, esi ; +0x11, 0x1004e9f01 mov rbx, rdi ; +0x14, 0x1004e9f04 mov [rdi+288h], esi ; +0x17, 0x1004e9f07 mov rdi, [rdi+280h] ; +0x1d, 0x1004e9f0d call sub_100720070 ; +0x24, 0x1004e9f14 dec eax ; +0x29, 0x1004e9f19 test r14d, r14d ; +0x2b, 0x1004e9f1b js short loc_1004E9F2A ; +0x2e, 0x1004e9f1e cmp eax, r14d ; +0x30, 0x1004e9f20 mov eax, 0 ; +0x33, 0x1004e9f23 jnb short loc_1004E9F30 ; +0x38, 0x1004e9f28 mov [rbx+288h], eax ; +0x3a, 0x1004e9f2a mov rdi, [rbx+280h] ; +0x40, 0x1004e9f30 call sub_100720070 ; +0x47, 0x1004e9f37 test eax, eax ; +0x4c, 0x1004e9f3c jz loc_1004E9FEC ; +0x4e, 0x1004e9f3e xor r14d, r14d ; +0x54, 0x1004e9f44 mov [rbp+var_38], rbx ; +0x57, 0x1004e9f47 jmp short loc_1004E9F6C ; +0x5b, 0x1004e9f4b align 10h ; +0x5d, 0x1004e9f4d inc r14d ; +0x60, 0x1004e9f50 mov rbx, [rbp+var_38] ; +0x63, 0x1004e9f53 mov rdi, [rbx+280h] ; +0x67, 0x1004e9f57 call sub_100720070 ; +0x6e, 0x1004e9f5e cmp r14d, eax ; +0x73, 0x1004e9f63 jnb loc_1004E9FEC ; +0x76, 0x1004e9f66 mov eax, [rbx+288h] ; +0x7c, 0x1004e9f6c mov [rbp+var_2C], eax ; +0x82, 0x1004e9f72 mov rdi, [rbx+280h] ; +0x85, 0x1004e9f75 mov esi, r14d ; +0x8c, 0x1004e9f7c call sub_1007200C0 ; +0x8f, 0x1004e9f7f mov r15, rax ; +0x94, 0x1004e9f84 mov rdi, rax ; +0x97, 0x1004e9f87 call sub_100720070 ; +0x9a, 0x1004e9f8a test eax, eax ; +0x9f, 0x1004e9f8f jz short loc_1004E9F50 ; +0xa1, 0x1004e9f91 xor r12d, r12d ; +0xa3, 0x1004e9f93 nop word ptr [rax+rax+00000000h] ; +0xa6, 0x1004e9f96 xor r13d, r13d ; +0xb0, 0x1004e9fa0 cmp [rbp+var_2C], r14d ; +0xb3, 0x1004e9fa3 setz r13b ; +0xb7, 0x1004e9fa7 mov rdi, r15 ; +0xbb, 0x1004e9fab mov esi, r12d ; +0xbe, 0x1004e9fae call sub_1007200C0 ; +0xc1, 0x1004e9fb1 mov rbx, rax ; +0xc6, 0x1004e9fb6 mov rax, [rax] ; +0xc9, 0x1004e9fb9 mov rdi, rbx ; +0xcc, 0x1004e9fbc mov esi, r13d ; +0xcf, 0x1004e9fbf call qword ptr [rax+148h] ; +0xd2, 0x1004e9fc2 mov rax, [rbx] ; +0xd8, 0x1004e9fc8 mov rdi, rbx ; +0xdb, 0x1004e9fcb mov esi, r13d ; +0xde, 0x1004e9fce call qword ptr [rax+410h] ; +0xe1, 0x1004e9fd1 inc r12d ; +0xe7, 0x1004e9fd7 mov rdi, r15 ; +0xea, 0x1004e9fda call sub_100720070 ; +0xed, 0x1004e9fdd cmp r12d, eax ; +0xf2, 0x1004e9fe2 jb short loc_1004E9FA0 ; +0xf5, 0x1004e9fe5 jmp loc_1004E9F50 ; +0xf7, 0x1004e9fe7 mov rdi, [rbx+280h] ; +0xfc, 0x1004e9fec call sub_100720070 ; +0x103, 0x1004e9ff3 cmp eax, 2 ; +0x108, 0x1004e9ff8 jnb short loc_1004EA032 ; +0x10b, 0x1004e9ffb mov rdi, [rbx+298h] ; +0x10d, 0x1004e9ffd mov rax, [rdi] ; +0x114, 0x1004ea004 xor esi, esi ; +0x117, 0x1004ea007 call qword ptr [rax+148h] ; +0x119, 0x1004ea009 mov rdi, [rbx+290h] ; +0x11f, 0x1004ea00f mov rax, [rdi] ; +0x126, 0x1004ea016 mov rax, [rax+148h] ; +0x129, 0x1004ea019 xor esi, esi ; +0x130, 0x1004ea020 add rsp, 18h ; +0x132, 0x1004ea022 pop rbx ; +0x136, 0x1004ea026 pop r12 ; +0x137, 0x1004ea027 pop r13 ; +0x139, 0x1004ea029 pop r14 ; +0x13b, 0x1004ea02b pop r15 ; +0x13d, 0x1004ea02d pop rbp ; +0x13f, 0x1004ea02f jmp rax ; +0x140, 0x1004ea030 mov rdi, rbx ; +0x142, 0x1004ea032 add rsp, 18h ; +0x145, 0x1004ea035 pop rbx ; +0x149, 0x1004ea039 pop r12 ; +0x14a, 0x1004ea03a pop r13 ; +0x14c, 0x1004ea03c pop r14 ; +0x14e, 0x1004ea03e pop r15 ; +0x150, 0x1004ea040 pop rbp ; +0x152, 0x1004ea042 jmp BrowseSmartTemplateLayer__updateDots ; +0x153, 0x1004ea043