//
// sub_100750878 from 0x100750878 to 0x100750910 (152 bytes)
//
// 2 xrefs:
// > ??> @ 0x1009f1ea8
// > ??> @ 0x1009f1f00
//
// 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_100750878(__int64 a1, int a2, __int64 a3, _DWORD *a4)
{
__int16 v5; // w1
int v6; // w3
if ( a2 == 7 )
{
if ( a4 )
{
*a4 = 810;
return 1;
}
else
{
return 0;
}
}
else
{
if ( a2 == 6 )
{
if ( (int)sub_100706330((__int64)a4, *(unsigned int *)(a1 + 104)) > 0 )
return 1;
v5 = 123;
v6 = 405;
}
else
{
v5 = 129;
v6 = 420;
}
sub_10074A888(111, v5, (__int64)"gost_crypt.c", v6);
return 0xFFFFFFFFLL;
}
}