// // PlayerObject::resetObject from 0x75dca8 to 0x75e08c (996 bytes) // // 2 xrefs: // > @ 0x90538 // > @ 0x14337a8 // // 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 12:53:02 +0000 // __int64 __fastcall PlayerObject::resetObject(PlayerObject *this) { GJActionManager *v2; // x0 __int64 v3; // x2 _DWORD *v4; // x2 __int64 v5; // x0 __int64 v6; // x6 unsigned __int64 v7; // x1 __int64 v8; // x3 _OWORD *v9; // x5 unsigned __int64 v10; // x4 __int64 v11; // x0 _QWORD *v12; // x0 _QWORD *v13; // x20 __int64 v14; // x2 __int64 v15; // x0 __int64 result; // x0 v2 = *((GJActionManager **)this + 379); *((_BYTE *)this + 1969) = 1; GJActionManager::stopAllInternalActions(v2); *((_BYTE *)this + 1368) = 0; *((_BYTE *)this + 1624) = 0; *((_QWORD *)this + 191) = 0; *((_QWORD *)this + 192) = 0; *((_QWORD *)this + 188) = 0; *((_QWORD *)this + 189) = 0; *((_BYTE *)this + 2312) = 0; *((_QWORD *)this + 193) = 0; *((_QWORD *)this + 194) = 0; *((_BYTE *)this + 1600) = 0; *((_BYTE *)this + 2064) = 0; *((_QWORD *)this + 346) = 0; *((_QWORD *)this + 196) = 0; *((_QWORD *)this + 197) = 0; *((_QWORD *)this + 201) = 0; *((_QWORD *)this + 199) = 0; *((_QWORD *)this + 198) = 0; *((_QWORD *)this + 202) = 0; *((_QWORD *)this + 305) = 0; *((_QWORD *)this + 306) = 0; PlayerObject::doReversePlayer(this, 0); PlayerObject::rotateGameplay(this, 2, 4, 0, 0.0, 0.0, 0, 0); *((_BYTE *)this + 2736) = 0; *((_BYTE *)this + 2744) = 0; *((_BYTE *)this + 2868) = 0; *((_BYTE *)this + 2760) = 0; *((_BYTE *)this + 2809) = 0; *((_BYTE *)this + 2810) = 0; *((_BYTE *)this + 2416) = 0; *((_DWORD *)this + 695) = 0; *((_BYTE *)this + 2531) = 0; *((_BYTE *)this + 2364) = 0; *((_BYTE *)this + 2425) = 0; *((_BYTE *)this + 2500) = 1; *((_BYTE *)this + 2777) = 0; *((_QWORD *)this + 177) = 0; *((_BYTE *)this + 2528) = 0; *((_QWORD *)this + 339) = 0; *((_QWORD *)this + 341) = 0; *((_QWORD *)this + 348) = 0; *((_QWORD *)this + 349) = 0; *((_QWORD *)this + 313) = 0; *((_QWORD *)this + 315) = 0; *((_QWORD *)this + 300) = 0; *((_QWORD *)this + 176) = 0; *((_DWORD *)this + 628) = 0; *((float *)this + 713) = 1.0; PlayerObject::toggleVisibility((__int64)this, 1u); v3 = *(_QWORD *)this; *((double *)this + 251) = -1.0; (*(void (__fastcall **)(PlayerObject *, char *))(v3 + 960))(this, (char *)this + 2354); PlayerObject::setSecondColor((__int64)this, (PlayerObject *)((char *)this + 2357)); PlayerObject::stopParticles((cocos2d::CCParticleSystem **)this); *((_DWORD *)this + 672) = 0; PlayerObject::resetStateVariables(this); PlayerObject::resetTouchedRings((cocos2d::CCArray **)this, 1); v4 = *((_DWORD **)this + 332); v5 = (__int64)(*((_QWORD *)this + 333) - (_QWORD)v4) >> 2; if ( v5 > 0 ) { v6 = (__int64)(*((_QWORD *)this + 333) - (_QWORD)v4) >> 2; v7 = ((unsigned __int64)(v5 - 4) >> 2) + 1; v8 = 4 * v7; if ( v5 <= 3 ) goto LABEL_19; v9 = *((_OWORD **)this + 332); v10 = 0; do { *v9++ = 0u; ++v10; } while ( v7 > v10 ); v4 += 4 * v7; v5 -= v8; if ( v8 != v6 ) { LABEL_19: *v4 = 0; if ( v5 - 1 > 0 ) { v4[1] = 0; if ( v5 != 2 ) v4[2] = 0; } } } *((_DWORD *)this + 663) = 0; *((_DWORD *)this + 670) = 0; PlayerObject::stopDashing(this); PlayerObject::deactivateStreak((cocos2d::CCMotionStreak **)this, 0); PlayerObject::removePendingCheckpoint((__int64)this); cocos2d::CCNode::stopActionByTag(*((cocos2d::CCNode **)this + 268), 10); (*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 268) + 160LL))(*((_QWORD *)this + 268), 1.0); *((_BYTE *)this + 1977) = 0; *((_BYTE *)this + 2353) = 0; cocos2d::CCPoint::operator=((char *)this + 2532, &unk_155C638); *((_QWORD *)this + 324) = 0; cocos2d::CCPoint::operator=((char *)this + 2488, &unk_155C638); *((_BYTE *)this + 2530) = 0; v11 = *((_QWORD *)this + 220); *((_QWORD *)this + 264) = 0; *((_BYTE *)this + 1971) = 0; *((_BYTE *)this + 2408) = 0; *((_BYTE *)this + 2409) = 0; *((_DWORD *)this + 418) = -1; *((_BYTE *)this + 2314) = 0; *((_QWORD *)this + 207) = 0; *((_QWORD *)this + 206) = 0; *((_DWORD *)this + 603) = 0; *((_QWORD *)this + 286) = 0; *((_QWORD *)this + 285) = 0; if ( v11 ) { v12 = *((_QWORD **)this + 219); if ( v12 ) { do { v13 = (_QWORD *)*v12; operator delete(v12); v12 = v13; } while ( v13 ); } v14 = *((_QWORD *)this + 218); v15 = 0; *((_QWORD *)this + 219) = 0; if ( v14 ) { do *(_QWORD *)(*((_QWORD *)this + 217) + 8 * v15++) = 0; while ( v15 != v14 ); } *((_QWORD *)this + 220) = 0; } *((_BYTE *)this + 1641) = 0; PlayerObject::resetCollisionValues(this); *((_BYTE *)this + 2516) = 0; *((_QWORD *)this + 328) = 0; PlayerObject::setYVelocity((__int64)this, 0.0); PlayerObject::flipGravity((__int64)this, 0, 0); PlayerObject::switchedToMode(this, 6); *((_DWORD *)this + 618) = 1058642330; PlayerObject::togglePlayerScale(this, 0, 0); PlayerObject::stopRotation(this); (*(void (__fastcall **)(PlayerObject *, float))(*(_QWORD *)this + 360LL))(this, 0.0); *((_BYTE *)this + 2424) = 0; cocos2d::CCNode::stopActionByTag(this, 4); (*(void (__fastcall **)(PlayerObject *, __int64))(*(_QWORD *)this + 912LL))(this, 0xFFFFFFFFLL); PlayerObject::toggleGhostEffect((__int64)this, 0); PlayerObject::updateTimeMod(this, 0.9, 0); PlayerObject::resetStreak((cocos2d::CCMotionStreak **)this); PlayerObject::levelFlipFinished(this); *((_BYTE *)this + 1969) = 0; result = *((unsigned __int8 *)this + 2273); if ( *((_BYTE *)this + 2273) ) return PlayerObject::activateStreak((cocos2d::CCNode **)this); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source