//
// GJBigSprite::unloadSprite from 0x10026a2f0 to 0x10026a34b (91 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
//
__int64 __fastcall GJBigSprite::unloadSprite(__int64 a1, __int64 a2, int a3)
{
cocos2d::CCTextureCache *v4; // rax
const char *v5; // r15
__int64 result; // rax
v4 = cocos2d::CCTextureCache::sharedTextureCache();
if ( (*(_BYTE *)a2 & 1) != 0 )
v5 = *(const char **)(a2 + 16);
else
v5 = (const char *)(a2 + 1);
cocos2d::CCTextureCache::removeTextureForKey(v4, v5);
result = *(_QWORD *)(a1 + 320);
*(_QWORD *)(result + 8 * ((unsigned __int64)a3 >> 6)) &= __ROL8__(-2, a3);
return result;
}