// // cocos2d::CCMotionStreak::create_1 from 0x100576320 to 0x100576439 (281 bytes) // // 1 xrefs: // > PlayerObject::setupStreak @ 0x1003fc979 // // 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 // cocos2d::CCMotionStreak *__fastcall cocos2d::CCMotionStreak::create_1( float a1, float a2, float a3, const cocos2d::ccColor3B *a4, const char *a5) { char *v5; // rbx cocos2d::CCTextureCache *v6; // rax cocos2d::CCTexture2D *v7; // rax v5 = (char *)operator new(0x1D8u); cocos2d::CCNodeRGBA::CCNodeRGBA((__int64)v5); *(_QWORD *)v5 = off_100965900; *((_QWORD *)v5 + 40) = off_100965D10; *((_QWORD *)v5 + 43) = off_100965D90; *((_WORD *)v5 + 176) = 0; *((_QWORD *)v5 + 45) = 0; *(_OWORD *)(v5 + 376) = 0; *(_OWORD *)(v5 + 392) = 0; *(_OWORD *)(v5 + 408) = 0; *(_OWORD *)(v5 + 424) = 0; v5[440] = 0; _mm_storel_ps((double *)(v5 + 444), (__m128)0x3F800000u); v5[460] = 0; sub_10028CC60((_QWORD *)v5 + 58, &dbl_1009A2B28); *((_QWORD *)v5 + 46) = 0x30300000302LL; v6 = cocos2d::CCTextureCache::sharedTextureCache(); v7 = cocos2d::CCTextureCache::addImage(v6, a5, 0); cocos2d::CCMotionStreak::initWithFade((cocos2d::CCMotionStreak *)v5, a1, a2, a3, a4, v7); cocos2d::CCObject::autorelease((cocos2d::CCObject *)v5); return (cocos2d::CCMotionStreak *)v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source