// // cocos2d::CCTMXLayer::updateTileForGID from 0xb39638 to 0xb39774 (316 bytes) // // 2 xrefs: // > cocos2d::CCTMXLayer::setTileGID @ 0xb39fd0 // > @ 0xacb00 // // 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::CCSprite *cocos2d::CCTMXLayer::updateTileForGID( cocos2d::CCTMXLayer *a1, unsigned int a2, const cocos2d::CCPoint *a3) { signed int v6; // w22 cocos2d::CCSprite *v7; // x20 cocos2d::CCRect v9; // [xsp+58h] [xbp+58h] BYREF cocos2d::CCRect v10; // [xsp+68h] [xbp+68h] BYREF cocos2d::CCPoint v11; // 0:s0.4,4:s1.4 cocos2d::CCRect v12; // 0:s0.4,4:s1.4,8:s2.4,12:s3.4 cocos2d::CCTMXTilesetInfo::rectForGID(*(cocos2d::CCTMXTilesetInfo **)&a1[1].m_uAutoReleaseCount, a2); cocos2d::CCRect::CCRect( &v10, v9.origin.x / a1[1].m_obAnchorPointInPoints.y, v9.origin.y / a1[1].m_obAnchorPointInPoints.y, v9.size.width / a1[1].m_obAnchorPointInPoints.y, v9.size.height / a1[1].m_obAnchorPointInPoints.y); cocos2d::CCRect::operator=(&v9, (float *)&v10.origin); v6 = (int)(float)(a3->x + (float)(a3->y * *(float *)(&a1->m_bManualSortAllChildrenDirty + 3))); cocos2d::CCRect::CCRect(&v10, &v9); v7 = cocos2d::CCTMXLayer::reusedTileWithRect(a1, v12); cocos2d::CCPoint::CCPoint(&v10.origin, a3); cocos2d::CCTMXLayer::setupTileSprite(a1, v7, v11, (unsigned int)&v10); v7->m_uAtlasIndex = cocos2d::CCTMXLayer::atlasIndexForExistantZ(a1, v6); v7->setDirty(v7, 1); v7->updateTransform(v7); *(_DWORD *)(*(_QWORD *)&a1[1].m_nTag + 4LL * v6) = a2; return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source