//
// sub_1007470B0 from 0x1007470b0 to 0x1007470ce (30 bytes)
//
// 3 xrefs:
// > sub_1007FF1E0 @ 0x1007ff225
// > sub_1007FF240 @ 0x1007ff249
// > sub_1007FF280 @ 0x1007ff2da
//
// 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:36:31 +0000
//
__int64 __fastcall sub_1007470B0(__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;
}