// // sub_4DC1E0 from 0x4dc1e0 to 0x4dc220 (64 bytes) // // 13 xrefs: // > NewgroundsInfoLayer::onInfo @ 0x83bc24 // > NewgroundsInfoLayer::onChanges @ 0x83bd50 // > SongOptionsLayer::onInfo @ 0x83be6c // > SongSelectNode::getSongFileName @ 0x83bf88 // > CustomSongLayer::init @ 0x83cd40 // > CustomSongLayer::showNewgroundsMessage @ 0x83cfd8 // > CustomSongLayer::onSearch @ 0x83d13c // > SongOptionsLayer::init @ 0x83dc18 // > SongOptionsLayer::init @ 0x83dc44 // > SongOptionsLayer::init @ 0x83dc6c // > SongOptionsLayer::onPlayback @ 0x83e058 // > NCSInfoLayer::init @ 0x83e814 // > SongSelectNode::updateAudioLabel @ 0x83eb44 // // 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_4DC1E0(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