//
// sub_100753960 from 0x100753960 to 0x100753a8c (300 bytes)
//
// 1 xrefs:
// > sub_100752D00 @ 0x100752d3c
//
// 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:31 +0000
//
__int64 __fastcall sub_100753960(__int64 a1, char *__s1, __int64 a3)
{
__int64 v6; // x19
__int64 v7; // x0
_OWORD *v8; // x20
__int64 v9; // x0
__int64 v11; // [xsp+8h] [xbp-28h] BYREF
if ( !strcmp(__s1, "key") )
{
if ( strlen((const char *)a3) == 32 )
{
v7 = sub_100712A60(a1);
*(_OWORD *)(v7 + 32) = *(_OWORD *)(a3 + 16);
*(_OWORD *)(v7 + 16) = *(_OWORD *)a3;
v6 = 1;
*(_DWORD *)v7 = 1;
}
else
{
sub_10074A888(129, 111, (__int64)"gost_pmeth.c", 503);
return 0;
}
}
else if ( !strcmp(__s1, "hexkey") )
{
v8 = sub_10072DA6C((char *)a3, &v11);
if ( v8 && v11 == 32 )
{
v9 = sub_100712A60(a1);
*(_OWORD *)(v9 + 32) = v8[1];
*(_OWORD *)(v9 + 16) = *v8;
v6 = 1;
*(_DWORD *)v9 = 1;
sub_1006AEDAC(v8);
}
else
{
sub_10074A888(129, 111, (__int64)"gost_pmeth.c", 515);
sub_1006AEDAC(v8);
return 0;
}
}
else
{
return 4294967294LL;
}
return v6;
}