// // PlayerObject::spawnFromPlayer from 0x43f9f4 to 0x43fa82 (142 bytes) // // 1 xrefs: // > GJBaseGameLayer::spawnPlayer2 @ 0x58f288 // // 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::spawnFromPlayer(int this, PlayerObject *a2, int a3) { int v6; // r1 unsigned __int64 YVelocity; // r2 GameManager *result; // r0 int v9; // r1 int v10; // r2 (*(void (__fastcall **)(int, int))(*(_DWORD *)this + 172))(this, 1); (*(void (__fastcall **)(int, int))(*(_DWORD *)this + 456))(this, 255); PlayerObject::copyAttributes(this, a2); v6 = *((unsigned __int8 *)a2 + 1959); if ( a3 ) { PlayerObject::flipGravity((unsigned __int8 *)this, v6 ^ 1, 1); YVelocity = PlayerObject::getYVelocity(a2) ^ 0x8000000000000000LL; } else { PlayerObject::flipGravity((unsigned __int8 *)this, v6, 1); YVelocity = PlayerObject::getYVelocity(a2); } PlayerObject::setYVelocity(COERCE_DOUBLE((unsigned int)this | 0x3100000000LL), *(double *)&YVelocity, 49); *(_BYTE *)(this + 1961) = 0; *(_BYTE *)(this + 2036) = 0; result = PlayerObject::toggleVisibility((GameManager *)this, *((unsigned __int8 *)a2 + 1483) ^ 1); if ( *(_BYTE *)(this + 1956) ) return PlayerObject::placeStreakPoint((PlayerObject *)this, v9, v10, *(unsigned __int8 *)(this + 1956)); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source