//
// sub_F2944 from 0xf2944 to 0xf2970 (44 bytes)
//
// 2 xrefs:
// > sub_F05B8 @ 0xf106c
// > sub_F13AC @ 0xf1940
//
// 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 12:15:05 +0000
//
void *__fastcall sub_F2944(unsigned __int64 a1, unsigned __int64 a2)
{
size_t v2; // x8
v2 = 1;
if ( a1 && a2 )
{
if ( 0xFFFFFFFFFFFFFFFFLL / a2 < a1 )
return nullptr;
v2 = a2 * a1;
}
return malloc(v2);
}