// // GJGradientLayer::init from 0x46c2b8 to 0x46c324 (108 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 // bool GJGradientLayer::init(GJGradientLayer *a1) { int v2; // r6 void (__fastcall *setAnchorPoint)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r8 cocos2d::_ccColor4B v5; // [sp+0h] [bp-10h] BYREF cocos2d::CCPoint v6; // [sp+4h] [bp-Ch] BYREF v6.x = -1.7014e38; v5.r = -1; v5.g = -1; v5.b = -1; v5.a = -1; 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