// // MessageThreadsPage::threadUpdateFailed from 0xc686e0 to 0xc688ac (460 bytes) // // 3 xrefs: // > `non-virtual thunk to'MessageThreadsPage::threadUpdateFailed @ 0xc688b4 // > @ 0xbf0f8 // > @ 0x14ec218 // // 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 MessageThreadsPage::threadUpdateFailed(MessageThreadsPage *this, int a2, int a3) { _BOOL8 v3; // x0 __int64 v5; // x0 int v6; // w2 __int64 v7; // x21 void (__fastcall *v8)(__int64, __int64, __int64); // x22 const char *v9; // x1 size_t v10; // x0 __int64 v11; // x0 __int64 v12; // x0 char *v14; // [xsp+48h] [xbp+48h] __int64 v16[2]; // [xsp+58h] [xbp+58h] BYREF void *v17; // [xsp+68h] [xbp+68h] __int64 v18[2]; // [xsp+70h] [xbp+70h] BYREF void *v19; // [xsp+80h] [xbp+80h] if ( (a3 & 0xFFFFFFFD) == 1 ) { v12 = cocos2d::CCDirector::sharedDirector(_stack_chk_guard); v6 = a3; v7 = *(_QWORD *)(v12 + 272); v8 = *(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v7 + 464LL); if ( a3 != 1 ) { LABEL_6: if ( v6 == 18 ) v9 = "Remove failed"; else v9 = "Update failed"; goto LABEL_8; } v9 = "Delete failed"; } else { v3 = a3 != 5; if ( a3 != 11 && v3 && a3 != 18 ) return _stack_chk_guard; v5 = cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)v3); v6 = a3; v7 = *(_QWORD *)(v5 + 272); v8 = *(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v7 + 464LL); if ( a3 != 5 ) goto LABEL_6; v9 = "Leave failed"; } LABEL_8: v14 = (char *)v9; v16[0] = 0; v16[1] = 0; v17 = nullptr; v10 = strlen(v9); std::string::__init(v16, v14, v10); v18[0] = 0; v18[1] = 0; v19 = nullptr; std::string::__init(v18, &byte_11B8890, 0); v11 = TextAlertPopup::create((char *)v16, 150, (char *)v18, 0.5, 0.6); v8(v7, v11, 1000); if ( (v18[0] & 1) != 0 ) operator delete(v19); if ( (v16[0] & 1) != 0 ) operator delete(v17); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source