//
// sub_BD3D4 from 0xbd3d4 to 0xbd406 (50 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_BD3D4(_DWORD *a1, int a2)
{
int (__fastcall *v4)(int, _DWORD); // r2
if ( sub_BD254(a1)
&& *(_DWORD *)(a2 + 28)
&& ((v4 = (int (__fastcall *)(int, _DWORD))a1[111]) != nullptr
|| (v4 = *(int (__fastcall **)(int, _DWORD))(a1[92] + 69032)) != nullptr) )
{
return v4(a2, a1[113]);
}
else
{
return 0;
}
}