//
// sub_F4E460 from 0xf4e460 to 0xf4e590 (304 bytes)
//
// 0 xrefs:
//
// 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 13:13:15 +0000
//
__n128 __fastcall sub_F4E460(__n128 *a1, __int64 *a2)
{
__int64 v3; // x8
char *v4; // x20
unsigned __int64 v5; // x8
unsigned __int64 v6; // x8
unsigned __int64 v7; // x8
unsigned __int64 v8; // x8
unsigned __int64 v9; // x8
unsigned __int64 v10; // x8
unsigned __int64 v11; // x8
unsigned __int64 v12; // x8
unsigned __int64 v13; // x8
unsigned __int64 v14; // x8
unsigned __int64 v15; // x8
__n128 result; // q0
a1->n128_u64[0] = (unsigned __int64)off_1533118;
a1[1].n128_u64[1] = (unsigned __int64)off_1533140;
a1->n128_u64[1] = a2[1];
v3 = *a2;
a2[1] = 0;
v4 = (char *)a2 + *(_QWORD *)(v3 - 24);
a1[2].n128_u32[0] = *((_DWORD *)v4 + 2);
a1[2].n128_u64[1] = *((_QWORD *)v4 + 2);
a1[3].n128_u64[0] = *((_QWORD *)v4 + 3);
v5 = *((_QWORD *)v4 + 4);
a1[4].n128_u64[0] = 0;
a1[3].n128_u64[1] = v5;
std::locale::locale((std::locale *)&a1[4].n128_i8[8], (const std::locale *)(v4 + 48));
a1[5].n128_u64[0] = *((_QWORD *)v4 + 7);
v6 = *((_QWORD *)v4 + 8);
*((_QWORD *)v4 + 7) = 0;
a1[5].n128_u64[1] = v6;
v7 = *((_QWORD *)v4 + 9);
*((_QWORD *)v4 + 8) = 0;
a1[6].n128_u64[0] = v7;
v8 = *((_QWORD *)v4 + 10);
*((_QWORD *)v4 + 9) = 0;
a1[6].n128_u64[1] = v8;
v9 = *((_QWORD *)v4 + 11);
*((_QWORD *)v4 + 10) = 0;
a1[7].n128_u64[0] = v9;
v10 = *((_QWORD *)v4 + 12);
*((_QWORD *)v4 + 11) = 0;
a1[7].n128_u64[1] = v10;
v11 = *((_QWORD *)v4 + 13);
*((_QWORD *)v4 + 12) = 0;
a1[8].n128_u64[0] = v11;
v12 = *((_QWORD *)v4 + 14);
*((_QWORD *)v4 + 13) = 0;
a1[8].n128_u64[1] = v12;
v13 = *((_QWORD *)v4 + 15);
*((_QWORD *)v4 + 14) = 0;
a1[9].n128_u64[0] = v13;
v14 = *((_QWORD *)v4 + 16);
*((_QWORD *)v4 + 15) = 0;
result.n128_u64[0] = (unsigned __int64)off_1532F18;
a1[9].n128_u64[1] = v14;
v15 = *((_QWORD *)v4 + 17);
*((_QWORD *)v4 + 16) = 0;
result.n128_u64[1] = (unsigned __int64)off_1532F40;
a1[10].n128_u64[0] = v15;
LODWORD(v15) = *((_DWORD *)v4 + 36);
*((_QWORD *)v4 + 17) = 0;
a1->n128_u64[0] = (unsigned __int64)off_1532EF0;
a1[10].n128_u32[2] = v15;
a1[1] = result;
return result;
}