// // ThreadViewPopup::threadUpdateFinished from 0xc89368 to 0xc89704 (924 bytes) // // 3 xrefs: // > `non-virtual thunk to'ThreadViewPopup::threadUpdateFinished @ 0xc8970c // > @ 0xd1e78 // > @ 0x14ecac0 // // 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:43 +0000 // __int64 __fastcall ThreadViewPopup::threadUpdateFinished(ThreadViewPopup *this, GJMessageThread *a2, int a3) { __int64 v4; // x3 cocos2d::CCDirector *v6; // x0 __int64 v7; // x0 __int64 v8; // x1 __int64 v9; // x20 void (__fastcall *v10)(__int64, __int64, __int64); // x23 const char *v11; // x1 size_t v12; // x0 __int64 v13; // x0 signed int i; // w21 cocos2d::CCDirector *v15; // x0 __int64 v16; // x23 void (__fastcall *v17)(__int64, __int64, __int64); // x24 __int64 v18; // x0 GameLevelManager *v19; // x0 MemberListPopup *v20; // x0 __int64 v21; // x1 __int64 v22; // x0 cocos2d::CCDirector *v23; // x0 __int64 v24; // x20 void (__fastcall *v25)(__int64, __int64, __int64); // x23 __int64 v26; // x0 char *v27; // [xsp+48h] [xbp+48h] __int64 v28; // [xsp+58h] [xbp+58h] BYREF __int64 v29; // [xsp+60h] [xbp+60h] void *v30; // [xsp+68h] [xbp+68h] __int64 v31; // [xsp+70h] [xbp+70h] BYREF __int64 v32; // [xsp+78h] [xbp+78h] void *v33; // [xsp+80h] [xbp+80h] v4 = *((_QWORD *)this + 94); if ( *(_DWORD *)(v4 + 56) != (_DWORD)a2 ) return _stack_chk_guard; switch ( a3 ) { case 103: v21 = *((_QWORD *)this + 137); if ( !v21 ) return _stack_chk_guard; v22 = ThreadViewPopup::messageWithID((cocos2d::CCArray **)this, v21); if ( v22 ) *(_BYTE *)(v22 + 104) = 1; *((_QWORD *)this + 137) = 0; v23 = (cocos2d::CCDirector *)ThreadViewPopup::buildRows(this, 0); v24 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector(v23) + 272); v25 = *(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v24 + 464LL); v28 = 0; v29 = 0; v30 = nullptr; std::string::__init(&v28, "Message deleted", 0xFu); v31 = 0; v32 = 0; v33 = nullptr; std::string::__init(&v31, &byte_11B8890, 0); v26 = TextAlertPopup::create((char *)&v28, 150, (char *)&v31, 0.5, 0.6); v25(v24, v26, 1000); LABEL_11: if ( (v31 & 1) != 0 ) operator delete(v33); if ( (v28 & 1) != 0 ) operator delete(v30); return _stack_chk_guard; case 12: if ( *((_QWORD *)this + 137) ) { for ( i = 0; i < (int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 95)); ++i ) { if ( *(_QWORD *)(cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 95), i) + 56) == *((_QWORD *)this + 137) ) { cocos2d::CCArray::removeObjectAtIndex(*((cocos2d::CCArray **)this + 95), i, 1); break; } } *((_QWORD *)this + 137) = 0; v15 = (cocos2d::CCDirector *)ThreadViewPopup::buildRows(this, 0); v16 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector(v15) + 272); v17 = *(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v16 + 464LL); v28 = 0; v29 = 0; v30 = nullptr; std::string::__init(&v28, "Message deleted", 0xFu); v31 = 0; v32 = 0; v33 = nullptr; std::string::__init(&v31, &byte_11B8890, 0); v18 = TextAlertPopup::create((char *)&v28, 150, (char *)&v31, 0.5, 0.6); v17(v16, v18, 1000); if ( (v31 & 1) != 0 ) operator delete(v33); v19 = (GameLevelManager *)(unsigned __int8)v28; if ( (v28 & 1) != 0 ) operator delete(v30); *(_QWORD *)(GameLevelManager::sharedState(v19) + 1264) = (char *)this + 672; } break; case 4: if ( *((_BYTE *)this + 1001) ) { v20 = *((MemberListPopup **)this + 94); *((_BYTE *)this + 1001) = 0; MemberListPopup::applyAddOutcome(v20, a2); ThreadViewPopup::buildMemberButton(this); ThreadViewPopup::refetchLatest(this); } break; default: if ( a3 != 10 || !*((_BYTE *)this + 1000) ) return _stack_chk_guard; *((_BYTE *)this + 1000) = 0; v6 = (cocos2d::CCDirector *)(*(unsigned __int8 *)(v4 + 204) ^ 1u); *(_BYTE *)(v4 + 204) ^= 1u; v7 = cocos2d::CCDirector::sharedDirector(v6); v8 = *((_QWORD *)this + 94); v9 = *(_QWORD *)(v7 + 272); v10 = *(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v9 + 464LL); if ( *(_BYTE *)(v8 + 204) ) v11 = "Conversation muted"; else v11 = "Conversation unmuted"; v27 = (char *)v11; v28 = 0; v29 = 0; v30 = nullptr; v12 = strlen(v11); std::string::__init(&v28, v27, v12); v31 = 0; v32 = 0; v33 = nullptr; std::string::__init(&v31, &byte_11B8890, 0); v13 = TextAlertPopup::create((char *)&v28, 150, (char *)&v31, 0.5, 0.6); v10(v9, v13, 1000); goto LABEL_11; } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source