// // CustomSFXWidget::downloadFailed from 0x1006b8620 to 0x1006b86c6 (166 bytes) // // 2 xrefs: // > CustomSFXWidget::downloadSFXFailed @ 0x1006b88a1 // > sub_1006B8950 @ 0x1006b89fb // // 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:28 +0000 // __int64 __fastcall CustomSFXWidget::downloadFailed(__int64 a1) { __int64 v2; // rdi __int64 v3; // r14 _OWORD *v4; // r15 __int64 v5; // rax __int64 v6; // rax v2 = *(_QWORD *)(a1 + 472); if ( v2 && (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v2 + 352LL))(v2) ) { cocos2d::CCNode::stopAllActions(*(_QWORD *)(a1 + 472)); v3 = *(_QWORD *)(a1 + 472); v4 = cocos2d::CCFadeTo::create(0, (__m128)0x3E4CCCCDu); v5 = cocos2d::CCHide::create(0); v6 = sub_10039EB60((__int64)v4, v5, 0); cocos2d::CCNode::runAction(v3, v6); } (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 456) + 344LL))(*(_QWORD *)(a1 + 456), 0); cocos2d::CCNode::unschedule(a1, (__int64)CustomSFXWidget::updateDownloadProgress, 0); *(_BYTE *)(a1 + 491) = 0; return CustomSFXWidget::updateSFXInfo(a1); }