// // cocos2d::CCPointArray::replaceControlPoint from 0xab4fb8 to 0xab5010 (88 bytes) // // 3 xrefs: // > cocos2d::CCCardinalSplineBy::reverse @ 0xab6058 // > cocos2d::CCCardinalSplineBy::reverse @ 0xab6140 // > @ 0xa3860 // // 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 // void cocos2d::CCPointArray::replaceControlPoint(cocos2d::CCPointArray *a1, cocos2d::CCPoint *a2, unsigned int a3) { cocos2d::CCPointArray_vtbl *v3; // x0 unsigned __int64 v4; // x3 float x; // w3 float *v6; // x0 float y; // w1 v3 = a1[1].__vftable; v4 = ((char *)v3->~CCPointArray - (char *)v3->copyWithZone) >> 3; if ( a3 >= v4 ) sub_D13C5C("vector::_M_range_check: __n (which is %zu) >= this->size() (which is %zu)", a3, v4); x = a2->x; v6 = *((float **)v3->copyWithZone + a3); y = a2->y; *v6 = x; v6[1] = y; }
GD Web Decomp Icon

GD Web Decomp

Raw Source