{"type": "func", "start": 4296325904, "end": 4296325983, "name": "GJBaseGameLayer::collectedObject", "pseudocode": "// \n// GJBaseGameLayer::collectedObject from 0x10014bb10 to 0x10014bb5f (79 bytes)\n// \n// 1 xrefs:\n// > EffectGameObject::triggerObject @ 0x1001b9586\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall GJBaseGameLayer::collectedObject(GJBaseGameLayer *a1, EffectGameObject *a2)\n{\n  int m_itemID; // ebx\n  int v3; // eax\n\n  GJEffectManager::addCountToItem(a1->m_effectManager, a2->m_itemID, a2->m_subtractCount ? -1 : 1);\n  m_itemID = a2->m_itemID;\n  v3 = GJEffectManager::countForItem(a1->m_effectManager, m_itemID);\n  GJBaseGameLayer::updateCounters(a1, m_itemID, v3);\n}", "assembly": "; \n; GJBaseGameLayer::collectedObject from 0x10014bb10 to 0x10014bb5f (79 bytes)\n; \n; 1 xrefs:\n; > EffectGameObject::triggerObject @ 0x1001b9586\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x10014bb10\nmov     rbp, rsp                                                       ; +0x1, 0x10014bb11\npush    r14                                                            ; +0x4, 0x10014bb14\npush    rbx                                                            ; +0x6, 0x10014bb16\nmov     rbx, rsi                                                       ; +0x7, 0x10014bb17\nmov     r14, rdi                                                       ; +0xa, 0x10014bb1a\nmovzx   edx, byte ptr [rsi+697h]                                       ; +0xd, 0x10014bb1d\nmov     rdi, [rdi+850h]                                                ; +0x14, 0x10014bb24\nmov     esi, [rsi+690h]                                                ; +0x1b, 0x10014bb2b\nneg     edx                                                            ; +0x21, 0x10014bb31\nor      edx, 1                                                         ; +0x23, 0x10014bb33\ncall    GJEffectManager__addCountToItem                                ; +0x26, 0x10014bb36\nmov     ebx, [rbx+690h]                                                ; +0x2b, 0x10014bb3b\nmov     rdi, [r14+850h]                                                ; +0x31, 0x10014bb41\nmov     esi, ebx                                                       ; +0x38, 0x10014bb48\ncall    GJEffectManager__countForItem                                  ; +0x3a, 0x10014bb4a\nmov     rdi, r14                                                       ; +0x3f, 0x10014bb4f\nmov     esi, ebx                                                       ; +0x42, 0x10014bb52\nmov     edx, eax                                                       ; +0x44, 0x10014bb54\npop     rbx                                                            ; +0x46, 0x10014bb56\npop     r14                                                            ; +0x47, 0x10014bb57\npop     rbp                                                            ; +0x49, 0x10014bb59\njmp     GJBaseGameLayer__updateCounters                                ; +0x4a, 0x10014bb5a", "xrefs": ["EffectGameObject::triggerObject @ 0x1001b9586"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}