// // cocos2d::CCAnimationCache::sharedAnimationCache from 0x18008e340 to 0x18008e3c7 (135 bytes) // // 6 xrefs: // > cocos2d::CCAnimationCache::parseVersion1 @ 0x18008daa5 // > cocos2d::CCAnimationCache::parseVersion2 @ 0x18008e12a // > cocos2d::CCSprite::setDisplayFrameWithAnimationName @ 0x18008f6f8 // > @ 0x18014cf68 // > @ 0x1801bfd84 // > @ 0x1801bfd90 // // 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:22:07 +0000 // // Hidden C++ exception states: #wind=2 struct cocos2d::CCAnimationCache *__fastcall cocos2d::CCAnimationCache::sharedAnimationCache() { struct cocos2d::CCAnimationCache *result; // rax cocos2d::CCObject *v1; // rax cocos2d::CCObject *v2; // rbx cocos2d::CCDictionary *v3; // rdi cocos2d::CCDictionary *v4; // rax result = cocos2d::CCAnimationCache::s_pSharedAnimationCache; if ( !cocos2d::CCAnimationCache::s_pSharedAnimationCache ) { v1 = (cocos2d::CCObject *)sub_1800E4AC0(0x40u); v2 = v1; if ( v1 ) { cocos2d::CCObject::CCObject(v1); *(_QWORD *)v2 = &cocos2d::CCAnimationCache::`vftable'; v3 = nullptr; *((_QWORD *)v2 + 7) = 0; } else { v3 = nullptr; v2 = nullptr; } cocos2d::CCAnimationCache::s_pSharedAnimationCache = v2; v4 = (cocos2d::CCDictionary *)sub_1800E4AC0(0x48u); if ( v4 ) v3 = cocos2d::CCDictionary::CCDictionary(v4); *((_QWORD *)v2 + 7) = v3; return cocos2d::CCAnimationCache::s_pSharedAnimationCache; } return result; }