{"type": "func", "start": 3487302, "end": 3487344, "name": "EnhancedGameObject::hasBeenActivatedByPlayer", "pseudocode": "// \n// EnhancedGameObject::hasBeenActivatedByPlayer from 0x353646 to 0x353670 (42 bytes)\n// \n// 0 xrefs:\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 EnhancedGameObject::hasBeenActivatedByPlayer(EnhancedGameObject *a1, PlayerObject *a2)\n{\n  if ( ((int (__fastcall *)(EnhancedGameObject *, bool))a1->canMultiActivate)(a1, a2->m_isPlatformer) )\n    return 0;\n  if ( a2->m_uniqueID == 1 )\n    return a1->m_activatedByPlayer1;\n  return a1->m_activatedByPlayer2;\n}", "assembly": "; \n; EnhancedGameObject::hasBeenActivatedByPlayer from 0x353646 to 0x353670 (42 bytes)\n; \n; 0 xrefs:\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            {R3-R5,LR}                                             ; +0x0, 0x353646\nMOV             R5, R1                                                 ; +0x2, 0x353648\nLDR             R3, [R0]                                               ; +0x4, 0x35364a\nMOV             R4, R0                                                 ; +0x6, 0x35364c\nLDRB.W          R1, [R1,#0x928]                                        ; +0x8, 0x35364e\nLDR.W           R3, [R3,#0x360]                                        ; +0xc, 0x353652\nBLX             R3                                                     ; +0x10, 0x353656\nCBNZ            R0, loc_35366C                                         ; +0x12, 0x353658\nLDR.W           R3, [R5,#0x304]                                        ; +0x14, 0x35365a\nCMP             R3, #1                                                 ; +0x18, 0x35365e\nITE EQ                                                                 ; +0x1a, 0x353660\nLDRBEQ.W        R0, [R4,#0x4E8]                                        ; +0x1c, 0x353662\nLDRBNE.W        R0, [R4,#0x4E9]                                        ; +0x20, 0x353666\nPOP             {R3-R5,PC}                                             ; +0x24, 0x35366a\nMOVS            R0, #0                                                 ; +0x26, 0x35366c\nPOP             {R3-R5,PC}                                             ; +0x28, 0x35366e", "xrefs": [], "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"}