//
// CCTextInputNode::setString from 0x140054ea0 to 0x140054f45 (165 bytes)
//
// 161 xrefs:
// > CCTextInputMenu::onClear @ 0x14004dd99
// > CCTextInputNode::insertAtCursor @ 0x1400552c5
// > CCTextInputNode::onTextFieldDeleteBackward @ 0x140055c04
// > CCTextInputNode::onTextFieldInsertText @ 0x140057676
// > CCTextInputNode::onTextFieldAttachWithIME @ 0x140057c29
// > CCTextInputNode::onTextFieldDetachWithIME @ 0x140057f4a
// > CCTextInputNode::scrollWheel @ 0x140059a30
// > AccountLoginLayer::init @ 0x140091063
// > SFXFolderPickerPopup::init @ 0x1400c465b
// > AutoBackupPopup::onClearSearch @ 0x1400cabb4
// > MessageThreadsPage::onClearSearch @ 0x1400d7f79
// > ThreadViewPopup::insertShareToken @ 0x1400dcf58
// > ThreadViewPopup::onSend @ 0x1400de212
// > ThreadViewPopup::threadSendFailed @ 0x1400de9d4
// > FriendPickerPopup::onPickFriend @ 0x1400e8920
// > LevelPickerPopup::onToggleKind @ 0x1400e99fe
// > LevelPickerPopup::onOnlineMode @ 0x1400ea504
// > NewThreadPopup::init @ 0x1400efd83
// > NewThreadPopup::applyMode @ 0x1400f0fb1
// > NewThreadPopup::insertShareToken @ 0x1400f1963
// > InvitesPopup::onClearSearch @ 0x1400f7529
// > RenameThreadPopup::init @ 0x1400fa1f1
// > ThreadSearchPopup::init @ 0x1400fb74e
// > ThreadSearchPopup::clampDayField @ 0x1400fbcb5
// > ThreadSearchPopup::textChanged @ 0x1400fbe45
// > ThreadSearchPopup::textChanged @ 0x1400fbf3d
// > ThreadDescPopup::buildUI @ 0x1400fce23
// > DeathStatsPopup::init @ 0x14011e8df
// > ColorSelectPopup::updateDurLabel @ 0x14012a402
// > ColorSelectPopup::updateColorLabels @ 0x14012a8f0
// > ColorSelectPopup::updateColorLabels @ 0x14012a944
// > ColorSelectPopup::updateColorLabels @ 0x14012a9a0
// > ColorSelectPopup::updateColorLabels @ 0x14012aa04
// > ColorSelectPopup::updateTextInputLabel @ 0x14012c37f
// > ColorSelectPopup::colorSelectClosed @ 0x14012c6e4
// > ColorSelectPopup::colorSelectClosed @ 0x14012c799
// > ColorSelectPopup::updateCopyColorTextInputLabel @ 0x14012cb0f
// > ConfigureHSVWidget::updateLabels @ 0x140130f2c
// > ConfigureHSVWidget::updateLabels @ 0x140130f9c
// > ConfigureHSVWidget::updateLabels @ 0x14013100f
// > ConfigureValuePopup::updateTextInputLabel @ 0x1401327a4
// > CustomizeObjectLayer::init @ 0x1401415e3
// > CustomizeObjectLayer::updateKerningLabel @ 0x140141ed3
// > CustomizeObjectLayer::onClear @ 0x140143c83
// > CustomizeObjectLayer::updateCustomColorLabels @ 0x140143d98
// > SongOptionsLayer::init @ 0x140165ff4
// > EditLevelLayer::init @ 0x140178b1b
// > EditLevelLayer::init @ 0x140179111
// > EditLevelLayer::textChanged @ 0x14017af13
// > EditLevelLayer::creatorDescriptionChanged @ 0x14017b6ae
// > FindObjectPopup::onBuildWindowContent @ 0x140180654
// > EditorSoundConfigInfoLayer::init @ 0x140192499
// > SoundPackDescPopup::init @ 0x140199743
// > EditorSoundsLayer::init @ 0x14019d5e1
// > EditorSoundsLayer::onClearSearch @ 0x14019eef4
// > GJRotationControl::updateAngleInput @ 0x1401a28d2
// > GJScaleControl::updateLabelX @ 0x1401a45a2
// > GJScaleControl::updateLabelY @ 0x1401a4632
// > GJScaleControl::updateLabelXY @ 0x1401a46c2
// > FRequestProfilePage::onClearSearch @ 0x140210bd9
// > FriendsProfilePage::onClearSearch @ 0x140216bb9
// > MoveStepPopup::onReset @ 0x1402c9b76
// > GJGarageLayer::init @ 0x14037bda9
// > GJGarageLayer::init @ 0x14037bfd7
// > GJGarageLayer::textInputOpened @ 0x14037d5f6
// > GJGarageLayer::textInputClosed @ 0x14037d9ef
// > SocialLinksPopup::init @ 0x14039fb69
// > SetIDPopup::updateTextInputLabel @ 0x1403a6142
// > SetColorIDPopup::colorSelectClosed @ 0x1403a65ef
// > SetTextPopup::init @ 0x1403a7e19
// > SetTextPopup::onResetValue @ 0x1403a7ef5
// > IDNameBrowserPopup::onEditRow @ 0x1403c375f
// > IDNameBrowserPopup::setFormID @ 0x1403c3bd5
// > IDNameBrowserPopup::onFormAdd @ 0x1403c4bef
// > IDNameInput::commitID @ 0x1403c9756
// > IDNameInput::textInputClosed @ 0x1403caf07
// > KeybindingsLayer::init @ 0x1403d5fd1
// > KeybindingsLayer::onClearSearch @ 0x1403d8474
// > LevelListLayer::init @ 0x14042bc93
// > LevelSearchLayer::onClearFreeSearch @ 0x14043a2ef
// > MoreSearchLayer::init @ 0x14043d76c
// > MoreSearchLayer::onSongMode @ 0x1404400b7
// > LevelSettingsLayer::init @ 0x140459904
// > LevelSettingsLayer::init @ 0x140459bbd
// > StartPosLayer::updateInputNode @ 0x14045f169
// > MusicBrowser::setupMusicBrowser @ 0x14047c783
// > MusicBrowser::onToggleSearch @ 0x14047d67f
// > MusicBrowser::onToggleSearch @ 0x14047d6db
// > MusicBrowser::onClearSearchText @ 0x14047d774
// > OptionsScrollLayer::onClearSearchText @ 0x14047efd4
// > MoreVideoOptionsLayer::init @ 0x1404cf0ed
// > MoreVideoOptionsLayer::onApplyFPS @ 0x1404d107c
// > SecretLayer::onSubmit @ 0x140573c43
// > SecretLayer2::onSubmit @ 0x14057b00a
// > SecretLayer4::onSubmit @ 0x140586903
// > SecretLayer5::onSubmit @ 0x14058c5e4
// > SetGroupIDLayer::onArrow @ 0x140591578
// > SetGroupIDLayer::updateEditorLabel @ 0x140593ec5
// > SetGroupIDLayer::updateEditorLabel2 @ 0x140593f55
// > SetGroupIDLayer::updateZOrderLabel @ 0x140594015
// > SetGroupIDLayer::updateGroupIDLabel @ 0x1405940a5
// > SetGroupIDLayer::updateEditorOrderLabel @ 0x140594162
// > SetGroupIDLayer::updateOrderChannelLabel @ 0x140594212
// > SetupAdvFollowPopup::updateDefaultTriggerValues @ 0x14059cbd6
// > SetupAdvFollowPopup::valueDidChange @ 0x14059cead
// > SetupAdvFollowRetargetPopup::valueDidChange @ 0x1405a028d
// > SetupAnimationPopup::init @ 0x1405a11a4
// > SetupAnimationPopup::updateAnimationTextInputLabel @ 0x1405a1689
// > SetupAreaMoveTriggerPopup::updateEnterTargetIDState @ 0x1405a5319
// > SetupCameraEdgePopup::updateTextInputLabel @ 0x1405ab219
// > SetupCameraOffsetTrigger::sliderChanged @ 0x1405ae655
// > SetupCameraOffsetTrigger::updateDurLabel @ 0x1405ae724
// > SetupCameraOffsetTrigger::updateValueXLabel @ 0x1405ae872
// > SetupCameraOffsetTrigger::updateValueYLabel @ 0x1405ae922
// > SetupCollisionTriggerPopup::updateSpecialNodes @ 0x1405b0421
// > SetupCollisionTriggerPopup::updateSpecialNodes @ 0x1405b04b6
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0x1405b0f00
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0x1405b0f7e
// > SetupEndPopup::init @ 0x1405b2528
// > SetupInstantCountPopup::init @ 0x1405b8201
// > SetupInstantCountPopup::init @ 0x1405b8264
// > SetupInstantCountPopup::updateCountTextInputLabel @ 0x1405b8bf9
// > SetupMGTrigger::updateValueYLabel @ 0x1405bdbc2
// > SetupOpacityPopup::init @ 0x1405c0191
// > SetupOpacityPopup::sliderChanged @ 0x1405c0b32
// > SetupOpacityPopup::updateDurLabel @ 0x1405c0f04
// > CreateParticlePopup::updateInputNodeStringForType @ 0x1405ca60e
// > SetupPulsePopup::updateFadeInLabel @ 0x1405d02e4
// > SetupPulsePopup::updateHoldLabel @ 0x1405d03b4
// > SetupPulsePopup::updateFadeOutLabel @ 0x1405d0484
// > SetupPulsePopup::colorSelectClosed @ 0x1405d11c4
// > SetupPulsePopup::colorSelectClosed @ 0x1405d126d
// > SetupPulsePopup::sliderChanged @ 0x1405d1512
// > SetupPulsePopup::updateColorLabels @ 0x1405d2350
// > SetupPulsePopup::updateColorLabels @ 0x1405d23a4
// > SetupPulsePopup::updateColorLabels @ 0x1405d2400
// > SetupPulsePopup::updateColorLabels @ 0x1405d2464
// > SetupPulsePopup::updateTextInputLabel @ 0x1405d2686
// > SetupPulsePopup::updateCopyColorTextInputLabel @ 0x1405d279f
// > SetupRandAdvTriggerPopup::init @ 0x1405d3286
// > SetupRandTriggerPopup::updateChanceLabel @ 0x1405d5c02
// > SetupRandTriggerPopup::updateTextInputLabel @ 0x1405d6195
// > SetupRandTriggerPopup::updateTextInputLabel2 @ 0x1405d6355
// > SetupShaderEffectPopup::updateDefaultTriggerValues @ 0x1405dfd96
// > SetupShaderEffectPopup::valueDidChange @ 0x1405ea20d
// > SetupShakePopup::sliderChanged @ 0x1405eb709
// > SetupShakePopup::updateShakeLabel @ 0x1405eb7e4
// > SetupShakePopup::updateIntervalLabel @ 0x1405eb934
// > SetupSmartTemplateLayer::init @ 0x1405eebe1
// > SetupTouchTogglePopup::init @ 0x1405fa3f2
// > SetupTriggerPopup::updateInputNode @ 0x14060f6ce
// > SetupTriggerPopup::updateInputNodeLabel @ 0x1406139d4
// > SFXBrowser::setupSFXBrowser @ 0x1406195f1
// > SFXBrowser::onToggleSearch @ 0x14061f4b2
// > SFXBrowser::onToggleSearch @ 0x14061f505
// > SFXBrowser::onClearSearchText @ 0x14061f794
// > SFXBrowser::cellPerformedAction @ 0x14061fc2d
// > ShareCommentLayer::init @ 0x14062f18d
// > ShareCommentLayer::onClear @ 0x14062f35d
// > ??> @ 0x14091031c
// > ??> @ 0x140910328
//
// This function is hookable on this platform (idp: pc, 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 11:25:40 +0000
//
// Hidden C++ exception states: #wind=1
void __fastcall CCTextInputNode::setString(_QWORD *a1, _QWORD *a2)
{
__int64 v2; // rbx
__int64 v4; // rax
void (__fastcall ***v5)(_QWORD, _QWORD *); // rcx
void (__fastcall ***v6)(_QWORD, _QWORD *); // rcx
_BYTE v7[32]; // [rsp+28h] [rbp-40h] BYREF
_QWORD *v8; // [rsp+48h] [rbp-20h]
v2 = (__int64)a2;
v8 = a2;
if ( a2[3] > 0xFu )
a2 = (_QWORD *)*a2;
(**(void (__fastcall ***)(__int64, _QWORD *))(a1[74] + 600LL))(a1[74] + 600LL, a2);
v4 = sub_14003F4F0((__int64)v7, v2);
CCTextInputNode::updateLabel(a1, v4);
v5 = (void (__fastcall ***)(_QWORD, _QWORD *))a1[75];
if ( v5 )
(**v5)(v5, a1);
v6 = (void (__fastcall ***)(_QWORD, _QWORD *))a1[64];
if ( v6 )
(**v6)(v6, a1);
sub_14003D310(v2);
}