// // cocos2d::CCMenuItemFont::initWithString from 0xaf5b78 to 0xaf5bf8 (128 bytes) // // 3 xrefs: // > cocos2d::CCMenuItemFont::create @ 0xaf5ca8 // > cocos2d::CCMenuItemFont::create @ 0xaf5d80 // > @ 0x6aa58 // // 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::CCMenuItemFont::initWithString( cocos2d::CCMenuItemFont *a1, const char *a2, cocos2d::CCObject *a3, cocos2d::SEL_MenuHandler a4) { void (__cdecl *ptr)(cocos2d::CCObject *); // x20 size_t adj; // x21 char *v8; // x1 unsigned int v9; // w4 const char *v10; // x2 cocos2d::CCLabelTTF *v11; // x0 cocos2d::SEL_MenuHandler v14; // 0:x3.16 ptr = a4.ptr; adj = a4.adj; sub_D18EA8(&a1[1].m_uIndexInArray, &qword_1245470); v8 = *(char **)&a1[1].m_uIndexInArray; v9 = dword_1230CE8; a1[1].m_uAutoReleaseCount = dword_1230CE8; v11 = cocos2d::CCLabelTTF::create((cocos2d::CCLabelTTF *)a2, v8, v10, (float)v9); v14.ptr = ptr; v14.adj = adj; cocos2d::CCMenuItemLabel::initWithLabel(a1, v11, a3, v14); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source