//
// cocos2d::CCLabelAtlas::initWithString from 0xd545c8 to 0xd54658 (144 bytes)
//
// 2 xrefs:
// > cocos2d::CCLabelAtlas::initWithString @ 0xd546b0
// > ??> @ 0x839b0
//
// 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:07:42 +0000
//
__int64 __fastcall cocos2d::CCLabelAtlas::initWithString(
cocos2d::CCLabelAtlas *this,
const char *a2,
cocos2d::CCTexture2D *a3,
int a4,
int a5,
int a6)
{
unsigned int v8; // w0
unsigned __int8 v9; // w0
unsigned int v10; // w20
__int64 v11; // x2
v8 = strlen(a2);
v9 = cocos2d::CCAtlasNode::initWithTexture(this, a3, a4, a5, v8);
v10 = v9;
if ( v9 )
{
v11 = *(_QWORD *)this;
*((_DWORD *)this + 110) = a6;
(*(void (__fastcall **)(cocos2d::CCLabelAtlas *, const char *))(v11 + 1080))(this, a2);
}
return v10;
}