// // cocos2d::CCParallaxNode::addChild from 0xb37f08 to 0xb380b0 (424 bytes) // // 2 xrefs: // > @ 0x55410 // > @ 0x121a930 // // 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 cocos2d::CCParallaxNode::addChild( cocos2d::CCParallaxNode *a1, cocos2d::CCNode *a2, unsigned int a3, const cocos2d::CCPoint *a4, const cocos2d::CCPoint *a5) { __int64 v7; // x19 float v8; // s0 float v9; // s1 float v10; // s0 float v11; // s1 float y; // s3 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x5 float v14; // s2 cocos2d::CCPoint v17; // [xsp+88h] [xbp+88h] BYREF cocos2d::CCPoint v18; // [xsp+90h] [xbp+90h] BYREF cocos2d::CCPoint v19; // [xsp+98h] [xbp+98h] BYREF cocos2d::CCPoint v20; // [xsp+A0h] [xbp+A0h] BYREF cocos2d::CCPoint::CCPoint(&v17, a4); cocos2d::CCPoint::CCPoint(&v18, a5); v7 = operator new(0x50u); *(_QWORD *)v7 = 0; *(_QWORD *)(v7 + 8) = 0; *(_QWORD *)(v7 + 16) = 0; *(_QWORD *)(v7 + 24) = 0; *(_QWORD *)(v7 + 32) = 0; *(_QWORD *)(v7 + 40) = 0; *(_QWORD *)(v7 + 48) = 0; *(_QWORD *)(v7 + 56) = 0; *(_QWORD *)(v7 + 64) = 0; *(_QWORD *)(v7 + 72) = 0; cocos2d::CCObject::CCObject((cocos2d::CCObject *)v7); *(_QWORD *)v7 = &off_121A560; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v7 + 56)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v7 + 64)); cocos2d::CCPoint::CCPoint(&v20, &v17); cocos2d::CCPoint::CCPoint(&v19, &v18); cocos2d::CCPoint::operator=((cocos2d::CCPoint *)(v7 + 56), v8, v9, (float *)&v20); cocos2d::CCPoint::operator=((cocos2d::CCPoint *)(v7 + 64), v10, v11, (float *)&v19); *(_QWORD *)(v7 + 72) = 0; cocos2d::CCObject::autorelease((cocos2d::CCObject *)v7); *(_QWORD *)(v7 + 72) = a2; cocos2d::ccArrayAppendObjectWithResize((unsigned int *)a1[1].__vftable, (cocos2d::CCObject *)v7); cocos2d::CCPoint::CCPoint(&v20, &a1->m_obPosition); y = a4->y; setPosition = a2->setPosition; v14 = a5->y; v20.x = a5->x + (float)(v20.x * a4->x); v20.y = v14 + (float)(v20.y * y); setPosition(a2, &v20); a2->getTag(a2); cocos2d::CCNode::addChild(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source