// // sub_100152E1C from 0x100152e1c to 0x100152eb0 (148 bytes) // // 2 xrefs: // > CustomSongWidget::updateMultiAssetInfo @ 0x1000fdc94 // > CustomSFXWidget::updateSFXInfo @ 0x1002f1170 // // 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 // _QWORD *__usercall sub_100152E1C@(int a1@, _QWORD *a2@) { unsigned int v3; // w9 const char *v4; // x8 float v5; // s1 float v6; // s0 bool v7; // cf cocos2d::CCString *v8; // x0 char *CString; // x1 v3 = 0; v4 = (const char *)&unk_10086B7F8; 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 = (cocos2d::CCString *)sub_100268F4C("%0.1f %s", v6, v4); CString = (char *)cocos2d::CCString::getCString(v8); return sub_100009900(a2, CString); }
GD Web Decomp Icon

GD Web Decomp

Raw Source