//
// sub_100667B80 from 0x100667b80 to 0x100667b9e (30 bytes)
//
// 3 xrefs:
// > sub_1007202C0 @ 0x100720305
// > sub_100720320 @ 0x100720329
// > sub_100720360 @ 0x1007203ba
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_100667B80(__int64 a1, unsigned int a2, unsigned int a3)
{
__int64 result; // rax
__int64 v4; // rcx
__int64 v5; // rsi
result = *(_QWORD *)(a1 + 16);
v4 = a2;
v5 = *(_QWORD *)(result + 8LL * a2);
*(_QWORD *)(result + 8 * v4) = *(_QWORD *)(result + 8LL * a3);
*(_QWORD *)(result + 8LL * a3) = v5;
return result;
}