; ; BrowseSmartTemplateLayer::goToPage from 0x1405f09a0 to 0x1405f0b0e (366 bytes) ; ; 7 xrefs: ; > BrowseSmartTemplateLayer::init @ 0x1405efe3f ; > BrowseSmartTemplateLayer::onClick @ 0x1405f0edc ; > BrowseSmartTemplateLayer::onClick @ 0x1405f0ef1 ; > BrowseSmartKeyLayer::init @ 0x1405f1534 ; > @ 0x1408e3110 ; > @ 0x1408e3150 ; > @ 0x14092f21c ; ; 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 11:35:05 +0000 ; push rbx ; +0x0, 0x1405f09a0 sub rsp, 30h ; +0x2, 0x1405f09a2 mov [rcx+2A8h], edx ; +0x6, 0x1405f09a6 mov rbx, rcx ; +0xc, 0x1405f09ac mov rcx, [rcx+2A0h] ; +0xf, 0x1405f09af mov [rsp+38h+arg_0], rbp ; +0x16, 0x1405f09b6 test edx, edx ; +0x1b, 0x1405f09bb jns short loc_1405F09CF ; +0x1d, 0x1405f09bd call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1f, 0x1405f09bf dec eax ; +0x25, 0x1405f09c5 mov [rbx+2A8h], eax ; +0x27, 0x1405f09c7 jmp short loc_1405F09E9 ; +0x2d, 0x1405f09cd call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x2f, 0x1405f09cf dec eax ; +0x35, 0x1405f09d5 cmp [rbx+2A8h], eax ; +0x37, 0x1405f09d7 jbe short loc_1405F09E9 ; +0x3d, 0x1405f09dd mov dword ptr [rbx+2A8h], 0 ; +0x3f, 0x1405f09df mov rcx, [rbx+2A0h] ; +0x49, 0x1405f09e9 xor ebp, ebp ; +0x50, 0x1405f09f0 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x52, 0x1405f09f2 test eax, eax ; +0x58, 0x1405f09f8 jz loc_1405F0AC0 ; +0x5a, 0x1405f09fa mov [rsp+38h+arg_8], rsi ; +0x60, 0x1405f0a00 mov [rsp+38h+arg_10], rdi ; +0x65, 0x1405f0a05 mov [rsp+38h+var_10], r14 ; +0x6a, 0x1405f0a0a mov [rsp+38h+var_18], r15 ; +0x6f, 0x1405f0a0f nop dword ptr [rax+00h] ; +0x74, 0x1405f0a14 nop dword ptr [rax+rax+00000000h] ; +0x78, 0x1405f0a18 cmp [rbx+2A8h], ebp ; +0x80, 0x1405f0a20 mov edx, ebp ; +0x86, 0x1405f0a26 mov rcx, [rbx+2A0h] ; +0x88, 0x1405f0a28 setz r15b ; +0x8f, 0x1405f0a2f call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x93, 0x1405f0a33 mov rcx, rax ; +0x99, 0x1405f0a39 mov r14, rax ; +0x9c, 0x1405f0a3c xor esi, esi ; +0x9f, 0x1405f0a3f call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xa1, 0x1405f0a41 test eax, eax ; +0xa7, 0x1405f0a47 jz short loc_1405F0A95 ; +0xa9, 0x1405f0a49 nop dword ptr [rax+rax+00h] ; +0xab, 0x1405f0a4b mov edx, esi ; +0xb0, 0x1405f0a50 mov rcx, r14 ; +0xb2, 0x1405f0a52 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0xb5, 0x1405f0a55 movzx edx, r15b ; +0xbb, 0x1405f0a5b mov rdi, rax ; +0xbf, 0x1405f0a5f mov rcx, [rax] ; +0xc2, 0x1405f0a62 mov r8, [rcx+150h] ; +0xc5, 0x1405f0a65 mov rcx, rax ; +0xcc, 0x1405f0a6c call r8 ; +0xcf, 0x1405f0a6f mov rcx, [rdi] ; +0xd2, 0x1405f0a72 movzx edx, r15b ; +0xd5, 0x1405f0a75 mov r8, [rcx+3A8h] ; +0xd9, 0x1405f0a79 mov rcx, rdi ; +0xe0, 0x1405f0a80 call r8 ; +0xe3, 0x1405f0a83 mov rcx, r14 ; +0xe6, 0x1405f0a86 inc esi ; +0xe9, 0x1405f0a89 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xeb, 0x1405f0a8b cmp esi, eax ; +0xf1, 0x1405f0a91 jb short loc_1405F0A50 ; +0xf3, 0x1405f0a93 mov rcx, [rbx+2A0h] ; +0xf5, 0x1405f0a95 inc ebp ; +0xfc, 0x1405f0a9c call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xfe, 0x1405f0a9e cmp ebp, eax ; +0x104, 0x1405f0aa4 jb loc_1405F0A20 ; +0x106, 0x1405f0aa6 mov r15, [rsp+38h+var_18] ; +0x10c, 0x1405f0aac mov r14, [rsp+38h+var_10] ; +0x111, 0x1405f0ab1 mov rdi, [rsp+38h+arg_10] ; +0x116, 0x1405f0ab6 mov rsi, [rsp+38h+arg_8] ; +0x11b, 0x1405f0abb mov rcx, [rbx+2A0h] ; +0x120, 0x1405f0ac0 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x127, 0x1405f0ac7 mov rbp, [rsp+38h+arg_0] ; +0x12d, 0x1405f0acd cmp eax, 1 ; +0x132, 0x1405f0ad2 ja short loc_1405F0B01 ; +0x135, 0x1405f0ad5 mov rcx, [rbx+2B8h] ; +0x137, 0x1405f0ad7 xor edx, edx ; +0x13e, 0x1405f0ade mov rax, [rcx] ; +0x140, 0x1405f0ae0 call qword ptr [rax+150h] ; +0x143, 0x1405f0ae3 mov rcx, [rbx+2B0h] ; +0x149, 0x1405f0ae9 xor edx, edx ; +0x150, 0x1405f0af0 mov rax, [rcx] ; +0x152, 0x1405f0af2 add rsp, 30h ; +0x155, 0x1405f0af5 pop rbx ; +0x159, 0x1405f0af9 jmp qword ptr [rax+150h] ; +0x15a, 0x1405f0afa mov rcx, rbx ; +0x161, 0x1405f0b01 add rsp, 30h ; +0x164, 0x1405f0b04 pop rbx ; +0x168, 0x1405f0b08 jmp BrowseSmartTemplateLayer__updateDots ; +0x169, 0x1405f0b09