//
// sub_1001D1978 from 0x1001d1978 to 0x1001d1a0c (148 bytes)
//
// 8 xrefs:
// > CustomSongWidget::updateMultiAssetInfo @ 0x100122578
// > CustomSongWidget::updateMultiAssetInfo @ 0x100122590
// > CustomSongWidget::updateMultiAssetInfo @ 0x10012260c
// > sub_10038CC88 @ 0x10038cfdc
// > sub_1005302A4 @ 0x100530348
// > sub_10053053C @ 0x100530cc0
// > sub_100531AA4 @ 0x100531b14
// > sub_1005331C8 @ 0x1005332a0
//
// 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 11:00:23 +0000
//
_QWORD *__usercall sub_1001D1978@(int a1@, _QWORD *a2@)
{
unsigned int v3; // w9
const char *v4; // x8
float v5; // s1
float v6; // s0
bool v7; // cf
__int64 v8; // x0
char *CString; // x1
v3 = 0;
v4 = (const char *)&unk_1009F4618;
v5 = (float)a1;
do
{
v6 = v5;
v5 = v5 * 0.00097656;
v7 = roundf(v5) < 1.0 || v3++ >= 2;
v4 += 24;
}
while ( !v7 );
if ( v4[23] < 0 )
v4 = *(const char **)v4;
v8 = sub_1003065B0("%0.1f %s", v6, v4);
CString = (char *)cocos2d::CCString::getCString(v8);
return sub_100009900(a2, CString);
}