// // cocos2d::CCSplitRows::update from 0x5ba67c to 0x5ba74e (210 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::CCSplitRows::update(cocos2d::CCSplitRows *a1, float a2) { unsigned int v3; // r6 bool v5; // zf float v6; // r2 float v7; // s15 float v8; // s15 int v9; // r3 cocos2d::CCPoint v10; // [sp+4h] [bp+0h] BYREF float v11[3]; // [sp+Ch] [bp+8h] BYREF float v12; // [sp+18h] [bp+14h] float v13; // [sp+24h] [bp+20h] float v14; // [sp+30h] [bp+2Ch] v3 = 0; while ( (float)v3 < *(float *)&a1[1].m_uID ) { cocos2d::CCPoint::CCPoint(&v10, 0.0, (float)v3); cocos2d::CCTiledGrid3DAction::originalTile((cocos2d::CCTiledGrid3DAction *)v11, (const cocos2d::CCPoint *)a1); v5 = (v3 & 1) == 0; v6 = (float)v3++; v7 = 1.0; if ( v5 ) v7 = -1.0; v8 = (float)(v7 * *(float *)&a1[1].cocos2d::CCTiledGrid3DAction::cocos2d::CCGridAction::cocos2d::CCActionInterval::cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag) * a2; v11[0] = v11[0] + v8; v12 = v12 + v8; v13 = v13 + v8; v14 = v14 + v8; cocos2d::CCPoint::CCPoint(&v10, 0.0, v6); cocos2d::CCTiledGrid3DAction::setTile((int)a1, (int)&v10, (int)v11, v9); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source