//
// sub_100751254 from 0x100751254 to 0x1007512e0 (140 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009f1f80
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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:13:30 +0000
//
__int64 __fastcall sub_100751254(__int64 a1, int a2, int a3, _DWORD *a4)
{
if ( a2 == 4100 )
{
if ( a3 == 32 )
{
sub_10074D058(*(_QWORD *)(a1 + 24), (__int64)a4);
*(_DWORD *)(*(_QWORD *)(a1 + 24) + 4156LL) = 1;
return 1;
}
else
{
sub_10074A888(114, 111, (__int64)"gost_crypt.c", 597);
return 0;
}
}
else if ( a2 == 4099 )
{
*a4 = 32;
return 1;
}
else
{
return 0;
}
}