// // cocos2d::CCJumpTiles3D::update from 0xd39fac to 0xd3a160 (436 bytes) // // 2 xrefs: // > @ 0xe0b30 // > @ 0x15151e8 // // 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:25 +0000 // __int64 __fastcall cocos2d::CCJumpTiles3D::update(cocos2d::CCJumpTiles3D *this, float a2) { float v4; // s11 float v5; // s0 float v6; // s9 float v7; // s8 float v8; // s10 float v9; // s11 float v10; // s0 float v11; // s1 float v12; // s10 float v13; // s9 int v14; // w23 float v15; // s0 int v16; // w20 float v17; // s8 float v18; // s3 float v19; // s2 float v20; // s1 float v21; // s0 _BYTE v23[8]; // [xsp+70h] [xbp+70h] BYREF _BYTE v24[8]; // [xsp+78h] [xbp+78h] BYREF float v25; // [xsp+80h] [xbp+80h] float v26; // [xsp+8Ch] [xbp+8Ch] float v27; // [xsp+98h] [xbp+98h] float v28; // [xsp+A4h] [xbp+A4h] v4 = (float)*((unsigned int *)this + 25); v5 = sinf((float)((float)(a2 * 3.1416) * v4) + (float)((float)(a2 * 3.1416) * v4)); v6 = *((float *)this + 26); v7 = (float)((float)(a2 * v4) * 2.0) + 1.0; v8 = *((float *)this + 27); v9 = (float)(v5 * v6) * v8; v10 = sinf(v7 * 3.1416); v11 = *((float *)this + 23); v12 = v8 * (float)(v6 * v10); if ( v11 > 0.0 ) { v13 = 0.0; v14 = 0; v15 = *((float *)this + 24); do { v16 = 0; v17 = 0.0; if ( v15 > 0.0 ) { do { cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v23, v13, v17); cocos2d::CCTiledGrid3DAction::originalTile(this, (const cocos2d::CCPoint *)v23, (__int64)v24); if ( ((v16 + v14) & 1) != 0 ) { v18 = v25 + v12; v19 = v26 + v12; v20 = v27 + v12; v21 = v28 + v12; } else { v18 = v25 + v9; v19 = v26 + v9; v20 = v27 + v9; v21 = v28 + v9; } v25 = v18; v26 = v19; v27 = v20; v28 = v21; ++v16; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v23, v13, v17); cocos2d::CCTiledGrid3DAction::setTile((__int64)this, (__int64)v23, (__int64)v24); v17 = (float)v16; v15 = *((float *)this + 24); } while ( (float)v16 < v15 ); v11 = *((float *)this + 23); } v13 = (float)++v14; } while ( (float)v14 < v11 ); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source