//
// TextStyleSection::create from 0x6aa644 to 0x6aa704 (192 bytes)
//
// 6 xrefs:
// > TextStyleSection::createColoredSection @ 0x6aa71c
// > TextStyleSection::createInstantSection @ 0x6aa750
// > TextStyleSection::createShakeSection @ 0x6aa77c
// > TextStyleSection::createDelaySection @ 0x6aa7ac
// > TextStyleSection::createEmoteSection @ 0x6aa7d8
// > ??> @ 0x4ccd8
//
// 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:50:47 +0000
//
__int64 __fastcall TextStyleSection::create(int a1, int a2, int a3)
{
__int64 v6; // x19
v6 = operator new(0x60u);
cocos2d::CCObject::CCObject((cocos2d::CCObject *)v6);
*(_DWORD *)(v6 + 56) = 0;
*(_DWORD *)(v6 + 60) = 0;
*(_QWORD *)v6 = &off_141B650;
*(_DWORD *)(v6 + 64) = 0;
*(_QWORD *)(v6 + 88) = 0;
if ( (unsigned __int8)TextStyleSection::init((_DWORD *)v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);
return v6;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 16LL))(v6);
return 0;
}
}