//
// sub_766740 from 0x766740 to 0x766776 (54 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_766740(_DWORD *a1, int a2, int a3, int a4, char a5, _DWORD *a6, wchar_t a7, char **a8)
{
if ( a5 )
sub_765C04(a1, a2, a3, a4, a6, a7, a8);
else
sub_7660F4(a1, a2, a3, a4, a6, a7, a8);
return a1;
}