// // MessageThreadsPage::threadUpdateFailed from 0x10092b4c0 to 0x10092b60c (332 bytes) // // 2 xrefs: // > sub_10092B630 @ 0x10092b635 // > @ 0x100bc2388 // // 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:21 +0000 // void __fastcall MessageThreadsPage::threadUpdateFailed(__int64 a1, __int64 a2, unsigned int a3) { int v4; // eax __int64 v5; // rbx const char *v6; // rcx const char *v7; // rax bool v8; // zf const char *v9; // r14 size_t v10; // rax size_t v11; // r15 char *v12; // r12 size_t v13; // r13 char *v14; // rax __int128 v15; // [rsp+8h] [rbp-58h] BYREF void *__p; // [rsp+18h] [rbp-48h] __int128 __dst; // [rsp+20h] [rbp-40h] BYREF void *v18; // [rsp+30h] [rbp-30h] if ( a3 > 0x12 ) return; v4 = 264234; if ( !_bittest(&v4, a3) ) return; v5 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector() + 272); v6 = "Update failed"; if ( a3 == 18 ) v6 = "Remove failed"; v7 = "Leave failed"; if ( a3 != 5 ) v7 = v6; v8 = a3 == 1; v9 = "Delete failed"; if ( !v8 ) v9 = v7; v10 = strlen(v9); if ( v10 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v11 = v10; if ( v10 >= 0x17 ) { v13 = 26; if ( (v10 | 7) != 0x17 ) v13 = (v10 | 7) + 1; v12 = (char *)operator new(v13); v18 = v12; *(_QWORD *)&__dst = v13 + 1; *((_QWORD *)&__dst + 1) = v11; } else { LOBYTE(__dst) = 2 * v10; v12 = (char *)&__dst + 1; if ( !v10 ) goto LABEL_17; } memcpy(v12, v9, v11); LABEL_17: v12[v11] = 0; LOWORD(v15) = 0; v14 = TextAlertPopup::create(&__dst, 0x96u, &v15, 0.5, 0.60000002); (*(void (__fastcall **)(__int64, char *, __int64))(*(_QWORD *)v5 + 464LL))(v5, v14, 1000); if ( (v15 & 1) != 0 ) operator delete(__p); if ( (__dst & 1) != 0 ) operator delete(v18); }
GD Web Decomp Icon

GD Web Decomp

Raw Source