// // GJBaseGameLayer::playerTouchedRing from 0x100128600 to 0x1001286ab (171 bytes) // // 2 xrefs: // > GJBaseGameLayer::collisionCheckObjects @ 0x100127009 // > GJBaseGameLayer::collisionCheckObjects @ 0x10012740b // // 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::playerTouchedRing(GJBaseGameLayer *a1, PlayerObject *a2, RingObject *a3) { int *p_m_uniqueID; // [rsp+8h] [rbp-28h] BYREF int m_uniqueID; // [rsp+10h] [rbp-20h] BYREF _BYTE v6[25]; // [rsp+17h] [rbp-19h] BYREF if ( !a3->m_isRingPoweredOn ) { m_uniqueID = a3->m_uniqueID; p_m_uniqueID = &m_uniqueID; *(_QWORD *)(sub_100167B50(&a1->m_gameState.m_stateObjects, &m_uniqueID, &unk_100816AE0, &p_m_uniqueID, v6) + 24) = a3; GJBaseGameLayer::gameEventTriggered(a1, OrbTouched, 0, 0); } PlayerObject::addToTouchedRings(a2, a3); ((void (__fastcall *)(RingObject *, _QWORD))a3->powerOnObject)(a3, a1->m_gameState.m_commandIndex); if ( !PlayerObject::isFlying(a2) && !a3->m_claimTouch ) PlayerObject::ringJump(a2, a3, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source