//
// CCTextInputNode::create from 0x3e2b58 to 0x3e2d0a (434 bytes)
//
// 77 xrefs:
// > GameToolbox::createInputNode @ 0x3cdfaa
// > CreateGuidelinesLayer::init @ 0x3f8750
// > LoadingLayer::loadAssets @ 0x3fbee0
// > MoreSearchLayer::init @ 0x497c3a
// > LevelSearchLayer::init @ 0x498708
// > EditLevelLayer::init @ 0x4a13ac
// > EditLevelLayer::init @ 0x4a1ca0
// > ColorSelectPopup::init @ 0x4dfe1a
// > ColorSelectPopup::init @ 0x4e0bd0
// > ColorSelectPopup::init @ 0x4e1002
// > ColorSelectPopup::init @ 0x4e150e
// > GJGarageLayer::init @ 0x510182
// > MoreOptionsLayer::init @ 0x533842
// > ShareCommentLayer::init @ 0x541c8c
// > CustomSongLayer::init @ 0x57c8d6
// > SongOptionsLayer::init @ 0x57d4aa
// > CustomizeObjectLayer::init @ 0x5801c2
// > CustomizeObjectLayer::init @ 0x5808f0
// > AccountRegisterLayer::createTextInput @ 0x585d06
// > AccountLoginLayer::createTextInput @ 0x586404
// > KeybindingsLayer::init @ 0x58aa72
// > SetIDPopup::init @ 0x5da984
// > SetTextPopup::init @ 0x5de576
// > SetTextPopup::init @ 0x5de684
// > GJWriteMessagePopup::init @ 0x5dfb3a
// > GJWriteMessagePopup::init @ 0x5dfdc2
// > SocialLinksPopup::init @ 0x5e2bf8
// > ConfigureHSVWidget::createTextInputNode @ 0x5e511a
// > SetupOpacityPopup::init @ 0x5e9bbe
// > SetupPulsePopup::init @ 0x5ed3a2
// > SetupPulsePopup::init @ 0x5ed678
// > SetupPulsePopup::init @ 0x5ed954
// > SetupPulsePopup::init @ 0x5eeb18
// > SetupPulsePopup::init @ 0x5eedfa
// > SecretLayer::init @ 0x5fef92
// > ConfigureValuePopup::init @ 0x602fd6
// > SecretLayer2::init @ 0x61f6d0
// > SecretLayer4::init @ 0x622f9c
// > SetupAnimationPopup::init @ 0x624bb6
// > SetupInstantCountPopup::init @ 0x62801a
// > SetupShakePopup::init @ 0x62a09c
// > SetupCameraOffsetTrigger::init @ 0x633126
// > SetupCameraOffsetTrigger::init @ 0x6337ac
// > SetupRandTriggerPopup::init @ 0x6362a0
// > SetGroupIDLayer::createTextInput @ 0x63ce00
// > SetupCameraRotatePopup::init @ 0x65a906
// > SetupCameraRotatePopup::init @ 0x65af4c
// > SetupRandAdvTriggerPopup::init @ 0x65c486
// > CreateParticlePopup::createParticleSlider @ 0x666e6a
// > SetupSmartTemplateLayer::init @ 0x674588
// > SetupTriggerPopup::createValueControlAdvanced @ 0x67a6c0
// > SetupMGTrigger::init @ 0x69ae82
// > SetupMGTrigger::init @ 0x69b4ba
// > LevelSettingsLayer::init @ 0x6ac5aa
// > LevelSettingsLayer::init @ 0x6ac7ce
// > sub_6BEA10 @ 0x6befc8
// > OptionsScrollLayer::init @ 0x6c05c8
// > sub_6C6B24 @ 0x6c78b0
// > LevelListLayer::init @ 0x6d963c
// > SecretLayer5::init @ 0x6e5e68
// > GJScaleControl::createScaleInput @ 0x6ee78a
// > GJRotationControl::init @ 0x6ef266
// > SFXFolderPickerPopup::init @ 0x7306aa
// > AutoBackupPopup::init @ 0x74228a
// > ThreadSearchPopup::init @ 0x74e612
// > ThreadDescPopup::buildUI @ 0x75408a
// > NewThreadPopup::init @ 0x756c50
// > ThreadViewPopup::init @ 0x75cb30
// > DeathStatsPopup::init @ 0x76f4c4
// > DeathStatsPopup::init @ 0x76f708
// > SoundPackDescPopup::init @ 0x7867ba
// > EditorSoundConfigInfoLayer::init @ 0x787476
// > EditorSoundsLayer::init @ 0x78ade4
// > IDNameBrowserPopup::init @ 0x79279c
// > IDNameBrowserPopup::init @ 0x792be2
// > IDNameBrowserPopup::init @ 0x792f12
// > IDNameInput::initCore @ 0x7940aa
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:47:02 +0000
//
int *__fastcall CCTextInputNode::create(
CCTextInputNode *this,
float a2,
char *a3,
const char *a4,
const char *a5,
char *a6,
const char *a7)
{
int *v11; // r4
int v12; // r3
int *v13; // r0
v11 = (int *)operator new(0x204u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v11);
cocos2d::CCIMEDelegate::CCIMEDelegate((cocos2d::CCIMEDelegate *)(v11 + 79));
v11[87] = -1090519040;
v11[88] = 1090519040;
*v11 = (int)&off_C89790;
v11[66] = (int)&off_C89A00;
v11[67] = (int)&off_C89A38;
v11[68] = (int)&off_C89A44;
v11[69] = (int)&off_C89A54;
v11[70] = (int)&off_C89A68;
v11[79] = (int)&off_C89A80;
v11[80] = (int)&off_C89AC8;
v11[85] = 0;
*((_BYTE *)v11 + 324) = 0;
v11[82] = 0;
v11[83] = 0;
v11[84] = 0;
*((_BYTE *)v11 + 344) = 0;
*((_BYTE *)v11 + 345) = 0;
v11[89] = 0;
v11[90] = 0;
v11[91] = 0;
v11[92] = 0;
v11[93] = 0;
v11[94] = 0;
v11[95] = 0;
v11[96] = 0;
v11[97] = 0;
v11[98] = 0;
v11[99] = 0;
v11[100] = 0;
v11[103] = 0;
v11[104] = 0;
v11[105] = 0;
v11[106] = 0;
v11[107] = 0;
*((_BYTE *)v11 + 432) = 0;
*((_BYTE *)v11 + 433) = 0;
*((_BYTE *)v11 + 434) = 0;
v11[109] = 0;
*((_BYTE *)v11 + 440) = 0;
*((_BYTE *)v11 + 441) = 0;
*((_BYTE *)v11 + 442) = 1;
cocos2d::CCSize::CCSize((cocos2d::CCSize *)(v11 + 111));
v11[113] = 0;
v11[115] = 0;
v11[114] = -1082130432;
v11[116] = 0;
*((_BYTE *)v11 + 468) = 0;
v11[118] = 0;
v11[119] = 0;
v11[120] = 0;
*((_BYTE *)v11 + 484) = 0;
v11[122] = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v11 + 123));
*((_BYTE *)v11 + 500) = 0;
*((_BYTE *)v11 + 501) = 0;
v11[126] = 0;
v11[128] = 0;
if ( CCTextInputNode::init((CCTextInputNode *)v11, *(float *)&this, a2, a3, a4, (int)a5, a6) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v11);
}
else
{
v12 = *v11;
v13 = v11;
v11 = nullptr;
(*(void (__fastcall **)(int *))(v12 + 8))(v13);
}
return v11;
}