//
// sub_CC263C from 0xcc263c to 0xcc26f0 (180 bytes)
//
// 3 xrefs:
// > EditorSFXManager::encodeSound @ 0xcc2a40
// > EditorSFXManager::encodeSound @ 0xcc2a50
// > EditorSFXManager::encodeSound @ 0xcc2a60
//
// 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:06:18 +0000
//
__int64 __fastcall sub_CC263C(__int64 *a1, int a2, float a3)
{
unsigned __int8 v5; // w0
__int64 v6; // x1
size_t v7; // x0
float v9; // [xsp+30h] [xbp+30h]
int v10; // [xsp+48h] [xbp+48h]
char s[48]; // [xsp+58h] [xbp+58h] BYREF
v5 = *(_BYTE *)a1;
v6 = v5 >> 1;
if ( (v5 & 1) != 0 )
v6 = a1[1];
if ( v6 )
{
v9 = a3;
v10 = a2;
std::string::push_back(a1, 44);
a3 = v9;
a2 = v10;
}
snprintf(s, 0x30u, "%d,%g", a2, a3);
v7 = strlen(s);
std::string::append((__int64)a1, s, v7);
return _stack_chk_guard;
}