//
// MemberListPopup::threadUpdateFailed from 0x74b5a0 to 0x74b674 (212 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'MemberListPopup::threadUpdateFailed @ 0x74b688
//
// 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:46 +0000
//
int __fastcall MemberListPopup::threadUpdateFailed(int this, int a2, int a3)
{
int *v3; // r8
int v4; // r3
void (__fastcall *v5)(int *, cocos2d::CCNode *, int); // r9
cocos2d::CCNode *v6; // r0
int v7[3]; // [sp+Ch] [bp-20h] BYREF
int v8[3]; // [sp+18h] [bp-14h] BYREF
if ( a2 == *(_DWORD *)(*(_DWORD *)(this + 608) + 52)
&& (a3 == 4 || (unsigned int)(a3 - 6) <= 1 || a3 == 11 || a3 == 13) )
{
*(_BYTE *)(this + 640) = 0;
*(_DWORD *)(this + 644) = 0;
*(_DWORD *)(this + 648) = 0;
*(_DWORD *)(this + 652) = 0;
*(_BYTE *)(this + 632) = 0;
this = GameToolbox::lastResponseHadServerPopup((GameToolbox *)this);
if ( !this )
{
v3 = *(int **)(cocos2d::CCDirector::sharedDirector(nullptr) + 220);
v4 = *v3;
memset(v7, 0, sizeof(v7));
v5 = *(void (__fastcall **)(int *, cocos2d::CCNode *, int))(v4 + 232);
std::string::__init(v7, "Action failed", 0xDu);
memset(v8, 0, sizeof(v8));
std::string::__init(v8, &unk_B6B226, 0);
v6 = TextAlertPopup::create((int)v7, (cocos2d::CCDelayTime *)0x3F000000, 0.6, 150, (int)v8);
v5(v3, v6, 1000);
std::string::~string((int)v8);
return std::string::~string((int)v7);
}
}
return this;
}