//
// SpriteAnimationManager::getPrio from 0x140074750 to 0x1400747bf (111 bytes)
//
// 5 xrefs:
// > SpriteAnimationManager::runAnimation @ 0x140073e54
// > SpriteAnimationManager::runAnimation @ 0x140073eab
// > SpriteAnimationManager::queueAnimation @ 0x140074576
// > SpriteAnimationManager::queueAnimation @ 0x1400745cb
// > ??> @ 0x1406c636c
//
// 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
//
// Hidden C++ exception states: #wind=1
__int64 __fastcall SpriteAnimationManager::getPrio(__int64 a1, __int64 a2)
{
cocos2d::CCString *v3; // rax
unsigned int v5; // ebx
v3 = (cocos2d::CCString *)cocos2d::CCDictionary::objectForKey(*(_QWORD *)(a1 + 328), a2);
if ( v3 )
{
v5 = cocos2d::CCString::intValue(v3);
sub_14003A830(a2);
return v5;
}
else
{
sub_14003A830(a2);
return 99;
}
}