//
// sub_600614 from 0x600614 to 0x60062a (22 bytes)
//
// 22 xrefs:
// > sub_606FE0 @ 0x606ff6
// > sub_606FE0 @ 0x607008
// > sub_606FE0 @ 0x60701e
// > sub_607280 @ 0x607296
// > sub_607280 @ 0x6072a8
// > sub_607280 @ 0x6072be
// > sub_607480 @ 0x6075ce
// > sub_607480 @ 0x6075fe
// > sub_607480 @ 0x607638
// > sub_607480 @ 0x607642
// > sub_607480 @ 0x607660
// > sub_607480 @ 0x607674
// > sub_607480 @ 0x607684
// > sub_6076AC @ 0x6077fa
// > sub_6076AC @ 0x60782a
// > sub_6076AC @ 0x607864
// > sub_6076AC @ 0x60786e
// > sub_6076AC @ 0x60788c
// > sub_6076AC @ 0x6078a0
// > sub_6076AC @ 0x6078b0
// > pugi::xpath_node_set::sort @ 0x607ae4
// > sub_607BBC @ 0x607c9c
//
// 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
//
int __fastcall sub_600614(int *a1, int *a2)
{
int v4; // r5
int v5; // r4
int result; // r0
int v7; // r1
v4 = *a1;
v5 = a1[1];
result = *a2;
v7 = a2[1];
*a1 = result;
a1[1] = v7;
*a2 = v4;
a2[1] = v5;
return result;
}