// // CustomSongWidget::updateError from 0x8688bc to 0x868a14 (344 bytes) // // 3 xrefs: // > CustomSongWidget::downloadSongFailed @ 0x86d194 // > CustomSongWidget::loadSongInfoFailed @ 0x86defc // > @ 0x6bc08 // // 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 12:55:41 +0000 // __int64 __fastcall CustomSongWidget::updateError(__int64 a1, int a2) { __int64 v4; // x0 void (__fastcall *v5)(__int64, _BYTE *); // x2 _BYTE v7[8]; // [xsp+30h] [xbp+30h] BYREF v4 = *(_QWORD *)(a1 + 376); v5 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v4 + 1072LL); v7[0] = -1; v7[1] = 50; v7[2] = 25; v5(v4, v7); switch ( a2 ) { case 2: (*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(a1 + 376) + 928LL))( *(_QWORD *)(a1 + 376), "Song is not allowed for use."); break; case 3: (*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(a1 + 376) + 928LL))( *(_QWORD *)(a1 + 376), "Download canceled."); break; case 1: (*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(a1 + 376) + 928LL))( *(_QWORD *)(a1 + 376), "Failed to fetch song info."); if ( !*(_BYTE *)(a1 + 501) ) goto LABEL_6; LABEL_9: cocos2d::CCLabelBMFont::limitLabelWidth(*(cocos2d::CCLabelBMFont **)(a1 + 376), 140.0, 0.35, 0.0); goto LABEL_7; default: (*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(a1 + 376) + 928LL))( *(_QWORD *)(a1 + 376), "Download failed. Please try later."); break; } if ( *(_BYTE *)(a1 + 501) ) goto LABEL_9; LABEL_6: cocos2d::CCLabelBMFont::limitLabelWidth(*(cocos2d::CCLabelBMFont **)(a1 + 376), 230.0, 0.4, 0.0); LABEL_7: CustomSongWidget::showError((cocos2d::CCNode **)a1, 0); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source