//
// CCPartAnimSprite::getSpriteForKey from 0x10007f054 to 0x10007f0a4 (80 bytes)
//
// 3 xrefs:
// > GJRobotSprite::updateColors @ 0x10023fe7c
// > GJRobotSprite::updateColors @ 0x10023fe90
// > GJRobotSprite::updateColors @ 0x10023fea4
//
// 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
//
CCSpritePart *__fastcall CCPartAnimSprite::getSpriteForKey(CCPartAnimSprite *a1, const char *a2)
{
cocos2d::CCDictionary *m_spritePartIDs; // x19
CCSpritePart *v3; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+1Fh] [xbp-11h]
m_spritePartIDs = a1->m_spritePartIDs;
sub_100009900(__p, (char *)a2);
v3 = (CCSpritePart *)cocos2d::CCDictionary::objectForKey_1(m_spritePartIDs, __p);
if ( v6 < 0 )
operator delete(__p[0]);
return v3;
}