// // cocos2d::CCLabelTTF::createWithFontDefinition from 0x18004fd70 to 0x18004fdf7 (135 bytes) // // 2 xrefs: // > @ 0x18014cf68 // > @ 0x1801bbed8 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:21:45 +0000 // // Hidden C++ exception states: #wind=1 struct cocos2d::CCLabelTTF *__fastcall cocos2d::CCLabelTTF::createWithFontDefinition( const char *a1, struct cocos2d::_ccFontDefinition *a2) { cocos2d::CCLabelTTF *v4; // rax cocos2d::CCObject *v5; // rbx v4 = (cocos2d::CCLabelTTF *)sub_1800E4AC0(0x2C0u); if ( v4 ) v5 = cocos2d::CCLabelTTF::CCLabelTTF(v4); else v5 = nullptr; if ( v5 ) { if ( cocos2d::CCLabelTTF::initWithStringAndTextDefinition(v5, a1, a2) ) { cocos2d::CCObject::autorelease(v5); return v5; } (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v5 + 8LL))(v5, 1); } return nullptr; }