// // ThreadViewPopup::threadUpdateFailed from 0x74981c to 0x7499c4 (424 bytes) // // 1 xrefs: // > `non-virtual thunk to'ThreadViewPopup::threadUpdateFailed @ 0x7499e8 // // 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:58:45 +0000 // int __fastcall ThreadViewPopup::threadUpdateFailed(int this, int a2, int a3) { GameToolbox *v3; // r0 int v4; // r8 void (__fastcall *v5)(int, cocos2d::CCNode *, int); // r9 cocos2d::CCNode *v6; // r0 int v7; // r8 void (__fastcall *v8)(int, cocos2d::CCNode *, int); // r9 cocos2d::CCNode *v9; // r0 int v10; // [sp+Ch] [bp-20h] BYREF int v11; // [sp+10h] [bp-1Ch] int v12; // [sp+14h] [bp-18h] int v13; // [sp+18h] [bp-14h] BYREF int v14; // [sp+1Ch] [bp-10h] int v15; // [sp+20h] [bp-Ch] if ( a2 == *(_DWORD *)(*(_DWORD *)(this + 564) + 52) ) { switch ( a3 ) { case 12: case 103: v3 = (GameToolbox *)(this + 800); *(_QWORD *)v3 = 0; this = GameToolbox::lastResponseHadServerPopup(v3); if ( this ) return this; v4 = *(_DWORD *)(cocos2d::CCDirector::sharedDirector(nullptr) + 220); v5 = *(void (__fastcall **)(int, cocos2d::CCNode *, int))(*(_DWORD *)v4 + 232); v10 = 0; v11 = 0; v12 = 0; std::string::__init(&v10, "Delete failed", 0xDu); v13 = 0; v14 = 0; v15 = 0; std::string::__init(&v13, &unk_B6B226, 0); v6 = TextAlertPopup::create((int)&v10, (cocos2d::CCDelayTime *)0x3F000000, 0.6, 150, (int)&v13); v5(v4, v6, 1000); goto LABEL_14; case 4: if ( *(_BYTE *)(this + 741) ) { *(_BYTE *)(this + 741) = 0; this = GameToolbox::lastResponseHadServerPopup((GameToolbox *)this); if ( !this ) { LABEL_13: v7 = *(_DWORD *)(cocos2d::CCDirector::sharedDirector(nullptr) + 220); v8 = *(void (__fastcall **)(int, cocos2d::CCNode *, int))(*(_DWORD *)v7 + 232); v10 = 0; v11 = 0; v12 = 0; std::string::__init(&v10, "Action failed", 0xDu); v13 = 0; v14 = 0; v15 = 0; std::string::__init(&v13, &unk_B6B226, 0); v9 = TextAlertPopup::create((int)&v10, (cocos2d::CCDelayTime *)0x3F000000, 0.6, 150, (int)&v13); v8(v7, v9, 1000); LABEL_14: std::string::~string((int)&v13); return std::string::~string((int)&v10); } } break; case 10: if ( *(_BYTE *)(this + 740) ) { *(_BYTE *)(this + 740) = 0; this = GameToolbox::lastResponseHadServerPopup((GameToolbox *)this); if ( !this ) goto LABEL_13; } break; } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source