//
// SetupKeyframePopup::updateTimeModeButtons from 0x1001e3ee0 to 0x1001e3f64 (132 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:26:29 +0000
//
unsigned int *__fastcall SetupKeyframePopup::updateTimeModeButtons(_QWORD *a1, float a2)
{
unsigned int *result; // rax
__int64 *v3; // r15
unsigned __int64 v4; // r12
__int64 v5; // rbx
int v6; // eax
(*(void (__fastcall **)(_QWORD *, __int64))(*a1 + 1464LL))(a1, 379);
result = (unsigned int *)a1[127];
if ( result )
{
result = *((unsigned int **)result + 7);
if ( *result )
{
v3 = *((__int64 **)result + 2);
v4 = (unsigned __int64)&v3[*result - 1];
do
{
v5 = *v3;
if ( !*v3 )
break;
v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 64LL))(*v3);
result = (unsigned int *)CCMenuItemToggler::toggle(v5, v6 == (int)a2);
++v3;
}
while ( (unsigned __int64)v3 <= v4 );
}
}
return result;
}