//
// LevelListLayer::textChanged from 0x1002e469c to 0x1002e473c (160 bytes)
//
// 2 xrefs:
// > sub_1002E4770 @ 0x1002e4774
// > ??> @ 0x100923a60
//
// 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:02:49 +0000
//
void __fastcall LevelListLayer::textChanged(__int64 a1, __int64 a2)
{
std::string *v4; // x20
char *v5; // x1
void *__p[2]; // [xsp+0h] [xbp-50h] BYREF
char v7; // [xsp+17h] [xbp-39h]
std::string __str; // [xsp+18h] [xbp-38h] BYREF
if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 1002 )
{
v4 = *(std::string **)(a1 + 912);
CCTextInputNode::getString(a2, __p);
if ( v7 >= 0 )
v5 = (char *)__p;
else
v5 = (char *)__p[0];
sub_100009900(&__str, v5);
std::string::operator=(v4 + 18, &__str);
if ( SHIBYTE(__str.__r_.__value_.__r.__words[2]) < 0 )
operator delete(__str.__r_.__value_.__l.__data_);
if ( v7 < 0 )
operator delete(__p[0]);
}
}