// // cocos2d::CCPointArray::reverse from 0x180026590 to 0x1800266c8 (312 bytes) // // 4 xrefs: // > cocos2d::CCCardinalSplineBy::reverse @ 0x180026298 // > cocos2d::CCCardinalSplineTo::reverse @ 0x18002656d // > @ 0x1801438a8 // > @ 0x1801af3dc // // 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 // // Hidden C++ exception states: #wind=2 struct cocos2d::CCPointArray *__fastcall cocos2d::CCPointArray::reverse(cocos2d::CCPointArray *this) { const void **v2; // rax const void **v3; // rdi _QWORD *v4; // rax __int64 v5; // rbx __int64 v6; // rcx float *v7; // rbp float *v8; // rax float *v9; // rax _BYTE *v10; // rdx cocos2d::CCObject *v11; // rax cocos2d::CCObject *v12; // rbx cocos2d::CCObject_vtbl *v13; // rax void *v15; // [rsp+40h] [rbp+8h] BYREF float *v16; // [rsp+48h] [rbp+10h] v2 = (const void **)operator new(0x18u); v3 = v2; if ( v2 ) { *v2 = nullptr; v2[1] = nullptr; v2[2] = nullptr; } else { v3 = nullptr; } v4 = *((_QWORD **)this + 7); v5 = v4[1]; if ( v5 != *v4 ) { v6 = v4[1]; do { v5 -= 8; v7 = *(float **)(v6 - 8); v8 = (float *)operator new(8u); v16 = v8; if ( v8 ) v9 = kmVec2Fill(v8, *v7, v7[1]); else v9 = nullptr; v15 = v9; v10 = v3[1]; if ( v10 == v3[2] ) { sub_180015D80(v3, v10, &v15); } else { *(_QWORD *)v10 = v9; v3[1] = (char *)v3[1] + 8; } v6 = v5; } while ( v5 != **((_QWORD **)this + 7) ); } v11 = (cocos2d::CCObject *)operator new(0x40u); v12 = v11; v15 = v11; if ( v11 ) { cocos2d::CCObject::CCObject(v11); v12->__vftable = (cocos2d::CCObject_vtbl *)&cocos2d::CCPointArray::`vftable'; v12[1].__vftable = nullptr; } else { v12 = nullptr; } if ( v12 ) { v13 = (cocos2d::CCObject_vtbl *)operator new(0x18u); if ( v13 ) { v13->copyWithZone = nullptr; v13->~CCObject = nullptr; v13->isEqual = nullptr; } else { v13 = nullptr; } v12[1].__vftable = v13; cocos2d::CCObject::autorelease(v12); } cocos2d::CCPointArray::setControlPoints(v12, v3); return (struct cocos2d::CCPointArray *)v12; }
GD Web Decomp Icon

GD Web Decomp

Raw Source