//
// sub_C0678 from 0xc0678 to 0xc069c (36 bytes)
//
// 5 xrefs:
// > sub_50F6C @ 0x51032
// > sub_50F6C @ 0x5103c
// > sub_BF6E8 @ 0xbf74a
// > sub_C0894 @ 0xc08d2
// > sub_C21A0 @ 0xc21b8
//
// 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:41:48 +0000
//
int __fastcall sub_C0678(char *file, _DWORD *a2)
{
int result; // r0
void *v5; // r1
result = 31;
if ( file && a2 )
{
v5 = dlopen(file, 1);
*a2 = v5;
result = 0;
if ( !v5 )
return 18;
}
return result;
}