//
// cocos2d::CCLabelAtlas::initWithString from 0x100799310 to 0x10079937d (109 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
//
bool __fastcall cocos2d::CCLabelAtlas::initWithString(
cocos2d::CCLabelAtlas *a1,
const char *a2,
cocos2d::CCTexture2D *a3,
unsigned int a4,
unsigned int a5,
unsigned int a6)
{
unsigned int v9; // eax
bool result; // al
bool v11; // bl
v9 = strlen(a2);
result = cocos2d::CCAtlasNode::initWithTexture(a1, a3, a4, a5, v9);
if ( result )
{
a1->m_uMapStartChar = a6;
v11 = result;
((void (__fastcall *)(cocos2d::CCLabelAtlas *, const char *))a1->setString)(a1, a2);
return v11;
}
return result;
}