// // PlayerObject::resetObject from 0x440188 to 0x4404b4 (812 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:48:25 +0000 // GameManager *__fastcall PlayerObject::resetObject(PlayerObject *this) { _DWORD *v2; // r2 int i; // r3 int v4; // r3 _DWORD *j; // r0 _DWORD *v6; // r5 _DWORD *v7; // r3 double v8; // r0 GameManager *result; // r0 int v10; // r3 *((_BYTE *)this + 1601) = 1; GJActionManager::stopAllInternalActions(*((GJActionManager **)this + 612)); *((_QWORD *)this + 282) = 0; *((_BYTE *)this + 1176) = 0; *((_BYTE *)this + 1384) = 0; *((_DWORD *)this + 326) = 0; *((_DWORD *)this + 327) = 0; *((_DWORD *)this + 322) = 0; *((_DWORD *)this + 323) = 0; *((_BYTE *)this + 1848) = 0; *((_DWORD *)this + 328) = 0; *((_DWORD *)this + 329) = 0; *((_QWORD *)this + 166) = 0; *((_QWORD *)this + 167) = 0; *((_QWORD *)this + 171) = 0; *((_QWORD *)this + 169) = 0; *((_QWORD *)this + 168) = 0; *((_QWORD *)this + 172) = 0; *((_BYTE *)this + 1360) = 0; *((_BYTE *)this + 1696) = 0; *((_QWORD *)this + 247) = 0; *((_QWORD *)this + 248) = 0; PlayerObject::doReversePlayer(this, 0); PlayerObject::rotateGameplay(this, 2, 4, 0, 0.0, 0.0, 0, 0); *((_QWORD *)this + 275) = 0; *((_BYTE *)this + 2224) = 0; *((_BYTE *)this + 2232) = 0; *((_BYTE *)this + 2356) = 0; *((_BYTE *)this + 2248) = 0; *((_QWORD *)this + 277) = 0; *((_BYTE *)this + 2297) = 0; *((_BYTE *)this + 2298) = 0; *((_BYTE *)this + 1952) = 0; *((_DWORD *)this + 567) = 0; *((_QWORD *)this + 284) = 0; *((_QWORD *)this + 285) = 0; *((_BYTE *)this + 2067) = 0; *((_DWORD *)this + 585) = 1065353216; *((_BYTE *)this + 1900) = 0; *((_BYTE *)this + 1961) = 0; *((_BYTE *)this + 2036) = 1; *((_BYTE *)this + 2265) = 0; *((_QWORD *)this + 255) = 0; *((_QWORD *)this + 257) = 0; *((_QWORD *)this + 242) = 0; *((_DWORD *)this + 306) = 0; *((_QWORD *)this + 152) = 0; *((_DWORD *)this + 512) = 0; *((_BYTE *)this + 2064) = 0; PlayerObject::toggleVisibility(this, 1); *((_QWORD *)this + 205) = 0xBFF0000000000000LL; (*(void (__fastcall **)(PlayerObject *, char *))(*(_DWORD *)this + 480))(this, (char *)this + 1890); PlayerObject::setSecondColor((int)this, (unsigned __int8 *)this + 1893); PlayerObject::stopParticles((cocos2d::CCParticleSystem **)this); *((_DWORD *)this + 545) = 0; PlayerObject::resetStateVariables(this); PlayerObject::resetTouchedRings((cocos2d::CCArray **)this, 1u); v2 = *((_DWORD **)this + 540); for ( i = (*((_DWORD *)this + 541) - (int)v2) >> 2; i > 0; --i ) *v2++ = 0; *((_DWORD *)this + 539) = 0; *((_DWORD *)this + 543) = 0; PlayerObject::stopDashing((char *)this); PlayerObject::deactivateStreak((int)this, 0); PlayerObject::removePendingCheckpoint(this); cocos2d::CCNode::stopActionByTag(*((cocos2d::CCNode **)this + 434), 10); (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 434) + 80))(*((_DWORD *)this + 434), 1065353216); *((_BYTE *)this + 1609) = 0; *((_BYTE *)this + 1889) = 0; cocos2d::CCPoint::operator=((char *)this + 2068, &unk_D2B834); *((_DWORD *)this + 525) = 0; cocos2d::CCPoint::operator=((char *)this + 2024, &unk_D2B834); *((_BYTE *)this + 2066) = 0; *((_DWORD *)this + 430) = 0; *((_BYTE *)this + 1603) = 0; *((_BYTE *)this + 1944) = 0; *((_BYTE *)this + 1945) = 0; *((_DWORD *)this + 487) = 0; *((_DWORD *)this + 354) = -1; *((_QWORD *)this + 228) = 0; *((_BYTE *)this + 1850) = 0; *((_QWORD *)this + 227) = 0; v4 = *((_DWORD *)this + 366); *((_DWORD *)this + 350) = 0; *((_DWORD *)this + 349) = 0; if ( v4 ) { for ( j = *((_DWORD **)this + 365); j; j = v6 ) { v6 = (_DWORD *)*j; operator delete(j); } v7 = *((_DWORD **)this + 364); *((_DWORD *)this + 365) = 0; while ( j != v7 ) { *(_DWORD *)(*((_DWORD *)this + 363) + 4 * (_DWORD)j) = 0; j = (_DWORD *)((char *)j + 1); } *((_DWORD *)this + 366) = 0; } *((_BYTE *)this + 1393) = 0; PlayerObject::resetCollisionValues(this); LODWORD(v8) = this; *((_QWORD *)this + 266) = 0; *((_BYTE *)this + 2052) = 0; PlayerObject::setYVelocity(v8, 0.0, 37); PlayerObject::flipGravity((unsigned __int8 *)this, 0, 0); PlayerObject::switchedToMode((char *)this, 6); *((_DWORD *)this + 502) = 1058642330; PlayerObject::togglePlayerScale((int *)this, 0, 0); PlayerObject::stopRotation(this, 0, 4); (*(void (__fastcall **)(PlayerObject *, _DWORD))(*(_DWORD *)this + 180))(this, 0); *((_BYTE *)this + 1960) = 0; cocos2d::CCNode::stopActionByTag(this, 4); (*(void (__fastcall **)(PlayerObject *, int))(*(_DWORD *)this + 456))(this, 255); PlayerObject::toggleGhostEffect(this, 0); PlayerObject::updateTimeMod(this, 0.9, 0); PlayerObject::resetStreak((cocos2d::CCMotionStreak **)this); result = PlayerObject::levelFlipFinished(this); v10 = *((unsigned __int8 *)this + 1809); *((_BYTE *)this + 1601) = 0; if ( v10 ) return PlayerObject::activateStreak((cocos2d::CCNode **)this); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source