// // cocos2d::CCFlipX3D::update from 0x7ba2f0 to 0x7ba534 (580 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:14 +0000 // int __fastcall cocos2d::CCFlipX3D::update(cocos2d::CCFlipX3D *this, float a2) { float v3; // s16 float v4; // s18 float v5; // s19 float v6; // s17 float v7; // s16 float v8; // s17 float v9; // s16 int v10; // r3 int v11; // r3 int v12; // r3 int v13; // r3 float v15; // [sp+0h] [bp-20h] BYREF int v16; // [sp+4h] [bp-1Ch] float v17; // [sp+8h] [bp-18h] _BYTE v18[8]; // [sp+10h] [bp-10h] BYREF _BYTE v19[8]; // [sp+18h] [bp-8h] BYREF _BYTE v20[8]; // [sp+20h] [bp+0h] BYREF _BYTE v21[8]; // [sp+28h] [bp+8h] BYREF float v22[3]; // [sp+30h] [bp+10h] BYREF float v23[3]; // [sp+3Ch] [bp+1Ch] BYREF float v24; // [sp+48h] [bp+28h] BYREF int v25; // [sp+4Ch] [bp+2Ch] float v26; // [sp+50h] [bp+30h] v3 = a2 * 3.1416; v4 = sinf(a2 * 3.1416); v5 = cosf(v3 * 0.5); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v24, 1.0, 1.0); cocos2d::CCGrid3DAction::originalVertex((cocos2d::CCGrid3DAction *)v22, this); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v24, 0.0, 0.0); cocos2d::CCGrid3DAction::originalVertex((cocos2d::CCGrid3DAction *)v23, this); v6 = v22[0]; v7 = v23[0]; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v18); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v19); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v20); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v21); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v24, 0.0, 0.0); if ( v6 <= v7 ) { cocos2d::CCPoint::operator=(v20, &v24); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v24, 0.0, 1.0); cocos2d::CCPoint::operator=(v21, &v24); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v24, 1.0, 0.0); cocos2d::CCPoint::operator=(v18, &v24); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v24, 1.0, 1.0); cocos2d::CCPoint::operator=(v19, &v24); } else { v7 = v6; cocos2d::CCPoint::operator=(v18, &v24); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v24, 0.0, 1.0); cocos2d::CCPoint::operator=(v19, &v24); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v24, 1.0, 0.0); cocos2d::CCPoint::operator=(v20, &v24); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v24, 1.0, 1.0); cocos2d::CCPoint::operator=(v21, &v24); } v8 = v7 - (float)(v7 * v5); v9 = fabsf(floorf((float)(v7 * v4) * 0.25)); cocos2d::CCGrid3DAction::originalVertex((cocos2d::CCGrid3DAction *)&v15, this); v25 = v16; v24 = v8; v26 = v17 + v9; cocos2d::CCGrid3DAction::setVertex((int)this, (int)v18, (int)&v24, v10); cocos2d::CCGrid3DAction::originalVertex((cocos2d::CCGrid3DAction *)&v15, this); v25 = v16; v24 = v8; v26 = v17 + v9; cocos2d::CCGrid3DAction::setVertex((int)this, (int)v19, (int)&v24, v11); cocos2d::CCGrid3DAction::originalVertex((cocos2d::CCGrid3DAction *)&v15, this); v25 = v16; v24 = v15 - v8; v26 = v17 - v9; cocos2d::CCGrid3DAction::setVertex((int)this, (int)v20, (int)&v24, v12); cocos2d::CCGrid3DAction::originalVertex((cocos2d::CCGrid3DAction *)&v15, this); v25 = v16; v24 = v15 - v8; v26 = v17 - v9; return cocos2d::CCGrid3DAction::setVertex((int)this, (int)v21, (int)&v24, v13); }
GD Web Decomp Icon

GD Web Decomp

Raw Source