{"type": "func", "start": 3487256, "end": 3487302, "name": "EnhancedGameObject::activatedByPlayer", "pseudocode": "// \n// EnhancedGameObject::activatedByPlayer from 0x353618 to 0x353646 (46 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\nvoid EnhancedGameObject::activatedByPlayer(EnhancedGameObject *a1, PlayerObject *a2)\n{\n  bool (__fastcall *canMultiActivate)(EnhancedGameObject *__hidden, bool); // r3\n\n  canMultiActivate = a1->canMultiActivate;\n  a1->m_activated = 1;\n  if ( !((int (__fastcall *)(EnhancedGameObject *, bool))canMultiActivate)(a1, a2->m_isPlatformer) )\n  {\n    if ( a2->m_uniqueID == 1 )\n      a1->m_activatedByPlayer1 = 1;\n    else\n      a1->m_activatedByPlayer2 = 1;\n  }\n}", "assembly": "; \n; EnhancedGameObject::activatedByPlayer from 0x353618 to 0x353646 (46 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\nLDR             R3, [R0]                                               ; +0x0, 0x353618\nPUSH            {R4-R6,LR}                                             ; +0x2, 0x35361a\nMOV             R6, R1                                                 ; +0x4, 0x35361c\nMOVS            R5, #1                                                 ; +0x6, 0x35361e\nLDR.W           R3, [R3,#0x360]                                        ; +0x8, 0x353620\nSTRB.W          R5, [R0,#0x4E7]                                        ; +0xc, 0x353624\nMOV             R4, R0                                                 ; +0x10, 0x353628\nLDRB.W          R1, [R1,#0x928]                                        ; +0x12, 0x35362a\nBLX             R3                                                     ; +0x16, 0x35362e\nCBNZ            R0, locret_353644                                      ; +0x18, 0x353630\nLDR.W           R3, [R6,#0x304]                                        ; +0x1a, 0x353632\nCMP             R3, R5                                                 ; +0x1e, 0x353636\nBNE             loc_353640                                             ; +0x20, 0x353638\nSTRB.W          R3, [R4,#0x4E8]                                        ; +0x22, 0x35363a\nPOP             {R4-R6,PC}                                             ; +0x26, 0x35363e\nSTRB.W          R5, [R4,#0x4E9]                                        ; +0x28, 0x353640\nPOP             {R4-R6,PC}                                             ; +0x2c, 0x353644", "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"}