//
// sub_100748A44 from 0x100748a44 to 0x100748b10 (204 bytes)
//
// 2 xrefs:
// > ??> @ 0x1009f1080
// > ??> @ 0x1009f1098
//
// 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:24 +0000
//
bool __fastcall sub_100748A44(__int64 a1, __int64 a2)
{
int v2; // w19
int v4; // w0
_DWORD v5[6]; // [xsp+0h] [xbp-60h] BYREF
__int64 v6; // [xsp+18h] [xbp-48h]
__int128 v7; // [xsp+20h] [xbp-40h]
__int128 v8; // [xsp+30h] [xbp-30h]
v7 = xmmword_1007A9BD4;
v8 = xmmword_1007A9BE4;
strcpy((char *)v5, "ENGINE_rand_bytes");
HIWORD(v5[4]) = unk_1007A9BC6;
v5[5] = unk_1007A9BC8;
v6 = unk_1007A9BCC;
if ( off_100A0F6D8 )
{
v2 = off_100A0F6D8(v5, a1, a2);
sub_1007483CC((const char *)v5, 108, v2);
return v2 == 1;
}
else
{
v4 = dword_100A0F6A4;
if ( !dword_100A0F6A4 )
{
v4 = sub_100707AE4();
dword_100A0F6A4 = v4;
}
sub_100706FB0(v4, 108, 117, (__int64)"e_sureware.c", 659);
return 0;
}
}