// // cocos2d::extension::CCEditBoxImplWin::setFont from 0x180011960 to 0x1800119c8 (104 bytes) // // 3 xrefs: // > @ 0x180028158 // > @ 0x18002fdf8 // > @ 0x18004a2c0 // // 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::extension::CCEditBoxImplWin::setFont( cocos2d::extension::CCEditBoxImplWin *this, const char *a2, int a3) { cocos2d::CCLabelTTF *v4; // rcx float v6; // xmm6_4 cocos2d::CCLabelTTF *v7; // rcx v4 = *((cocos2d::CCLabelTTF **)this + 3); v6 = (float)a3; if ( v4 ) { cocos2d::CCLabelTTF::setFontName(v4, a2); cocos2d::CCLabelTTF::setFontSize(*((cocos2d::CCLabelTTF **)this + 3), v6); } v7 = *((cocos2d::CCLabelTTF **)this + 4); if ( v7 ) { cocos2d::CCLabelTTF::setFontName(v7, a2); cocos2d::CCLabelTTF::setFontSize(*((cocos2d::CCLabelTTF **)this + 4), v6); } }