// // sub_4DB080 from 0x4db080 to 0x4db0c0 (64 bytes) // // 13 xrefs: // > CCPartAnimSprite::getSpriteForKey @ 0x5770a0 // > CCSpritePart::createWithSpriteFrameName @ 0x5774b4 // > CCSpritePart::frameChanged @ 0x577760 // > CCPartAnimSprite::transformSprite @ 0x577968 // > CCPartAnimSprite::tweenSpriteTo @ 0x577ce4 // > CCPartAnimSprite::tweenToFrame @ 0x577f0c // > CCSpritePart::updateDisplayFrame @ 0x57801c // > CCPartAnimSprite::changeTextureOfID @ 0x5781c8 // > CCPartAnimSprite::initWithAnimDesc @ 0x578990 // > CCPartAnimSprite::initWithAnimDesc @ 0x5789bc // > CCPartAnimSprite::initWithAnimDesc @ 0x5789e0 // > CCPartAnimSprite::initWithAnimDesc @ 0x578a18 // > CCPartAnimSprite::initWithAnimDesc @ 0x578a50 // // 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_4DB080(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