// // BrowseSmartKeyLayer::getAllSelectedBlocks from 0x9e1758 to 0x9e1828 (208 bytes) // // 3 xrefs: // > BrowseSmartKeyLayer::createTemplateObjects @ 0x9e1858 // > BrowseSmartKeyLayer::addChanceToSelected @ 0x9e1f78 // > @ 0xae210 // // 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) { cocos2d::CCArray *v2; // x22 unsigned int i; // w21 unsigned int v4; // w19 cocos2d::CCArray *v5; // x20 bool v6; // cf unsigned int v7; // w1 cocos2d::CCArray *v8; // x0 __int64 v9; // x0 __int64 v10; // x1 v2 = (cocos2d::CCArray *)cocos2d::CCArray::create((cocos2d::CCArray *)a1); for ( i = 0; i < (unsigned int)cocos2d::CCArray::count(a1->m_pages); ++i ) { v4 = 0; v5 = (cocos2d::CCArray *)cocos2d::CCArray::objectAtIndex(a1->m_pages, i); while ( 1 ) { v6 = v4 >= (unsigned int)cocos2d::CCArray::count(v5); v7 = v4; v8 = v5; ++v4; if ( v6 ) break; while ( 1 ) { v9 = cocos2d::CCArray::objectAtIndex(v8, v7); v10 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v9 + 1056LL))(v9); if ( !*(_BYTE *)(v10 + 344) ) break; cocos2d::CCArray::addObject(v2, (cocos2d::CCObject *)v10); v6 = v4 >= (unsigned int)cocos2d::CCArray::count(v5); v7 = v4; v8 = v5; ++v4; if ( v6 ) goto LABEL_7; } } LABEL_7: ; } return v2; }