// // EditorSoundConfigInfoLayer::refreshActionButtons from 0xccd934 to 0xccdba4 (624 bytes) // // 9 xrefs: // > EditorSoundConfigInfoLayer::startDownload @ 0xccdbf4 // > EditorSoundConfigInfoLayer::downloadEditorSoundFailed @ 0xccdc9c // > EditorSoundConfigInfoLayer::onFavorite @ 0xccdf20 // > EditorSoundConfigInfoLayer::onFavorite @ 0xccdffc // > EditorSoundConfigInfoLayer::downloadEditorSoundFinished @ 0xccf448 // > EditorSoundConfigInfoLayer::downloadEditorSoundFinished @ 0xccf4ec // > EditorSoundConfigInfoLayer::init @ 0xcd2140 // > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0xcd37fc // > @ 0xe5b58 // // 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:06:25 +0000 // __int64 __fastcall EditorSoundConfigInfoLayer::refreshActionButtons(EditorSoundConfigInfoLayer *this) { unsigned __int8 *v2; // x0 int v3; // w20 EditorSFXManager *v4; // x0 EditorSFXManager *v5; // x0 _BOOL4 v6; // w22 __int64 v7; // x0 void (*v8)(void); // x2 __int64 v9; // x0 void (*v10)(void); // x2 __int64 v11; // x0 void (*v12)(void); // x2 const char *v13; // x21 cocos2d::CCSpriteFrameCache **v14; // x0 cocos2d::CCSpriteFrameCache **v15; // x22 cocos2d::CCSpriteFrameCache *v16; // x0 void (__fastcall *v17)(cocos2d::CCSpriteFrameCache **, __int64); // x23 cocos2d::CCSpriteFrameCache *v18; // x0 __int64 v19; // x0 __int64 v20; // x0 __int64 v21; // x1 __int64 v22; // x0 __int64 v23; // x0 __int64 v24; // x0 __int64 v25; // x1 unsigned int v26; // w21 __int64 v27; // x0 __int64 result; // x0 __int64 v29; // x1 __int64 v30; // x0 __int64 v31; // x0 v2 = *((unsigned __int8 **)this + 136); if ( v2 ) { v3 = v2[496]; v4 = (EditorSFXManager *)EditorSFXManager::sharedState((EditorSFXManager *)v2); if ( v4 ) { v5 = (EditorSFXManager *)EditorSFXManager::sharedState(v4); v6 = EditorSFXManager::getFavoriteConfig(v5, *(_DWORD *)(*((_QWORD *)this + 136) + 316LL)) != 0; } else { v6 = 0; } v7 = *((_QWORD *)this + 143); if ( !v7 ) goto LABEL_7; v8 = *(void (**)(void))(*(_QWORD *)v7 + 1056LL); LABEL_6: v8(); LABEL_7: v9 = *((_QWORD *)this + 144); if ( !v9 ) goto LABEL_10; v10 = *(void (**)(void))(*(_QWORD *)v9 + 1056LL); goto LABEL_9; } v30 = *((_QWORD *)this + 143); if ( v30 ) { v3 = 0; v6 = 0; v8 = *(void (**)(void))(*(_QWORD *)v30 + 1056LL); goto LABEL_6; } v31 = *((_QWORD *)this + 144); v3 = 0; v6 = 0; if ( v31 ) { v10 = *(void (**)(void))(*(_QWORD *)v31 + 1056LL); LABEL_9: v10(); } LABEL_10: v11 = *((_QWORD *)this + 145); if ( v11 ) { v12 = *(void (**)(void))(*(_QWORD *)v11 + 1056LL); if ( v3 | v6 ) { v13 = "gj_heartOn_001.png"; v12(); if ( !v6 ) v13 = "gj_heartOff_001.png"; } else { v13 = "gj_heartOff_001.png"; v12(); } v14 = (cocos2d::CCSpriteFrameCache **)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 145) + 1072LL))(*((_QWORD *)this + 145)); v15 = v14; if ( v14 ) { v16 = *v14; v17 = *((void (__fastcall **)(cocos2d::CCSpriteFrameCache **, __int64))v16 + 145); v18 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v16); v19 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v18, v13); v17(v15, v19); } } v20 = *((_QWORD *)this + 148); if ( v20 ) { v21 = 0; if ( v3 ) v21 = *((unsigned __int8 *)this + 1120) ^ 1u; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v20 + 1056LL))(v20, v21); } v22 = *((_QWORD *)this + 146); if ( v22 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v22 + 1056LL))(v22, *((unsigned __int8 *)this + 1120) ^ 1u); v23 = *((_QWORD *)this + 147); if ( v23 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v23 + 1056LL))(v23, *((unsigned __int8 *)this + 1120) ^ 1u); v24 = *((_QWORD *)this + 149); if ( v24 ) { v25 = *((_QWORD *)this + 136); if ( v25 && *(int *)(v25 + 316) > 0 ) v26 = *((unsigned __int8 *)this + 1120) ^ 1; else v26 = 0; (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v24 + 344LL))(v24, v26); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 149) + 1056LL))(*((_QWORD *)this + 149), v26); } v27 = *((_QWORD *)this + 151); if ( v27 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v27 + 1056LL))(v27, *((unsigned __int8 *)this + 1120) ^ 1u); result = *((_QWORD *)this + 152); if ( result ) { v29 = 0; if ( v3 ) v29 = *((unsigned __int8 *)this + 1120) ^ 1u; return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)result + 1056LL))(result, v29); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source