// // BrowseSmartKeyLayer::getAllSelectedBlocks from 0x53f9e0 to 0x53fa3e (94 bytes) // // 2 xrefs: // > BrowseSmartKeyLayer::createTemplateObjects @ 0x53fa52 // > BrowseSmartKeyLayer::addChanceToSelected @ 0x53fce0 // // 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 // cocos2d::CCArray *BrowseSmartKeyLayer::getAllSelectedBlocks(BrowseSmartKeyLayer *a1) { unsigned int v2; // r4 cocos2d::CCArray *v3; // r6 unsigned int v4; // r5 cocos2d::CCArray *v5; // r8 int v6; // r0 int v7; // r1 v2 = 0; v3 = (cocos2d::CCArray *)cocos2d::CCArray::create((cocos2d::CCArray *)a1); while ( v2 < cocos2d::CCArray::count(a1->m_pages) ) { v4 = 0; v5 = (cocos2d::CCArray *)cocos2d::CCArray::objectAtIndex(a1->m_pages, v2); while ( v4 < cocos2d::CCArray::count(v5) ) { v6 = cocos2d::CCArray::objectAtIndex(v5, v4); v7 = (*(int (__fastcall **)(int))(*(_DWORD *)v6 + 528))(v6); if ( *(_BYTE *)(v7 + 276) ) cocos2d::CCArray::addObject(v3, (cocos2d::CCObject *)v7); ++v4; } ++v2; } return v3; }