//
// sub_44FA4 from 0x44fa4 to 0x4500e (106 bytes)
//
// 1 xrefs:
// > ??> @ 0x44fa2
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:40:37 +0000
//
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;
}