// // BrowseSmartKeyLayer::deletedSelectedItems from 0x53fbf4 to 0x53fcba (198 bytes) // // 1 xrefs: // > BrowseSmartKeyLayer::onButton @ 0x53fd92 // // 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 // void BrowseSmartKeyLayer::deletedSelectedItems(BrowseSmartKeyLayer *a1) { unsigned int i; // r7 unsigned int v3; // r5 cocos2d::CCArray *v4; // r8 int v5; // r9 int v6; // r0 int v7; // r0 GJSmartTemplate *m_template; // [sp+0h] [bp-14h] int v9; // [sp+4h] [bp-10h] std::string v10; // [sp+8h] [bp-Ch] BYREF for ( i = 0; i < cocos2d::CCArray::count(a1->m_pages); ++i ) { v3 = 0; v4 = (cocos2d::CCArray *)cocos2d::CCArray::objectAtIndex(a1->m_pages, i); while ( v3 < cocos2d::CCArray::count(v4) ) { v5 = cocos2d::CCArray::objectAtIndex(v4, v3); v6 = (*(int (__fastcall **)(int))(*(_DWORD *)v5 + 528))(v5); if ( *(_BYTE *)(v6 + 276) ) { v9 = v6; m_template = a1->m_template; sub_775C20(&v10); v7 = (*(int (__fastcall **)(int))(*(_DWORD *)v9 + 32))(v9); GJSmartTemplate::removePrefab((unsigned int)m_template, &v10, v7); sub_774008(&v10); (*(void (__fastcall **)(int))(*(_DWORD *)v5 + 260))(v5); cocos2d::CCArray::removeObjectAtIndex(v4, v3, 1); } else { ++v3; } } } BrowseSmartKeyLayer::updateChanceValues(a1); }