// // sub_180019520 from 0x180019520 to 0x180019588 (104 bytes) // // 3 xrefs: // > cocos2d::extension::WebSocket::init @ 0x18001a0e2 // > cocos2d::extension::WebSocket::init @ 0x18001a185 // > @ 0x18004ac08 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall sub_180019520(__int64 a1, unsigned int a2, __int64 a3, __int64 a4, __int64 a5) { __int64 context; // rax __int64 result; // rax context = lws_get_context(); result = lws_context_user(context); if ( result ) return cocos2d::extension::WebSocket::onSocketCallback(result, a1, a2, a3, a4, a5); return result; }