//
// sub_77EAB4 from 0x77eab4 to 0x77eb18 (100 bytes)
//
// 3 xrefs:
// > EditorSFXManager::encodeSound @ 0x77ec4e
// > EditorSFXManager::encodeSound @ 0x77ecb8
// > EditorSFXManager::encodeSound @ 0x77ecf2
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:59:26 +0000
//
_DWORD *__fastcall sub_77EAB4(int *a1, int a2)
{
float v2; // s0
int v5; // r1
int v6; // r1
char v8[48]; // [sp+Ch] [bp-38h] BYREF
v5 = *(unsigned __int8 *)a1;
if ( (v5 & 1) != 0 )
v6 = a1[1];
else
v6 = v5 >> 1;
if ( v6 )
std::string::push_back(a1, 44);
sub_993B88(v8, 48, "%d,%g", a2, v2);
return std::string::append(a1, v8);
}