//
// SetupPulsePopup::updateGroupSecondaryOnly from 0x100398360 to 0x1003983d2 (114 bytes)
//
// 0 xrefs:
//
// 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:17 +0000
//
__int64 __fastcall SetupPulsePopup::updateGroupSecondaryOnly(__int64 a1)
{
__int64 result; // rax
__int64 v3; // rdi
unsigned int v4; // r14d
result = *(_QWORD *)(a1 + 680);
if ( result )
{
*(_BYTE *)(result + 1634) = *(_BYTE *)(a1 + 1265);
}
else
{
v3 = *(_QWORD *)(a1 + 688);
if ( v3 )
{
result = sub_1007FEF90(v3);
if ( (_DWORD)result )
{
v4 = 0;
do
{
*(_BYTE *)(sub_1007FEFE0(*(_QWORD *)(a1 + 688), v4++) + 1634) = *(_BYTE *)(a1 + 1265);
result = sub_1007FEF90(*(_QWORD *)(a1 + 688));
}
while ( v4 < (unsigned int)result );
}
}
}
return result;
}