//
// sub_600C18 from 0x600c18 to 0x600c64 (76 bytes)
//
// 1 xrefs:
// > sub_60A278 @ 0x60a948
//
// 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_600C18(int **a1, char a2, char a3, int a4, int *a5)
{
int *result; // r0
int v9; // r2
if ( a4 == 1 && *(_BYTE *)(*a5 + 1) != 1 )
sub_600BDC((int)a1, (int)"Function has to be applied to node set");
result = sub_600BF8(a1);
if ( result )
{
v9 = *a5;
if ( a4 )
a2 = a3;
*(_BYTE *)result = a2;
*((_BYTE *)result + 1) = 3;
result[1] = v9;
*((_BYTE *)result + 2) = 0;
*((_BYTE *)result + 3) = 0;
result[2] = 0;
result[3] = 0;
}
return result;
}