// // sub_58B6C0 from 0x58b6c0 to 0x58b704 (68 bytes) // // 21 xrefs: // > ObjectManager::setup @ 0x58ba48 // > ObjectManager::setup @ 0x58ba64 // > ObjectManager::setup @ 0x58ba98 // > ObjectManager::setup @ 0x58bad0 // > ObjectManager::getGlobalAnimCopy @ 0x58bc50 // > ObjectManager::getGlobalAnimCopy @ 0x58bc7c // > ObjectManager::loadCopiedAnimations @ 0x58c07c // > ObjectManager::replaceAllOccurencesOfString @ 0x58c94c // > ObjectManager::replaceAllOccurencesOfString @ 0x58c968 // > ObjectManager::replaceAllOccurencesOfString @ 0x58c990 // > ObjectManager::replaceAllOccurencesOfString @ 0x58c9c8 // > ObjectManager::replaceAllOccurencesOfString @ 0x58ca08 // > ObjectManager::replaceAllOccurencesOfString @ 0x58ca34 // > ObjectManager::replaceAllOccurencesOfString @ 0x58ca58 // > ObjectManager::replaceAllOccurencesOfString @ 0x58ca98 // > ObjectManager::replaceAllOccurencesOfString @ 0x58cab4 // > ObjectManager::replaceAllOccurencesOfString @ 0x58cad0 // > ObjectManager::loadCopiedSets @ 0x58cf1c // > ObjectManager::getDefinition @ 0x58d0ec // > ObjectManager::setLoaded @ 0x58d1f0 // > ObjectManager::animLoaded @ 0x58d2ec // // 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_58B6C0(void *p) { unsigned int *v1; // x3 int v2; // w2 int v3; // w2 if ( !&pthread_create ) { v3 = *((_DWORD *)p + 4); *((_DWORD *)p + 4) = v3 - 1; if ( v3 > 0 ) return; LABEL_7: operator delete(p); return; } v1 = (unsigned int *)((char *)p + 16); do v2 = __ldaxr(v1); while ( __stlxr(v2 - 1, v1) ); if ( v2 <= 0 ) goto LABEL_7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source