// // cocos2d::CCSpriteFrameCache::init from 0x5e8fdc to 0x5e901e (66 bytes) // // 1 xrefs: // > cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache @ 0x5e9048 // // 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 // bool cocos2d::CCSpriteFrameCache::init(cocos2d::CCSpriteFrameCache *a1) { cocos2d::CCDictionary *v2; // r4 cocos2d::CCDictionary *v3; // r4 _DWORD *v4; // r0 _DWORD *v5; // r6 _DWORD *v6; // r4 v2 = (cocos2d::CCDictionary *)operator new(0x3Cu); cocos2d::CCDictionary::CCDictionary(v2); a1[1].__vftable = (cocos2d::CCSpriteFrameCache_vtbl *)v2; v3 = (cocos2d::CCDictionary *)operator new(0x3Cu); cocos2d::CCDictionary::CCDictionary(v3); a1[1].m_uID = (unsigned int)v3; v4 = (_DWORD *)operator new(0x18u); v5 = v4 + 1; v6 = v4; memset(v4 + 1, 0, 0x10u); v6[3] = v5; v6[5] = 0; v6[4] = v5; a1[1].m_nLuaID = (int)v6; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source