// // ThreadViewPopup::threadSendFailed from 0x75e0d8 to 0x75e212 (314 bytes) // // 1 xrefs: // > `non-virtual thunk to'ThreadViewPopup::threadSendFailed @ 0x75e228 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:59:01 +0000 // int __fastcall ThreadViewPopup::threadSendFailed(ThreadViewPopup *this) { ThreadViewPopup *v1; // r4 cocos2d::CCObject *v2; // r1 cocos2d::CCArray *v3; // r0 int v4; // r1 int v5; // r7 int v6; // r7 bool v7; // nf size_t v8; // r0 int result; // r0 int *v10; // r8 int v11; // r3 void (__fastcall *v12)(int *, cocos2d::CCNode *, int); // r9 cocos2d::CCNode *v13; // r0 int v14[3]; // [sp+Ch] [bp-20h] BYREF int v15; // [sp+18h] [bp-14h] BYREF int v16; // [sp+1Ch] [bp-10h] int v17; // [sp+20h] [bp-Ch] v1 = this; if ( !*((_BYTE *)this + 598) ) this = (ThreadViewPopup *)ThreadViewPopup::setSendPending(this, *((unsigned __int8 *)this + 598)); v2 = *((cocos2d::CCObject **)v1 + 190); if ( v2 ) { cocos2d::CCArray::removeObject(*((cocos2d::CCArray **)v1 + 142), v2, 1); v3 = *((cocos2d::CCArray **)v1 + 206); if ( v3 ) cocos2d::CCArray::removeObject(v3, *((cocos2d::CCObject **)v1 + 190), 1); *((_DWORD *)v1 + 190) = 0; ThreadViewPopup::buildRows(v1, 0); v4 = *((_DWORD *)v1 + 171); if ( v4 ) { CCTextInputNode::getString((CCTextInputNode *)&v15, v4); v5 = (v15 & 1) != 0 ? v16 : (int)(unsigned __int8)v15 >> 1; this = (ThreadViewPopup *)std::string::~string((int)&v15); if ( !v5 ) { v6 = *((_DWORD *)v1 + 171); v7 = (*((_BYTE *)v1 + 728) & 1) != 0; if ( (*((_BYTE *)v1 + 728) & 1) == 0 ) v1 = (ThreadViewPopup *)((char *)v1 + 729); v15 = 0; if ( v7 ) v1 = *((ThreadViewPopup **)v1 + 184); v16 = 0; v17 = 0; v8 = strlen((const char *)v1); std::string::__init(&v15, v1, v8); CCTextInputNode::setString(v6, (int)&v15); this = (ThreadViewPopup *)std::string::~string((int)&v15); } } } result = GameToolbox::lastResponseHadServerPopup(this); if ( !result ) { v10 = *(int **)(cocos2d::CCDirector::sharedDirector(nullptr) + 220); v11 = *v10; memset(v14, 0, sizeof(v14)); v12 = *(void (__fastcall **)(int *, cocos2d::CCNode *, int))(v11 + 232); std::string::__init(v14, "Send failed", 0xBu); v15 = 0; v16 = 0; v17 = 0; std::string::__init(&v15, &unk_B6B226, 0); v13 = TextAlertPopup::create((int)v14, (cocos2d::CCDelayTime *)0x3F000000, 0.6, 150, (int)&v15); v12(v10, v13, 1000); std::string::~string((int)&v15); return std::string::~string((int)v14); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source