//
// IDNameInput::stepArrow from 0x793aa4 to 0x793b0e (106 bytes)
//
// 2 xrefs:
// > IDNameInput::onArrowLeft @ 0x793b18
// > IDNameInput::onArrowRight @ 0x793b1e
//
// 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:59:43 +0000
//
int __fastcall IDNameInput::stepArrow(int this, int a2)
{
int v3; // r1
int v4; // r7
int IsPureInt; // r0
char *v6; // r0
unsigned __int8 v7; // [sp+0h] [bp-14h] BYREF
char v8; // [sp+1h] [bp-13h] BYREF
char *v9; // [sp+8h] [bp-Ch]
v3 = *(_DWORD *)(this + 300);
v4 = this;
if ( v3 )
{
CCTextInputNode::getString((CCTextInputNode *)&v7, v3);
IsPureInt = IDNameInput::textIsPureInt(&v7);
if ( IsPureInt )
{
if ( (v7 & 1) != 0 )
v6 = v9;
else
v6 = &v8;
IsPureInt = atoi(v6);
}
IDNameInput::commitID(v4, (IsPureInt + a2) & ~((IsPureInt + a2) >> 31));
return std::string::~string((int)&v7);
}
return this;
}