//
// sub_74BC7C from 0x74bc7c to 0x74bce6 (106 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
//
_DWORD *__fastcall sub_74BC7C(_DWORD *a1, char *a2, int a3)
{
int v6; // [sp+4h] [bp-4h] BYREF
a1[1] = a3 != 0;
*a1 = &off_AAFAD8;
a1[2] = 0;
((void (*)(void))sub_758A94)();
*a1 = &off_A2DD30;
if ( !strcmp(a2, "C") || !strcmp(a2, "POSIX") )
return a1;
sub_77A4F8((int)&v6, a2);
sub_758A94(a1, v6);
sub_77A520(&v6);
return a1;
}