//
// sub_100032888 from 0x100032888 to 0x10003295c (212 bytes)
//
// 1 xrefs:
// > SetupRandAdvTriggerPopup::init @ 0x100032414
//
// 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 10:57:31 +0000
//
void __fastcall sub_100032888(__int64 a1)
{
int v2; // w20
char *v3; // x21
__int64 v4; // x21
char *v5; // x22
__int64 v6; // x1
char *v7[2]; // [xsp+8h] [xbp-38h] BYREF
char v8; // [xsp+1Fh] [xbp-21h]
CCTextInputNode::getString(v7);
if ( v8 < 0 )
{
v3 = v7[0];
v2 = atoi(v7[0]);
operator delete(v3);
}
else
{
v2 = atoi((const char *)v7);
}
CCTextInputNode::getString(v7);
if ( v8 < 0 )
{
v5 = v7[0];
v4 = atoi(v7[0]);
operator delete(v5);
}
else
{
v4 = atoi((const char *)v7);
}
if ( v2 >= 1 && (int)v4 >= 1 )
{
if ( (unsigned int)v2 >= 0x270F )
v6 = 9999;
else
v6 = (unsigned int)v2;
sub_100032FB0(a1, v6, v4);
SetupRandAdvTriggerPopup::updateGroupIDButtons(a1);
}
}