// // cocos2d::CCMenuItemFont::setFontNameObj from 0x1003bfaa0 to 0x1003bfb23 (131 bytes) // // 0 xrefs: // // 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 // void __fastcall cocos2d::CCMenuItemFont::setFontNameObj(cocos2d::CCMenuItemFont *a1, const char *a2) { void *v2; // rax const char *v3; // rax const char *v4; // rsi cocos2d::CCLabelTTF *v5; // rax std::string::assign((std::string *)&a1[1].m_uIndexInArray, a2); v2 = __dynamic_cast( *(const void **)&a1[1].m_uID, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCLabelProtocol, -2); v3 = (const char *)(*(__int64 (__fastcall **)(void *))(*(_QWORD *)v2 + 8LL))(v2); if ( (a1[1].m_uIndexInArray & 1) != 0 ) v4 = *(const char **)&a1[1].m_uOrderOfArrival; else v4 = (char *)&a1[1].m_uIndexInArray + 1; v5 = cocos2d::CCLabelTTF::create_2(v3, v4, (float)(int)a1[1].m_uAutoReleaseCount); ((void (__fastcall *)(cocos2d::CCMenuItemFont *, cocos2d::CCLabelTTF *))a1->setLabel)(a1, v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source