//
// CCTextInputNode::getString from 0x100068a30 to 0x100068ada (170 bytes)
//
// 224 xrefs:
// > SetupOpacityPopup::textChanged @ 0x10001da53
// > SetupOpacityPopup::textChanged @ 0x10001da82
// > CustomizeObjectLayer::updateKerningLabel @ 0x1001da41c
// > CustomizeObjectLayer::textInputOpened @ 0x1001db730
// > CustomizeObjectLayer::textChanged @ 0x1001db891
// > CustomizeObjectLayer::textChanged @ 0x1001db8bd
// > EditLevelLayer::textInputClosed @ 0x1001dfcdd
// > EditLevelLayer::textInputClosed @ 0x1001dfd15
// > EditLevelLayer::textInputClosed @ 0x1001dfd43
// > EditLevelLayer::textInputClosed @ 0x1001dfe20
// > EditLevelLayer::textInputOpened @ 0x1001e0020
// > EditLevelLayer::textChanged @ 0x1001e0125
// > EditLevelLayer::textChanged @ 0x1001e0177
// > CustomSongLayer::onSearch @ 0x1001f90a5
// > CustomSongLayer::textInputClosed @ 0x1001f946c
// > sub_1001F9490 @ 0x1001f949c
// > CustomSongLayer::textInputOpened @ 0x1001f94cc
// > sub_1001F94F0 @ 0x1001f94fc
// > SongOptionsLayer::onClose @ 0x1001fa8a7
// > SongOptionsLayer::onPlayback @ 0x1001faa45
// > SetupTriggerPopup::textChanged @ 0x10021b8e7
// > LevelSettingsLayer::textChanged @ 0x100258cd5
// > LevelSettingsLayer::textChanged @ 0x100258d03
// > StartPosLayer::onClose @ 0x10025d944
// > GJAccountSettingsLayer::closeAccInputNodes @ 0x10028cdb1
// > sub_10028EC80 @ 0x10028ed2c
// > GJWriteMessagePopup::textChanged @ 0x100296bbe
// > SetIDPopup::textChanged @ 0x100298c9b
// > sub_100298D10 @ 0x100298d38
// > SetTextPopup::textChanged @ 0x10029b9c9
// > sub_10029BA20 @ 0x10029ba39
// > SetupTouchTogglePopup::textChanged @ 0x1002a79c3
// > SetGroupIDLayer::textChanged @ 0x100301fc5
// > SetGroupIDLayer::textChanged @ 0x100301ffe
// > SetGroupIDLayer::textChanged @ 0x10030209d
// > SetGroupIDLayer::textChanged @ 0x10030217f
// > SetGroupIDLayer::textChanged @ 0x10030224b
// > SetGroupIDLayer::textChanged @ 0x1003022d3
// > LevelListLayer::textInputClosed @ 0x10034c362
// > LevelListLayer::textInputClosed @ 0x10034c3c3
// > LevelListLayer::textInputOpened @ 0x10034c540
// > LevelListLayer::textChanged @ 0x10034c639
// > GJGarageLayer::textInputOpened @ 0x100355b71
// > GJGarageLayer::textInputClosed @ 0x100355c98
// > GJGarageLayer::textChanged @ 0x100355e4c
// > sub_100355E70 @ 0x100355e7c
// > SetupRandAdvTriggerPopup::onAddChance @ 0x10037933d
// > SetupRandAdvTriggerPopup::onAddChance @ 0x100379378
// > SetupPulsePopup::textChanged @ 0x10039937e
// > SetupPulsePopup::textChanged @ 0x1003993fd
// > SetupPulsePopup::textChanged @ 0x10039942d
// > SetupPulsePopup::textChanged @ 0x100399457
// > SetupPulsePopup::textChanged @ 0x10039948b
// > SetupPulsePopup::textChanged @ 0x1003994b9
// > SetupPulsePopup::textChanged @ 0x1003994e9
// > SetupPulsePopup::textChanged @ 0x10039971f
// > SecretLayer4::onSubmit @ 0x10039b525
// > SecretLayer4::textInputOpened @ 0x10039d570
// > SecretLayer4::textInputClosed @ 0x10039d640
// > sub_10039D690 @ 0x10039d6a7
// > SecretLayer4::textChanged @ 0x10039d710
// > sub_10039D760 @ 0x10039d777
// > SetupAnimationPopup::textChanged @ 0x1003bee42
// > SetupAnimationPopup::textChanged @ 0x1003bee58
// > CreateStartPosPopup::onCreate @ 0x1003c4c4c
// > SetupGravityModPopup::textChanged @ 0x1003c637b
// > ConfigureHSVWidget::textChanged @ 0x10041ea53
// > ConfigureHSVWidget::textChanged @ 0x10041ea7a
// > ConfigureHSVWidget::textChanged @ 0x10041ea92
// > sub_10042DDC0 @ 0x10042de67
// > SFXBrowser::textChanged @ 0x1004348a1
// > CreateParticlePopup::textChanged @ 0x10046afd4
// > SecretLayer5::onSubmit @ 0x10046fe10
// > SecretLayer5::textInputOpened @ 0x100472ef0
// > SecretLayer5::textInputClosed @ 0x100472fc0
// > sub_100473010 @ 0x100473027
// > SecretLayer5::textChanged @ 0x100473090
// > sub_1004730E0 @ 0x1004730f7
// > MPLobbyLayer::postComment @ 0x10048ae5d
// > MPLobbyLayer::postComment @ 0x10048ae9c
// > AccountRegisterLayer::onSubmit @ 0x10048d79d
// > AccountRegisterLayer::onSubmit @ 0x10048d7ad
// > AccountRegisterLayer::onSubmit @ 0x10048d7c0
// > AccountRegisterLayer::onSubmit @ 0x10048d7d0
// > AccountRegisterLayer::onSubmit @ 0x10048d7e0
// > AccountRegisterLayer::onSubmit @ 0x10048dcd7
// > AccountRegisterLayer::onSubmit @ 0x10048dcea
// > AccountRegisterLayer::registerAccountFinished @ 0x10048e18f
// > AccountRegisterLayer::textInputClosed @ 0x10049010e
// > AccountRegisterLayer::textInputClosed @ 0x10049017a
// > AccountRegisterLayer::textInputClosed @ 0x100490530
// > AccountRegisterLayer::textChanged @ 0x10049089e
// > AccountRegisterLayer::textChanged @ 0x1004908c5
// > AccountRegisterLayer::textChanged @ 0x100490ac9
// > AccountLoginLayer::onSubmit @ 0x100491e3c
// > AccountLoginLayer::onSubmit @ 0x100491e78
// > AccountLoginLayer::loginAccountFinished @ 0x10049259b
// > AccountLoginLayer::textInputClosed @ 0x100492eb7
// > SecretLayer2::onSubmit @ 0x100497422
// > SecretLayer2::textInputOpened @ 0x10049b0d0
// > SecretLayer2::textInputClosed @ 0x10049b1a0
// > sub_10049B1F0 @ 0x10049b207
// > SecretLayer2::textChanged @ 0x10049b270
// > sub_10049B2C0 @ 0x10049b2d7
// > SetupCameraRotatePopup::textChanged @ 0x1004b76cb
// > SetupCameraRotatePopup::textChanged @ 0x1004b76e8
// > SetupSmartTemplateLayer::textInputClosed @ 0x1004e3336
// > SetupSmartTemplateLayer::textInputClosed @ 0x1004e3347
// > SetupSmartTemplateLayer::textInputOpened @ 0x1004e3471
// > SetupMGTrigger::textChanged @ 0x10050bd0e
// > SetupMGTrigger::textChanged @ 0x10050bd2e
// > CreateGuidelinesLayer::onRecord @ 0x10050dbcb
// > sub_100640D20 @ 0x100640d42
// > sub_100643710 @ 0x10064376b
// > SetupCameraEdgePopup::textChanged @ 0x10064931f
// > ShareCommentLayer::textInputClosed @ 0x1006b342b
// > ShareCommentLayer::textChanged @ 0x1006b35b8
// > SetupRandTriggerPopup::textChanged @ 0x1006b9e63
// > SetupRandTriggerPopup::textChanged @ 0x1006b9e8e
// > SetupRandTriggerPopup::textChanged @ 0x1006b9f15
// > SetupInstantCountPopup::textChanged @ 0x1006bd2d2
// > SetupInstantCountPopup::textChanged @ 0x1006bd31c
// > SetupInstantCountPopup::textChanged @ 0x1006bd332
// > SecretLayer::onSubmit @ 0x1006d2785
// > SecretLayer::textInputOpened @ 0x1006d46e0
// > SecretLayer::textInputClosed @ 0x1006d47b0
// > sub_1006D4800 @ 0x1006d4817
// > SecretLayer::textChanged @ 0x1006d4880
// > sub_1006D48D0 @ 0x1006d48e7
// > KeybindingsLayer::textChanged @ 0x1006e4815
// > MusicBrowser::onClose @ 0x1006e87d1
// > MusicBrowser::textChanged @ 0x1006ea821
// > OptionsScrollLayer::textChanged @ 0x1006ebd55
// > ConfigureValuePopup::textChanged @ 0x10070201f
// > ConfigureValuePopup::textChanged @ 0x10070203d
// > LevelSearchLayer::onSearch @ 0x1007070eb
// > LevelSearchLayer::onSearchUser @ 0x10070725b
// > LevelSearchLayer::textInputOpened @ 0x100708c50
// > LevelSearchLayer::textInputClosed @ 0x100708d20
// > sub_100708D70 @ 0x100708d87
// > LevelSearchLayer::textChanged @ 0x100708df0
// > sub_100708E40 @ 0x100708e57
// > MoreSearchLayer::onClose @ 0x10070b15d
// > FriendsProfilePage::onGlobalSearch @ 0x100735b8c
// > FriendsProfilePage::textChanged @ 0x100737d04
// > sub_100737D60 @ 0x100737d90
// > SetupCameraOffsetTrigger::textChanged @ 0x1007430c2
// > SetupCameraOffsetTrigger::textChanged @ 0x1007430e9
// > SetupCameraOffsetTrigger::textChanged @ 0x100743109
// > SetupShakePopup::textChanged @ 0x100744923
// > SetupShakePopup::textChanged @ 0x100744952
// > SetupShakePopup::textChanged @ 0x1007449d8
// > SetupEndPopup::textChanged @ 0x10074898f
// > ColorSelectPopup::textChanged @ 0x100809c8e
// > ColorSelectPopup::textChanged @ 0x100809d0d
// > ColorSelectPopup::textChanged @ 0x100809d3b
// > ColorSelectPopup::textChanged @ 0x100809d69
// > ColorSelectPopup::textChanged @ 0x100809d93
// > ColorSelectPopup::textChanged @ 0x100809e65
// > sub_1008700D0 @ 0x1008700ec
// > FRequestProfilePage::textChanged @ 0x100871e58
// > MoreOptionsLayer::onClose @ 0x10087e995
// > MoreVideoOptionsLayer::onApplyFPS @ 0x1008840b7
// > sub_1008C9540 @ 0x1008c9564
// > sub_1008C9540 @ 0x1008c95ac
// > EditorSoundConfigInfoLayer::textChanged @ 0x1008f88b7
// > sub_1008F8900 @ 0x1008f8927
// > sub_1008FAA30 @ 0x1008faa4c
// > SoundPackDescPopup::textChanged @ 0x1008fadb1
// > EditorSoundsLayer::textChanged @ 0x1008fed95
// > EmotePickerPopup::canAddEmote @ 0x100903a91
// > IDNameBrowserPopup::onFormArrowLeft @ 0x10090aad0
// > IDNameBrowserPopup::onFormArrowRight @ 0x10090ab8c
// > IDNameBrowserPopup::onFormArrowRight @ 0x10090ac19
// > IDNameBrowserPopup::onFormAdd @ 0x10090afd2
// > IDNameBrowserPopup::onFormAdd @ 0x10090b03f
// > sub_10090B400 @ 0x10090b4e3
// > sub_10090C4C0 @ 0x10090c53c
// > sub_10090C4C0 @ 0x10090c5f1
// > sub_10090C8A0 @ 0x10090c8b9
// > sub_100914680 @ 0x1009146af
// > sub_1009147B0 @ 0x100914820
// > sub_100914B60 @ 0x100914b85
// > IDNameInput::updateAutocomplete @ 0x100914f32
// > sub_100915DB0 @ 0x100915dd9
// > IDNameInput::textChanged @ 0x100916055
// > IDNameInput::textInputClosed @ 0x1009161bc
// > MessageThreadsPage::updateFilterButtons @ 0x10092b67e
// > sub_10092F790 @ 0x10092f850
// > sub_100931770 @ 0x1009317a0
// > sub_100932C10 @ 0x100932c42
// > ThreadViewPopup::threadSendFailed @ 0x1009347ae
// > sub_10093CF30 @ 0x10093cf4c
// > FriendPickerPopup::textChanged @ 0x10093da9b
// > sub_10093EE20 @ 0x10093eeb6
// > sub_10093F1B0 @ 0x10093f29c
// > LevelPickerPopup::textChanged @ 0x100940311
// > NewThreadPopup::onSend @ 0x100945c87
// > NewThreadPopup::onSend @ 0x100945d48
// > NewThreadPopup::applyMode @ 0x100946ea0
// > NewThreadPopup::textChanged @ 0x100947661
// > NewThreadPopup::textChanged @ 0x100947685
// > sub_100947980 @ 0x1009479ae
// > NewThreadPopup::threadSendFinished @ 0x100948803
// > NewThreadPopup::threadSendFinished @ 0x100948861
// > InvitesPopup::textChanged @ 0x10094e3f4
// > sub_10094F9E0 @ 0x10094f9fc
// > sub_100951350 @ 0x100951377
// > sub_100951820 @ 0x100951859
// > sub_100951820 @ 0x1009518cd
// > sub_100951820 @ 0x10095198a
// > sub_100951AB0 @ 0x100951adb
// > sub_100951AB0 @ 0x100951b57
// > sub_100951AB0 @ 0x100951c07
// > sub_100951D50 @ 0x100951d6d
// > ThreadSearchPopup::textChanged @ 0x100951deb
// > ThreadSearchPopup::textChanged @ 0x100951e92
// > sub_100952E80 @ 0x100952ea2
// > ThreadDescPopup::textChanged @ 0x1009533a1
// > sub_100973C70 @ 0x100973c91
// > AutoBackupPopup::textChanged @ 0x100980e27
// > MoveStepPopup::textChanged @ 0x10098dd66
// > sub_100994150 @ 0x10099417a
// > sub_1009A58B0 @ 0x1009a58d0
//
// 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 12:19:44 +0000
//
_QWORD *__fastcall CCTextInputNode::getString(_QWORD *a1, __int64 a2)
{
const char *v2; // r15
size_t v3; // rax
size_t v4; // r14
void *v5; // r12
size_t v6; // r13
v2 = (const char *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a2 + 576) + 1248LL))(*(_QWORD *)(a2 + 576));
v3 = strlen(v2);
if ( v3 >= 0xFFFFFFFFFFFFFFF8LL )
sub_100003630();
v4 = v3;
if ( v3 >= 0x17 )
{
v6 = 26;
if ( (v3 | 7) != 0x17 )
v6 = (v3 | 7) + 1;
v5 = operator new(v6);
a1[2] = v5;
*a1 = v6 + 1;
a1[1] = v4;
}
else
{
*(_BYTE *)a1 = 2 * v3;
v5 = (char *)a1 + 1;
if ( !v3 )
goto LABEL_9;
}
memmove(v5, v2, v4);
LABEL_9:
*((_BYTE *)v5 + v4) = 0;
return a1;
}