// // EditorSoundConfigInfoLayer::onLocalDelete from 0x7852d4 to 0x785398 (196 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:59:32 +0000 // EditorSFXManager *__fastcall EditorSoundConfigInfoLayer::onLocalDelete(EditorSFXManager *this, cocos2d::CCObject *a2) { EditorSFXManager *v2; // r4 int v3; // r2 const char *v4; // r6 EditorSFXManager *v5; // r0 cocos2d::CCArray **v6; // r0 size_t v7; // r0 int *v8; // r4 int v9[3]; // [sp+8h] [bp-14h] BYREF v2 = this; v3 = *((_DWORD *)this + 187); if ( v3 ) { if ( *((_DWORD *)this + 188) == 2 && *(int *)(v3 + 268) > 0 ) { v4 = "Delete this sound pack from your device?"; } else { v5 = (EditorSFXManager *)EditorSFXManager::sharedState(this); if ( v5 && (v6 = (cocos2d::CCArray **)EditorSFXManager::sharedState(v5), EditorSFXManager::getFavoriteConfig(v6, *(_DWORD *)(*((_DWORD *)v2 + 187) + 264))) ) { v4 = "Remove this sound pack from your Favorites?"; } else { v4 = "Discard the downloaded data and close?"; } } memset(v9, 0, sizeof(v9)); v7 = strlen(v4); std::string::__init(v9, v4, v7); v8 = FLAlertLayer::create( (int)v2 + 720, (cocos2d::CCLabelBMFont *)"Delete Sound Pack", (int)v9, (ButtonSprite *)"Cancel", (ButtonSprite *)"Delete", 380.0); std::string::~string((int)v9); (*(void (__fastcall **)(int *, int))(*v8 + 36))(v8, 7004); return (EditorSFXManager *)(*(int (__fastcall **)(int *))(*v8 + 656))(v8); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source