//
// TextArea::init from 0x3d9f64 to 0x3d9ff6 (146 bytes)
//
// 1 xrefs:
// > TextArea::create @ 0x3da0f6
//
// 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:47 +0000
//
int __fastcall TextArea::init(int a1, int a2, const char *a3, int a4, int a5, int a6, int a7, char a8, int a9)
{
int v13; // r7
size_t v14; // r0
int v16[4]; // [sp+0h] [bp-10h] BYREF
v16[0] = a1;
v16[1] = a2;
v16[2] = (int)a3;
v16[3] = a4;
v13 = cocos2d::CCSprite::init((cocos2d::CCSprite *)a1);
if ( v13 )
{
*(_DWORD *)(a1 + 524) = a5;
cocos2d::CCPoint::operator=(a1 + 552, a6);
v14 = strlen(a3);
std::string::assign((_DWORD *)(a1 + 532), a3, v14);
*(_DWORD *)(a1 + 564) = a4;
*(_DWORD *)(a1 + 544) = a7;
*(_BYTE *)(a1 + 508) = a8;
*(_DWORD *)(a1 + 512) = a9;
std::string::basic_string(v16, a2);
TextArea::setString(a1, v16);
std::string::~string((int)v16);
}
return v13;
}