//
// FRequestProfilePage::textChanged from 0x10024d028 to 0x10024d150 (296 bytes)
//
// 2 xrefs:
// > sub_10024D170 @ 0x10024d174
// > ??> @ 0x10090a3a8
//
// 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:01:29 +0000
//
void __fastcall FRequestProfilePage::textChanged(__int64 a1, __int64 a2)
{
std::string::size_type size; // x9
std::string *p_str; // x8
__int64 v5; // x10
int v6; // w20
std::string __str; // [xsp+8h] [xbp-28h] BYREF
CCTextInputNode::getString(a2, &__str);
size = HIBYTE(__str.__r_.__value_.__r.__words[2]);
if ( (__str.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL )
p_str = &__str;
else
p_str = (std::string *)__str.__r_.__value_.__r.__words[0];
if ( (__str.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) != 0LL )
size = __str.__r_.__value_.__l.__size_;
if ( !size )
goto LABEL_12;
v5 = 0;
while ( p_str->__r_.__value_.__s.__data_[v5] == 32 )
{
if ( size == ++v5 )
goto LABEL_12;
}
if ( v5 == -1 )
LABEL_12:
std::string::assign(&__str, "");
v6 = *(unsigned __int8 *)(a1 + 880);
sub_10024C62C(a1);
if ( !v6 || !sub_1000045BC(&__str, (_QWORD *)(a1 + 736)) )
{
if ( sub_1000045BC(&__str, (_QWORD *)(a1 + 736)) )
goto LABEL_21;
std::string::operator=((std::string *)(a1 + 736), &__str);
cocos2d::CCNode::unschedule(a1, sub_10024C67C, 0);
if ( (*(char *)(a1 + 759) & 0x8000000000000000LL) != 0 )
{
if ( *(_QWORD *)(a1 + 744) )
goto LABEL_18;
}
else if ( *(_BYTE *)(a1 + 759) )
{
LABEL_18:
sub_1002D9610(a1, sub_10024C67C, 0, 0.4);
goto LABEL_21;
}
}
sub_10024C388(a1, 0);
LABEL_21:
if ( SHIBYTE(__str.__r_.__value_.__r.__words[2]) < 0 )
operator delete(__str.__r_.__value_.__l.__data_);
}