// // PlayerObject::placeStreakPoint from 0x10021de88 to 0x10021df20 (152 bytes) // // 18 xrefs: // > GJBaseGameLayer::teleportPlayer @ 0x1001e4074 // > GJBaseGameLayer::toggleDualMode @ 0x1001e6488 // > PlayerObject::doReversePlayer @ 0x10021d360 // > PlayerObject::toggleVisibility @ 0x10021dbc8 // > PlayerObject::levelFlipFinished @ 0x10021dfd4 // > PlayerObject::flipGravity @ 0x10021e184 // > PlayerObject::postCollision @ 0x10021eb58 // > PlayerObject::hitGround @ 0x100223ae0 // > PlayerObject::rotateGameplay @ 0x100226d50 // > PlayerObject::rotateGameplay @ 0x100226e10 // > PlayerObject::togglePlayerScale @ 0x1002273f4 // > PlayerObject::pushButton @ 0x100227f30 // > PlayerObject::releaseButton @ 0x100228da0 // > PlayerObject::playerTeleported @ 0x100229580 // > PlayerObject::toggleDartMode @ 0x10022aafc // > PlayerObject::lockPlayer @ 0x10022c87c // > PlayerObject::spawnFromPlayer @ 0x10022d4cc // > MenuGameLayer::resetPlayer @ 0x10039b284 // // 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 __fastcall PlayerObject::placeStreakPoint(PlayerObject *a1) { GameManager *v2; // x0 HardStreak *m_waveTrail; // x20 __int64 *v4; // x0 __int64 v5; // [xsp+8h] [xbp-18h] BYREF cocos2d::CCPoint v6; // 0:s0.4,4:s1.4 if ( !a1->m_maybeReducedEffects && a1->m_isDart && !a1->m_isLocked && a1->m_fadeOutStreak ) { if ( !a1->m_playEffects || (v2 = GameManager::sharedState(), !GJBaseGameLayer::isFlipping(v2->m_playLayer)) ) { m_waveTrail = a1->m_waveTrail; v4 = (__int64 *)((__int64 (__fastcall *)(PlayerObject *))a1->getPosition)(a1); v6.x = sub_1000229B8(&v5, v4); HardStreak::addPoint(m_waveTrail, v6); } } a1->m_justPlacedStreak = 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source