{"type": "func", "start": 4297685124, "end": 4297685212, "name": "GJBaseGameLayer::collectedObject", "pseudocode": "// \n// GJBaseGameLayer::collectedObject from 0x100297884 to 0x1002978dc (88 bytes)\n// \n// 1 xrefs:\n// > EffectGameObject::triggerObject @ 0x10042b69c\n// \n// This function is hookable on this platform (idp: arm, 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 11:02:06 +0000\n// \n\nvoid __fastcall GJBaseGameLayer::collectedObject(__int64 a1, __int64 a2)\n{\n  int v4; // w8\n  __int64 v5; // x0\n  int v6; // w1\n  int v7; // w2\n  int v8; // w19\n  int v9; // w2\n\n  v4 = *(unsigned __int8 *)(a2 + 1687);\n  v5 = *(_QWORD *)(a1 + 2152);\n  v6 = *(_DWORD *)(a2 + 1680);\n  if ( v4 )\n    v7 = -1;\n  else\n    v7 = 1;\n  sub_100015680(v5, v6, v7);\n  v8 = *(_DWORD *)(a2 + 1680);\n  v9 = sub_100015640(*(_QWORD *)(a1 + 2152), v8);\n  GJBaseGameLayer::updateCounters(a1, v8, v9);\n}", "assembly": "; \n; GJBaseGameLayer::collectedObject from 0x100297884 to 0x1002978dc (88 bytes)\n; \n; 1 xrefs:\n; > EffectGameObject::triggerObject @ 0x10042b69c\n; \n; This function is hookable on this platform (idp: arm, 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 11:02:06 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100297884\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100297888\nADD             X29, SP, #0x10                                         ; +0x8, 0x10029788c\nMOV             X19, X1                                                ; +0xc, 0x100297890\nMOV             X20, X0                                                ; +0x10, 0x100297894\nLDRB            W8, [X1,#0x697]                                        ; +0x14, 0x100297898\nLDR             X0, [X0,#0x868]                                        ; +0x18, 0x10029789c\nLDR             W1, [X1,#0x690]                                        ; +0x1c, 0x1002978a0\nCMP             W8, #0                                                 ; +0x20, 0x1002978a4\nMOV             W8, #0xFFFFFFFF                                        ; +0x24, 0x1002978a8\nCNEG            W2, W8, EQ                                             ; +0x28, 0x1002978ac\nBL              sub_100015680                                          ; +0x2c, 0x1002978b0\nLDR             W19, [X19,#0x690]                                      ; +0x30, 0x1002978b4\nLDR             X0, [X20,#0x868]                                       ; +0x34, 0x1002978b8\nMOV             X1, X19                                                ; +0x38, 0x1002978bc\nBL              sub_100015640                                          ; +0x3c, 0x1002978c0\nMOV             X2, X0                                                 ; +0x40, 0x1002978c4\nMOV             X0, X20                                                ; +0x44, 0x1002978c8\nMOV             X1, X19                                                ; +0x48, 0x1002978cc\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4c, 0x1002978d0\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x50, 0x1002978d4\nB               GJBaseGameLayer__updateCounters                        ; +0x54, 0x1002978d8", "xrefs": ["EffectGameObject::triggerObject @ 0x10042b69c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}