// // InvitesPopup::threadUpdateFailed from 0xc6cf1c to 0xc6d0c0 (420 bytes) // // 3 xrefs: // > `non-virtual thunk to'InvitesPopup::threadUpdateFailed @ 0xc6d0c8 // > @ 0xf5320 // > @ 0x14f0db0 // // 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:28 +0000 // __int64 __fastcall InvitesPopup::threadUpdateFailed(InvitesPopup *this, int a2, int a3) { int v5; // w0 cocos2d::CCObject *v6; // x0 GameLevelManager *v7; // x0 GameLevelManager *ThreadInvites; // x0 cocos2d::CCDirector *ResponseHadServerPopup; // x0 __int64 *v10; // x20 __int64 v11; // x3 void (__fastcall *v12)(__int64 *, __int64, __int64); // x23 __int64 v13; // x0 __int64 v14[2]; // [xsp+48h] [xbp+48h] BYREF void *v15; // [xsp+58h] [xbp+58h] __int64 v16[2]; // [xsp+60h] [xbp+60h] BYREF void *v17; // [xsp+70h] [xbp+70h] if ( *((_DWORD *)this + 202) == a2 ) { v5 = *((_BYTE *)this + 812) ? 8 : 9; if ( v5 == a3 ) { v6 = *((cocos2d::CCObject **)this + 100); *((_DWORD *)this + 202) = 0; *((_BYTE *)this + 812) = 0; if ( v6 ) { v6 = (cocos2d::CCObject *)cocos2d::CCObject::release(v6); *((_QWORD *)this + 100) = 0; } v7 = (GameLevelManager *)GameLevelManager::sharedState(v6); ThreadInvites = (GameLevelManager *)(unsigned __int8)GameLevelManager::getThreadInvites(v7); if ( (_BYTE)ThreadInvites ) { *(_QWORD *)(GameLevelManager::sharedState(ThreadInvites) + 1264) = (char *)this + 776; PagedListPopup::showLoading(this); } else { ResponseHadServerPopup = (cocos2d::CCDirector *)(unsigned __int8)GameToolbox::lastResponseHadServerPopup(ThreadInvites); if ( !(_BYTE)ResponseHadServerPopup ) { v10 = *(__int64 **)(cocos2d::CCDirector::sharedDirector(ResponseHadServerPopup) + 272); v11 = *v10; v14[0] = 0; v14[1] = 0; v12 = *(void (__fastcall **)(__int64 *, __int64, __int64))(v11 + 464); v15 = nullptr; std::string::__init(v14, "Action failed", 0xDu); v16[0] = 0; v16[1] = 0; v17 = nullptr; std::string::__init(v16, &byte_11B8890, 0); v13 = TextAlertPopup::create((char *)v14, 150, (char *)v16, 0.5, 0.6); v12(v10, v13, 1000); if ( (v16[0] & 1) != 0 ) operator delete(v17); if ( (v14[0] & 1) != 0 ) operator delete(v15); } } } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source