// // cocos2d::CCBezierTo::copyWithZone from 0x1003a32f0 to 0x1003a33eb (251 bytes) // // 1 xrefs: // > @ 0x100b32b58 // // 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:29:20 +0000 // _OWORD *__fastcall cocos2d::CCBezierTo::copyWithZone(__int64 a1, void **a2) { _OWORD *v2; // rbx void **v3; // r15 __m128 v4; // xmm0 __m128 v5; // xmm1 if ( a2 && (v2 = *a2) != nullptr ) { v3 = nullptr; } else { v2 = operator new(0xA0u); *v2 = 0; v2[1] = 0; v2[2] = 0; v2[3] = 0; v2[4] = 0; v2[5] = 0; v2[6] = 0; v2[7] = 0; v2[8] = 0; v2[9] = 0; sub_1003A6370(v2); v3 = (void **)operator new(8u); cocos2d::CCZone::CCZone(v3, (__int64)v2); a2 = v3; } cocos2d::CCBezierBy::copyWithZone(a1, a2); v4 = (__m128)*(unsigned int *)(a1 + 80); v5 = _mm_cmpeq_ss((__m128)0LL, v4); *((_QWORD *)v2 + 10) = _mm_andnot_ps(v5, v4).u32[0] | v5.i32[0] & 0x34000000; *((_BYTE *)v2 + 88) = 1; sub_100278300((_OWORD *)((char *)v2 + 92), (_QWORD *)(a1 + 92)); sub_100278300((_OWORD *)((char *)v2 + 100), (_QWORD *)(a1 + 100)); sub_100278300((_OWORD *)((char *)v2 + 108), (_QWORD *)(a1 + 108)); if ( v3 ) operator delete(v3); return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source