//
// sub_1006DEAB0 from 0x1006deab0 to 0x1006dead3 (35 bytes)
//
// 2 xrefs:
// > ??> @ 0x100b92850
// > ??> @ 0x100b92910
//
// This function is hookable on this platform (idp: pc, 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 12:35:44 +0000
//
__int64 __fastcall sub_1006DEAB0(_QWORD *a1)
{
__int64 (__fastcall *v1)(_QWORD); // rcx
_QWORD *v2; // rdi
v1 = (__int64 (__fastcall *)(_QWORD))a1[3];
v2 = (_QWORD *)(a1[4] + a1[2]);
if ( ((unsigned __int8)v1 & 1) != 0 )
v1 = *(__int64 (__fastcall **)(_QWORD))((char *)v1 + *v2 - 1);
return v1(v2);
}