//
// cocos2d::extension::WebSocketCallbackWrapper::onSocketCallback from 0x7b3142 to 0x7b316c (42 bytes)
//
// 0 xrefs:
//
// 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 12:00:09 +0000
//
int __fastcall cocos2d::extension::WebSocketCallbackWrapper::onSocketCallback(
int a1,
unsigned int a2,
int a3,
const void *a4,
unsigned int a5)
{
int context; // r0
int result; // r0
context = lws_get_context(a1, a2, a3);
result = lws_context_user(context);
if ( result )
return cocos2d::extension::WebSocket::onSocketCallback(result, a1, a2, a3, a4, a5);
return result;
}