// // cocos2d::CCAnimation::addSpriteFrameWithFileName from 0x100296e80 to 0x100296eff (127 bytes) // // 0 xrefs: // // 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 cocos2d::CCAnimation::addSpriteFrameWithFileName(cocos2d::CCAnimation *a1, const char *a2) { cocos2d::CCTextureCache *v2; // rax cocos2d::CCTexture2D *v3; // r14 double v4; // xmm0_8 cocos2d::CCSpriteFrame *v5; // rax __m128 v6; // [rsp+8h] [rbp-38h] BYREF _QWORD v7[5]; // [rsp+18h] [rbp-28h] BYREF v2 = cocos2d::CCTextureCache::sharedTextureCache(); v3 = cocos2d::CCTextureCache::addImage(v2, a2, 0); v4 = sub_10028D180(&v6, (unsigned __int64 *)&unk_1009A0200); ((void (__fastcall *)(_QWORD *, cocos2d::CCTexture2D *, double))v3->getContentSize)(v7, v3, v4); sub_10028CFF0(&v6.i64[1], v7); v5 = cocos2d::CCSpriteFrame::createWithTexture_1(v3, (const cocos2d::CCRect *)&v6); cocos2d::CCAnimation::addSpriteFrame(a1, v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source