// // cocos2d::CCSprite::isFrameDisplayed from 0x18008bea0 to 0x18008bf48 (168 bytes) // // 9 xrefs: // > @ 0x1800ebc68 // > @ 0x1800ec140 // > @ 0x1800eccc0 // > @ 0x180103b78 // > @ 0x180106b70 // > @ 0x18013d654 // > @ 0x18013d664 // > @ 0x1801438a8 // > @ 0x1801b5be0 // // 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 // bool __fastcall cocos2d::CCSprite::isFrameDisplayed(cocos2d::CCSprite *this, struct cocos2d::CCSpriteFrame *a2) { struct cocos2d::CCTexture2D *Texture; // rdi int v5; // ebx cocos2d::CCSize *PositionOffset; // rax bool result; // al cocos2d::CCRect v8; // [rsp+20h] [rbp-18h] BYREF cocos2d::CCRect::CCRect(&v8, &a2->m_obRect); result = false; if ( cocos2d::CCRect::equals(&v8, &this->m_obRect) ) { Texture = cocos2d::CCSpriteFrame::getTexture(a2); v5 = ((__int64 (__fastcall *)(cocos2d::CCTexture2D *))this->m_pobTexture->getName)(this->m_pobTexture); if ( ((unsigned int (__fastcall *)(struct cocos2d::CCTexture2D *))Texture->getName)(Texture) == v5 ) { PositionOffset = (cocos2d::CCSize *)cocos2d::CCTMXObjectGroup::getPositionOffset((cocos2d::CCTMXObjectGroup *)a2); if ( cocos2d::CCSize::equals( PositionOffset, (const struct cocos2d::CCSize *)&this->m_obUnflippedOffsetPositionFromCenter) ) { return true; } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source