// // ThreadOptionsPopup::threadUpdateFailed from 0x1400f6500 to 0x1400f6663 (355 bytes) // // 2 xrefs: // > @ 0x14072cbe8 // > @ 0x140915278 // // 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:38 +0000 // // Hidden C++ exception states: #wind=1 __int64 __fastcall ThreadOptionsPopup::threadUpdateFailed(__int64 a1, int a2, int a3) { __int64 result; // rax __int64 v6; // rcx __int64 *v7; // rbx __int64 *v8; // rdi size_t v9; // r8 __int64 v10; // rbx __int64 v11; // rdx __int64 v12; // r8 __int64 v13; // rax __int64 v14; // rcx __int128 v15; // [rsp+30h] [rbp-48h] BYREF __int64 v16; // [rsp+40h] [rbp-38h] __int64 v17; // [rsp+48h] [rbp-30h] __int128 v18; // [rsp+50h] [rbp-28h] BYREF __int64 v19; // [rsp+60h] [rbp-18h] __int64 v20; // [rsp+68h] [rbp-10h] result = *(_QWORD *)(a1 - 1000 + 1016); if ( a2 == *(_DWORD *)(result + 56) && a3 == *(_DWORD *)(a1 + 32) ) { *(_DWORD *)(a1 + 32) = 0; result = ThreadDescPopup::handBackSlot(); if ( !byte_1409097D9 ) { if ( a3 == 18 ) { v7 = (__int64 *)"Remove failed"; } else if ( a3 == 5 || a3 == 1 && !*(_DWORD *)(a1 + 36) ) { v7 = (__int64 *)"Leave failed"; } else { v7 = &qword_140726F30; if ( a3 == 1 ) v7 = &qword_1407213E8; } v8 = *(__int64 **)(cocos2d::CCDirector::sharedDirector(v6) + 272); v15 = 0; v16 = 0; v17 = 15; LOBYTE(v15) = 0; v18 = 0; v19 = 0; v20 = 0; v9 = -1; do ++v9; while ( *((_BYTE *)v7 + v9) ); sub_14003D230(&v18, v7, v9); v10 = *v8; v13 = TextAlertPopup::create(&v18, v11, v12, 150, &v15); return (*(__int64 (__fastcall **)(__int64 *, __int64, __int64))(v10 + 456))(v8, v13, 1000); } } else { v14 = *(_QWORD *)(a1 + 24); if ( v14 ) return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(v14 + 672) + 72LL))(v14 + 672); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source