// // cocos2d::CCSpeed::copyWithZone from 0x1005f4620 to 0x1005f4765 (325 bytes) // // 1 xrefs: // > @ 0x10097b928 // // 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 // cocos2d::CCObject *__fastcall cocos2d::CCSpeed::copyWithZone(cocos2d::CCSpeed *a1, cocos2d::CCZone *a2) { char *v2; // rbx char **v3; // r15 char *v4; // rax char *v5; // r12 _QWORD *v6; // r13 cocos2d::CCObject *v7; // rax cocos2d::CCObject *v8; // r12 int v10; // [rsp+0h] [rbp-2Ch] if ( a2 ) { v2 = *(char **)a2; if ( *(_QWORD *)a2 ) { v3 = nullptr; v4 = *(char **)a2; LABEL_5: *((_DWORD *)v4 + 18) = a1->cocos2d::CCAction::m_nTag; goto LABEL_7; } } v2 = (char *)operator new(0x60u); cocos2d::CCObject::CCObject((__int64)v2); *(_OWORD *)(v2 + 56) = 0; *((_DWORD *)v2 + 18) = -1; *(_QWORD *)v2 = off_10097B928; _mm_storel_ps((double *)(v2 + 76), (__m128)0x3F800000u); *((_QWORD *)v2 + 11) = 0; v3 = (char **)operator new(8u); cocos2d::CCZone::CCZone(v3, (__int64)v2); v4 = *v3; if ( *v3 ) goto LABEL_5; v5 = (char *)operator new(0x50u); cocos2d::CCObject::CCObject((__int64)v5); *(_QWORD *)v5 = off_10097B8A8; *(_OWORD *)(v5 + 56) = 0; *((_QWORD *)v5 + 9) = 0x3F800000FFFFFFFFLL; v6 = operator new(8u); cocos2d::CCZone::CCZone(v6, (__int64)v5); *((_DWORD *)v5 + 18) = a1->cocos2d::CCAction::m_nTag; operator delete(v6); LABEL_7: v7 = (cocos2d::CCObject *)sub_10048AAA0(*(__int64 (__fastcall ****)(_QWORD, _QWORD))&a1[1].m_uID); v8 = cocos2d::CCObject::autorelease(v7); v10 = (int)a1[1].__vftable; cocos2d::CCObject::retain(v8); *((_QWORD *)v2 + 11) = v8; *((_DWORD *)v2 + 20) = v10; if ( v3 ) operator delete(v3); return (cocos2d::CCObject *)v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source