// // ThreadDescPopup::threadUpdateFailed from 0x100953950 to 0x100953a89 (313 bytes) // // 2 xrefs: // > sub_100953B00 @ 0x100953b0c // > @ 0x100bc8900 // // 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:39 +0000 // void __fastcall ThreadDescPopup::threadUpdateFailed(__int64 a1, int a2, int a3) { __int64 v3; // rax __int64 v4; // rdi __int64 v5; // rax __int64 v6; // rcx __int64 v7; // rdx __int64 v8; // rbx char *v9; // rax __int128 v10; // [rsp+8h] [rbp-38h] BYREF void *__p; // [rsp+18h] [rbp-28h] __int128 v12; // [rsp+20h] [rbp-20h] BYREF void *v13; // [rsp+30h] [rbp-10h] v3 = *(_QWORD *)(a1 + 1032); if ( v3 && *(_DWORD *)(v3 + 56) == a2 && *(_BYTE *)(a1 + 1113) == 1 && (a3 == 14 || a3 == 16) ) { *(_BYTE *)(a1 + 1113) = 0; if ( *(_QWORD *)(GameLevelManager::sharedState() + 1264) != a1 + 1016 ) { if ( (unsigned __int8)sub_1004E9BA0() ) return; goto LABEL_14; } v5 = GameLevelManager::sharedState(); v6 = *(_QWORD *)(a1 + 1040); v7 = v6 + 672; if ( !v6 ) v7 = 0; *(_QWORD *)(v5 + 1264) = v7; if ( !(unsigned __int8)sub_1004E9BA0() ) { LABEL_14: v8 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector() + 272); LOBYTE(v12) = 26; strcpy((char *)&v12 + 1, "Update failed"); LOWORD(v10) = 0; v9 = TextAlertPopup::create(&v12, 0x96u, &v10, 0.5, 0.60000002); (*(void (__fastcall **)(__int64, char *, __int64))(*(_QWORD *)v8 + 464LL))(v8, v9, 1000); if ( (v10 & 1) != 0 ) operator delete(__p); if ( (v12 & 1) != 0 ) operator delete(v13); } } else { v4 = *(_QWORD *)(a1 + 1040); if ( v4 ) (*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 1464LL))(v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source