//
// cocos2d::CCSprite::setReorderChildDirtyRecursively from 0x7f1160 to 0x7f1198 (56 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:04 +0000
//
int __fastcall cocos2d::CCSprite::setReorderChildDirtyRecursively(int this)
{
int v1; // r5
int v2; // r4
v1 = this;
if ( !*(_BYTE *)(this + 240) )
{
v2 = *(_DWORD *)(this + 196);
*(_BYTE *)(this + 240) = 1;
while ( v2 && v2 != *(_DWORD *)(v1 + 292) )
{
(*(void (__fastcall **)(int))(*(_DWORD *)v2 + 612))(v2);
this = (*(int (__fastcall **)(int))(*(_DWORD *)v2 + 256))(v2);
v2 = this;
}
}
return this;
}