//
// MoveStepPopup::textChanged from 0xc60b64 to 0xc60c90 (300 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'MoveStepPopup::textChanged @ 0xc60c94
// > ??> @ 0xbdd48
// > ??> @ 0x14eb548
//
// 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 13:05:21 +0000
//
__int64 __fastcall MoveStepPopup::textChanged(cocos2d::CCDictionary **this, CCTextInputNode *a2)
{
__int64 v5; // x22
cocos2d::CCDictionary *v6; // x23
float *v7; // x22
int v8; // w0
int v9; // w0
__int64 v10[3]; // [xsp+50h] [xbp+50h] BYREF
if ( !*((_BYTE *)this + 744) )
{
CCTextInputNode::getString(a2, v10);
if ( (v10[0] & 1) != 0 )
{
v5 = v10[1];
operator delete((void *)v10[2]);
if ( v5 )
goto LABEL_5;
}
else if ( LOBYTE(v10[0]) >> 1 )
{
LABEL_5:
SetupTriggerPopup::textChanged((SetupTriggerPopup *)this, a2);
return _stack_chk_guard;
}
v6 = *(this + 104);
v7 = (float *)operator new(0x40u);
cocos2d::CCObject::CCObject((cocos2d::CCObject *)v7);
*(_QWORD *)v7 = &off_14AF5B0;
v7[14] = 10.0;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v7);
v8 = (*(__int64 (__fastcall **)(CCTextInputNode *))(*(_QWORD *)a2 + 64LL))(a2);
cocos2d::CCDictionary::setObject(v6, (cocos2d::CCObject *)v7, v8);
v9 = (*(__int64 (__fastcall **)(CCTextInputNode *))(*(_QWORD *)a2 + 64LL))(a2);
SetupTriggerPopup::valueChanged((SetupTriggerPopup *)this, v9, 10.0);
}
return _stack_chk_guard;
}