// // cocos2d::CCSpriteFrameCache::removeSpriteFrameByName from 0x5e98a4 to 0x5e9954 (176 bytes) // // 0 xrefs: // // 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 cocos2d::CCSpriteFrameCache::removeSpriteFrameByName(cocos2d::CCSpriteFrameCache *a1, const char *a2) { unsigned int m_uID; // r8 cocos2d::CCString *v5; // r8 cocos2d::CCSpriteFrameCache_vtbl *v6; // r9 char *CString; // r0 char *v8; // r1 int m_nLuaID; // r4 const char *v10; // [sp+8h] [bp-8h] BYREF if ( a2 ) { m_uID = a1[1].m_uID; sub_776584((int)&v10, (char *)a2); v5 = (cocos2d::CCString *)cocos2d::CCDictionary::objectForKey(m_uID, &v10); sub_774008(&v10); v6 = a1[1].__vftable; if ( v5 ) { CString = (char *)cocos2d::CCString::getCString(v5); sub_776584((int)&v10, CString); cocos2d::CCDictionary::removeObjectForKey((cocos2d::CCDictionary *)v6, &v10); sub_774008(&v10); v6 = (cocos2d::CCSpriteFrameCache_vtbl *)a1[1].m_uID; v8 = (char *)cocos2d::CCString::getCString(v5); } else { v8 = (char *)a2; } sub_776584((int)&v10, v8); cocos2d::CCDictionary::removeObjectForKey((cocos2d::CCDictionary *)v6, &v10); sub_774008(&v10); m_nLuaID = a1[1].m_nLuaID; std::_Rb_tree,std::less,std::allocator>::_M_erase( m_nLuaID, *(_DWORD **)(m_nLuaID + 8)); *(_DWORD *)(m_nLuaID + 12) = m_nLuaID + 4; *(_DWORD *)(m_nLuaID + 8) = 0; *(_DWORD *)(m_nLuaID + 16) = m_nLuaID + 4; *(_DWORD *)(m_nLuaID + 20) = 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source