{"type": "func", "start": 4296187440, "end": 4296187519, "name": "GJBaseGameLayer::collectedObject", "pseudocode": "// \n// GJBaseGameLayer::collectedObject from 0x100129e30 to 0x100129e7f (79 bytes)\n// \n// 1 xrefs:\n// > EffectGameObject::triggerObject @ 0x100199bf6\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:24:43 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::collectedObject(__int64 a1, __int64 a2)\n{\n  unsigned int v2; // ebx\n  int v3; // eax\n\n  GJEffectManager::addCountToItem(\n    *(_QWORD *)(a1 + 2152),\n    *(unsigned int *)(a2 + 1680),\n    -*(unsigned __int8 *)(a2 + 1687) | 1u);\n  v2 = *(_DWORD *)(a2 + 1680);\n  v3 = GJEffectManager::countForItem(*(_QWORD *)(a1 + 2152), v2);\n  return GJBaseGameLayer::updateCounters(a1, v2, v3);\n}", "assembly": "; \n; GJBaseGameLayer::collectedObject from 0x100129e30 to 0x100129e7f (79 bytes)\n; \n; 1 xrefs:\n; > EffectGameObject::triggerObject @ 0x100199bf6\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:24:43 +0000\n; \npush    rbp                                                            ; +0x0, 0x100129e30\nmov     rbp, rsp                                                       ; +0x1, 0x100129e31\npush    r14                                                            ; +0x4, 0x100129e34\npush    rbx                                                            ; +0x6, 0x100129e36\nmov     rbx, rsi                                                       ; +0x7, 0x100129e37\nmov     r14, rdi                                                       ; +0xa, 0x100129e3a\nmovzx   edx, byte ptr [rsi+697h]                                       ; +0xd, 0x100129e3d\nmov     rdi, [rdi+868h]                                                ; +0x14, 0x100129e44\nmov     esi, [rsi+690h]                                                ; +0x1b, 0x100129e4b\nneg     edx                                                            ; +0x21, 0x100129e51\nor      edx, 1                                                         ; +0x23, 0x100129e53\ncall    GJEffectManager__addCountToItem                                ; +0x26, 0x100129e56\nmov     ebx, [rbx+690h]                                                ; +0x2b, 0x100129e5b\nmov     rdi, [r14+868h]                                                ; +0x31, 0x100129e61\nmov     esi, ebx                                                       ; +0x38, 0x100129e68\ncall    GJEffectManager__countForItem                                  ; +0x3a, 0x100129e6a\nmov     rdi, r14                                                       ; +0x3f, 0x100129e6f\nmov     esi, ebx                                                       ; +0x42, 0x100129e72\nmov     edx, eax                                                       ; +0x44, 0x100129e74\npop     rbx                                                            ; +0x46, 0x100129e76\npop     r14                                                            ; +0x47, 0x100129e77\npop     rbp                                                            ; +0x49, 0x100129e79\njmp     GJBaseGameLayer__updateCounters                                ; +0x4a, 0x100129e7a", "xrefs": ["EffectGameObject::triggerObject @ 0x100199bf6"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}