//
// sub_BFE7C from 0xbfe7c to 0xbfea4 (40 bytes)
//
// 20 xrefs:
// > sub_BF6E8 @ 0xbf6f8
// > sub_BF87C @ 0xbf886
// > sub_BF9C8 @ 0xbf9dc
// > FMOD_Android_JNI_Init @ 0xbfd42
// > FMOD_Android_JNI_Close @ 0xbff3e
// > sub_C0034 @ 0xc004a
// > sub_C0784 @ 0xc0796
// > sub_C0B94 @ 0xc0ba6
// > sub_C0EE8 @ 0xc0f10
// > sub_C1358 @ 0xc1372
// > sub_C15BC @ 0xc15d8
// > sub_C1C0C @ 0xc1c28
// > sub_C1E58 @ 0xc1e8a
// > ??> @ 0xc1f4e
// > sub_C2124 @ 0xc2152
// > sub_C2248 @ 0xc2266
// > sub_C2AA8 @ 0xc2b0a
// > sub_C2D22 @ 0xc2d2e
// > sub_C2D72 @ 0xc2d86
// > sub_C2DA8 @ 0xc2dbe
//
// 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_BFE7C(int a1)
{
int v2; // r0
int result; // r0
v2 = *(int *)((char *)&dword_158 + (_DWORD)off_E8000);
if ( !v2 )
return 28;
result = (*(int (__fastcall **)(int, int, int))(*(_DWORD *)v2 + 24))(v2, a1, 65542);
if ( result )
return 28;
return result;
}