// // ThreadViewPopup::onAutoRefresh from 0xc68edc to 0xc6903c (352 bytes) // // 5 xrefs: // > @ 0x84610 // > ThreadViewPopup::setPollInterval @ 0xc65bc8 // > ThreadViewPopup::setPollInterval @ 0xc65bdc // > ThreadViewPopup::init @ 0xc8794c // > @ 0x1543748 // // 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::onAutoRefresh(ThreadViewPopup *this, float a2) { GameLevelManager *v3; // x0 GameLevelManager *v5; // x0 GameLevelManager *v6; // x21 GameLevelManager *v7; // x0 cocos2d::CCObject *v8; // x22 unsigned int v9; // w21 int v10; // w4 __int64 v11; // [xsp+38h] [xbp+38h] unsigned int v12; // [xsp+40h] [xbp+40h] __int64 v13[2]; // [xsp+50h] [xbp+50h] BYREF void *v14; // [xsp+60h] [xbp+60h] if ( *((_BYTE *)this + 789) ) { if ( !*((_BYTE *)this + 790) && !*((_BYTE *)this + 1104) ) { v3 = (GameLevelManager *)*((unsigned __int8 *)this + 1168); if ( !*((_BYTE *)this + 1168) ) { v5 = *(GameLevelManager **)(GameLevelManager::sharedState(v3) + 1264); if ( v5 && (v5 = (GameLevelManager *)_dynamic_cast( v5, (const struct __class_type_info *)&`typeinfo for'ThreadMessageDelegate, (const struct __class_type_info *)&`typeinfo for'MessageThreadsPage, 664)) == nullptr ) { v6 = (ThreadViewPopup *)((char *)this + 672); } else { v5 = (GameLevelManager *)GameLevelManager::sharedState(v5); v6 = (ThreadViewPopup *)((char *)this + 672); *((_QWORD *)v5 + 158) = (char *)this + 672; } v7 = *(GameLevelManager **)(GameLevelManager::sharedState(v5) + 1264); if ( v7 == v6 ) { v8 = (cocos2d::CCObject *)GameLevelManager::sharedState(v7); v9 = *(_DWORD *)(*((_QWORD *)this + 94) + 56LL); if ( *((__int64 *)this + 97) <= 0 ) v10 = -1; else v10 = *((_DWORD *)this + 234); v11 = *((_QWORD *)this + 97); v12 = v10; v13[0] = 0; v13[1] = 0; v14 = nullptr; std::string::__init(v13, &byte_11B8890, 0); GameLevelManager::getThreadMessages(v8, (char *)v9, 0, v11, v12, nullptr, (char *)v13); if ( (v13[0] & 1) != 0 ) operator delete(v14); } } } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source