// // sub_4DC2E0 from 0x4dc2e0 to 0x4dc320 (64 bytes) // // 8 xrefs: // > KeybindingsLayer::countForPage @ 0x852730 // > KeybindingsLayer::incrementCountForPage @ 0x852908 // > KeybindingsLayer::objectsForPage @ 0x852af8 // > KeybindingsLayer::layerForPage @ 0x852d14 // > KeybindingsLayer::goToPage @ 0x8533cc // > KeybindingsLayer::goToPage @ 0x853418 // > KeybindingsLayer::onInfo @ 0x854094 // > KeybindingsLayer::onInfo @ 0x8540c0 // // 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_4DC2E0(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