//
// TextArea::create from 0x6b3334 to 0x6b356c (568 bytes)
//
// 72 xrefs:
// > FLAlertLayer::init @ 0x69a068
// > FLAlertLayer::init @ 0x69a608
// > CreateGuidelinesLayer::init @ 0x6e89a8
// > CreateGuidelinesLayer::init @ 0x6e8ac8
// > LoadingLayer::init @ 0x6ed5c8
// > LoadingLayer::loadAssets @ 0x6edf94
// > AchievementCell::loadFromDict @ 0x7420f8
// > GJNotificationCell::loadFromNotification @ 0x74a248
// > GJNotificationCell::loadFromNotification @ 0x74a2ec
// > GJNotificationCell::loadFromNotification @ 0x74a380
// > CommentCell::loadFromComment @ 0x74b338
// > EditLevelLayer::init @ 0x7f0898
// > ShareLevelSettingsLayer::init @ 0x7f33fc
// > ShareLevelLayer::init @ 0x7f3ef4
// > ShareLevelLayer::init @ 0x7f4280
// > ShareLevelLayer::init @ 0x7f4344
// > UploadPopup::init @ 0x7f4e88
// > LevelBrowserLayer::loadPage @ 0x7f8cb0
// > LevelBrowserLayer::loadPage @ 0x7f9024
// > LevelBrowserLayer::loadPage @ 0x7f90ec
// > LevelBrowserLayer::loadPage @ 0x7f9180
// > LevelBrowserLayer::loadPage @ 0x7f9238
// > LevelBrowserLayer::loadPage @ 0x7f92f0
// > LevelBrowserLayer::init @ 0x7f9b60
// > ItemInfoPopup::init @ 0x8bebc0
// > EndLevelLayer::customSetup @ 0x8fd0c4
// > EndLevelLayer::customSetup @ 0x8fd540
// > AchievementBar::init @ 0x8fe50c
// > TutorialLayer::loadPage @ 0x90063c
// > InfoLayer::init @ 0x90c3bc
// > ShareCommentLayer::lockInput @ 0x90ea1c
// > ShareCommentLayer::init @ 0x90f1b0
// > LeaderboardsLayer::init @ 0x94f720
// > NCSInfoLayer::init @ 0x982408
// > AccountLayer::customSetup @ 0x98dd30
// > AccountHelpLayer::customSetup @ 0x98e8f4
// > TOSPopup::init @ 0xa2520c
// > UpdateAccountSettingsPopup::init @ 0xa264e4
// > UploadActionPopup::init @ 0xa281d8
// > FriendRequestPopup::loadFromGJFriendRequest @ 0xa2bac8
// > SetTextPopup::init @ 0xa2fea8
// > GJWriteMessagePopup::init @ 0xa32794
// > GJWriteMessagePopup::init @ 0xa32ac8
// > GJMessagePopup::loadFromGJMessage @ 0xa332d4
// > DialogLayer::displayDialogObject @ 0xa70c3c
// > GauntletSelectLayer::init @ 0xa772c4
// > GauntletLayer::init @ 0xa79a68
// > PurchaseItemPopup::init @ 0xa80e00
// > LevelLeaderboard::init @ 0xa832c0
// > NewsPopup::rebuildPage @ 0xb8b650
// > UploadListPopup::init @ 0xbac584
// > ShareListLayer::init @ 0xbad018
// > ShareListLayer::init @ 0xbad2d8
// > LevelListLayer::init @ 0xbaf8f0
// > SecretLayer5::init @ 0xbc8960
// > AdminActionConfirmPopup::init @ 0xc3e29c
// > ReviewChoiceSheet::init @ 0xc4181c
// > DailyRecallUnlockPopup::init @ 0xc5e054
// > MessageThreadsPage::init @ 0xc75d3c
// > ThreadMessageOptionsPopup::init @ 0xc79414
// > ThreadDescPopup::buildUI @ 0xc79fe8
// > ThreadDescPopup::buildUI @ 0xc7a43c
// > NewThreadPopup::init @ 0xc7e248
// > ThreadRequestPopup::init @ 0xc80500
// > ThreadViewPopup::measureBody @ 0xc85270
// > ThreadViewPopup::init @ 0xc877a0
// > ThreadViewPopup::mountVirtualRow @ 0xc8b828
// > SoundPackDescPopup::init @ 0xccfef0
// > LevelStatsInfoPopup::init @ 0xcf99c0
// > LevelStatsInfoPopup::init @ 0xcf9a50
// > CommentOptionsPopup::init @ 0xcffd10
// > ??> @ 0xefe00
//
// 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 12:50:51 +0000
//
__int64 __fastcall TextArea::create(
char *a1,
const char *a2,
const cocos2d::CCPoint *a3,
char a4,
int a5,
float a6,
float a7,
float a8)
{
__int64 v16; // x19
char v17; // w0
__int64 v18; // x0
__int64 v19; // x1
int v20; // w21
__int64 v21; // x1
__int64 v22; // x0
_BYTE v24[8]; // [xsp+78h] [xbp+78h] BYREF
__int64 v25; // [xsp+80h] [xbp+80h] BYREF
__int64 v26; // [xsp+88h] [xbp+88h]
void *v27; // [xsp+90h] [xbp+90h]
v16 = operator new(0x2D0u);
cocos2d::CCSprite::CCSprite((cocos2d::CCSprite *)v16);
*(_BYTE *)(v16 + 597) = 1;
*(_BYTE *)(v16 + 596) = 0;
*(_DWORD *)(v16 + 600) = 0;
*(_QWORD *)v16 = &off_141CB30;
*(_QWORD *)(v16 + 320) = &off_141D018;
*(_QWORD *)(v16 + 344) = &off_141D098;
*(_DWORD *)(v16 + 604) = 0;
*(_QWORD *)(v16 + 608) = 0;
*(_DWORD *)(v16 + 616) = 0;
*(_QWORD *)(v16 + 624) = 0;
*(_DWORD *)(v16 + 620) = 0;
*(_QWORD *)(v16 + 632) = 0;
*(_QWORD *)(v16 + 640) = 0;
*(_BYTE *)(v16 + 652) = 0;
*(_DWORD *)(v16 + 648) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v16 + 656));
*(_BYTE *)(v16 + 664) = 0;
*(_DWORD *)(v16 + 672) = 0;
*(_DWORD *)(v16 + 676) = 0;
*(_DWORD *)(v16 + 680) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v16 + 684));
*(_QWORD *)(v16 + 696) = 0;
*(_QWORD *)(v16 + 704) = 0;
v25 = 0;
v26 = 0;
*(_DWORD *)(v16 + 712) = 0;
v17 = *a1;
v27 = nullptr;
if ( (v17 & 1) != 0 )
{
std::string::__init(&v25, *((void **)a1 + 2), *((_QWORD *)a1 + 1));
}
else
{
v18 = *(_QWORD *)a1;
v19 = *((_QWORD *)a1 + 1);
v27 = *((void **)a1 + 2);
v25 = v18;
v26 = v19;
}
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v24, a3);
v20 = (unsigned __int8)TextArea::init(v16, (char *)&v25, a2, (__int64)v24, a4, a5, a6, a7, a8);
if ( (v25 & 1) != 0 )
operator delete(v27);
if ( v20 )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v16);
}
else
{
v21 = *(_QWORD *)v16;
v22 = v16;
v16 = 0;
(*(void (__fastcall **)(__int64))(v21 + 16))(v22);
}
return v16;
}