// // cocos2d::CCFlipY3D::update from 0xd2cbc0 to 0xd2ce94 (724 bytes) // // 2 xrefs: // > @ 0x41500 // > @ 0x1512888 // // This function is hookable on this platform (idp: arm, 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 13:07:18 +0000 // __int64 __fastcall cocos2d::CCFlipY3D::update(cocos2d::CCFlipY3D *this, float a2) { float v2; // s9 float v4; // s8 float v5; // s11 int v6; // s0 float v7; // s1 int v8; // s2 float v9; // s10 float v10; // s1 float v11; // s9 int v12; // s0 int v13; // s2 float v14; // s8 float v15; // s9 float v16; // s8 int v17; // s0 float v18; // s2 int v19; // s0 float v20; // s1 float v21; // s2 int v22; // s0 float v23; // s2 int v24; // s0 float v25; // s1 float v26; // s2 char v28[8]; // [xsp+78h] [xbp+78h] BYREF char v29[8]; // [xsp+80h] [xbp+80h] BYREF char v30[8]; // [xsp+88h] [xbp+88h] BYREF char v31[8]; // [xsp+90h] [xbp+90h] BYREF int v32; // [xsp+98h] [xbp+98h] float v33; // [xsp+9Ch] [xbp+9Ch] int v34; // [xsp+A0h] [xbp+A0h] int v35; // [xsp+A8h] [xbp+A8h] float v36; // [xsp+ACh] [xbp+ACh] int v37; // [xsp+B0h] [xbp+B0h] int v38; // [xsp+B8h] [xbp+B8h] BYREF float v39; // [xsp+BCh] [xbp+BCh] float v40; // [xsp+C0h] [xbp+C0h] v2 = a2 * 3.1416; v4 = sinf(a2 * 3.1416); v5 = cosf(v2 * 0.5); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v38, 1.0, 1.0); cocos2d::CCGrid3DAction::originalVertex(this, (const cocos2d::CCPoint *)&v38); v32 = v6; v33 = v7; v34 = v8; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v38, 0.0, 0.0); cocos2d::CCGrid3DAction::originalVertex(this, (const cocos2d::CCPoint *)&v38); v9 = v33; v11 = v10; v35 = v12; v37 = v13; v36 = v10; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v28); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v29); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v31); if ( v9 > v11 ) { v11 = v9; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v38, 0.0, 0.0); cocos2d::CCPoint::operator=(v28, &v38); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v38, 0.0, 1.0); cocos2d::CCPoint::operator=(v29, &v38); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v38, 1.0, 0.0); cocos2d::CCPoint::operator=(v30, &v38); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v38, 1.0, 1.0); cocos2d::CCPoint::operator=(v31, &v38); } else { cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v38, 0.0, 0.0); cocos2d::CCPoint::operator=(v29, &v38); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v38, 0.0, 1.0); cocos2d::CCPoint::operator=(v28, &v38); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v38, 1.0, 0.0); cocos2d::CCPoint::operator=(v31, &v38); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v38, 1.0, 1.0); cocos2d::CCPoint::operator=(v30, &v38); } v14 = v11 * v4; v15 = v11 - (float)(v11 * v5); v16 = fabsf(floorf(v14 * 0.25)); cocos2d::CCGrid3DAction::originalVertex(this, (const cocos2d::CCPoint *)v28); v38 = v17; v39 = v15; v40 = v16 + v18; cocos2d::CCGrid3DAction::setVertex((__int64)this, (__int64)v28, (__int64)&v38); cocos2d::CCGrid3DAction::originalVertex(this, (const cocos2d::CCPoint *)v29); v38 = v19; v39 = v20 - v15; v40 = v21 - v16; cocos2d::CCGrid3DAction::setVertex((__int64)this, (__int64)v29, (__int64)&v38); cocos2d::CCGrid3DAction::originalVertex(this, (const cocos2d::CCPoint *)v30); v38 = v22; v39 = v15; v40 = v16 + v23; cocos2d::CCGrid3DAction::setVertex((__int64)this, (__int64)v30, (__int64)&v38); cocos2d::CCGrid3DAction::originalVertex(this, (const cocos2d::CCPoint *)v31); v38 = v24; v39 = v25 - v15; v40 = v26 - v16; cocos2d::CCGrid3DAction::setVertex((__int64)this, (__int64)v31, (__int64)&v38); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source