; ; BrowseSmartKeyLayer::deletedSelectedItems from 0x1405f1bf0 to 0x1405f1d9d (429 bytes) ; ; 2 xrefs: ; > BrowseSmartKeyLayer::onButton @ 0x1405f1a85 ; > @ 0x14092f2a0 ; ; 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:06 +0000 ; mov [rsp+arg_18], rbx ; +0x0, 0x1405f1bf0 push rbp ; +0x5, 0x1405f1bf5 push rsi ; +0x6, 0x1405f1bf6 push rdi ; +0x7, 0x1405f1bf7 push r12 ; +0x8, 0x1405f1bf8 push r13 ; +0xa, 0x1405f1bfa push r14 ; +0xc, 0x1405f1bfc push r15 ; +0xe, 0x1405f1bfe sub rsp, 40h ; +0x10, 0x1405f1c00 mov r13, rcx ; +0x14, 0x1405f1c04 xor ebx, ebx ; +0x17, 0x1405f1c07 mov [rsp+78h+arg_0], ebx ; +0x19, 0x1405f1c09 mov rcx, [rcx+2A0h] ; +0x20, 0x1405f1c10 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x27, 0x1405f1c17 test eax, eax ; +0x2d, 0x1405f1c1d jz loc_1405F1D7E ; +0x2f, 0x1405f1c1f nop word ptr [rax+rax+00000000h] ; +0x35, 0x1405f1c25 mov edx, ebx ; +0x40, 0x1405f1c30 mov rcx, [r13+2A0h] ; +0x42, 0x1405f1c32 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x49, 0x1405f1c39 mov r15, rax ; +0x4f, 0x1405f1c3f xor esi, esi ; +0x52, 0x1405f1c42 mov rcx, rax ; +0x54, 0x1405f1c44 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x57, 0x1405f1c47 test eax, eax ; +0x5d, 0x1405f1c4d jz loc_1405F1D60 ; +0x5f, 0x1405f1c4f mov edx, esi ; +0x65, 0x1405f1c55 mov rcx, r15 ; +0x67, 0x1405f1c57 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x6a, 0x1405f1c5a mov r14, rax ; +0x70, 0x1405f1c60 mov rcx, [rax] ; +0x73, 0x1405f1c63 mov rdx, [rcx+3B8h] ; +0x76, 0x1405f1c66 mov rcx, rax ; +0x7d, 0x1405f1c6d call rdx ; +0x80, 0x1405f1c70 mov rbx, rax ; +0x82, 0x1405f1c72 cmp byte ptr [rax+170h], 0 ; +0x85, 0x1405f1c75 jz loc_1405F1D46 ; +0x8c, 0x1405f1c7c lea rax, [rsp+78h+var_58] ; +0x92, 0x1405f1c82 mov [rsp+78h+arg_8], rax ; +0x97, 0x1405f1c87 lea rdx, [r13+2C8h] ; +0x9f, 0x1405f1c8f lea rcx, [rsp+78h+var_58] ; +0xa6, 0x1405f1c96 call sub_14003F4F0 ; +0xab, 0x1405f1c9b mov r12, rax ; +0xb0, 0x1405f1ca0 mov [rsp+78h+arg_10], rax ; +0xb3, 0x1405f1ca3 mov rcx, [rbx] ; +0xbb, 0x1405f1cab mov rdx, [rcx+38h] ; +0xbe, 0x1405f1cae mov rcx, rbx ; +0xc2, 0x1405f1cb2 call rdx ; +0xc5, 0x1405f1cb5 mov ebp, eax ; +0xc7, 0x1405f1cb7 mov rcx, [r13+298h] ; +0xc9, 0x1405f1cb9 test eax, eax ; +0xd0, 0x1405f1cc0 jle short loc_1405F1D22 ; +0xd2, 0x1405f1cc2 mov rdx, r12 ; +0xd4, 0x1405f1cc4 mov rcx, [rcx+38h] ; +0xd7, 0x1405f1cc7 call cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::objectForKey(std::string const &) ; +0xdb, 0x1405f1ccb mov rdi, rax ; +0xe1, 0x1405f1cd1 test rax, rax ; +0xe4, 0x1405f1cd4 jz short loc_1405F1D22 ; +0xe7, 0x1405f1cd7 mov rcx, rax ; +0xe9, 0x1405f1cd9 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xec, 0x1405f1cdc test eax, eax ; +0xf2, 0x1405f1ce2 jz short loc_1405F1D22 ; +0xf4, 0x1405f1ce4 xor ebx, ebx ; +0xf6, 0x1405f1ce6 mov rcx, rdi ; +0xf8, 0x1405f1ce8 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xfb, 0x1405f1ceb test eax, eax ; +0x101, 0x1405f1cf1 jz short loc_1405F1D22 ; +0x103, 0x1405f1cf3 mov edx, ebx ; +0x105, 0x1405f1cf5 mov rcx, rdi ; +0x107, 0x1405f1cf7 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x10a, 0x1405f1cfa mov rcx, rdi ; +0x110, 0x1405f1d00 cmp [rax+78h], ebp ; +0x113, 0x1405f1d03 jz short loc_1405F1D16 ; +0x116, 0x1405f1d06 inc ebx ; +0x118, 0x1405f1d08 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x11a, 0x1405f1d0a cmp ebx, eax ; +0x120, 0x1405f1d10 jb short loc_1405F1CF5 ; +0x122, 0x1405f1d12 jmp short loc_1405F1D22 ; +0x124, 0x1405f1d14 mov r8b, 1 ; +0x126, 0x1405f1d16 mov edx, ebx ; +0x129, 0x1405f1d19 call cs:?removeObjectAtIndex@CCArray@cocos2d@@QEAAXI_N@Z; cocos2d::CCArray::removeObjectAtIndex(uint,bool) ; +0x12b, 0x1405f1d1b nop ; +0x131, 0x1405f1d21 mov rcx, r12 ; +0x132, 0x1405f1d22 call sub_14003D310 ; +0x135, 0x1405f1d25 mov rax, [r14] ; +0x13a, 0x1405f1d2a mov rcx, r14 ; +0x13d, 0x1405f1d2d call qword ptr [rax+210h] ; +0x140, 0x1405f1d30 mov r8b, 1 ; +0x146, 0x1405f1d36 mov edx, esi ; +0x149, 0x1405f1d39 mov rcx, r15 ; +0x14b, 0x1405f1d3b call cs:?removeObjectAtIndex@CCArray@cocos2d@@QEAAXI_N@Z; cocos2d::CCArray::removeObjectAtIndex(uint,bool) ; +0x14e, 0x1405f1d3e jmp short loc_1405F1D48 ; +0x154, 0x1405f1d44 inc esi ; +0x156, 0x1405f1d46 mov rcx, r15 ; +0x158, 0x1405f1d48 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x15b, 0x1405f1d4b cmp esi, eax ; +0x161, 0x1405f1d51 jb loc_1405F1C55 ; +0x163, 0x1405f1d53 mov ebx, [rsp+78h+arg_0] ; +0x169, 0x1405f1d59 inc ebx ; +0x170, 0x1405f1d60 mov [rsp+78h+arg_0], ebx ; +0x172, 0x1405f1d62 mov rcx, [r13+2A0h] ; +0x179, 0x1405f1d69 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x180, 0x1405f1d70 cmp ebx, eax ; +0x186, 0x1405f1d76 jb loc_1405F1C30 ; +0x188, 0x1405f1d78 mov rcx, r13 ; +0x18e, 0x1405f1d7e mov rbx, [rsp+78h+arg_18] ; +0x191, 0x1405f1d81 add rsp, 40h ; +0x199, 0x1405f1d89 pop r15 ; +0x19d, 0x1405f1d8d pop r14 ; +0x19f, 0x1405f1d8f pop r13 ; +0x1a1, 0x1405f1d91 pop r12 ; +0x1a3, 0x1405f1d93 pop rdi ; +0x1a5, 0x1405f1d95 pop rsi ; +0x1a6, 0x1405f1d96 pop rbp ; +0x1a7, 0x1405f1d97 jmp BrowseSmartKeyLayer__updateChanceValues ; +0x1a8, 0x1405f1d98