// // cocos2d::CCLabelAtlas::initWithString_1 from 0x100799280 to 0x100799302 (130 bytes) // // 1 xrefs: // > cocos2d::CCMenuItemAtlasFont::initWithString @ 0x1003bf566 // // 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_1( cocos2d::CCLabelAtlas *a1, const char *a2, const char *a3, unsigned int a4, unsigned int a5, unsigned int a6) { cocos2d::CCTextureCache *v9; // rax cocos2d::CCTexture2D *v10; // r14 unsigned int v11; // eax bool result; // al bool v13; // bl v9 = cocos2d::CCTextureCache::sharedTextureCache(); v10 = cocos2d::CCTextureCache::addImage(v9, a3, 0); v11 = strlen(a2); result = cocos2d::CCAtlasNode::initWithTexture(a1, v10, a4, a5, v11); if ( result ) { a1->m_uMapStartChar = a6; v13 = result; ((void (__fastcall *)(cocos2d::CCLabelAtlas *, const char *))a1->setString)(a1, a2); return v13; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source