// // InvitesPopup::threadUpdateFinished from 0x100510874 to 0x100510a38 (452 bytes) // // 2 xrefs: // > sub_100510A6C @ 0x100510a70 // > @ 0x100999bf0 // // 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:02 +0000 // _DWORD *__fastcall InvitesPopup::threadUpdateFinished(_DWORD *result, int a2, int a3) { __int64 v3; // x19 char v4; // w8 int v5; // w9 __int64 v7; // x20 char *v8; // x1 _QWORD *v9; // x0 __int64 v10; // x0 __int64 v11; // x0 signed int v12; // w21 __int64 v13; // x0 void *v14; // x0 __int64 v15; // x0 void *__p[2]; // [xsp+0h] [xbp-50h] BYREF char v17; // [xsp+17h] [xbp-39h] void *v18[2]; // [xsp+18h] [xbp-38h] BYREF char v19; // [xsp+2Fh] [xbp-21h] if ( result[202] == a2 ) { v3 = (__int64)result; v4 = *((_BYTE *)result + 812); v5 = v4 ? 8 : 9; if ( v5 == a3 ) { result[202] = 0; *((_BYTE *)result + 812) = 0; if ( (v4 & 1) != 0 ) { sub_10051078C((__int64)result, a2); if ( *(_QWORD *)(v3 + 800) ) { v7 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector() + 272); if ( *(_BYTE *)(*(_QWORD *)(v3 + 800) + 264LL) ) v8 = "Request accepted"; else v8 = "Joined group chat"; sub_100009900(v18, v8); sub_100009900(__p, ""); v9 = TextAlertPopup::create((__int64)v18, 150, (__int64)__p, 0.5, 0.6); (*(void (__fastcall **)(__int64, _QWORD *, __int64))(*(_QWORD *)v7 + 464LL))(v7, v9, 1000); if ( v17 < 0 ) operator delete(__p[0]); if ( v19 < 0 ) operator delete(v18[0]); v10 = *(_QWORD *)(v3 + 800); if ( *(_BYTE *)(v10 + 264) == 1 ) { *(_BYTE *)(v10 + 265) = 0; *(_DWORD *)(v10 + 268) = 0; } else { ++*(_DWORD *)(v10 + 168); } v14 = ThreadViewPopup::create(v10); (*(void (__fastcall **)(void *))(*(_QWORD *)v14 + 1312LL))(v14); } } else { v11 = *((_QWORD *)result + 99); if ( v11 ) { v12 = 0; while ( v12 < (int)sub_1002E757C(v11) ) { v13 = sub_1002E75A0(*(_QWORD *)(v3 + 792), v12); if ( *(_DWORD *)(v13 + 56) == a2 ) { *(_BYTE *)(v13 + 273) = 1; break; } ++v12; v11 = *(_QWORD *)(v3 + 792); if ( !v11 ) break; } } if ( *(int *)(GameLevelManager::sharedState() + 476) >= 1 ) { v15 = GameLevelManager::sharedState(); --*(_DWORD *)(v15 + 476); } InvitesPopup::buildRows(v3); } result = *(_DWORD **)(v3 + 800); if ( result ) { result = cocos2d::CCObject::release(result); *(_QWORD *)(v3 + 800) = 0; } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source