// // PlayerObject::resetStreak from 0x1002ba7a8 to 0x1002ba890 (232 bytes) // // 9 xrefs: // > GJBaseGameLayer::teleportPlayer @ 0x10027e724 // > GJBaseGameLayer::toggleDualMode @ 0x100281c60 // > PlayerObject::toggleVisibility @ 0x1002ba63c // > PlayerObject::toggleVisibility @ 0x1002ba72c // > PlayerObject::levelFlipFinished @ 0x1002baa70 // > PlayerObject::levelFlipFinished @ 0x1002baad0 // > PlayerObject::resetObject @ 0x1002c381c // > PlayerObject::loadFromCheckpoint @ 0x1002cb0e4 // > MenuGameLayer::resetPlayer @ 0x100442854 // // This function is hookable on this platform (idp: arm, 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:02:25 +0000 // __int64 __fastcall PlayerObject::resetStreak(__int64 a1) { __int64 v2; // x0 __int64 result; // x0 __int64 v4; // x20 float32x2_t *v5; // x21 double v6; // d0 __n128 v7; // q0 __int64 v8; // x20 __int64 v9; // x0 float32x2_t v10; // [xsp+0h] [xbp-30h] BYREF float32x2_t v11; // [xsp+8h] [xbp-28h] BYREF if ( *(_BYTE *)(a1 + 1972) != 1 || (v2 = GameManager::sharedState(a1), result = GJBaseGameLayer::isFlipping(*(_QWORD *)(v2 + 544)), (result & 1) == 0) ) { cocos2d::CCMotionStreak::reset(*(_QWORD *)(a1 + 1904)); v4 = *(_QWORD *)(a1 + 1904); v5 = (float32x2_t *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 192LL))(a1); sub_1000262BC((float *)&v10, -5.0, 0.0); *(float32x2_t *)&v6 = sub_100026318(v5, &v10, &v11); (*(void (__fastcall **)(__int64, float32x2_t *, double))(*(_QWORD *)v4 + 184LL))(v4, &v11, v6); sub_1000667EC(*(_QWORD *)(a1 + 1920)); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 1920) + 912LL))(*(_QWORD *)(a1 + 1920), 255); v7 = cocos2d::CCNode::stopAllActions(*(_QWORD *)(a1 + 1920)); v8 = *(_QWORD *)(a1 + 1920); v9 = (*(__int64 (__fastcall **)(__int64, __n128))(*(_QWORD *)a1 + 192LL))(a1, v7); return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 184LL))(v8, v9); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source