// // sub_4DC898 from 0x4dc898 to 0x4dc8d8 (64 bytes) // // 10 xrefs: // > MessagesProfilePage::uploadActionFailed @ 0x8f20a8 // > MessagesProfilePage::uploadActionFinished @ 0x8f23dc // > MessagesProfilePage::uploadActionFinished @ 0x8f23f8 // > MessagesProfilePage::onDeleteSelected @ 0x8f2650 // > MessagesProfilePage::deleteSelected @ 0x8f28a4 // > MessagesProfilePage::loadPage @ 0x8f3174 // > MessagesProfilePage::loadPage @ 0x8f3190 // > MessagesProfilePage::setupPageInfo @ 0x8f4278 // > MessagesProfilePage::setupPageInfo @ 0x8f42a4 // > MessagesProfilePage::setupPageInfo @ 0x8f42c8 // // 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_4DC898(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