// // PlayerObject::reversePlayer from 0x100402790 to 0x100402871 (225 bytes) // // 5 xrefs: // > GJBaseGameLayer::bumpPlayer @ 0x100105bbc // > GJBaseGameLayer::gravBumpPlayer @ 0x100105ce0 // > GJBaseGameLayer::reverseDirection @ 0x1001087d2 // > GJBaseGameLayer::reverseDirection @ 0x1001087ef // > PlayerObject::ringJump @ 0x100401674 // // 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:03 +0000 // void __fastcall PlayerObject::reversePlayer(__int64 a1, __int64 a2) { unsigned __int64 *v2; // r15 float v3; // xmm0_4 float *v4; // rax unsigned __int64 v5; // [rsp-50h] [rbp-50h] BYREF unsigned __int64 v6; // [rsp-48h] [rbp-48h] BYREF unsigned __int64 v7; // [rsp-40h] [rbp-40h] BYREF double v8[7]; // [rsp-38h] [rbp-38h] BYREF if ( !*(_BYTE *)(a1 + 2832) ) { if ( a2 && *(_BYTE *)(a1 + 1370) == 1 ) { (*(void (__fastcall **)(unsigned __int64 *))(*(_QWORD *)a2 + 1360LL))(&v5); v2 = (unsigned __int64 *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 192LL))(a1); v3 = *(double *)(a1 + 2440); sub_100278250((float *)&v7, v3, v3); sub_100278350((double *)&v6, v2, &v7); sub_100278370(v8, &v5, &v6); v4 = (float *)v8 + 1; if ( !*(_BYTE *)(a1 + 2427) ) v4 = (float *)v8; *(double *)(a1 + 2440) = (float)(*v4 + *v4) + *(double *)(a1 + 2440); } PlayerObject::doReversePlayer(a1, *(_BYTE *)(a1 + 2426) ^ 1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source