//
// SetIDPopup::textChanged from 0xa1ee90 to 0xa1ef58 (200 bytes)
//
// 6 xrefs:
// > `non-virtual thunk to'SetIDPopup::textChanged @ 0xa1ef5c
// > ??> @ 0x8ccb0
// > ??> @ 0x1480b08
// > ??> @ 0x1481258
// > ??> @ 0x14819c8
// > ??> @ 0x14db778
//
// 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 12:59:39 +0000
//
__int64 __fastcall SetIDPopup::textChanged(SetIDPopup *this, CCTextInputNode *a2)
{
int v4; // w2
int v5; // w1
__int64 v6; // x4
char *v7; // x21
__int64 v8[2]; // [xsp+30h] [xbp+30h] BYREF
char *v9; // [xsp+40h] [xbp+40h]
if ( !*((_BYTE *)this + 676) )
{
CCTextInputNode::getString(a2, v8);
if ( (v8[0] & 1) != 0 )
{
v7 = v9;
*((_DWORD *)this + 168) = atoi(v9);
operator delete(v7);
v4 = *((_DWORD *)this + 168);
}
else
{
v4 = atoi((const char *)v8 + 1);
}
v5 = *((_DWORD *)this + 171);
v6 = *(_QWORD *)this;
if ( v4 <= v5 )
v5 = v4;
if ( v5 < *((_DWORD *)this + 170) )
v5 = *((_DWORD *)this + 170);
*((_DWORD *)this + 168) = v5;
(*(void (__fastcall **)(SetIDPopup *))(v6 + 1360))(this);
}
return _stack_chk_guard;
}