//
// sub_74B9CC from 0x74b9cc to 0x74ba3a (110 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_74B9CC(_DWORD *a1, char *a2, int a3)
{
int v6; // [sp+4h] [bp-4h] BYREF
a1[1] = a3 != 0;
*a1 = &off_AAFB00;
a1[2] = 0;
((void (*)(void))sub_75852C)();
*a1 = &off_A2DE20;
if ( !strcmp(a2, "C") || !strcmp(a2, "POSIX") )
return a1;
sub_77A4F8((int)&v6, a2);
sub_75852C(a1, v6, 0);
sub_77A520(&v6);
return a1;
}