// // GJBaseGameLayer::gravBumpPlayer from 0x100284910 to 0x100284a60 (336 bytes) // // 1 xrefs: // > GJBaseGameLayer::collisionCheckObjects @ 0x1002840d4 // // 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 11:01:57 +0000 // void __fastcall GJBaseGameLayer::gravBumpPlayer(__int64 a1, __int64 a2, _BYTE *a3) { int isFacingLeft; // w0 int v7; // w22 float32x2_t *v8; // x23 double v9; // d0 float32x2_t v10; // [xsp+0h] [xbp-40h] BYREF float32x2_t v11; // [xsp+8h] [xbp-38h] BYREF if ( *(_BYTE *)(a2 + 2427) == 1 ) isFacingLeft = GameObject::isFacingLeft(a3); else isFacingLeft = GameObject::isFacingDown(a3); v7 = isFacingLeft; if ( isFacingLeft == *(unsigned __int8 *)(a2 + 2423) && (unsigned int)GJBaseGameLayer::canBeActivatedByPlayer(a1, a2, a3) ) { if ( a3[1780] == 1 ) PlayerObject::reversePlayer(a2, a3); if ( (a3[1044] & 1) == 0 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1480LL))(a1, v7 ^ 1u); v8 = (float32x2_t *)(*(__int64 (__fastcall **)(_BYTE *))(*(_QWORD *)a3 + 192LL))(a3); sub_1000262BC((float *)&v10, 0.0, -10.0); sub_100026318(v8, &v10, &v11); v9 = sub_10002630C((_QWORD *)(a2 + 2488), (double *)&v11); (*(void (__fastcall **)(_BYTE *, __int64, double))(*(_QWORD *)a3 + 1536LL))(a3, a2, v9); *(_QWORD *)(a2 + 2592) = a3; PlayerObject::propellPlayer(a2, (unsigned __int8)a3[1044], 10, 0.8); GJBaseGameLayer::flipGravity(a1, a2, v7 ^ 1u, 1); *(_BYTE *)(a2 + 1968) = 1; GJBaseGameLayer::gameEventTriggered(a1, 48, 0, 0); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source