//
// TextArea::create from 0x10011af0c to 0x10011b018 (268 bytes)
//
// 69 xrefs:
// > SecretLayer5::init @ 0x10007d0e0
// > sub_100084AD4 @ 0x100084e6c
// > sub_100084AD4 @ 0x100084f84
// > DialogLayer::displayDialogObject @ 0x1000903a4
// > EditLevelLayer::init @ 0x10010f56c
// > AchievementCell::loadFromDict @ 0x100126e58
// > CommentCell::loadFromComment @ 0x10012bbdc
// > GJNotificationCell::loadFromNotification @ 0x100130ee0
// > GJNotificationCell::loadFromNotification @ 0x100130f9c
// > GJNotificationCell::loadFromNotification @ 0x100131050
// > sub_1001C4F04 @ 0x1001c5174
// > PurchaseItemPopup::init @ 0x1001cc8e4
// > AccountLayer::customSetup @ 0x1001ee54c
// > AccountHelpLayer::customSetup @ 0x1001efe2c
// > TutorialLayer::loadPage @ 0x1002534b4
// > GauntletSelectLayer::init @ 0x100254978
// > ShareCommentLayer::init @ 0x10026d18c
// > sub_10026DD44 @ 0x10026de38
// > LoadingLayer::init @ 0x10026e938
// > LoadingLayer::loadAssets @ 0x10026f27c
// > GauntletLayer::init @ 0x1002ce798
// > LevelListLayer::init @ 0x1002e1888
// > sub_1002E5208 @ 0x1002e544c
// > sub_1002E5208 @ 0x1002e56f0
// > sub_1002E65F8 @ 0x1002e6878
// > LevelLeaderboard::init @ 0x1002ece4c
// > sub_1003085CC @ 0x100308cb8
// > ShareLevelLayer::init @ 0x100313004
// > ShareLevelLayer::init @ 0x1003132e8
// > ShareLevelLayer::init @ 0x1003133a4
// > UploadPopup::init @ 0x10031474c
// > sub_100314E5C @ 0x100315658
// > FLAlertLayer::init @ 0x10034ad98
// > FLAlertLayer::init @ 0x10034af30
// > sub_1003767E8 @ 0x1003769a8
// > sub_100377258 @ 0x100377400
// > sub_100378260 @ 0x100378404
// > GJMessagePopup::loadFromGJMessage @ 0x100379dd4
// > sub_10037C930 @ 0x10037cdf8
// > TOSPopup::init @ 0x10037ea84
// > EndLevelLayer::customSetup @ 0x1003927ec
// > EndLevelLayer::customSetup @ 0x100392944
// > ItemInfoPopup::init @ 0x1003a5990
// > InfoLayer::init @ 0x1003ee864
// > LeaderboardsLayer::init @ 0x100457bb4
// > LevelBrowserLayer::init @ 0x1004958c8
// > LevelBrowserLayer::loadPage @ 0x10049890c
// > LevelBrowserLayer::loadPage @ 0x100498a0c
// > LevelBrowserLayer::loadPage @ 0x100498b0c
// > LevelBrowserLayer::loadPage @ 0x100498d48
// > LevelBrowserLayer::loadPage @ 0x100498e14
// > LevelBrowserLayer::loadPage @ 0x100498ee0
// > sub_1004D4894 @ 0x1004d4bd0
// > LevelStatsInfoPopup::init @ 0x1004f26fc
// > LevelStatsInfoPopup::init @ 0x1004f2798
// > MessageThreadsPage::init @ 0x1004f485c
// > ThreadViewPopup::init @ 0x1004f8d34
// > sub_1004FEA64 @ 0x1004fecc4
// > ThreadViewPopup::mountVirtualRow @ 0x10050083c
// > sub_100501B28 @ 0x100501eac
// > sub_100508F28 @ 0x100509db4
// > ThreadDescPopup::buildUI @ 0x100512fdc
// > ThreadDescPopup::buildUI @ 0x1005130b4
// > sub_100514348 @ 0x100514c5c
// > sub_100518264 @ 0x100518bdc
// > CommentOptionsPopup::init @ 0x1005227c8
// > DailyRecallUnlockPopup::init @ 0x10053a7f8
// > sub_1005401F4 @ 0x100540550
// > sub_10054BC54 @ 0x10054be70
//
// 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
//
void *__fastcall TextArea::create(
__int64 a1,
__int64 a2,
double *a3,
__int64 a4,
__int64 a5,
float a6,
float a7,
float a8)
{
void *v16; // x19
int v17; // w0
int v18; // w20
__int64 v20; // [xsp+8h] [xbp-78h] BYREF
void *__p[2]; // [xsp+10h] [xbp-70h] BYREF
__int64 v22; // [xsp+20h] [xbp-60h]
v16 = operator new(0x2D0u);
sub_10011BDD4();
if ( *(char *)(a1 + 23) < 0 )
{
sub_1000097D0(__p, *(void **)a1, *(_QWORD *)(a1 + 8));
}
else
{
*(_OWORD *)__p = *(_OWORD *)a1;
v22 = *(_QWORD *)(a1 + 16);
}
sub_1000262F4(&v20, a3);
v17 = TextArea::init(v16, __p, a2, &v20, a4, a5, a6, a7, a8);
v18 = v17;
if ( SHIBYTE(v22) < 0 )
{
operator delete(__p[0]);
if ( v18 )
goto LABEL_6;
LABEL_8:
(*(void (__fastcall **)(void *))(*(_QWORD *)v16 + 16LL))(v16);
return nullptr;
}
if ( !v17 )
goto LABEL_8;
LABEL_6:
cocos2d::CCObject::autorelease((__int64)v16);
return v16;
}