// // PlayerObject::resetStreak from 0x1003f03d0 to 0x1003f04be (238 bytes) // // 11 xrefs: // > GJBaseGameLayer::teleportPlayer @ 0x1000fd172 // > GJBaseGameLayer::toggleDualMode @ 0x100101a6f // > PlayerObject::toggleVisibility @ 0x1003f0229 // > PlayerObject::toggleVisibility @ 0x1003f033d // > sub_1003F06C0 @ 0x1003f0708 // > sub_1003F06C0 @ 0x1003f0738 // > PlayerObject::resetObject @ 0x1003ff5a3 // > PlayerObject::resetObject @ 0x1003ff5e7 // > PlayerObject::resetObject @ 0x1003ff632 // > PlayerObject::loadFromCheckpoint @ 0x100409e94 // > MenuGameLayer::resetPlayer @ 0x1004f9825 // // 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 12:29:53 +0000 // char __fastcall PlayerObject::resetStreak(__int64 a1) { __int64 v1; // rax char result; // al __int64 v3; // r14 unsigned __int64 *v4; // r15 __int64 v5; // r14 __int64 v6; // rax double v7; // [rsp+8h] [rbp-38h] BYREF unsigned __int64 v8[6]; // [rsp+10h] [rbp-30h] BYREF if ( *(_BYTE *)(a1 + 1972) != 1 || (v1 = GameManager::sharedState(), (result = GJBaseGameLayer::isFlipping(*(_QWORD *)(v1 + 544))) == 0) ) { cocos2d::CCMotionStreak::reset(*(_QWORD *)(a1 + 1904)); v3 = *(_QWORD *)(a1 + 1904); v4 = (unsigned __int64 *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 192LL))(a1); sub_100278250((float *)v8, -5.0, 0.0); sub_100278350(&v7, v4, v8); (*(void (__fastcall **)(__int64, double *))(*(_QWORD *)v3 + 184LL))(v3, &v7); HardStreak::reset(*(_QWORD *)(a1 + 1920)); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 1920) + 912LL))(*(_QWORD *)(a1 + 1920), 255); cocos2d::CCNode::stopAllActions(*(_QWORD *)(a1 + 1920)); v5 = *(_QWORD *)(a1 + 1920); v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 192LL))(a1); return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 184LL))(v5, v6); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source