//
// CCTextInputNode::setString from 0x6c3bb0 to 0x6c3cc4 (276 bytes)
//
// 181 xrefs:
// > CCTextInputNode::onTextFieldDeleteBackward @ 0x6c3e5c
// > CCTextInputNode::onTextFieldAttachWithIME @ 0x6c41d4
// > CCTextInputNode::clearText @ 0x6c42b4
// > CCTextInputNode::scrollWheel @ 0x6c4570
// > CCTextInputNode::insertAtCursor @ 0x6c4d8c
// > CCTextInputNode::onTextFieldInsertText @ 0x6c5440
// > CCTextInputNode::onTextFieldDetachWithIME @ 0x6c5b10
// > LevelSearchLayer::onClearFreeSearch @ 0x7de464
// > MoreSearchLayer::onSongMode @ 0x7e09e8
// > MoreSearchLayer::init @ 0x7e1ae8
// > EditLevelLayer::creatorDescriptionChanged @ 0x7ed82c
// > EditLevelLayer::textChanged @ 0x7ef744
// > EditLevelLayer::init @ 0x7f0a58
// > EditLevelLayer::init @ 0x7f15ec
// > ColorSelectPopup::updateDurLabel @ 0x862b6c
// > ColorSelectPopup::updateTextInputLabel @ 0x863780
// > ColorSelectPopup::colorSelectClosed @ 0x8639f0
// > ColorSelectPopup::colorSelectClosed @ 0x863a8c
// > ColorSelectPopup::updateCopyColorTextInputLabel @ 0x863c1c
// > ColorSelectPopup::updateColorLabels @ 0x866fe4
// > ColorSelectPopup::updateColorLabels @ 0x867030
// > ColorSelectPopup::updateColorLabels @ 0x86707c
// > ColorSelectPopup::updateColorLabels @ 0x8670d4
// > GJGarageLayer::textInputOpened @ 0x8bb9a0
// > GJGarageLayer::textInputClosed @ 0x8bd100
// > GJGarageLayer::init @ 0x8c1e70
// > GJGarageLayer::init @ 0x8c2e90
// > MoreOptionsLayer::init @ 0x8f8950
// > MoreVideoOptionsLayer::onApplyFPS @ 0x8f8e88
// > ShareCommentLayer::init @ 0x90f3a0
// > ShareCommentLayer::onClear @ 0x91020c
// > SongOptionsLayer::init @ 0x981e2c
// > CustomizeObjectLayer::onClear @ 0x982de4
// > CustomizeObjectLayer::updateCustomColorLabels @ 0x9838d8
// > CustomizeObjectLayer::updateKerningLabel @ 0x984e14
// > CustomizeObjectLayer::init @ 0x986b68
// > AccountLoginLayer::init @ 0x991b70
// > KeybindingsLayer::onClearSearch @ 0x99524c
// > KeybindingsLayer::init @ 0x997aa8
// > GJWriteMessagePopup::FLAlert_Clicked @ 0xa1efd4
// > SetIDPopup::updateTextInputLabel @ 0xa20120
// > SetColorIDPopup::colorSelectClosed @ 0xa24e80
// > SetTextPopup::updateTextInputLabel @ 0xa271b4
// > GJWriteMessagePopup::init @ 0xa32c90
// > GJWriteMessagePopup::init @ 0xa32cd8
// > SocialLinksPopup::init @ 0xa36c74
// > ConfigureHSVWidget::updateLabels @ 0xa3ad1c
// > ConfigureHSVWidget::updateLabels @ 0xa3ad7c
// > ConfigureHSVWidget::updateLabels @ 0xa3add8
// > SetupOpacityPopup::updateDurLabel @ 0xa40c30
// > SetupOpacityPopup::updateTextInputLabel @ 0xa40e14
// > SetupPulsePopup::updateFadeInLabel @ 0xa44af4
// > SetupPulsePopup::updateHoldLabel @ 0xa44cbc
// > SetupPulsePopup::updateFadeOutLabel @ 0xa44e84
// > SetupPulsePopup::colorSelectClosed @ 0xa46050
// > SetupPulsePopup::colorSelectClosed @ 0xa460f4
// > SetupPulsePopup::updateTextInputLabel @ 0xa462bc
// > SetupPulsePopup::updateCopyColorTextInputLabel @ 0xa466d4
// > SetupPulsePopup::updateColorLabels @ 0xa4969c
// > SetupPulsePopup::updateColorLabels @ 0xa496e8
// > SetupPulsePopup::updateColorLabels @ 0xa49734
// > SetupPulsePopup::updateColorLabels @ 0xa4978c
// > FRequestProfilePage::onClearSearch @ 0xa4ef3c
// > FriendsProfilePage::onClearSearch @ 0xa52b94
// > SecretLayer::onSubmit @ 0xa60530
// > ConfigureValuePopup::updateTextInputLabel @ 0xa6705c
// > SecretLayer2::onSubmit @ 0xa91264
// > SecretLayer4::onSubmit @ 0xa96438
// > SetupAnimationPopup::updateTextInputLabel @ 0xa992e4
// > SetupAnimationPopup::updateAnimationTextInputLabel @ 0xa9941c
// > SetupCollisionTriggerPopup::updateSpecialNodes @ 0xa9bbf8
// > SetupCollisionTriggerPopup::updateSpecialNodes @ 0xa9bc58
// > SetupCollisionTriggerPopup::updateSpecialNodes @ 0xa9bcd0
// > SetupCollisionTriggerPopup::updateSpecialNodes @ 0xa9bd34
// > SetupCollisionTriggerPopup::updateSpecialNodes @ 0xa9bd6c
// > SetupCollisionTriggerPopup::updateSpecialNodes @ 0xa9bdb0
// > SetupCollisionTriggerPopup::updateSpecialNodes @ 0xa9bdf0
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0xa9c79c
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0xa9c828
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0xa9c86c
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0xa9c8a4
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0xa9c8e8
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0xa9c938
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0xa9c974
// > SetupInstantCountPopup::updateItemIDInputLabel @ 0xa9e71c
// > SetupInstantCountPopup::updateTargetIDInputLabel @ 0xa9e854
// > SetupInstantCountPopup::updateCountTextInputLabel @ 0xa9e98c
// > SetupShakePopup::updateDurLabel @ 0xaa1280
// > SetupShakePopup::updateShakeLabel @ 0xaa14b0
// > SetupShakePopup::updateIntervalLabel @ 0xaa16e0
// > SetupTouchTogglePopup::updateTextInputLabel @ 0xaa2bf4
// > SetupCameraOffsetTrigger::updateDurLabel @ 0xaae67c
// > SetupCameraOffsetTrigger::updateValueXLabel @ 0xaae834
// > SetupCameraOffsetTrigger::updateValueYLabel @ 0xaae9ac
// > SetupRandTriggerPopup::updateChanceLabel @ 0xab2dfc
// > SetupRandTriggerPopup::updateTextInputLabel @ 0xab3340
// > SetupRandTriggerPopup::updateTextInputLabel2 @ 0xab34d4
// > SetupEndPopup::updateTextInputLabel @ 0xab4584
// > SetGroupIDLayer::updateEditorLabel @ 0xabb100
// > SetGroupIDLayer::updateEditorLabel2 @ 0xabb348
// > SetGroupIDLayer::updateZOrderLabel @ 0xabb598
// > SetGroupIDLayer::updateGroupIDLabel @ 0xabb740
// > SetGroupIDLayer::updateEditorOrderLabel @ 0xabc130
// > SetGroupIDLayer::updateEditorOrderLabel @ 0xabc1b0
// > SetGroupIDLayer::updateOrderChannelLabel @ 0xabc240
// > SetGroupIDLayer::updateOrderChannelLabel @ 0xabc2c0
// > SetupCameraRotatePopup::updateDurLabel @ 0xaec6a0
// > SetupCameraRotatePopup::updateDegreesLabel @ 0xaec7e8
// > SetupRandAdvTriggerPopup::init @ 0xaf07c8
// > SetupGravityModPopup::updateTextInputLabel @ 0xafb4a8
// > CreateParticlePopup::updateInputNodeStringForType @ 0xafff80
// > MPLobbyLayer::postComment @ 0xb05c2c
// > SetupSmartTemplateLayer::init @ 0xb16e38
// > SetupTriggerPopup::updateInputNodeLabel @ 0xb1f7e4
// > SetupTriggerPopup::updateInputNode @ 0xb20558
// > SetupCameraEdgePopup::updateTextInputLabel @ 0xb25430
// > SetupShaderEffectPopup::updateDefaultTriggerValues @ 0xb321dc
// > SetupShaderEffectPopup::updateDefaultTriggerValues @ 0xb32278
// > SetupShaderEffectPopup::updateDefaultTriggerValues @ 0xb322ac
// > SetupShaderEffectPopup::valueDidChange @ 0xb3b0e4
// > SetupAreaMoveTriggerPopup::updateEnterTargetIDState @ 0xb43154
// > SetupAdvFollowPopup::updateDefaultTriggerValues @ 0xb47278
// > SetupAdvFollowPopup::updateDefaultTriggerValues @ 0xb47314
// > SetupAdvFollowPopup::updateDefaultTriggerValues @ 0xb47348
// > SetupAdvFollowRetargetPopup::updateDefaultTriggerValues @ 0xb48a58
// > SetupAdvFollowRetargetPopup::updateDefaultTriggerValues @ 0xb48af4
// > SetupAdvFollowRetargetPopup::updateDefaultTriggerValues @ 0xb48b28
// > SetupAdvFollowPopup::valueDidChange @ 0xb4c6fc
// > SetupAdvFollowRetargetPopup::valueDidChange @ 0xb4cf08
// > SetupMGTrigger::updateDurLabel @ 0xb4d8c8
// > SetupMGTrigger::updateValueYLabel @ 0xb4da80
// > StartPosLayer::updateInputNode @ 0xb65750
// > LevelSettingsLayer::init @ 0xb6639c
// > LevelSettingsLayer::init @ 0xb66620
// > MusicBrowser::onClearSearchText @ 0xb83bd4
// > OptionsScrollLayer::onClearSearchText @ 0xb83c60
// > MusicBrowser::onToggleSearch @ 0xb858a8
// > MusicBrowser::onToggleSearch @ 0xb85950
// > MusicBrowser::setupMusicBrowser @ 0xb85c98
// > SFXBrowser::onClearSearchText @ 0xb8e044
// > SFXBrowser::onToggleSearch @ 0xb92c8c
// > SFXBrowser::onToggleSearch @ 0xb92d60
// > SFXBrowser::setupSFXBrowser @ 0xb93490
// > SFXBrowser::cellPerformedAction @ 0xb980d8
// > LevelListLayer::init @ 0xbb043c
// > SecretLayer5::onSubmit @ 0xbc7a8c
// > GJRotationControl::updateAngleInput @ 0xbcebf4
// > GJScaleControl::updateLabelX @ 0xbcf828
// > GJScaleControl::updateLabelY @ 0xbcf958
// > GJScaleControl::updateLabelXY @ 0xbcfa88
// > SFXFolderPickerPopup::init @ 0xc3d174
// > AutoBackupPopup::onClearSearch @ 0xc51e9c
// > MoveStepPopup::onReset @ 0xc61180
// > RenameThreadPopup::init @ 0xc6f21c
// > ThreadSearchPopup::clampDayField @ 0xc6f784
// > ThreadSearchPopup::init @ 0xc6ff00
// > ThreadSearchPopup::textChanged @ 0xc70548
// > ThreadSearchPopup::textChanged @ 0xc705e4
// > ThreadViewPopup::insertShareToken @ 0xc73dcc
// > NewThreadPopup::insertShareToken @ 0xc74458
// > FriendPickerPopup::onPickFriend @ 0xc777ec
// > MessageThreadsPage::onClearSearch @ 0xc784f8
// > ThreadDescPopup::buildUI @ 0xc7a0a8
// > NewThreadPopup::applyMode @ 0xc7d538
// > NewThreadPopup::init @ 0xc7df54
// > InvitesPopup::onClearSearch @ 0xc82d64
// > LevelPickerPopup::onToggleKind @ 0xc84750
// > LevelPickerPopup::onOnlineMode @ 0xc84cdc
// > ThreadViewPopup::onSend @ 0xc89b88
// > ThreadViewPopup::threadSendFailed @ 0xc8a0cc
// > DeathStatsPopup::init @ 0xca7be8
// > SoundPackDescPopup::init @ 0xccffb0
// > EditorSoundConfigInfoLayer::init @ 0xcd2454
// > EditorSoundsLayer::onClearSearch @ 0xcd5d10
// > EditorSoundsLayer::init @ 0xcd72cc
// > IDNameBrowserPopup::setFormID @ 0xcde0e4
// > IDNameBrowserPopup::onEditRow @ 0xcdec60
// > IDNameBrowserPopup::onFormAdd @ 0xce3e48
// > IDNameInput::commitID @ 0xce4410
// > IDNameInput::revertToLastID @ 0xce4c08
// > ??> @ 0xad578
//
// 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:51:20 +0000
//
__int64 __fastcall CCTextInputNode::setString(_QWORD *a1, char *a2)
{
__int64 v4; // x0
char *v5; // x1
char v6; // t1
char v7; // w0
__int64 v8; // x0
__int64 v9; // x1
void (__fastcall ***v10)(_QWORD, _QWORD *); // x0
void (__fastcall ***v11)(_QWORD, _QWORD *); // x0
__int64 v13; // [xsp+30h] [xbp+30h] BYREF
__int64 v14; // [xsp+38h] [xbp+38h]
void *v15; // [xsp+40h] [xbp+40h]
v4 = a1[72];
v6 = *a2;
v5 = a2 + 1;
if ( (v6 & 1) != 0 )
v5 = *((char **)a2 + 2);
(*(void (__fastcall **)(__int64, char *))(*(_QWORD *)v4 + 1240LL))(v4, v5);
v13 = 0;
v7 = *a2;
v14 = 0;
v15 = nullptr;
if ( (v7 & 1) != 0 )
{
std::string::__init(&v13, *((void **)a2 + 2), *((_QWORD *)a2 + 1));
}
else
{
v8 = *(_QWORD *)a2;
v9 = *((_QWORD *)a2 + 1);
v15 = *((void **)a2 + 2);
v13 = v8;
v14 = v9;
}
CCTextInputNode::updateLabel((__int64)a1, (__int64)&v13);
if ( (v13 & 1) != 0 )
operator delete(v15);
v10 = (void (__fastcall ***)(_QWORD, _QWORD *))a1[73];
if ( v10 )
(**v10)(v10, a1);
v11 = (void (__fastcall ***)(_QWORD, _QWORD *))a1[62];
if ( v11 )
(**v11)(v11, a1);
return _stack_chk_guard;
}