// // cocos2d::CCTileMapAtlas::calculateItemsToRender from 0x5f9fc4 to 0x5fa00a (70 bytes) // // 1 xrefs: // > cocos2d::CCTileMapAtlas::initWithTileFile @ 0x5fa076 // // 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 cocos2d::CCTileMapAtlas::calculateItemsToRender(cocos2d::CCTileMapAtlas *a1) { cocos2d::sImageTGA *m_pTGAInfo; // r4 int v2; // r3 __int16 width; // r6 int height; // r7 int v5; // r1 int i; // r2 m_pTGAInfo = a1->m_pTGAInfo; v2 = 0; a1->m_nItemsToRender = 0; width = m_pTGAInfo->width; while ( v2 < width ) { height = m_pTGAInfo->height; v5 = 3 * v2; for ( i = 0; i < height; ++i ) { if ( m_pTGAInfo->imageData[v5] ) ++a1->m_nItemsToRender; v5 += 3 * width; } ++v2; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source