// // cocos2d::CCTurnOffTiles::startWithTarget from 0xac94d8 to 0xac9550 (120 bytes) // // 2 xrefs: // > @ 0x6b490 // > @ 0x11ff7c8 // // 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::startWithTarget(cocos2d::CCTurnOffTiles *a1, cocos2d::CCNode *a2) { unsigned int v3; // w0 float v4; // s0 __int64 v5; // x0 unsigned int m_uID; // w2 unsigned int *v7; // x1 unsigned int i; // w0 cocos2d::CCGridAction::startWithTarget(a1, a2); v3 = HIDWORD(a1[1].__vftable); if ( v3 != -1 ) srand(v3); v4 = *((float *)&a1->m_bFirstTick + 1) * *(float *)&a1[1].__vftable; a1[1].m_uID = (unsigned int)v4; v5 = operator new[](4LL * (unsigned int)v4); *(_QWORD *)&a1[1].cocos2d::CCTiledGrid3DAction::cocos2d::CCGridAction::cocos2d::CCActionInterval::cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag = v5; m_uID = a1[1].m_uID; v7 = (unsigned int *)v5; if ( m_uID ) { for ( i = 0; i < m_uID; ++i ) { v7[i] = i; m_uID = a1[1].m_uID; } } cocos2d::CCTurnOffTiles::shuffle(a1, v7, m_uID); }
GD Web Decomp Icon

GD Web Decomp

Raw Source