//
// CCTextInputNode::setString from 0x10016cea8 to 0x10016cf48 (160 bytes)
//
// 132 xrefs:
// > SetupOpacityPopup::updateTextInputLabel @ 0x1000239d8
// > SetupOpacityPopup::updateDurLabel @ 0x100023bcc
// > SetupRandAdvTriggerPopup::init @ 0x10002eb3c
// > SetupAreaMoveTriggerPopup::updateEnterTargetIDState @ 0x10003619c
// > SetGroupIDLayer::updateEditorOrderLabel @ 0x10003d9f0
// > SetGroupIDLayer::updateEditorOrderLabel @ 0x10003da1c
// > SetGroupIDLayer::updateOrderChannelLabel @ 0x10003dacc
// > SetGroupIDLayer::updateOrderChannelLabel @ 0x10003daf8
// > SetGroupIDLayer::updateGroupIDLabel @ 0x10003dc28
// > SetGroupIDLayer::updateEditorLabel @ 0x10003dcc8
// > SetGroupIDLayer::updateEditorLabel2 @ 0x10003dd68
// > SetGroupIDLayer::updateZOrderLabel @ 0x10003de0c
// > CustomizeObjectLayer::init @ 0x10004edf8
// > CustomizeObjectLayer::updateCustomColorLabels @ 0x10004fbb8
// > CustomizeObjectLayer::updateKerningLabel @ 0x10004fda0
// > CustomizeObjectLayer::onClear @ 0x10004fec8
// > LevelSearchLayer::onPasteClipboard @ 0x100053224
// > LevelSearchLayer::onClearFreeSearch @ 0x100053754
// > MoreSearchLayer::init @ 0x100056308
// > MoreSearchLayer::onSongMode @ 0x100056c3c
// > SetupAdvFollowPopup::updateDefaultTriggerValues @ 0x100062b68
// > SetupAdvFollowPopup::updateDefaultTriggerValues @ 0x100062bb0
// > SetupAdvFollowPopup::updateDefaultTriggerValues @ 0x100062bf8
// > SetupAdvFollowPopup::valueDidChange @ 0x100062dd8
// > SetupAdvFollowRetargetPopup::updateDefaultTriggerValues @ 0x1000649b8
// > SetupAdvFollowRetargetPopup::updateDefaultTriggerValues @ 0x100064a00
// > SetupAdvFollowRetargetPopup::updateDefaultTriggerValues @ 0x100064a48
// > SetupAdvFollowRetargetPopup::valueDidChange @ 0x100064bd4
// > SetupSmartTemplateLayer::init @ 0x100070aa0
// > SecretLayer5::onSubmit @ 0x100074f48
// > AccountLoginLayer::init @ 0x100083580
// > CollisionBlockPopup::updateTextInputLabel @ 0x100085750
// > EditLevelLayer::init @ 0x1000e943c
// > EditLevelLayer::init @ 0x1000e9718
// > MoreOptionsLayer::init @ 0x1000ee5e0
// > SetupCountTriggerPopup::updateItemIDInputLabel @ 0x1000f489c
// > SetupCountTriggerPopup::updateTargetIDInputLabel @ 0x1000f492c
// > SetupCountTriggerPopup::updateCountTextInputLabel @ 0x1000f49bc
// > ConfigureHSVWidget::updateLabels @ 0x1000ffe30
// > ConfigureHSVWidget::updateLabels @ 0x1000ffe84
// > ConfigureHSVWidget::updateLabels @ 0x1000ffed8
// > SetupTriggerPopup::updateInputNode @ 0x1001334b8
// > SetupTriggerPopup::updateInputNodeLabel @ 0x100133744
// > GJFollowCommandLayer::updateDurLabel @ 0x1001372e8
// > GJFollowCommandLayer::updateTextInputLabel @ 0x1001374d4
// > GJFollowCommandLayer::updateTextInputLabel2 @ 0x10013757c
// > GJFollowCommandLayer::updateXModLabel @ 0x10013762c
// > GJFollowCommandLayer::updateYModLabel @ 0x1001376dc
// > SongOptionsLayer::init @ 0x1001455ec
// > ConfigureValuePopup::updateTextInputLabel @ 0x100150524
// > GJPFollowCommandLayer::updateDurLabel @ 0x10015fefc
// > GJPFollowCommandLayer::updateTextInputLabel @ 0x100160074
// > GJPFollowCommandLayer::updateXModLabel @ 0x100160124
// > GJPFollowCommandLayer::updateYModLabel @ 0x1001601d4
// > GJPFollowCommandLayer::updateOffsetLabel @ 0x10016028c
// > GJPFollowCommandLayer::updateMaxSpeedLabel @ 0x10016033c
// > CCTextInputNode::onTextFieldInsertText @ 0x10016d9b8
// > CCTextInputNode::onTextFieldAttachWithIME @ 0x10016dc04
// > CCTextInputNode::onTextFieldDetachWithIME @ 0x10016e18c
// > LevelSettingsLayer::init @ 0x10017abb4
// > LevelSettingsLayer::init @ 0x10017ae00
// > SetupShaderEffectPopup::updateDefaultTriggerValues @ 0x100189aa8
// > SetupShaderEffectPopup::updateDefaultTriggerValues @ 0x100189af0
// > SetupShaderEffectPopup::updateDefaultTriggerValues @ 0x100189b38
// > SetupShaderEffectPopup::valueDidChange @ 0x100189ff0
// > SetupCameraOffsetTrigger::updateDurLabel @ 0x10018fe84
// > SetupCameraOffsetTrigger::updateValueXLabel @ 0x10019035c
// > SetupCameraOffsetTrigger::updateValueYLabel @ 0x100190414
// > SetupInstantCountPopup::updateItemIDInputLabel @ 0x1001bcacc
// > SetupInstantCountPopup::updateTargetIDInputLabel @ 0x1001bcb5c
// > SetupInstantCountPopup::updateCountTextInputLabel @ 0x1001bcbec
// > SetupRandTriggerPopup::updateTextInputLabel @ 0x1001ca8c8
// > SetupRandTriggerPopup::updateTextInputLabel2 @ 0x1001ca9a8
// > SetupRandTriggerPopup::updateChanceLabel @ 0x1001caaf0
// > ShareCommentLayer::init @ 0x1001d5208
// > ShareCommentLayer::onClear @ 0x1001d54c4
// > SetupCollisionTriggerPopup::updateItemIDInputLabel @ 0x100230244
// > SetupCollisionTriggerPopup::updateItemID2InputLabel @ 0x1002302e4
// > SetupCollisionTriggerPopup::updateTargetIDInputLabel @ 0x100230374
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0x100231234
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0x100231270
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0x1002312bc
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0x1002312e8
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0x100231314
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0x100231360
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0x10023139c
// > SetupCameraEdgePopup::updateTextInputLabel @ 0x10023a9f0
// > LevelListLayer::init @ 0x100244a10
// > SetupTouchTogglePopup::updateTextInputLabel @ 0x10024bb94
// > SetupEndPopup::updateTextInputLabel @ 0x1002ad9f0
// > CreateParticlePopup::updateInputNodeStringForType @ 0x1002cf684
// > GJAccountSettingsLayer::init @ 0x1002d63d0
// > GJWriteMessagePopup::init @ 0x1002dc7cc
// > GJWriteMessagePopup::init @ 0x1002dc814
// > GJWriteMessagePopup::FLAlert_Clicked @ 0x1002dd658
// > SetIDPopup::updateTextInputLabel @ 0x1002de6d0
// > SetColorIDPopup::colorSelectClosed @ 0x1002deba4
// > SetTextPopup::updateTextInputLabel @ 0x1002dffc0
// > SetupMGTrigger::updateDurLabel @ 0x1002f28a4
// > SetupMGTrigger::updateValueYLabel @ 0x1002f2c54
// > GJGarageLayer::init @ 0x10030205c
// > GJGarageLayer::init @ 0x1003021b4
// > GJGarageLayer::textInputOpened @ 0x10030476c
// > GJGarageLayer::textInputClosed @ 0x100304900
// > SecretLayer2::onSubmit @ 0x10030a9c0
// > SecretLayer4::onSubmit @ 0x1003550ec
// > SetupShakePopup::updateShakeLabel @ 0x1003a9a88
// > SetupShakePopup::updateDurLabel @ 0x1003a9b60
// > SetupShakePopup::updateIntervalLabel @ 0x1003a9c38
// > SetupPulsePopup::updateFadeInLabel @ 0x1003b5f14
// > SetupPulsePopup::updateHoldLabel @ 0x1003b5fec
// > SetupPulsePopup::updateFadeOutLabel @ 0x1003b60c4
// > SetupPulsePopup::updateTextInputLabel @ 0x1003b6890
// > SetupPulsePopup::updateCopyColorTextInputLabel @ 0x1003b6990
// > SetupPulsePopup::colorSelectClosed @ 0x1003b7030
// > SetupPulsePopup::colorSelectClosed @ 0x1003b70c8
// > SetupPulsePopup::updateColorLabels @ 0x1003b7630
// > SetupPulsePopup::updateColorLabels @ 0x1003b7674
// > SetupPulsePopup::updateColorLabels @ 0x1003b76b8
// > SetupPulsePopup::updateColorLabels @ 0x1003b7708
// > SecretLayer::onSubmit @ 0x1003be0fc
// > SetupAnimationPopup::updateTextInputLabel @ 0x1003c3e04
// > SetupAnimationPopup::updateAnimationTextInputLabel @ 0x1003c3e94
// > ColorSelectPopup::updateDurLabel @ 0x10041e92c
// > ColorSelectPopup::updateTextInputLabel @ 0x10041f120
// > ColorSelectPopup::updateCopyColorTextInputLabel @ 0x10041f3a0
// > ColorSelectPopup::updateColorLabels @ 0x10041fbb4
// > ColorSelectPopup::updateColorLabels @ 0x10041fbf8
// > ColorSelectPopup::updateColorLabels @ 0x10041fc3c
// > ColorSelectPopup::updateColorLabels @ 0x10041fc8c
// > ColorSelectPopup::colorSelectClosed @ 0x10042097c
// > ColorSelectPopup::colorSelectClosed @ 0x100420a1c
//
// 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
//
TextInputDelegate *__fastcall CCTextInputNode::setString(CCTextInputNode *a1, __int64 **a2)
{
void **v2; // x20
cocos2d::CCTextFieldTTF *m_textField; // x0
TextInputDelegate *result; // x0
std::string __p; // [xsp+0h] [xbp-30h] BYREF
v2 = (void **)a2;
m_textField = a1->m_textField;
if ( *((char *)a2 + 23) < 0 )
a2 = (__int64 **)*a2;
((void (__fastcall *)(cocos2d::CCTextFieldTTF *, __int64 **))m_textField->setString)(m_textField, a2);
if ( *((char *)v2 + 23) < 0 )
sub_1000097D0(&__p, *v2, (unsigned __int64)v2[1]);
else
__p = *(std::string *)v2;
CCTextInputNode::updateLabel(a1, &__p);
if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 )
operator delete(__p.__r_.__value_.__l.__data_);
result = a1->m_delegate;
if ( result )
return (TextInputDelegate *)((__int64 (__fastcall *)(TextInputDelegate *, CCTextInputNode *))result->textChanged)(
result,
a1);
return result;
}