// // ThreadViewPopup::requestDeleteMessage from 0xc6903c to 0xc691b0 (372 bytes) // // 3 xrefs: // > ThreadMessageOptionsPopup::FLAlert_Clicked @ 0xc691f8 // > ThreadMessageOptionsPopup::onAction @ 0xc69340 // > @ 0xf8020 // // 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:05:26 +0000 // __int64 __fastcall ThreadViewPopup::requestDeleteMessage(ThreadViewPopup *this, const char *a2) { GameLevelManager *v4; // x0 cocos2d::CCObject *v5; // x24 unsigned int v6; // w23 cocos2d::CCString *v7; // x0 size_t v8; // x0 GameLevelManager *updated; // x0 int v10; // w21 cocos2d::CCObject *v12; // x24 unsigned int v13; // w23 char *CString; // [xsp+40h] [xbp+40h] __int64 v15; // [xsp+50h] [xbp+50h] BYREF __int64 v16; // [xsp+58h] [xbp+58h] void *v17; // [xsp+60h] [xbp+60h] if ( (__int64)a2 <= 0 || *((_QWORD *)this + 137) ) return _stack_chk_guard; v4 = (GameLevelManager *)*((unsigned __int8 *)this + 791); if ( *((_BYTE *)this + 791) ) { v12 = (cocos2d::CCObject *)GameLevelManager::sharedState(v4); v13 = *(_DWORD *)(*((_QWORD *)this + 94) + 56LL); v15 = 0; v16 = 0; v17 = nullptr; std::string::__init(&v15, "deleteMessage", 0xDu); updated = (GameLevelManager *)GameLevelManager::adminThreadAction( v12, (char *)v13, (unsigned __int8 *)&v15, (__int64)a2); v10 = (unsigned __int8)updated; if ( (v15 & 1) == 0 ) goto LABEL_5; } else { v5 = (cocos2d::CCObject *)GameLevelManager::sharedState(v4); v6 = *(_DWORD *)(*((_QWORD *)this + 94) + 56LL); v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%lli", a2); v15 = 0; CString = (char *)cocos2d::CCString::getCString(v7); v16 = 0; v17 = nullptr; v8 = strlen(CString); std::string::__init(&v15, CString, v8); updated = (GameLevelManager *)GameLevelManager::updateThread(v5, (char *)v6, 12, (char *)&v15); v10 = (unsigned __int8)updated; if ( (v15 & 1) == 0 ) goto LABEL_5; } operator delete(v17); LABEL_5: if ( v10 ) { *((_QWORD *)this + 137) = a2; *(_QWORD *)(GameLevelManager::sharedState(updated) + 1264) = (char *)this + 672; } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source