//
// CCTextInputNode::create from 0x6c282c to 0x6c2ab0 (644 bytes)
//
// 78 xrefs:
// > GameToolbox::createInputNode @ 0x69d668
// > CreateGuidelinesLayer::init @ 0x6e8da0
// > LoadingLayer::loadAssets @ 0x6ee104
// > MoreSearchLayer::init @ 0x7e193c
// > LevelSearchLayer::init @ 0x7e2b4c
// > EditLevelLayer::init @ 0x7f076c
// > EditLevelLayer::init @ 0x7f14b4
// > ColorSelectPopup::init @ 0x8641e4
// > ColorSelectPopup::init @ 0x864ad0
// > ColorSelectPopup::init @ 0x8651ac
// > ColorSelectPopup::init @ 0x865464
// > GJGarageLayer::init @ 0x8c1cec
// > MoreOptionsLayer::init @ 0x8f87e0
// > ShareCommentLayer::init @ 0x90f090
// > CustomSongLayer::init @ 0x980f64
// > SongOptionsLayer::init @ 0x981ccc
// > CustomizeObjectLayer::init @ 0x985da0
// > CustomizeObjectLayer::init @ 0x986998
// > AccountRegisterLayer::createTextInput @ 0x98f8a0
// > AccountLoginLayer::createTextInput @ 0x990264
// > KeybindingsLayer::init @ 0x9977a8
// > SetIDPopup::init @ 0xa29ef8
// > SetTextPopup::init @ 0xa2fe28
// > SetTextPopup::init @ 0xa30390
// > GJWriteMessagePopup::init @ 0xa32668
// > GJWriteMessagePopup::init @ 0xa32974
// > SocialLinksPopup::init @ 0xa36c38
// > ConfigureHSVWidget::createTextInputNode @ 0xa3ab2c
// > SetupOpacityPopup::init @ 0xa4173c
// > SetupPulsePopup::init @ 0xa46c84
// > SetupPulsePopup::init @ 0xa4703c
// > SetupPulsePopup::init @ 0xa473c8
// > SetupPulsePopup::init @ 0xa4899c
// > SetupPulsePopup::init @ 0xa48cc0
// > SecretLayer::init @ 0xa61b58
// > ConfigureValuePopup::init @ 0xa676a8
// > SecretLayer2::init @ 0xa906f0
// > SecretLayer4::init @ 0xa97294
// > SetupAnimationPopup::init @ 0xa99e08
// > SetupInstantCountPopup::init @ 0xa9f1d0
// > SetupShakePopup::init @ 0xaa204c
// > SetupCameraOffsetTrigger::init @ 0xaaf598
// > SetupCameraOffsetTrigger::init @ 0xaafdf8
// > SetupRandTriggerPopup::init @ 0xab3b10
// > SetGroupIDLayer::createTextInput @ 0xabe9d0
// > SetupCameraRotatePopup::init @ 0xaed95c
// > SetupCameraRotatePopup::init @ 0xaee1e4
// > SetupRandAdvTriggerPopup::init @ 0xaf0664
// > CreateParticlePopup::createParticleSlider @ 0xb002a0
// > SetupSmartTemplateLayer::init @ 0xb16d78
// > SetupTriggerPopup::createValueControlAdvanced @ 0xb1fbdc
// > SetupMGTrigger::init @ 0xb4e638
// > SetupMGTrigger::init @ 0xb4eecc
// > LevelSettingsLayer::init @ 0xb66264
// > LevelSettingsLayer::init @ 0xb664f0
// > sub_B85DD0 @ 0xb86548
// > OptionsScrollLayer::init @ 0xb887e0
// > sub_B947C8 @ 0xb9589c
// > LevelListLayer::init @ 0xbb0340
// > SecretLayer5::init @ 0xbc8330
// > GJScaleControl::createScaleInput @ 0xbd2df0
// > GJRotationControl::init @ 0xbd3efc
// > SFXFolderPickerPopup::init @ 0xc3d048
// > AutoBackupPopup::init @ 0xc5d410
// > ThreadSearchPopup::init @ 0xc6fddc
// > ThreadDescPopup::buildUI @ 0xc79ed8
// > NewThreadPopup::init @ 0xc7e124
// > ThreadViewPopup::init @ 0xc8766c
// > DeathStatsPopup::init @ 0xca7b18
// > DeathStatsPopup::init @ 0xca7da4
// > SoundPackDescPopup::init @ 0xccfde0
// > EditorSoundConfigInfoLayer::init @ 0xcd2328
// > EditorSoundsLayer::init @ 0xcd6ef4
// > IDNameBrowserPopup::init @ 0xce2acc
// > IDNameBrowserPopup::init @ 0xce2ff0
// > IDNameBrowserPopup::init @ 0xce3418
// > IDNameInput::initCore @ 0xce5194
// > ??> @ 0x54d90
//
// This function is hookable on this platform (idp: arm, 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:51:19 +0000
//
__int64 __fastcall CCTextInputNode::create(
CCTextInputNode *this,
float a2,
float a3,
const char *a4,
const char *a5,
char *a6,
const char *a7)
{
int v11; // w24
__int64 v13; // x19
v11 = (int)a5;
v13 = operator new(0x2C8u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v13);
cocos2d::CCIMEDelegate::CCIMEDelegate((cocos2d::CCIMEDelegate *)(v13 + 408));
*(_BYTE *)(v13 + 424) = 0;
*(_QWORD *)(v13 + 320) = off_141FF60;
*(_QWORD *)v13 = &off_141FA80;
*(_QWORD *)(v13 + 336) = off_141FFE8;
*(_QWORD *)(v13 + 328) = &off_141FFD0;
*(_QWORD *)(v13 + 352) = off_1420030;
*(_QWORD *)(v13 + 432) = 0;
*(_QWORD *)(v13 + 344) = off_1420008;
*(_QWORD *)(v13 + 416) = off_14200F0;
*(_QWORD *)(v13 + 408) = off_1420060;
*(_QWORD *)(v13 + 440) = 0;
*(_QWORD *)(v13 + 448) = 0;
*(_BYTE *)(v13 + 460) = 0;
*(float *)(v13 + 464) = -0.5;
*(_BYTE *)(v13 + 461) = 0;
*(_QWORD *)(v13 + 472) = 0;
*(_DWORD *)(v13 + 456) = 0;
*(float *)(v13 + 468) = 8.0;
*(_QWORD *)(v13 + 480) = 0;
*(_QWORD *)(v13 + 488) = 0;
*(_QWORD *)(v13 + 496) = 0;
*(_DWORD *)(v13 + 504) = 0;
*(_QWORD *)(v13 + 512) = 0;
*(_QWORD *)(v13 + 520) = 0;
*(_QWORD *)(v13 + 528) = 0;
*(_QWORD *)(v13 + 536) = 0;
*(_DWORD *)(v13 + 544) = 0;
*(_QWORD *)(v13 + 568) = 0;
*(_DWORD *)(v13 + 548) = 0;
*(_QWORD *)(v13 + 576) = 0;
*(_DWORD *)(v13 + 552) = 0;
*(_QWORD *)(v13 + 584) = 0;
*(_DWORD *)(v13 + 592) = 0;
*(_QWORD *)(v13 + 600) = 0;
*(_BYTE *)(v13 + 608) = 0;
*(_BYTE *)(v13 + 609) = 0;
*(_BYTE *)(v13 + 610) = 0;
*(_QWORD *)(v13 + 616) = 0;
*(_BYTE *)(v13 + 624) = 0;
*(_BYTE *)(v13 + 625) = 0;
*(_BYTE *)(v13 + 626) = 1;
cocos2d::CCSize::CCSize((cocos2d::CCSize *)(v13 + 628));
*(_QWORD *)(v13 + 640) = 0;
*(_BYTE *)(v13 + 660) = 0;
*(_DWORD *)(v13 + 672) = 0;
*(_BYTE *)(v13 + 676) = 0;
*(_QWORD *)(v13 + 680) = 0;
*(float *)(v13 + 648) = -1.0;
*(_DWORD *)(v13 + 652) = 0;
*(_DWORD *)(v13 + 656) = 0;
*(_DWORD *)(v13 + 664) = 0;
*(_DWORD *)(v13 + 668) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v13 + 688));
*(_BYTE *)(v13 + 696) = 0;
*(_BYTE *)(v13 + 697) = 0;
*(_DWORD *)(v13 + 700) = 0;
*(_DWORD *)(v13 + 708) = 0;
if ( (unsigned __int8)CCTextInputNode::init((CCTextInputNode *)v13, a2, a3, (char *)this, a4, v11, a6) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v13);
return v13;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v13 + 16LL))(v13);
return 0;
}
}