//
// sub_BD2B4 from 0xbd2b4 to 0xbd2ec (56 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
//
int __fastcall sub_BD2B4(_DWORD *a1)
{
int (__fastcall *v1)(_DWORD); // r5
int result; // r0
v1 = (int (__fastcall *)(_DWORD))a1[108];
if ( v1 || (v1 = *(int (__fastcall **)(_DWORD))(a1[92] + 69020)) != nullptr )
result = v1(a1[112]);
else
result = 0;
a1[102] = result;
return result;
}