// // CCAnimateFrameCache::addSpriteFramesWithFile from 0x3c4658 to 0x3c4712 (186 bytes) // // 2 xrefs: // > CCPartAnimSprite::initWithAnimDesc @ 0x3c7a74 // > LoadingLayer::loadAssets @ 0x3fbe6a // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:46:33 +0000 // cocos2d::CCObject *__fastcall CCAnimateFrameCache::addSpriteFramesWithFile( CCAnimateFrameCache *this, const char *a2, int a3, int a4) { int v6; // r8 size_t v7; // r0 int v8; // r8 size_t v9; // r0 int v10; // r7 int v11; // r6 DS_Dictionary *v12; // r4 CCAnimateFrameCache *v14; // [sp+0h] [bp-10h] BYREF const char *v15; // [sp+4h] [bp-Ch] int v16; // [sp+8h] [bp-8h] int v17; // [sp+Ch] [bp-4h] v14 = this; v15 = a2; v16 = a3; v17 = a4; v6 = *((_DWORD *)this + 15); v14 = nullptr; v15 = nullptr; v16 = 0; v7 = strlen(a2); std::string::__init((int *)&v14, a2, v7); v8 = cocos2d::CCDictionary::objectForKey(v6, &v14); std::string::~string((int)&v14); if ( v8 ) { v14 = nullptr; v15 = nullptr; v16 = 0; v9 = strlen(a2); v10 = *((_DWORD *)this + 15); std::string::__init((int *)&v14, a2, v9); v11 = cocos2d::CCDictionary::objectForKey(v10, &v14); std::string::~string((int)&v14); } else { v12 = (DS_Dictionary *)operator new(0xD8u); DS_Dictionary::DS_Dictionary(v12); DS_Dictionary::loadRootSubDictFromFile(v12, a2); return CCAnimateFrameCache::addDict(this, v12, a2); } return (cocos2d::CCObject *)v11; }