// // cocos2d::CCSprite::setPosition from 0xb16880 to 0xb1690c (140 bytes) // // 32 xrefs: // > CCSpritePlus::setPosition @ 0x5a8100 // > GameObject::quickUpdatePosition @ 0x65b18c // > @ 0x94f80 // > @ 0x1135fa8 // > @ 0x1136558 // > @ 0x11372d8 // > @ 0x1139428 // > @ 0x113cc38 // > @ 0x113d258 // > @ 0x113e688 // > @ 0x1143158 // > @ 0x1144aa8 // > @ 0x1145048 // > @ 0x1149488 // > @ 0x1152f88 // > @ 0x11597d8 // > @ 0x1178d78 // > @ 0x1179308 // > @ 0x1192398 // > @ 0x1194088 // > @ 0x11a0c58 // > @ 0x11a11f8 // > @ 0x11b0138 // > @ 0x11b2438 // > @ 0x11d9b98 // > @ 0x11ed448 // > @ 0x11f7198 // > @ 0x1201f38 // > @ 0x12024c8 // > @ 0x1203028 // > @ 0x12185d8 // > @ 0x1219c08 // // 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; // x2 if ( a1->m_obPosition.x != a2->x || a1->m_obPosition.y != a2->y ) { cocos2d::CCNode::setPosition((__int64)a1, (int *)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