{"type": "func", "start": 4084088, "end": 4084146, "name": "ArtTriggerGameObject::triggerObject", "pseudocode": "// \n// ArtTriggerGameObject::triggerObject from 0x3e5178 to 0x3e51b2 (58 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 ArtTriggerGameObject::triggerObject(\n        ArtTriggerGameObject *a1,\n        GJBaseGameLayer *a2,\n        int a3,\n        std::vector<int> *const a4)\n{\n  int m_objectID; // r2\n\n  m_objectID = a1->m_objectID;\n  switch ( m_objectID )\n  {\n    case 3030:\n      GJBaseGameLayer::swapGround(a2, a1->m_artIndex);\n      break;\n    case 3031:\n      GJBaseGameLayer::swapMiddleground(a2, a1->m_artIndex);\n      break;\n    case 3029:\n      GJBaseGameLayer::swapBackground(a2, a1->m_artIndex);\n      break;\n  }\n}", "assembly": "; \n; ArtTriggerGameObject::triggerObject from 0x3e5178 to 0x3e51b2 (58 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\nMOV             R3, R0                                                 ; +0x0, 0x3e5178\nMOV             R0, R1; this                                           ; +0x2, 0x3e517a\nLDR.W           R2, [R3,#0x374]                                        ; +0x4, 0x3e517c\nMOVW            R1, #0xBD6                                             ; +0x8, 0x3e5180\nCMP             R2, R1                                                 ; +0xc, 0x3e5184\nBEQ             loc_3E51A0                                             ; +0xe, 0x3e5186\nMOVW            R1, #0xBD7                                             ; +0x10, 0x3e5188\nCMP             R2, R1                                                 ; +0x14, 0x3e518c\nBEQ             loc_3E51A8                                             ; +0x16, 0x3e518e\nMOVW            R1, #0xBD5                                             ; +0x18, 0x3e5190\nCMP             R2, R1                                                 ; +0x1c, 0x3e5194\nBNE             locret_3E51B0                                          ; +0x1e, 0x3e5196\nLDR.W           R1, [R3,#0x664]; int                                   ; +0x20, 0x3e5198\nB.W             _ZN15GJBaseGameLayer14swapBackgroundEi; GJBaseGameLayer::swapBackground(int) ; +0x24, 0x3e519c\nLDR.W           R1, [R3,#0x664]; int                                   ; +0x28, 0x3e51a0\nB.W             _ZN15GJBaseGameLayer10swapGroundEi; GJBaseGameLayer::swapGround(int) ; +0x2c, 0x3e51a4\nLDR.W           R1, [R3,#0x664]; int                                   ; +0x30, 0x3e51a8\nB.W             _ZN15GJBaseGameLayer16swapMiddlegroundEi; GJBaseGameLayer::swapMiddleground(int) ; +0x34, 0x3e51ac\nBX              LR                                                     ; +0x38, 0x3e51b0", "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"}