; ; BrowseSmartTemplateLayer::onClick from 0x1004e4ec0 to 0x1004e4f03 (67 bytes) ; ; 2 xrefs: ; > BrowseSmartTemplateLayer::baseSetup @ 0x1004e4343 ; > BrowseSmartTemplateLayer::baseSetup @ 0x1004e43f3 ; ; 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, 0x1004e4ec0 mov rbp, rsp ; +0x1, 0x1004e4ec1 push rbx ; +0x4, 0x1004e4ec4 push rax ; +0x5, 0x1004e4ec5 mov rbx, rdi ; +0x6, 0x1004e4ec6 mov rax, [rsi] ; +0x9, 0x1004e4ec9 mov rdi, rsi ; +0xc, 0x1004e4ecc call qword ptr [rax+40h] ; +0xf, 0x1004e4ecf cmp eax, 1 ; +0x12, 0x1004e4ed2 jz short loc_1004E4EE3 ; +0x15, 0x1004e4ed5 cmp eax, 2 ; +0x17, 0x1004e4ed7 jnz short loc_1004E4EFC ; +0x1a, 0x1004e4eda mov esi, 1 ; +0x1c, 0x1004e4edc jmp short loc_1004E4EE8 ; +0x21, 0x1004e4ee1 mov esi, 0FFFFFFFFh ; +0x23, 0x1004e4ee3 add esi, [rbx+2A8h] ; +0x28, 0x1004e4ee8 mov rdi, rbx ; +0x2e, 0x1004e4eee add rsp, 8 ; +0x31, 0x1004e4ef1 pop rbx ; +0x35, 0x1004e4ef5 pop rbp ; +0x36, 0x1004e4ef6 jmp BrowseSmartTemplateLayer__goToPage ; +0x37, 0x1004e4ef7 add rsp, 8 ; +0x3c, 0x1004e4efc pop rbx ; +0x40, 0x1004e4f00 pop rbp ; +0x41, 0x1004e4f01 retn ; +0x42, 0x1004e4f02