// // SFXFolderPickerPopup::updateShareHint from 0x1400c5e00 to 0x1400c5f92 (402 bytes) // // 3 xrefs: // > SFXFolderPickerPopup::init @ 0x1400c4d94 // > SFXFolderPickerPopup::refreshList @ 0x1400c5dfa // > @ 0x140913d00 // // 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 11:26:20 +0000 // // Hidden C++ exception states: #wind=1 void __fastcall SFXFolderPickerPopup::updateShareHint(__int64 a1) { int CustomSFXCount; // ebp __int64 v3; // rcx void (__fastcall **v4)(__int64, const char *); // rdi __int64 v5; // rbx cocos2d::CCString *v6; // rax const char *CString; // rax __int16 *v8; // rdx __int64 v9; // rdx __int64 v10; // rcx const char *v11; // rbx __int64 v12; // rax void *v13; // [rsp+40h] [rbp+8h] BYREF __int16 v14; // [rsp+48h] [rbp+10h] BYREF char v15; // [rsp+4Ah] [rbp+12h] if ( *(_DWORD *)(a1 + 672) == 2 && *(_QWORD *)(a1 + 760) ) { if ( *(_QWORD *)(a1 + 704) ) { v3 = qword_14090C070; if ( !qword_14090C070 ) { v13 = operator new(0x3D0u); qword_14090C070 = MusicDownloadManager::MusicDownloadManager(v13); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090C070 + 72LL))(qword_14090C070); v3 = qword_14090C070; } CustomSFXCount = MusicDownloadManager::getCustomSFXCount(v3, a1 + 696); } else { CustomSFXCount = 0; } v4 = *(void (__fastcall ***)(__int64, const char *))(*(_QWORD *)(a1 + 760) + 360LL); v5 = *(_QWORD *)(a1 + 760); v6 = cocos2d::CCString::createWithFormat("Saved with this level: %i/%i entries", CustomSFXCount, 1000); CString = cocos2d::CCString::getCString(v6); (*v4)(v5 + 360, CString); cocos2d::CCLabelBMFont::limitLabelWidth(*(cocos2d::CCLabelBMFont **)(a1 + 760), 280.0, 0.5, 0.30000001); if ( CustomSFXCount <= 1000 ) { v14 = -1; v15 = -1; v8 = &v14; } else { LOWORD(v13) = 23295; BYTE2(v13) = 90; v8 = (__int16 *)&v13; } (**(void (__fastcall ***)(__int64, __int16 *))(*(_QWORD *)(a1 + 760) + 368LL))(*(_QWORD *)(a1 + 760) + 368LL, v8); v10 = *(_QWORD *)(a1 + 752); if ( v10 ) { LOBYTE(v9) = CustomSFXCount <= 1000; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v10 + 936LL))(v10, v9); v11 = "GJ_button_01.png"; if ( CustomSFXCount > 1000 ) v11 = "GJ_button_04.png"; v12 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 752) + 952LL))(*(_QWORD *)(a1 + 752)); ButtonSprite::updateBGImage(v12, v11); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source