// // ThreadViewPopup::requestDeleteMessage from 0x749bb4 to 0x749ca4 (240 bytes) // // 2 xrefs: // > ThreadMessageOptionsPopup::FLAlert_Clicked @ 0x749cce // > ThreadMessageOptionsPopup::onAction @ 0x749d10 // // 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:58:45 +0000 // int __fastcall ThreadViewPopup::requestDeleteMessage(ThreadViewPopup *this, __int64 a2) { __int64 v5; // r0 _QWORD *v6; // r10 int v7; // r8 int v8; // r0 const char *v9; // r8 GameManager *v10; // r11 int v11; // r3 int updated; // r0 int v13; // r8 int v14; // r0 GameManager *v15; // r11 const char *v16; // r1 cocos2d::CCString *v17; // r0 size_t v18; // r0 const char *v20; // [sp+8h] [bp-1Ch] const char *CString; // [sp+Ch] [bp-18h] int v22; // [sp+10h] [bp-14h] BYREF int v23; // [sp+14h] [bp-10h] int v24; // [sp+18h] [bp-Ch] v6 = (_QWORD *)((char *)this + 800); v5 = *((_QWORD *)this + 100); if ( !v5 && a2 >= 1 ) { v7 = *((unsigned __int8 *)this + 599); if ( *((_BYTE *)this + 599) ) { v8 = GameLevelManager::sharedState(nullptr); v9 = *(const char **)(*((_DWORD *)this + 141) + 52); v22 = 0; v23 = 0; v24 = 0; v10 = (GameManager *)v8; std::string::__init(&v22, "deleteMessage", 0xDu); updated = GameLevelManager::adminThreadAction(v10, v9, (unsigned __int8 *)&v22, v11, a2, SHIDWORD(a2)); } else { v14 = GameLevelManager::sharedState(nullptr); v20 = *(const char **)(*((_DWORD *)this + 141) + 52); v15 = (GameManager *)v14; v17 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%lli", v16, a2); v22 = v7; v23 = v7; v24 = v7; CString = (const char *)cocos2d::CCString::getCString(v17); v18 = strlen(CString); std::string::__init(&v22, CString, v18); updated = GameLevelManager::updateThread(v15, v20, 12, (unsigned __int8 *)&v22); } v13 = updated; LODWORD(v5) = std::string::~string((int)&v22); if ( v13 ) { *v6 = a2; LODWORD(v5) = GameLevelManager::sharedState((GameLevelManager *)v5); *(_DWORD *)(v5 + 840) = (char *)this + 524; } } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source