// // cocos2d::CCSprite::setPosition from 0x100289e10 to 0x100289e8f (127 bytes) // // 30 xrefs: // > CCSpritePlus::setPosition @ 0x100481bd0 // > GameObject::quickUpdatePosition @ 0x1005bbc58 // > @ 0x1008b3e78 // > @ 0x1008b7e60 // > @ 0x1008dd228 // > @ 0x1008e0758 // > @ 0x1008f03d0 // > @ 0x1008f3760 // > @ 0x100904b58 // > @ 0x100909730 // > @ 0x10090b768 // > @ 0x100913210 // > @ 0x1009144b8 // > @ 0x100915048 // > @ 0x10091bdd8 // > @ 0x10091c360 // > @ 0x10091d7b8 // > @ 0x100927d88 // > @ 0x10092aae0 // > @ 0x100933fe0 // > @ 0x10093cc30 // > @ 0x100941ec0 // > @ 0x10094e5d8 // > @ 0x100974700 // > @ 0x100974cb8 // > @ 0x100975270 // > @ 0x10097a260 // > @ 0x10097a818 // > @ 0x1009852e8 // > @ 0x100995ef8 // // 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 __fastcall cocos2d::CCSprite::setPosition(cocos2d::CCSprite *a1, const cocos2d::CCPoint *a2) { if ( a1->m_obPosition.x != a2->x || a1->m_obPosition.y != a2->y ) { cocos2d::CCNode::setPosition_1(a1, a2); if ( a1->m_pobBatchNode && !a1->m_bRecursiveDirty ) { a1->m_bRecursiveDirty = 1; ((void (__fastcall *)(cocos2d::CCSprite *, __int64))a1->setDirty)(a1, 1); if ( a1->m_bHasChildren ) ((void (__fastcall *)(cocos2d::CCSprite *, __int64))a1->setDirtyRecursively)(a1, 1); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source