// // cocos2d::CCSpriteFrameCache::removeUnusedSpriteFrames from 0xd8c084 to 0xd8c120 (156 bytes) // // 1 xrefs: // > @ 0xf3970 // // This function is hookable on this platform (idp: arm, 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 13:08:16 +0000 // void __fastcall cocos2d::CCSpriteFrameCache::removeUnusedSpriteFrames(cocos2d::CCSpriteFrameCache *this) { __int64 v1; // x1 __int64 v2; // x20 __int64 v4; // x19 int v5; // w22 int v6; // w2 v1 = *((_QWORD *)this + 7); if ( v1 ) { v2 = *(_QWORD *)(v1 + 56); if ( v2 ) { v4 = *(_QWORD *)(v2 + 288); v5 = 0; v6 = cocos2d::CCObject::retainCount(*(cocos2d::CCObject **)(v2 + 264)); if ( v6 == 1 ) goto LABEL_6; while ( v4 ) { while ( 1 ) { v2 = v4; v4 = *(_QWORD *)(v4 + 288); v6 = cocos2d::CCObject::retainCount(*(cocos2d::CCObject **)(v2 + 264)); if ( v6 != 1 ) break; LABEL_6: v5 = v6; cocos2d::CCDictionary::removeObjectForElememt( *((cocos2d::CCDictionary **)this + 7), (cocos2d::CCDictElement *)v2); if ( !v4 ) goto LABEL_7; } } LABEL_7: if ( v5 ) std::__tree::clear(*((_QWORD **)this + 9)); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source