// // HardStreak::clearAboveXPos from 0x825650 to 0x825704 (180 bytes) // // 2 xrefs: // > PlayerObject::update @ 0x63fd14 // > @ 0x70458 // // 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 HardStreak::clearAboveXPos(HardStreak *a1, float a2) { const cocos2d::CCPoint *v4; // x0 cocos2d::CCPoint v5; // [xsp+30h] [xbp+30h] BYREF if ( (unsigned int)cocos2d::CCArray::count(a1->m_pointArray) > 1 ) { while ( (unsigned int)cocos2d::CCArray::count(a1->m_pointArray) > 1 ) { v4 = (const cocos2d::CCPoint *)cocos2d::CCArray::objectAtIndex(a1->m_pointArray, 1u); cocos2d::CCPoint::CCPoint(&v5, v4 + 7); if ( v5.x <= a2 ) break; cocos2d::CCArray::removeObjectAtIndex(a1->m_pointArray, 0, 1); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source