// // SFXFolderPickerPopup::updateShareHint from 0xc3a7d8 to 0xc3a9a8 (464 bytes) // // 3 xrefs: // > SFXFolderPickerPopup::refreshList @ 0xc3c520 // > SFXFolderPickerPopup::init @ 0xc3ce10 // > @ 0x75f88 // // 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 13:04:53 +0000 // __int64 __fastcall SFXFolderPickerPopup::updateShareHint(SFXFolderPickerPopup *this) { __int64 v3; // x21 MusicDownloadManager *v4; // x0 void (__fastcall *v5)(__int64, __int64); // x22 cocos2d::CCString *v6; // x0 __int64 CString; // x0 void (*v8)(void); // x2 __int64 v9; // x0 ButtonSprite *v10; // x0 MusicDownloadManager *v11; // x0 unsigned int CustomSFXCount; // w0 __int64 v13; // x22 int v14; // w21 void (__fastcall *v15)(__int64, __int64); // x23 cocos2d::CCString *v16; // x0 __int64 v17; // x0 __int64 v18; // x0 ButtonSprite *v19; // x0 char v20; // [xsp+40h] [xbp+40h] char v21; // [xsp+41h] [xbp+41h] char v22; // [xsp+42h] [xbp+42h] if ( *((_DWORD *)this + 168) != 2 ) return _stack_chk_guard; v3 = *((_QWORD *)this + 97); if ( !v3 ) return _stack_chk_guard; v4 = *((MusicDownloadManager **)this + 90); if ( !v4 ) { v5 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 928LL); v6 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Saved with this level: %i/%i entries", nullptr, 1000); CString = cocos2d::CCString::getCString(v6); v5(v3, CString); cocos2d::CCLabelBMFont::limitLabelWidth(*((cocos2d::CCLabelBMFont **)this + 97), 280.0, 0.5, 0.3); v8 = *(void (**)(void))(**((_QWORD **)this + 97) + 1072LL); goto LABEL_6; } v11 = (MusicDownloadManager *)MusicDownloadManager::sharedState(v4); CustomSFXCount = MusicDownloadManager::getCustomSFXCount(v11, (_QWORD *)this + 88); v13 = *((_QWORD *)this + 97); v14 = CustomSFXCount; v15 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v13 + 928LL); v16 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Saved with this level: %i/%i entries", (const char *)CustomSFXCount, 1000); v17 = cocos2d::CCString::getCString(v16); v15(v13, v17); cocos2d::CCLabelBMFont::limitLabelWidth(*((cocos2d::CCLabelBMFont **)this + 97), 280.0, 0.5, 0.3); v8 = *(void (**)(void))(**((_QWORD **)this + 97) + 1072LL); if ( v14 <= 1000 ) { LABEL_6: v20 = -1; v21 = -1; v22 = -1; v8(); v9 = *((_QWORD *)this + 96); if ( v9 ) { (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v9 + 1056LL))(v9, 1); v10 = (ButtonSprite *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 96) + 1072LL))(*((_QWORD *)this + 96)); ButtonSprite::updateBGImage(v10, "GJ_button_01.png"); } return _stack_chk_guard; } v20 = -1; v21 = 90; v22 = 90; v8(); v18 = *((_QWORD *)this + 96); if ( v18 ) { (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v18 + 1056LL))(v18, 0); v19 = (ButtonSprite *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 96) + 1072LL))(*((_QWORD *)this + 96)); ButtonSprite::updateBGImage(v19, "GJ_button_04.png"); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source