//
// CCAnimatedSprite::tweenToAnimationFinished from 0x10039a744 to 0x10039a7c4 (128 bytes)
//
// 1 xrefs:
// > CCAnimatedSprite::tweenToAnimation @ 0x10039a6b4
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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:03:43 +0000
//
std::string *__fastcall CCAnimatedSprite::tweenToAnimationFinished(__int64 a1)
{
std::string *v2; // x19
void *__p[2]; // [xsp+0h] [xbp-30h] BYREF
__int64 v5; // [xsp+10h] [xbp-20h]
v2 = (std::string *)(a1 + 624);
if ( *(char *)(a1 + 647) < 0 )
{
sub_1000097D0(__p, *(void **)(a1 + 624), *(_QWORD *)(a1 + 632));
}
else
{
*(_OWORD *)__p = *(_OWORD *)&v2->__r_.__value_.__l.__data_;
v5 = *(_QWORD *)(a1 + 640);
}
CCAnimatedSprite::runAnimation(a1, (__int64)__p);
if ( SHIBYTE(v5) < 0 )
operator delete(__p[0]);
return std::string::assign(v2, "");
}