; ; BrowseSmartTemplateLayer::goToPage from 0x1004e49b0 to 0x1004e4b08 (344 bytes) ; ; 3 xrefs: ; > BrowseSmartTemplateLayer::init @ 0x1004e3fb2 ; > BrowseSmartTemplateLayer::onClick @ 0x1004e4ef7 ; > BrowseSmartKeyLayer::init @ 0x1004e5ea2 ; ; 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:31:19 +0000 ; push rbp ; +0x0, 0x1004e49b0 mov rbp, rsp ; +0x1, 0x1004e49b1 push r15 ; +0x4, 0x1004e49b4 push r14 ; +0x6, 0x1004e49b6 push r13 ; +0x8, 0x1004e49b8 push r12 ; +0xa, 0x1004e49ba push rbx ; +0xc, 0x1004e49bc sub rsp, 18h ; +0xd, 0x1004e49bd mov r14d, esi ; +0x11, 0x1004e49c1 mov rbx, rdi ; +0x14, 0x1004e49c4 mov [rdi+2A8h], esi ; +0x17, 0x1004e49c7 mov rdi, [rdi+2A0h] ; +0x1d, 0x1004e49cd call sub_1007FEF90 ; +0x24, 0x1004e49d4 dec eax ; +0x29, 0x1004e49d9 test r14d, r14d ; +0x2b, 0x1004e49db js short loc_1004E49EA ; +0x2e, 0x1004e49de cmp eax, r14d ; +0x30, 0x1004e49e0 mov eax, 0 ; +0x33, 0x1004e49e3 jnb short loc_1004E49F0 ; +0x38, 0x1004e49e8 mov [rbx+2A8h], eax ; +0x3a, 0x1004e49ea mov rdi, [rbx+2A0h] ; +0x40, 0x1004e49f0 call sub_1007FEF90 ; +0x47, 0x1004e49f7 test eax, eax ; +0x4c, 0x1004e49fc jz loc_1004E4AAC ; +0x4e, 0x1004e49fe xor r14d, r14d ; +0x54, 0x1004e4a04 mov [rbp+var_38], rbx ; +0x57, 0x1004e4a07 jmp short loc_1004E4A2C ; +0x5b, 0x1004e4a0b align 10h ; +0x5d, 0x1004e4a0d inc r14d ; +0x60, 0x1004e4a10 mov rbx, [rbp+var_38] ; +0x63, 0x1004e4a13 mov rdi, [rbx+2A0h] ; +0x67, 0x1004e4a17 call sub_1007FEF90 ; +0x6e, 0x1004e4a1e cmp r14d, eax ; +0x73, 0x1004e4a23 jnb loc_1004E4AAC ; +0x76, 0x1004e4a26 mov eax, [rbx+2A8h] ; +0x7c, 0x1004e4a2c mov [rbp+var_2C], eax ; +0x82, 0x1004e4a32 mov rdi, [rbx+2A0h] ; +0x85, 0x1004e4a35 mov esi, r14d ; +0x8c, 0x1004e4a3c call sub_1007FEFE0 ; +0x8f, 0x1004e4a3f mov r15, rax ; +0x94, 0x1004e4a44 mov rdi, rax ; +0x97, 0x1004e4a47 call sub_1007FEF90 ; +0x9a, 0x1004e4a4a test eax, eax ; +0x9f, 0x1004e4a4f jz short loc_1004E4A10 ; +0xa1, 0x1004e4a51 xor r12d, r12d ; +0xa3, 0x1004e4a53 nop word ptr [rax+rax+00000000h] ; +0xa6, 0x1004e4a56 xor r13d, r13d ; +0xb0, 0x1004e4a60 cmp [rbp+var_2C], r14d ; +0xb3, 0x1004e4a63 setz r13b ; +0xb7, 0x1004e4a67 mov rdi, r15 ; +0xbb, 0x1004e4a6b mov esi, r12d ; +0xbe, 0x1004e4a6e call sub_1007FEFE0 ; +0xc1, 0x1004e4a71 mov rbx, rax ; +0xc6, 0x1004e4a76 mov rax, [rax] ; +0xc9, 0x1004e4a79 mov rdi, rbx ; +0xcc, 0x1004e4a7c mov esi, r13d ; +0xcf, 0x1004e4a7f call qword ptr [rax+158h] ; +0xd2, 0x1004e4a82 mov rax, [rbx] ; +0xd8, 0x1004e4a88 mov rdi, rbx ; +0xdb, 0x1004e4a8b mov esi, r13d ; +0xde, 0x1004e4a8e call qword ptr [rax+420h] ; +0xe1, 0x1004e4a91 inc r12d ; +0xe7, 0x1004e4a97 mov rdi, r15 ; +0xea, 0x1004e4a9a call sub_1007FEF90 ; +0xed, 0x1004e4a9d cmp r12d, eax ; +0xf2, 0x1004e4aa2 jb short loc_1004E4A60 ; +0xf5, 0x1004e4aa5 jmp loc_1004E4A10 ; +0xf7, 0x1004e4aa7 mov rdi, [rbx+2A0h] ; +0xfc, 0x1004e4aac call sub_1007FEF90 ; +0x103, 0x1004e4ab3 cmp eax, 2 ; +0x108, 0x1004e4ab8 jnb short loc_1004E4AF2 ; +0x10b, 0x1004e4abb mov rdi, [rbx+2B8h] ; +0x10d, 0x1004e4abd mov rax, [rdi] ; +0x114, 0x1004e4ac4 xor esi, esi ; +0x117, 0x1004e4ac7 call qword ptr [rax+158h] ; +0x119, 0x1004e4ac9 mov rdi, [rbx+2B0h] ; +0x11f, 0x1004e4acf mov rax, [rdi] ; +0x126, 0x1004e4ad6 mov rax, [rax+158h] ; +0x129, 0x1004e4ad9 xor esi, esi ; +0x130, 0x1004e4ae0 add rsp, 18h ; +0x132, 0x1004e4ae2 pop rbx ; +0x136, 0x1004e4ae6 pop r12 ; +0x137, 0x1004e4ae7 pop r13 ; +0x139, 0x1004e4ae9 pop r14 ; +0x13b, 0x1004e4aeb pop r15 ; +0x13d, 0x1004e4aed pop rbp ; +0x13f, 0x1004e4aef jmp rax ; +0x140, 0x1004e4af0 mov rdi, rbx ; +0x142, 0x1004e4af2 add rsp, 18h ; +0x145, 0x1004e4af5 pop rbx ; +0x149, 0x1004e4af9 pop r12 ; +0x14a, 0x1004e4afa pop r13 ; +0x14c, 0x1004e4afc pop r14 ; +0x14e, 0x1004e4afe pop r15 ; +0x150, 0x1004e4b00 pop rbp ; +0x152, 0x1004e4b02 jmp BrowseSmartTemplateLayer__updateDots ; +0x153, 0x1004e4b03