// // CCAnimateFrameCache::addSpriteFramesWithFile from 0x1001b0588 to 0x1001b0640 (184 bytes) // // 2 xrefs: // > CCPartAnimSprite::initWithAnimDesc @ 0x10007e694 // > LoadingLayer::loadAssets @ 0x1001d6dbc // // 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 // cocos2d::CCDictionary *__fastcall CCAnimateFrameCache::addSpriteFramesWithFile(CCAnimateFrameCache *a1, const char *a2) { cocos2d::CCDictionary *m_animateDescriptions; // x21 __int64 v5; // x0 __int64 v6; // x21 cocos2d::CCDictionary *v7; // x20 cocos2d::CCDictionary *v8; // x21 void *__p[2]; // [xsp+8h] [xbp-38h] BYREF char v11; // [xsp+1Fh] [xbp-21h] m_animateDescriptions = a1->m_animateDescriptions; sub_100009900(__p, (char *)a2); v5 = cocos2d::CCDictionary::objectForKey_1(m_animateDescriptions, __p); v6 = v5; if ( (v11 & 0x80000000) == 0 ) { if ( v5 ) goto LABEL_3; LABEL_6: v8 = cocos2d::CCDictionary::createWithContentsOfFile(a2); CCAnimateFrameCache::addDict(a1, v8, a2); return v8; } operator delete(__p[0]); if ( !v6 ) goto LABEL_6; LABEL_3: v7 = a1->m_animateDescriptions; sub_100009900(__p, (char *)a2); v8 = (cocos2d::CCDictionary *)cocos2d::CCDictionary::objectForKey_1(v7, __p); if ( v11 < 0 ) operator delete(__p[0]); return v8; }