// // GJBaseGameLayer::collectedObject from 0x48e58c to 0x48e5c8 (60 bytes) // // 1 xrefs: // > EffectGameObject::triggerObject @ 0x3eda14 // // 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) { _BOOL4 m_subtractCount; // r3 GJEffectManager *m_effectManager; // r0 int m_itemID; // r1 int v7; // r2 int v8; // r5 int v9; // r0 m_subtractCount = a2->m_subtractCount; m_effectManager = a1->m_effectManager; m_itemID = a2->m_itemID; if ( m_subtractCount ) v7 = -1; else v7 = 1; GJEffectManager::addCountToItem(m_effectManager, m_itemID, v7); v8 = a2->m_itemID; v9 = GJEffectManager::countForItem(a1->m_effectManager, v8); GJBaseGameLayer::updateCounters(a1, v8, v9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source