{"type": "func", "start": 4297470240, "end": 4297470328, "name": "EnhancedGameObject::hasBeenActivatedByPlayer", "pseudocode": "// \n// EnhancedGameObject::hasBeenActivatedByPlayer from 0x100263120 to 0x100263178 (88 bytes)\n// \n// 42 xrefs:\n// > <???> @ 0x1007d0668\n// > <???> @ 0x1007f56e8\n// > <???> @ 0x1007f5f20\n// > <???> @ 0x1007f6718\n// > <???> @ 0x1007f6f10\n// > <???> @ 0x1007f7708\n// > <???> @ 0x1007f7f00\n// > <???> @ 0x1007f86f8\n// > <???> @ 0x1007f96d8\n// > <???> @ 0x1007f9ee8\n// > <???> @ 0x1007fa750\n// > <???> @ 0x1007faf60\n// > <???> @ 0x1007fb770\n// > <???> @ 0x1007fbf80\n// > <???> @ 0x1007fc790\n// > <???> @ 0x1007fcfa0\n// > <???> @ 0x1007fd7b0\n// > <???> @ 0x1007fdfc0\n// > <???> @ 0x1007fe7d0\n// > <???> @ 0x1007fefe0\n// > <???> @ 0x1007ff808\n// > <???> @ 0x100800060\n// > <???> @ 0x100800888\n// > <???> @ 0x1008010b0\n// > <???> @ 0x1008018d8\n// > <???> @ 0x100802100\n// > <???> @ 0x100802910\n// > <???> @ 0x100803120\n// > <???> @ 0x100803930\n// > <???> @ 0x100804140\n// > <???> @ 0x100804950\n// > <???> @ 0x100805160\n// > <???> @ 0x100805970\n// > <???> @ 0x100806180\n// > <???> @ 0x100806990\n// > <???> @ 0x1008071a0\n// > <???> @ 0x1008079b0\n// > <???> @ 0x1008081c0\n// > <???> @ 0x1008089d0\n// > <???> @ 0x1008091e0\n// > <???> @ 0x1008099f0\n// > <???> @ 0x10080a200\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\nbool __fastcall EnhancedGameObject::hasBeenActivatedByPlayer(EnhancedGameObject *a1, PlayerObject *a2)\n{\n  if ( (((__int64 (__fastcall *)(EnhancedGameObject *, bool))a1->canMultiActivate)(a1, a2->m_isPlatformer) & 1) != 0 )\n  {\n    return 0;\n  }\n  else if ( a2->m_uniqueID == 1 )\n  {\n    return a1->m_activatedByPlayer1;\n  }\n  else\n  {\n    return a1->m_activatedByPlayer2;\n  }\n}", "assembly": "; \n; EnhancedGameObject::hasBeenActivatedByPlayer from 0x100263120 to 0x100263178 (88 bytes)\n; \n; 42 xrefs:\n; > <???> @ 0x1007d0668\n; > <???> @ 0x1007f56e8\n; > <???> @ 0x1007f5f20\n; > <???> @ 0x1007f6718\n; > <???> @ 0x1007f6f10\n; > <???> @ 0x1007f7708\n; > <???> @ 0x1007f7f00\n; > <???> @ 0x1007f86f8\n; > <???> @ 0x1007f96d8\n; > <???> @ 0x1007f9ee8\n; > <???> @ 0x1007fa750\n; > <???> @ 0x1007faf60\n; > <???> @ 0x1007fb770\n; > <???> @ 0x1007fbf80\n; > <???> @ 0x1007fc790\n; > <???> @ 0x1007fcfa0\n; > <???> @ 0x1007fd7b0\n; > <???> @ 0x1007fdfc0\n; > <???> @ 0x1007fe7d0\n; > <???> @ 0x1007fefe0\n; > <???> @ 0x1007ff808\n; > <???> @ 0x100800060\n; > <???> @ 0x100800888\n; > <???> @ 0x1008010b0\n; > <???> @ 0x1008018d8\n; > <???> @ 0x100802100\n; > <???> @ 0x100802910\n; > <???> @ 0x100803120\n; > <???> @ 0x100803930\n; > <???> @ 0x100804140\n; > <???> @ 0x100804950\n; > <???> @ 0x100805160\n; > <???> @ 0x100805970\n; > <???> @ 0x100806180\n; > <???> @ 0x100806990\n; > <???> @ 0x1008071a0\n; > <???> @ 0x1008079b0\n; > <???> @ 0x1008081c0\n; > <???> @ 0x1008089d0\n; > <???> @ 0x1008091e0\n; > <???> @ 0x1008099f0\n; > <???> @ 0x10080a200\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100263120\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100263124\nADD             X29, SP, #0x10                                         ; +0x8, 0x100263128\nMOV             X20, X1                                                ; +0xc, 0x10026312c\nMOV             X19, X0                                                ; +0x10, 0x100263130\nLDRB            W1, [X1,#0xB10]                                        ; +0x14, 0x100263134\nLDR             X8, [X0]                                               ; +0x18, 0x100263138\nLDR             X8, [X8,#0x6C0]                                        ; +0x1c, 0x10026313c\nBLR             X8                                                     ; +0x20, 0x100263140\nTBZ             W0, #0, loc_100263150                                  ; +0x24, 0x100263144\nMOV             W8, #0                                                 ; +0x28, 0x100263148\nB               loc_100263168                                          ; +0x2c, 0x10026314c\nLDR             W8, [X20,#0x394]                                       ; +0x30, 0x100263150\nCMP             W8, #1                                                 ; +0x34, 0x100263154\nB.NE            loc_100263164                                          ; +0x38, 0x100263158\nLDRB            W8, [X19,#0x5A4]                                       ; +0x3c, 0x10026315c\nB               loc_100263168                                          ; +0x40, 0x100263160\nLDRB            W8, [X19,#0x5A5]                                       ; +0x44, 0x100263164\nAND             W0, W8, #1                                             ; +0x48, 0x100263168\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4c, 0x10026316c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x50, 0x100263170\nRET                                                                    ; +0x54, 0x100263174", "xrefs": ["<???> @ 0x1007d0668", "<???> @ 0x1007f56e8", "<???> @ 0x1007f5f20", "<???> @ 0x1007f6718", "<???> @ 0x1007f6f10", "<???> @ 0x1007f7708", "<???> @ 0x1007f7f00", "<???> @ 0x1007f86f8", "<???> @ 0x1007f96d8", "<???> @ 0x1007f9ee8", "<???> @ 0x1007fa750", "<???> @ 0x1007faf60", "<???> @ 0x1007fb770", "<???> @ 0x1007fbf80", "<???> @ 0x1007fc790", "<???> @ 0x1007fcfa0", "<???> @ 0x1007fd7b0", "<???> @ 0x1007fdfc0", "<???> @ 0x1007fe7d0", "<???> @ 0x1007fefe0", "<???> @ 0x1007ff808", "<???> @ 0x100800060", "<???> @ 0x100800888", "<???> @ 0x1008010b0", "<???> @ 0x1008018d8", "<???> @ 0x100802100", "<???> @ 0x100802910", "<???> @ 0x100803120", "<???> @ 0x100803930", "<???> @ 0x100804140", "<???> @ 0x100804950", "<???> @ 0x100805160", "<???> @ 0x100805970", "<???> @ 0x100806180", "<???> @ 0x100806990", "<???> @ 0x1008071a0", "<???> @ 0x1008079b0", "<???> @ 0x1008081c0", "<???> @ 0x1008089d0", "<???> @ 0x1008091e0", "<???> @ 0x1008099f0", "<???> @ 0x10080a200"], "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"}