//
// TextArea::init from 0x10011b040 to 0x10011b12c (236 bytes)
//
// 1 xrefs:
// > TextArea::create @ 0x10011afb4
//
// 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 10:59:12 +0000
//
__int64 __fastcall TextArea::init(
__int64 a1,
__int64 a2,
const std::string::value_type *a3,
double *a4,
char a5,
int a6,
float a7,
float a8,
float a9)
{
__int64 v18; // x19
void *__p[2]; // [xsp+0h] [xbp-80h] BYREF
__int64 v21; // [xsp+10h] [xbp-70h]
v18 = cocos2d::CCSprite::init(a1);
if ( (_DWORD)v18 )
{
*(float *)(a1 + 616) = a8;
sub_10002630C((_QWORD *)(a1 + 656), a4);
std::string::assign((std::string *)(a1 + 624), a3);
*(float *)(a1 + 668) = a7;
*(float *)(a1 + 648) = a9;
*(_BYTE *)(a1 + 596) = a5;
*(_DWORD *)(a1 + 600) = a6;
if ( *(char *)(a2 + 23) < 0 )
{
sub_1000097D0(__p, *(void **)a2, *(_QWORD *)(a2 + 8));
}
else
{
*(_OWORD *)__p = *(_OWORD *)a2;
v21 = *(_QWORD *)(a2 + 16);
}
TextArea::setString(a1, __p);
if ( SHIBYTE(v21) < 0 )
operator delete(__p[0]);
}
return v18;
}