// // cocos2d::CCLayerGradient::create_2 from 0x1004acb50 to 0x1004accf2 (418 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 *cocos2d::CCLayerGradient::create_2() { _QWORD *v0; // rbx float v2[6]; // [rsp+8h] [rbp-18h] BYREF v0 = operator new(0x238u); __bzero(v0, 568); cocos2d::CCNode::CCNode((__int64)v0); *v0 = off_100B53A90; v0[40] = off_100B53F20; v0[41] = &off_100B53F90; v0[42] = off_100B53FA8; v0[43] = off_100B53FC8; v0[44] = off_100B53FF0; *((_DWORD *)v0 + 90) = 0; *((_BYTE *)v0 + 364) = 0; *((_OWORD *)v0 + 23) = 0; *((_OWORD *)v0 + 24) = 0; *((_DWORD *)v0 + 100) = 0; *((_BYTE *)v0 + 287) = 1; sub_100278250(v2, 0.5, 0.5); (*(void (__fastcall **)(_QWORD *, float *))(*v0 + 296LL))(v0, v2); v0[52] = -1; *((_WORD *)v0 + 212) = 0; v0[67] = 0x30300000001LL; *v0 = off_100B553F0; v0[40] = off_100B55988; v0[41] = &off_100B559F8; v0[42] = off_100B55A10; v0[43] = off_100B55A30; v0[44] = off_100B55A58; v0[51] = off_100B55A88; v0[54] = off_100B55B08; sub_1002782A0(v0 + 69); if ( (*(unsigned __int8 (__fastcall **)(_QWORD *))(*v0 + 80LL))(v0) ) { cocos2d::CCObject::autorelease((__int64)v0); } else { (*(void (__fastcall **)(_QWORD *))(*v0 + 16LL))(v0); return nullptr; } return v0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source