// // CCTextInputNode::setAllowedChars from 0x1001fbb48 to 0x1001fbc24 (220 bytes) // // 73 xrefs: // > KeybindingsLayer::init @ 0x1000239dc // > SetupOpacityPopup::init @ 0x100026c5c // > SetupRandAdvTriggerPopup::init @ 0x100032350 // > SetGroupIDLayer::createTextInput @ 0x100040b0c // > SetGroupIDLayer::createTextInput @ 0x100040b38 // > CustomizeObjectLayer::init @ 0x100056bc0 // > CustomizeObjectLayer::init @ 0x1000574f0 // > LevelSearchLayer::init @ 0x10005a490 // > MoreSearchLayer::init @ 0x10005ea68 // > SecretLayer5::init @ 0x10007cc14 // > sub_100084AD4 @ 0x1000852fc // > AccountRegisterLayer::init @ 0x100089b5c // > AccountRegisterLayer::init @ 0x100089d6c // > AccountRegisterLayer::init @ 0x100089eac // > AccountRegisterLayer::init @ 0x100089ff4 // > AccountRegisterLayer::init @ 0x10008a128 // > sub_10008C7D4 @ 0x10008cb9c // > sub_10008C7D4 @ 0x10008ccd4 // > EditLevelLayer::init @ 0x10010f4c4 // > sub_100124500 @ 0x1001246bc // > GJRotationControl::init @ 0x100157194 // > sub_100158300 @ 0x1001583f8 // > SetupTriggerPopup::createValueControlAdvanced_1 @ 0x1001af39c // > SetupTriggerPopup::createValueControlAdvanced_1 @ 0x1001af3c8 // > SetupTriggerPopup::createValueControlAdvanced_1 @ 0x1001af3f4 // > SetupTriggerPopup::createValueControlAdvanced_1 @ 0x1001af420 // > CustomSongLayer::init @ 0x1001c2f2c // > SongOptionsLayer::init @ 0x1001c4004 // > sub_1001CE6A8 @ 0x1001cebd8 // > sub_1001CE6A8 @ 0x1001cec04 // > LevelSettingsLayer::init @ 0x10020c204 // > LevelSettingsLayer::init @ 0x10020c454 // > sub_100221F74 @ 0x1002223bc // > sub_100221F74 @ 0x100222c04 // > sub_100251B2C @ 0x100251f90 // > sub_100261DDC @ 0x10026238c // > ShareCommentLayer::init @ 0x10026d0e0 // > sub_10036D4D8 @ 0x10036d810 // > sub_100375C88 @ 0x100376348 // > SetIDPopup::init @ 0x10037b4c4 // > sub_10037C930 @ 0x10037cf28 // > sub_10038DCA0 @ 0x10038e0e0 // > sub_10038DCA0 @ 0x10038e8b4 // > GJGarageLayer::init @ 0x10039ec54 // > SecretLayer2::init @ 0x1003a6acc // > SecretLayer4::init @ 0x1003f3d60 // > sub_1004500BC @ 0x100450644 // > sub_10045A37C @ 0x10045a794 // > sub_10045A37C @ 0x10045aaf8 // > sub_10045A37C @ 0x10045ae4c // > sub_10045A37C @ 0x10045c2ec // > sub_10045A37C @ 0x10045c668 // > SecretLayer::init @ 0x100464678 // > sub_10046CBBC @ 0x10046d290 // > sub_10049E474 @ 0x10049e90c // > sub_10049E474 @ 0x10049f868 // > sub_10049E474 @ 0x10049fd94 // > sub_10049E474 @ 0x1004a03e0 // > DeathStatsPopup::init @ 0x1004b8524 // > DeathStatsPopup::init @ 0x1004b87a0 // > sub_1004CCFC4 @ 0x1004cd10c // > sub_1004CF9C0 @ 0x1004cfcc4 // > EditorSoundsLayer::init @ 0x1004d7404 // > sub_1004DF904 @ 0x1004dfe60 // > sub_1004DF904 @ 0x1004e0354 // > sub_1004DF904 @ 0x1004e074c // > sub_1004E6D68 @ 0x1004e711c // > sub_100508F28 @ 0x100509a98 // > sub_100510CBC @ 0x100510fec // > ThreadSearchPopup::init @ 0x100511f4c // > sub_100527F18 @ 0x10052852c // > sub_1005401F4 @ 0x100540718 // > sub_10054BC54 @ 0x10054c16c // // 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 11:00:43 +0000 // std::string *__fastcall CCTextInputNode::setAllowedChars(__int64 a1, const std::string *a2) { std::string *result; // x0 int v5; // w8 char v6; // w9 unsigned __int64 v7; // x10 char v8; // w11 unsigned __int64 size; // x13 const std::string *v10; // x13 int v11; // w13 int v12; // w8 result = std::string::operator=((std::string *)(a1 + 472), a2); v5 = *(_DWORD *)(a1 + 700); if ( !v5 ) { v6 = 0; v7 = 0; v8 = 0; while ( 1 ) { size = HIBYTE(a2->__r_.__value_.__r.__words[2]); if ( (*((_BYTE *)&a2->__r_.__value_.__s + 23) & 0x80) != 0 ) size = a2->__r_.__value_.__l.__size_; if ( v7 >= size ) break; v10 = a2; if ( (*((_BYTE *)&a2->__r_.__value_.__s + 23) & 0x80) != 0 ) v10 = (const std::string *)a2->__r_.__value_.__r.__words[0]; v11 = (unsigned __int8)v10->__r_.__value_.__s.__data_[v7]; if ( (unsigned int)(v11 - 48) >= 0xA ) { if ( v11 == 45 ) { LOBYTE(v5) = 1; } else { if ( v11 != 46 ) return result; v6 = 1; } } else { v8 = 1; } ++v7; } if ( (v8 & 1) != 0 ) { if ( (v6 & 1) != 0 ) { *(_DWORD *)(a1 + 700) = 1; if ( *(int *)(a1 + 704) <= 0 ) *(_DWORD *)(a1 + 704) = 2; } else { if ( (v5 & 1) != 0 ) v12 = 2; else v12 = 3; *(_DWORD *)(a1 + 700) = v12; } } } return result; }