//
// TextArea::create from 0x1000f6784 to 0x1000f6888 (260 bytes)
//
// 49 xrefs:
// > SecretLayer5::init @ 0x10007492c
// > CreateGuidelinesLayer::init @ 0x10007c718
// > CreateGuidelinesLayer::init @ 0x10007c82c
// > DialogLayer::displayDialogObject @ 0x100086f34
// > EditLevelLayer::init @ 0x1000e9678
// > AchievementCell::loadFromDict @ 0x100101d88
// > CommentCell::loadFromComment @ 0x100106a3c
// > NCSInfoLayer::init @ 0x100146874
// > PurchaseItemPopup::init @ 0x10014dfd8
// > AccountLayer::customSetup @ 0x1001657a4
// > AccountHelpLayer::customSetup @ 0x100167080
// > TutorialLayer::loadPage @ 0x1001bda2c
// > GauntletSelectLayer::init @ 0x1001bee7c
// > ShareCommentLayer::init @ 0x1001d50a8
// > LoadingLayer::init @ 0x1001d63e0
// > LoadingLayer::loadAssets @ 0x1001d6d18
// > GauntletLayer::init @ 0x100232758
// > LevelListLayer::init @ 0x1002447c4
// > ShareListLayer::init @ 0x1002481fc
// > ShareListLayer::init @ 0x1002485ec
// > UploadListPopup::init @ 0x100249678
// > LevelLeaderboard::init @ 0x10024fc58
// > AchievementBar::init @ 0x10026aeb0
// > ShareLevelLayer::init @ 0x1002751d8
// > ShareLevelLayer::init @ 0x100275608
// > ShareLevelLayer::init @ 0x1002756c0
// > UploadPopup::init @ 0x1002767a0
// > ShareLevelSettingsLayer::init @ 0x1002776a0
// > FLAlertLayer::init @ 0x1002ac138
// > FLAlertLayer::init @ 0x1002ac2bc
// > UpdateAccountSettingsPopup::init @ 0x1002d7be4
// > UploadActionPopup::init @ 0x1002d85ec
// > FriendRequestPopup::loadFromGJFriendRequest @ 0x1002d9574
// > GJMessagePopup::loadFromGJMessage @ 0x1002dad4c
// > GJWriteMessagePopup::init @ 0x1002dc308
// > GJWriteMessagePopup::init @ 0x1002dc5f8
// > TOSPopup::init @ 0x1002e0990
// > EndLevelLayer::customSetup @ 0x1002f5ff4
// > EndLevelLayer::customSetup @ 0x1002f6148
// > ItemInfoPopup::init @ 0x100308c74
// > InfoLayer::init @ 0x100350410
// > LeaderboardsLayer::init @ 0x1003b0bd8
// > LevelBrowserLayer::init @ 0x100414af8
// > LevelBrowserLayer::loadPage @ 0x1004174cc
// > LevelBrowserLayer::loadPage @ 0x1004175c8
// > LevelBrowserLayer::loadPage @ 0x1004176c4
// > LevelBrowserLayer::loadPage @ 0x1004178fc
// > LevelBrowserLayer::loadPage @ 0x1004179c4
// > LevelBrowserLayer::loadPage @ 0x100417a8c
//
// 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
//
cocos2d::CCObject *__fastcall TextArea::create(
__int64 a1,
__int64 a2,
__int64 *a3,
__int64 a4,
float a5,
float a6,
float a7)
{
cocos2d::CCObject *v14; // x19
int v15; // w0
int v16; // w20
__int64 v18; // [xsp+8h] [xbp-78h] BYREF
void *__p[2]; // [xsp+10h] [xbp-70h] BYREF
__int64 v20; // [xsp+20h] [xbp-60h]
v14 = (cocos2d::CCObject *)operator new(0x2C8u);
sub_1000F7340();
if ( *(char *)(a1 + 23) < 0 )
{
sub_1000097D0(__p, *(void **)a1, *(_QWORD *)(a1 + 8));
}
else
{
*(_OWORD *)__p = *(_OWORD *)a1;
v20 = *(_QWORD *)(a1 + 16);
}
sub_1000229B8(&v18, a3);
v15 = TextArea::init(v14, __p, a2, &v18, a4, a5, a6, a7);
v16 = v15;
if ( SHIBYTE(v20) < 0 )
{
operator delete(__p[0]);
if ( v16 )
goto LABEL_6;
LABEL_8:
((void (__fastcall *)(cocos2d::CCObject *))v14->~CCObject_0)(v14);
return nullptr;
}
if ( !v15 )
goto LABEL_8;
LABEL_6:
cocos2d::CCObject::autorelease(v14);
return v14;
}