//
// sub_844F50 from 0x844f50 to 0x844f82 (50 bytes)
//
// 6 xrefs:
// > sub_824FEC @ 0x825050
// > sub_8250F4 @ 0x82513a
// > ??> @ 0x833e24
// > sub_8419F8 @ 0x841a4a
// > sub_84B4A8 @ 0x84b4ce
// > sub_84C750 @ 0x84c7d6
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:02:23 +0000
//
void *__fastcall sub_844F50(void *a1, size_t a2)
{
void *v4; // r4
_BOOL4 v5; // r3
v4 = off_D200B4(a1, a2);
v5 = v4 == nullptr;
if ( !a2 )
v5 = 0;
if ( v5 )
off_D200B0(a1);
return v4;
}