//
// ConfigureValuePopup::onArrow from 0xa67154 to 0xa671ec (152 bytes)
//
// 4 xrefs:
// > ??> @ 0xd7248
// > ConfigureValuePopup::init @ 0xa6792c
// > ConfigureValuePopup::init @ 0xa67a04
// > ??> @ 0x15466d0
//
// 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:00:18 +0000
//
__int64 __fastcall ConfigureValuePopup::onArrow(ConfigureValuePopup *this, cocos2d::CCObject *a2)
{
int v3; // w0
float v4; // s1
float v5; // s0
float v6; // s2
float v7; // s1
float v8; // s3
*((_BYTE *)this + 676) = 1;
v3 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2);
v4 = *((float *)this + 166);
if ( v3 )
v5 = v4 + 1.0;
else
v5 = v4 - 1.0;
v6 = *((float *)this + 167);
v7 = *((float *)this + 168);
v8 = v5;
if ( v5 <= v6 )
v8 = *((float *)this + 167);
if ( v8 < v7 && (v7 = v5, v5 <= v6) )
{
*((float *)this + 166) = v6;
return ConfigureValuePopup::updateTextInputLabel(this);
}
else
{
*((float *)this + 166) = v7;
return ConfigureValuePopup::updateTextInputLabel(this);
}
}