//
// sub_10037B934 from 0x10037b934 to 0x10037b990 (92 bytes)
//
// 2 xrefs:
// > SetIDPopup::init @ 0x10037b614
// > SetIDPopup::init @ 0x10037b6e0
//
// 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 11:03:27 +0000
//
__int64 __fastcall sub_10037B934(_DWORD *a1, __int64 a2)
{
int v3; // w0
int v4; // w8
int v5; // w8
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
v4 = a1[168];
if ( v3 == 1 )
v5 = v4 - 1;
else
v5 = v4 + 1;
if ( a1[171] < v5 )
v5 = a1[171];
if ( a1[170] > v5 )
v5 = a1[170];
a1[168] = v5;
return sub_10037B99C(a1);
}