//
// SetupRandAdvTriggerPopup::onGroupIDScrollUp from 0x1003793f0 to 0x10037940e (30 bytes)
//
// 1 xrefs:
// > SetupRandAdvTriggerPopup::init @ 0x100379029
//
// 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 12:29:05 +0000
//
__int64 __fastcall SetupRandAdvTriggerPopup::onGroupIDScrollUp(__int64 a1)
{
__int64 result; // rax
result = *(unsigned int *)(a1 + 1064);
if ( (int)result > 0 )
{
*(_DWORD *)(a1 + 1064) = result - 1;
return SetupRandAdvTriggerPopup::updateGroupIDButtons(a1);
}
return result;
}