//
// CCTextInputNode::getString from 0x6b8258 to 0x6b8324 (204 bytes)
//
// 203 xrefs:
// > CCTextInputNode::canCopyText @ 0x6b87e8
// > CCTextInputNode::canClearText @ 0x6b8840
// > CCTextInputNode::copyText @ 0x6b88f8
// > CCTextInputNode::scrollWheel @ 0x6c44b0
// > CCTextInputNode::scrollWheel @ 0x6c4590
// > CreateGuidelinesLayer::onRecord @ 0x6e996c
// > CreateStartPosPopup::onCreate @ 0x7d98a4
// > MoreSearchLayer::onClose @ 0x7de35c
// > LevelSearchLayer::textInputOpened @ 0x7e1ef0
// > LevelSearchLayer::textInputClosed @ 0x7e22b8
// > LevelSearchLayer::textChanged @ 0x7e2360
// > LevelSearchLayer::onSearch @ 0x7e41ec
// > LevelSearchLayer::onSearchUser @ 0x7e4378
// > EditLevelLayer::textInputOpened @ 0x7ee3e4
// > EditLevelLayer::textInputClosed @ 0x7ef318
// > EditLevelLayer::textInputClosed @ 0x7ef398
// > EditLevelLayer::textInputClosed @ 0x7ef3f8
// > EditLevelLayer::textInputClosed @ 0x7ef478
// > EditLevelLayer::textChanged @ 0x7ef6f4
// > EditLevelLayer::textChanged @ 0x7ef794
// > ColorSelectPopup::textChanged @ 0x867b58
// > ColorSelectPopup::textChanged @ 0x867b84
// > ColorSelectPopup::textChanged @ 0x867bcc
// > ColorSelectPopup::textChanged @ 0x867c4c
// > ColorSelectPopup::textChanged @ 0x867cc8
// > ColorSelectPopup::textChanged @ 0x867d0c
// > GJGarageLayer::textChanged @ 0x8b9a00
// > GJGarageLayer::textInputOpened @ 0x8bb8ec
// > GJGarageLayer::textInputClosed @ 0x8bcff4
// > MoreOptionsLayer::onClose @ 0x8edc58
// > MoreVideoOptionsLayer::onApplyFPS @ 0x8f8dd8
// > ShareCommentLayer::textChanged @ 0x9102a8
// > ShareCommentLayer::textInputClosed @ 0x910404
// > CustomSongLayer::textInputClosed @ 0x97e140
// > CustomSongLayer::textInputOpened @ 0x97e1a4
// > SongOptionsLayer::onClose @ 0x97e4b8
// > CustomSongLayer::onSearch @ 0x97f438
// > SongOptionsLayer::onPlayback @ 0x97f5c4
// > CustomizeObjectLayer::textChanged @ 0x98498c
// > CustomizeObjectLayer::textChanged @ 0x9849f8
// > CustomizeObjectLayer::textInputOpened @ 0x984b54
// > CustomizeObjectLayer::updateKerningLabel @ 0x984e08
// > AccountLoginLayer::textInputClosed @ 0x990560
// > AccountRegisterLayer::registerAccountFinished @ 0x99153c
// > AccountLoginLayer::loginAccountFinished @ 0x992208
// > AccountLoginLayer::onSubmit @ 0x9923e4
// > AccountLoginLayer::onSubmit @ 0x992424
// > AccountRegisterLayer::textInputClosed @ 0x993abc
// > AccountRegisterLayer::textInputClosed @ 0x993bc8
// > AccountRegisterLayer::textInputClosed @ 0x993ccc
// > AccountRegisterLayer::textChanged @ 0x994024
// > AccountRegisterLayer::textChanged @ 0x994058
// > AccountRegisterLayer::textChanged @ 0x994184
// > AccountRegisterLayer::onSubmit @ 0x99445c
// > AccountRegisterLayer::onSubmit @ 0x994468
// > AccountRegisterLayer::onSubmit @ 0x994478
// > AccountRegisterLayer::onSubmit @ 0x994488
// > AccountRegisterLayer::onSubmit @ 0x994498
// > AccountRegisterLayer::onSubmit @ 0x994714
// > AccountRegisterLayer::onSubmit @ 0x994724
// > KeybindingsLayer::textChanged @ 0x997f30
// > SetIDPopup::textChanged @ 0xa1eeec
// > GJWriteMessagePopup::textChanged @ 0xa2f7e8
// > SetTextPopup::textChanged @ 0xa31230
// > GJAccountSettingsLayer::closeAccInputNodes @ 0xa39168
// > SocialLinksPopup::onOK @ 0xa39e58
// > ConfigureHSVWidget::textChanged @ 0xa3a3ec
// > ConfigureHSVWidget::textChanged @ 0xa3a42c
// > ConfigureHSVWidget::textChanged @ 0xa3a474
// > SetupOpacityPopup::textChanged @ 0xa411bc
// > SetupOpacityPopup::textChanged @ 0xa41238
// > SetupPulsePopup::textChanged @ 0xa458b0
// > SetupPulsePopup::textChanged @ 0xa45920
// > SetupPulsePopup::textChanged @ 0xa45958
// > SetupPulsePopup::textChanged @ 0xa459a4
// > SetupPulsePopup::textChanged @ 0xa45a20
// > SetupPulsePopup::textChanged @ 0xa45a94
// > SetupPulsePopup::textChanged @ 0xa45ae8
// > SetupPulsePopup::textChanged @ 0xa45b3c
// > FRequestProfilePage::onGlobalSearch @ 0xa4d56c
// > FRequestProfilePage::textChanged @ 0xa4f144
// > FriendsProfilePage::onGlobalSearch @ 0xa52230
// > FriendsProfilePage::textChanged @ 0xa52a2c
// > SecretLayer::textInputOpened @ 0xa5ef54
// > SecretLayer::textInputClosed @ 0xa5f2dc
// > SecretLayer::textChanged @ 0xa5f384
// > SecretLayer::onSubmit @ 0xa60304
// > ConfigureValuePopup::textChanged @ 0xa66ca0
// > ConfigureValuePopup::textChanged @ 0xa66d3c
// > SecretLayer2::textInputOpened @ 0xa8f2a4
// > SecretLayer2::textInputClosed @ 0xa8f62c
// > SecretLayer2::textChanged @ 0xa8f6d4
// > SecretLayer2::onSubmit @ 0xa910b8
// > SecretLayer4::textInputOpened @ 0xa9525c
// > SecretLayer4::textInputClosed @ 0xa955e4
// > SecretLayer4::textChanged @ 0xa9568c
// > SecretLayer4::onSubmit @ 0xa9628c
// > SetupAnimationPopup::textChanged @ 0xa99688
// > SetupAnimationPopup::textChanged @ 0xa996c8
// > SetupInstantCountPopup::textChanged @ 0xa9ec88
// > SetupInstantCountPopup::textChanged @ 0xa9ecc4
// > SetupInstantCountPopup::textChanged @ 0xa9ed1c
// > SetupShakePopup::textChanged @ 0xaa199c
// > SetupShakePopup::textChanged @ 0xaa1a40
// > SetupShakePopup::textChanged @ 0xaa1ad4
// > SetupTouchTogglePopup::textChanged @ 0xaa2d70
// > SetupCameraOffsetTrigger::textChanged @ 0xaaefb0
// > SetupCameraOffsetTrigger::textChanged @ 0xaaf01c
// > SetupCameraOffsetTrigger::textChanged @ 0xaaf094
// > SetupRandTriggerPopup::textChanged @ 0xab3154
// > SetupRandTriggerPopup::textChanged @ 0xab31a8
// > SetupRandTriggerPopup::textChanged @ 0xab31ec
// > SetupEndPopup::textChanged @ 0xab46e0
// > SetGroupIDLayer::textChanged @ 0xabbd10
// > SetGroupIDLayer::textChanged @ 0xabbd4c
// > SetGroupIDLayer::textChanged @ 0xabbd7c
// > SetGroupIDLayer::textChanged @ 0xabbdc4
// > SetGroupIDLayer::textChanged @ 0xabbe38
// > SetGroupIDLayer::textChanged @ 0xabbe74
// > SetupCameraRotatePopup::textChanged @ 0xaecc98
// > SetupCameraRotatePopup::textChanged @ 0xaecd14
// > SetupRandAdvTriggerPopup::onAddChance @ 0xaf118c
// > SetupRandAdvTriggerPopup::onAddChance @ 0xaf11cc
// > SetupGravityModPopup::textChanged @ 0xafb608
// > CreateParticlePopup::textChanged @ 0xafed34
// > MPLobbyLayer::postComment @ 0xb05b90
// > MPLobbyLayer::postComment @ 0xb05be4
// > SetupSmartTemplateLayer::textInputOpened @ 0xb17464
// > SetupSmartTemplateLayer::textInputClosed @ 0xb17cbc
// > SetupSmartTemplateLayer::textInputClosed @ 0xb17d08
// > SetupTriggerPopup::textChanged @ 0xb247c0
// > SetupCameraEdgePopup::textChanged @ 0xb255bc
// > SetupMGTrigger::textChanged @ 0xb4dec4
// > SetupMGTrigger::textChanged @ 0xb4df40
// > LevelSettingsLayer::textChanged @ 0xb62304
// > LevelSettingsLayer::textChanged @ 0xb62334
// > StartPosLayer::onClose @ 0xb68d60
// > MusicBrowser::textChanged @ 0xb873a0
// > OptionsScrollLayer::textChanged @ 0xb87534
// > MusicBrowser::onClose @ 0xb87774
// > SFXBrowser::textChanged @ 0xb92e5c
// > SFXBrowser::onClose @ 0xb96e38
// > LevelListLayer::textInputOpened @ 0xbacc24
// > LevelListLayer::textInputClosed @ 0xbae58c
// > LevelListLayer::textInputClosed @ 0xbae5ec
// > LevelListLayer::textChanged @ 0xbae788
// > SecretLayer5::textInputOpened @ 0xbc65ec
// > SecretLayer5::textInputClosed @ 0xbc6974
// > SecretLayer5::textChanged @ 0xbc6a1c
// > SecretLayer5::onSubmit @ 0xbc7a60
// > GJRotationControl::onApplyAngle @ 0xbcef28
// > GJScaleControl::onApplyScale @ 0xbcfebc
// > SFXFolderPickerPopup::pickFolder @ 0xc3aa70
// > AdminActionConfirmPopup::onConfirm @ 0xc3dea8
// > ReviewChoiceSheet::onChoice @ 0xc3f2bc
// > AutoBackupPopup::textChanged @ 0xc585c4
// > MoveStepPopup::textChanged @ 0xc60bc8
// > ThreadViewPopup::updateComposeCount @ 0xc66514
// > NewThreadPopup::textChanged @ 0xc67ec8
// > NewThreadPopup::textChanged @ 0xc67f20
// > ThreadSearchPopup::fieldValue @ 0xc6853c
// > ThreadDescPopup::textChanged @ 0xc6e1d0
// > ThreadSearchPopup::clampDayField @ 0xc6f720
// > ThreadSearchPopup::textChanged @ 0xc704d0
// > ThreadSearchPopup::textChanged @ 0xc70590
// > FriendPickerPopup::onGlobalSearch @ 0xc70670
// > ThreadViewPopup::insertShareToken @ 0xc73d34
// > NewThreadPopup::insertShareToken @ 0xc743b0
// > MessageThreadsPage::syncSearchFromBox @ 0xc785cc
// > ThreadSearchPopup::onSearch @ 0xc78bd0
// > ThreadDescPopup::onSave @ 0xc7aa24
// > RenameThreadPopup::onSave @ 0xc7aed4
// > NewThreadPopup::onSend @ 0xc7b22c
// > NewThreadPopup::onSend @ 0xc7b488
// > NewThreadPopup::applyMode @ 0xc7d454
// > FriendPickerPopup::textChanged @ 0xc8161c
// > InvitesPopup::textChanged @ 0xc82c7c
// > LevelPickerPopup::onToggleKind @ 0xc84700
// > LevelPickerPopup::onOnlineMode @ 0xc84c8c
// > LevelPickerPopup::textChanged @ 0xc84e1c
// > NewThreadPopup::threadSendFinished @ 0xc88304
// > NewThreadPopup::threadSendFinished @ 0xc88358
// > ThreadViewPopup::onSend @ 0xc897e4
// > ThreadViewPopup::threadSendFailed @ 0xc8a064
// > DeathStatsPopup::onFetch @ 0xca765c
// > DeathStatsPopup::onFetch @ 0xca7688
// > EmotePickerPopup::canAddEmote @ 0xcb94c4
// > SoundPackDescPopup::onSave @ 0xcce30c
// > SoundPackDescPopup::textChanged @ 0xcce65c
// > EditorSoundConfigInfoLayer::textChanged @ 0xccfae0
// > EditorSoundsLayer::textChanged @ 0xcd76ec
// > IDNameBrowserPopup::getFormID @ 0xcddf88
// > IDNameBrowserPopup::updateConflictLabel @ 0xcde278
// > IDNameBrowserPopup::rebuildList @ 0xce20d0
// > IDNameBrowserPopup::onFormAdd @ 0xce3c84
// > IDNameInput::stepArrow @ 0xce44e4
// > IDNameInput::onBrowser @ 0xce4b14
// > IDNameInput::refreshLabel @ 0xce4d7c
// > IDNameInput::updateAutocomplete @ 0xcef2e0
// > IDNameInput::textChanged @ 0xcef684
// > IDNameInput::commitTypedName @ 0xcef7d8
// > IDNameInput::textInputClosed @ 0xcef970
// > ??> @ 0xc0130
//
// 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:53 +0000
//
__int64 *__usercall CCTextInputNode::getString@(CCTextInputNode *this@, __int64 *a2@)
{
const char *v3; // x0
const char *v4; // x22
size_t v5; // x0
size_t v6; // x20
unsigned __int64 v7; // x0
__int64 v8; // x21
__int64 v9; // x0
_BYTE *v10; // x3
_BYTE *v11; // x3
v3 = (const char *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 72) + 1248LL))(*((_QWORD *)this + 72));
*a2 = 0;
a2[1] = 0;
v4 = v3;
a2[2] = 0;
v5 = strlen(v3);
v6 = v5;
if ( v5 > 0xFFFFFFFFFFFFFFEFLL )
sub_62B884();
if ( v5 > 0x16 )
{
v7 = (v5 + 16) & 0xFFFFFFFFFFFFFFF0LL;
v8 = v7 | 1;
v9 = operator new(v7);
*a2 = v8;
v10 = (_BYTE *)v9;
a2[2] = v9;
a2[1] = v6;
LABEL_4:
v11 = memcpy(v10, v4, v6);
v11[v6] = 0;
return a2;
}
*(_BYTE *)a2 = 2 * v5;
v10 = (char *)a2 + 1;
if ( v5 )
goto LABEL_4;
*v10 = 0;
return a2;
}