//
// CCTextInputNode::setString from 0x3e3444 to 0x3e34c0 (124 bytes)
//
// 180 xrefs:
// > CCTextInputNode::onTextFieldDeleteBackward @ 0x3e35e0
// > CCTextInputNode::onTextFieldAttachWithIME @ 0x3e36c8
// > CCTextInputNode::clearText @ 0x3e385a
// > CCTextInputNode::scrollWheel @ 0x3e3aca
// > CCTextInputNode::insertAtCursor @ 0x3e40a0
// > CCTextInputNode::onTextFieldInsertText @ 0x3e43dc
// > CCTextInputNode::onTextFieldDetachWithIME @ 0x3e4a26
// > LevelSearchLayer::onClearFreeSearch @ 0x4960dc
// > MoreSearchLayer::onSongMode @ 0x496fda
// > MoreSearchLayer::init @ 0x497d7e
// > EditLevelLayer::creatorDescriptionChanged @ 0x4a006e
// > EditLevelLayer::textChanged @ 0x4a07c6
// > EditLevelLayer::init @ 0x4a1d60
// > EditLevelLayer::init @ 0x4a1dd0
// > ColorSelectPopup::updateDurLabel @ 0x4df5fe
// > ColorSelectPopup::updateTextInputLabel @ 0x4df74c
// > ColorSelectPopup::colorSelectClosed @ 0x4df864
// > ColorSelectPopup::colorSelectClosed @ 0x4df8de
// > ColorSelectPopup::updateCopyColorTextInputLabel @ 0x4df9b4
// > ColorSelectPopup::updateColorLabels @ 0x4e1c0e
// > ColorSelectPopup::updateColorLabels @ 0x4e1c48
// > ColorSelectPopup::updateColorLabels @ 0x4e1c82
// > ColorSelectPopup::updateColorLabels @ 0x4e1ccc
// > GJGarageLayer::textInputOpened @ 0x50c34e
// > GJGarageLayer::textInputClosed @ 0x50cf38
// > GJGarageLayer::init @ 0x51029c
// > GJGarageLayer::init @ 0x5103de
// > MoreOptionsLayer::init @ 0x533948
// > MoreVideoOptionsLayer::onApplyFPS @ 0x533c1e
// > ShareCommentLayer::init @ 0x541f80
// > ShareCommentLayer::onClear @ 0x542292
// > SongOptionsLayer::init @ 0x57d5a4
// > CustomizeObjectLayer::onClear @ 0x57e9fa
// > CustomizeObjectLayer::updateCustomColorLabels @ 0x57ea82
// > CustomizeObjectLayer::updateKerningLabel @ 0x57f5d0
// > CustomizeObjectLayer::init @ 0x580a80
// > AccountLoginLayer::init @ 0x587790
// > KeybindingsLayer::onClearSearch @ 0x589980
// > KeybindingsLayer::init @ 0x58ad00
// > GJWriteMessagePopup::FLAlert_Clicked @ 0x5d782a
// > SetIDPopup::updateTextInputLabel @ 0x5d7ae8
// > SetColorIDPopup::colorSelectClosed @ 0x5d7bb4
// > SetTextPopup::updateTextInputLabel @ 0x5d882e
// > GJWriteMessagePopup::init @ 0x5dfffe
// > GJWriteMessagePopup::init @ 0x5e001c
// > SocialLinksPopup::init @ 0x5e2c20
// > ConfigureHSVWidget::updateLabels @ 0x5e526a
// > ConfigureHSVWidget::updateLabels @ 0x5e52b4
// > ConfigureHSVWidget::updateLabels @ 0x5e52fe
// > SetupOpacityPopup::updateDurLabel @ 0x5e96b4
// > SetupOpacityPopup::updateTextInputLabel @ 0x5e9812
// > SetupPulsePopup::updateFadeInLabel @ 0x5ec9b4
// > SetupPulsePopup::updateHoldLabel @ 0x5eca84
// > SetupPulsePopup::updateFadeOutLabel @ 0x5ecb54
// > SetupPulsePopup::colorSelectClosed @ 0x5ecc70
// > SetupPulsePopup::colorSelectClosed @ 0x5ecce4
// > SetupPulsePopup::updateTextInputLabel @ 0x5ecdc8
// > SetupPulsePopup::updateCopyColorTextInputLabel @ 0x5ecfe4
// > SetupPulsePopup::updateColorLabels @ 0x5ef44e
// > SetupPulsePopup::updateColorLabels @ 0x5ef488
// > SetupPulsePopup::updateColorLabels @ 0x5ef4c2
// > SetupPulsePopup::updateColorLabels @ 0x5ef50c
// > FRequestProfilePage::onClearSearch @ 0x5f2dfc
// > FriendsProfilePage::onClearSearch @ 0x5f5588
// > SecretLayer::onSubmit @ 0x5fe05e
// > ConfigureValuePopup::updateTextInputLabel @ 0x602b5e
// > SecretLayer2::onSubmit @ 0x61e864
// > SecretLayer4::onSubmit @ 0x62266e
// > SetupAnimationPopup::updateTextInputLabel @ 0x6245b2
// > SetupAnimationPopup::updateAnimationTextInputLabel @ 0x62462e
// > SetupCollisionTriggerPopup::updateSpecialNodes @ 0x625f4c
// > SetupCollisionTriggerPopup::updateSpecialNodes @ 0x625f74
// > SetupCollisionTriggerPopup::updateSpecialNodes @ 0x625f88
// > SetupCollisionTriggerPopup::updateSpecialNodes @ 0x625faa
// > SetupCollisionTriggerPopup::updateSpecialNodes @ 0x625fd2
// > SetupCollisionTriggerPopup::updateSpecialNodes @ 0x626014
// > SetupCollisionTriggerPopup::updateSpecialNodes @ 0x62603c
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0x626580
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0x6265b6
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0x6265ca
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0x6265e8
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0x626610
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0x626644
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0x62666c
// > SetupInstantCountPopup::updateItemIDInputLabel @ 0x627bd2
// > SetupInstantCountPopup::updateTargetIDInputLabel @ 0x627c4e
// > SetupInstantCountPopup::updateCountTextInputLabel @ 0x627cca
// > SetupShakePopup::updateDurLabel @ 0x629a54
// > SetupShakePopup::updateShakeLabel @ 0x629b24
// > SetupShakePopup::updateIntervalLabel @ 0x629bf4
// > SetupTouchTogglePopup::updateTextInputLabel @ 0x62a962
// > SetupCameraOffsetTrigger::updateDurLabel @ 0x632914
// > SetupCameraOffsetTrigger::updateValueXLabel @ 0x632a00
// > SetupCameraOffsetTrigger::updateValueYLabel @ 0x632ae4
// > SetupRandTriggerPopup::updateChanceLabel @ 0x635cc0
// > SetupRandTriggerPopup::updateTextInputLabel @ 0x635da8
// > SetupRandTriggerPopup::updateTextInputLabel2 @ 0x635e5c
// > SetupEndPopup::updateTextInputLabel @ 0x636b0e
// > SetGroupIDLayer::updateEditorLabel @ 0x63ae28
// > SetGroupIDLayer::updateEditorLabel2 @ 0x63af20
// > SetGroupIDLayer::updateZOrderLabel @ 0x63b036
// > SetGroupIDLayer::updateGroupIDLabel @ 0x63b0d4
// > SetGroupIDLayer::updateEditorOrderLabel @ 0x63b200
// > SetGroupIDLayer::updateEditorOrderLabel @ 0x63b230
// > SetGroupIDLayer::updateOrderChannelLabel @ 0x63b2a4
// > SetGroupIDLayer::updateOrderChannelLabel @ 0x63b2d4
// > SetupCameraRotatePopup::updateDurLabel @ 0x659e04
// > SetupCameraRotatePopup::updateDegreesLabel @ 0x659edc
// > SetupRandAdvTriggerPopup::init @ 0x65c5f4
// > SetupGravityModPopup::updateTextInputLabel @ 0x66339e
// > CreateParticlePopup::updateInputNodeStringForType @ 0x6664fe
// > MPLobbyLayer::postComment @ 0x66a770
// > SetupSmartTemplateLayer::init @ 0x67460c
// > SetupTriggerPopup::updateInputNodeLabel @ 0x67a396
// > SetupTriggerPopup::updateInputNode @ 0x67ad8c
// > SetupCameraEdgePopup::updateTextInputLabel @ 0x67ed8e
// > SetupShaderEffectPopup::updateDefaultTriggerValues @ 0x688192
// > SetupShaderEffectPopup::updateDefaultTriggerValues @ 0x6881cc
// > SetupShaderEffectPopup::updateDefaultTriggerValues @ 0x688206
// > SetupShaderEffectPopup::valueDidChange @ 0x68e376
// > SetupAreaMoveTriggerPopup::updateEnterTargetIDState @ 0x69364e
// > SetupAdvFollowPopup::updateDefaultTriggerValues @ 0x6965ae
// > SetupAdvFollowPopup::updateDefaultTriggerValues @ 0x6965e8
// > SetupAdvFollowPopup::updateDefaultTriggerValues @ 0x696622
// > SetupAdvFollowRetargetPopup::updateDefaultTriggerValues @ 0x6973d2
// > SetupAdvFollowRetargetPopup::updateDefaultTriggerValues @ 0x69740c
// > SetupAdvFollowRetargetPopup::updateDefaultTriggerValues @ 0x697446
// > SetupAdvFollowPopup::valueDidChange @ 0x699a6e
// > SetupAdvFollowRetargetPopup::valueDidChange @ 0x699f2c
// > SetupMGTrigger::updateDurLabel @ 0x69a770
// > SetupMGTrigger::updateValueYLabel @ 0x69a85c
// > StartPosLayer::updateInputNode @ 0x6ab1fe
// > LevelSettingsLayer::init @ 0x6ac68a
// > LevelSettingsLayer::init @ 0x6ac8b0
// > MusicBrowser::onClearSearchText @ 0x6bdae8
// > OptionsScrollLayer::onClearSearchText @ 0x6bdc04
// > MusicBrowser::onToggleSearch @ 0x6be6ba
// > MusicBrowser::onToggleSearch @ 0x6be6fc
// > MusicBrowser::setupMusicBrowser @ 0x6be942
// > SFXBrowser::onClearSearchText @ 0x6c4090
// > SFXBrowser::onToggleSearch @ 0x6c6470
// > SFXBrowser::onToggleSearch @ 0x6c64b2
// > SFXBrowser::setupSFXBrowser @ 0x6c6a20
// > SFXBrowser::cellPerformedAction @ 0x6c9140
// > LevelListLayer::init @ 0x6d96c6
// > SecretLayer5::onSubmit @ 0x6e592a
// > GJRotationControl::updateAngleInput @ 0x6edd18
// > GJScaleControl::updateLabelX @ 0x6ee140
// > GJScaleControl::updateLabelY @ 0x6ee1c0
// > GJScaleControl::updateLabelXY @ 0x6ee240
// > SFXFolderPickerPopup::init @ 0x730790
// > AutoBackupPopup::onClearSearch @ 0x73c53c
// > MoveStepPopup::onReset @ 0x744d68
// > RenameThreadPopup::init @ 0x74de88
// > ThreadSearchPopup::clampDayField @ 0x74e19e
// > ThreadSearchPopup::init @ 0x74e6de
// > ThreadSearchPopup::textChanged @ 0x74e9c0
// > ThreadSearchPopup::textChanged @ 0x74ea10
// > ThreadViewPopup::insertShareToken @ 0x751bf2
// > NewThreadPopup::insertShareToken @ 0x751f02
// > FriendPickerPopup::onPickFriend @ 0x75285a
// > MessageThreadsPage::onClearSearch @ 0x7531a4
// > ThreadDescPopup::buildUI @ 0x754252
// > NewThreadPopup::applyMode @ 0x7560d8
// > NewThreadPopup::init @ 0x756b08
// > InvitesPopup::onClearSearch @ 0x759c68
// > LevelPickerPopup::onToggleKind @ 0x75aa3e
// > LevelPickerPopup::onOnlineMode @ 0x75adce
// > ThreadViewPopup::onSend @ 0x75de54
// > ThreadViewPopup::threadSendFailed @ 0x75e178
// > DeathStatsPopup::init @ 0x76f55a
// > SoundPackDescPopup::init @ 0x786970
// > EditorSoundConfigInfoLayer::init @ 0x7882a6
// > EditorSoundsLayer::onClearSearch @ 0x78a3d0
// > EditorSoundsLayer::init @ 0x78b118
// > IDNameBrowserPopup::setFormID @ 0x78fb92
// > IDNameBrowserPopup::onEditRow @ 0x79007a
// > IDNameBrowserPopup::onFormAdd @ 0x7935ae
// > IDNameInput::commitID @ 0x793a0c
// > IDNameInput::revertToLastID @ 0x793cde
//
// 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:47:03 +0000
//
int (__fastcall ***__fastcall CCTextInputNode::setString(int a1, int a2))(_DWORD, int)
{
int v3; // r0
int v5; // r1
void (__fastcall ***v6)(_DWORD, int); // r0
int (__fastcall ***result)(_DWORD, int); // r0
int v8[3]; // [sp+0h] [bp-14h] BYREF
v3 = *(_DWORD *)(a1 + 416);
if ( (*(_BYTE *)a2 & 1) != 0 )
v5 = *(_DWORD *)(a2 + 8);
else
v5 = a2 + 1;
(*(void (__fastcall **)(int, int))(*(_DWORD *)v3 + 620))(v3, v5);
std::string::basic_string(v8, a2);
CCTextInputNode::updateLabel((float *)a1, (int)v8);
std::string::~string((int)v8);
v6 = *(void (__fastcall ****)(_DWORD, int))(a1 + 420);
if ( v6 )
(**v6)(v6, a1);
result = *(int (__fastcall ****)(_DWORD, int))(a1 + 368);
if ( result )
return (int (__fastcall ***)(_DWORD, int))(**result)(result, a1);
return result;
}