//
// KeyframeAnimTriggerObject::customObjectSetup from 0x10019ce50 to 0x10019d0f3 (675 bytes)
//
// 1 xrefs:
// > ??> @ 0x100acd548
//
// 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:25:57 +0000
//
void __fastcall KeyframeAnimTriggerObject::customObjectSetup(__int64 a1, __int64 *a2, __int64 *a3, __m128 a4)
{
_QWORD *v6; // r15
float v7; // xmm0_4
__int64 v8; // rdi
const char *v9; // rdi
float v10; // xmm1_4
__int64 v11; // rdi
const char *v12; // rdi
float v13; // xmm0_4
float v14; // xmm2_4
float v15; // xmm1_4
__int64 v16; // rdi
const char *v17; // rdi
float v18; // xmm0_4
__int64 v19; // rdi
const char *v20; // rdi
float v21; // xmm0_4
float v22; // xmm2_4
float v23; // xmm3_4
__int64 v24; // rdi
const char *v25; // rdi
float v26; // xmm0_4
__int64 v27; // rdi
const char *v28; // rdi
float v29; // xmm0_4
float v30; // [rsp+14h] [rbp-1Ch]
EffectGameObject::customObjectSetup(a1, a2, a3, a4);
v6 = (_QWORD *)*a3;
v7 = 0.0;
v30 = 0.0;
if ( v6[520] )
{
v8 = *a2;
v9 = (*(_BYTE *)(*a2 + 12480) & 1) != 0 ? *(const char **)(v8 + 12496) : (const char *)(v8 + 12481);
v10 = atof(v9);
v7 = 1000000000.0;
if ( v10 <= 1000000000.0 )
v7 = fmaxf(-1000000000.0, v10);
}
*(float *)(a1 + 1840) = v7;
if ( v6[521] )
{
v11 = *a2;
v12 = (*(_BYTE *)(*a2 + 12504) & 1) != 0 ? *(const char **)(v11 + 12520) : (const char *)(v11 + 12505);
v13 = atof(v12);
v30 = 1000000000.0;
if ( v13 <= 1000000000.0 )
v30 = fmaxf(-1000000000.0, v13);
}
*(float *)(a1 + 1844) = v30;
v14 = 0.0;
v15 = 0.0;
if ( v6[545] )
{
v16 = *a2;
v17 = (*(_BYTE *)(*a2 + 13080) & 1) != 0 ? *(const char **)(v16 + 13096) : (const char *)(v16 + 13081);
v18 = atof(v17);
v14 = 0.0;
v15 = 1000000000.0;
if ( v18 <= 1000000000.0 )
v15 = fmaxf(-1000000000.0, v18);
}
*(float *)(a1 + 1848) = v15;
if ( v6[522] )
{
v19 = *a2;
v20 = (*(_BYTE *)(*a2 + 12528) & 1) != 0 ? *(const char **)(v19 + 12544) : (const char *)(v19 + 12529);
v21 = atof(v20);
v14 = 1000000000.0;
if ( v21 <= 1000000000.0 )
v14 = fmaxf(-1000000000.0, v21);
}
*(float *)(a1 + 1852) = v14;
v22 = 0.0;
v23 = 0.0;
if ( v6[523] )
{
v24 = *a2;
v25 = (*(_BYTE *)(*a2 + 12552) & 1) != 0 ? *(const char **)(v24 + 12568) : (const char *)(v24 + 12553);
v26 = atof(v25);
v22 = 0.0;
v23 = 1000000000.0;
if ( v26 <= 1000000000.0 )
v23 = fmaxf(-1000000000.0, v26);
}
*(float *)(a1 + 1856) = v23;
if ( v6[546] )
{
v27 = *a2;
v28 = (*(_BYTE *)(*a2 + 13104) & 1) != 0 ? *(const char **)(v27 + 13120) : (const char *)(v27 + 13105);
v29 = atof(v28);
v22 = 1000000000.0;
if ( v29 <= 1000000000.0 )
v22 = fmaxf(-1000000000.0, v29);
}
*(float *)(a1 + 1860) = v22;
if ( v15 == 0.0 )
*(float *)(a1 + 1848) = v30;
if ( v22 == 0.0 )
*(float *)(a1 + 1860) = v23;
}