// // BrowseSmartKeyLayer::getAllSelectedBlocks from 0x14045c270 to 0x14045c33d (205 bytes) // // 6 xrefs: // > BrowseSmartKeyLayer::onButton @ 0x14045be9b // > BrowseSmartKeyLayer::onButton @ 0x14045bf2c // > BrowseSmartKeyLayer::onButton @ 0x14045c137 // > @ 0x1406a3d70 // > @ 0x1406a3d80 // > @ 0x1406dabec // // 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; // ebp cocos2d::CCArray *i; // rsi cocos2d::CCArray *v4; // rdi unsigned int j; // ebx struct cocos2d::CCObject *v6; // rax __int64 v7; // rax v2 = 0; for ( i = (cocos2d::CCArray *)cocos2d::CCArray::create(a1); v2 < cocos2d::CCArray::count(a1->m_pages); ++v2 ) { v4 = (cocos2d::CCArray *)cocos2d::CCArray::objectAtIndex(a1->m_pages, v2); for ( j = 0; j < cocos2d::CCArray::count(v4); ++j ) { v6 = cocos2d::CCArray::objectAtIndex(v4, j); v7 = ((__int64 (__fastcall *)(struct cocos2d::CCObject *))v6->__vftable[13].copyWithZone)(v6); if ( *(_BYTE *)(v7 + 368) ) cocos2d::CCArray::addObject(i, (struct cocos2d::CCObject *)v7); } } return i; }