//
// cocos2d::VolatileTexture::addStringTexture from 0xda68f8 to 0xda69bc (196 bytes)
//
// 2 xrefs:
// > cocos2d::CCTexture2D::initWithString @ 0xda3d5c
// > ??> @ 0xd0ba0
//
// 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
//
__int64 *__fastcall cocos2d::VolatileTexture::addStringTexture(
__int64 *result,
cocos2d::CCTexture2D *a2,
float *a3,
int a4,
int a5,
const char *a6,
float a7)
{
cocos2d::VolatileTexture **VolotileTexture; // x22
size_t v14; // x0
size_t v15; // x0
if ( !cocos2d::VolatileTexture::isReloading )
{
VolotileTexture = cocos2d::VolatileTexture::findVolotileTexture((cocos2d::VolatileTexture *)result, a2);
*((_DWORD *)VolotileTexture + 4) = 3;
cocos2d::CCSize::operator=((float *)VolotileTexture + 23, a3);
v14 = strlen(a6);
std::string::assign((__int64 *)VolotileTexture + 14, a6, v14);
*((_DWORD *)VolotileTexture + 25) = a4;
*((_DWORD *)VolotileTexture + 26) = a5;
*((float *)VolotileTexture + 40) = a7;
v15 = strlen((const char *)a2);
return std::string::assign((__int64 *)VolotileTexture + 17, a2, v15);
}
return result;
}