//
// sub_100650820 from 0x100650820 to 0x100650866 (70 bytes)
//
// 1 xrefs:
// > sub_1006B7310 @ 0x1006b7341
//
// 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:34:49 +0000
//
_QWORD *__fastcall sub_100650820(__int64 a1, int a2, __m128 a3)
{
_QWORD *result; // rax
int v4[3]; // [rsp+0h] [rbp-Ch] BYREF
v4[0] = a2;
if ( a2 >= 2 )
{
result = (_QWORD *)sub_10001C120((__int64 *)(a1 + 648), v4);
if ( !result )
return sub_10001B800((float *)(a1 + 648), v4, v4, a3);
}
return result;
}