// // PlayerObject::copyAttributes from 0x75d370 to 0x75d510 (416 bytes) // // 3 xrefs: // > PlayerObject::spawnFromPlayer @ 0x75d558 // > GJBaseGameLayer::toggleDualMode @ 0x9e6cf8 // > @ 0x5f8f0 // // 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:01 +0000 // __int64 __fastcall PlayerObject::copyAttributes(PlayerObject *this, PlayerObject *a2) { long double v4; // q0 void (__fastcall *v5)(PlayerObject *, __int64); // x23 __int64 v6; // x0 double YVelocity; // d0 __int64 result; // x0 _BYTE v9[8]; // [xsp+50h] [xbp+50h] BYREF *((_BYTE *)this + 1969) = 1; *((_QWORD *)this + 328) = *((_QWORD *)a2 + 328); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, (PlayerObject *)((char *)a2 + 2608)); *(__n128 *)&v4 = cocos2d::CCPoint::operator=((char *)this + 2608, v9); v5 = *(void (__fastcall **)(PlayerObject *, __int64))(*(_QWORD *)this + 184LL); v6 = (*(__int64 (__fastcall **)(PlayerObject *, long double))(*(_QWORD *)a2 + 192LL))(a2, v4); v5(this, v6); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, (PlayerObject *)((char *)a2 + 2480)); cocos2d::CCPoint::operator=((char *)this + 2480, v9); PlayerObject::flipGravity((__int64)this, *((_BYTE *)a2 + 2423), 1u); PlayerObject::doReversePlayer(this, *((_BYTE *)a2 + 2426)); PlayerObject::toggleFlyMode(this, *((_BYTE *)a2 + 2417), 0); PlayerObject::toggleBirdMode(this, *((_BYTE *)a2 + 2418), 0); PlayerObject::toggleRollMode(this, *((_BYTE *)a2 + 2419), 0); PlayerObject::toggleDartMode((__int64)this, *((_BYTE *)a2 + 2420), 0); PlayerObject::toggleRobotMode(this, *((_BYTE *)a2 + 2421), 0); PlayerObject::toggleSpiderMode(this, *((_BYTE *)a2 + 2422), 0); PlayerObject::toggleSwingMode((__int64)this, *((_BYTE *)a2 + 2428), 0); PlayerObject::updateTimeMod(this, *((float *)a2 + 619), 0); PlayerObject::togglePlayerScale(this, *((float *)a2 + 618) != 1.0, 0); YVelocity = PlayerObject::getYVelocity(a2); PlayerObject::setYVelocity((__int64)this, YVelocity); *((_BYTE *)this + 1969) = 0; *((_BYTE *)this + 2365) = *((_BYTE *)a2 + 2365); result = _stack_chk_guard; *((_BYTE *)this + 2366) = *((_BYTE *)a2 + 2366); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source