// // CCSpritePart::updateDisplayFrame from 0x577f18 to 0x578028 (272 bytes) // // 2 xrefs: // > CCPartAnimSprite::changeTextureOfID @ 0x5780b0 // > @ 0xb4de0 // // 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 // __int64 __fastcall CCSpritePart::updateDisplayFrame(__int64 a1, const char **a2) { char *v4; // x0 void (__fastcall *v5)(__int64, cocos2d::CCSpriteFrame *); // x20 cocos2d::CCSpriteFrameCache *v6; // x0 cocos2d::CCSpriteFrame *v7; // x0 unsigned int *v9; // x2 int v10; // w1 _DWORD *v11; // [xsp+40h] [xbp+40h] BYREF sub_D18D28(&v11, a2); CCSpritePart::frameChanged(a1, (const void **)&v11); v4 = (char *)(v11 - 6); if ( v11 - 6 != (_DWORD *)&qword_124B6B0 ) { if ( &pthread_create ) { v9 = v11 - 2; do v10 = __ldaxr(v9); while ( __stlxr(v10 - 1, v9) ); } else { v10 = *(v11 - 2); *(v11 - 2) = v10 - 1; } if ( v10 <= 0 ) operator delete(v4); } v5 = *(void (__fastcall **)(__int64, cocos2d::CCSpriteFrame *))(*(_QWORD *)a1 + 1144LL); v6 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v7 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v6, *a2); v5(a1, v7); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source