// // GJBaseGameLayer::collectedObject from 0x890e78 to 0x890ee0 (104 bytes) // // 2 xrefs: // > EffectGameObject::triggerObject @ 0x76f7a8 // > @ 0x93ab0 // // 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::collectedObject(GJBaseGameLayer *a1, EffectGameObject *a2) { int m_itemID; // w20 int v5; // w0 if ( a2->m_subtractCount ) GJEffectManager::addCountToItem(a1->m_effectManager, a2->m_itemID, -1); else GJEffectManager::addCountToItem(a1->m_effectManager, a2->m_itemID, 1); m_itemID = a2->m_itemID; v5 = GJEffectManager::countForItem(a1->m_effectManager, m_itemID); GJBaseGameLayer::updateCounters(a1, m_itemID, v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source