// // cocos2d::extension::WsThreadHelper::update from 0x5accd8 to 0x5acd32 (90 bytes) // // 0 xrefs: // // 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 // void __fastcall cocos2d::extension::WsThreadHelper::update(cocos2d::extension::WsThreadHelper *this, float a2) { pthread_mutex_t *v2; // r7 _DWORD *v4; // r1 int v5; // r3 _DWORD *v6; // r4 _DWORD *v7; // r2 void *v8; // r5 int v9; // r0 v2 = (pthread_mutex_t *)((char *)this + 60); pthread_mutex_lock((pthread_mutex_t *)((char *)this + 60)); v4 = *((_DWORD **)this + 13); v5 = 0; v6 = (_DWORD *)*v4; v7 = (_DWORD *)*v4; while ( v7 != v4 ) { v7 = (_DWORD *)*v7; ++v5; } if ( v5 ) { v8 = (void *)v6[2]; sub_74AB00(*v4); operator delete(v6); pthread_mutex_unlock(v2); v9 = *((_DWORD *)this + 18); if ( v9 ) (*(void (__fastcall **)(int, void *))(*(_DWORD *)v9 + 20))(v9, v8); if ( v8 ) operator delete(v8); } else { j_pthread_mutex_unlock(v2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source