//
// LevelListLayer::textInputOpened from 0x10034c530 to 0x10034c5aa (122 bytes)
//
// 2 xrefs:
// > sub_10034C5F0 @ 0x10034c5f5
// > ??> @ 0x100b205f8
//
// 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:28:48 +0000
//
void __fastcall LevelListLayer::textInputOpened(__int64 a1, __int64 a2)
{
void *v2[3]; // [rsp+8h] [rbp-38h] BYREF
std::string v3; // [rsp+20h] [rbp-20h] BYREF
CCTextInputNode::getString(v2, a2);
if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) != 1002 )
goto LABEL_8;
if ( ((__int64)v2[0] & 1) != 0 )
{
if ( v2[1] )
goto LABEL_8;
}
else if ( LOBYTE(v2[0]) >> 1 )
{
goto LABEL_8;
}
*(_WORD *)&v3.__r_.__value_.__l.0 = 8194;
v3.__r_.__value_.__s.__data_[1] = 0;
CCTextInputNode::updateLabel(a2, &v3);
if ( (*(_BYTE *)&v3.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v3.__r_.__value_.__l.__data_);
LABEL_8:
if ( ((__int64)v2[0] & 1) != 0 )
operator delete(v2[2]);
}