// // CustomSongWidget::showError from 0x1006fafe0 to 0x1006fb212 (562 bytes) // // 8 xrefs: // > CustomSongWidget::updateSongInfo @ 0x1006fa104 // > CustomSongWidget::deleteSong @ 0x1006fafb6 // > CustomSongWidget::loadSongInfoFailed @ 0x1006fcdca // > CustomSongWidget::updateError @ 0x1006fcf31 // > CustomSongWidget::downloadSongFinished @ 0x1006fd1ad // > CustomSongWidget::downloadSongFailed @ 0x1006fd551 // > CustomSongWidget::processNextMultiAsset @ 0x1006fd910 // > CustomSongWidget::processNextMultiAsset @ 0x1006fd93a // // 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 12:35:56 +0000 // __int64 __fastcall CustomSongWidget::showError(__int64 a1, char a2) { __int64 result; // rax __int64 v4; // rdi unsigned __int8 *v5; // rax int v6; // edx int v7; // ecx __int64 v8; // rdi float v9; // xmm0_4 __int64 v10; // r15 __m128 v11; // xmm0 __int64 v12; // r14 _OWORD *v13; // r15 _OWORD *v14; // rax __int64 v15; // rax __int64 v16; // rbx _OWORD *v17; // r14 _OWORD *v18; // rax __int64 v19; // rax float v20; // [rsp+0h] [rbp-30h] BYREF __int16 v21; // [rsp+8h] [rbp-28h] BYREF char v22; // [rsp+Ah] [rbp-26h] float v23; // [rsp+Ch] [rbp-24h] cocos2d::CCNode::stopAllActions(*(_QWORD *)(a1 + 376)); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 376) + 344LL))(*(_QWORD *)(a1 + 376), 1); result = (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 376) + 1024LL))(*(_QWORD *)(a1 + 376), 255); if ( *(_BYTE *)(a1 + 501) == 1 ) { v4 = *(_QWORD *)(a1 + 480); if ( v4 ) { cocos2d::CCNode::stopAllActions(v4); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 480) + 344LL))(*(_QWORD *)(a1 + 480), 1); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 480) + 912LL))(*(_QWORD *)(a1 + 480), 255); v5 = (unsigned __int8 *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 376) + 1056LL))(*(_QWORD *)(a1 + 376)); v6 = v5[1]; v7 = (int)(float)((float)*v5 * 0.5); v8 = *(_QWORD *)(a1 + 480); v22 = (int)(float)((float)v5[2] * 0.5); v21 = ((unsigned __int8)(int)(float)((float)v6 * 0.5) << 8) | (unsigned __int8)v7; (*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v8 + 960LL))(v8, &v21); v23 = *(float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 376) + 328LL))(*(_QWORD *)(a1 + 376)); v9 = (*(float (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 376) + 168LL))(*(_QWORD *)(a1 + 376)); v10 = *(_QWORD *)(a1 + 480); sub_100278260(&v20, (float)((float)(v9 * v23) + 10.0) / 0.2, 60.0); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v10 + 320LL))(v10, &v20); (*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 480) + 160LL))(*(_QWORD *)(a1 + 480), 0.2); } if ( a2 ) v11 = (__m128)0x3F4CCCCDu; else v11 = (__m128)0x3FCCCCCDu; v12 = *(_QWORD *)(a1 + 376); v23 = v11.f32[0]; v13 = cocos2d::CCDelayTime::create(v11); v14 = cocos2d::CCFadeTo::create(0, (__m128)0x3F000000u); v15 = sub_10039EB60((__int64)v13, v14, 0); result = cocos2d::CCNode::runAction(v12, v15); v16 = *(_QWORD *)(a1 + 480); if ( v16 ) { v17 = cocos2d::CCDelayTime::create((__m128)LODWORD(v23)); v18 = cocos2d::CCFadeTo::create(0, (__m128)0x3F000000u); v19 = sub_10039EB60((__int64)v17, v18, 0); return cocos2d::CCNode::runAction(v16, v19); } } return result; }