//
// TextArea::init from 0x2f44a8 to 0x2f452c (132 bytes)
//
// 1 xrefs:
// > TextArea::create @ 0x2f4618
//
// 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(int a1, int a2, char *a3, int a4, int a5, int a6, int a7, char a8)
{
_BOOL4 v12; // r7
_DWORD v14[2]; // [sp+0h] [bp-8h] BYREF
v14[0] = a1;
v14[1] = a2;
v12 = cocos2d::CCSprite::init((cocos2d::CCSprite *)a1);
if ( v12 )
{
*(_DWORD *)(a1 + 516) = a5;
cocos2d::CCPoint::operator=(a1 + 536, a6);
sub_7753D4(a1 + 524, a3);
*(_DWORD *)(a1 + 548) = a4;
*(_DWORD *)(a1 + 528) = a7;
*(_BYTE *)(a1 + 508) = a8;
sub_775C20(v14, a2);
TextArea::setString(a1, v14);
sub_774008(v14);
}
return v12;
}