// // cocos2d::CCLayerGradient::create from 0xd5d8f8 to 0xd5d9e0 (232 bytes) // // 2 xrefs: // > LevelAreaLayer::init @ 0xb5bc54 // > @ 0x96910 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:07:48 +0000 // _QWORD *__fastcall cocos2d::CCLayerGradient::create(__int64 a1, __int64 a2) { _QWORD *v4; // x19 float v5; // s0 v4 = (_QWORD *)operator new(0x238u); memset(v4, 0, 0x238u); cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v4); *v4 = &off_151A3E0; v4[40] = off_151A978; v4[41] = &off_151A9E8; v4[42] = off_151AA00; v4[43] = off_151AA20; v4[44] = off_151AA48; v4[51] = &off_151AA78; v4[54] = &off_151AAF8; v5 = cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v4 + 69)); if ( (*(unsigned __int8 (__fastcall **)(_QWORD *, __int64, __int64, float))(*v4 + 1304LL))(v4, a1, a2, v5) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4); return v4; } else { (*(void (__fastcall **)(_QWORD *))(*v4 + 16LL))(v4); return nullptr; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source