//
// sub_100448DD0 from 0x100448dd0 to 0x100448ed8 (264 bytes)
//
// 1 xrefs:
// > sub_100449BC8 @ 0x100449bcc
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_100448DD0(__int64 *a1)
{
__int64 result; // x0
unsigned int *v3; // x8
unsigned int v4; // w9
__int64 v5; // x8
__int64 i; // x20
float *v7; // x8
float v8; // w9
*(__int64 *)((char *)a1 + 540) = 0x3F80000000000000LL;
result = sub_10044270C(a1[21], 0, a1 + 71);
if ( !(_DWORD)result )
{
v3 = (unsigned int *)a1 + 25;
do
v4 = __ldaxr(v3);
while ( __stlxr(v4 | 0x10, v3) );
v5 = a1[29];
if ( *(int *)(v5 + 96) >= 1 )
{
for ( i = 0; i < *(int *)(v5 + 96); ++i )
{
v7 = *(float **)(*(_QWORD *)(v5 + 104) + 8 * i);
v8 = *v7;
if ( *(_DWORD *)v7 )
{
if ( LODWORD(v8) == 2 )
{
result = sub_1004A7AC8(a1, i, *((_DWORD *)v7 + 12) != 0);
if ( (_DWORD)result )
return result;
}
else if ( LODWORD(v8) == 1 )
{
result = sub_1004A7A60(a1, i, *((unsigned int *)v7 + 14));
if ( (_DWORD)result )
return result;
}
}
else
{
result = sub_1004A79E0(a1, i, v7[14]);
if ( (_DWORD)result )
return result;
}
v5 = a1[29];
}
}
a1[79] = 0;
return sub_1004CF6F8(a1[21], a1 + 80);
}
return result;
}