//
// cocos2d::CCSprite::setDirtyRecursively from 0xb15674 to 0xb15700 (140 bytes)
//
// 80 xrefs:
// > ??> @ 0x6cd20
// > ??> @ 0x11363b0
// > ??> @ 0x1136960
// > ??> @ 0x11376e0
// > ??> @ 0x1139830
// > ??> @ 0x1139dc0
// > ??> @ 0x113d040
// > ??> @ 0x113d660
// > ??> @ 0x113ea90
// > ??> @ 0x1142fc0
// > ??> @ 0x1143560
// > ??> @ 0x1144eb0
// > ??> @ 0x1145450
// > ??> @ 0x1149890
// > ??> @ 0x1152ba0
// > ??> @ 0x1153390
// > ??> @ 0x1153970
// > ??> @ 0x1154140
// > ??> @ 0x1154940
// > ??> @ 0x1159be0
// > ??> @ 0x11622f0
// > ??> @ 0x1162af0
// > ??> @ 0x11632f0
// > ??> @ 0x1163af0
// > ??> @ 0x11642f0
// > ??> @ 0x1164af0
// > ??> @ 0x11652f0
// > ??> @ 0x1165af0
// > ??> @ 0x11662c0
// > ??> @ 0x1166ac0
// > ??> @ 0x11672c0
// > ??> @ 0x1167ac0
// > ??> @ 0x11682c0
// > ??> @ 0x1168b00
// > ??> @ 0x1169300
// > ??> @ 0x1169b00
// > ??> @ 0x116a300
// > ??> @ 0x116ab00
// > ??> @ 0x116b310
// > ??> @ 0x116bb10
// > ??> @ 0x116c310
// > ??> @ 0x116cb10
// > ??> @ 0x116d310
// > ??> @ 0x116db10
// > ??> @ 0x116e310
// > ??> @ 0x116eb10
// > ??> @ 0x116f310
// > ??> @ 0x116fb10
// > ??> @ 0x1170310
// > ??> @ 0x1170b10
// > ??> @ 0x1171310
// > ??> @ 0x1171b10
// > ??> @ 0x1172310
// > ??> @ 0x1172b10
// > ??> @ 0x1173310
// > ??> @ 0x1173b10
// > ??> @ 0x1174310
// > ??> @ 0x1174b10
// > ??> @ 0x1175310
// > ??> @ 0x1175b10
// > ??> @ 0x1176310
// > ??> @ 0x1176b10
// > ??> @ 0x1177330
// > ??> @ 0x1179180
// > ??> @ 0x1179710
// > ??> @ 0x11927a0
// > ??> @ 0x1194490
// > ??> @ 0x11a1060
// > ??> @ 0x11a1600
// > ??> @ 0x11aab80
// > ??> @ 0x11b0540
// > ??> @ 0x11b2840
// > ??> @ 0x11d9fa0
// > ??> @ 0x11ed850
// > ??> @ 0x11f75a0
// > ??> @ 0x1202340
// > ??> @ 0x12028d0
// > ??> @ 0x1203430
// > ??> @ 0x12189e0
// > ??> @ 0x121a010
//
// 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::setDirtyRecursively(cocos2d::CCSprite *a1, bool a2)
{
cocos2d::CCSprite_vtbl *v2; // x3
cocos2d::CCArray *m_pChildren; // x0
cocos2d::ccArray *data; // x1
cocos2d::CCObject **arr; // x19
cocos2d::CCObject **v7; // x20
cocos2d::CCObject *v8; // x0
v2 = a1->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
a1->m_bRecursiveDirty = a2;
v2->setDirty(a1, a2);
if ( a1->m_bHasChildren )
{
m_pChildren = a1->m_pChildren;
if ( m_pChildren )
{
data = m_pChildren->data;
if ( data->num )
{
arr = data->arr;
v7 = &arr[data->num - 1];
while ( v7 >= arr )
{
v8 = *arr;
if ( !*arr )
break;
++arr;
((void (__fastcall *)(cocos2d::CCObject *, __int64))v8->__vftable[15].~CCObject_0)(v8, 1);
}
}
}
}
}