//
// GJBaseGameLayer::collectedObject from 0x100129e30 to 0x100129e7f (79 bytes)
//
// 1 xrefs:
// > EffectGameObject::triggerObject @ 0x100199bf6
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:24:43 +0000
//
__int64 __fastcall GJBaseGameLayer::collectedObject(__int64 a1, __int64 a2)
{
unsigned int v2; // ebx
int v3; // eax
GJEffectManager::addCountToItem(
*(_QWORD *)(a1 + 2152),
*(unsigned int *)(a2 + 1680),
-*(unsigned __int8 *)(a2 + 1687) | 1u);
v2 = *(_DWORD *)(a2 + 1680);
v3 = GJEffectManager::countForItem(*(_QWORD *)(a1 + 2152), v2);
return GJBaseGameLayer::updateCounters(a1, v2, v3);
}