// // cocos2d::CCMenuItemAtlasFont::initWithString from 0xaf58f8 to 0xaf59f0 (248 bytes) // // 3 xrefs: // > cocos2d::CCMenuItemLabel::setString @ 0xaf58f4 // > cocos2d::CCMenuItemAtlasFont::create @ 0xaf5a9c // > @ 0xc70e0 // // 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 *v11; // x19 unsigned int v16; // [xsp+58h] [xbp+58h] v16 = (unsigned __int8)a6; v11 = (cocos2d::CCLabelAtlas *)operator new(0x1B0u); cocos2d::CCAtlasNode::CCAtlasNode(v11); v11->cocos2d::CCAtlasNode::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCLabelAtlas_vtbl *)&off_12018D0; v11->cocos2d::CCAtlasNode::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_1201D18; v11->cocos2d::CCAtlasNode::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&off_1201D98; v11->cocos2d::CCLabelProtocol::__vftable = (cocos2d::CCLabelProtocol_vtbl *)&off_1201DC8; sub_D153B8((_DWORD)v11 + 416, &byte_F288A0); cocos2d::CCLabelAtlas::initWithString(v11, a2, a3, a4, a5, v16); cocos2d::CCObject::autorelease(v11); cocos2d::CCMenuItemLabel::initWithLabel(a1, v11, a7, a8); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source