//
// cocos2d::CCSprite::setDirtyRecursively from 0x100238aa0 to 0x100238b1c (124 bytes)
//
// 75 xrefs:
// > ??> @ 0x100763780
// > ??> @ 0x1007738b0
// > ??> @ 0x1007741e8
// > ??> @ 0x100775350
// > ??> @ 0x100777f00
// > ??> @ 0x10077b6a0
// > ??> @ 0x10077bc40
// > ??> @ 0x100785ef0
// > ??> @ 0x100790c90
// > ??> @ 0x100799a80
// > ??> @ 0x1007aced8
// > ??> @ 0x1007ad490
// > ??> @ 0x1007b3448
// > ??> @ 0x1007b8f08
// > ??> @ 0x1007ba058
// > ??> @ 0x1007c4078
// > ??> @ 0x1007c48b0
// > ??> @ 0x1007c77b8
// > ??> @ 0x1007c8298
// > ??> @ 0x1007c9ab8
// > ??> @ 0x1007ca070
// > ??> @ 0x1007cfd48
// > ??> @ 0x1007d0530
// > ??> @ 0x1007d0d40
// > ??> @ 0x1007e5508
// > ??> @ 0x1007ea530
// > ??> @ 0x1007eaae8
// > ??> @ 0x1007ec718
// > ??> @ 0x1007ecca0
// > ??> @ 0x1007efac8
// > ??> @ 0x1007f55b0
// > ??> @ 0x1007f5de8
// > ??> @ 0x1007f65e0
// > ??> @ 0x1007f6dd8
// > ??> @ 0x1007f75d0
// > ??> @ 0x1007f7dc8
// > ??> @ 0x1007f85c0
// > ??> @ 0x1007f8db8
// > ??> @ 0x1007f95a0
// > ??> @ 0x1007f9db0
// > ??> @ 0x1007fa618
// > ??> @ 0x1007fae28
// > ??> @ 0x1007fb638
// > ??> @ 0x1007fbe48
// > ??> @ 0x1007fc658
// > ??> @ 0x1007fce68
// > ??> @ 0x1007fd678
// > ??> @ 0x1007fde88
// > ??> @ 0x1007fe698
// > ??> @ 0x1007feea8
// > ??> @ 0x1007ff6d0
// > ??> @ 0x1007fff28
// > ??> @ 0x100800750
// > ??> @ 0x100800f78
// > ??> @ 0x1008017a0
// > ??> @ 0x100801fc8
// > ??> @ 0x1008027d8
// > ??> @ 0x100802fe8
// > ??> @ 0x1008037f8
// > ??> @ 0x100804008
// > ??> @ 0x100804818
// > ??> @ 0x100805028
// > ??> @ 0x100805838
// > ??> @ 0x100806048
// > ??> @ 0x100806858
// > ??> @ 0x100807068
// > ??> @ 0x100807878
// > ??> @ 0x100808088
// > ??> @ 0x100808898
// > ??> @ 0x1008090a8
// > ??> @ 0x1008098b8
// > ??> @ 0x10080a0c8
// > ??> @ 0x10080b050
// > ??> @ 0x100811060
// > ??> @ 0x1008163e8
//
// 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::setDirtyRecursively(cocos2d::CCSprite *a1, bool a2)
{
cocos2d::CCArray *m_pChildren; // x8
cocos2d::ccArray *data; // x9
__int64 num; // x8
cocos2d::CCObject **arr; // x19
unsigned __int64 v7; // x20
a1->m_bRecursiveDirty = a2;
((void (__fastcall *)(cocos2d::CCSprite *))a1->setDirty)(a1);
if ( a1->m_bHasChildren )
{
m_pChildren = a1->m_pChildren;
if ( m_pChildren )
{
data = m_pChildren->data;
num = data->num;
if ( (_DWORD)num )
{
arr = data->arr;
v7 = (unsigned __int64)&arr[num - 1];
do
{
if ( !*arr )
break;
((void (__fastcall *)(cocos2d::CCObject *, __int64))(*arr)->__vftable[15].~CCObject_0)(*arr, 1);
++arr;
}
while ( (unsigned __int64)arr <= v7 );
}
}
}
}