//
// CCSpritePart::frameChanged from 0x2e72c8 to 0x2e7338 (112 bytes)
//
// 3 xrefs:
// > CCPartAnimSprite::transformSprite @ 0x2e73e0
// > CCPartAnimSprite::tweenSpriteTo @ 0x2e75ae
// > CCSpritePart::updateDisplayFrame @ 0x2e7714
//
// 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
//
int __fastcall CCSpritePart::frameChanged(int a1, int a2)
{
void (__fastcall ***v2)(_DWORD, int, _DWORD *); // r8
int v5; // r9
void (__fastcall *v6)(_DWORD, int, _DWORD *); // r10
_DWORD v8[2]; // [sp+0h] [bp-8h] BYREF
v8[0] = a1;
v8[1] = a2;
v2 = *(void (__fastcall ****)(_DWORD, int, _DWORD *))(a1 + 524);
v5 = a1 + 520;
if ( v2 && sub_774DBC(a2, v5) )
{
v6 = **v2;
sub_775C20(v8, a2);
v6(v2, a1, v8);
sub_774008(v8);
}
return sub_775D40(v5, a2);
}