// // ThreadViewPopup::threadUpdateFinished from 0x75d8b0 to 0x75db14 (612 bytes) // // 1 xrefs: // > `non-virtual thunk to'ThreadViewPopup::threadUpdateFinished @ 0x75db3c // // 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:01 +0000 // int __fastcall ThreadViewPopup::threadUpdateFinished(int this, GJMessageThread *a2, int a3) { int v3; // r4 int v4; // r3 __int64 v5; // r2 _QWORD *v6; // r5 int v7; // r0 cocos2d::CCDirector *v8; // r0 int v9; // r8 void (__fastcall *v10)(int, cocos2d::CCNode *, int); // r9 cocos2d::CCNode *v11; // r0 _QWORD *v12; // r7 signed int i; // r5 cocos2d::CCDirector *v14; // r0 int v15; // r9 void (__fastcall *v16)(int, cocos2d::CCNode *, int); // r10 cocos2d::CCNode *v17; // r0 GameLevelManager *v18; // r0 int v19; // r7 void (__fastcall *v20)(int, cocos2d::CCNode *, int); // r8 const char *v21; // r9 size_t v22; // r0 cocos2d::CCNode *v23; // r0 int v24; // [sp+Ch] [bp-1Ch] BYREF int v25; // [sp+10h] [bp-18h] int v26; // [sp+14h] [bp-14h] int v27; // [sp+18h] [bp-10h] BYREF int v28; // [sp+1Ch] [bp-Ch] int v29; // [sp+20h] [bp-8h] v3 = this; v4 = *(_DWORD *)(this + 564); if ( a2 == *(GJMessageThread **)(v4 + 52) ) { switch ( a3 ) { case 103: v6 = (_QWORD *)(this + 800); v5 = *(_QWORD *)(this + 800); if ( !v5 ) return this; v7 = ThreadViewPopup::messageWithID((cocos2d::CCArray **)this, v5); if ( v7 ) *(_BYTE *)(v7 + 88) = 1; *v6 = 0; ThreadViewPopup::buildRows((ThreadViewPopup *)v3, 0); v9 = *(_DWORD *)(cocos2d::CCDirector::sharedDirector(v8) + 220); v10 = *(void (__fastcall **)(int, cocos2d::CCNode *, int))(*(_DWORD *)v9 + 232); v24 = 0; v25 = 0; v26 = 0; std::string::__init(&v24, "Message deleted", 0xFu); v27 = 0; v28 = 0; v29 = 0; std::string::__init(&v27, &unk_B6B226, 0); v11 = TextAlertPopup::create((int)&v24, (cocos2d::CCDelayTime *)0x3F000000, 0.6, 150, (int)&v27); v10(v9, v11, 1000); goto LABEL_24; case 12: v12 = (_QWORD *)(this + 800); if ( *(_QWORD *)(this + 800) ) { for ( i = 0; i < cocos2d::CCArray::count(*(cocos2d::CCArray **)(v3 + 568)); ++i ) { if ( *(_QWORD *)(cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(v3 + 568), i) + 56) == *v12 ) { cocos2d::CCArray::removeObjectAtIndex(*(cocos2d::CCArray **)(v3 + 568), i, 1); break; } } *v12 = 0; ThreadViewPopup::buildRows((ThreadViewPopup *)v3, 0); v15 = *(_DWORD *)(cocos2d::CCDirector::sharedDirector(v14) + 220); v16 = *(void (__fastcall **)(int, cocos2d::CCNode *, int))(*(_DWORD *)v15 + 232); v24 = 0; v25 = 0; v26 = 0; std::string::__init(&v24, "Message deleted", 0xFu); v27 = 0; v28 = 0; v29 = 0; std::string::__init(&v27, &unk_B6B226, 0); v17 = TextAlertPopup::create((int)&v24, (cocos2d::CCDelayTime *)0x3F000000, 0.6, 150, (int)&v27); v16(v15, v17, 1000); std::string::~string((int)&v27); v18 = (GameLevelManager *)std::string::~string((int)&v24); this = GameLevelManager::sharedState(v18); *(_DWORD *)(this + 840) = v3 + 524; } break; case 4: if ( *(_BYTE *)(this + 741) ) { *(_BYTE *)(this + 741) = 0; MemberListPopup::applyAddOutcome((MemberListPopup *)v4, a2); ThreadViewPopup::buildMemberButton(v3); return ThreadViewPopup::refetchLatest(v3); } break; default: if ( a3 == 10 && *(_BYTE *)(this + 740) ) { *(_BYTE *)(this + 740) = 0; *(_BYTE *)(v4 + 136) ^= 1u; v19 = *(_DWORD *)(cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)this) + 220); v20 = *(void (__fastcall **)(int, cocos2d::CCNode *, int))(*(_DWORD *)v19 + 232); if ( *(_BYTE *)(*(_DWORD *)(v3 + 564) + 136) ) v21 = "Conversation muted"; else v21 = "Conversation unmuted"; v24 = 0; v25 = 0; v26 = 0; v22 = strlen(v21); std::string::__init(&v24, v21, v22); v27 = 0; v28 = 0; v29 = 0; std::string::__init(&v27, &unk_B6B226, 0); v23 = TextAlertPopup::create((int)&v24, (cocos2d::CCDelayTime *)0x3F000000, 0.6, 150, (int)&v27); v20(v19, v23, 1000); LABEL_24: std::string::~string((int)&v27); return std::string::~string((int)&v24); } break; } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source