// // ThreadDescPopup::threadUpdateFailed from 0xc6d3cc to 0xc6d54c (384 bytes) // // 3 xrefs: // > `non-virtual thunk to'ThreadDescPopup::threadUpdateFailed @ 0xc6d554 // > @ 0x86008 // > @ 0x14f2728 // // 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 ThreadDescPopup::threadUpdateFailed(ThreadDescPopup *this, int a2, int a3) { __int64 v3; // x4 __int64 v4; // x0 GameToolbox *v6; // x0 cocos2d::CCDirector *ResponseHadServerPopup; // x0 __int64 *v8; // x20 __int64 v9; // x3 void (__fastcall *v10)(__int64 *, __int64, __int64); // x23 __int64 v11; // x0 __int64 v12[2]; // [xsp+48h] [xbp+48h] BYREF void *v13; // [xsp+58h] [xbp+58h] __int64 v14[2]; // [xsp+60h] [xbp+60h] BYREF void *v15; // [xsp+70h] [xbp+70h] v3 = *((_QWORD *)this + 129); if ( v3 && *(_DWORD *)(v3 + 56) == a2 && *((_BYTE *)this + 1113) && ((a3 - 14) & 0xFFFFFFFD) == 0 ) { *((_BYTE *)this + 1113) = 0; v6 = ThreadDescPopup::handBackSlot(this); ResponseHadServerPopup = (cocos2d::CCDirector *)(unsigned __int8)GameToolbox::lastResponseHadServerPopup(v6); if ( !(_BYTE)ResponseHadServerPopup ) { v8 = *(__int64 **)(cocos2d::CCDirector::sharedDirector(ResponseHadServerPopup) + 272); v9 = *v8; v12[0] = 0; v12[1] = 0; v10 = *(void (__fastcall **)(__int64 *, __int64, __int64))(v9 + 464); v13 = nullptr; std::string::__init(v12, "Update failed", 0xDu); v14[0] = 0; v14[1] = 0; v15 = nullptr; std::string::__init(v14, &byte_11B8890, 0); v11 = TextAlertPopup::create((char *)v12, 150, (char *)v14, 0.5, 0.6); v10(v8, v11, 1000); if ( (v14[0] & 1) != 0 ) operator delete(v15); if ( (v12[0] & 1) != 0 ) operator delete(v13); } } else { v4 = *((_QWORD *)this + 130); if ( v4 ) (*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 1464LL))(v4); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source