//
// CCTextInputNode::setString from 0x14004f810 to 0x14004f8a1 (145 bytes)
//
// 117 xrefs:
// > CCTextInputNode::onTextFieldInsertText @ 0x140050790
// > CCTextInputNode::onTextFieldAttachWithIME @ 0x140050992
// > CCTextInputNode::onTextFieldDetachWithIME @ 0x140050d12
// > AccountLoginLayer::init @ 0x14007bee1
// > CollisionBlockPopup::updateTextInputLabel @ 0x14008ba39
// > ColorSelectPopup::updateDurLabel @ 0x1400914d2
// > ColorSelectPopup::updateColorLabels @ 0x1400919d0
// > ColorSelectPopup::updateColorLabels @ 0x140091a24
// > ColorSelectPopup::updateColorLabels @ 0x140091a80
// > ColorSelectPopup::updateColorLabels @ 0x140091ae4
// > ColorSelectPopup::updateTextInputLabel @ 0x14009345f
// > ColorSelectPopup::colorSelectClosed @ 0x1400937c4
// > ColorSelectPopup::colorSelectClosed @ 0x140093879
// > ColorSelectPopup::updateCopyColorTextInputLabel @ 0x140093bef
// > ConfigureHSVWidget::updateLabels @ 0x140097d0c
// > ConfigureHSVWidget::updateLabels @ 0x140097d7c
// > ConfigureHSVWidget::updateLabels @ 0x140097def
// > ConfigureValuePopup::updateTextInputLabel @ 0x1400992d6
// > CustomizeObjectLayer::init @ 0x1400a7597
// > CustomizeObjectLayer::updateKerningLabel @ 0x1400a7e63
// > CustomizeObjectLayer::onClear @ 0x1400a9b03
// > CustomizeObjectLayer::updateCustomColorLabels @ 0x1400a9c18
// > SongOptionsLayer::init @ 0x1400c4ee3
// > EditLevelLayer::init @ 0x1400d5a99
// > EditLevelLayer::init @ 0x1400d5ec0
// > GJFollowCommandLayer::sliderChanged @ 0x140271dc5
// > GJFollowCommandLayer::updateDurLabel @ 0x140271e94
// > GJFollowCommandLayer::updateXModLabel @ 0x140271fb5
// > GJFollowCommandLayer::updateYModLabel @ 0x140272055
// > GJFollowCommandLayer::updateTextInputLabel @ 0x1402726b8
// > GJFollowCommandLayer::updateTextInputLabel2 @ 0x140272748
// > GJGarageLayer::init @ 0x140273654
// > GJGarageLayer::init @ 0x140273862
// > GJGarageLayer::textInputOpened @ 0x140274dc7
// > GJGarageLayer::textInputClosed @ 0x140275194
// > GJPFollowCommandLayer::init @ 0x14028bfc3
// > GJPFollowCommandLayer::init @ 0x14028c036
// > GJPFollowCommandLayer::updateXModLabel @ 0x14028c535
// > GJPFollowCommandLayer::updateYModLabel @ 0x14028c5d5
// > GJPFollowCommandLayer::updateTextInputLabel @ 0x14028cd38
// > GJAccountSettingsLayer::init @ 0x1402935ab
// > GJWriteMessagePopup::init @ 0x14029a05d
// > GJWriteMessagePopup::init @ 0x14029a07f
// > GJWriteMessagePopup::FLAlert_Clicked @ 0x14029af33
// > SetIDPopup::updateTextInputLabel @ 0x14029bef5
// > SetColorIDPopup::colorSelectClosed @ 0x14029c39f
// > SetTextPopup::init @ 0x14029d7fc
// > SetTextPopup::onResetValue @ 0x14029d8c5
// > LevelListLayer::init @ 0x140303faf
// > LevelSearchLayer::onClearFreeSearch @ 0x140311bdf
// > MoreSearchLayer::init @ 0x1403148da
// > MoreSearchLayer::onSongMode @ 0x140316ebe
// > LevelSettingsLayer::init @ 0x140320764
// > LevelSettingsLayer::init @ 0x140320a16
// > MoreOptionsLayer::init @ 0x140374826
// > MoreVideoOptionsLayer::init @ 0x1403793d1
// > MoreVideoOptionsLayer::onApplyFPS @ 0x14037b248
// > SecretLayer::onSubmit @ 0x1403de105
// > SecretLayer2::onSubmit @ 0x1403e5530
// > SecretLayer4::onSubmit @ 0x1403f0ffd
// > SecretLayer5::onSubmit @ 0x1403f6d2e
// > SetGroupIDLayer::updateEditorLabel @ 0x1403fd565
// > SetGroupIDLayer::updateEditorLabel2 @ 0x1403fd5f5
// > SetGroupIDLayer::updateZOrderLabel @ 0x1403fd688
// > SetGroupIDLayer::updateGroupIDLabel @ 0x1403fd715
// > SetGroupIDLayer::updateEditorOrderLabel @ 0x1403fd7c2
// > SetGroupIDLayer::updateOrderChannelLabel @ 0x1403fd872
// > SetupAdvFollowPopup::updateDefaultTriggerValues @ 0x1404056a3
// > SetupAdvFollowPopup::valueDidChange @ 0x14040598e
// > SetupAdvFollowRetargetPopup::valueDidChange @ 0x140408adf
// > SetupAnimationPopup::updateTextInputLabel @ 0x140409ef9
// > SetupAnimationPopup::updateAnimationTextInputLabel @ 0x140409f79
// > SetupAreaMoveTriggerPopup::updateEnterTargetIDState @ 0x14040dd29
// > SetupCameraEdgePopup::updateTextInputLabel @ 0x140413dd9
// > SetupCameraOffsetTrigger::updateValueXLabel @ 0x140417212
// > SetupCameraOffsetTrigger::updateValueYLabel @ 0x1404172c2
// > SetupCollisionTriggerPopup::updateItemIDInputLabel @ 0x140419ac1
// > SetupCollisionTriggerPopup::updateItemID2InputLabel @ 0x140419b5f
// > SetupCollisionTriggerPopup::updateTargetIDInputLabel @ 0x140419be9
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0x14041a7f8
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0x14041a876
// > SetupCountTriggerPopup::updateItemIDInputLabel @ 0x14041c609
// > SetupCountTriggerPopup::updateTargetIDInputLabel @ 0x14041c689
// > SetupEndPopup::updateTextInputLabel @ 0x14041d989
// > SetupMGTrigger::updateValueYLabel @ 0x140428592
// > SetupOpacityPopup::sliderChanged @ 0x14042b7b2
// > SetupOpacityPopup::updateDurLabel @ 0x14042bac4
// > SetupOpacityPopup::updateTextInputLabel @ 0x14042bbb9
// > CreateParticlePopup::updateInputNodeStringForType @ 0x140434cf0
// > SetupPulsePopup::updateFadeInLabel @ 0x14043abb4
// > SetupPulsePopup::updateHoldLabel @ 0x14043ac84
// > SetupPulsePopup::updateFadeOutLabel @ 0x14043ad54
// > SetupPulsePopup::colorSelectClosed @ 0x14043ba64
// > SetupPulsePopup::colorSelectClosed @ 0x14043bb0d
// > SetupPulsePopup::sliderChanged @ 0x14043bdb2
// > SetupPulsePopup::updateColorLabels @ 0x14043cc50
// > SetupPulsePopup::updateColorLabels @ 0x14043cca4
// > SetupPulsePopup::updateColorLabels @ 0x14043cd00
// > SetupPulsePopup::updateColorLabels @ 0x14043cd64
// > SetupPulsePopup::updateTextInputLabel @ 0x14043cf86
// > SetupPulsePopup::updateCopyColorTextInputLabel @ 0x14043d09f
// > SetupRandAdvTriggerPopup::init @ 0x14043da3e
// > SetupRandTriggerPopup::updateChanceLabel @ 0x140440af2
// > SetupRandTriggerPopup::updateTextInputLabel @ 0x140440fc5
// > SetupRandTriggerPopup::updateTextInputLabel2 @ 0x140441175
// > SetupShaderEffectPopup::updateDefaultTriggerValues @ 0x14044a683
// > SetupShaderEffectPopup::valueDidChange @ 0x14045496e
// > SetupShakePopup::sliderChanged @ 0x140455e39
// > SetupShakePopup::updateShakeLabel @ 0x140455f14
// > SetupShakePopup::updateIntervalLabel @ 0x140456064
// > SetupSmartTemplateLayer::init @ 0x140459207
// > SetupTriggerPopup::updateInputNode @ 0x140477fe3
// > SetupTriggerPopup::updateInputNodeLabel @ 0x14047c0f4
// > ShareCommentLayer::init @ 0x14048e02e
// > ShareCommentLayer::onClear @ 0x14048e15d
// > ??> @ 0x1406c4cc8
// > ??> @ 0x1406c4cd4
//
// 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
//
// Hidden C++ exception states: #wind=1
void __fastcall CCTextInputNode::setString(__int64 a1, _QWORD *a2)
{
__int64 v2; // rbx
__int64 v4; // rax
void (__fastcall ***v5)(_QWORD, __int64); // rcx
_BYTE v6[32]; // [rsp+28h] [rbp-40h] BYREF
_QWORD *v7; // [rsp+48h] [rbp-20h]
v2 = (__int64)a2;
v7 = a2;
if ( a2[3] > 0xFu )
a2 = (_QWORD *)*a2;
(**(void (__fastcall ***)(__int64, _QWORD *))(*(_QWORD *)(a1 + 552) + 600LL))(*(_QWORD *)(a1 + 552) + 600LL, a2);
v4 = sub_14003BDB0((__int64)v6, v2);
CCTextInputNode::updateLabel(a1, v4);
v5 = *(void (__fastcall ****)(_QWORD, __int64))(a1 + 560);
if ( v5 )
(**v5)(v5, a1);
sub_14003A830(v2);
}