//
// KeyframeAnimTriggerObject::customObjectSetup from 0x10042d318 to 0x10042d58c (628 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009531b0
//
// 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 11:05:04 +0000
//
void __fastcall KeyframeAnimTriggerObject::customObjectSetup(float *a1, __int64 a2, __int64 a3)
{
_QWORD *v6; // x22
float v7; // s8
float v8; // s1
const char *v9; // x0
float v10; // s0
const char *v11; // x0
float v12; // s0
float v13; // s10
float v14; // s9
const char *v15; // x0
float v16; // s0
const char *v17; // x0
float v18; // s0
float v19; // s10
float v20; // s11
const char *v21; // x0
float v22; // s0
const char *v23; // x0
float v24; // s0
EffectGameObject::customObjectSetup((__int64)a1, a2, a3);
v6 = *(_QWORD **)a3;
v7 = 0.0;
v8 = 0.0;
if ( *(_QWORD *)(*(_QWORD *)a3 + 4160LL) )
{
v9 = (const char *)(*(_QWORD *)a2 + 12480LL);
if ( *(char *)(*(_QWORD *)a2 + 12503LL) < 0 )
v9 = *(const char **)v9;
v10 = atof(v9);
v8 = 1000000000.0;
if ( v10 <= 1000000000.0 )
{
v8 = -1000000000.0;
if ( v10 >= -1000000000.0 )
v8 = v10;
}
}
a1[460] = v8;
if ( v6[521] )
{
v11 = (const char *)(*(_QWORD *)a2 + 12504LL);
if ( *(char *)(*(_QWORD *)a2 + 12527LL) < 0 )
v11 = *(const char **)v11;
v12 = atof(v11);
v7 = 1000000000.0;
if ( v12 <= 1000000000.0 )
{
if ( v12 >= -1000000000.0 )
v7 = v12;
else
v7 = -1000000000.0;
}
}
a1[461] = v7;
v13 = 0.0;
v14 = 0.0;
if ( v6[545] )
{
v15 = (const char *)(*(_QWORD *)a2 + 13080LL);
if ( *(char *)(*(_QWORD *)a2 + 13103LL) < 0 )
v15 = *(const char **)v15;
v16 = atof(v15);
v14 = 1000000000.0;
if ( v16 <= 1000000000.0 )
{
if ( v16 >= -1000000000.0 )
v14 = v16;
else
v14 = -1000000000.0;
}
}
a1[462] = v14;
if ( v6[522] )
{
v17 = (const char *)(*(_QWORD *)a2 + 12528LL);
if ( *(char *)(*(_QWORD *)a2 + 12551LL) < 0 )
v17 = *(const char **)v17;
v18 = atof(v17);
v13 = 1000000000.0;
if ( v18 <= 1000000000.0 )
{
if ( v18 >= -1000000000.0 )
v13 = v18;
else
v13 = -1000000000.0;
}
}
a1[463] = v13;
v19 = 0.0;
v20 = 0.0;
if ( v6[523] )
{
v21 = (const char *)(*(_QWORD *)a2 + 12552LL);
if ( *(char *)(*(_QWORD *)a2 + 12575LL) < 0 )
v21 = *(const char **)v21;
v22 = atof(v21);
v20 = 1000000000.0;
if ( v22 <= 1000000000.0 )
{
if ( v22 >= -1000000000.0 )
v20 = v22;
else
v20 = -1000000000.0;
}
}
a1[464] = v20;
if ( v6[546] )
{
v23 = (const char *)(*(_QWORD *)a2 + 13104LL);
if ( *(char *)(*(_QWORD *)a2 + 13127LL) < 0 )
v23 = *(const char **)v23;
v24 = atof(v23);
v19 = 1000000000.0;
if ( v24 <= 1000000000.0 )
{
if ( v24 >= -1000000000.0 )
v19 = v24;
else
v19 = -1000000000.0;
}
}
a1[465] = v19;
if ( v14 == 0.0 )
a1[462] = v7;
if ( v19 == 0.0 )
a1[465] = v20;
}