//
// EmoteSprite::createWithDef from 0x6e15dc to 0x6e1680 (164 bytes)
//
// 5 xrefs:
// > MultilineBitmapFont::initWithFont @ 0x6ac710
// > EmoteSprite::createWithName @ 0x6e1694
// > EmoteSprite::attachToLabel @ 0x6e180c
// > EmotePickerPopup::addCell @ 0xcb9128
// > ??> @ 0x914b0
//
// This function is hookable on this platform (idp: arm, 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 12:51:39 +0000
//
cocos2d::CCSprite *__fastcall EmoteSprite::createWithDef(__int64 a1)
{
cocos2d::CCSprite *v2; // x19
v2 = (cocos2d::CCSprite *)operator new(0x260u);
cocos2d::CCSprite::CCSprite(v2);
*((_QWORD *)v2 + 75) = 0;
*(_QWORD *)v2 = &off_1424250;
*((_QWORD *)v2 + 40) = &off_1424738;
*((_QWORD *)v2 + 43) = &off_14247B8;
if ( (unsigned __int8)EmoteSprite::initWithDef(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
return v2;
}
else
{
(*(void (__fastcall **)(cocos2d::CCSprite *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
}