//
// CCTextInputNode::create from 0x14004f160 to 0x14004f364 (516 bytes)
//
// 71 xrefs:
// > AccountRegisterLayer::createTextInput @ 0x140079bfb
// > AccountLoginLayer::createTextInput @ 0x14007c6d9
// > CollisionBlockPopup::init @ 0x14008b104
// > ColorSelectPopup::init @ 0x14008e1ca
// > ColorSelectPopup::init @ 0x14008f4cb
// > ColorSelectPopup::init @ 0x14008fa5e
// > ColorSelectPopup::init @ 0x1400901c1
// > ConfigureHSVWidget::createTextInputNode @ 0x1400974da
// > ConfigureValuePopup::init @ 0x140098b32
// > CreateGuidelinesLayer::init @ 0x14009a35b
// > CustomizeObjectLayer::init @ 0x1400a66a7
// > CustomizeObjectLayer::init @ 0x1400a7338
// > CustomSongLayer::init @ 0x1400c34dd
// > SongOptionsLayer::init @ 0x1400c4d29
// > EditLevelLayer::init @ 0x1400d5978
// > EditLevelLayer::init @ 0x1400d5c51
// > GJFollowCommandLayer::init @ 0x140270c10
// > GJFollowCommandLayer::init @ 0x140271077
// > GJFollowCommandLayer::init @ 0x1402716cb
// > GJGarageLayer::init @ 0x14027343e
// > GJPFollowCommandLayer::init @ 0x14028acff
// > GJPFollowCommandLayer::init @ 0x14028b166
// > GJPFollowCommandLayer::init @ 0x14028b648
// > GJPFollowCommandLayer::init @ 0x14028bae9
// > GJPFollowCommandLayer::init @ 0x14028bdbe
// > GJAccountSettingsLayer::init @ 0x140293583
// > GJWriteMessagePopup::init @ 0x140299943
// > GJWriteMessagePopup::init @ 0x140299cdd
// > SetIDPopup::init @ 0x14029b82a
// > SetTextPopup::init @ 0x14029d49b
// > LevelListLayer::init @ 0x140303ee5
// > LevelSearchLayer::init @ 0x14030c940
// > MoreSearchLayer::init @ 0x140314451
// > LevelSettingsLayer::init @ 0x1403205d8
// > LevelSettingsLayer::init @ 0x14032088d
// > LoadingLayer::loadAssets @ 0x14032f3df
// > MoreOptionsLayer::init @ 0x140374610
// > MoreVideoOptionsLayer::init @ 0x140379105
// > SecretLayer::init @ 0x1403ddaae
// > SecretLayer2::init @ 0x1403e2e66
// > SecretLayer4::init @ 0x1403f05e2
// > SecretLayer5::init @ 0x1403f45e2
// > SetGroupIDLayer::createTextInput @ 0x1403fad7f
// > SetupAnimationPopup::init @ 0x1404097f4
// > SetupCameraEdgePopup::init @ 0x140413178
// > SetupCameraOffsetTrigger::init @ 0x140415940
// > SetupCameraOffsetTrigger::init @ 0x1404161d9
// > SetupCollisionTriggerPopup::init @ 0x140418bdc
// > SetupCountTriggerPopup::init @ 0x14041b85f
// > SetupEndPopup::init @ 0x14041d082
// > SetupInstantCountPopup::init @ 0x140422c82
// > SetupMGTrigger::init @ 0x140427721
// > SetupMGTrigger::init @ 0x140427f7c
// > SetupOpacityPopup::init @ 0x14042aae6
// > SetupOpacityPopup::init @ 0x14042af48
// > CreateParticlePopup::createParticleSlider @ 0x140430bd1
// > SetupPulsePopup::init @ 0x140437b31
// > SetupPulsePopup::init @ 0x140437fb8
// > SetupPulsePopup::init @ 0x140438425
// > SetupPulsePopup::init @ 0x140438b6c
// > SetupPulsePopup::init @ 0x14043a018
// > SetupPulsePopup::init @ 0x14043a457
// > SetupRandAdvTriggerPopup::init @ 0x14043d8d8
// > SetupRandTriggerPopup::init @ 0x1404400cf
// > SetupRandTriggerPopup::init @ 0x140440505
// > SetupShakePopup::init @ 0x140455603
// > SetupSmartTemplateLayer::init @ 0x140459140
// > SetupTouchTogglePopup::init @ 0x140464219
// > SetupTriggerPopup::createValueControlAdvanced @ 0x14047640f
// > ShareCommentLayer::init @ 0x14048dd5f
// > ??> @ 0x1406c4c68
//
// 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=2
CCTextInputNode *CCTextInputNode::create(float a1, float a2, const char *a3, const char *a4, int a5, const char *a6)
{
char *v7; // r14
const char *v9; // [rsp+20h] [rbp-48h]
int v10; // [rsp+28h] [rbp-40h]
v7 = (char *)operator new(0x268u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v7);
cocos2d::CCIMEDelegate::CCIMEDelegate((cocos2d::CCIMEDelegate *)v7 + 51);
cocos2d::CCTextFieldDelegate::CCTextFieldDelegate((cocos2d::CCTextFieldDelegate *)v7 + 52);
*(_QWORD *)v7 = &CCTextInputNode::`vftable';
*((_QWORD *)v7 + 40) = &CCTextInputNode::`vftable';
*((_QWORD *)v7 + 41) = &CCTextInputNode::`vftable';
*((_QWORD *)v7 + 42) = &CCTextInputNode::`vftable';
*((_QWORD *)v7 + 43) = &CCTextInputNode::`vftable';
*((_QWORD *)v7 + 44) = &CCTextInputNode::`vftable';
*((_QWORD *)v7 + 51) = &CCTextInputNode::`vftable';
*((_QWORD *)v7 + 52) = &CCTextInputNode::`vftable';
v7[424] = 0;
*((_OWORD *)v7 + 27) = 0;
*((_QWORD *)v7 + 56) = 0;
*((_QWORD *)v7 + 57) = 15;
v7[432] = 0;
*((_DWORD *)v7 + 116) = 0;
*((_WORD *)v7 + 234) = 0;
*((_DWORD *)v7 + 118) = -1090519040;
*((_DWORD *)v7 + 119) = 1090519040;
v7[480] = 0;
*(_OWORD *)(v7 + 488) = 0;
*((_QWORD *)v7 + 63) = 0;
*((_QWORD *)v7 + 64) = 15;
v7[488] = 0;
*((_QWORD *)v7 + 65) = 0;
*((_DWORD *)v7 + 132) = 0;
*((_QWORD *)v7 + 68) = 0;
*((_QWORD *)v7 + 69) = 0;
*((_QWORD *)v7 + 70) = 0;
*((_DWORD *)v7 + 142) = 0;
*((_QWORD *)v7 + 72) = 0;
*((_WORD *)v7 + 292) = 0;
v7[586] = 0;
*((_QWORD *)v7 + 74) = 0;
*((_DWORD *)v7 + 150) = 0;
*((_DWORD *)v7 + 152) = 0;
if ( CCTextInputNode::init((CCTextInputNode *)v7, a1, a2, a3, v9, v10, a6) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v7);
return (CCTextInputNode *)v7;
}
else
{
(*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v7 + 8LL))(v7, 1);
return nullptr;
}
}