//
// cocos2d::CCSprite::setReorderChildDirtyRecursively from 0x18008f8d0 to 0x18008f934 (100 bytes)
//
// 9 xrefs:
// > ??> @ 0x1800f1da0
// > ??> @ 0x1800f2288
// > ??> @ 0x1800f2e38
// > ??> @ 0x18010a278
// > ??> @ 0x18010d290
// > ??> @ 0x18014695c
// > ??> @ 0x18014696c
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c0060
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:22:07 +0000
//
void __fastcall cocos2d::CCSprite::setReorderChildDirtyRecursively(cocos2d::CCSprite *this)
{
__int64 v2; // rbx
if ( !*((_BYTE *)this + 288) )
{
v2 = *((_QWORD *)this + 27);
for ( *((_BYTE *)this + 288) = 1; v2; v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 504LL))(v2) )
{
if ( v2 == *((_QWORD *)this + 46) )
break;
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 1072LL))(v2);
}
}
}