//
// cocos2d::VolatileTexture::addCCImage from 0xb35584 to 0xb355bc (56 bytes)
//
// 3 xrefs:
// > cocos2d::CCTextureCache::addUIImage @ 0xb35688
// > cocos2d::CCTextureCache::addUIImage @ 0xb356f4
// > ??> @ 0x9c6c0
//
// 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 cocos2d::VolatileTexture::addCCImage(
cocos2d::VolatileTexture *this,
cocos2d::CCTexture2D *a2,
cocos2d::CCImage *a3)
{
cocos2d::VolatileTexture **VolotileTexture; // x19
VolotileTexture = cocos2d::VolatileTexture::findVolotileTexture(this, a2);
cocos2d::CCObject::retain(a2);
VolotileTexture[1] = (cocos2d::VolatileTexture *)a2;
*((_DWORD *)VolotileTexture + 4) = 4;
return 4;
}