// // cocos2d::CCTMXLayer::vertexZForPos from 0xb39154 to 0xb391c4 (112 bytes) // // 3 xrefs: // > cocos2d::CCTMXLayer::setupTileSprite @ 0xb39234 // > cocos2d::CCTMXLayer::tileAt @ 0xb39bec // > @ 0xc8898 // // 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 // int cocos2d::CCTMXLayer::vertexZForPos(cocos2d::CCTMXLayer *a1, const cocos2d::CCPoint *a2) { int m_uIndexInArray; // w2 if ( !LOBYTE(a1[1].m_fVertexZ) ) return LODWORD(a1[1].m_fScaleY); m_uIndexInArray = a1[1].m_uIndexInArray; if ( !m_uIndexInArray ) return (int)(float)-(float)(*(float *)&a1[1].cocos2d::CCSpriteBatchNode::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable - a2->y); if ( m_uIndexInArray == 2 ) return (int)(float)-(float)((float)(unsigned int)(float)(*(float *)(&a1->m_bManualSortAllChildrenDirty + 3) + *(float *)&a1[1].cocos2d::CCSpriteBatchNode::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable) - (float)(a2->x + a2->y)); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source