//
// sub_140481930 from 0x140481930 to 0x140481a3c (268 bytes)
//
// 9 xrefs:
// > AutoBackupPopup::buildRows @ 0x1400cb4a7
// > AutoBackupPopup::onDeleteSelected @ 0x1400cc81a
// > sub_1400CCB90 @ 0x1400ccd20
// > AutoBackupOptionsPopup::onDeleteAll @ 0x1400cec8a
// > CustomSFXWidget::updateSFXInfo @ 0x14016275f
// > CustomSongWidget::updateMultiAssetInfo @ 0x14016db66
// > CustomSongWidget::updateMultiAssetInfo @ 0x14016db82
// > CustomSongWidget::updateMultiAssetInfo @ 0x14016dbfe
// > ??> @ 0x140928934
//
// 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 11:32:45 +0000
//
_QWORD *__fastcall sub_140481930(_QWORD *a1, int a2)
{
int v3; // ebx
float v4; // xmm7_4
float i; // xmm6_4
char *v6; // r8
cocos2d::CCString *v7; // rax
const char *CString; // rax
size_t v9; // r8
v3 = 0;
v4 = (float)a2;
for ( i = (float)a2 * 0.0009765625; roundf(i) >= 1.0; i = i * 0.0009765625 )
{
if ( v3 >= 2 )
break;
v4 = i;
++v3;
}
v6 = &byte_1408FE560[32 * v3];
if ( *((_QWORD *)v6 + 3) > 0xFu )
v6 = *(char **)v6;
v7 = cocos2d::CCString::createWithFormat("%0.1f %s", v4, v6);
CString = cocos2d::CCString::getCString(v7);
v9 = -1;
*(_OWORD *)a1 = 0;
a1[2] = 0;
a1[3] = 0;
do
++v9;
while ( CString[v9] );
sub_14003D230(a1, CString, v9);
return a1;
}