//
// TextArea::init from 0x1000f68b0 to 0x1000f698c (220 bytes)
//
// 1 xrefs:
// > TextArea::create @ 0x1000f6824
//
// 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
//
bool __fastcall TextArea::init(
__int64 a1,
__int64 a2,
const std::string::value_type *a3,
double *a4,
char a5,
float a6,
float a7,
float a8)
{
_BOOL8 v16; // x19
void *__p[2]; // [xsp+0h] [xbp-70h] BYREF
__int64 v19; // [xsp+10h] [xbp-60h]
v16 = cocos2d::CCSprite::init((cocos2d::CCSprite *)a1);
if ( v16 )
{
*(float *)(a1 + 608) = a7;
sub_1000229D0((_QWORD *)(a1 + 648), a4);
std::string::assign((std::string *)(a1 + 616), a3);
*(float *)(a1 + 660) = a6;
*(float *)(a1 + 640) = a8;
*(_BYTE *)(a1 + 596) = a5;
if ( *(char *)(a2 + 23) < 0 )
{
sub_1000097D0(__p, *(void **)a2, *(_QWORD *)(a2 + 8));
}
else
{
*(_OWORD *)__p = *(_OWORD *)a2;
v19 = *(_QWORD *)(a2 + 16);
}
TextArea::setString(a1, __p);
if ( SHIBYTE(v19) < 0 )
operator delete(__p[0]);
}
return v16;
}