//
// sub_BDA74 from 0xbda74 to 0xbdb7c (264 bytes)
//
// 1 xrefs:
// > sub_BD5E0 @ 0xbda14
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:14:42 +0000
//
__int64 __fastcall sub_BDA74(__int64 result)
{
__int64 v1; // x8
if ( *(_BYTE *)(result + 8) )
{
v1 = result;
result = *(_QWORD *)result;
if ( result )
{
if ( *(_BYTE *)(v1 + 8) )
{
*(_BYTE *)(v1 + 8) = 0;
return sub_7BC40(result);
}
}
}
return result;
}