// // cocos2d::CCWavesTiles3D::update from 0x5bac30 to 0x5bad2c (252 bytes) // // 0 xrefs: // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void cocos2d::CCWavesTiles3D::update(cocos2d::CCWavesTiles3D *a1, float a2) { int i; // r7 int v5; // r8 float v6; // s17 float v7; // s15 int v8; // r3 cocos2d::CCPoint v9; // [sp+4h] [bp-40h] BYREF float v10[2]; // [sp+Ch] [bp-38h] BYREF float v11; // [sp+14h] [bp-30h] float v12; // [sp+20h] [bp-24h] float v13; // [sp+2Ch] [bp-18h] float v14; // [sp+38h] [bp-Ch] for ( i = 0; (float)i < *(float *)&a1[1].__vftable; ++i ) { v5 = 0; while ( 1 ) { v6 = (float)v5; if ( (float)v5 >= *(float *)&a1[1].m_uID ) break; cocos2d::CCPoint::CCPoint(&v9, (float)i, (float)v5); cocos2d::CCTiledGrid3DAction::originalTile((cocos2d::CCTiledGrid3DAction *)v10, (const cocos2d::CCPoint *)a1); ++v5; v7 = (float)(a2 * 3.1416) * (float)(unsigned int)a1[1].m_nLuaID; v11 = (float)(sinf((float)(v7 + v7) + (float)((float)(v10[1] + v10[0]) * 0.01)) * *(float *)&a1[1].cocos2d::CCTiledGrid3DAction::cocos2d::CCGridAction::cocos2d::CCActionInterval::cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag) * *(float *)&a1[1].m_uReference; v12 = v11; v13 = v11; v14 = v11; cocos2d::CCPoint::CCPoint(&v9, (float)i, v6); cocos2d::CCTiledGrid3DAction::setTile((int)a1, (int)&v9, (int)v10, v8); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source