//
// CCTextInputNode::create from 0x10009df70 to 0x10009e0f6 (390 bytes)
//
// 77 xrefs:
// > GJRotateCommandLayer::init @ 0x100001b57
// > GJRotateCommandLayer::init @ 0x100002492
// > GJRotateCommandLayer::init @ 0x100002c7a
// > SetupOpacityPopup::init @ 0x100057482
// > SetupOpacityPopup::init @ 0x1000578d0
// > CustomizeObjectLayer::init @ 0x1001f6041
// > CustomizeObjectLayer::init @ 0x1001f6a5b
// > EditLevelLayer::init @ 0x1001faca7
// > EditLevelLayer::init @ 0x1001fafb4
// > CustomSongLayer::init @ 0x100215560
// > SongOptionsLayer::init @ 0x100216dfc
// > SetupTriggerPopup::createValueControlAdvanced @ 0x100239edd
// > LevelSettingsLayer::init @ 0x10026d188
// > LevelSettingsLayer::init @ 0x10026d43f
// > CollisionBlockPopup::init @ 0x100286293
// > GJAccountSettingsLayer::init @ 0x1002a0ba1
// > GJWriteMessagePopup::init @ 0x1002a932b
// > GJWriteMessagePopup::init @ 0x1002a967d
// > SetIDPopup::init @ 0x1002abf16
// > SetTextPopup::init @ 0x1002aef5e
// > SetupTouchTogglePopup::init @ 0x1002b8acf
// > SetupCountTriggerPopup::init @ 0x1002bba4e
// > GJFollowCommandLayer::init @ 0x1002d56e1
// > GJFollowCommandLayer::init @ 0x1002d5b18
// > GJFollowCommandLayer::init @ 0x1002d5fbc
// > SetGroupIDLayer::createTextInput @ 0x100314e5c
// > LevelListLayer::init @ 0x10035d68a
// > GJPFollowCommandLayer::init @ 0x100364dde
// > GJPFollowCommandLayer::init @ 0x100365236
// > GJPFollowCommandLayer::init @ 0x1003655c9
// > GJPFollowCommandLayer::init @ 0x1003659de
// > GJPFollowCommandLayer::init @ 0x100365c84
// > GJGarageLayer::init @ 0x1003695e3
// > SetupRandAdvTriggerPopup::init @ 0x10038e11b
// > SetupCollisionTriggerPopup::init @ 0x10039593a
// > LoadingLayer::loadAssets @ 0x1003a303f
// > SetupPulsePopup::init @ 0x1003aa68c
// > SetupPulsePopup::init @ 0x1003aaa7f
// > SetupPulsePopup::init @ 0x1003aae74
// > SetupPulsePopup::init @ 0x1003ab4a7
// > SetupPulsePopup::init @ 0x1003ac9ea
// > SetupPulsePopup::init @ 0x1003acdc6
// > SecretLayer4::init @ 0x1003b1313
// > SetupAnimationPopup::init @ 0x1003d4f79
// > SetupGravityModPopup::init @ 0x1003d8a9d
// > ConfigureHSVWidget::createTextInputNode @ 0x10043088f
// > CreateParticlePopup::createParticleSlider @ 0x100473e67
// > SecretLayer5::init @ 0x10047a574
// > AccountRegisterLayer::createTextInput @ 0x100497144
// > AccountLoginLayer::init @ 0x1004992fe
// > AccountLoginLayer::init @ 0x1004996f6
// > AccountLoginLayer::createTextInput @ 0x10049a0be
// > SecretLayer2::init @ 0x10049d833
// > SetupCameraRotatePopup::init @ 0x1004bcdfc
// > SetupCameraRotatePopup::init @ 0x1004bd662
// > SetupSmartTemplateLayer::init @ 0x1004e7fe6
// > SetupMGTrigger::init @ 0x100508a74
// > SetupMGTrigger::init @ 0x1005092dc
// > CreateGuidelinesLayer::init @ 0x10050bbe5
// > SetupCameraEdgePopup::init @ 0x1005884bb
// > ShareCommentLayer::init @ 0x1005e06e7
// > SetupRandTriggerPopup::init @ 0x1005e5815
// > SetupRandTriggerPopup::init @ 0x1005e5c75
// > SetupInstantCountPopup::init @ 0x1005e918a
// > SecretLayer::init @ 0x1005fb274
// > ConfigureValuePopup::init @ 0x100624e39
// > LevelSearchLayer::init @ 0x1006281eb
// > MoreSearchLayer::init @ 0x10062df44
// > SetupCameraOffsetTrigger::init @ 0x1006619e8
// > SetupCameraOffsetTrigger::init @ 0x10066230e
// > SetupShakePopup::init @ 0x1006647e2
// > SetupEndPopup::init @ 0x100668f88
// > ColorSelectPopup::init @ 0x1007252c1
// > ColorSelectPopup::init @ 0x100726541
// > ColorSelectPopup::init @ 0x100726ac4
// > ColorSelectPopup::init @ 0x10072724d
// > MoreOptionsLayer::init @ 0x10079c611
//
// 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
//
CCTextInputNode *__fastcall CCTextInputNode::create(
float a1,
float a2,
const char *a3,
const char *a4,
int a5,
const char *a6)
{
char *v8; // rbx
v8 = (char *)operator new(0x258u);
cocos2d::CCLayer::CCLayer(v8);
cocos2d::CCIMEDelegate::CCIMEDelegate(v8 + 408);
*(_QWORD *)v8 = off_1008B6780;
*((_QWORD *)v8 + 40) = off_1008B6C38;
*((_QWORD *)v8 + 41) = &off_1008B6CA8;
*((_QWORD *)v8 + 42) = off_1008B6CC0;
*((_QWORD *)v8 + 43) = off_1008B6CE0;
*((_QWORD *)v8 + 44) = off_1008B6D00;
*((_QWORD *)v8 + 51) = off_1008B6D28;
*((_QWORD *)v8 + 52) = off_1008B6DB8;
v8[424] = 0;
*((_OWORD *)v8 + 27) = 0;
*(_OWORD *)(v8 + 446) = 0;
*((_QWORD *)v8 + 58) = 0x41000000BF000000LL;
v8[472] = 0;
*((_QWORD *)v8 + 72) = 0;
*((_DWORD *)v8 + 146) = 0;
*((_DWORD *)v8 + 148) = 0;
*((_OWORD *)v8 + 30) = 0;
*((_OWORD *)v8 + 31) = 0;
*((_DWORD *)v8 + 128) = 0;
*(_OWORD *)(v8 + 540) = 0;
*((_OWORD *)v8 + 33) = 0;
*((_QWORD *)v8 + 70) = 0;
*(_DWORD *)(v8 + 567) = 0;
if ( CCTextInputNode::init((CCTextInputNode *)v8, a1, a2, a3, a4, a5, a6) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v8);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v8 + 16LL))(v8);
return nullptr;
}
return (CCTextInputNode *)v8;
}