// // cocos2d::CCSpriteFrameCache::removeUnusedSpriteFrames from 0x100308650 to 0x1003086f3 (163 bytes) // // 0 xrefs: // // 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 12:28:35 +0000 // void __fastcall cocos2d::CCSpriteFrameCache::removeUnusedSpriteFrames(__int64 a1) { __int64 v1; // rax __int64 v2; // r15 char v3; // r12 __int64 v4; // r14 __int64 v5; // rbx v1 = *(_QWORD *)(a1 + 56); if ( v1 ) { v2 = *(_QWORD *)(v1 + 56); if ( v2 ) { v3 = 0; LABEL_4: v4 = v2; do { v2 = *(_QWORD *)(v4 + 288); if ( (unsigned int)sub_100480140(*(_QWORD *)(v4 + 264)) == 1 ) { cocos2d::CCDictionary::removeObjectForElememt(*(_QWORD *)(a1 + 56), v4); v3 = 1; if ( v2 ) goto LABEL_4; goto LABEL_11; } v4 = v2; } while ( v2 ); if ( (v3 & 1) == 0 ) return; LABEL_11: v5 = *(_QWORD *)(a1 + 72); sub_1001EAE60(v5, *(_QWORD **)(v5 + 8)); *(_QWORD *)v5 = v5 + 8; *(_OWORD *)(v5 + 8) = 0; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source