// // 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 // // Hidden C++ exception states: #wind=2 __int64 __fastcall BrowseSmartKeyLayer::deletedSelectedItems(__int64 a1) { unsigned int v2; // ebx cocos2d::CCArray *v3; // r15 unsigned int v4; // esi struct cocos2d::CCObject *v5; // r14 _BYTE *v6; // rbx __int64 v7; // r12 int v8; // ebp cocos2d::CCArray *v9; // rax cocos2d::CCArray *v10; // rdi unsigned int v11; // ebx _BYTE v13[88]; // [rsp+20h] [rbp-58h] BYREF unsigned int i; // [rsp+80h] [rbp+8h] v2 = 0; for ( i = 0; v2 < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 672)); i = v2 ) { v3 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 672), v2); v4 = 0; if ( cocos2d::CCArray::count(v3) ) { do { v5 = cocos2d::CCArray::objectAtIndex(v3, v4); v6 = (_BYTE *)(*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v5 + 952LL))(v5); if ( v6[368] ) { v7 = sub_14003F4F0((__int64)v13, a1 + 712); v8 = (*(__int64 (__fastcall **)(_BYTE *))(*(_QWORD *)v6 + 56LL))(v6); if ( v8 > 0 ) { v9 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(*(_QWORD *)(*(_QWORD *)(a1 + 664) + 56LL), v7); v10 = v9; if ( v9 ) { if ( cocos2d::CCArray::count(v9) ) { v11 = 0; if ( cocos2d::CCArray::count(v10) ) { while ( *((_DWORD *)cocos2d::CCArray::objectAtIndex(v10, v11) + 30) != v8 ) { if ( ++v11 >= cocos2d::CCArray::count(v10) ) goto LABEL_12; } cocos2d::CCArray::removeObjectAtIndex(v10, v11, 1); } } } } LABEL_12: sub_14003D310(v7); (*(void (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v5 + 528LL))(v5); cocos2d::CCArray::removeObjectAtIndex(v3, v4, 1); } else { ++v4; } } while ( v4 < cocos2d::CCArray::count(v3) ); v2 = i; } ++v2; } return BrowseSmartKeyLayer::updateChanceValues(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source