//
// sub_10044E484 from 0x10044e484 to 0x10044e53c (184 bytes)
//
// 0 xrefs:
//
// 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_10044E484(__int64 a1, int32x2_t *a2)
{
__int64 v4; // x19
int v5; // w9
__int32 v6; // w8
int v7; // w10
__int64 v8; // x9
__int64 v9; // x8
v4 = *(_QWORD *)(a1 + 56);
sub_1004B5C70(v4);
if ( *(_DWORD *)(a1 + 116) )
{
v5 = *(_DWORD *)(a1 + 88);
if ( v5 )
{
v6 = a2[1].i32[1];
v7 = *(_DWORD *)(*(_QWORD *)(a1 + 80) + 4LL * (v6 & (v5 - 1)));
if ( v7 != -1 )
{
v8 = *(_QWORD *)(a1 + 96);
while ( *(_DWORD *)(v8 + 16LL * v7) != v6 )
{
v7 = *(_DWORD *)(v8 + 16LL * v7 + 4);
if ( v7 == -1 )
goto LABEL_10;
}
v9 = *(_QWORD *)(v8 + 16LL * v7 + 8);
if ( v9 )
{
*(int32x2_t *)(v9 + 20) = vrev64_s32(a2[2]);
sub_1004B5DD4(*(_QWORD *)(v9 + 8));
}
}
}
}
LABEL_10:
sub_1004B5CA0(v4);
return 0;
}