// // InvitesPopup::acceptInvite from 0xc6cad0 to 0xc6cbf4 (292 bytes) // // 3 xrefs: // > InvitesPopup::onAccept @ 0xc6cc24 // > ThreadRequestPopup::onAccept @ 0xc6cc58 // > @ 0xb8f30 // // 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 13:05:28 +0000 // __int64 __fastcall InvitesPopup::acceptInvite(InvitesPopup *this, GJMessageThread *a2) { GameLevelManager *v4; // x0 cocos2d::CCObject *v5; // x23 unsigned int v6; // w22 GameLevelManager *updated; // x0 int v8; // w22 cocos2d::CCObject *v10; // x0 __int64 v11[2]; // [xsp+50h] [xbp+50h] BYREF void *v12; // [xsp+60h] [xbp+60h] if ( a2 ) { v4 = (GameLevelManager *)*((unsigned int *)this + 202); if ( (int)v4 <= 0 ) { v5 = (cocos2d::CCObject *)GameLevelManager::sharedState(v4); v6 = *((_DWORD *)a2 + 14); v11[0] = 0; v11[1] = 0; v12 = nullptr; std::string::__init(v11, &byte_11B8890, 0); updated = (GameLevelManager *)GameLevelManager::updateThread(v5, (char *)v6, 8, (char *)v11); v8 = (unsigned __int8)updated; if ( (v11[0] & 1) != 0 ) { operator delete(v12); if ( !v8 ) return _stack_chk_guard; } else if ( !(_BYTE)updated ) { return _stack_chk_guard; } *(_QWORD *)(GameLevelManager::sharedState(updated) + 1264) = (char *)this + 776; v10 = *((cocos2d::CCObject **)this + 100); *((_DWORD *)this + 202) = *((_DWORD *)a2 + 14); *((_BYTE *)this + 812) = 1; if ( v10 ) cocos2d::CCObject::release(v10); *((_QWORD *)this + 100) = a2; cocos2d::CCObject::retain(a2); } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source