//
// cocos2d::VolatileTexture::addDataTexture from 0xda5fb0 to 0xda601c (108 bytes)
//
// 3 xrefs:
// > cocos2d::CCRenderTexture::listenToBackground @ 0xd6b490
// > cocos2d::CCRenderTexture::listenToBackground @ 0xd6b4ac
// > ??> @ 0x56f20
//
// This function is hookable on this platform (idp: arm, 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 13:08:32 +0000
//
float *__fastcall cocos2d::VolatileTexture::addDataTexture(float *result, cocos2d::CCTexture2D *a2, int a3, float *a4)
{
cocos2d::VolatileTexture **VolotileTexture; // x0
if ( !cocos2d::VolatileTexture::isReloading )
{
VolotileTexture = cocos2d::VolatileTexture::findVolotileTexture((cocos2d::VolatileTexture *)result, a2);
*((_DWORD *)VolotileTexture + 4) = 2;
VolotileTexture[3] = a2;
*((_DWORD *)VolotileTexture + 10) = a3;
return cocos2d::CCSize::operator=((float *)VolotileTexture + 8, a4);
}
return result;
}