//
// sub_1054B1C from 0x1054b1c to 0x1054b98 (124 bytes)
//
// 1 xrefs:
// > ??> @ 0x140df40
//
// 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 13:16:40 +0000
//
__int64 __fastcall sub_1054B1C(__int64 a1)
{
_DWORD *v2; // x0
v2 = CRYPTO_zalloc(off_50, (__int64)"crypto/rsa/rsa_pmeth.c", 48);
if ( !v2 )
return 0;
v2[6] = 1;
*v2 = 1024;
v2[12] = -2;
*(_QWORD *)(a1 + 64) = v2 + 4;
*(_QWORD *)(a1 + 40) = v2;
*(_DWORD *)(a1 + 72) = 2;
return 1;
}