//
// sub_10001843C from 0x10001843c to 0x100018470 (52 bytes)
//
// 12 xrefs:
// > sub_10000D038 @ 0x10000d0ac
// > sub_100015DB8 @ 0x100015df0
// > sub_100018404 @ 0x10001841c
// > sub_100054FDC @ 0x10005504c
// > sub_1000CFF30 @ 0x1000cffd0
// > sub_1000D0100 @ 0x1000d01a0
// > sub_1000DA69C @ 0x1000da724
// > sub_100151964 @ 0x1001519d4
// > sub_1001A1818 @ 0x1001a1888
// > sub_10022061C @ 0x100220690
// > sub_100287580 @ 0x100287600
// > sub_100441240 @ 0x1004412c0
//
// 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:19 +0000
//
void *__fastcall sub_10001843C(__int64 a1, unsigned __int64 a2)
{
if ( a2 >> 62 )
sub_1000098D8();
return operator new(4 * a2);
}