//
// sub_10001D9A4 from 0x10001d9a4 to 0x10001d9d8 (52 bytes)
//
// 8 xrefs:
// > sub_10001D7AC @ 0x10001d83c
// > sub_1000220B4 @ 0x1000220cc
// > sub_1001A3910 @ 0x1001a3980
// > sub_100412E64 @ 0x100412ec8
// > sub_1004139A4 @ 0x100413a08
// > sub_1004C1374 @ 0x1004c13d8
// > sub_1005065E8 @ 0x100506628
// > sub_100516D18 @ 0x100516d7c
//
// 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 10:57:21 +0000
//
void *__fastcall sub_10001D9A4(__int64 a1, unsigned __int64 a2)
{
if ( a2 >> 58 )
sub_1000098D8();
return operator new(a2 << 6);
}