// // GJBaseGameLayer::collectedObject from 0x10014bb10 to 0x10014bb5f (79 bytes) // // 1 xrefs: // > EffectGameObject::triggerObject @ 0x1001b9586 // // 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::collectedObject(GJBaseGameLayer *a1, EffectGameObject *a2) { int m_itemID; // ebx int v3; // eax GJEffectManager::addCountToItem(a1->m_effectManager, a2->m_itemID, a2->m_subtractCount ? -1 : 1); m_itemID = a2->m_itemID; v3 = GJEffectManager::countForItem(a1->m_effectManager, m_itemID); GJBaseGameLayer::updateCounters(a1, m_itemID, v3); }