//
// SetupObjectTogglePopup::valueDidChange from 0x10035fb30 to 0x10035fba8 (120 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b26ab8
//
// 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:28:55 +0000
//
void __fastcall SetupObjectTogglePopup::valueDidChange(__int64 a1, int a2)
{
__int64 v2; // rbx
unsigned int v3; // r14d
__int64 v4; // rax
if ( a2 == 56 )
{
if ( *(_QWORD *)(a1 + 680) )
{
v2 = sub_1007FE9A0(*(_QWORD *)(a1 + 680));
if ( !(unsigned int)sub_1007FEF90(v2) )
return;
}
else
{
v2 = *(_QWORD *)(a1 + 688);
if ( !(unsigned int)sub_1007FEF90(v2) )
return;
}
v3 = 0;
do
{
v4 = sub_1007FEFE0(v2, v3);
EffectGameObject::updateSpecialColor(v4);
++v3;
}
while ( v3 < (unsigned int)sub_1007FEF90(v2) );
}
}