// // cocos2d::CCMenuItemFont::initWithString from 0x5d596c to 0x5d59c2 (86 bytes) // // 2 xrefs: // > cocos2d::CCMenuItemFont::create @ 0x5d5a30 // > cocos2d::CCMenuItemFont::create @ 0x5d5ab6 // // 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) { char *m_uAutoReleaseCount; // r1 unsigned int v8; // s15 cocos2d::CCLabelTTF *v9; // r0 void (__cdecl *varg_r3)(cocos2d::CCObject *); // [sp+1Ch] [bp+14h] cocos2d::SEL_MenuHandler v12; // 0:r3.4,4:^0.4 sub_775D40(&a1[1].m_uAutoReleaseCount, &dword_AC8CF8); m_uAutoReleaseCount = (char *)a1[1].m_uAutoReleaseCount; v8 = dword_ABAC3C; a1[1].m_uReference = dword_ABAC3C; v9 = cocos2d::CCLabelTTF::create( (cocos2d::CCLabelTTF *)a2, m_uAutoReleaseCount, COERCE_CONST_CHAR_((float)v8), COERCE_FLOAT(&dword_ABAC3C)); v12.adj = a4.adj; v12.ptr = varg_r3; cocos2d::CCMenuItemLabel::initWithLabel(a1, v9, a3, v12); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source