// // cocos2d::CCTurnOffTiles::update from 0xac9610 to 0xac96f0 (224 bytes) // // 2 xrefs: // > @ 0xb3cb8 // > @ 0x11ff798 // // 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::CCTurnOffTiles::update(cocos2d::CCTurnOffTiles *a1, float a2) { unsigned int m_uID; // w0 unsigned int v4; // w22 unsigned int v5; // w19 unsigned int v6; // w1 cocos2d::CCPoint v7; // [xsp+40h] [xbp+40h] BYREF m_uID = a1[1].m_uID; v4 = (unsigned int)(float)((float)m_uID * a2); if ( m_uID ) { v5 = 0; do { while ( 1 ) { v6 = *(_DWORD *)(*(_QWORD *)&a1[1].cocos2d::CCTiledGrid3DAction::cocos2d::CCGridAction::cocos2d::CCActionInterval::cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag + 4LL * v5); cocos2d::CCPoint::CCPoint( &v7, (float)(unsigned int)(float)((float)v6 / *(float *)&a1[1].__vftable), (float)(v6 % (unsigned int)*(float *)&a1[1].__vftable)); if ( v4 <= v5 ) break; cocos2d::CCTurnOffTiles::turnOffTile(a1, &v7); if ( a1[1].m_uID <= ++v5 ) return; } cocos2d::CCTurnOffTiles::turnOnTile(a1, &v7); ++v5; } while ( a1[1].m_uID > v5 ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source