//
// SetIDPopup::textChanged from 0x5d5cd0 to 0x5d5d40 (112 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'SetIDPopup::textChanged @ 0x5d5d48
//
// 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:54:08 +0000
//
int __fastcall SetIDPopup::textChanged(int this, CCTextInputNode *a2, char *a3, int a4)
{
_DWORD *v4; // r4
char *v5; // r0
int v6; // r3
int v7; // r2
_DWORD v8[2]; // [sp+0h] [bp-10h] BYREF
char *v9; // [sp+8h] [bp-8h]
int v10; // [sp+Ch] [bp-4h]
v8[0] = this;
v8[1] = a2;
v9 = a3;
v10 = a4;
v4 = (_DWORD *)this;
if ( !*(_BYTE *)(this + 528) )
{
CCTextInputNode::getString((CCTextInputNode *)v8, (int)a2);
if ( (v8[0] & 1) != 0 )
v5 = v9;
else
v5 = (char *)v8 + 1;
v4[131] = atoi(v5);
std::string::~string((int)v8);
v6 = v4[134];
if ( v6 >= v4[131] )
v6 = v4[131];
v7 = v4[133];
if ( v6 < v7 )
v4[131] = v7;
else
v4[131] = v6;
return (*(int (__fastcall **)(_DWORD *))(*v4 + 680))(v4);
}
return this;
}