// // RenameThreadPopup::threadUpdateFailed from 0x10094fd70 to 0x10094fe9f (303 bytes) // // 2 xrefs: // > sub_10094FF20 @ 0x10094ff2c // > @ 0x100bc77f8 // // 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:38 +0000 // void __fastcall RenameThreadPopup::threadUpdateFailed(__int64 a1, int a2, int a3) { __int64 v3; // rdi __int64 v4; // rax __int64 v5; // rcx __int64 v6; // rdx __int64 v7; // rbx char *v8; // rax __int128 v9; // [rsp+8h] [rbp-38h] BYREF void *__p; // [rsp+18h] [rbp-28h] __int128 v11; // [rsp+20h] [rbp-20h] BYREF void *v12; // [rsp+30h] [rbp-10h] if ( a3 == 2 && *(_DWORD *)(*(_QWORD *)(a1 + 1024) + 56LL) == a2 && *(_BYTE *)(a1 + 1072) ) { *(_BYTE *)(a1 + 1072) = 0; if ( *(_QWORD *)(GameLevelManager::sharedState() + 1264) != a1 + 1016 ) { if ( (unsigned __int8)sub_1004E9BA0() ) return; goto LABEL_12; } v4 = GameLevelManager::sharedState(); v5 = *(_QWORD *)(a1 + 1032); v6 = v5 + 672; if ( !v5 ) v6 = 0; *(_QWORD *)(v4 + 1264) = v6; if ( !(unsigned __int8)sub_1004E9BA0() ) { LABEL_12: v7 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector() + 272); LOBYTE(v11) = 26; strcpy((char *)&v11 + 1, "Rename failed"); LOWORD(v9) = 0; v8 = TextAlertPopup::create(&v11, 0x96u, &v9, 0.5, 0.60000002); (*(void (__fastcall **)(__int64, char *, __int64))(*(_QWORD *)v7 + 464LL))(v7, v8, 1000); if ( (v9 & 1) != 0 ) operator delete(__p); if ( (v11 & 1) != 0 ) operator delete(v12); } } else { v3 = *(_QWORD *)(a1 + 1032); if ( v3 ) (*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 1464LL))(v3); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source