// // cocos2d::CCPointArray::copyWithZone from 0x5b0fa4 to 0x5b102c (136 bytes) // // 0 xrefs: // // 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 *cocos2d::CCPointArray::copyWithZone(cocos2d::CCPointArray *a1, cocos2d::CCZone *a2) { std::vector *v3; // r0 std::vector *v4; // r4 void (__fastcall *copyWithZone)(cocos2d::CCPointArray *__hidden); // r6 float *v6; // t1 float v7; // r11 float v8; // r10 cocos2d::CCPoint *v9; // r9 cocos2d::CCPointArray *v10; // r6 _DWORD v12[3]; // [sp+0h] [bp-Ch] BYREF v12[0] = a1; v12[1] = a2; v3 = (std::vector *)operator new(0xCu); v3->m_start = nullptr; v4 = v3; v3->m_finish = nullptr; v3->m_reserveEnd = nullptr; copyWithZone = (void (__fastcall *)(cocos2d::CCPointArray *__hidden))a1[1].copyWithZone; while ( copyWithZone != a1[1].~CCPointArray ) { v6 = *(float **)copyWithZone; copyWithZone = (void (__fastcall *)(cocos2d::CCPointArray *__hidden))((char *)copyWithZone + 4); v7 = *v6; v8 = v6[1]; v9 = (cocos2d::CCPoint *)operator new(8u); cocos2d::CCPoint::CCPoint(v9, v7, v8); v12[0] = v9; std::vector::emplace_back((void **)&v4->m_start, v12); } v10 = (cocos2d::CCPointArray *)operator new(0x38u); cocos2d::CCPointArray::CCPointArray(v10); cocos2d::CCPointArray::initWithCapacity(v10, 0xAu); cocos2d::CCPointArray::setControlPoints(v10, v4); return v10; }
GD Web Decomp Icon

GD Web Decomp

Raw Source