//
// cocos2d::VolatileTexture::addStringTexture from 0x5f5728 to 0x5f577a (82 bytes)
//
// 1 xrefs:
// > cocos2d::CCTexture2D::initWithString @ 0x5f40f4
//
// 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
//
cocos2d::VolatileTexture *__fastcall cocos2d::VolatileTexture::addStringTexture(
cocos2d::VolatileTexture *result,
cocos2d::CCTexture2D *a2,
float *a3,
cocos2d::CCTextAlignment a4,
cocos2d::CCVerticalTextAlignment a5,
char *a6,
float a7)
{
cocos2d::VolatileTexture *VolotileTexture; // r4
if ( !cocos2d::VolatileTexture::isReloading )
{
VolotileTexture = cocos2d::VolatileTexture::findVolotileTexture(result, a2);
VolotileTexture->m_eCashedImageType = kString;
cocos2d::CCSize::operator=(&VolotileTexture->m_size, a3);
sub_7753D4((int)&VolotileTexture->m_strFontName, a6);
VolotileTexture->m_alignment = a4;
VolotileTexture->m_vAlignment = a5;
VolotileTexture->m_fFontSize = a7;
return (cocos2d::VolatileTexture *)sub_7753D4((int)&VolotileTexture->m_strText, (char *)a2);
}
return result;
}