//
// GJBaseGameLayer::collectedObject from 0x100297884 to 0x1002978dc (88 bytes)
//
// 1 xrefs:
// > EffectGameObject::triggerObject @ 0x10042b69c
//
// This function is hookable on this platform (idp: arm, 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 11:02:06 +0000
//
void __fastcall GJBaseGameLayer::collectedObject(__int64 a1, __int64 a2)
{
int v4; // w8
__int64 v5; // x0
int v6; // w1
int v7; // w2
int v8; // w19
int v9; // w2
v4 = *(unsigned __int8 *)(a2 + 1687);
v5 = *(_QWORD *)(a1 + 2152);
v6 = *(_DWORD *)(a2 + 1680);
if ( v4 )
v7 = -1;
else
v7 = 1;
sub_100015680(v5, v6, v7);
v8 = *(_DWORD *)(a2 + 1680);
v9 = sub_100015640(*(_QWORD *)(a1 + 2152), v8);
GJBaseGameLayer::updateCounters(a1, v8, v9);
}