//
// SetupInstantCountPopup::textChanged from 0x627ab4 to 0x627b7a (198 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'SetupInstantCountPopup::textChanged @ 0x627b84
//
// 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:55:10 +0000
//
SetupInstantCountPopup *__fastcall SetupInstantCountPopup::textChanged(
SetupInstantCountPopup *this,
CCTextInputNode *a2)
{
SetupInstantCountPopup *v2; // r4
char *v4; // r0
char *v5; // r0
char *v6; // r0
char v7; // [sp+0h] [bp-14h] BYREF
_BYTE v8[7]; // [sp+1h] [bp-13h] BYREF
char *v9; // [sp+8h] [bp-Ch]
v2 = this;
if ( !*((_BYTE *)this + 568) )
{
if ( (*(int (__fastcall **)(CCTextInputNode *))(*(_DWORD *)a2 + 32))(a2) )
{
if ( (*(int (__fastcall **)(CCTextInputNode *))(*(_DWORD *)a2 + 32))(a2) == 1 )
{
CCTextInputNode::getString((CCTextInputNode *)&v7, (int)a2);
if ( (v7 & 1) != 0 )
v5 = v9;
else
v5 = v8;
*((_DWORD *)v2 + 183) = atoi(v5);
std::string::~string((int)&v7);
return (SetupInstantCountPopup *)SetupInstantCountPopup::updateTargetCount(v2);
}
else
{
CCTextInputNode::getString((CCTextInputNode *)&v7, (int)a2);
if ( (v7 & 1) != 0 )
v6 = v9;
else
v6 = v8;
*((_DWORD *)v2 + 182) = atoi(v6);
std::string::~string((int)&v7);
return (SetupInstantCountPopup *)SetupInstantCountPopup::updateTargetID(v2);
}
}
else
{
CCTextInputNode::getString((CCTextInputNode *)&v7, (int)a2);
if ( (v7 & 1) != 0 )
v4 = v9;
else
v4 = v8;
*((_DWORD *)v2 + 181) = atoi(v4);
std::string::~string((int)&v7);
SetupInstantCountPopup::updateItemID(v2);
return (SetupInstantCountPopup *)SetupTriggerPopup::updateEditorLabel(v2);
}
}
return this;
}