// // cocos2d::CCBezierBy::update from 0x7bd83c to 0x7bd97a (318 bytes) // // 0 xrefs: // // 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:17 +0000 // int __fastcall cocos2d::CCBezierBy::update(int this, float a2) { int v2; // r4 float v4; // s17 float v5; // s27 float v6; // s26 float v7; // s25 float v8; // s23 float v9; // s22 float v10; // s16 float v11; // s28 float v12; // s19 float v13; // s17 float v14; // s18 float v15; // s15 const cocos2d::CCPoint *v16; // r0 _BYTE v17[8]; // [sp+4h] [bp-28h] BYREF _BYTE v18[8]; // [sp+Ch] [bp-20h] BYREF _BYTE v19[8]; // [sp+14h] [bp-18h] BYREF _BYTE v20[8]; // [sp+1Ch] [bp-10h] BYREF v2 = this; if ( *(_DWORD *)(this + 56) ) { v4 = *(float *)(this + 88); v5 = *(float *)(this + 96); v6 = *(float *)(this + 80); v7 = *(float *)(this + 92); v8 = *(float *)(this + 100); v9 = *(float *)(this + 84); v10 = (float)(a2 * 3.0) * (float)((float)(1.0 - a2) * (float)(1.0 - a2)); v11 = powf(1.0 - a2, 3.0); v12 = (float)((float)(a2 * a2) * 3.0) * (float)(1.0 - a2); v13 = (float)((float)((float)(v10 * v4) + (float)(v11 * 0.0)) + (float)(v12 * v5)) + (float)(powf(a2, 3.0) * v6); v14 = powf(1.0 - a2, 3.0); v15 = powf(a2, 3.0); v16 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(_DWORD))(**(_DWORD **)(v2 + 56) + 96))(*(_DWORD *)(v2 + 56)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, v16); cocos2d::CCPoint::operator-(v18, v17, v2 + 112); cocos2d::CCPoint::operator+(v20, v2 + 104, v18); cocos2d::CCPoint::operator=(v2 + 104, v20); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v20, v13, (float)((float)((float)(v10 * v7) + (float)(v14 * 0.0)) + (float)(v12 * v8)) + (float)(v15 * v9)); cocos2d::CCPoint::operator+(v19, v2 + 104, v20); (*(void (__fastcall **)(_DWORD, _BYTE *))(**(_DWORD **)(v2 + 56) + 92))(*(_DWORD *)(v2 + 56), v19); return cocos2d::CCPoint::operator=(v2 + 112, v19); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source