// // cocos2d::CCSprite::setDisplayFrame from 0x18008f660 to 0x18008f6dc (124 bytes) // // 7 xrefs: // > @ 0x1800f1d60 // > @ 0x1800f2248 // > @ 0x1800f2df8 // > @ 0x18010a238 // > @ 0x18010d250 // > @ 0x18014cf68 // > @ 0x1801c0030 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:22:07 +0000 // void __fastcall cocos2d::CCSprite::setDisplayFrame(cocos2d::CCSprite *this, struct cocos2d::CCSpriteFrame *a2) { const struct cocos2d::CCPoint *PositionOffset; // rax struct cocos2d::CCTexture2D *Texture; // rax __int64 v6; // r8 __int64 v7; // rax if ( a2 ) { PositionOffset = cocos2d::CCTMXObjectGroup::getPositionOffset(a2); cocos2d::CCSize::operator=((_DWORD *)this + 113, PositionOffset); Texture = cocos2d::CCSpriteFrame::getTexture(a2); if ( Texture != *((struct cocos2d::CCTexture2D **)this + 52) ) (*(void (__fastcall **)(char *, struct cocos2d::CCTexture2D *))(*((_QWORD *)this + 43) + 24LL))( (char *)this + 344, Texture); v6 = *((unsigned __int8 *)a2 + 88); v7 = *(_QWORD *)this; *((_BYTE *)this + 440) = v6; (*(void (__fastcall **)(cocos2d::CCSprite *, char *, __int64, char *))(v7 + 984))( this, (char *)a2 + 92, v6, (char *)a2 + 64); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source