// // sub_4DD520 from 0x4dd520 to 0x4dd560 (64 bytes) // // 11 xrefs: // > MPLobbyLayer::uploadActionFailed @ 0x9c9d68 // > MPLobbyLayer::uploadActionFailed @ 0x9c9d94 // > MPLobbyLayer::joinLobbyFinished @ 0x9ca29c // > MPLobbyLayer::joinLobbyFinished @ 0x9ca2b8 // > MPLobbyLayer::onBtn1 @ 0x9ca434 // > MPLobbyLayer::onComment @ 0x9ca5cc // > MPLobbyLayer::onComment @ 0x9ca5e8 // > MPLobbyLayer::postComment @ 0x9ca7dc // > MPLobbyLayer::uploadActionFinished @ 0x9caaac // > MPLobbyLayer::uploadActionFinished @ 0x9caad8 // > MPLobbyLayer::tryExitLobby @ 0x9cac3c // // 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 sub_4DD520(void *p) { unsigned int *v1; // x3 int v2; // w2 if ( &pthread_create ) { v1 = (unsigned int *)((char *)p + 16); do v2 = __ldaxr(v1); while ( __stlxr(v2 - 1, v1) ); } else { v2 = *((_DWORD *)p + 4); *((_DWORD *)p + 4) = v2 - 1; } if ( v2 <= 0 ) operator delete(p); }
GD Web Decomp Icon

GD Web Decomp

Raw Source