// // cocos2d::CCMenuItemAtlasFont::initWithString from 0x5d57d4 to 0x5d586c (152 bytes) // // 1 xrefs: // > cocos2d::CCMenuItemAtlasFont::create @ 0x5d58d6 // // 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 cocos2d::CCMenuItemAtlasFont::initWithString( cocos2d::CCMenuItemAtlasFont *a1, const char *a2, const char *a3, int a4, int a5, char a6, cocos2d::CCObject *a7, cocos2d::SEL_MenuHandler a8) { cocos2d::CCLabelAtlas *v12; // r4 v12 = (cocos2d::CCLabelAtlas *)operator new(0x158u); cocos2d::CCAtlasNode::CCAtlasNode(v12); v12->cocos2d::CCAtlasNode::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCLabelAtlas_vtbl *)&off_AA1FC8; v12->cocos2d::CCAtlasNode::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_AA21EC; v12->cocos2d::CCAtlasNode::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&off_AA222C; v12->cocos2d::CCLabelProtocol::__vftable = (cocos2d::CCLabelProtocol_vtbl *)&off_AA2244; sub_776584((int)&v12->m_sString, (char *)&unk_939830); cocos2d::CCLabelAtlas::initWithString(v12, a2, a3, a4, a5, (unsigned __int8)a6); cocos2d::CCObject::autorelease(v12); cocos2d::CCMenuItemLabel::initWithLabel(a1, v12, a7, a8); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source