// // InvitesPopup::threadUpdateFinished from 0xc88774 to 0xc889d4 (608 bytes) // // 3 xrefs: // > `non-virtual thunk to'InvitesPopup::threadUpdateFinished @ 0xc889dc // > @ 0xb2c48 // > @ 0x14f0da8 // // 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 InvitesPopup::threadUpdateFinished(InvitesPopup *this, int a2, int a3) { int v4; // w22 __int64 v6; // x0 signed int v7; // w21 GameLevelManager *v8; // x0 __int64 v9; // x0 cocos2d::CCObject *v10; // x0 cocos2d::CCDirector *v11; // x0 __int64 v12; // x21 void (__fastcall *v13)(__int64, __int64, __int64); // x24 const char *v14; // x1 size_t v15; // x0 __int64 v16; // x0 __int64 v17; // x0 unsigned __int64 v18; // x1 __int64 v19; // x0 char *v20; // [xsp+48h] [xbp+48h] __int64 v21[2]; // [xsp+58h] [xbp+58h] BYREF void *v22; // [xsp+68h] [xbp+68h] __int64 v23[2]; // [xsp+70h] [xbp+70h] BYREF void *v24; // [xsp+80h] [xbp+80h] v4 = *((_DWORD *)this + 202); if ( v4 == a2 ) { if ( *((_BYTE *)this + 812) ) { if ( a3 != 8 ) return _stack_chk_guard; *((_DWORD *)this + 202) = 0; *((_BYTE *)this + 812) = 0; InvitesPopup::removeInviteRow(this, a2); v11 = *((cocos2d::CCDirector **)this + 100); if ( !v11 ) return _stack_chk_guard; v12 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector(v11) + 272); v13 = *(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v12 + 464LL); if ( *(_BYTE *)(*((_QWORD *)this + 100) + 264LL) ) v14 = "Request accepted"; else v14 = "Joined group chat"; v20 = (char *)v14; v21[0] = 0; v21[1] = 0; v22 = nullptr; v15 = strlen(v14); std::string::__init(v21, v20, v15); v23[0] = 0; v23[1] = 0; v24 = nullptr; std::string::__init(v23, &byte_11B8890, 0); v16 = TextAlertPopup::create((char *)v21, 150, (char *)v23, 0.5, 0.6); v13(v12, v16, 1000); if ( (v23[0] & 1) != 0 ) operator delete(v24); if ( (v21[0] & 1) != 0 ) operator delete(v22); v17 = *((_QWORD *)this + 100); v18 = *(unsigned __int8 *)(v17 + 264); if ( *(_BYTE *)(v17 + 264) ) { *(_BYTE *)(v17 + 265) = 0; *(_DWORD *)(*((_QWORD *)this + 100) + 268LL) = 0; } else { v18 = (unsigned int)(*(_DWORD *)(v17 + 168) + 1); *(_DWORD *)(v17 + 168) = v18; } v19 = ThreadViewPopup::create(*((ThreadViewPopup **)this + 100), (GJMessageThread *)v18); (*(void (__fastcall **)(__int64))(*(_QWORD *)v19 + 1312LL))(v19); } else { if ( a3 != 9 ) return _stack_chk_guard; v6 = *((_QWORD *)this + 99); v7 = 0; *((_DWORD *)this + 202) = 0; for ( *((_BYTE *)this + 812) = 0; v6; ++v7 ) { v6 = cocos2d::CCArray::count((cocos2d::CCArray *)v6); if ( (int)v6 <= v7 ) break; v6 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 99), v7); if ( v4 == *(_DWORD *)(v6 + 56) ) { *(_BYTE *)(v6 + 273) = 1; break; } v6 = *((_QWORD *)this + 99); } v8 = (GameLevelManager *)*(unsigned int *)(GameLevelManager::sharedState((GameLevelManager *)v6) + 476); if ( (int)v8 > 0 ) { v9 = GameLevelManager::sharedState(v8); --*(_DWORD *)(v9 + 476); } InvitesPopup::buildRows((cocos2d::CCArray **)this); } v10 = *((cocos2d::CCObject **)this + 100); if ( v10 ) { cocos2d::CCObject::release(v10); *((_QWORD *)this + 100) = 0; } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source