//
// sub_634ED0 from 0x634ed0 to 0x634f02 (50 bytes)
//
// 6 xrefs:
// > sub_614F6C @ 0x614fd0
// > sub_615074 @ 0x6150ba
// > ??> @ 0x623da4
// > sub_631978 @ 0x6319ca
// > sub_63B428 @ 0x63b44e
// > sub_63C6D0 @ 0x63c756
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void *__fastcall sub_634ED0(void *a1, size_t a2)
{
void *v4; // r4
_BOOL4 v5; // r3
v4 = off_ABAEB4(a1, a2);
v5 = v4 == nullptr;
if ( !a2 )
v5 = 0;
if ( v5 )
off_ABAEB0(a1);
return v4;
}