//
// SpriteAnimationManager::getPrio from 0x140087700 to 0x14008776f (111 bytes)
//
// 5 xrefs:
// > SpriteAnimationManager::runAnimation @ 0x140086dd4
// > SpriteAnimationManager::runAnimation @ 0x140086e2b
// > SpriteAnimationManager::queueAnimation @ 0x140087506
// > SpriteAnimationManager::queueAnimation @ 0x14008755b
// > ??> @ 0x140912590
//
// This function is hookable on this platform (idp: pc, 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:25:57 +0000
//
// 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_14003D310(a2);
return v5;
}
else
{
sub_14003D310(a2);
return 99;
}
}