//
// IDNameInput::textChanged from 0x796bbc to 0x796c42 (134 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'IDNameInput::textChanged @ 0x796c4c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:59:45 +0000
//
int __fastcall IDNameInput::textChanged(IDNameInput *this, CCTextInputNode *a2)
{
int v4; // r3
void (__fastcall ***v6)(_DWORD, CCTextInputNode *); // r0
unsigned __int8 v7[4]; // [sp+0h] [bp-14h] BYREF
int v8; // [sp+4h] [bp-10h]
CCTextInputNode::getString((CCTextInputNode *)v7, (int)a2);
if ( *((_BYTE *)a2 + 344)
&& ((v7[0] & 1) != 0 ? (v4 = v8) : (v4 = (int)v7[0] >> 1), v4 && !IDNameInput::textIsPureInt(v7)) )
{
IDNameInput::updateAutocomplete(this);
}
else
{
std::string::operator=((unsigned __int8 *)this + 348, v7);
IDNameInput::dismissAutocomplete((int)this);
v6 = *((void (__fastcall ****)(_DWORD, CCTextInputNode *))this + 72);
if ( v6 )
(**v6)(v6, a2);
}
IDNameInput::refreshLabel(this);
return std::string::~string((int)v7);
}