//
// SpriteAnimationManager::overridePrio from 0x6b14bc to 0x6b1598 (220 bytes)
//
// 3 xrefs:
// > CCAnimatedSprite::runAnimationForced @ 0x68c9c0
// > SpriteAnimationManager::stopAnimations @ 0x6b15a8
// > ??> @ 0x8ec00
//
// 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 12:50:51 +0000
//
__int64 *__fastcall SpriteAnimationManager::overridePrio(SpriteAnimationManager *this)
{
__int64 *v1; // x21
char *v3; // x1
size_t v4; // x2
char v6; // [xsp+40h] [xbp+40h] BYREF
char v7[9]; // [xsp+41h] [xbp+41h] BYREF
__int16 v8; // [xsp+4Ah] [xbp+4Ah]
int v9; // [xsp+4Ch] [xbp+4Ch]
__int64 v10; // [xsp+50h] [xbp+50h]
v1 = (__int64 *)((char *)this + 400);
v7[8] = 0;
v8 = 0;
v9 = 0;
v10 = 0;
v6 = 16;
strcpy(v7, "not_use");
if ( sub_6AF58C((__int64)this + 400, (__int64)&v6) )
return (__int64 *)_stack_chk_guard;
if ( (*((_BYTE *)this + 400) & 1) != 0 )
{
v3 = (char *)v1[2];
v4 = v1[1];
}
else
{
v3 = (char *)this + 401;
v4 = *((_BYTE *)this + 400) >> 1;
}
std::string::assign((__int64 *)this + 53, v3, v4);
return std::string::assign(v1, "not_used");
}