//
// sub_44FA4 from 0x44fa4 to 0x4500e (106 bytes)
//
// 1 xrefs:
// > ??> @ 0x44fa2
//
// 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
//
int __fastcall sub_44FA4(_DWORD *a1)
{
int v2; // r5
int v3; // r0
int v4; // r0
int v5; // r0
v2 = sub_44C7A((int)a1);
if ( !v2 )
{
sub_AA2E0(a1 + 20);
v3 = a1[130];
if ( v3 )
{
(*(void (__fastcall **)(int))(*(_DWORD *)v3 + 8))(v3);
a1[130] = 0;
}
v4 = a1[132];
if ( v4 )
{
(*(void (__fastcall **)(int))(*(_DWORD *)v4 + 8))(v4);
a1[132] = 0;
}
v5 = a1[133];
if ( v5 )
{
(*(void (__fastcall **)(int))(*(_DWORD *)v5 + 8))(v5);
a1[133] = 0;
}
a1[131] = 0;
a1[17] = 1232348160;
a1[18] = 1120403456;
}
return v2;
}