//
// sub_10024227C from 0x10024227c to 0x1002422ac (48 bytes)
//
// 3 xrefs:
// > sub_100242098 @ 0x100242108
// > sub_100399460 @ 0x100399494
// > sub_100399950 @ 0x1003999d0
//
// 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:01:24 +0000
//
void *__fastcall sub_10024227C(__int64 a1, __int64 a2)
{
if ( a2 < 0 )
sub_1000098D8();
return operator new(2 * a2);
}