// // cocos2d::CCPointArray::reverse from 0x5b1070 to 0x5b10e6 (118 bytes) // // 2 xrefs: // > cocos2d::CCCardinalSplineTo::reverse @ 0x5b10f2 // > cocos2d::CCCardinalSplineBy::reverse @ 0x5b1230 // // 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::CCPointArray *cocos2d::CCPointArray::reverse(cocos2d::CCPointArray *a1) { std::vector *v2; // r0 std::vector *v3; // r4 void (__fastcall *v4)(cocos2d::CCPointArray *__hidden); // r6 float *v5; // t1 cocos2d::CCPoint *v6; // r10 cocos2d::CCPointArray *v7; // r6 cocos2d::CCPointArray *v9; // [sp+0h] [bp-8h] BYREF v9 = a1; v2 = (std::vector *)operator new(0xCu); v2->m_start = nullptr; v3 = v2; v2->m_finish = nullptr; v2->m_reserveEnd = nullptr; v4 = a1[1].~CCPointArray; while ( (char *)a1[1].copyWithZone != (char *)v4 ) { v5 = *((float **)v4 - 1); v4 = (void (__fastcall *)(cocos2d::CCPointArray *__hidden))((char *)v4 - 4); v6 = (cocos2d::CCPoint *)operator new(8u); cocos2d::CCPoint::CCPoint(v6, *v5, v5[1]); v9 = (cocos2d::CCPointArray *)v6; std::vector::emplace_back((void **)&v3->m_start, &v9); } v7 = cocos2d::CCPointArray::create(0); cocos2d::CCPointArray::setControlPoints(v7, v3); return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source