// // CCTextInputNode::setAllowedChars from 0x6c2ab0 to 0x6c2be0 (304 bytes) // // 79 xrefs: // > CreateGuidelinesLayer::init @ 0x6e8e4c // > MoreSearchLayer::init @ 0x7e19f0 // > LevelSearchLayer::init @ 0x7e2c78 // > EditLevelLayer::init @ 0x7f07e8 // > ColorSelectPopup::init @ 0x8642a0 // > ColorSelectPopup::init @ 0x864b78 // > ColorSelectPopup::init @ 0x86525c // > ColorSelectPopup::init @ 0x865510 // > GJGarageLayer::init @ 0x8c1ddc // > MoreOptionsLayer::init @ 0x8f8898 // > ShareCommentLayer::init @ 0x90f110 // > CustomSongLayer::init @ 0x981090 // > SongOptionsLayer::init @ 0x981d74 // > CustomizeObjectLayer::init @ 0x985e4c // > CustomizeObjectLayer::init @ 0x986a44 // > AccountRegisterLayer::init @ 0x990ce8 // > AccountRegisterLayer::init @ 0x990f20 // > AccountRegisterLayer::init @ 0x991078 // > AccountRegisterLayer::init @ 0x9911dc // > AccountRegisterLayer::init @ 0x991324 // > AccountLoginLayer::init @ 0x991b08 // > AccountLoginLayer::init @ 0x991c68 // > KeybindingsLayer::init @ 0x99782c // > SetIDPopup::init @ 0xa29fa0 // > SetTextPopup::init @ 0xa2ff80 // > GJWriteMessagePopup::init @ 0xa326ec // > GJWriteMessagePopup::init @ 0xa329f0 // > SocialLinksPopup::init @ 0xa36d1c // > ConfigureHSVWidget::createTextInputNode @ 0xa3abd8 // > SetupOpacityPopup::init @ 0xa417fc // > SetupPulsePopup::init @ 0xa46d48 // > SetupPulsePopup::init @ 0xa470fc // > SetupPulsePopup::init @ 0xa47480 // > SetupPulsePopup::init @ 0xa48a4c // > SetupPulsePopup::init @ 0xa48d68 // > SecretLayer::init @ 0xa61c0c // > ConfigureValuePopup::init @ 0xa6776c // > ConfigureValuePopup::init @ 0xa67afc // > SecretLayer2::init @ 0xa907a4 // > SecretLayer4::init @ 0xa97344 // > SetupAnimationPopup::init @ 0xa99eb0 // > SetupInstantCountPopup::init @ 0xa9f278 // > SetupShakePopup::init @ 0xaa20f4 // > SetupCameraOffsetTrigger::init @ 0xaaf650 // > SetupCameraOffsetTrigger::init @ 0xaafea0 // > SetupRandTriggerPopup::init @ 0xab3bc8 // > SetGroupIDLayer::createTextInput @ 0xabea70 // > SetGroupIDLayer::createTextInput @ 0xabed38 // > SetupCameraRotatePopup::init @ 0xaeda14 // > SetupCameraRotatePopup::init @ 0xaee294 // > SetupRandAdvTriggerPopup::init @ 0xaf071c // > CreateParticlePopup::createParticleSlider @ 0xb00348 // > SetupTriggerPopup::createValueControlAdvanced @ 0xb1fd00 // > SetupTriggerPopup::createValueControlAdvanced @ 0xb1febc // > SetupTriggerPopup::createValueControlAdvanced @ 0xb20324 // > SetupTriggerPopup::createValueControlAdvanced @ 0xb20354 // > SetupMGTrigger::init @ 0xb4e6f4 // > SetupMGTrigger::init @ 0xb4ef84 // > LevelSettingsLayer::init @ 0xb6630c // > LevelSettingsLayer::init @ 0xb66594 // > SecretLayer5::init @ 0xbc83e4 // > GJScaleControl::createScaleInput @ 0xbd2ea0 // > GJRotationControl::init @ 0xbd3fb0 // > SFXFolderPickerPopup::init @ 0xc3d0f0 // > AdminActionConfirmPopup::init @ 0xc3e81c // > ReviewChoiceSheet::init @ 0xc41b40 // > RenameThreadPopup::init @ 0xc6f1c8 // > ThreadSearchPopup::init @ 0xc6fea8 // > NewThreadPopup::init @ 0xc7def4 // > DeathStatsPopup::init @ 0xca7ba4 // > DeathStatsPopup::init @ 0xca7e24 // > EditorSoundBrowserLayer::onSelectMode @ 0xcca968 // > EditorSoundConfigInfoLayer::init @ 0xcd2368 // > EditorSoundsLayer::init @ 0xcd6f74 // > IDNameBrowserPopup::init @ 0xce2b74 // > IDNameBrowserPopup::init @ 0xce3090 // > IDNameBrowserPopup::init @ 0xce34b8 // > IDNameInput::initCore @ 0xce5244 // > @ 0x71b00 // // 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 // unsigned __int64 __fastcall CCTextInputNode::setAllowedChars(__int64 a1, __int64 a2) { __int64 *v3; // x0 unsigned __int64 result; // x0 int v6; // w6 int v7; // w7 int v8; // w5 int v9; // w2 v3 = (__int64 *)(a1 + 472); if ( v3 != (__int64 *)a2 ) { if ( (*(_BYTE *)a2 & 1) != 0 ) std::string::assign(v3, *(const void **)(a2 + 16), *(_QWORD *)(a2 + 8)); else std::string::assign(v3, (const void *)(a2 + 1), *(_BYTE *)a2 >> 1); } result = *(unsigned int *)(a1 + 700); if ( !(_DWORD)result ) { result = 0; v6 = 0; v7 = 0; v8 = 0; if ( (*(_BYTE *)a2 & 1) == 0 ) goto LABEL_12; while ( 1 ) { if ( result >= *(_QWORD *)(a2 + 8) ) { LABEL_16: if ( v8 ) { if ( v6 ) { result = *(unsigned int *)(a1 + 704); *(_DWORD *)(a1 + 700) = 1; if ( (int)result <= 0 ) { *(_DWORD *)(a1 + 704) = 2; return 2; } } else if ( v7 ) { *(_DWORD *)(a1 + 700) = 2; return 2; } else { result = 3; *(_DWORD *)(a1 + 700) = 3; } } return result; } v9 = *(unsigned __int8 *)(*(_QWORD *)(a2 + 16) + result); if ( (unsigned __int8)(v9 - 48) > 9u ) break; while ( 1 ) { v8 = 1; ++result; LABEL_11: if ( (*(_BYTE *)a2 & 1) != 0 ) break; LABEL_12: if ( result >= *(_BYTE *)a2 >> 1 ) goto LABEL_16; v9 = *(unsigned __int8 *)(a2 + 1 + result); if ( (unsigned __int8)(v9 - 48) > 9u ) goto LABEL_8; } } LABEL_8: if ( v9 == 45 ) { v7 = 1; ++result; goto LABEL_11; } if ( v9 == 46 ) { v6 = 1; ++result; goto LABEL_11; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source