// // cocos2d::CCPointArray::reverse from 0x7b7738 to 0x7b77c4 (140 bytes) // // 2 xrefs: // > cocos2d::CCCardinalSplineTo::reverse @ 0x7b77ce // > cocos2d::CCCardinalSplineBy::reverse @ 0x7b7a78 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:00:12 +0000 // cocos2d::CCPointArray *__fastcall cocos2d::CCPointArray::reverse(cocos2d::CCPointArray *this, int a2) { _DWORD *v3; // r0 unsigned int v4; // r1 int v5; // r4 int v6; // r6 float *v7; // t1 cocos2d::CCPoint *v8; // r9 cocos2d::CCPoint **v9; // r3 unsigned int v10; // r2 cocos2d::CCPointArray *v11; // r6 _DWORD v13[2]; // [sp+0h] [bp-8h] BYREF v13[0] = this; v13[1] = a2; v3 = (_DWORD *)operator new(0xCu); *v3 = 0; v5 = (int)v3; v3[1] = 0; v3[2] = 0; v6 = *(_DWORD *)(*((_DWORD *)this + 13) + 4); while ( **((_DWORD **)this + 13) != v6 ) { v7 = *(float **)(v6 - 4); v6 -= 4; v8 = (cocos2d::CCPoint *)operator new(8u); cocos2d::CCPoint::CCPoint(v8, *v7, v7[1]); v9 = *(cocos2d::CCPoint ***)(v5 + 4); v10 = *(_DWORD *)(v5 + 8); v13[0] = v8; if ( (unsigned int)v9 >= v10 ) { std::vector::__push_back_slow_path((const void **)v5, v13); } else { if ( v9 ) *v9 = v8; *(_DWORD *)(v5 + 4) += 4; } } v11 = cocos2d::CCPointArray::create(nullptr, v4); cocos2d::CCPointArray::setControlPoints((int)v11, v5); return v11; }
GD Web Decomp Icon

GD Web Decomp

Raw Source