//
// sub_1006DDAF0 from 0x1006ddaf0 to 0x1006ddb40 (80 bytes)
//
// 3 xrefs:
// > sub_1006E5C4C @ 0x1006e5c70
// > sub_1006E837C @ 0x1006e8394
// > sub_1006E93CC @ 0x1006e9430
//
// 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:12:32 +0000
//
_QWORD *__fastcall sub_1006DDAF0(__int64 *a1)
{
_QWORD *v2; // x0
_QWORD *v3; // x19
if ( !a1 )
return nullptr;
v2 = sub_1006DD188(*a1);
v3 = v2;
if ( !v2 )
return nullptr;
if ( !(unsigned int)sub_1006DD538((__int64)v2, (__int64)a1) )
{
sub_1006DD280(v3);
return nullptr;
}
return v3;
}