// // cocos2d::CCPointArray::reverse from 0x180026ca0 to 0x180026dd7 (311 bytes) // // 4 xrefs: // > cocos2d::CCCardinalSplineBy::reverse @ 0x1800269ac // > cocos2d::CCCardinalSplineTo::reverse @ 0x180026c7d // > @ 0x18014cf68 // > @ 0x1801b94f0 // // 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 11:21:30 +0000 // // Hidden C++ exception states: #wind=2 struct cocos2d::CCPointArray *__fastcall cocos2d::CCPointArray::reverse(cocos2d::CCPointArray *this) { const void **v2; // rax const void **v3; // rdi float ***v4; // rax float **v5; // rbx float *v6; // rbp float *v7; // rax float *v8; // rax _BYTE *v9; // rdx cocos2d::CCObject *v10; // rax cocos2d::CCObject *v11; // rbx _QWORD *v12; // rax void *v14; // [rsp+40h] [rbp+8h] BYREF float *v15; // [rsp+48h] [rbp+10h] v2 = (const void **)sub_1800E4AC0(0x18u); v3 = v2; if ( v2 ) { *v2 = nullptr; v2[1] = nullptr; v2[2] = nullptr; } else { v3 = nullptr; } v4 = *((float ****)this + 7); v5 = v4[1]; if ( v5 != *v4 ) { do { v6 = *--v5; v7 = (float *)sub_1800E4AC0(8u); v15 = v7; if ( v7 ) v8 = kmVec2Fill(v7, *v6, v6[1]); else v8 = nullptr; v14 = v8; v9 = v3[1]; if ( v9 == v3[2] ) { sub_180025630(v3, v9, &v14); } else { *(_QWORD *)v9 = v8; v3[1] = (char *)v3[1] + 8; } } while ( v5 != **((float ****)this + 7) ); } v10 = (cocos2d::CCObject *)sub_1800E4AC0(0x40u); v11 = v10; v14 = v10; if ( v10 ) { cocos2d::CCObject::CCObject(v10); *(_QWORD *)v11 = &cocos2d::CCPointArray::`vftable'; *((_QWORD *)v11 + 7) = 0; } else { v11 = nullptr; } if ( v11 ) { v12 = (_QWORD *)sub_1800E4AC0(0x18u); if ( v12 ) { *v12 = 0; v12[1] = 0; v12[2] = 0; } else { v12 = nullptr; } *((_QWORD *)v11 + 7) = v12; cocos2d::CCObject::autorelease(v11); } cocos2d::CCPointArray::setControlPoints(v11, v3); return v11; }