//
// SpriteAnimationManager::overridePrio from 0x3d8e58 to 0x3d8ebe (102 bytes)
//
// 2 xrefs:
// > CCAnimatedSprite::runAnimationForced @ 0x3c36f2
// > SpriteAnimationManager::stopAnimations @ 0x3d8ecc
//
// 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:46 +0000
//
int *__fastcall SpriteAnimationManager::overridePrio(SpriteAnimationManager *this)
{
unsigned __int8 *v1; // r6
_BOOL4 v3; // r9
int *result; // r0
int v5[3]; // [sp+0h] [bp-14h] BYREF
v1 = (unsigned __int8 *)this + 304;
memset(v5, 0, sizeof(v5));
std::string::__init(v5, "not_used", 8u);
v3 = sub_3D7D88(v1, (unsigned __int8 *)v5);
result = (int *)std::string::~string((int)v5);
if ( !v3 )
{
std::string::operator=((unsigned __int8 *)this + 316, v1);
return std::string::assign((int *)v1, "not_used");
}
return result;
}