// // ThreadOptionsPopup::threadUpdateFailed from 0x10050e100 to 0x10050e240 (320 bytes) // // 2 xrefs: // > sub_10050E2BC @ 0x10050e2c0 // > @ 0x100999378 // // This function is hookable on this platform (idp: arm, 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:07:01 +0000 // void __fastcall ThreadOptionsPopup::threadUpdateFailed(__int64 a1, int a2, int a3) { char *v5; // x20 __int64 v6; // x0 __int64 v7; // x19 _QWORD *v8; // x0 void *__p[2]; // [xsp+0h] [xbp-40h] BYREF char v10; // [xsp+17h] [xbp-29h] void *v11[2]; // [xsp+18h] [xbp-28h] BYREF char v12; // [xsp+2Fh] [xbp-11h] if ( *(_DWORD *)(*(_QWORD *)(a1 + 1032) + 56LL) == a2 && *(_DWORD *)(a1 + 1048) == a3 ) { *(_DWORD *)(a1 + 1048) = 0; sub_10050E274(a1); if ( (sub_1000483A4() & 1) != 0 ) return; switch ( a3 ) { case 18: v5 = "Remove failed"; break; case 5: goto LABEL_11; case 1: if ( !*(_DWORD *)(a1 + 1052) ) LABEL_11: v5 = "Leave failed"; else v5 = "Clear failed"; break; default: v5 = "Action failed"; break; } v7 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector() + 272); sub_100009900(v11, v5); sub_100009900(__p, ""); v8 = TextAlertPopup::create((__int64)v11, 150, (__int64)__p, 0.5, 0.6); (*(void (__fastcall **)(__int64, _QWORD *, __int64))(*(_QWORD *)v7 + 464LL))(v7, v8, 1000); if ( v10 < 0 ) operator delete(__p[0]); if ( v12 < 0 ) operator delete(v11[0]); return; } v6 = *(_QWORD *)(a1 + 1040); if ( v6 ) (*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 1464LL))(v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source