// // InvitesPopup::threadUpdateFailed from 0x1400f9bd0 to 0x1400f9da3 (467 bytes) // // 3 xrefs: // > @ 0x14072af88 // > @ 0x1409153ec // > @ 0x1409153f8 // // 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 11:26:40 +0000 // // Hidden C++ exception states: #wind=3 void __fastcall InvitesPopup::threadUpdateFailed(__int64 a1, int a2, int a3) { __int64 v3; // rbx cocos2d::CCObject *v4; // rcx __int64 v5; // rcx __int64 v6; // rdi __int64 v7; // rax __int64 *v8; // rdi __int64 v9; // rbx __int64 v10; // rdx __int64 v11; // r8 __int64 v12; // rax _WORD v13[8]; // [rsp+30h] [rbp-48h] BYREF __int64 v14; // [rsp+40h] [rbp-38h] __int64 v15; // [rsp+48h] [rbp-30h] __int128 v16; // [rsp+50h] [rbp-28h] BYREF __int64 v17; // [rsp+60h] [rbp-18h] __int64 v18; // [rsp+68h] [rbp-10h] void *v19; // [rsp+80h] [rbp+8h] void *v20; // [rsp+80h] [rbp+8h] v3 = a1; if ( a2 == *(_DWORD *)(a1 + 32) && a3 == 9 - (*(_BYTE *)(a1 + 36) != 0) ) { *(_DWORD *)(a1 + 32) = 0; *(_BYTE *)(a1 + 36) = 0; v4 = *(cocos2d::CCObject **)(a1 + 24); if ( v4 ) { cocos2d::CCObject::release(v4); *(_QWORD *)(v3 + 24) = 0; } if ( !*(_QWORD *)&qword_14090BFB0 ) { v19 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v19); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); } if ( (unsigned __int8)GameLevelManager::getThreadInvites() ) { v6 = v3 - 776; if ( v3 == 776 ) v3 = 0; v7 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v20 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v20); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v7 = *(_QWORD *)&qword_14090BFB0; } *(_QWORD *)(v7 + 1392) = v3; PagedListPopup::showLoading(v6); } else if ( !byte_1409097D9 ) { v8 = *(__int64 **)(cocos2d::CCDirector::sharedDirector(v5) + 272); v16 = 0; v17 = 0; v18 = 15; LOBYTE(v16) = 0; v13[7] = 0; v14 = 13; v15 = 15; strcpy((char *)v13, "Action failed"); v9 = *v8; v12 = TextAlertPopup::create(v13, v10, v11, 150, &v16); (*(void (__fastcall **)(__int64 *, __int64, __int64))(v9 + 456))(v8, v12, 1000); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source