// // GJGradientLayer::init from 0x8559dc to 0x855a98 (188 bytes) // // 2 xrefs: // > @ 0x7b558 // > @ 0x1190d30 // // 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 GJGradientLayer::init(GJGradientLayer *a1) { char v2; // w20 void (__fastcall *setAnchorPoint)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x23 cocos2d::_ccColor4B v5; // [xsp+48h] [xbp+48h] BYREF cocos2d::CCPoint v6; // [xsp+50h] [xbp+50h] BYREF v5.r = -1; v5.g = -1; v5.b = -1; v5.a = -1; v6.x = -1.7014e38; v2 = cocos2d::CCLayerGradient::initWithColor(a1, &v5, (const cocos2d::_ccColor4B *)&v6); if ( v2 ) { setAnchorPoint = a1->setAnchorPoint; cocos2d::CCPoint::CCPoint(&v6, 0.0, 0.0); setAnchorPoint(a1, &v6); } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source