//
// cocos2d::CCLabelAtlas::initWithString from 0x180047e50 to 0x180047ec7 (119 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bb9d4
//
// This function is hookable on this platform (idp: pc, 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 11:21:41 +0000
//
char __fastcall cocos2d::CCLabelAtlas::initWithString(
cocos2d::CCLabelAtlas *this,
const char *Str,
struct cocos2d::CCTexture2D *a3,
int a4,
unsigned int a5,
unsigned int a6)
{
unsigned int v10; // eax
v10 = strlen(Str);
if ( !cocos2d::CCAtlasNode::initWithTexture(this, a3, a4, a5, v10) )
return 0;
*((_DWORD *)this + 112) = a6;
(**((void (__fastcall ***)(char *, const char *))this + 51))((char *)this + 408, Str);
return 1;
}