// // cocos2d::CCLayerGradient::create from 0x1004ac940 to 0x1004acaff (447 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: pc, 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 12:30:57 +0000 // _QWORD *__fastcall cocos2d::CCLayerGradient::create(__int64 a1, __int64 a2, __int64 a3) { _QWORD *v4; // rbx float v6[10]; // [rsp+8h] [rbp-28h] BYREF v4 = operator new(0x238u); __bzero(v4, 568); cocos2d::CCNode::CCNode((__int64)v4); *v4 = off_100B53A90; v4[40] = off_100B53F20; v4[41] = &off_100B53F90; v4[42] = off_100B53FA8; v4[43] = off_100B53FC8; v4[44] = off_100B53FF0; *((_DWORD *)v4 + 90) = 0; *((_BYTE *)v4 + 364) = 0; *((_OWORD *)v4 + 23) = 0; *((_OWORD *)v4 + 24) = 0; *((_DWORD *)v4 + 100) = 0; *((_BYTE *)v4 + 287) = 1; sub_100278250(v6, 0.5, 0.5); (*(void (__fastcall **)(_QWORD *, float *))(*v4 + 296LL))(v4, v6); v4[52] = -1; *((_WORD *)v4 + 212) = 0; v4[67] = 0x30300000001LL; *v4 = off_100B553F0; v4[40] = off_100B55988; v4[41] = &off_100B559F8; v4[42] = off_100B55A10; v4[43] = off_100B55A30; v4[44] = off_100B55A58; v4[51] = off_100B55A88; v4[54] = off_100B55B08; sub_1002782A0(v4 + 69); if ( (*(unsigned __int8 (__fastcall **)(_QWORD *, __int64, __int64, __int64))(*v4 + 1312LL))(v4, a1, a2, a3) ) { cocos2d::CCObject::autorelease((__int64)v4); } else { (*(void (__fastcall **)(_QWORD *))(*v4 + 16LL))(v4); return nullptr; } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source