//
// CCPartAnimSprite::dirtify from 0x3c7230 to 0x3c72a0 (112 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 11:46:35 +0000
//
_DWORD **__fastcall CCPartAnimSprite::dirtify(CCPartAnimSprite *this)
{
_DWORD **result; // r0
_DWORD *v3; // r5
int v4; // r6
unsigned int v5; // r4
_DWORD **v6; // t1
result = (_DWORD **)(*(int (__fastcall **)(CCPartAnimSprite *))(*(_DWORD *)this + 244))(this);
if ( result )
{
result = (_DWORD **)(*(int (__fastcall **)(CCPartAnimSprite *))(*(_DWORD *)this + 244))(this);
if ( *result[13] )
{
v3 = *(_DWORD **)(*(_DWORD *)((*(int (__fastcall **)(CCPartAnimSprite *))(*(_DWORD *)this + 244))(this) + 52) + 12);
v4 = *(_DWORD *)(*(_DWORD *)((*(int (__fastcall **)(CCPartAnimSprite *))(*(_DWORD *)this + 244))(this) + 52) + 12);
result = (_DWORD **)(*(int (__fastcall **)(CCPartAnimSprite *))(*(_DWORD *)this + 244))(this);
v5 = v4 + 4 * (*result[13] + 0x3FFFFFFF);
while ( (unsigned int)v3 <= v5 )
{
v6 = (_DWORD **)*v3++;
result = v6;
if ( !v6 )
break;
result = (_DWORD **)((int (__fastcall *)(_DWORD **, int))(*result)[150])(result, 1);
}
}
}
return result;
}