//
// TextStyleSection::create from 0x3d504c to 0x3d50a4 (88 bytes)
//
// 5 xrefs:
// > TextStyleSection::createColoredSection @ 0x3d50b2
// > TextStyleSection::createInstantSection @ 0x3d50d8
// > TextStyleSection::createShakeSection @ 0x3d50e8
// > TextStyleSection::createDelaySection @ 0x3d50fc
// > TextStyleSection::createEmoteSection @ 0x3d510c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:46:43 +0000
//
cocos2d::CCObject *__fastcall TextStyleSection::create(int a1, int a2, int a3)
{
cocos2d::CCObject *v6; // r4
int v7; // r3
cocos2d::CCObject *v8; // r0
v6 = (cocos2d::CCObject *)operator new(0x58u);
cocos2d::CCObject::CCObject(v6);
*(_DWORD *)v6 = &off_C87568;
*((_DWORD *)v6 + 13) = 0;
*((_DWORD *)v6 + 14) = 0;
*((_DWORD *)v6 + 15) = 0;
*((_DWORD *)v6 + 21) = 0;
if ( TextStyleSection::init(v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease(v6);
}
else
{
v7 = *(_DWORD *)v6;
v8 = v6;
v6 = nullptr;
(*(void (__fastcall **)(cocos2d::CCObject *))(v7 + 8))(v8);
}
return v6;
}