//
// sub_140005660 from 0x140005660 to 0x140005741 (225 bytes)
//
// 2 xrefs:
// > ??> @ 0x1406d13f8
// > ??> @ 0x14090e7c8
//
// 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 11:25:24 +0000
//
// Hidden C++ exception states: #wind=3
int sub_140005660()
{
_QWORD *v0; // rax
__m128i *p_si128; // rbx
_BYTE v3[16]; // [rsp+20h] [rbp-38h] BYREF
__m128i si128; // [rsp+30h] [rbp-28h] BYREF
int v5; // [rsp+40h] [rbp-18h]
int v6; // [rsp+44h] [rbp-14h]
__int64 v7; // [rsp+48h] [rbp-10h] BYREF
si128 = _mm_load_si128((const __m128i *)&xmmword_1408368A0);
v5 = 10005;
v6 = 10006;
v0 = operator new(0x18u);
*v0 = v0;
v0[1] = v0;
qword_14090C018 = (__int64)v0;
qword_14090C028 = 0;
xmmword_14090C030 = 0;
qword_14090C040 = 7;
qword_14090C048 = 8;
dword_14090C010 = 1065353216;
sub_14003F200(&qword_14090C028, 16, v0);
p_si128 = &si128;
do
{
sub_140068190(&dword_14090C010, v3, p_si128);
p_si128 = (__m128i *)((char *)p_si128 + 4);
}
while ( p_si128 != (__m128i *)&v7 );
return atexit(sub_1406CD190);
}