// // GJBaseGameLayer::activateCustomRing from 0x85c1fc to 0x85c2d0 (212 bytes) // // 2 xrefs: // > PlayerObject::ringJump @ 0x63bea4 // > @ 0x736b0 // // 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 GJBaseGameLayer::activateCustomRing(GJBaseGameLayer *a1, RingObject *a2) { _BOOL4 m_isSpawnOnly; // w2 GJBaseGameLayer_vtbl *v4; // x1 void (__fastcall *spawnGroup)(GJBaseGameLayer *__hidden, int, bool, double, const std::vector *, int, int); // x6 __int64 m_uniqueID; // x4 __int64 m_targetGroupID; // x1 __int64 m_controlID; // x5 void (__fastcall *toggleGroupTriggered)(GJBaseGameLayer *__hidden, int, bool, const std::vector *, int, int); // x6 _BOOL8 m_activateGroup; // x2 __int64 v11; // x1 __int64 v12; // x4 __int64 v13; // x5 void *p; // [xsp+20h] [xbp+20h] BYREF __int64 v15; // [xsp+28h] [xbp+28h] __int64 v16; // [xsp+30h] [xbp+30h] m_isSpawnOnly = a2->m_isSpawnOnly; v4 = a1->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; if ( m_isSpawnOnly ) { spawnGroup = v4->spawnGroup; m_uniqueID = (unsigned int)a2->m_uniqueID; m_targetGroupID = (unsigned int)a2->m_targetGroupID; m_controlID = (unsigned int)a2->m_controlID; p = nullptr; v15 = 0; v16 = 0; ((void (__fastcall *)(GJBaseGameLayer *, __int64, _QWORD, void **, __int64, __int64, double))spawnGroup)( a1, m_targetGroupID, 0, &p, m_uniqueID, m_controlID, 0.0); } else { toggleGroupTriggered = v4->toggleGroupTriggered; m_activateGroup = a2->m_activateGroup; v11 = (unsigned int)a2->m_targetGroupID; v12 = (unsigned int)a2->m_uniqueID; v13 = (unsigned int)a2->m_controlID; p = nullptr; v15 = 0; v16 = 0; toggleGroupTriggered(a1, v11, m_activateGroup, (const std::vector *)&p, v12, v13); } if ( p ) operator delete(p); }
GD Web Decomp Icon

GD Web Decomp

Raw Source