// // sub_14033C3F0 from 0x14033c3f0 to 0x14033c4fc (268 bytes) // // 3 xrefs: // > CustomSFXWidget::updateSFXInfo @ 0x1400c20bf // > CustomSongWidget::updateMultiAssetInfo @ 0x1400ccad5 // > @ 0x1406d5528 // // 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 *__fastcall sub_14033C3F0(_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 = (char *)&unk_1406BA1E0 + 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_14003A930(a1, CString, v9); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source