// // InvitesPopup::acceptInvite from 0x74c4ec to 0x74c58e (162 bytes) // // 2 xrefs: // > InvitesPopup::onAccept @ 0x74c5ae // > ThreadRequestPopup::onAccept @ 0x74c5cc // // 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:47 +0000 // int *__fastcall InvitesPopup::acceptInvite(int *this, GJMessageThread *a2) { int *v2; // r6 int v4; // r0 const char *v5; // r8 GameManager *v6; // r9 int updated; // r8 cocos2d::CCObject *v8; // r0 int v9[3]; // [sp+0h] [bp-14h] BYREF v2 = this; if ( *(this + 153) <= 0 ) { if ( a2 ) { v4 = GameLevelManager::sharedState((GameLevelManager *)this); v5 = *((const char **)a2 + 13); memset(v9, 0, sizeof(v9)); v6 = (GameManager *)v4; std::string::__init(v9, &unk_B6B226, 0); updated = GameLevelManager::updateThread(v6, v5, 8, (unsigned __int8 *)v9); this = (int *)std::string::~string((int)v9); if ( updated ) { *(_DWORD *)(GameLevelManager::sharedState((GameLevelManager *)this) + 840) = v2 + 149; v8 = (cocos2d::CCObject *)v2[152]; v2[153] = *((_DWORD *)a2 + 13); *((_BYTE *)v2 + 616) = 1; if ( v8 ) cocos2d::CCObject::release(v8); v2[152] = (int)a2; return (int *)cocos2d::CCObject::retain(a2); } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source