//
// sub_1006961B8 from 0x1006961b8 to 0x100696238 (128 bytes)
//
// 5 xrefs:
// > sub_10069ECEC @ 0x10069ed28
// > sub_1006A4B0C @ 0x1006a4ee0
// > sub_1006A4B0C @ 0x1006a4f80
// > sub_1006A4B0C @ 0x1006a5064
// > sub_1006A4B0C @ 0x1006a510c
//
// 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:11:34 +0000
//
_QWORD *__fastcall sub_1006961B8(__int64 a1)
{
_QWORD *v2; // x19
void *v3; // x0
v2 = off_1009E5FD0(0x10u);
if ( v2 )
{
v3 = off_1009E5FD0(*(unsigned int *)(a1 + 24));
v2[1] = v3;
if ( v3 )
{
*v2 = a1;
(*(void (**)(void))a1)();
}
else
{
off_1009E5FD8(v2);
return nullptr;
}
}
return v2;
}