// // PlayerObject::bumpPlayer from 0x1004078c0 to 0x100407a83 (451 bytes) // // 1 xrefs: // > GJBaseGameLayer::bumpPlayer @ 0x100105be2 // // This function is hookable on this platform (idp: pc, 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:30:05 +0000 // void __fastcall PlayerObject::bumpPlayer( __int64 a1, unsigned int a2, unsigned __int8 a3, __int64 a4, double a5, double a6, double a7, double a8) { char v9; // al __int64 v10; // r14 char isFacingLeft; // al char v12; // dl char isFacingDown; // al __int64 v14; // rdi __int64 v15; // xmm0_8 __int64 v16; // xmm1_8 if ( *(_BYTE *)(a1 + 2832) || !*(_BYTE *)(a1 + 2904) ) *(_BYTE *)(a1 + 2388) = 1; if ( a2 == 44 ) { if ( !a4 ) { LABEL_12: PlayerObject::spiderTestJumpInternal(a1, 0, a5, a6, a7, a8); v14 = *(_QWORD *)(a1 + 3016); if ( v14 ) GJBaseGameLayer::gameEventTriggered(v14, 18, 0, *(_DWORD *)(a1 + 916), a5); if ( !*(_BYTE *)(a1 + 2417) && !*(_BYTE *)(a1 + 2418) && !*(_BYTE *)(a1 + 2420) && !*(_BYTE *)(a1 + 2428) && !*(_BYTE *)(a1 + 2419) && !*(_BYTE *)(a1 + 2422) ) { if ( *(_BYTE *)(a1 + 2423) ) v15 = 1119092736; else v15 = 1132920832; if ( *(_BYTE *)(a1 + 2423) ) v16 = 1127481344; else v16 = 0; if ( !*(_BYTE *)(a1 + 2427) ) v15 = v16; (*(void (__fastcall **)(__int64, double, double))(*(_QWORD *)a1 + 360LL))(a1, *(double *)&v15, *(double *)&v16); } PlayerObject::playBumpEffect(a1, 44); return; } v9 = *(_BYTE *)(a1 + 2427); if ( v9 == 1 ) { v10 = a4; isFacingLeft = GameObject::isFacingLeft(a4); v12 = *(_BYTE *)(a1 + 2423); if ( v12 != isFacingLeft ) { LABEL_11: PlayerObject::flipGravity(a1, v12 ^ 1, 1, a5); goto LABEL_12; } a4 = v10; v9 = *(_BYTE *)(a1 + 2427); } if ( (v9 & 1) != 0 ) goto LABEL_12; isFacingDown = GameObject::isFacingDown(a4); v12 = *(_BYTE *)(a1 + 2423); if ( v12 == isFacingDown ) goto LABEL_12; goto LABEL_11; } PlayerObject::propellPlayer(a1, a3, a2, *(float *)&a5); if ( *(_BYTE *)(a1 + 2832) == 1 && !*(_BYTE *)(a1 + 1784) ) PlayerObject::animatePlatformerJump(a1, flt_100A09CE0[a2 == 34]); *(_BYTE *)(a1 + 2314) = 0; if ( a2 == 34 ) { *(_BYTE *)(a1 + 2314) = 1; sub_100278300((_QWORD *)(a1 + 2532), &qword_100BE37D8); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source