// // cocos2d::CCSprite::setPosition from 0x5e7558 to 0x5e75bc (100 bytes) // // 2 xrefs: // > CCSpritePlus::setPosition @ 0x2fcf94 // > GameObject::quickUpdatePosition @ 0x364cae // // 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::CCSprite::setPosition(cocos2d::CCSprite *a1, const cocos2d::CCPoint *a2) { cocos2d::CCSprite_vtbl *v3; // r3 if ( a1->m_obPosition.x != a2->x || a1->m_obPosition.y != a2->y ) { cocos2d::CCNode::setPosition((int)a1, a2); if ( a1->m_pobBatchNode && !a1->m_bRecursiveDirty ) { v3 = a1->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; a1->m_bRecursiveDirty = 1; v3->setDirty(a1, 1); if ( a1->m_bHasChildren ) a1->setDirtyRecursively(a1, 1); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source