//
// SpriteAnimationManager::callAnimationFinished from 0x3d81b0 to 0x3d823a (138 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:45 +0000
//
int __fastcall SpriteAnimationManager::callAnimationFinished(SpriteAnimationManager *this)
{
unsigned __int8 *v1; // r8
char *v3; // r1
int v5[3]; // [sp+4h] [bp-1Ch] BYREF
int v6[3]; // [sp+10h] [bp-10h] BYREF
v1 = (unsigned __int8 *)this + 304;
memset(v6, 0, sizeof(v6));
std::string::__init(v6, "not_used", 8u);
if ( sub_3D7D88(v1, (unsigned __int8 *)v6) )
v1 = (unsigned __int8 *)this + 316;
std::string::basic_string(v5, (int)v1);
std::string::~string((int)v6);
if ( (v5[0] & 1) != 0 )
v3 = (char *)v5[2];
else
v3 = (char *)v5 + 1;
(*(void (__fastcall **)(_DWORD, char *, int))(**((_DWORD **)this + 66) + 620))(
*((_DWORD *)this + 66),
v3,
LOBYTE(v5[0]) << 31);
return std::string::~string((int)v5);
}