//
// ConfigureValuePopup::onArrow from 0x1401325e0 to 0x140132644 (100 bytes)
//
// 3 xrefs:
// > ConfigureValuePopup::init @ 0x140132378
// > ConfigureValuePopup::init @ 0x140132441
// > ??> @ 0x140916f4c
//
// This function is hookable on this platform (idp: pc, 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 11:27:03 +0000
//
__int64 __fastcall ConfigureValuePopup::onArrow(__int64 a1, __int64 a2)
{
int v3; // eax
float v4; // xmm0_4
float v5; // xmm0_4
*(_BYTE *)(a1 + 680) = 1;
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2);
v4 = *(float *)(a1 + 668);
if ( v3 )
v5 = v4 + 1.0;
else
v5 = v4 - 1.0;
*(float *)(a1 + 668) = fminf(*(float *)(a1 + 676), fmaxf(*(float *)(a1 + 672), v5));
return ConfigureValuePopup::updateTextInputLabel(a1);
}