// // cocos2d::extension::WebSocket::close from 0x18001a1c0 to 0x18001a23f (127 bytes) // // 3 xrefs: // > cocos2d::extension::WebSocket::~WebSocket @ 0x1800197f1 // > @ 0x180032408 // > @ 0x18004cc44 // // 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 12:15:43 +0000 // void __fastcall cocos2d::extension::WebSocket::close(struct cocos2d::CCObject **this, __int64 a2) { __int64 v3; // rax struct cocos2d::CCObject *v4; // rbx cocos2d::CCScheduler *v5; // rax int v6; // eax __int64 v7; // rax __int128 v8; // [rsp+20h] [rbp-18h] BYREF __int64 v9; // [rsp+40h] [rbp+8h] BYREF v3 = cocos2d::CCDirector::sharedDirector(this, a2); v4 = *(this + 11); v5 = (cocos2d::CCScheduler *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 112LL))(v3); cocos2d::CCScheduler::unscheduleAllForTarget(v5, v4); v6 = *((_DWORD *)this + 2); if ( v6 != 2 && v6 != 3 ) { v7 = (__int64)*(this + 11); *((_DWORD *)this + 2) = 3; v9 = 0; v8 = *(_OWORD *)(v7 + 88); pthread_join(&v8, &v9); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCObject **))(*(_QWORD *)*(this + 14) + 24LL))(*(this + 14), this); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source