; ; GJSmartTemplate::isUnrequired from 0x1402b4db0 to 0x1402b4f4e (414 bytes) ; ; 4 xrefs: ; > GJSmartTemplate::logTemplateStatus @ 0x1402b4bf0 ; > GJSmartTemplate::getTemplateState @ 0x1402b5222 ; > BrowseSmartTemplateLayer::init @ 0x14045a1bd ; > @ 0x1406d2414 ; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x1402b4db0 mov [rsp+arg_10], rbp ; +0x5, 0x1402b4db5 mov [rsp+arg_18], rsi ; +0xa, 0x1402b4dba push rdi ; +0xf, 0x1402b4dbf sub rsp, 30h ; +0x10, 0x1402b4dc0 mov rax, cs:__security_cookie ; +0x14, 0x1402b4dc4 xor rax, rsp ; +0x1b, 0x1402b4dcb mov [rsp+38h+var_10], rax ; +0x1e, 0x1402b4dce mov [rsp+38h+var_18], rdx ; +0x23, 0x1402b4dd3 mov rcx, [rdx+10h] ; +0x28, 0x1402b4dd8 cmp rcx, 1 ; +0x2c, 0x1402b4ddc jbe loc_1402B4F48 ; +0x30, 0x1402b4de0 mov r8, rdx ; +0x36, 0x1402b4de6 mov rax, [rdx+18h] ; +0x39, 0x1402b4de9 cmp rax, 0Fh ; +0x3d, 0x1402b4ded jbe short loc_1402B4DF6 ; +0x41, 0x1402b4df1 mov r8, [rdx] ; +0x43, 0x1402b4df3 movzx edi, byte ptr [r8+1] ; +0x46, 0x1402b4df6 cmp rcx, 2 ; +0x4b, 0x1402b4dfb jbe loc_1402B4F48 ; +0x4f, 0x1402b4dff mov r8, rdx ; +0x55, 0x1402b4e05 cmp rax, 0Fh ; +0x58, 0x1402b4e08 jbe short loc_1402B4E11 ; +0x5c, 0x1402b4e0c mov r8, [rdx] ; +0x5e, 0x1402b4e0e movzx r10d, byte ptr [r8+2] ; +0x61, 0x1402b4e11 cmp rcx, 3 ; +0x66, 0x1402b4e16 jbe loc_1402B4F48 ; +0x6a, 0x1402b4e1a mov r8, rdx ; +0x70, 0x1402b4e20 cmp rax, 0Fh ; +0x73, 0x1402b4e23 jbe short loc_1402B4E2C ; +0x77, 0x1402b4e27 mov r8, [rdx] ; +0x79, 0x1402b4e29 movzx r11d, byte ptr [r8+3] ; +0x7c, 0x1402b4e2c cmp rcx, 4 ; +0x81, 0x1402b4e31 jbe loc_1402B4F48 ; +0x85, 0x1402b4e35 mov r8, rdx ; +0x8b, 0x1402b4e3b cmp rax, 0Fh ; +0x8e, 0x1402b4e3e jbe short loc_1402B4E47 ; +0x92, 0x1402b4e42 mov r8, [rdx] ; +0x94, 0x1402b4e44 movzx r9d, byte ptr [r8+4] ; +0x97, 0x1402b4e47 cmp rcx, 5 ; +0x9c, 0x1402b4e4c jbe loc_1402B4F48 ; +0xa0, 0x1402b4e50 mov r8, rdx ; +0xa6, 0x1402b4e56 cmp rax, 0Fh ; +0xa9, 0x1402b4e59 jbe short loc_1402B4E62 ; +0xad, 0x1402b4e5d mov r8, [rdx] ; +0xaf, 0x1402b4e5f movzx ebp, byte ptr [r8+5] ; +0xb2, 0x1402b4e62 cmp rcx, 6 ; +0xb7, 0x1402b4e67 jbe loc_1402B4F48 ; +0xbb, 0x1402b4e6b mov r8, rdx ; +0xc1, 0x1402b4e71 cmp rax, 0Fh ; +0xc4, 0x1402b4e74 jbe short loc_1402B4E7D ; +0xc8, 0x1402b4e78 mov r8, [rdx] ; +0xca, 0x1402b4e7a movzx esi, byte ptr [r8+6] ; +0xcd, 0x1402b4e7d cmp rcx, 7 ; +0xd2, 0x1402b4e82 jbe loc_1402B4F48 ; +0xd6, 0x1402b4e86 mov r8, rdx ; +0xdc, 0x1402b4e8c cmp rax, 0Fh ; +0xdf, 0x1402b4e8f jbe short loc_1402B4E98 ; +0xe3, 0x1402b4e93 mov r8, [rdx] ; +0xe5, 0x1402b4e95 cmp rcx, 8 ; +0xe8, 0x1402b4e98 jbe loc_1402B4F48 ; +0xec, 0x1402b4e9c mov rcx, rdx ; +0xf2, 0x1402b4ea2 cmp rax, 0Fh ; +0xf5, 0x1402b4ea5 jbe short loc_1402B4EAE ; +0xf9, 0x1402b4ea9 mov rcx, [rdx] ; +0xfb, 0x1402b4eab xor bl, bl ; +0xfe, 0x1402b4eae cmp bpl, 30h ; '0' ; +0x100, 0x1402b4eb0 jz short loc_1402B4EC2 ; +0x104, 0x1402b4eb4 cmp dil, 30h ; '0' ; +0x106, 0x1402b4eb6 jz short loc_1402B4EF9 ; +0x10a, 0x1402b4eba cmp r11b, 30h ; '0' ; +0x10c, 0x1402b4ebc jz short loc_1402B4EF9 ; +0x110, 0x1402b4ec0 cmp sil, 30h ; '0' ; +0x112, 0x1402b4ec2 jz short loc_1402B4ED4 ; +0x116, 0x1402b4ec6 cmp dil, 30h ; '0' ; +0x118, 0x1402b4ec8 jz short loc_1402B4EF9 ; +0x11c, 0x1402b4ecc cmp r9b, 30h ; '0' ; +0x11e, 0x1402b4ece jz short loc_1402B4EF9 ; +0x122, 0x1402b4ed2 cmp byte ptr [r8+7], 30h ; '0' ; +0x124, 0x1402b4ed4 jz short loc_1402B4EE7 ; +0x129, 0x1402b4ed9 cmp r10b, 30h ; '0' ; +0x12b, 0x1402b4edb jz short loc_1402B4EF9 ; +0x12f, 0x1402b4edf cmp r11b, 30h ; '0' ; +0x131, 0x1402b4ee1 jz short loc_1402B4EF9 ; +0x135, 0x1402b4ee5 cmp byte ptr [rcx+8], 30h ; '0' ; +0x137, 0x1402b4ee7 jz short loc_1402B4EFD ; +0x13b, 0x1402b4eeb cmp r10b, 30h ; '0' ; +0x13d, 0x1402b4eed jz short loc_1402B4EF9 ; +0x141, 0x1402b4ef1 cmp r9b, 30h ; '0' ; +0x143, 0x1402b4ef3 jnz short loc_1402B4EFD ; +0x147, 0x1402b4ef7 mov bl, 1 ; +0x149, 0x1402b4ef9 jmp short loc_1402B4F1B ; +0x14b, 0x1402b4efb cmp dil, 30h ; '0' ; +0x14d, 0x1402b4efd jnz short loc_1402B4F1B ; +0x151, 0x1402b4f01 cmp r10b, dil ; +0x153, 0x1402b4f03 jnz short loc_1402B4F1B ; +0x156, 0x1402b4f06 cmp r11b, dil ; +0x158, 0x1402b4f08 jnz short loc_1402B4F1B ; +0x15b, 0x1402b4f0b movzx ebx, bl ; +0x15d, 0x1402b4f0d mov eax, 1 ; +0x160, 0x1402b4f10 cmp r9b, dil ; +0x165, 0x1402b4f15 cmovz ebx, eax ; +0x168, 0x1402b4f18 mov rcx, rdx ; +0x16b, 0x1402b4f1b call sub_14003A830 ; +0x16e, 0x1402b4f1e movzx eax, bl ; +0x173, 0x1402b4f23 mov rcx, [rsp+38h+var_10] ; +0x176, 0x1402b4f26 xor rcx, rsp; StackCookie ; +0x17b, 0x1402b4f2b call __security_check_cookie ; +0x17e, 0x1402b4f2e mov rbx, [rsp+38h+arg_0] ; +0x183, 0x1402b4f33 mov rbp, [rsp+38h+arg_10] ; +0x188, 0x1402b4f38 mov rsi, [rsp+38h+arg_18] ; +0x18d, 0x1402b4f3d add rsp, 30h ; +0x192, 0x1402b4f42 pop rdi ; +0x196, 0x1402b4f46 retn ; +0x197, 0x1402b4f47 call sub_14003BCC0 ; +0x198, 0x1402b4f48 align 2 ; +0x19d, 0x1402b4f4d