// // SFXBrowser::FLAlert_Clicked from 0x6c49cc to 0x6c4b48 (380 bytes) // // 1 xrefs: // > `non-virtual thunk to'SFXBrowser::FLAlert_Clicked @ 0x6c4b60 // // 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:56:53 +0000 // char *__fastcall SFXBrowser::FLAlert_Clicked(SFXBrowser *this, FLAlertLayer *a2, int a3) { char *result; // r0 int v7; // r2 int v8; // r3 int v9; // r3 GameManager *v10; // r9 int v11; // r3 unsigned __int8 *v12; // r8 cocos2d::CCString *v13; // r0 const char *CString; // r0 const char *v15; // r9 size_t v16; // r0 void (__fastcall *v17)(SFXBrowser *, cocos2d::CCNode *, int); // r10 cocos2d::CCNode *v18; // r0 char *v19; // [sp+8h] [bp-30h] BYREF int v20; // [sp+Ch] [bp-2Ch] BYREF int v21[3]; // [sp+10h] [bp-28h] BYREF int v22[3]; // [sp+1Ch] [bp-1Ch] BYREF int v23; // [sp+28h] [bp-10h] BYREF int v24; // [sp+2Ch] [bp-Ch] int v25; // [sp+30h] [bp-8h] result = (char *)(*(int (__fastcall **)(FLAlertLayer *))(*(_DWORD *)a2 + 32))(a2); if ( result == &byte_9[1] ) { if ( a3 ) return (char *)SFXBrowser::executeBatchDelete(this); } else { result = (char *)(*(int (__fastcall **)(FLAlertLayer *))(*(_DWORD *)a2 + 32))(a2); if ( result == &byte_9[2] ) { if ( a3 ) { result = (char *)GameManager::sharedState((GameManager *)&byte_9[2]); if ( *((_DWORD *)result + 102) ) { result = (char *)GameManager::sharedState((GameManager *)result); if ( *(_DWORD *)(*((_DWORD *)result + 102) + 2084) ) { result = (char *)GameManager::sharedState((GameManager *)result); v7 = *(_DWORD *)(*((_DWORD *)result + 102) + 2084); v8 = *(unsigned __int8 *)(v7 + 464); if ( (v8 & 1) != 0 ) v9 = *(_DWORD *)(v7 + 468); else v9 = v8 >> 1; if ( v9 ) { v19 = nullptr; v20 = 0; v10 = (GameManager *)MusicDownloadManager::sharedState((MusicDownloadManager *)result); v11 = *(_DWORD *)(*(_DWORD *)(GameManager::sharedState(v10) + 408) + 2084); v23 = 0; v12 = (unsigned __int8 *)(v11 + 464); v24 = 0; v25 = 0; std::string::__init(&v23, &unk_B6B226, 0); MusicDownloadManager::importCustomSFXSetup( (cocos2d::CCDictionary **)v10, v12, (int)&v23, 1, (int *)&v19, &v20); std::string::~string((int)&v23); v13 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"Imported %i", v19); CString = (const char *)cocos2d::CCString::getCString(v13); memset(v21, 0, sizeof(v21)); v15 = CString; v16 = strlen(CString); std::string::__init(v21, v15, v16); v17 = *(void (__fastcall **)(SFXBrowser *, cocos2d::CCNode *, int))(*(_DWORD *)this + 232); std::string::basic_string(v22, (int)v21); v23 = 0; v24 = 0; v25 = 0; std::string::__init(&v23, &unk_B6B226, 0); v18 = TextAlertPopup::create((int)v22, (cocos2d::CCDelayTime *)0x3F666666, 0.5, 150, (int)&v23); v17(this, v18, 100); std::string::~string((int)&v23); std::string::~string((int)v22); FLAlertLayer::requestRebuild(this); return (char *)std::string::~string((int)v21); } } } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source