//
// TextArea::create from 0x3d9ffc to 0x3da144 (328 bytes)
//
// 71 xrefs:
// > FLAlertLayer::init @ 0x3cbac4
// > FLAlertLayer::init @ 0x3cbba8
// > CreateGuidelinesLayer::init @ 0x3f8460
// > CreateGuidelinesLayer::init @ 0x3f850e
// > LoadingLayer::init @ 0x3fb842
// > LoadingLayer::loadAssets @ 0x3fbe16
// > AchievementCell::loadFromDict @ 0x42cf82
// > GJNotificationCell::loadFromNotification @ 0x431ed6
// > GJNotificationCell::loadFromNotification @ 0x431f48
// > GJNotificationCell::loadFromNotification @ 0x431fa0
// > CommentCell::loadFromComment @ 0x4330d2
// > EditLevelLayer::init @ 0x4a14c4
// > ShareLevelSettingsLayer::init @ 0x4a330a
// > UploadPopup::init @ 0x4a3a2c
// > ShareLevelLayer::init @ 0x4a3f94
// > ShareLevelLayer::init @ 0x4a4266
// > ShareLevelLayer::init @ 0x4a42f4
// > LevelBrowserLayer::loadPage @ 0x4a6784
// > LevelBrowserLayer::loadPage @ 0x4a67f8
// > LevelBrowserLayer::loadPage @ 0x4a686c
// > LevelBrowserLayer::loadPage @ 0x4a68e0
// > LevelBrowserLayer::loadPage @ 0x4a6928
// > LevelBrowserLayer::loadPage @ 0x4a6972
// > LevelBrowserLayer::init @ 0x4a7352
// > ItemInfoPopup::init @ 0x50e2e4
// > EndLevelLayer::customSetup @ 0x5361fc
// > EndLevelLayer::customSetup @ 0x53636c
// > AchievementBar::init @ 0x537b5a
// > TutorialLayer::loadPage @ 0x538d60
// > InfoLayer::init @ 0x53f640
// > ShareCommentLayer::lockInput @ 0x5412ca
// > ShareCommentLayer::init @ 0x541d50
// > LeaderboardsLayer::init @ 0x563fe6
// > NCSInfoLayer::init @ 0x57da26
// > AccountLayer::customSetup @ 0x584bcc
// > AccountHelpLayer::customSetup @ 0x585586
// > TOSPopup::init @ 0x5d7e08
// > UpdateAccountSettingsPopup::init @ 0x5d8c02
// > UploadActionPopup::init @ 0x5d98e2
// > FriendRequestPopup::loadFromGJFriendRequest @ 0x5db908
// > SetTextPopup::init @ 0x5de624
// > GJWriteMessagePopup::init @ 0x5dfbfc
// > GJWriteMessagePopup::init @ 0x5dfeac
// > GJMessagePopup::loadFromGJMessage @ 0x5e0516
// > DialogLayer::displayDialogObject @ 0x6098e2
// > GauntletSelectLayer::init @ 0x60d526
// > GauntletLayer::init @ 0x60f096
// > PurchaseItemPopup::init @ 0x613fe4
// > LevelLeaderboard::init @ 0x61594c
// > NewsPopup::rebuildPage @ 0x6c20ce
// > UploadListPopup::init @ 0x6d6ec2
// > ShareListLayer::init @ 0x6d75a6
// > ShareListLayer::init @ 0x6d7820
// > LevelListLayer::init @ 0x6d9510
// > SecretLayer5::init @ 0x6e6338
// > AdminActionConfirmPopup::init @ 0x73155e
// > ReviewChoiceSheet::init @ 0x733480
// > DailyRecallUnlockPopup::init @ 0x742c06
// > MessageThreadsPage::init @ 0x750976
// > ThreadMessageOptionsPopup::init @ 0x753a6c
// > ThreadDescPopup::buildUI @ 0x754166
// > ThreadDescPopup::buildUI @ 0x7544d6
// > NewThreadPopup::init @ 0x756d36
// > ThreadRequestPopup::init @ 0x7583c6
// > ThreadViewPopup::measureBody @ 0x75b370
// > ThreadViewPopup::init @ 0x75cc80
// > ThreadViewPopup::mountVirtualRow @ 0x75f768
// > SoundPackDescPopup::init @ 0x78688c
// > LevelStatsInfoPopup::init @ 0x79c442
// > LevelStatsInfoPopup::init @ 0x79c4b2
// > CommentOptionsPopup::init @ 0x7a0402
//
// 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::create(
int a1,
const char *a2,
int a3,
int a4,
const cocos2d::CCPoint *a5,
int a6,
char a7,
int a8)
{
int v12; // r4
int v13; // r7
int v14; // r3
int v15; // r0
_BYTE v17[8]; // [sp+18h] [bp-1Ch] BYREF
int v18[3]; // [sp+20h] [bp-14h] BYREF
v12 = operator new(0x258u);
cocos2d::CCSprite::CCSprite((cocos2d::CCSprite *)v12);
*(_BYTE *)(v12 + 508) = 0;
*(_DWORD *)(v12 + 512) = 0;
*(_DWORD *)(v12 + 520) = 0;
*(_DWORD *)v12 = &off_C87FE8;
*(_DWORD *)(v12 + 532) = 0;
*(_DWORD *)(v12 + 264) = &off_C8825C;
*(_DWORD *)(v12 + 280) = &off_C8829C;
*(_DWORD *)(v12 + 536) = 0;
*(_BYTE *)(v12 + 509) = 1;
*(_DWORD *)(v12 + 540) = 0;
*(_DWORD *)(v12 + 516) = 0;
*(_DWORD *)(v12 + 524) = 0;
*(_DWORD *)(v12 + 528) = 0;
*(_DWORD *)(v12 + 544) = 0;
*(_BYTE *)(v12 + 548) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v12 + 552));
*(_BYTE *)(v12 + 560) = 0;
*(_DWORD *)(v12 + 568) = 0;
*(_DWORD *)(v12 + 572) = 0;
*(_DWORD *)(v12 + 576) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v12 + 580));
*(_DWORD *)(v12 + 588) = 0;
*(_DWORD *)(v12 + 592) = 0;
*(_DWORD *)(v12 + 596) = 0;
std::string::basic_string(v18, a1);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, a5);
v13 = TextArea::init(v12, (int)v18, a2, a3, a4, (int)v17, a6, a7, a8);
std::string::~string((int)v18);
if ( v13 )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v12);
}
else
{
v14 = *(_DWORD *)v12;
v15 = v12;
v12 = 0;
(*(void (__fastcall **)(int))(v14 + 8))(v15);
}
return v12;
}