//
// CCTextInputNode::create from 0x140054260 to 0x140054507 (679 bytes)
//
// 75 xrefs:
// > GameToolbox::createInputNode @ 0x1400708e9
// > AccountRegisterLayer::createTextInput @ 0x14008dcd3
// > AccountLoginLayer::createTextInput @ 0x1400916a1
// > SFXFolderPickerPopup::init @ 0x1400c44d1
// > AutoBackupPopup::init @ 0x1400c9cc8
// > ThreadViewPopup::init @ 0x1400da250
// > NewThreadPopup::init @ 0x1400eff5a
// > ThreadSearchPopup::init @ 0x1400fb603
// > ThreadDescPopup::buildUI @ 0x1400fcc0c
// > DeathStatsPopup::init @ 0x14011e7ed
// > DeathStatsPopup::init @ 0x14011ea9b
// > ColorSelectPopup::init @ 0x140127059
// > ColorSelectPopup::init @ 0x140128413
// > ColorSelectPopup::init @ 0x1401289c2
// > ColorSelectPopup::init @ 0x14012911a
// > ConfigureHSVWidget::createTextInputNode @ 0x1401305c8
// > ConfigureValuePopup::init @ 0x14013206d
// > CreateGuidelinesLayer::init @ 0x140133947
// > CustomizeObjectLayer::init @ 0x1401406ff
// > CustomizeObjectLayer::init @ 0x1401413ac
// > CustomSongLayer::init @ 0x140164585
// > SongOptionsLayer::init @ 0x140165e58
// > EditLevelLayer::init @ 0x1401789eb
// > EditLevelLayer::init @ 0x140178ce0
// > EditorSoundConfigInfoLayer::init @ 0x140192359
// > SoundPackDescPopup::init @ 0x14019951d
// > EditorSoundsLayer::init @ 0x14019d0e6
// > GJRotationControl::init @ 0x1401a22b9
// > GJScaleControl::createScaleInput @ 0x1401a4725
// > GJGarageLayer::init @ 0x14037bbc0
// > SocialLinksPopup::init @ 0x14039fb41
// > SetIDPopup::init @ 0x1403a5a16
// > SetTextPopup::init @ 0x1403a77b6
// > SetTextPopup::init @ 0x1403a78a8
// > IDNameBrowserPopup::init @ 0x1403c1c19
// > IDNameBrowserPopup::init @ 0x1403c22fe
// > IDNameBrowserPopup::init @ 0x1403c2750
// > IDNameInput::initCore @ 0x1403c7e59
// > KeybindingsLayer::init @ 0x1403d5be3
// > LevelListLayer::init @ 0x14042bbc5
// > LevelSearchLayer::init @ 0x140434c45
// > MoreSearchLayer::init @ 0x14043d2c7
// > LevelSettingsLayer::init @ 0x14045979a
// > LevelSettingsLayer::init @ 0x140459a58
// > LoadingLayer::loadAssets @ 0x140469fdc
// > MusicBrowser::init @ 0x14047aaf4
// > OptionsScrollLayer::init @ 0x14047ea20
// > MoreVideoOptionsLayer::init @ 0x1404cee52
// > SecretLayer::init @ 0x1405735d0
// > SecretLayer2::init @ 0x140578a36
// > SecretLayer4::init @ 0x140585ebb
// > SecretLayer5::init @ 0x140589c6c
// > SetGroupIDLayer::createTextInput @ 0x140590ebf
// > SetupAnimationPopup::init @ 0x1405a0ea3
// > SetupCameraOffsetTrigger::init @ 0x1405acd89
// > SetupCameraOffsetTrigger::init @ 0x1405ad630
// > SetupInstantCountPopup::init @ 0x1405b7f02
// > SetupMGTrigger::init @ 0x1405bcd64
// > SetupMGTrigger::init @ 0x1405bd5d0
// > SetupOpacityPopup::init @ 0x1405c034e
// > CreateParticlePopup::createParticleSlider @ 0x1405c6225
// > SetupPulsePopup::init @ 0x1405cd43e
// > SetupPulsePopup::init @ 0x1405cd8e5
// > SetupPulsePopup::init @ 0x1405cdd6e
// > SetupPulsePopup::init @ 0x1405cf8eb
// > SetupPulsePopup::init @ 0x1405cfd15
// > SetupRandAdvTriggerPopup::init @ 0x1405d30e3
// > SetupRandTriggerPopup::init @ 0x1405d5672
// > SetupShakePopup::init @ 0x1405eaed4
// > SetupSmartTemplateLayer::init @ 0x1405eeb0f
// > SetupTriggerPopup::createValueControlAdvanced_1 @ 0x14060dbb5
// > SFXBrowser::init @ 0x140617b2d
// > ShareCommentLayer::init @ 0x14062eddc
// > ??> @ 0x140910238
// > ??> @ 0x140910244
//
// 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:39 +0000
//
// Hidden C++ exception states: #wind=6
char *__fastcall CCTextInputNode::create(__int64 a1, __int64 a2, __int64 a3)
{
char *v4; // r14
__int64 v5; // rdx
__int64 v6; // r8
v4 = (char *)operator new(0x2D8u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v4);
cocos2d::CCIMEDelegate::CCIMEDelegate((cocos2d::CCIMEDelegate *)(v4 + 408));
cocos2d::CCTextFieldDelegate::CCTextFieldDelegate((cocos2d::CCTextFieldDelegate *)(v4 + 416));
*(_QWORD *)v4 = &CCTextInputNode::`vftable';
*((_QWORD *)v4 + 40) = &CCTextInputNode::`vftable';
*((_QWORD *)v4 + 41) = &CCTextInputNode::`vftable';
*((_QWORD *)v4 + 42) = &CCTextInputNode::`vftable';
*((_QWORD *)v4 + 43) = &CCTextInputNode::`vftable';
*((_QWORD *)v4 + 44) = &CCTextInputNode::`vftable';
*((_QWORD *)v4 + 51) = &CCTextInputNode::`vftable';
*((_QWORD *)v4 + 52) = &CCTextInputNode::`vftable';
v4[424] = 0;
*((_OWORD *)v4 + 27) = 0;
*((_QWORD *)v4 + 56) = 0;
*((_QWORD *)v4 + 57) = 15;
v4[432] = 0;
*((_DWORD *)v4 + 116) = 0;
*((_WORD *)v4 + 234) = 0;
*((_DWORD *)v4 + 118) = -1090519040;
*((_DWORD *)v4 + 119) = 1090519040;
*((_OWORD *)v4 + 30) = 0;
*((_QWORD *)v4 + 62) = 0;
*((_QWORD *)v4 + 63) = 15;
v4[480] = 0;
*((_QWORD *)v4 + 64) = 0;
*((_DWORD *)v4 + 130) = 0;
*((_QWORD *)v4 + 66) = 0;
*((_QWORD *)v4 + 67) = 0;
*((_QWORD *)v4 + 68) = 0;
*((_QWORD *)v4 + 69) = 0;
*((_QWORD *)v4 + 70) = 0;
*((_DWORD *)v4 + 142) = 0;
*((_QWORD *)v4 + 73) = 0;
*((_QWORD *)v4 + 74) = 0;
*((_QWORD *)v4 + 75) = 0;
*((_DWORD *)v4 + 152) = 0;
*((_QWORD *)v4 + 77) = 0;
*((_WORD *)v4 + 312) = 0;
v4[626] = 0;
*((_QWORD *)v4 + 79) = 0;
*((_WORD *)v4 + 320) = 0;
v4[642] = 1;
cocos2d::CCSize::CCSize((cocos2d::CCSize *)(v4 + 644));
*((_QWORD *)v4 + 82) = 0;
*((_DWORD *)v4 + 166) = -1082130432;
*(_QWORD *)(v4 + 668) = 0;
v4[676] = 0;
*((_QWORD *)v4 + 85) = 0;
*((_DWORD *)v4 + 172) = 0;
v4[692] = 0;
*((_QWORD *)v4 + 87) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v4 + 704));
*((_WORD *)v4 + 356) = 0;
*((_DWORD *)v4 + 179) = 0;
*((_DWORD *)v4 + 181) = 0;
if ( (unsigned __int8)CCTextInputNode::init(v4, v5, v6, a3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
return v4;
}
else
{
(*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v4 + 8LL))(v4, 1);
return nullptr;
}
}