//
// sub_10092F070 from 0x10092f070 to 0x10092f1f2 (386 bytes)
//
// 1 xrefs:
// > ThreadViewPopup::init @ 0x10092ddb8
//
// This function is hookable on this platform (idp: pc, 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 12:38:23 +0000
//
void __fastcall sub_10092F070(__int64 a1, double a2, __m128d a3)
{
__int64 v4; // rax
__int64 v5; // rbx
char *v6; // rax
__int64 v7; // rax
__int64 v8; // rdx
_DWORD *v9; // rdi
_QWORD *v10; // rax
__int128 v11; // [rsp+8h] [rbp-38h] BYREF
void *__p; // [rsp+18h] [rbp-28h]
__int128 v13[2]; // [rsp+20h] [rbp-20h] BYREF
if ( !*(_BYTE *)(a1 + 1104) )
{
v4 = GameLevelManager::sharedState();
if ( (unsigned int)GameLevelManager::getTimeLeft(v4, "threadViewUpdate", COERCE_DOUBLE(1084227584), a3) - 1 > 4 )
{
v7 = GameLevelManager::sharedState();
GameLevelManager::makeTimeStamp(v7, "threadViewUpdate");
if ( *(_BYTE *)(a1 + 789) == 1 )
v8 = *(_QWORD *)(a1 + 776);
else
v8 = 0;
if ( (unsigned __int8)sub_100930920(a1, 0, v8) )
{
v9 = *(_DWORD **)(a1 + 832);
if ( v9 )
{
cocos2d::CCObject::release(v9);
*(_QWORD *)(a1 + 832) = 0;
}
v10 = LoadingCircle::create();
*(_QWORD *)(a1 + 832) = v10;
v10[69] = *(_QWORD *)(a1 + 584);
*((_BYTE *)v10 + 560) = 0;
cocos2d::CCObject::retain((__int64)v10);
LoadingCircle::show(*(_QWORD *)(a1 + 832));
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(*(_QWORD *)(a1 + 832) + 544LL) + 184LL))(
*(_QWORD *)(*(_QWORD *)(a1 + 832) + 544LL),
a1 + 848);
}
}
else
{
v5 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector() + 272);
strcpy((char *)v13, "$Already up to date");
LOWORD(v11) = 0;
v6 = TextAlertPopup::create(v13, 0x96u, &v11, 0.5, 0.60000002);
(*(void (__fastcall **)(__int64, char *, __int64))(*(_QWORD *)v5 + 464LL))(v5, v6, 1000);
if ( (v11 & 1) != 0 )
operator delete(__p);
if ( (v13[0] & 1) != 0 )
operator delete(*(void **)&v13[1]);
}
}
}