// // CCTextInputNode::setAllowedChars from 0x100066ef0 to 0x100066fdb (235 bytes) // // 78 xrefs: // > SetupOpacityPopup::init @ 0x10001cef7 // > CustomizeObjectLayer::init @ 0x1001d84a9 // > CustomizeObjectLayer::init @ 0x1001d8f0d // > EditLevelLayer::init @ 0x1001dd693 // > CustomSongLayer::init @ 0x1001f8c7b // > SongOptionsLayer::init @ 0x1001fa525 // > SetupTriggerPopup::createValueControlAdvanced_1 @ 0x10021f238 // > SetupTriggerPopup::createValueControlAdvanced_1 @ 0x10021f27e // > SetupTriggerPopup::createValueControlAdvanced_1 @ 0x10021f31b // > SetupTriggerPopup::createValueControlAdvanced_1 @ 0x10021f354 // > LevelSettingsLayer::init @ 0x1002571c0 // > LevelSettingsLayer::init @ 0x100257477 // > sub_10028E090 @ 0x10028ea0c // > GJWriteMessagePopup::init @ 0x100295b77 // > GJWriteMessagePopup::init @ 0x100295ec5 // > SetIDPopup::init @ 0x100298592 // > sub_10029AA90 @ 0x10029b18a // > SetGroupIDLayer::createTextInput @ 0x1002ff888 // > SetGroupIDLayer::createTextInput @ 0x1002ff8c7 // > GJGarageLayer::init @ 0x100352b1d // > SetupRandAdvTriggerPopup::init @ 0x100378cee // > SetupPulsePopup::init @ 0x100393ea9 // > SetupPulsePopup::init @ 0x1003942b9 // > SetupPulsePopup::init @ 0x1003946b0 // > SetupPulsePopup::init @ 0x100395fe7 // > SetupPulsePopup::init @ 0x1003963b5 // > SecretLayer4::init @ 0x10039a826 // > sub_1003BDEC0 @ 0x1003be6f3 // > ConfigureHSVWidget::createTextInputNode @ 0x10041dc96 // > CreateParticlePopup::createParticleSlider @ 0x100468529 // > SecretLayer5::init @ 0x10046efe1 // > AccountRegisterLayer::init @ 0x10048ca8d // > AccountRegisterLayer::init @ 0x10048cd65 // > AccountRegisterLayer::init @ 0x10048cf5f // > AccountRegisterLayer::init @ 0x10048d1c0 // > AccountRegisterLayer::init @ 0x10048d427 // > AccountLoginLayer::init @ 0x100491703 // > AccountLoginLayer::init @ 0x100491aa7 // > SecretLayer2::init @ 0x10049690c // > sub_1004B59F0 @ 0x1004b5ed8 // > sub_1004B59F0 @ 0x1004b671b // > sub_100509EF0 @ 0x10050a3e0 // > sub_100509EF0 @ 0x10050ac42 // > CreateGuidelinesLayer::init @ 0x10050d2c8 // > GJRotationControl::init @ 0x100640a7f // > sub_100642070 @ 0x100642169 // > ShareCommentLayer::init @ 0x1006b20d7 // > SetupRandTriggerPopup::init @ 0x1006b94bd // > SetupInstantCountPopup::init @ 0x1006bc598 // > SecretLayer::init @ 0x1006d2168 // > KeybindingsLayer::init @ 0x1006e1ad9 // > ConfigureValuePopup::init @ 0x1007017a9 // > ConfigureValuePopup::init @ 0x1007017e6 // > LevelSearchLayer::init @ 0x100704d14 // > MoreSearchLayer::init @ 0x10070ad6a // > SetupCameraOffsetTrigger::init @ 0x100740fd3 // > SetupCameraOffsetTrigger::init @ 0x1007418ea // > SetupShakePopup::init @ 0x100743ca0 // > ColorSelectPopup::init @ 0x10080418c // > ColorSelectPopup::init @ 0x1008053fc // > ColorSelectPopup::init @ 0x10080597f // > ColorSelectPopup::init @ 0x1008060ec // > MoreOptionsLayer::init @ 0x10087d9f0 // > sub_1008C8B30 @ 0x1008c8f1b // > sub_1008C8B30 @ 0x1008c91c7 // > sub_1008F0380 @ 0x1008f0568 // > sub_1008F3770 @ 0x1008f5416 // > sub_1008FD5B0 @ 0x1008fd994 // > IDNameBrowserPopup::init @ 0x100909baf // > IDNameBrowserPopup::init @ 0x10090a163 // > IDNameBrowserPopup::init @ 0x10090a5c6 // > IDNameInput::initCore @ 0x100913a0c // > NewThreadPopup::init @ 0x100944e9a // > sub_10094F400 @ 0x10094f7c5 // > ThreadSearchPopup::init @ 0x100950fa7 // > SFXFolderPickerPopup::init @ 0x100971e2a // > sub_100993790 @ 0x100993f26 // > sub_1009A4C50 @ 0x1009a5308 // // 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 12:19:43 +0000 // unsigned __int8 __fastcall CCTextInputNode::setAllowedChars(__int64 a1, const std::string *a2) { unsigned __int8 result; // al std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0 v4; // cl char v5; // di std::string::size_type v6; // r8 char v7; // r9 std::string::size_type size; // r10 std::string::pointer data; // r10 int v10; // r10d result = (unsigned __int8)std::string::operator=((std::string *)(a1 + 472), a2); if ( !*(_DWORD *)(a1 + 700) ) { v4 = a2->__r_.__value_.__s.0; result = 0; v5 = 0; v6 = 0; v7 = 0; while ( 1 ) { size = *(_BYTE *)&a2->__r_.__value_.__l.0 >> 1; if ( (*(_BYTE *)&v4 & 1) != 0 ) size = a2->__r_.__value_.__l.__size_; if ( v6 >= size ) break; data = a2->__r_.__value_.__s.__data_; if ( (*(_BYTE *)&v4 & 1) != 0 ) data = a2->__r_.__value_.__l.__data_; v10 = (unsigned __int8)data[v6]; if ( (unsigned __int8)(v10 - 48) < 0xAu ) { v7 = 1; ++v6; } else if ( v10 == 45 ) { result = 1; ++v6; } else { if ( v10 != 46 ) return result; v5 = 1; ++v6; } } if ( (v7 & 1) != 0 ) { if ( (v5 & 1) != 0 ) { *(_DWORD *)(a1 + 700) = 1; if ( *(int *)(a1 + 704) <= 0 ) *(_DWORD *)(a1 + 704) = 2; } else if ( (result & 1) != 0 ) { *(_DWORD *)(a1 + 700) = 2; } else { *(_DWORD *)(a1 + 700) = 3; } } } return result; }