// // cocos2d::CCSpriteFrameCache::removeSpriteFramesFromFile from 0x1003bcb10 to 0x1003bcbe4 (212 bytes) // // 10 xrefs: // > SecretLayer5::onExit @ 0x100076fc8 // > GJShopLayer::onExit @ 0x10014bed0 // > GauntletSelectLayer::onExit @ 0x1001c051c // > SecretRewardsLayer::onExit @ 0x1002eeb14 // > SecretLayer2::onExit @ 0x10030dbc0 // > SecretLayer3::onExit @ 0x100311898 // > LevelAreaLayer::onExit @ 0x1003455f4 // > LevelAreaInnerLayer::onExit @ 0x100346dc0 // > SecretLayer4::onExit @ 0x1003564d4 // > GJPathsLayer::onExit @ 0x1003b865c // // 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 // void __fastcall cocos2d::CCSpriteFrameCache::removeSpriteFramesFromFile( cocos2d::CCSpriteFrameCache *a1, const char *a2) { cocos2d::CCFileUtils *v4; // x0 void **v5; // x0 cocos2d::CCDictionary *v6; // x20 __int64 v7; // x22 __int64 v8; // x21 _QWORD *v9; // x0 void *__p[2]; // [xsp+0h] [xbp-50h] BYREF char v11; // [xsp+17h] [xbp-39h] void *v12[2]; // [xsp+18h] [xbp-38h] BYREF char v13; // [xsp+2Fh] [xbp-21h] v4 = cocos2d::CCFileUtils::sharedFileUtils(); ((void (__fastcall *)(void **__return_ptr, cocos2d::CCFileUtils *, const char *, _QWORD))v4->createCCArrayWithContentsOfFile)( v12, v4, a2, 0); if ( v13 >= 0 ) v5 = v12; else v5 = (void **)v12[0]; v6 = cocos2d::CCDictionary::createWithContentsOfFileThreadSafe((const char *)v5); cocos2d::CCSpriteFrameCache::removeSpriteFramesFromDictionary(a1, v6); v7 = *(_QWORD *)&a1[1].m_nTag; sub_100009900(__p, (char *)a2); v8 = sub_1000B3B98(v7, (const void **)__p); if ( v11 < 0 ) operator delete(__p[0]); v9 = *(_QWORD **)&a1[1].m_nTag; if ( v9 + 1 != (_QWORD *)v8 ) sub_1000B3C24(v9, v8); cocos2d::CCObject::release(v6); if ( v13 < 0 ) operator delete(v12[0]); }
GD Web Decomp Icon

GD Web Decomp

Raw Source