//
// sub_49D54 from 0x49d54 to 0x49d8c (56 bytes)
//
// 2 xrefs:
// > sub_49D54 @ 0x49d7a
// > sub_62108 @ 0x62158
//
// 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:40 +0000
//
int __fastcall sub_49D54(_DWORD *a1, int a2)
{
int result; // r0
_DWORD *v5; // r5
_DWORD *v6; // r6
result = (*(int (__fastcall **)(_DWORD *))(*a1 + 60))(a1);
if ( !result )
{
v5 = a1 + 73;
v6 = v5;
while ( 1 )
{
v6 = (_DWORD *)*v6;
if ( v6 == v5 )
break;
result = sub_49D54(v6[2], a2);
if ( result )
return result;
}
return 0;
}
return result;
}