//
// cocos2d::CCSprite::setReorderChildDirtyRecursively from 0x18008c6d0 to 0x18008c734 (100 bytes)
//
// 9 xrefs:
// > ??> @ 0x1800ebca0
// > ??> @ 0x1800ec178
// > ??> @ 0x1800eccf8
// > ??> @ 0x180103bb0
// > ??> @ 0x180106ba8
// > ??> @ 0x18013d6ac
// > ??> @ 0x18013d6bc
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b5da8
//
// 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::setReorderChildDirtyRecursively(cocos2d::CCSprite *this)
{
cocos2d::CCSpriteBatchNode *m_pParent; // rbx
if ( !this->m_bReorderChildDirty )
{
m_pParent = (cocos2d::CCSpriteBatchNode *)this->m_pParent;
for ( this->m_bReorderChildDirty = 1;
m_pParent;
m_pParent = (cocos2d::CCSpriteBatchNode *)((__int64 (__fastcall *)(cocos2d::CCSpriteBatchNode *))m_pParent->getParent)(m_pParent) )
{
if ( m_pParent == this->m_pobBatchNode )
break;
((void (__fastcall *)(cocos2d::CCSpriteBatchNode *))m_pParent->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable[1].setPosition_0)(m_pParent);
}
}
}