// // ThreadViewPopup::onRefresh from 0xc68a80 to 0xc68c18 (408 bytes) // // 3 xrefs: // > @ 0xe54b0 // > ThreadViewPopup::init @ 0xc86f90 // > @ 0x1546e70 // // 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:26 +0000 // __int64 __fastcall ThreadViewPopup::onRefresh(ThreadViewPopup *this, cocos2d::CCObject *a2) { GameLevelManager *v3; // x0 GameLevelManager *v5; // x0 GameLevelManager *v6; // x0 __int64 *v7; // x20 __int64 v8; // x3 void (__fastcall *v9)(__int64 *, __int64, __int64); // x23 __int64 v10; // x0 GameLevelManager *v11; // x0 __int64 v12; // x2 __int64 v13[2]; // [xsp+48h] [xbp+48h] BYREF void *v14; // [xsp+58h] [xbp+58h] __int64 v15[2]; // [xsp+60h] [xbp+60h] BYREF void *v16; // [xsp+70h] [xbp+70h] v3 = (GameLevelManager *)*((unsigned __int8 *)this + 1104); if ( !(_DWORD)v3 ) { v5 = (GameLevelManager *)GameLevelManager::sharedState(v3); v6 = (GameLevelManager *)((unsigned int)GameLevelManager::getTimeLeft(v5, "threadViewUpdate", 5.0) - 1); if ( (unsigned int)v6 > 4 ) { v11 = (GameLevelManager *)GameLevelManager::sharedState(v6); GameLevelManager::makeTimeStamp(v11, "threadViewUpdate"); v12 = 0; if ( *((_BYTE *)this + 789) ) v12 = *((_QWORD *)this + 97); if ( (unsigned __int8)ThreadViewPopup::requestMessages(this, 0, v12) ) ThreadViewPopup::showLoading(this); } else { v7 = *(__int64 **)(cocos2d::CCDirector::sharedDirector(v6) + 272); v8 = *v7; v13[0] = 0; v13[1] = 0; v9 = *(void (__fastcall **)(__int64 *, __int64, __int64))(v8 + 464); v14 = nullptr; std::string::__init(v13, "Already up to date", 0x12u); v15[0] = 0; v15[1] = 0; v16 = nullptr; std::string::__init(v15, &byte_11B8890, 0); v10 = TextAlertPopup::create((char *)v13, 150, (char *)v15, 0.5, 0.6); v9(v7, v10, 1000); if ( (v15[0] & 1) != 0 ) operator delete(v16); if ( (v13[0] & 1) != 0 ) operator delete(v14); } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source