// // GJBaseGameLayer::bumpPlayer from 0x1001e8f8c to 0x1001e90c8 (316 bytes) // // 1 xrefs: // > GJBaseGameLayer::collisionCheckObjects @ 0x1001e82f0 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall GJBaseGameLayer::bumpPlayer(GJBaseGameLayer *a1, PlayerObject *a2, EffectGameObject *a3) { float32x2_t *v6; // x22 __n128 v7; // q0 __n128 v8; // q1 double v9; // d0 GJBaseGameLayer *v10; // x0 float BumpMod; // s8 int v12; // w0 GJBaseGameLayer *v13; // x0 GJGameEvent v14; // w0 float32x2_t v15; // [xsp+0h] [xbp-40h] BYREF float32x2_t v16; // [xsp+8h] [xbp-38h] BYREF if ( GJBaseGameLayer::canBeActivatedByPlayer(a1, a2, a3) ) { v6 = (float32x2_t *)((__int64 (__fastcall *)(EffectGameObject *))a3->getPosition)(a3); v7.n128_u32[0] = 0; v8.n128_u32[0] = -10.0; sub_100022980(v7, v8, &v15); sub_1000229DC(v6, &v15, &v16); v9 = sub_1000229D0(&a2->m_lastPortalPos, (double *)&v16); ((void (__fastcall *)(EffectGameObject *, PlayerObject *, double))a3->activatedByPlayer)(a3, a2, v9); v10 = (GJBaseGameLayer *)((__int64 (__fastcall *)(EffectGameObject *))a3->getType)(a3); BumpMod = GJBaseGameLayer::getBumpMod(v10, a2, (int)v10); a2->m_lastActivatedPortal = a3; if ( a3->m_isReverse ) PlayerObject::reversePlayer(a2, a3); v12 = ((__int64 (__fastcall *)(EffectGameObject *))a3->getType)(a3); PlayerObject::bumpPlayer(a2, BumpMod, v12, a3->m_hasNoEffects, a3); v13 = (GJBaseGameLayer *)((__int64 (__fastcall *)(EffectGameObject *))a3->getType)(a3); v14 = GJBaseGameLayer::objectTypeToGameEvent(v13, (int)v13); GJBaseGameLayer::gameEventTriggered(a1, v14, 0, 0); GJBaseGameLayer::gameEventTriggered(a1, PadActivated, 0, 0); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source