//
// LevelSettingsLayer::textChanged from 0x5700b4 to 0x570132 (126 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'LevelSettingsLayer::textChanged @ 0x57013c
//
// 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
//
void LevelSettingsLayer::textChanged(LevelSettingsLayer *a1, CCTextInputNode *a2)
{
int v4; // r4
int v5; // r4
char *v6[3]; // [sp+0h] [bp-Ch] BYREF
v6[0] = (char *)a1;
v6[1] = (char *)a2;
if ( !a1->m_disableInput )
{
if ( a2->getTag(a2) == 1 )
{
CCTextInputNode::getString((CCTextInputNode *)v6, (int)a2);
v4 = atoi(v6[0]);
sub_774008(v6);
a1->m_settingsObject->m_targetOrder = v4;
}
else if ( a2->getTag(a2) == 2 )
{
CCTextInputNode::getString((CCTextInputNode *)v6, (int)a2);
v5 = atoi(v6[0]);
sub_774008(v6);
a1->m_settingsObject->m_targetChannel = v5;
}
}
}