{"type": "func", "start": 4298732220, "end": 4298732300, "name": "ArtTriggerGameObject::triggerObject", "pseudocode": "// \n// ArtTriggerGameObject::triggerObject from 0x1003972bc to 0x10039730c (80 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008070a8\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 __fastcall ArtTriggerGameObject::triggerObject(\n        ArtTriggerGameObject *a1,\n        GJBaseGameLayer *a2,\n        int a3,\n        std::vector<int> *const a4)\n{\n  int m_objectID; // w8\n\n  m_objectID = a1->m_objectID;\n  switch ( m_objectID )\n  {\n    case 3031:\n      GJBaseGameLayer::swapMiddleground(a2, a1->m_artIndex);\n      break;\n    case 3030:\n      GJBaseGameLayer::swapGround(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 0x1003972bc to 0x10039730c (80 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008070a8\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             W8, [X0,#0x404]                                        ; +0x0, 0x1003972bc\nCMP             W8, #0xBD7                                             ; +0x4, 0x1003972c0\nB.EQ            loc_1003972F8                                          ; +0x8, 0x1003972c4\nCMP             W8, #0xBD6                                             ; +0xc, 0x1003972c8\nB.EQ            loc_1003972E8                                          ; +0x10, 0x1003972cc\nCMP             W8, #0xBD5                                             ; +0x14, 0x1003972d0\nB.NE            locret_100397308                                       ; +0x18, 0x1003972d4\nLDR             W8, [X0,#0x72C]                                        ; +0x1c, 0x1003972d8\nMOV             X0, X1                                                 ; +0x20, 0x1003972dc\nMOV             X1, X8                                                 ; +0x24, 0x1003972e0\nB               GJBaseGameLayer__swapBackground                        ; +0x28, 0x1003972e4\nLDR             W8, [X0,#0x72C]                                        ; +0x2c, 0x1003972e8\nMOV             X0, X1                                                 ; +0x30, 0x1003972ec\nMOV             X1, X8                                                 ; +0x34, 0x1003972f0\nB               GJBaseGameLayer__swapGround                            ; +0x38, 0x1003972f4\nLDR             W8, [X0,#0x72C]                                        ; +0x3c, 0x1003972f8\nMOV             X0, X1                                                 ; +0x40, 0x1003972fc\nMOV             X1, X8                                                 ; +0x44, 0x100397300\nB               GJBaseGameLayer__swapMiddleground                      ; +0x48, 0x100397304\nRET                                                                    ; +0x4c, 0x100397308", "xrefs": ["<???> @ 0x1008070a8"], "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"}