// // PlayerObject::resetStreak from 0x1404e9840 to 0x1404e992d (237 bytes) // // 12 xrefs: // > GJBaseGameLayer::teleportPlayer @ 0x14031635b // > GJBaseGameLayer::toggleDualMode @ 0x14031e3b5 // > MenuGameLayer::resetPlayer @ 0x1404715e3 // > PlayerObject::toggleVisibility @ 0x1404e9785 // > PlayerObject::toggleVisibility @ 0x1404e97a4 // > PlayerObject::levelFlipFinished @ 0x1404e9a01 // > PlayerObject::levelFlipFinished @ 0x1404e9a16 // > PlayerObject::resetObject @ 0x1404f56bc // > PlayerObject::loadFromCheckpoint @ 0x1405016af // > @ 0x1408d474c // > @ 0x1408d475c // > @ 0x140929c6c // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:33:12 +0000 // __int64 __fastcall PlayerObject::resetStreak(cocos2d::CCMotionStreak **a1) { __int64 result; // rax __int64 v3; // rax __int64 v4; // rbx __int64 v5; // rax cocos2d::CCArray **v6; // rbx __int64 v7; // rdx cocos2d::CCMotionStreak *v8; // rdi __int64 v9; // rbx __int64 v10; // rax char v11; // [rsp+38h] [rbp+10h] BYREF char v12; // [rsp+40h] [rbp+18h] BYREF result = PlayerObject::levelFlipping(a1); if ( !(_BYTE)result ) { cocos2d::CCMotionStreak::reset(a1[245]); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v12, -5.0, 0.0); v4 = v3; v5 = (*((__int64 (__fastcall **)(cocos2d::CCMotionStreak **))*a1 + 25))(a1); cocos2d::CCPoint::operator+(v5, &v11, v4); (*(void (__fastcall **)(cocos2d::CCMotionStreak *, char *))(*(_QWORD *)a1[245] + 184LL))(a1[245], &v11); v6 = (cocos2d::CCArray **)a1[247]; cocos2d::CCDrawNode::clear((cocos2d::CCDrawNode *)v6); cocos2d::CCArray::removeAllObjects(v6[52]); LOBYTE(v7) = -1; (*(void (__fastcall **)(__int64, __int64))(*((_QWORD *)a1[247] + 40) + 40LL))((__int64)a1[247] + 320, v7); cocos2d::CCNode::stopAllActions(a1[247]); v8 = a1[247]; v9 = *(_QWORD *)v8; v10 = (*((__int64 (__fastcall **)(cocos2d::CCMotionStreak **))*a1 + 25))(a1); return (*(__int64 (__fastcall **)(cocos2d::CCMotionStreak *, __int64))(v9 + 184))(v8, v10); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source