//
// cocos2d::CCLabelAtlas::initWithString from 0x1800465f0 to 0x180046664 (116 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b1764
//
// 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
//
char __fastcall cocos2d::CCLabelAtlas::initWithString(
cocos2d::CCLabelAtlas *this,
const char *a2,
struct cocos2d::CCTexture2D *a3,
unsigned int a4,
unsigned int a5,
unsigned int a6)
{
__int64 v8; // rax
v8 = -1;
do
++v8;
while ( a2[v8] );
if ( !cocos2d::CCAtlasNode::initWithTexture(this, a3, a4, a5, v8) )
return 0;
this->m_uMapStartChar = a6;
((void (__fastcall *)(cocos2d::CCLabelProtocol *, const char *))this->setString)(&this->cocos2d::CCLabelProtocol, a2);
return 1;
}